1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
# [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum AlignSetting { Start = 0 , Center = 1 , End = 2 , Left = 3 , Right = 4 , # [ doc ( hidden ) ] __Nonexhaustive , } impl AlignSetting { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < AlignSetting > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "start" => Some ( AlignSetting :: Start ) , "center" => Some ( AlignSetting :: Center ) , "end" => Some ( AlignSetting :: End ) , "left" => Some ( AlignSetting :: Left ) , "right" => Some ( AlignSetting :: Right ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for AlignSetting { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for AlignSetting { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for AlignSetting { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { AlignSetting :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( AlignSetting :: __Nonexhaustive ) } } impl From < AlignSetting > for :: wasm_bindgen :: JsValue { fn from ( obj : AlignSetting ) -> :: wasm_bindgen :: JsValue { match obj { AlignSetting :: Start => :: wasm_bindgen :: JsValue :: from_str ( "start" ) , AlignSetting :: Center => :: wasm_bindgen :: JsValue :: from_str ( "center" ) , AlignSetting :: End => :: wasm_bindgen :: JsValue :: from_str ( "end" ) , AlignSetting :: Left => :: wasm_bindgen :: JsValue :: from_str ( "left" ) , AlignSetting :: Right => :: wasm_bindgen :: JsValue :: from_str ( "right" ) , AlignSetting :: __Nonexhaustive => panic ! ( "attempted to convert invalid AlignSetting into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum AnimationPlayState { Idle = 0 , Running = 1 , Paused = 2 , Finished = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl AnimationPlayState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < AnimationPlayState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "idle" => Some ( AnimationPlayState :: Idle ) , "running" => Some ( AnimationPlayState :: Running ) , "paused" => Some ( AnimationPlayState :: Paused ) , "finished" => Some ( AnimationPlayState :: Finished ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for AnimationPlayState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for AnimationPlayState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for AnimationPlayState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { AnimationPlayState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( AnimationPlayState :: __Nonexhaustive ) } } impl From < AnimationPlayState > for :: wasm_bindgen :: JsValue { fn from ( obj : AnimationPlayState ) -> :: wasm_bindgen :: JsValue { match obj { AnimationPlayState :: Idle => :: wasm_bindgen :: JsValue :: from_str ( "idle" ) , AnimationPlayState :: Running => :: wasm_bindgen :: JsValue :: from_str ( "running" ) , AnimationPlayState :: Paused => :: wasm_bindgen :: JsValue :: from_str ( "paused" ) , AnimationPlayState :: Finished => :: wasm_bindgen :: JsValue :: from_str ( "finished" ) , AnimationPlayState :: __Nonexhaustive => panic ! ( "attempted to convert invalid AnimationPlayState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum AttestationConveyancePreference { None = 0 , Indirect = 1 , Direct = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl AttestationConveyancePreference { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < AttestationConveyancePreference > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "none" => Some ( AttestationConveyancePreference :: None ) , "indirect" => Some ( AttestationConveyancePreference :: Indirect ) , "direct" => Some ( AttestationConveyancePreference :: Direct ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for AttestationConveyancePreference { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for AttestationConveyancePreference { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for AttestationConveyancePreference { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { AttestationConveyancePreference :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( AttestationConveyancePreference :: __Nonexhaustive ) } } impl From < AttestationConveyancePreference > for :: wasm_bindgen :: JsValue { fn from ( obj : AttestationConveyancePreference ) -> :: wasm_bindgen :: JsValue { match obj { AttestationConveyancePreference :: None => :: wasm_bindgen :: JsValue :: from_str ( "none" ) , AttestationConveyancePreference :: Indirect => :: wasm_bindgen :: JsValue :: from_str ( "indirect" ) , AttestationConveyancePreference :: Direct => :: wasm_bindgen :: JsValue :: from_str ( "direct" ) , AttestationConveyancePreference :: __Nonexhaustive => panic ! ( "attempted to convert invalid AttestationConveyancePreference into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum AudioContextState { Suspended = 0 , Running = 1 , Closed = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl AudioContextState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < AudioContextState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "suspended" => Some ( AudioContextState :: Suspended ) , "running" => Some ( AudioContextState :: Running ) , "closed" => Some ( AudioContextState :: Closed ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for AudioContextState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for AudioContextState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for AudioContextState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { AudioContextState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( AudioContextState :: __Nonexhaustive ) } } impl From < AudioContextState > for :: wasm_bindgen :: JsValue { fn from ( obj : AudioContextState ) -> :: wasm_bindgen :: JsValue { match obj { AudioContextState :: Suspended => :: wasm_bindgen :: JsValue :: from_str ( "suspended" ) , AudioContextState :: Running => :: wasm_bindgen :: JsValue :: from_str ( "running" ) , AudioContextState :: Closed => :: wasm_bindgen :: JsValue :: from_str ( "closed" ) , AudioContextState :: __Nonexhaustive => panic ! ( "attempted to convert invalid AudioContextState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum AuthenticatorAttachment { Platform = 0 , CrossPlatform = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl AuthenticatorAttachment { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < AuthenticatorAttachment > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "platform" => Some ( AuthenticatorAttachment :: Platform ) , "cross-platform" => Some ( AuthenticatorAttachment :: CrossPlatform ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for AuthenticatorAttachment { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for AuthenticatorAttachment { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for AuthenticatorAttachment { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { AuthenticatorAttachment :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( AuthenticatorAttachment :: __Nonexhaustive ) } } impl From < AuthenticatorAttachment > for :: wasm_bindgen :: JsValue { fn from ( obj : AuthenticatorAttachment ) -> :: wasm_bindgen :: JsValue { match obj { AuthenticatorAttachment :: Platform => :: wasm_bindgen :: JsValue :: from_str ( "platform" ) , AuthenticatorAttachment :: CrossPlatform => :: wasm_bindgen :: JsValue :: from_str ( "cross-platform" ) , AuthenticatorAttachment :: __Nonexhaustive => panic ! ( "attempted to convert invalid AuthenticatorAttachment into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum AuthenticatorTransport { Usb = 0 , Nfc = 1 , Ble = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl AuthenticatorTransport { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < AuthenticatorTransport > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "usb" => Some ( AuthenticatorTransport :: Usb ) , "nfc" => Some ( AuthenticatorTransport :: Nfc ) , "ble" => Some ( AuthenticatorTransport :: Ble ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for AuthenticatorTransport { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for AuthenticatorTransport { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for AuthenticatorTransport { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { AuthenticatorTransport :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( AuthenticatorTransport :: __Nonexhaustive ) } } impl From < AuthenticatorTransport > for :: wasm_bindgen :: JsValue { fn from ( obj : AuthenticatorTransport ) -> :: wasm_bindgen :: JsValue { match obj { AuthenticatorTransport :: Usb => :: wasm_bindgen :: JsValue :: from_str ( "usb" ) , AuthenticatorTransport :: Nfc => :: wasm_bindgen :: JsValue :: from_str ( "nfc" ) , AuthenticatorTransport :: Ble => :: wasm_bindgen :: JsValue :: from_str ( "ble" ) , AuthenticatorTransport :: __Nonexhaustive => panic ! ( "attempted to convert invalid AuthenticatorTransport into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum AutoKeyword { Auto = 0 , # [ doc ( hidden ) ] __Nonexhaustive , } impl AutoKeyword { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < AutoKeyword > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "auto" => Some ( AutoKeyword :: Auto ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for AutoKeyword { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for AutoKeyword { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for AutoKeyword { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { AutoKeyword :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( AutoKeyword :: __Nonexhaustive ) } } impl From < AutoKeyword > for :: wasm_bindgen :: JsValue { fn from ( obj : AutoKeyword ) -> :: wasm_bindgen :: JsValue { match obj { AutoKeyword :: Auto => :: wasm_bindgen :: JsValue :: from_str ( "auto" ) , AutoKeyword :: __Nonexhaustive => panic ! ( "attempted to convert invalid AutoKeyword into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum BasicCardType { Credit = 0 , Debit = 1 , Prepaid = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl BasicCardType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < BasicCardType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "credit" => Some ( BasicCardType :: Credit ) , "debit" => Some ( BasicCardType :: Debit ) , "prepaid" => Some ( BasicCardType :: Prepaid ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for BasicCardType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for BasicCardType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for BasicCardType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { BasicCardType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( BasicCardType :: __Nonexhaustive ) } } impl From < BasicCardType > for :: wasm_bindgen :: JsValue { fn from ( obj : BasicCardType ) -> :: wasm_bindgen :: JsValue { match obj { BasicCardType :: Credit => :: wasm_bindgen :: JsValue :: from_str ( "credit" ) , BasicCardType :: Debit => :: wasm_bindgen :: JsValue :: from_str ( "debit" ) , BasicCardType :: Prepaid => :: wasm_bindgen :: JsValue :: from_str ( "prepaid" ) , BasicCardType :: __Nonexhaustive => panic ! ( "attempted to convert invalid BasicCardType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum BinaryType { Blob = 0 , Arraybuffer = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl BinaryType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < BinaryType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "blob" => Some ( BinaryType :: Blob ) , "arraybuffer" => Some ( BinaryType :: Arraybuffer ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for BinaryType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for BinaryType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for BinaryType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { BinaryType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( BinaryType :: __Nonexhaustive ) } } impl From < BinaryType > for :: wasm_bindgen :: JsValue { fn from ( obj : BinaryType ) -> :: wasm_bindgen :: JsValue { match obj { BinaryType :: Blob => :: wasm_bindgen :: JsValue :: from_str ( "blob" ) , BinaryType :: Arraybuffer => :: wasm_bindgen :: JsValue :: from_str ( "arraybuffer" ) , BinaryType :: __Nonexhaustive => panic ! ( "attempted to convert invalid BinaryType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum BiquadFilterType { Lowpass = 0 , Highpass = 1 , Bandpass = 2 , Lowshelf = 3 , Highshelf = 4 , Peaking = 5 , Notch = 6 , Allpass = 7 , # [ doc ( hidden ) ] __Nonexhaustive , } impl BiquadFilterType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < BiquadFilterType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "lowpass" => Some ( BiquadFilterType :: Lowpass ) , "highpass" => Some ( BiquadFilterType :: Highpass ) , "bandpass" => Some ( BiquadFilterType :: Bandpass ) , "lowshelf" => Some ( BiquadFilterType :: Lowshelf ) , "highshelf" => Some ( BiquadFilterType :: Highshelf ) , "peaking" => Some ( BiquadFilterType :: Peaking ) , "notch" => Some ( BiquadFilterType :: Notch ) , "allpass" => Some ( BiquadFilterType :: Allpass ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for BiquadFilterType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for BiquadFilterType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for BiquadFilterType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { BiquadFilterType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( BiquadFilterType :: __Nonexhaustive ) } } impl From < BiquadFilterType > for :: wasm_bindgen :: JsValue { fn from ( obj : BiquadFilterType ) -> :: wasm_bindgen :: JsValue { match obj { BiquadFilterType :: Lowpass => :: wasm_bindgen :: JsValue :: from_str ( "lowpass" ) , BiquadFilterType :: Highpass => :: wasm_bindgen :: JsValue :: from_str ( "highpass" ) , BiquadFilterType :: Bandpass => :: wasm_bindgen :: JsValue :: from_str ( "bandpass" ) , BiquadFilterType :: Lowshelf => :: wasm_bindgen :: JsValue :: from_str ( "lowshelf" ) , BiquadFilterType :: Highshelf => :: wasm_bindgen :: JsValue :: from_str ( "highshelf" ) , BiquadFilterType :: Peaking => :: wasm_bindgen :: JsValue :: from_str ( "peaking" ) , BiquadFilterType :: Notch => :: wasm_bindgen :: JsValue :: from_str ( "notch" ) , BiquadFilterType :: Allpass => :: wasm_bindgen :: JsValue :: from_str ( "allpass" ) , BiquadFilterType :: __Nonexhaustive => panic ! ( "attempted to convert invalid BiquadFilterType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum BrowserFindCaseSensitivity { CaseSensitive = 0 , CaseInsensitive = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl BrowserFindCaseSensitivity { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < BrowserFindCaseSensitivity > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "case-sensitive" => Some ( BrowserFindCaseSensitivity :: CaseSensitive ) , "case-insensitive" => Some ( BrowserFindCaseSensitivity :: CaseInsensitive ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for BrowserFindCaseSensitivity { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for BrowserFindCaseSensitivity { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for BrowserFindCaseSensitivity { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { BrowserFindCaseSensitivity :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( BrowserFindCaseSensitivity :: __Nonexhaustive ) } } impl From < BrowserFindCaseSensitivity > for :: wasm_bindgen :: JsValue { fn from ( obj : BrowserFindCaseSensitivity ) -> :: wasm_bindgen :: JsValue { match obj { BrowserFindCaseSensitivity :: CaseSensitive => :: wasm_bindgen :: JsValue :: from_str ( "case-sensitive" ) , BrowserFindCaseSensitivity :: CaseInsensitive => :: wasm_bindgen :: JsValue :: from_str ( "case-insensitive" ) , BrowserFindCaseSensitivity :: __Nonexhaustive => panic ! ( "attempted to convert invalid BrowserFindCaseSensitivity into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum BrowserFindDirection { Forward = 0 , Backward = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl BrowserFindDirection { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < BrowserFindDirection > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "forward" => Some ( BrowserFindDirection :: Forward ) , "backward" => Some ( BrowserFindDirection :: Backward ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for BrowserFindDirection { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for BrowserFindDirection { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for BrowserFindDirection { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { BrowserFindDirection :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( BrowserFindDirection :: __Nonexhaustive ) } } impl From < BrowserFindDirection > for :: wasm_bindgen :: JsValue { fn from ( obj : BrowserFindDirection ) -> :: wasm_bindgen :: JsValue { match obj { BrowserFindDirection :: Forward => :: wasm_bindgen :: JsValue :: from_str ( "forward" ) , BrowserFindDirection :: Backward => :: wasm_bindgen :: JsValue :: from_str ( "backward" ) , BrowserFindDirection :: __Nonexhaustive => panic ! ( "attempted to convert invalid BrowserFindDirection into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum CssBoxType { Margin = 0 , Border = 1 , Padding = 2 , Content = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl CssBoxType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < CssBoxType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "margin" => Some ( CssBoxType :: Margin ) , "border" => Some ( CssBoxType :: Border ) , "padding" => Some ( CssBoxType :: Padding ) , "content" => Some ( CssBoxType :: Content ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for CssBoxType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for CssBoxType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for CssBoxType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { CssBoxType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( CssBoxType :: __Nonexhaustive ) } } impl From < CssBoxType > for :: wasm_bindgen :: JsValue { fn from ( obj : CssBoxType ) -> :: wasm_bindgen :: JsValue { match obj { CssBoxType :: Margin => :: wasm_bindgen :: JsValue :: from_str ( "margin" ) , CssBoxType :: Border => :: wasm_bindgen :: JsValue :: from_str ( "border" ) , CssBoxType :: Padding => :: wasm_bindgen :: JsValue :: from_str ( "padding" ) , CssBoxType :: Content => :: wasm_bindgen :: JsValue :: from_str ( "content" ) , CssBoxType :: __Nonexhaustive => panic ! ( "attempted to convert invalid CssBoxType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum CssStyleSheetParsingMode { Author = 0 , User = 1 , Agent = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl CssStyleSheetParsingMode { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < CssStyleSheetParsingMode > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "author" => Some ( CssStyleSheetParsingMode :: Author ) , "user" => Some ( CssStyleSheetParsingMode :: User ) , "agent" => Some ( CssStyleSheetParsingMode :: Agent ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for CssStyleSheetParsingMode { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for CssStyleSheetParsingMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for CssStyleSheetParsingMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { CssStyleSheetParsingMode :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( CssStyleSheetParsingMode :: __Nonexhaustive ) } } impl From < CssStyleSheetParsingMode > for :: wasm_bindgen :: JsValue { fn from ( obj : CssStyleSheetParsingMode ) -> :: wasm_bindgen :: JsValue { match obj { CssStyleSheetParsingMode :: Author => :: wasm_bindgen :: JsValue :: from_str ( "author" ) , CssStyleSheetParsingMode :: User => :: wasm_bindgen :: JsValue :: from_str ( "user" ) , CssStyleSheetParsingMode :: Agent => :: wasm_bindgen :: JsValue :: from_str ( "agent" ) , CssStyleSheetParsingMode :: __Nonexhaustive => panic ! ( "attempted to convert invalid CssStyleSheetParsingMode into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum CacheStorageNamespace { Content = 0 , Chrome = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl CacheStorageNamespace { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < CacheStorageNamespace > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "content" => Some ( CacheStorageNamespace :: Content ) , "chrome" => Some ( CacheStorageNamespace :: Chrome ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for CacheStorageNamespace { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for CacheStorageNamespace { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for CacheStorageNamespace { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { CacheStorageNamespace :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( CacheStorageNamespace :: __Nonexhaustive ) } } impl From < CacheStorageNamespace > for :: wasm_bindgen :: JsValue { fn from ( obj : CacheStorageNamespace ) -> :: wasm_bindgen :: JsValue { match obj { CacheStorageNamespace :: Content => :: wasm_bindgen :: JsValue :: from_str ( "content" ) , CacheStorageNamespace :: Chrome => :: wasm_bindgen :: JsValue :: from_str ( "chrome" ) , CacheStorageNamespace :: __Nonexhaustive => panic ! ( "attempted to convert invalid CacheStorageNamespace into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum CanvasWindingRule { Nonzero = 0 , Evenodd = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl CanvasWindingRule { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < CanvasWindingRule > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "nonzero" => Some ( CanvasWindingRule :: Nonzero ) , "evenodd" => Some ( CanvasWindingRule :: Evenodd ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for CanvasWindingRule { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for CanvasWindingRule { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for CanvasWindingRule { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { CanvasWindingRule :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( CanvasWindingRule :: __Nonexhaustive ) } } impl From < CanvasWindingRule > for :: wasm_bindgen :: JsValue { fn from ( obj : CanvasWindingRule ) -> :: wasm_bindgen :: JsValue { match obj { CanvasWindingRule :: Nonzero => :: wasm_bindgen :: JsValue :: from_str ( "nonzero" ) , CanvasWindingRule :: Evenodd => :: wasm_bindgen :: JsValue :: from_str ( "evenodd" ) , CanvasWindingRule :: __Nonexhaustive => panic ! ( "attempted to convert invalid CanvasWindingRule into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum CaretChangedReason { Visibilitychange = 0 , Updateposition = 1 , Longpressonemptycontent = 2 , Taponcaret = 3 , Presscaret = 4 , Releasecaret = 5 , Scroll = 6 , # [ doc ( hidden ) ] __Nonexhaustive , } impl CaretChangedReason { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < CaretChangedReason > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "visibilitychange" => Some ( CaretChangedReason :: Visibilitychange ) , "updateposition" => Some ( CaretChangedReason :: Updateposition ) , "longpressonemptycontent" => Some ( CaretChangedReason :: Longpressonemptycontent ) , "taponcaret" => Some ( CaretChangedReason :: Taponcaret ) , "presscaret" => Some ( CaretChangedReason :: Presscaret ) , "releasecaret" => Some ( CaretChangedReason :: Releasecaret ) , "scroll" => Some ( CaretChangedReason :: Scroll ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for CaretChangedReason { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for CaretChangedReason { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for CaretChangedReason { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { CaretChangedReason :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( CaretChangedReason :: __Nonexhaustive ) } } impl From < CaretChangedReason > for :: wasm_bindgen :: JsValue { fn from ( obj : CaretChangedReason ) -> :: wasm_bindgen :: JsValue { match obj { CaretChangedReason :: Visibilitychange => :: wasm_bindgen :: JsValue :: from_str ( "visibilitychange" ) , CaretChangedReason :: Updateposition => :: wasm_bindgen :: JsValue :: from_str ( "updateposition" ) , CaretChangedReason :: Longpressonemptycontent => :: wasm_bindgen :: JsValue :: from_str ( "longpressonemptycontent" ) , CaretChangedReason :: Taponcaret => :: wasm_bindgen :: JsValue :: from_str ( "taponcaret" ) , CaretChangedReason :: Presscaret => :: wasm_bindgen :: JsValue :: from_str ( "presscaret" ) , CaretChangedReason :: Releasecaret => :: wasm_bindgen :: JsValue :: from_str ( "releasecaret" ) , CaretChangedReason :: Scroll => :: wasm_bindgen :: JsValue :: from_str ( "scroll" ) , CaretChangedReason :: __Nonexhaustive => panic ! ( "attempted to convert invalid CaretChangedReason into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ChannelCountMode { Max = 0 , ClampedMax = 1 , Explicit = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ChannelCountMode { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ChannelCountMode > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "max" => Some ( ChannelCountMode :: Max ) , "clamped-max" => Some ( ChannelCountMode :: ClampedMax ) , "explicit" => Some ( ChannelCountMode :: Explicit ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ChannelCountMode { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ChannelCountMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ChannelCountMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ChannelCountMode :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ChannelCountMode :: __Nonexhaustive ) } } impl From < ChannelCountMode > for :: wasm_bindgen :: JsValue { fn from ( obj : ChannelCountMode ) -> :: wasm_bindgen :: JsValue { match obj { ChannelCountMode :: Max => :: wasm_bindgen :: JsValue :: from_str ( "max" ) , ChannelCountMode :: ClampedMax => :: wasm_bindgen :: JsValue :: from_str ( "clamped-max" ) , ChannelCountMode :: Explicit => :: wasm_bindgen :: JsValue :: from_str ( "explicit" ) , ChannelCountMode :: __Nonexhaustive => panic ! ( "attempted to convert invalid ChannelCountMode into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ChannelInterpretation { Speakers = 0 , Discrete = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ChannelInterpretation { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ChannelInterpretation > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "speakers" => Some ( ChannelInterpretation :: Speakers ) , "discrete" => Some ( ChannelInterpretation :: Discrete ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ChannelInterpretation { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ChannelInterpretation { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ChannelInterpretation { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ChannelInterpretation :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ChannelInterpretation :: __Nonexhaustive ) } } impl From < ChannelInterpretation > for :: wasm_bindgen :: JsValue { fn from ( obj : ChannelInterpretation ) -> :: wasm_bindgen :: JsValue { match obj { ChannelInterpretation :: Speakers => :: wasm_bindgen :: JsValue :: from_str ( "speakers" ) , ChannelInterpretation :: Discrete => :: wasm_bindgen :: JsValue :: from_str ( "discrete" ) , ChannelInterpretation :: __Nonexhaustive => panic ! ( "attempted to convert invalid ChannelInterpretation into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ChannelPixelLayoutDataType { Uint8 = 0 , Int8 = 1 , Uint16 = 2 , Int16 = 3 , Uint32 = 4 , Int32 = 5 , Float32 = 6 , Float64 = 7 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ChannelPixelLayoutDataType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ChannelPixelLayoutDataType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "uint8" => Some ( ChannelPixelLayoutDataType :: Uint8 ) , "int8" => Some ( ChannelPixelLayoutDataType :: Int8 ) , "uint16" => Some ( ChannelPixelLayoutDataType :: Uint16 ) , "int16" => Some ( ChannelPixelLayoutDataType :: Int16 ) , "uint32" => Some ( ChannelPixelLayoutDataType :: Uint32 ) , "int32" => Some ( ChannelPixelLayoutDataType :: Int32 ) , "float32" => Some ( ChannelPixelLayoutDataType :: Float32 ) , "float64" => Some ( ChannelPixelLayoutDataType :: Float64 ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ChannelPixelLayoutDataType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ChannelPixelLayoutDataType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ChannelPixelLayoutDataType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ChannelPixelLayoutDataType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ChannelPixelLayoutDataType :: __Nonexhaustive ) } } impl From < ChannelPixelLayoutDataType > for :: wasm_bindgen :: JsValue { fn from ( obj : ChannelPixelLayoutDataType ) -> :: wasm_bindgen :: JsValue { match obj { ChannelPixelLayoutDataType :: Uint8 => :: wasm_bindgen :: JsValue :: from_str ( "uint8" ) , ChannelPixelLayoutDataType :: Int8 => :: wasm_bindgen :: JsValue :: from_str ( "int8" ) , ChannelPixelLayoutDataType :: Uint16 => :: wasm_bindgen :: JsValue :: from_str ( "uint16" ) , ChannelPixelLayoutDataType :: Int16 => :: wasm_bindgen :: JsValue :: from_str ( "int16" ) , ChannelPixelLayoutDataType :: Uint32 => :: wasm_bindgen :: JsValue :: from_str ( "uint32" ) , ChannelPixelLayoutDataType :: Int32 => :: wasm_bindgen :: JsValue :: from_str ( "int32" ) , ChannelPixelLayoutDataType :: Float32 => :: wasm_bindgen :: JsValue :: from_str ( "float32" ) , ChannelPixelLayoutDataType :: Float64 => :: wasm_bindgen :: JsValue :: from_str ( "float64" ) , ChannelPixelLayoutDataType :: __Nonexhaustive => panic ! ( "attempted to convert invalid ChannelPixelLayoutDataType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum CheckerboardReason { Severe = 0 , Recent = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl CheckerboardReason { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < CheckerboardReason > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "severe" => Some ( CheckerboardReason :: Severe ) , "recent" => Some ( CheckerboardReason :: Recent ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for CheckerboardReason { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for CheckerboardReason { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for CheckerboardReason { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { CheckerboardReason :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( CheckerboardReason :: __Nonexhaustive ) } } impl From < CheckerboardReason > for :: wasm_bindgen :: JsValue { fn from ( obj : CheckerboardReason ) -> :: wasm_bindgen :: JsValue { match obj { CheckerboardReason :: Severe => :: wasm_bindgen :: JsValue :: from_str ( "severe" ) , CheckerboardReason :: Recent => :: wasm_bindgen :: JsValue :: from_str ( "recent" ) , CheckerboardReason :: __Nonexhaustive => panic ! ( "attempted to convert invalid CheckerboardReason into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ClientType { Window = 0 , Worker = 1 , Sharedworker = 2 , Serviceworker = 3 , All = 4 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ClientType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ClientType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "window" => Some ( ClientType :: Window ) , "worker" => Some ( ClientType :: Worker ) , "sharedworker" => Some ( ClientType :: Sharedworker ) , "serviceworker" => Some ( ClientType :: Serviceworker ) , "all" => Some ( ClientType :: All ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ClientType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ClientType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ClientType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ClientType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ClientType :: __Nonexhaustive ) } } impl From < ClientType > for :: wasm_bindgen :: JsValue { fn from ( obj : ClientType ) -> :: wasm_bindgen :: JsValue { match obj { ClientType :: Window => :: wasm_bindgen :: JsValue :: from_str ( "window" ) , ClientType :: Worker => :: wasm_bindgen :: JsValue :: from_str ( "worker" ) , ClientType :: Sharedworker => :: wasm_bindgen :: JsValue :: from_str ( "sharedworker" ) , ClientType :: Serviceworker => :: wasm_bindgen :: JsValue :: from_str ( "serviceworker" ) , ClientType :: All => :: wasm_bindgen :: JsValue :: from_str ( "all" ) , ClientType :: __Nonexhaustive => panic ! ( "attempted to convert invalid ClientType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum CompositeOperation { Replace = 0 , Add = 1 , Accumulate = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl CompositeOperation { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < CompositeOperation > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "replace" => Some ( CompositeOperation :: Replace ) , "add" => Some ( CompositeOperation :: Add ) , "accumulate" => Some ( CompositeOperation :: Accumulate ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for CompositeOperation { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for CompositeOperation { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for CompositeOperation { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { CompositeOperation :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( CompositeOperation :: __Nonexhaustive ) } } impl From < CompositeOperation > for :: wasm_bindgen :: JsValue { fn from ( obj : CompositeOperation ) -> :: wasm_bindgen :: JsValue { match obj { CompositeOperation :: Replace => :: wasm_bindgen :: JsValue :: from_str ( "replace" ) , CompositeOperation :: Add => :: wasm_bindgen :: JsValue :: from_str ( "add" ) , CompositeOperation :: Accumulate => :: wasm_bindgen :: JsValue :: from_str ( "accumulate" ) , CompositeOperation :: __Nonexhaustive => panic ! ( "attempted to convert invalid CompositeOperation into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ConnectionType { Cellular = 0 , Bluetooth = 1 , Ethernet = 2 , Wifi = 3 , Other = 4 , None = 5 , Unknown = 6 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ConnectionType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ConnectionType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "cellular" => Some ( ConnectionType :: Cellular ) , "bluetooth" => Some ( ConnectionType :: Bluetooth ) , "ethernet" => Some ( ConnectionType :: Ethernet ) , "wifi" => Some ( ConnectionType :: Wifi ) , "other" => Some ( ConnectionType :: Other ) , "none" => Some ( ConnectionType :: None ) , "unknown" => Some ( ConnectionType :: Unknown ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ConnectionType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ConnectionType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ConnectionType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ConnectionType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ConnectionType :: __Nonexhaustive ) } } impl From < ConnectionType > for :: wasm_bindgen :: JsValue { fn from ( obj : ConnectionType ) -> :: wasm_bindgen :: JsValue { match obj { ConnectionType :: Cellular => :: wasm_bindgen :: JsValue :: from_str ( "cellular" ) , ConnectionType :: Bluetooth => :: wasm_bindgen :: JsValue :: from_str ( "bluetooth" ) , ConnectionType :: Ethernet => :: wasm_bindgen :: JsValue :: from_str ( "ethernet" ) , ConnectionType :: Wifi => :: wasm_bindgen :: JsValue :: from_str ( "wifi" ) , ConnectionType :: Other => :: wasm_bindgen :: JsValue :: from_str ( "other" ) , ConnectionType :: None => :: wasm_bindgen :: JsValue :: from_str ( "none" ) , ConnectionType :: Unknown => :: wasm_bindgen :: JsValue :: from_str ( "unknown" ) , ConnectionType :: __Nonexhaustive => panic ! ( "attempted to convert invalid ConnectionType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ConsoleLevel { Log = 0 , Warning = 1 , Error = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ConsoleLevel { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ConsoleLevel > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "log" => Some ( ConsoleLevel :: Log ) , "warning" => Some ( ConsoleLevel :: Warning ) , "error" => Some ( ConsoleLevel :: Error ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ConsoleLevel { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ConsoleLevel { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ConsoleLevel { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ConsoleLevel :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ConsoleLevel :: __Nonexhaustive ) } } impl From < ConsoleLevel > for :: wasm_bindgen :: JsValue { fn from ( obj : ConsoleLevel ) -> :: wasm_bindgen :: JsValue { match obj { ConsoleLevel :: Log => :: wasm_bindgen :: JsValue :: from_str ( "log" ) , ConsoleLevel :: Warning => :: wasm_bindgen :: JsValue :: from_str ( "warning" ) , ConsoleLevel :: Error => :: wasm_bindgen :: JsValue :: from_str ( "error" ) , ConsoleLevel :: __Nonexhaustive => panic ! ( "attempted to convert invalid ConsoleLevel into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ConsoleLogLevel { All = 0 , Debug = 1 , Log = 2 , Info = 3 , Clear = 4 , Trace = 5 , TimeLog = 6 , TimeEnd = 7 , Time = 8 , Group = 9 , GroupEnd = 10 , Profile = 11 , ProfileEnd = 12 , Dir = 13 , Dirxml = 14 , Warn = 15 , Error = 16 , Off = 17 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ConsoleLogLevel { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ConsoleLogLevel > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "All" => Some ( ConsoleLogLevel :: All ) , "Debug" => Some ( ConsoleLogLevel :: Debug ) , "Log" => Some ( ConsoleLogLevel :: Log ) , "Info" => Some ( ConsoleLogLevel :: Info ) , "Clear" => Some ( ConsoleLogLevel :: Clear ) , "Trace" => Some ( ConsoleLogLevel :: Trace ) , "TimeLog" => Some ( ConsoleLogLevel :: TimeLog ) , "TimeEnd" => Some ( ConsoleLogLevel :: TimeEnd ) , "Time" => Some ( ConsoleLogLevel :: Time ) , "Group" => Some ( ConsoleLogLevel :: Group ) , "GroupEnd" => Some ( ConsoleLogLevel :: GroupEnd ) , "Profile" => Some ( ConsoleLogLevel :: Profile ) , "ProfileEnd" => Some ( ConsoleLogLevel :: ProfileEnd ) , "Dir" => Some ( ConsoleLogLevel :: Dir ) , "Dirxml" => Some ( ConsoleLogLevel :: Dirxml ) , "Warn" => Some ( ConsoleLogLevel :: Warn ) , "Error" => Some ( ConsoleLogLevel :: Error ) , "Off" => Some ( ConsoleLogLevel :: Off ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ConsoleLogLevel { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ConsoleLogLevel { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ConsoleLogLevel { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ConsoleLogLevel :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ConsoleLogLevel :: __Nonexhaustive ) } } impl From < ConsoleLogLevel > for :: wasm_bindgen :: JsValue { fn from ( obj : ConsoleLogLevel ) -> :: wasm_bindgen :: JsValue { match obj { ConsoleLogLevel :: All => :: wasm_bindgen :: JsValue :: from_str ( "All" ) , ConsoleLogLevel :: Debug => :: wasm_bindgen :: JsValue :: from_str ( "Debug" ) , ConsoleLogLevel :: Log => :: wasm_bindgen :: JsValue :: from_str ( "Log" ) , ConsoleLogLevel :: Info => :: wasm_bindgen :: JsValue :: from_str ( "Info" ) , ConsoleLogLevel :: Clear => :: wasm_bindgen :: JsValue :: from_str ( "Clear" ) , ConsoleLogLevel :: Trace => :: wasm_bindgen :: JsValue :: from_str ( "Trace" ) , ConsoleLogLevel :: TimeLog => :: wasm_bindgen :: JsValue :: from_str ( "TimeLog" ) , ConsoleLogLevel :: TimeEnd => :: wasm_bindgen :: JsValue :: from_str ( "TimeEnd" ) , ConsoleLogLevel :: Time => :: wasm_bindgen :: JsValue :: from_str ( "Time" ) , ConsoleLogLevel :: Group => :: wasm_bindgen :: JsValue :: from_str ( "Group" ) , ConsoleLogLevel :: GroupEnd => :: wasm_bindgen :: JsValue :: from_str ( "GroupEnd" ) , ConsoleLogLevel :: Profile => :: wasm_bindgen :: JsValue :: from_str ( "Profile" ) , ConsoleLogLevel :: ProfileEnd => :: wasm_bindgen :: JsValue :: from_str ( "ProfileEnd" ) , ConsoleLogLevel :: Dir => :: wasm_bindgen :: JsValue :: from_str ( "Dir" ) , ConsoleLogLevel :: Dirxml => :: wasm_bindgen :: JsValue :: from_str ( "Dirxml" ) , ConsoleLogLevel :: Warn => :: wasm_bindgen :: JsValue :: from_str ( "Warn" ) , ConsoleLogLevel :: Error => :: wasm_bindgen :: JsValue :: from_str ( "Error" ) , ConsoleLogLevel :: Off => :: wasm_bindgen :: JsValue :: from_str ( "Off" ) , ConsoleLogLevel :: __Nonexhaustive => panic ! ( "attempted to convert invalid ConsoleLogLevel into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum DomRequestReadyState { Pending = 0 , Done = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl DomRequestReadyState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < DomRequestReadyState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "pending" => Some ( DomRequestReadyState :: Pending ) , "done" => Some ( DomRequestReadyState :: Done ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for DomRequestReadyState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for DomRequestReadyState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for DomRequestReadyState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { DomRequestReadyState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( DomRequestReadyState :: __Nonexhaustive ) } } impl From < DomRequestReadyState > for :: wasm_bindgen :: JsValue { fn from ( obj : DomRequestReadyState ) -> :: wasm_bindgen :: JsValue { match obj { DomRequestReadyState :: Pending => :: wasm_bindgen :: JsValue :: from_str ( "pending" ) , DomRequestReadyState :: Done => :: wasm_bindgen :: JsValue :: from_str ( "done" ) , DomRequestReadyState :: __Nonexhaustive => panic ! ( "attempted to convert invalid DomRequestReadyState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum DecoderDoctorNotificationType { CannotPlay = 0 , PlatformDecoderNotFound = 1 , CanPlayButSomeMissingDecoders = 2 , CannotInitializePulseaudio = 3 , UnsupportedLibavcodec = 4 , DecodeError = 5 , DecodeWarning = 6 , # [ doc ( hidden ) ] __Nonexhaustive , } impl DecoderDoctorNotificationType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < DecoderDoctorNotificationType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "cannot-play" => Some ( DecoderDoctorNotificationType :: CannotPlay ) , "platform-decoder-not-found" => Some ( DecoderDoctorNotificationType :: PlatformDecoderNotFound ) , "can-play-but-some-missing-decoders" => Some ( DecoderDoctorNotificationType :: CanPlayButSomeMissingDecoders ) , "cannot-initialize-pulseaudio" => Some ( DecoderDoctorNotificationType :: CannotInitializePulseaudio ) , "unsupported-libavcodec" => Some ( DecoderDoctorNotificationType :: UnsupportedLibavcodec ) , "decode-error" => Some ( DecoderDoctorNotificationType :: DecodeError ) , "decode-warning" => Some ( DecoderDoctorNotificationType :: DecodeWarning ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for DecoderDoctorNotificationType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for DecoderDoctorNotificationType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for DecoderDoctorNotificationType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { DecoderDoctorNotificationType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( DecoderDoctorNotificationType :: __Nonexhaustive ) } } impl From < DecoderDoctorNotificationType > for :: wasm_bindgen :: JsValue { fn from ( obj : DecoderDoctorNotificationType ) -> :: wasm_bindgen :: JsValue { match obj { DecoderDoctorNotificationType :: CannotPlay => :: wasm_bindgen :: JsValue :: from_str ( "cannot-play" ) , DecoderDoctorNotificationType :: PlatformDecoderNotFound => :: wasm_bindgen :: JsValue :: from_str ( "platform-decoder-not-found" ) , DecoderDoctorNotificationType :: CanPlayButSomeMissingDecoders => :: wasm_bindgen :: JsValue :: from_str ( "can-play-but-some-missing-decoders" ) , DecoderDoctorNotificationType :: CannotInitializePulseaudio => :: wasm_bindgen :: JsValue :: from_str ( "cannot-initialize-pulseaudio" ) , DecoderDoctorNotificationType :: UnsupportedLibavcodec => :: wasm_bindgen :: JsValue :: from_str ( "unsupported-libavcodec" ) , DecoderDoctorNotificationType :: DecodeError => :: wasm_bindgen :: JsValue :: from_str ( "decode-error" ) , DecoderDoctorNotificationType :: DecodeWarning => :: wasm_bindgen :: JsValue :: from_str ( "decode-warning" ) , DecoderDoctorNotificationType :: __Nonexhaustive => panic ! ( "attempted to convert invalid DecoderDoctorNotificationType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum DirectionSetting { None = 0 , Rl = 1 , Lr = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl DirectionSetting { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < DirectionSetting > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "" => Some ( DirectionSetting :: None ) , "rl" => Some ( DirectionSetting :: Rl ) , "lr" => Some ( DirectionSetting :: Lr ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for DirectionSetting { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for DirectionSetting { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for DirectionSetting { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { DirectionSetting :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( DirectionSetting :: __Nonexhaustive ) } } impl From < DirectionSetting > for :: wasm_bindgen :: JsValue { fn from ( obj : DirectionSetting ) -> :: wasm_bindgen :: JsValue { match obj { DirectionSetting :: None => :: wasm_bindgen :: JsValue :: from_str ( "" ) , DirectionSetting :: Rl => :: wasm_bindgen :: JsValue :: from_str ( "rl" ) , DirectionSetting :: Lr => :: wasm_bindgen :: JsValue :: from_str ( "lr" ) , DirectionSetting :: __Nonexhaustive => panic ! ( "attempted to convert invalid DirectionSetting into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum DistanceModelType { Linear = 0 , Inverse = 1 , Exponential = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl DistanceModelType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < DistanceModelType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "linear" => Some ( DistanceModelType :: Linear ) , "inverse" => Some ( DistanceModelType :: Inverse ) , "exponential" => Some ( DistanceModelType :: Exponential ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for DistanceModelType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for DistanceModelType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for DistanceModelType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { DistanceModelType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( DistanceModelType :: __Nonexhaustive ) } } impl From < DistanceModelType > for :: wasm_bindgen :: JsValue { fn from ( obj : DistanceModelType ) -> :: wasm_bindgen :: JsValue { match obj { DistanceModelType :: Linear => :: wasm_bindgen :: JsValue :: from_str ( "linear" ) , DistanceModelType :: Inverse => :: wasm_bindgen :: JsValue :: from_str ( "inverse" ) , DistanceModelType :: Exponential => :: wasm_bindgen :: JsValue :: from_str ( "exponential" ) , DistanceModelType :: __Nonexhaustive => panic ! ( "attempted to convert invalid DistanceModelType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum EndingTypes { Transparent = 0 , Native = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl EndingTypes { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < EndingTypes > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "transparent" => Some ( EndingTypes :: Transparent ) , "native" => Some ( EndingTypes :: Native ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for EndingTypes { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for EndingTypes { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for EndingTypes { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { EndingTypes :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( EndingTypes :: __Nonexhaustive ) } } impl From < EndingTypes > for :: wasm_bindgen :: JsValue { fn from ( obj : EndingTypes ) -> :: wasm_bindgen :: JsValue { match obj { EndingTypes :: Transparent => :: wasm_bindgen :: JsValue :: from_str ( "transparent" ) , EndingTypes :: Native => :: wasm_bindgen :: JsValue :: from_str ( "native" ) , EndingTypes :: __Nonexhaustive => panic ! ( "attempted to convert invalid EndingTypes into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum FetchState { Requesting = 0 , Responding = 1 , Aborted = 2 , Errored = 3 , Complete = 4 , # [ doc ( hidden ) ] __Nonexhaustive , } impl FetchState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < FetchState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "requesting" => Some ( FetchState :: Requesting ) , "responding" => Some ( FetchState :: Responding ) , "aborted" => Some ( FetchState :: Aborted ) , "errored" => Some ( FetchState :: Errored ) , "complete" => Some ( FetchState :: Complete ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for FetchState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for FetchState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for FetchState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { FetchState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( FetchState :: __Nonexhaustive ) } } impl From < FetchState > for :: wasm_bindgen :: JsValue { fn from ( obj : FetchState ) -> :: wasm_bindgen :: JsValue { match obj { FetchState :: Requesting => :: wasm_bindgen :: JsValue :: from_str ( "requesting" ) , FetchState :: Responding => :: wasm_bindgen :: JsValue :: from_str ( "responding" ) , FetchState :: Aborted => :: wasm_bindgen :: JsValue :: from_str ( "aborted" ) , FetchState :: Errored => :: wasm_bindgen :: JsValue :: from_str ( "errored" ) , FetchState :: Complete => :: wasm_bindgen :: JsValue :: from_str ( "complete" ) , FetchState :: __Nonexhaustive => panic ! ( "attempted to convert invalid FetchState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum FillMode { None = 0 , Forwards = 1 , Backwards = 2 , Both = 3 , Auto = 4 , # [ doc ( hidden ) ] __Nonexhaustive , } impl FillMode { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < FillMode > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "none" => Some ( FillMode :: None ) , "forwards" => Some ( FillMode :: Forwards ) , "backwards" => Some ( FillMode :: Backwards ) , "both" => Some ( FillMode :: Both ) , "auto" => Some ( FillMode :: Auto ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for FillMode { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for FillMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for FillMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { FillMode :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( FillMode :: __Nonexhaustive ) } } impl From < FillMode > for :: wasm_bindgen :: JsValue { fn from ( obj : FillMode ) -> :: wasm_bindgen :: JsValue { match obj { FillMode :: None => :: wasm_bindgen :: JsValue :: from_str ( "none" ) , FillMode :: Forwards => :: wasm_bindgen :: JsValue :: from_str ( "forwards" ) , FillMode :: Backwards => :: wasm_bindgen :: JsValue :: from_str ( "backwards" ) , FillMode :: Both => :: wasm_bindgen :: JsValue :: from_str ( "both" ) , FillMode :: Auto => :: wasm_bindgen :: JsValue :: from_str ( "auto" ) , FillMode :: __Nonexhaustive => panic ! ( "attempted to convert invalid FillMode into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum FlashClassification { Unclassified = 0 , Unknown = 1 , Allowed = 2 , Denied = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl FlashClassification { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < FlashClassification > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "unclassified" => Some ( FlashClassification :: Unclassified ) , "unknown" => Some ( FlashClassification :: Unknown ) , "allowed" => Some ( FlashClassification :: Allowed ) , "denied" => Some ( FlashClassification :: Denied ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for FlashClassification { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for FlashClassification { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for FlashClassification { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { FlashClassification :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( FlashClassification :: __Nonexhaustive ) } } impl From < FlashClassification > for :: wasm_bindgen :: JsValue { fn from ( obj : FlashClassification ) -> :: wasm_bindgen :: JsValue { match obj { FlashClassification :: Unclassified => :: wasm_bindgen :: JsValue :: from_str ( "unclassified" ) , FlashClassification :: Unknown => :: wasm_bindgen :: JsValue :: from_str ( "unknown" ) , FlashClassification :: Allowed => :: wasm_bindgen :: JsValue :: from_str ( "allowed" ) , FlashClassification :: Denied => :: wasm_bindgen :: JsValue :: from_str ( "denied" ) , FlashClassification :: __Nonexhaustive => panic ! ( "attempted to convert invalid FlashClassification into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum FlexLineGrowthState { Unchanged = 0 , Shrinking = 1 , Growing = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl FlexLineGrowthState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < FlexLineGrowthState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "unchanged" => Some ( FlexLineGrowthState :: Unchanged ) , "shrinking" => Some ( FlexLineGrowthState :: Shrinking ) , "growing" => Some ( FlexLineGrowthState :: Growing ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for FlexLineGrowthState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for FlexLineGrowthState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for FlexLineGrowthState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { FlexLineGrowthState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( FlexLineGrowthState :: __Nonexhaustive ) } } impl From < FlexLineGrowthState > for :: wasm_bindgen :: JsValue { fn from ( obj : FlexLineGrowthState ) -> :: wasm_bindgen :: JsValue { match obj { FlexLineGrowthState :: Unchanged => :: wasm_bindgen :: JsValue :: from_str ( "unchanged" ) , FlexLineGrowthState :: Shrinking => :: wasm_bindgen :: JsValue :: from_str ( "shrinking" ) , FlexLineGrowthState :: Growing => :: wasm_bindgen :: JsValue :: from_str ( "growing" ) , FlexLineGrowthState :: __Nonexhaustive => panic ! ( "attempted to convert invalid FlexLineGrowthState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum FontFaceLoadStatus { Unloaded = 0 , Loading = 1 , Loaded = 2 , Error = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl FontFaceLoadStatus { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < FontFaceLoadStatus > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "unloaded" => Some ( FontFaceLoadStatus :: Unloaded ) , "loading" => Some ( FontFaceLoadStatus :: Loading ) , "loaded" => Some ( FontFaceLoadStatus :: Loaded ) , "error" => Some ( FontFaceLoadStatus :: Error ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for FontFaceLoadStatus { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for FontFaceLoadStatus { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for FontFaceLoadStatus { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { FontFaceLoadStatus :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( FontFaceLoadStatus :: __Nonexhaustive ) } } impl From < FontFaceLoadStatus > for :: wasm_bindgen :: JsValue { fn from ( obj : FontFaceLoadStatus ) -> :: wasm_bindgen :: JsValue { match obj { FontFaceLoadStatus :: Unloaded => :: wasm_bindgen :: JsValue :: from_str ( "unloaded" ) , FontFaceLoadStatus :: Loading => :: wasm_bindgen :: JsValue :: from_str ( "loading" ) , FontFaceLoadStatus :: Loaded => :: wasm_bindgen :: JsValue :: from_str ( "loaded" ) , FontFaceLoadStatus :: Error => :: wasm_bindgen :: JsValue :: from_str ( "error" ) , FontFaceLoadStatus :: __Nonexhaustive => panic ! ( "attempted to convert invalid FontFaceLoadStatus into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum FontFaceSetLoadStatus { Loading = 0 , Loaded = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl FontFaceSetLoadStatus { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < FontFaceSetLoadStatus > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "loading" => Some ( FontFaceSetLoadStatus :: Loading ) , "loaded" => Some ( FontFaceSetLoadStatus :: Loaded ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for FontFaceSetLoadStatus { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for FontFaceSetLoadStatus { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for FontFaceSetLoadStatus { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { FontFaceSetLoadStatus :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( FontFaceSetLoadStatus :: __Nonexhaustive ) } } impl From < FontFaceSetLoadStatus > for :: wasm_bindgen :: JsValue { fn from ( obj : FontFaceSetLoadStatus ) -> :: wasm_bindgen :: JsValue { match obj { FontFaceSetLoadStatus :: Loading => :: wasm_bindgen :: JsValue :: from_str ( "loading" ) , FontFaceSetLoadStatus :: Loaded => :: wasm_bindgen :: JsValue :: from_str ( "loaded" ) , FontFaceSetLoadStatus :: __Nonexhaustive => panic ! ( "attempted to convert invalid FontFaceSetLoadStatus into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum FrameType { Auxiliary = 0 , TopLevel = 1 , Nested = 2 , None = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl FrameType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < FrameType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "auxiliary" => Some ( FrameType :: Auxiliary ) , "top-level" => Some ( FrameType :: TopLevel ) , "nested" => Some ( FrameType :: Nested ) , "none" => Some ( FrameType :: None ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for FrameType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for FrameType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for FrameType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { FrameType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( FrameType :: __Nonexhaustive ) } } impl From < FrameType > for :: wasm_bindgen :: JsValue { fn from ( obj : FrameType ) -> :: wasm_bindgen :: JsValue { match obj { FrameType :: Auxiliary => :: wasm_bindgen :: JsValue :: from_str ( "auxiliary" ) , FrameType :: TopLevel => :: wasm_bindgen :: JsValue :: from_str ( "top-level" ) , FrameType :: Nested => :: wasm_bindgen :: JsValue :: from_str ( "nested" ) , FrameType :: None => :: wasm_bindgen :: JsValue :: from_str ( "none" ) , FrameType :: __Nonexhaustive => panic ! ( "attempted to convert invalid FrameType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum GamepadHand { None = 0 , Left = 1 , Right = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl GamepadHand { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < GamepadHand > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "" => Some ( GamepadHand :: None ) , "left" => Some ( GamepadHand :: Left ) , "right" => Some ( GamepadHand :: Right ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for GamepadHand { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for GamepadHand { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for GamepadHand { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { GamepadHand :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( GamepadHand :: __Nonexhaustive ) } } impl From < GamepadHand > for :: wasm_bindgen :: JsValue { fn from ( obj : GamepadHand ) -> :: wasm_bindgen :: JsValue { match obj { GamepadHand :: None => :: wasm_bindgen :: JsValue :: from_str ( "" ) , GamepadHand :: Left => :: wasm_bindgen :: JsValue :: from_str ( "left" ) , GamepadHand :: Right => :: wasm_bindgen :: JsValue :: from_str ( "right" ) , GamepadHand :: __Nonexhaustive => panic ! ( "attempted to convert invalid GamepadHand into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum GamepadHapticActuatorType { Vibration = 0 , # [ doc ( hidden ) ] __Nonexhaustive , } impl GamepadHapticActuatorType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < GamepadHapticActuatorType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "vibration" => Some ( GamepadHapticActuatorType :: Vibration ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for GamepadHapticActuatorType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for GamepadHapticActuatorType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for GamepadHapticActuatorType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { GamepadHapticActuatorType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( GamepadHapticActuatorType :: __Nonexhaustive ) } } impl From < GamepadHapticActuatorType > for :: wasm_bindgen :: JsValue { fn from ( obj : GamepadHapticActuatorType ) -> :: wasm_bindgen :: JsValue { match obj { GamepadHapticActuatorType :: Vibration => :: wasm_bindgen :: JsValue :: from_str ( "vibration" ) , GamepadHapticActuatorType :: __Nonexhaustive => panic ! ( "attempted to convert invalid GamepadHapticActuatorType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum GamepadMappingType { None = 0 , Standard = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl GamepadMappingType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < GamepadMappingType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "" => Some ( GamepadMappingType :: None ) , "standard" => Some ( GamepadMappingType :: Standard ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for GamepadMappingType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for GamepadMappingType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for GamepadMappingType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { GamepadMappingType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( GamepadMappingType :: __Nonexhaustive ) } } impl From < GamepadMappingType > for :: wasm_bindgen :: JsValue { fn from ( obj : GamepadMappingType ) -> :: wasm_bindgen :: JsValue { match obj { GamepadMappingType :: None => :: wasm_bindgen :: JsValue :: from_str ( "" ) , GamepadMappingType :: Standard => :: wasm_bindgen :: JsValue :: from_str ( "standard" ) , GamepadMappingType :: __Nonexhaustive => panic ! ( "attempted to convert invalid GamepadMappingType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum GridDeclaration { Explicit = 0 , Implicit = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl GridDeclaration { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < GridDeclaration > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "explicit" => Some ( GridDeclaration :: Explicit ) , "implicit" => Some ( GridDeclaration :: Implicit ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for GridDeclaration { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for GridDeclaration { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for GridDeclaration { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { GridDeclaration :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( GridDeclaration :: __Nonexhaustive ) } } impl From < GridDeclaration > for :: wasm_bindgen :: JsValue { fn from ( obj : GridDeclaration ) -> :: wasm_bindgen :: JsValue { match obj { GridDeclaration :: Explicit => :: wasm_bindgen :: JsValue :: from_str ( "explicit" ) , GridDeclaration :: Implicit => :: wasm_bindgen :: JsValue :: from_str ( "implicit" ) , GridDeclaration :: __Nonexhaustive => panic ! ( "attempted to convert invalid GridDeclaration into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum GridTrackState { Static = 0 , Repeat = 1 , Removed = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl GridTrackState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < GridTrackState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "static" => Some ( GridTrackState :: Static ) , "repeat" => Some ( GridTrackState :: Repeat ) , "removed" => Some ( GridTrackState :: Removed ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for GridTrackState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for GridTrackState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for GridTrackState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { GridTrackState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( GridTrackState :: __Nonexhaustive ) } } impl From < GridTrackState > for :: wasm_bindgen :: JsValue { fn from ( obj : GridTrackState ) -> :: wasm_bindgen :: JsValue { match obj { GridTrackState :: Static => :: wasm_bindgen :: JsValue :: from_str ( "static" ) , GridTrackState :: Repeat => :: wasm_bindgen :: JsValue :: from_str ( "repeat" ) , GridTrackState :: Removed => :: wasm_bindgen :: JsValue :: from_str ( "removed" ) , GridTrackState :: __Nonexhaustive => panic ! ( "attempted to convert invalid GridTrackState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum HeadersGuardEnum { None = 0 , Request = 1 , RequestNoCors = 2 , Response = 3 , Immutable = 4 , # [ doc ( hidden ) ] __Nonexhaustive , } impl HeadersGuardEnum { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < HeadersGuardEnum > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "none" => Some ( HeadersGuardEnum :: None ) , "request" => Some ( HeadersGuardEnum :: Request ) , "request-no-cors" => Some ( HeadersGuardEnum :: RequestNoCors ) , "response" => Some ( HeadersGuardEnum :: Response ) , "immutable" => Some ( HeadersGuardEnum :: Immutable ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for HeadersGuardEnum { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for HeadersGuardEnum { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for HeadersGuardEnum { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { HeadersGuardEnum :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( HeadersGuardEnum :: __Nonexhaustive ) } } impl From < HeadersGuardEnum > for :: wasm_bindgen :: JsValue { fn from ( obj : HeadersGuardEnum ) -> :: wasm_bindgen :: JsValue { match obj { HeadersGuardEnum :: None => :: wasm_bindgen :: JsValue :: from_str ( "none" ) , HeadersGuardEnum :: Request => :: wasm_bindgen :: JsValue :: from_str ( "request" ) , HeadersGuardEnum :: RequestNoCors => :: wasm_bindgen :: JsValue :: from_str ( "request-no-cors" ) , HeadersGuardEnum :: Response => :: wasm_bindgen :: JsValue :: from_str ( "response" ) , HeadersGuardEnum :: Immutable => :: wasm_bindgen :: JsValue :: from_str ( "immutable" ) , HeadersGuardEnum :: __Nonexhaustive => panic ! ( "attempted to convert invalid HeadersGuardEnum into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum IdbCursorDirection { Next = 0 , Nextunique = 1 , Prev = 2 , Prevunique = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl IdbCursorDirection { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < IdbCursorDirection > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "next" => Some ( IdbCursorDirection :: Next ) , "nextunique" => Some ( IdbCursorDirection :: Nextunique ) , "prev" => Some ( IdbCursorDirection :: Prev ) , "prevunique" => Some ( IdbCursorDirection :: Prevunique ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for IdbCursorDirection { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for IdbCursorDirection { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for IdbCursorDirection { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { IdbCursorDirection :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( IdbCursorDirection :: __Nonexhaustive ) } } impl From < IdbCursorDirection > for :: wasm_bindgen :: JsValue { fn from ( obj : IdbCursorDirection ) -> :: wasm_bindgen :: JsValue { match obj { IdbCursorDirection :: Next => :: wasm_bindgen :: JsValue :: from_str ( "next" ) , IdbCursorDirection :: Nextunique => :: wasm_bindgen :: JsValue :: from_str ( "nextunique" ) , IdbCursorDirection :: Prev => :: wasm_bindgen :: JsValue :: from_str ( "prev" ) , IdbCursorDirection :: Prevunique => :: wasm_bindgen :: JsValue :: from_str ( "prevunique" ) , IdbCursorDirection :: __Nonexhaustive => panic ! ( "attempted to convert invalid IdbCursorDirection into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum IdbRequestReadyState { Pending = 0 , Done = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl IdbRequestReadyState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < IdbRequestReadyState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "pending" => Some ( IdbRequestReadyState :: Pending ) , "done" => Some ( IdbRequestReadyState :: Done ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for IdbRequestReadyState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for IdbRequestReadyState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for IdbRequestReadyState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { IdbRequestReadyState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( IdbRequestReadyState :: __Nonexhaustive ) } } impl From < IdbRequestReadyState > for :: wasm_bindgen :: JsValue { fn from ( obj : IdbRequestReadyState ) -> :: wasm_bindgen :: JsValue { match obj { IdbRequestReadyState :: Pending => :: wasm_bindgen :: JsValue :: from_str ( "pending" ) , IdbRequestReadyState :: Done => :: wasm_bindgen :: JsValue :: from_str ( "done" ) , IdbRequestReadyState :: __Nonexhaustive => panic ! ( "attempted to convert invalid IdbRequestReadyState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum IdbTransactionMode { Readonly = 0 , Readwrite = 1 , Readwriteflush = 2 , Cleanup = 3 , Versionchange = 4 , # [ doc ( hidden ) ] __Nonexhaustive , } impl IdbTransactionMode { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < IdbTransactionMode > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "readonly" => Some ( IdbTransactionMode :: Readonly ) , "readwrite" => Some ( IdbTransactionMode :: Readwrite ) , "readwriteflush" => Some ( IdbTransactionMode :: Readwriteflush ) , "cleanup" => Some ( IdbTransactionMode :: Cleanup ) , "versionchange" => Some ( IdbTransactionMode :: Versionchange ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for IdbTransactionMode { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for IdbTransactionMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for IdbTransactionMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { IdbTransactionMode :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( IdbTransactionMode :: __Nonexhaustive ) } } impl From < IdbTransactionMode > for :: wasm_bindgen :: JsValue { fn from ( obj : IdbTransactionMode ) -> :: wasm_bindgen :: JsValue { match obj { IdbTransactionMode :: Readonly => :: wasm_bindgen :: JsValue :: from_str ( "readonly" ) , IdbTransactionMode :: Readwrite => :: wasm_bindgen :: JsValue :: from_str ( "readwrite" ) , IdbTransactionMode :: Readwriteflush => :: wasm_bindgen :: JsValue :: from_str ( "readwriteflush" ) , IdbTransactionMode :: Cleanup => :: wasm_bindgen :: JsValue :: from_str ( "cleanup" ) , IdbTransactionMode :: Versionchange => :: wasm_bindgen :: JsValue :: from_str ( "versionchange" ) , IdbTransactionMode :: __Nonexhaustive => panic ! ( "attempted to convert invalid IdbTransactionMode into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ImageBitmapFormat { Rgba32 = 0 , Bgra32 = 1 , Rgb24 = 2 , Bgr24 = 3 , Gray8 = 4 , Yuv444p = 5 , Yuv422p = 6 , Yuv420p = 7 , Yuv420spNv12 = 8 , Yuv420spNv21 = 9 , Hsv = 10 , Lab = 11 , Depth = 12 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ImageBitmapFormat { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ImageBitmapFormat > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "RGBA32" => Some ( ImageBitmapFormat :: Rgba32 ) , "BGRA32" => Some ( ImageBitmapFormat :: Bgra32 ) , "RGB24" => Some ( ImageBitmapFormat :: Rgb24 ) , "BGR24" => Some ( ImageBitmapFormat :: Bgr24 ) , "GRAY8" => Some ( ImageBitmapFormat :: Gray8 ) , "YUV444P" => Some ( ImageBitmapFormat :: Yuv444p ) , "YUV422P" => Some ( ImageBitmapFormat :: Yuv422p ) , "YUV420P" => Some ( ImageBitmapFormat :: Yuv420p ) , "YUV420SP_NV12" => Some ( ImageBitmapFormat :: Yuv420spNv12 ) , "YUV420SP_NV21" => Some ( ImageBitmapFormat :: Yuv420spNv21 ) , "HSV" => Some ( ImageBitmapFormat :: Hsv ) , "Lab" => Some ( ImageBitmapFormat :: Lab ) , "DEPTH" => Some ( ImageBitmapFormat :: Depth ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ImageBitmapFormat { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ImageBitmapFormat { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ImageBitmapFormat { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ImageBitmapFormat :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ImageBitmapFormat :: __Nonexhaustive ) } } impl From < ImageBitmapFormat > for :: wasm_bindgen :: JsValue { fn from ( obj : ImageBitmapFormat ) -> :: wasm_bindgen :: JsValue { match obj { ImageBitmapFormat :: Rgba32 => :: wasm_bindgen :: JsValue :: from_str ( "RGBA32" ) , ImageBitmapFormat :: Bgra32 => :: wasm_bindgen :: JsValue :: from_str ( "BGRA32" ) , ImageBitmapFormat :: Rgb24 => :: wasm_bindgen :: JsValue :: from_str ( "RGB24" ) , ImageBitmapFormat :: Bgr24 => :: wasm_bindgen :: JsValue :: from_str ( "BGR24" ) , ImageBitmapFormat :: Gray8 => :: wasm_bindgen :: JsValue :: from_str ( "GRAY8" ) , ImageBitmapFormat :: Yuv444p => :: wasm_bindgen :: JsValue :: from_str ( "YUV444P" ) , ImageBitmapFormat :: Yuv422p => :: wasm_bindgen :: JsValue :: from_str ( "YUV422P" ) , ImageBitmapFormat :: Yuv420p => :: wasm_bindgen :: JsValue :: from_str ( "YUV420P" ) , ImageBitmapFormat :: Yuv420spNv12 => :: wasm_bindgen :: JsValue :: from_str ( "YUV420SP_NV12" ) , ImageBitmapFormat :: Yuv420spNv21 => :: wasm_bindgen :: JsValue :: from_str ( "YUV420SP_NV21" ) , ImageBitmapFormat :: Hsv => :: wasm_bindgen :: JsValue :: from_str ( "HSV" ) , ImageBitmapFormat :: Lab => :: wasm_bindgen :: JsValue :: from_str ( "Lab" ) , ImageBitmapFormat :: Depth => :: wasm_bindgen :: JsValue :: from_str ( "DEPTH" ) , ImageBitmapFormat :: __Nonexhaustive => panic ! ( "attempted to convert invalid ImageBitmapFormat into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum IterationCompositeOperation { Replace = 0 , Accumulate = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl IterationCompositeOperation { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < IterationCompositeOperation > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "replace" => Some ( IterationCompositeOperation :: Replace ) , "accumulate" => Some ( IterationCompositeOperation :: Accumulate ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for IterationCompositeOperation { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for IterationCompositeOperation { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for IterationCompositeOperation { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { IterationCompositeOperation :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( IterationCompositeOperation :: __Nonexhaustive ) } } impl From < IterationCompositeOperation > for :: wasm_bindgen :: JsValue { fn from ( obj : IterationCompositeOperation ) -> :: wasm_bindgen :: JsValue { match obj { IterationCompositeOperation :: Replace => :: wasm_bindgen :: JsValue :: from_str ( "replace" ) , IterationCompositeOperation :: Accumulate => :: wasm_bindgen :: JsValue :: from_str ( "accumulate" ) , IterationCompositeOperation :: __Nonexhaustive => panic ! ( "attempted to convert invalid IterationCompositeOperation into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum LineAlignSetting { Start = 0 , Center = 1 , End = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl LineAlignSetting { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < LineAlignSetting > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "start" => Some ( LineAlignSetting :: Start ) , "center" => Some ( LineAlignSetting :: Center ) , "end" => Some ( LineAlignSetting :: End ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for LineAlignSetting { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for LineAlignSetting { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for LineAlignSetting { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { LineAlignSetting :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( LineAlignSetting :: __Nonexhaustive ) } } impl From < LineAlignSetting > for :: wasm_bindgen :: JsValue { fn from ( obj : LineAlignSetting ) -> :: wasm_bindgen :: JsValue { match obj { LineAlignSetting :: Start => :: wasm_bindgen :: JsValue :: from_str ( "start" ) , LineAlignSetting :: Center => :: wasm_bindgen :: JsValue :: from_str ( "center" ) , LineAlignSetting :: End => :: wasm_bindgen :: JsValue :: from_str ( "end" ) , LineAlignSetting :: __Nonexhaustive => panic ! ( "attempted to convert invalid LineAlignSetting into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MidiPortConnectionState { Open = 0 , Closed = 1 , Pending = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MidiPortConnectionState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MidiPortConnectionState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "open" => Some ( MidiPortConnectionState :: Open ) , "closed" => Some ( MidiPortConnectionState :: Closed ) , "pending" => Some ( MidiPortConnectionState :: Pending ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MidiPortConnectionState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MidiPortConnectionState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MidiPortConnectionState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MidiPortConnectionState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MidiPortConnectionState :: __Nonexhaustive ) } } impl From < MidiPortConnectionState > for :: wasm_bindgen :: JsValue { fn from ( obj : MidiPortConnectionState ) -> :: wasm_bindgen :: JsValue { match obj { MidiPortConnectionState :: Open => :: wasm_bindgen :: JsValue :: from_str ( "open" ) , MidiPortConnectionState :: Closed => :: wasm_bindgen :: JsValue :: from_str ( "closed" ) , MidiPortConnectionState :: Pending => :: wasm_bindgen :: JsValue :: from_str ( "pending" ) , MidiPortConnectionState :: __Nonexhaustive => panic ! ( "attempted to convert invalid MidiPortConnectionState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MidiPortDeviceState { Disconnected = 0 , Connected = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MidiPortDeviceState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MidiPortDeviceState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "disconnected" => Some ( MidiPortDeviceState :: Disconnected ) , "connected" => Some ( MidiPortDeviceState :: Connected ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MidiPortDeviceState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MidiPortDeviceState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MidiPortDeviceState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MidiPortDeviceState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MidiPortDeviceState :: __Nonexhaustive ) } } impl From < MidiPortDeviceState > for :: wasm_bindgen :: JsValue { fn from ( obj : MidiPortDeviceState ) -> :: wasm_bindgen :: JsValue { match obj { MidiPortDeviceState :: Disconnected => :: wasm_bindgen :: JsValue :: from_str ( "disconnected" ) , MidiPortDeviceState :: Connected => :: wasm_bindgen :: JsValue :: from_str ( "connected" ) , MidiPortDeviceState :: __Nonexhaustive => panic ! ( "attempted to convert invalid MidiPortDeviceState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MidiPortType { Input = 0 , Output = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MidiPortType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MidiPortType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "input" => Some ( MidiPortType :: Input ) , "output" => Some ( MidiPortType :: Output ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MidiPortType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MidiPortType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MidiPortType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MidiPortType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MidiPortType :: __Nonexhaustive ) } } impl From < MidiPortType > for :: wasm_bindgen :: JsValue { fn from ( obj : MidiPortType ) -> :: wasm_bindgen :: JsValue { match obj { MidiPortType :: Input => :: wasm_bindgen :: JsValue :: from_str ( "input" ) , MidiPortType :: Output => :: wasm_bindgen :: JsValue :: from_str ( "output" ) , MidiPortType :: __Nonexhaustive => panic ! ( "attempted to convert invalid MidiPortType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MediaDecodingType { File = 0 , MediaSource = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MediaDecodingType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MediaDecodingType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "file" => Some ( MediaDecodingType :: File ) , "media-source" => Some ( MediaDecodingType :: MediaSource ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MediaDecodingType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MediaDecodingType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MediaDecodingType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MediaDecodingType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MediaDecodingType :: __Nonexhaustive ) } } impl From < MediaDecodingType > for :: wasm_bindgen :: JsValue { fn from ( obj : MediaDecodingType ) -> :: wasm_bindgen :: JsValue { match obj { MediaDecodingType :: File => :: wasm_bindgen :: JsValue :: from_str ( "file" ) , MediaDecodingType :: MediaSource => :: wasm_bindgen :: JsValue :: from_str ( "media-source" ) , MediaDecodingType :: __Nonexhaustive => panic ! ( "attempted to convert invalid MediaDecodingType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MediaDeviceKind { Audioinput = 0 , Audiooutput = 1 , Videoinput = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MediaDeviceKind { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MediaDeviceKind > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "audioinput" => Some ( MediaDeviceKind :: Audioinput ) , "audiooutput" => Some ( MediaDeviceKind :: Audiooutput ) , "videoinput" => Some ( MediaDeviceKind :: Videoinput ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MediaDeviceKind { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MediaDeviceKind { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MediaDeviceKind { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MediaDeviceKind :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MediaDeviceKind :: __Nonexhaustive ) } } impl From < MediaDeviceKind > for :: wasm_bindgen :: JsValue { fn from ( obj : MediaDeviceKind ) -> :: wasm_bindgen :: JsValue { match obj { MediaDeviceKind :: Audioinput => :: wasm_bindgen :: JsValue :: from_str ( "audioinput" ) , MediaDeviceKind :: Audiooutput => :: wasm_bindgen :: JsValue :: from_str ( "audiooutput" ) , MediaDeviceKind :: Videoinput => :: wasm_bindgen :: JsValue :: from_str ( "videoinput" ) , MediaDeviceKind :: __Nonexhaustive => panic ! ( "attempted to convert invalid MediaDeviceKind into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MediaEncodingType { Record = 0 , Transmission = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MediaEncodingType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MediaEncodingType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "record" => Some ( MediaEncodingType :: Record ) , "transmission" => Some ( MediaEncodingType :: Transmission ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MediaEncodingType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MediaEncodingType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MediaEncodingType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MediaEncodingType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MediaEncodingType :: __Nonexhaustive ) } } impl From < MediaEncodingType > for :: wasm_bindgen :: JsValue { fn from ( obj : MediaEncodingType ) -> :: wasm_bindgen :: JsValue { match obj { MediaEncodingType :: Record => :: wasm_bindgen :: JsValue :: from_str ( "record" ) , MediaEncodingType :: Transmission => :: wasm_bindgen :: JsValue :: from_str ( "transmission" ) , MediaEncodingType :: __Nonexhaustive => panic ! ( "attempted to convert invalid MediaEncodingType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MediaKeyMessageType { LicenseRequest = 0 , LicenseRenewal = 1 , LicenseRelease = 2 , IndividualizationRequest = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MediaKeyMessageType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MediaKeyMessageType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "license-request" => Some ( MediaKeyMessageType :: LicenseRequest ) , "license-renewal" => Some ( MediaKeyMessageType :: LicenseRenewal ) , "license-release" => Some ( MediaKeyMessageType :: LicenseRelease ) , "individualization-request" => Some ( MediaKeyMessageType :: IndividualizationRequest ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MediaKeyMessageType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MediaKeyMessageType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MediaKeyMessageType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MediaKeyMessageType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MediaKeyMessageType :: __Nonexhaustive ) } } impl From < MediaKeyMessageType > for :: wasm_bindgen :: JsValue { fn from ( obj : MediaKeyMessageType ) -> :: wasm_bindgen :: JsValue { match obj { MediaKeyMessageType :: LicenseRequest => :: wasm_bindgen :: JsValue :: from_str ( "license-request" ) , MediaKeyMessageType :: LicenseRenewal => :: wasm_bindgen :: JsValue :: from_str ( "license-renewal" ) , MediaKeyMessageType :: LicenseRelease => :: wasm_bindgen :: JsValue :: from_str ( "license-release" ) , MediaKeyMessageType :: IndividualizationRequest => :: wasm_bindgen :: JsValue :: from_str ( "individualization-request" ) , MediaKeyMessageType :: __Nonexhaustive => panic ! ( "attempted to convert invalid MediaKeyMessageType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MediaKeySessionType { Temporary = 0 , PersistentLicense = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MediaKeySessionType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MediaKeySessionType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "temporary" => Some ( MediaKeySessionType :: Temporary ) , "persistent-license" => Some ( MediaKeySessionType :: PersistentLicense ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MediaKeySessionType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MediaKeySessionType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MediaKeySessionType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MediaKeySessionType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MediaKeySessionType :: __Nonexhaustive ) } } impl From < MediaKeySessionType > for :: wasm_bindgen :: JsValue { fn from ( obj : MediaKeySessionType ) -> :: wasm_bindgen :: JsValue { match obj { MediaKeySessionType :: Temporary => :: wasm_bindgen :: JsValue :: from_str ( "temporary" ) , MediaKeySessionType :: PersistentLicense => :: wasm_bindgen :: JsValue :: from_str ( "persistent-license" ) , MediaKeySessionType :: __Nonexhaustive => panic ! ( "attempted to convert invalid MediaKeySessionType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MediaKeyStatus { Usable = 0 , Expired = 1 , Released = 2 , OutputRestricted = 3 , OutputDownscaled = 4 , StatusPending = 5 , InternalError = 6 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MediaKeyStatus { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MediaKeyStatus > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "usable" => Some ( MediaKeyStatus :: Usable ) , "expired" => Some ( MediaKeyStatus :: Expired ) , "released" => Some ( MediaKeyStatus :: Released ) , "output-restricted" => Some ( MediaKeyStatus :: OutputRestricted ) , "output-downscaled" => Some ( MediaKeyStatus :: OutputDownscaled ) , "status-pending" => Some ( MediaKeyStatus :: StatusPending ) , "internal-error" => Some ( MediaKeyStatus :: InternalError ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MediaKeyStatus { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MediaKeyStatus { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MediaKeyStatus { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MediaKeyStatus :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MediaKeyStatus :: __Nonexhaustive ) } } impl From < MediaKeyStatus > for :: wasm_bindgen :: JsValue { fn from ( obj : MediaKeyStatus ) -> :: wasm_bindgen :: JsValue { match obj { MediaKeyStatus :: Usable => :: wasm_bindgen :: JsValue :: from_str ( "usable" ) , MediaKeyStatus :: Expired => :: wasm_bindgen :: JsValue :: from_str ( "expired" ) , MediaKeyStatus :: Released => :: wasm_bindgen :: JsValue :: from_str ( "released" ) , MediaKeyStatus :: OutputRestricted => :: wasm_bindgen :: JsValue :: from_str ( "output-restricted" ) , MediaKeyStatus :: OutputDownscaled => :: wasm_bindgen :: JsValue :: from_str ( "output-downscaled" ) , MediaKeyStatus :: StatusPending => :: wasm_bindgen :: JsValue :: from_str ( "status-pending" ) , MediaKeyStatus :: InternalError => :: wasm_bindgen :: JsValue :: from_str ( "internal-error" ) , MediaKeyStatus :: __Nonexhaustive => panic ! ( "attempted to convert invalid MediaKeyStatus into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MediaKeySystemStatus { Available = 0 , ApiDisabled = 1 , CdmDisabled = 2 , CdmNotSupported = 3 , CdmNotInstalled = 4 , CdmCreated = 5 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MediaKeySystemStatus { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MediaKeySystemStatus > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "available" => Some ( MediaKeySystemStatus :: Available ) , "api-disabled" => Some ( MediaKeySystemStatus :: ApiDisabled ) , "cdm-disabled" => Some ( MediaKeySystemStatus :: CdmDisabled ) , "cdm-not-supported" => Some ( MediaKeySystemStatus :: CdmNotSupported ) , "cdm-not-installed" => Some ( MediaKeySystemStatus :: CdmNotInstalled ) , "cdm-created" => Some ( MediaKeySystemStatus :: CdmCreated ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MediaKeySystemStatus { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MediaKeySystemStatus { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MediaKeySystemStatus { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MediaKeySystemStatus :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MediaKeySystemStatus :: __Nonexhaustive ) } } impl From < MediaKeySystemStatus > for :: wasm_bindgen :: JsValue { fn from ( obj : MediaKeySystemStatus ) -> :: wasm_bindgen :: JsValue { match obj { MediaKeySystemStatus :: Available => :: wasm_bindgen :: JsValue :: from_str ( "available" ) , MediaKeySystemStatus :: ApiDisabled => :: wasm_bindgen :: JsValue :: from_str ( "api-disabled" ) , MediaKeySystemStatus :: CdmDisabled => :: wasm_bindgen :: JsValue :: from_str ( "cdm-disabled" ) , MediaKeySystemStatus :: CdmNotSupported => :: wasm_bindgen :: JsValue :: from_str ( "cdm-not-supported" ) , MediaKeySystemStatus :: CdmNotInstalled => :: wasm_bindgen :: JsValue :: from_str ( "cdm-not-installed" ) , MediaKeySystemStatus :: CdmCreated => :: wasm_bindgen :: JsValue :: from_str ( "cdm-created" ) , MediaKeySystemStatus :: __Nonexhaustive => panic ! ( "attempted to convert invalid MediaKeySystemStatus into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MediaKeysRequirement { Required = 0 , Optional = 1 , NotAllowed = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MediaKeysRequirement { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MediaKeysRequirement > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "required" => Some ( MediaKeysRequirement :: Required ) , "optional" => Some ( MediaKeysRequirement :: Optional ) , "not-allowed" => Some ( MediaKeysRequirement :: NotAllowed ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MediaKeysRequirement { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MediaKeysRequirement { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MediaKeysRequirement { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MediaKeysRequirement :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MediaKeysRequirement :: __Nonexhaustive ) } } impl From < MediaKeysRequirement > for :: wasm_bindgen :: JsValue { fn from ( obj : MediaKeysRequirement ) -> :: wasm_bindgen :: JsValue { match obj { MediaKeysRequirement :: Required => :: wasm_bindgen :: JsValue :: from_str ( "required" ) , MediaKeysRequirement :: Optional => :: wasm_bindgen :: JsValue :: from_str ( "optional" ) , MediaKeysRequirement :: NotAllowed => :: wasm_bindgen :: JsValue :: from_str ( "not-allowed" ) , MediaKeysRequirement :: __Nonexhaustive => panic ! ( "attempted to convert invalid MediaKeysRequirement into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MediaSourceEndOfStreamError { Network = 0 , Decode = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MediaSourceEndOfStreamError { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MediaSourceEndOfStreamError > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "network" => Some ( MediaSourceEndOfStreamError :: Network ) , "decode" => Some ( MediaSourceEndOfStreamError :: Decode ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MediaSourceEndOfStreamError { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MediaSourceEndOfStreamError { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MediaSourceEndOfStreamError { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MediaSourceEndOfStreamError :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MediaSourceEndOfStreamError :: __Nonexhaustive ) } } impl From < MediaSourceEndOfStreamError > for :: wasm_bindgen :: JsValue { fn from ( obj : MediaSourceEndOfStreamError ) -> :: wasm_bindgen :: JsValue { match obj { MediaSourceEndOfStreamError :: Network => :: wasm_bindgen :: JsValue :: from_str ( "network" ) , MediaSourceEndOfStreamError :: Decode => :: wasm_bindgen :: JsValue :: from_str ( "decode" ) , MediaSourceEndOfStreamError :: __Nonexhaustive => panic ! ( "attempted to convert invalid MediaSourceEndOfStreamError into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MediaSourceEnum { Camera = 0 , Screen = 1 , Application = 2 , Window = 3 , Browser = 4 , Microphone = 5 , AudioCapture = 6 , Other = 7 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MediaSourceEnum { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MediaSourceEnum > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "camera" => Some ( MediaSourceEnum :: Camera ) , "screen" => Some ( MediaSourceEnum :: Screen ) , "application" => Some ( MediaSourceEnum :: Application ) , "window" => Some ( MediaSourceEnum :: Window ) , "browser" => Some ( MediaSourceEnum :: Browser ) , "microphone" => Some ( MediaSourceEnum :: Microphone ) , "audioCapture" => Some ( MediaSourceEnum :: AudioCapture ) , "other" => Some ( MediaSourceEnum :: Other ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MediaSourceEnum { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MediaSourceEnum { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MediaSourceEnum { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MediaSourceEnum :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MediaSourceEnum :: __Nonexhaustive ) } } impl From < MediaSourceEnum > for :: wasm_bindgen :: JsValue { fn from ( obj : MediaSourceEnum ) -> :: wasm_bindgen :: JsValue { match obj { MediaSourceEnum :: Camera => :: wasm_bindgen :: JsValue :: from_str ( "camera" ) , MediaSourceEnum :: Screen => :: wasm_bindgen :: JsValue :: from_str ( "screen" ) , MediaSourceEnum :: Application => :: wasm_bindgen :: JsValue :: from_str ( "application" ) , MediaSourceEnum :: Window => :: wasm_bindgen :: JsValue :: from_str ( "window" ) , MediaSourceEnum :: Browser => :: wasm_bindgen :: JsValue :: from_str ( "browser" ) , MediaSourceEnum :: Microphone => :: wasm_bindgen :: JsValue :: from_str ( "microphone" ) , MediaSourceEnum :: AudioCapture => :: wasm_bindgen :: JsValue :: from_str ( "audioCapture" ) , MediaSourceEnum :: Other => :: wasm_bindgen :: JsValue :: from_str ( "other" ) , MediaSourceEnum :: __Nonexhaustive => panic ! ( "attempted to convert invalid MediaSourceEnum into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MediaSourceReadyState { Closed = 0 , Open = 1 , Ended = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MediaSourceReadyState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MediaSourceReadyState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "closed" => Some ( MediaSourceReadyState :: Closed ) , "open" => Some ( MediaSourceReadyState :: Open ) , "ended" => Some ( MediaSourceReadyState :: Ended ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MediaSourceReadyState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MediaSourceReadyState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MediaSourceReadyState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MediaSourceReadyState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MediaSourceReadyState :: __Nonexhaustive ) } } impl From < MediaSourceReadyState > for :: wasm_bindgen :: JsValue { fn from ( obj : MediaSourceReadyState ) -> :: wasm_bindgen :: JsValue { match obj { MediaSourceReadyState :: Closed => :: wasm_bindgen :: JsValue :: from_str ( "closed" ) , MediaSourceReadyState :: Open => :: wasm_bindgen :: JsValue :: from_str ( "open" ) , MediaSourceReadyState :: Ended => :: wasm_bindgen :: JsValue :: from_str ( "ended" ) , MediaSourceReadyState :: __Nonexhaustive => panic ! ( "attempted to convert invalid MediaSourceReadyState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum MediaStreamTrackState { Live = 0 , Ended = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl MediaStreamTrackState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < MediaStreamTrackState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "live" => Some ( MediaStreamTrackState :: Live ) , "ended" => Some ( MediaStreamTrackState :: Ended ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for MediaStreamTrackState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for MediaStreamTrackState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for MediaStreamTrackState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { MediaStreamTrackState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( MediaStreamTrackState :: __Nonexhaustive ) } } impl From < MediaStreamTrackState > for :: wasm_bindgen :: JsValue { fn from ( obj : MediaStreamTrackState ) -> :: wasm_bindgen :: JsValue { match obj { MediaStreamTrackState :: Live => :: wasm_bindgen :: JsValue :: from_str ( "live" ) , MediaStreamTrackState :: Ended => :: wasm_bindgen :: JsValue :: from_str ( "ended" ) , MediaStreamTrackState :: __Nonexhaustive => panic ! ( "attempted to convert invalid MediaStreamTrackState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum NavigationType { Navigate = 0 , Reload = 1 , BackForward = 2 , Prerender = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl NavigationType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < NavigationType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "navigate" => Some ( NavigationType :: Navigate ) , "reload" => Some ( NavigationType :: Reload ) , "back_forward" => Some ( NavigationType :: BackForward ) , "prerender" => Some ( NavigationType :: Prerender ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for NavigationType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for NavigationType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for NavigationType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { NavigationType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( NavigationType :: __Nonexhaustive ) } } impl From < NavigationType > for :: wasm_bindgen :: JsValue { fn from ( obj : NavigationType ) -> :: wasm_bindgen :: JsValue { match obj { NavigationType :: Navigate => :: wasm_bindgen :: JsValue :: from_str ( "navigate" ) , NavigationType :: Reload => :: wasm_bindgen :: JsValue :: from_str ( "reload" ) , NavigationType :: BackForward => :: wasm_bindgen :: JsValue :: from_str ( "back_forward" ) , NavigationType :: Prerender => :: wasm_bindgen :: JsValue :: from_str ( "prerender" ) , NavigationType :: __Nonexhaustive => panic ! ( "attempted to convert invalid NavigationType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum NotificationDirection { Auto = 0 , Ltr = 1 , Rtl = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl NotificationDirection { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < NotificationDirection > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "auto" => Some ( NotificationDirection :: Auto ) , "ltr" => Some ( NotificationDirection :: Ltr ) , "rtl" => Some ( NotificationDirection :: Rtl ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for NotificationDirection { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for NotificationDirection { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for NotificationDirection { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { NotificationDirection :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( NotificationDirection :: __Nonexhaustive ) } } impl From < NotificationDirection > for :: wasm_bindgen :: JsValue { fn from ( obj : NotificationDirection ) -> :: wasm_bindgen :: JsValue { match obj { NotificationDirection :: Auto => :: wasm_bindgen :: JsValue :: from_str ( "auto" ) , NotificationDirection :: Ltr => :: wasm_bindgen :: JsValue :: from_str ( "ltr" ) , NotificationDirection :: Rtl => :: wasm_bindgen :: JsValue :: from_str ( "rtl" ) , NotificationDirection :: __Nonexhaustive => panic ! ( "attempted to convert invalid NotificationDirection into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum NotificationPermission { Default = 0 , Denied = 1 , Granted = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl NotificationPermission { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < NotificationPermission > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "default" => Some ( NotificationPermission :: Default ) , "denied" => Some ( NotificationPermission :: Denied ) , "granted" => Some ( NotificationPermission :: Granted ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for NotificationPermission { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for NotificationPermission { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for NotificationPermission { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { NotificationPermission :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( NotificationPermission :: __Nonexhaustive ) } } impl From < NotificationPermission > for :: wasm_bindgen :: JsValue { fn from ( obj : NotificationPermission ) -> :: wasm_bindgen :: JsValue { match obj { NotificationPermission :: Default => :: wasm_bindgen :: JsValue :: from_str ( "default" ) , NotificationPermission :: Denied => :: wasm_bindgen :: JsValue :: from_str ( "denied" ) , NotificationPermission :: Granted => :: wasm_bindgen :: JsValue :: from_str ( "granted" ) , NotificationPermission :: __Nonexhaustive => panic ! ( "attempted to convert invalid NotificationPermission into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum OrientationLockType { Any = 0 , Natural = 1 , Landscape = 2 , Portrait = 3 , PortraitPrimary = 4 , PortraitSecondary = 5 , LandscapePrimary = 6 , LandscapeSecondary = 7 , # [ doc ( hidden ) ] __Nonexhaustive , } impl OrientationLockType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < OrientationLockType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "any" => Some ( OrientationLockType :: Any ) , "natural" => Some ( OrientationLockType :: Natural ) , "landscape" => Some ( OrientationLockType :: Landscape ) , "portrait" => Some ( OrientationLockType :: Portrait ) , "portrait-primary" => Some ( OrientationLockType :: PortraitPrimary ) , "portrait-secondary" => Some ( OrientationLockType :: PortraitSecondary ) , "landscape-primary" => Some ( OrientationLockType :: LandscapePrimary ) , "landscape-secondary" => Some ( OrientationLockType :: LandscapeSecondary ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for OrientationLockType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for OrientationLockType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for OrientationLockType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { OrientationLockType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( OrientationLockType :: __Nonexhaustive ) } } impl From < OrientationLockType > for :: wasm_bindgen :: JsValue { fn from ( obj : OrientationLockType ) -> :: wasm_bindgen :: JsValue { match obj { OrientationLockType :: Any => :: wasm_bindgen :: JsValue :: from_str ( "any" ) , OrientationLockType :: Natural => :: wasm_bindgen :: JsValue :: from_str ( "natural" ) , OrientationLockType :: Landscape => :: wasm_bindgen :: JsValue :: from_str ( "landscape" ) , OrientationLockType :: Portrait => :: wasm_bindgen :: JsValue :: from_str ( "portrait" ) , OrientationLockType :: PortraitPrimary => :: wasm_bindgen :: JsValue :: from_str ( "portrait-primary" ) , OrientationLockType :: PortraitSecondary => :: wasm_bindgen :: JsValue :: from_str ( "portrait-secondary" ) , OrientationLockType :: LandscapePrimary => :: wasm_bindgen :: JsValue :: from_str ( "landscape-primary" ) , OrientationLockType :: LandscapeSecondary => :: wasm_bindgen :: JsValue :: from_str ( "landscape-secondary" ) , OrientationLockType :: __Nonexhaustive => panic ! ( "attempted to convert invalid OrientationLockType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum OrientationType { PortraitPrimary = 0 , PortraitSecondary = 1 , LandscapePrimary = 2 , LandscapeSecondary = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl OrientationType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < OrientationType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "portrait-primary" => Some ( OrientationType :: PortraitPrimary ) , "portrait-secondary" => Some ( OrientationType :: PortraitSecondary ) , "landscape-primary" => Some ( OrientationType :: LandscapePrimary ) , "landscape-secondary" => Some ( OrientationType :: LandscapeSecondary ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for OrientationType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for OrientationType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for OrientationType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { OrientationType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( OrientationType :: __Nonexhaustive ) } } impl From < OrientationType > for :: wasm_bindgen :: JsValue { fn from ( obj : OrientationType ) -> :: wasm_bindgen :: JsValue { match obj { OrientationType :: PortraitPrimary => :: wasm_bindgen :: JsValue :: from_str ( "portrait-primary" ) , OrientationType :: PortraitSecondary => :: wasm_bindgen :: JsValue :: from_str ( "portrait-secondary" ) , OrientationType :: LandscapePrimary => :: wasm_bindgen :: JsValue :: from_str ( "landscape-primary" ) , OrientationType :: LandscapeSecondary => :: wasm_bindgen :: JsValue :: from_str ( "landscape-secondary" ) , OrientationType :: __Nonexhaustive => panic ! ( "attempted to convert invalid OrientationType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum OscillatorType { Sine = 0 , Square = 1 , Sawtooth = 2 , Triangle = 3 , Custom = 4 , # [ doc ( hidden ) ] __Nonexhaustive , } impl OscillatorType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < OscillatorType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "sine" => Some ( OscillatorType :: Sine ) , "square" => Some ( OscillatorType :: Square ) , "sawtooth" => Some ( OscillatorType :: Sawtooth ) , "triangle" => Some ( OscillatorType :: Triangle ) , "custom" => Some ( OscillatorType :: Custom ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for OscillatorType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for OscillatorType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for OscillatorType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { OscillatorType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( OscillatorType :: __Nonexhaustive ) } } impl From < OscillatorType > for :: wasm_bindgen :: JsValue { fn from ( obj : OscillatorType ) -> :: wasm_bindgen :: JsValue { match obj { OscillatorType :: Sine => :: wasm_bindgen :: JsValue :: from_str ( "sine" ) , OscillatorType :: Square => :: wasm_bindgen :: JsValue :: from_str ( "square" ) , OscillatorType :: Sawtooth => :: wasm_bindgen :: JsValue :: from_str ( "sawtooth" ) , OscillatorType :: Triangle => :: wasm_bindgen :: JsValue :: from_str ( "triangle" ) , OscillatorType :: Custom => :: wasm_bindgen :: JsValue :: from_str ( "custom" ) , OscillatorType :: __Nonexhaustive => panic ! ( "attempted to convert invalid OscillatorType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum OverSampleType { None = 0 , N2x = 1 , N4x = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl OverSampleType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < OverSampleType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "none" => Some ( OverSampleType :: None ) , "2x" => Some ( OverSampleType :: N2x ) , "4x" => Some ( OverSampleType :: N4x ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for OverSampleType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for OverSampleType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for OverSampleType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { OverSampleType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( OverSampleType :: __Nonexhaustive ) } } impl From < OverSampleType > for :: wasm_bindgen :: JsValue { fn from ( obj : OverSampleType ) -> :: wasm_bindgen :: JsValue { match obj { OverSampleType :: None => :: wasm_bindgen :: JsValue :: from_str ( "none" ) , OverSampleType :: N2x => :: wasm_bindgen :: JsValue :: from_str ( "2x" ) , OverSampleType :: N4x => :: wasm_bindgen :: JsValue :: from_str ( "4x" ) , OverSampleType :: __Nonexhaustive => panic ! ( "attempted to convert invalid OverSampleType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PcImplIceConnectionState { New = 0 , Checking = 1 , Connected = 2 , Completed = 3 , Failed = 4 , Disconnected = 5 , Closed = 6 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PcImplIceConnectionState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PcImplIceConnectionState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "new" => Some ( PcImplIceConnectionState :: New ) , "checking" => Some ( PcImplIceConnectionState :: Checking ) , "connected" => Some ( PcImplIceConnectionState :: Connected ) , "completed" => Some ( PcImplIceConnectionState :: Completed ) , "failed" => Some ( PcImplIceConnectionState :: Failed ) , "disconnected" => Some ( PcImplIceConnectionState :: Disconnected ) , "closed" => Some ( PcImplIceConnectionState :: Closed ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PcImplIceConnectionState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PcImplIceConnectionState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PcImplIceConnectionState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PcImplIceConnectionState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PcImplIceConnectionState :: __Nonexhaustive ) } } impl From < PcImplIceConnectionState > for :: wasm_bindgen :: JsValue { fn from ( obj : PcImplIceConnectionState ) -> :: wasm_bindgen :: JsValue { match obj { PcImplIceConnectionState :: New => :: wasm_bindgen :: JsValue :: from_str ( "new" ) , PcImplIceConnectionState :: Checking => :: wasm_bindgen :: JsValue :: from_str ( "checking" ) , PcImplIceConnectionState :: Connected => :: wasm_bindgen :: JsValue :: from_str ( "connected" ) , PcImplIceConnectionState :: Completed => :: wasm_bindgen :: JsValue :: from_str ( "completed" ) , PcImplIceConnectionState :: Failed => :: wasm_bindgen :: JsValue :: from_str ( "failed" ) , PcImplIceConnectionState :: Disconnected => :: wasm_bindgen :: JsValue :: from_str ( "disconnected" ) , PcImplIceConnectionState :: Closed => :: wasm_bindgen :: JsValue :: from_str ( "closed" ) , PcImplIceConnectionState :: __Nonexhaustive => panic ! ( "attempted to convert invalid PcImplIceConnectionState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PcImplIceGatheringState { New = 0 , Gathering = 1 , Complete = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PcImplIceGatheringState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PcImplIceGatheringState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "new" => Some ( PcImplIceGatheringState :: New ) , "gathering" => Some ( PcImplIceGatheringState :: Gathering ) , "complete" => Some ( PcImplIceGatheringState :: Complete ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PcImplIceGatheringState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PcImplIceGatheringState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PcImplIceGatheringState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PcImplIceGatheringState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PcImplIceGatheringState :: __Nonexhaustive ) } } impl From < PcImplIceGatheringState > for :: wasm_bindgen :: JsValue { fn from ( obj : PcImplIceGatheringState ) -> :: wasm_bindgen :: JsValue { match obj { PcImplIceGatheringState :: New => :: wasm_bindgen :: JsValue :: from_str ( "new" ) , PcImplIceGatheringState :: Gathering => :: wasm_bindgen :: JsValue :: from_str ( "gathering" ) , PcImplIceGatheringState :: Complete => :: wasm_bindgen :: JsValue :: from_str ( "complete" ) , PcImplIceGatheringState :: __Nonexhaustive => panic ! ( "attempted to convert invalid PcImplIceGatheringState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PcImplSignalingState { SignalingInvalid = 0 , SignalingStable = 1 , SignalingHaveLocalOffer = 2 , SignalingHaveRemoteOffer = 3 , SignalingHaveLocalPranswer = 4 , SignalingHaveRemotePranswer = 5 , SignalingClosed = 6 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PcImplSignalingState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PcImplSignalingState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "SignalingInvalid" => Some ( PcImplSignalingState :: SignalingInvalid ) , "SignalingStable" => Some ( PcImplSignalingState :: SignalingStable ) , "SignalingHaveLocalOffer" => Some ( PcImplSignalingState :: SignalingHaveLocalOffer ) , "SignalingHaveRemoteOffer" => Some ( PcImplSignalingState :: SignalingHaveRemoteOffer ) , "SignalingHaveLocalPranswer" => Some ( PcImplSignalingState :: SignalingHaveLocalPranswer ) , "SignalingHaveRemotePranswer" => Some ( PcImplSignalingState :: SignalingHaveRemotePranswer ) , "SignalingClosed" => Some ( PcImplSignalingState :: SignalingClosed ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PcImplSignalingState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PcImplSignalingState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PcImplSignalingState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PcImplSignalingState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PcImplSignalingState :: __Nonexhaustive ) } } impl From < PcImplSignalingState > for :: wasm_bindgen :: JsValue { fn from ( obj : PcImplSignalingState ) -> :: wasm_bindgen :: JsValue { match obj { PcImplSignalingState :: SignalingInvalid => :: wasm_bindgen :: JsValue :: from_str ( "SignalingInvalid" ) , PcImplSignalingState :: SignalingStable => :: wasm_bindgen :: JsValue :: from_str ( "SignalingStable" ) , PcImplSignalingState :: SignalingHaveLocalOffer => :: wasm_bindgen :: JsValue :: from_str ( "SignalingHaveLocalOffer" ) , PcImplSignalingState :: SignalingHaveRemoteOffer => :: wasm_bindgen :: JsValue :: from_str ( "SignalingHaveRemoteOffer" ) , PcImplSignalingState :: SignalingHaveLocalPranswer => :: wasm_bindgen :: JsValue :: from_str ( "SignalingHaveLocalPranswer" ) , PcImplSignalingState :: SignalingHaveRemotePranswer => :: wasm_bindgen :: JsValue :: from_str ( "SignalingHaveRemotePranswer" ) , PcImplSignalingState :: SignalingClosed => :: wasm_bindgen :: JsValue :: from_str ( "SignalingClosed" ) , PcImplSignalingState :: __Nonexhaustive => panic ! ( "attempted to convert invalid PcImplSignalingState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PcObserverStateType { None = 0 , IceConnectionState = 1 , IceGatheringState = 2 , SignalingState = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PcObserverStateType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PcObserverStateType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "None" => Some ( PcObserverStateType :: None ) , "IceConnectionState" => Some ( PcObserverStateType :: IceConnectionState ) , "IceGatheringState" => Some ( PcObserverStateType :: IceGatheringState ) , "SignalingState" => Some ( PcObserverStateType :: SignalingState ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PcObserverStateType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PcObserverStateType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PcObserverStateType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PcObserverStateType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PcObserverStateType :: __Nonexhaustive ) } } impl From < PcObserverStateType > for :: wasm_bindgen :: JsValue { fn from ( obj : PcObserverStateType ) -> :: wasm_bindgen :: JsValue { match obj { PcObserverStateType :: None => :: wasm_bindgen :: JsValue :: from_str ( "None" ) , PcObserverStateType :: IceConnectionState => :: wasm_bindgen :: JsValue :: from_str ( "IceConnectionState" ) , PcObserverStateType :: IceGatheringState => :: wasm_bindgen :: JsValue :: from_str ( "IceGatheringState" ) , PcObserverStateType :: SignalingState => :: wasm_bindgen :: JsValue :: from_str ( "SignalingState" ) , PcObserverStateType :: __Nonexhaustive => panic ! ( "attempted to convert invalid PcObserverStateType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PanningModelType { Equalpower = 0 , Hrtf = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PanningModelType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PanningModelType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "equalpower" => Some ( PanningModelType :: Equalpower ) , "HRTF" => Some ( PanningModelType :: Hrtf ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PanningModelType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PanningModelType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PanningModelType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PanningModelType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PanningModelType :: __Nonexhaustive ) } } impl From < PanningModelType > for :: wasm_bindgen :: JsValue { fn from ( obj : PanningModelType ) -> :: wasm_bindgen :: JsValue { match obj { PanningModelType :: Equalpower => :: wasm_bindgen :: JsValue :: from_str ( "equalpower" ) , PanningModelType :: Hrtf => :: wasm_bindgen :: JsValue :: from_str ( "HRTF" ) , PanningModelType :: __Nonexhaustive => panic ! ( "attempted to convert invalid PanningModelType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PaymentComplete { Success = 0 , Fail = 1 , Unknown = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PaymentComplete { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PaymentComplete > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "success" => Some ( PaymentComplete :: Success ) , "fail" => Some ( PaymentComplete :: Fail ) , "unknown" => Some ( PaymentComplete :: Unknown ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PaymentComplete { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PaymentComplete { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PaymentComplete { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PaymentComplete :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PaymentComplete :: __Nonexhaustive ) } } impl From < PaymentComplete > for :: wasm_bindgen :: JsValue { fn from ( obj : PaymentComplete ) -> :: wasm_bindgen :: JsValue { match obj { PaymentComplete :: Success => :: wasm_bindgen :: JsValue :: from_str ( "success" ) , PaymentComplete :: Fail => :: wasm_bindgen :: JsValue :: from_str ( "fail" ) , PaymentComplete :: Unknown => :: wasm_bindgen :: JsValue :: from_str ( "unknown" ) , PaymentComplete :: __Nonexhaustive => panic ! ( "attempted to convert invalid PaymentComplete into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PermissionName { Geolocation = 0 , Notifications = 1 , Push = 2 , PersistentStorage = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PermissionName { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PermissionName > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "geolocation" => Some ( PermissionName :: Geolocation ) , "notifications" => Some ( PermissionName :: Notifications ) , "push" => Some ( PermissionName :: Push ) , "persistent-storage" => Some ( PermissionName :: PersistentStorage ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PermissionName { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PermissionName { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PermissionName { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PermissionName :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PermissionName :: __Nonexhaustive ) } } impl From < PermissionName > for :: wasm_bindgen :: JsValue { fn from ( obj : PermissionName ) -> :: wasm_bindgen :: JsValue { match obj { PermissionName :: Geolocation => :: wasm_bindgen :: JsValue :: from_str ( "geolocation" ) , PermissionName :: Notifications => :: wasm_bindgen :: JsValue :: from_str ( "notifications" ) , PermissionName :: Push => :: wasm_bindgen :: JsValue :: from_str ( "push" ) , PermissionName :: PersistentStorage => :: wasm_bindgen :: JsValue :: from_str ( "persistent-storage" ) , PermissionName :: __Nonexhaustive => panic ! ( "attempted to convert invalid PermissionName into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PermissionState { Granted = 0 , Denied = 1 , Prompt = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PermissionState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PermissionState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "granted" => Some ( PermissionState :: Granted ) , "denied" => Some ( PermissionState :: Denied ) , "prompt" => Some ( PermissionState :: Prompt ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PermissionState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PermissionState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PermissionState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PermissionState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PermissionState :: __Nonexhaustive ) } } impl From < PermissionState > for :: wasm_bindgen :: JsValue { fn from ( obj : PermissionState ) -> :: wasm_bindgen :: JsValue { match obj { PermissionState :: Granted => :: wasm_bindgen :: JsValue :: from_str ( "granted" ) , PermissionState :: Denied => :: wasm_bindgen :: JsValue :: from_str ( "denied" ) , PermissionState :: Prompt => :: wasm_bindgen :: JsValue :: from_str ( "prompt" ) , PermissionState :: __Nonexhaustive => panic ! ( "attempted to convert invalid PermissionState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PlaybackDirection { Normal = 0 , Reverse = 1 , Alternate = 2 , AlternateReverse = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PlaybackDirection { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PlaybackDirection > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "normal" => Some ( PlaybackDirection :: Normal ) , "reverse" => Some ( PlaybackDirection :: Reverse ) , "alternate" => Some ( PlaybackDirection :: Alternate ) , "alternate-reverse" => Some ( PlaybackDirection :: AlternateReverse ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PlaybackDirection { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PlaybackDirection { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PlaybackDirection { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PlaybackDirection :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PlaybackDirection :: __Nonexhaustive ) } } impl From < PlaybackDirection > for :: wasm_bindgen :: JsValue { fn from ( obj : PlaybackDirection ) -> :: wasm_bindgen :: JsValue { match obj { PlaybackDirection :: Normal => :: wasm_bindgen :: JsValue :: from_str ( "normal" ) , PlaybackDirection :: Reverse => :: wasm_bindgen :: JsValue :: from_str ( "reverse" ) , PlaybackDirection :: Alternate => :: wasm_bindgen :: JsValue :: from_str ( "alternate" ) , PlaybackDirection :: AlternateReverse => :: wasm_bindgen :: JsValue :: from_str ( "alternate-reverse" ) , PlaybackDirection :: __Nonexhaustive => panic ! ( "attempted to convert invalid PlaybackDirection into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PositionAlignSetting { LineLeft = 0 , Center = 1 , LineRight = 2 , Auto = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PositionAlignSetting { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PositionAlignSetting > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "line-left" => Some ( PositionAlignSetting :: LineLeft ) , "center" => Some ( PositionAlignSetting :: Center ) , "line-right" => Some ( PositionAlignSetting :: LineRight ) , "auto" => Some ( PositionAlignSetting :: Auto ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PositionAlignSetting { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PositionAlignSetting { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PositionAlignSetting { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PositionAlignSetting :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PositionAlignSetting :: __Nonexhaustive ) } } impl From < PositionAlignSetting > for :: wasm_bindgen :: JsValue { fn from ( obj : PositionAlignSetting ) -> :: wasm_bindgen :: JsValue { match obj { PositionAlignSetting :: LineLeft => :: wasm_bindgen :: JsValue :: from_str ( "line-left" ) , PositionAlignSetting :: Center => :: wasm_bindgen :: JsValue :: from_str ( "center" ) , PositionAlignSetting :: LineRight => :: wasm_bindgen :: JsValue :: from_str ( "line-right" ) , PositionAlignSetting :: Auto => :: wasm_bindgen :: JsValue :: from_str ( "auto" ) , PositionAlignSetting :: __Nonexhaustive => panic ! ( "attempted to convert invalid PositionAlignSetting into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PresentationConnectionBinaryType { Blob = 0 , Arraybuffer = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PresentationConnectionBinaryType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PresentationConnectionBinaryType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "blob" => Some ( PresentationConnectionBinaryType :: Blob ) , "arraybuffer" => Some ( PresentationConnectionBinaryType :: Arraybuffer ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PresentationConnectionBinaryType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PresentationConnectionBinaryType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PresentationConnectionBinaryType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PresentationConnectionBinaryType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PresentationConnectionBinaryType :: __Nonexhaustive ) } } impl From < PresentationConnectionBinaryType > for :: wasm_bindgen :: JsValue { fn from ( obj : PresentationConnectionBinaryType ) -> :: wasm_bindgen :: JsValue { match obj { PresentationConnectionBinaryType :: Blob => :: wasm_bindgen :: JsValue :: from_str ( "blob" ) , PresentationConnectionBinaryType :: Arraybuffer => :: wasm_bindgen :: JsValue :: from_str ( "arraybuffer" ) , PresentationConnectionBinaryType :: __Nonexhaustive => panic ! ( "attempted to convert invalid PresentationConnectionBinaryType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PresentationConnectionClosedReason { Error = 0 , Closed = 1 , Wentaway = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PresentationConnectionClosedReason { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PresentationConnectionClosedReason > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "error" => Some ( PresentationConnectionClosedReason :: Error ) , "closed" => Some ( PresentationConnectionClosedReason :: Closed ) , "wentaway" => Some ( PresentationConnectionClosedReason :: Wentaway ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PresentationConnectionClosedReason { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PresentationConnectionClosedReason { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PresentationConnectionClosedReason { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PresentationConnectionClosedReason :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PresentationConnectionClosedReason :: __Nonexhaustive ) } } impl From < PresentationConnectionClosedReason > for :: wasm_bindgen :: JsValue { fn from ( obj : PresentationConnectionClosedReason ) -> :: wasm_bindgen :: JsValue { match obj { PresentationConnectionClosedReason :: Error => :: wasm_bindgen :: JsValue :: from_str ( "error" ) , PresentationConnectionClosedReason :: Closed => :: wasm_bindgen :: JsValue :: from_str ( "closed" ) , PresentationConnectionClosedReason :: Wentaway => :: wasm_bindgen :: JsValue :: from_str ( "wentaway" ) , PresentationConnectionClosedReason :: __Nonexhaustive => panic ! ( "attempted to convert invalid PresentationConnectionClosedReason into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PresentationConnectionState { Connecting = 0 , Connected = 1 , Closed = 2 , Terminated = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PresentationConnectionState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PresentationConnectionState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "connecting" => Some ( PresentationConnectionState :: Connecting ) , "connected" => Some ( PresentationConnectionState :: Connected ) , "closed" => Some ( PresentationConnectionState :: Closed ) , "terminated" => Some ( PresentationConnectionState :: Terminated ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PresentationConnectionState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PresentationConnectionState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PresentationConnectionState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PresentationConnectionState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PresentationConnectionState :: __Nonexhaustive ) } } impl From < PresentationConnectionState > for :: wasm_bindgen :: JsValue { fn from ( obj : PresentationConnectionState ) -> :: wasm_bindgen :: JsValue { match obj { PresentationConnectionState :: Connecting => :: wasm_bindgen :: JsValue :: from_str ( "connecting" ) , PresentationConnectionState :: Connected => :: wasm_bindgen :: JsValue :: from_str ( "connected" ) , PresentationConnectionState :: Closed => :: wasm_bindgen :: JsValue :: from_str ( "closed" ) , PresentationConnectionState :: Terminated => :: wasm_bindgen :: JsValue :: from_str ( "terminated" ) , PresentationConnectionState :: __Nonexhaustive => panic ! ( "attempted to convert invalid PresentationConnectionState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ProfileTimelineMessagePortOperationType { SerializeData = 0 , DeserializeData = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ProfileTimelineMessagePortOperationType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ProfileTimelineMessagePortOperationType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "serializeData" => Some ( ProfileTimelineMessagePortOperationType :: SerializeData ) , "deserializeData" => Some ( ProfileTimelineMessagePortOperationType :: DeserializeData ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ProfileTimelineMessagePortOperationType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ProfileTimelineMessagePortOperationType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ProfileTimelineMessagePortOperationType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ProfileTimelineMessagePortOperationType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ProfileTimelineMessagePortOperationType :: __Nonexhaustive ) } } impl From < ProfileTimelineMessagePortOperationType > for :: wasm_bindgen :: JsValue { fn from ( obj : ProfileTimelineMessagePortOperationType ) -> :: wasm_bindgen :: JsValue { match obj { ProfileTimelineMessagePortOperationType :: SerializeData => :: wasm_bindgen :: JsValue :: from_str ( "serializeData" ) , ProfileTimelineMessagePortOperationType :: DeserializeData => :: wasm_bindgen :: JsValue :: from_str ( "deserializeData" ) , ProfileTimelineMessagePortOperationType :: __Nonexhaustive => panic ! ( "attempted to convert invalid ProfileTimelineMessagePortOperationType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ProfileTimelineWorkerOperationType { SerializeDataOffMainThread = 0 , SerializeDataOnMainThread = 1 , DeserializeDataOffMainThread = 2 , DeserializeDataOnMainThread = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ProfileTimelineWorkerOperationType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ProfileTimelineWorkerOperationType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "serializeDataOffMainThread" => Some ( ProfileTimelineWorkerOperationType :: SerializeDataOffMainThread ) , "serializeDataOnMainThread" => Some ( ProfileTimelineWorkerOperationType :: SerializeDataOnMainThread ) , "deserializeDataOffMainThread" => Some ( ProfileTimelineWorkerOperationType :: DeserializeDataOffMainThread ) , "deserializeDataOnMainThread" => Some ( ProfileTimelineWorkerOperationType :: DeserializeDataOnMainThread ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ProfileTimelineWorkerOperationType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ProfileTimelineWorkerOperationType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ProfileTimelineWorkerOperationType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ProfileTimelineWorkerOperationType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ProfileTimelineWorkerOperationType :: __Nonexhaustive ) } } impl From < ProfileTimelineWorkerOperationType > for :: wasm_bindgen :: JsValue { fn from ( obj : ProfileTimelineWorkerOperationType ) -> :: wasm_bindgen :: JsValue { match obj { ProfileTimelineWorkerOperationType :: SerializeDataOffMainThread => :: wasm_bindgen :: JsValue :: from_str ( "serializeDataOffMainThread" ) , ProfileTimelineWorkerOperationType :: SerializeDataOnMainThread => :: wasm_bindgen :: JsValue :: from_str ( "serializeDataOnMainThread" ) , ProfileTimelineWorkerOperationType :: DeserializeDataOffMainThread => :: wasm_bindgen :: JsValue :: from_str ( "deserializeDataOffMainThread" ) , ProfileTimelineWorkerOperationType :: DeserializeDataOnMainThread => :: wasm_bindgen :: JsValue :: from_str ( "deserializeDataOnMainThread" ) , ProfileTimelineWorkerOperationType :: __Nonexhaustive => panic ! ( "attempted to convert invalid ProfileTimelineWorkerOperationType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PublicKeyCredentialType { PublicKey = 0 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PublicKeyCredentialType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PublicKeyCredentialType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "public-key" => Some ( PublicKeyCredentialType :: PublicKey ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PublicKeyCredentialType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PublicKeyCredentialType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PublicKeyCredentialType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PublicKeyCredentialType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PublicKeyCredentialType :: __Nonexhaustive ) } } impl From < PublicKeyCredentialType > for :: wasm_bindgen :: JsValue { fn from ( obj : PublicKeyCredentialType ) -> :: wasm_bindgen :: JsValue { match obj { PublicKeyCredentialType :: PublicKey => :: wasm_bindgen :: JsValue :: from_str ( "public-key" ) , PublicKeyCredentialType :: __Nonexhaustive => panic ! ( "attempted to convert invalid PublicKeyCredentialType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PushEncryptionKeyName { P256dh = 0 , Auth = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PushEncryptionKeyName { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PushEncryptionKeyName > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "p256dh" => Some ( PushEncryptionKeyName :: P256dh ) , "auth" => Some ( PushEncryptionKeyName :: Auth ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PushEncryptionKeyName { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PushEncryptionKeyName { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PushEncryptionKeyName { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PushEncryptionKeyName :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PushEncryptionKeyName :: __Nonexhaustive ) } } impl From < PushEncryptionKeyName > for :: wasm_bindgen :: JsValue { fn from ( obj : PushEncryptionKeyName ) -> :: wasm_bindgen :: JsValue { match obj { PushEncryptionKeyName :: P256dh => :: wasm_bindgen :: JsValue :: from_str ( "p256dh" ) , PushEncryptionKeyName :: Auth => :: wasm_bindgen :: JsValue :: from_str ( "auth" ) , PushEncryptionKeyName :: __Nonexhaustive => panic ! ( "attempted to convert invalid PushEncryptionKeyName into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum PushPermissionState { Granted = 0 , Denied = 1 , Prompt = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl PushPermissionState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < PushPermissionState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "granted" => Some ( PushPermissionState :: Granted ) , "denied" => Some ( PushPermissionState :: Denied ) , "prompt" => Some ( PushPermissionState :: Prompt ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for PushPermissionState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for PushPermissionState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for PushPermissionState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { PushPermissionState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( PushPermissionState :: __Nonexhaustive ) } } impl From < PushPermissionState > for :: wasm_bindgen :: JsValue { fn from ( obj : PushPermissionState ) -> :: wasm_bindgen :: JsValue { match obj { PushPermissionState :: Granted => :: wasm_bindgen :: JsValue :: from_str ( "granted" ) , PushPermissionState :: Denied => :: wasm_bindgen :: JsValue :: from_str ( "denied" ) , PushPermissionState :: Prompt => :: wasm_bindgen :: JsValue :: from_str ( "prompt" ) , PushPermissionState :: __Nonexhaustive => panic ! ( "attempted to convert invalid PushPermissionState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcBundlePolicy { Balanced = 0 , MaxCompat = 1 , MaxBundle = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcBundlePolicy { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcBundlePolicy > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "balanced" => Some ( RtcBundlePolicy :: Balanced ) , "max-compat" => Some ( RtcBundlePolicy :: MaxCompat ) , "max-bundle" => Some ( RtcBundlePolicy :: MaxBundle ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcBundlePolicy { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcBundlePolicy { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcBundlePolicy { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcBundlePolicy :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcBundlePolicy :: __Nonexhaustive ) } } impl From < RtcBundlePolicy > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcBundlePolicy ) -> :: wasm_bindgen :: JsValue { match obj { RtcBundlePolicy :: Balanced => :: wasm_bindgen :: JsValue :: from_str ( "balanced" ) , RtcBundlePolicy :: MaxCompat => :: wasm_bindgen :: JsValue :: from_str ( "max-compat" ) , RtcBundlePolicy :: MaxBundle => :: wasm_bindgen :: JsValue :: from_str ( "max-bundle" ) , RtcBundlePolicy :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcBundlePolicy into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcDataChannelState { Connecting = 0 , Open = 1 , Closing = 2 , Closed = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcDataChannelState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcDataChannelState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "connecting" => Some ( RtcDataChannelState :: Connecting ) , "open" => Some ( RtcDataChannelState :: Open ) , "closing" => Some ( RtcDataChannelState :: Closing ) , "closed" => Some ( RtcDataChannelState :: Closed ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcDataChannelState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcDataChannelState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcDataChannelState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcDataChannelState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcDataChannelState :: __Nonexhaustive ) } } impl From < RtcDataChannelState > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcDataChannelState ) -> :: wasm_bindgen :: JsValue { match obj { RtcDataChannelState :: Connecting => :: wasm_bindgen :: JsValue :: from_str ( "connecting" ) , RtcDataChannelState :: Open => :: wasm_bindgen :: JsValue :: from_str ( "open" ) , RtcDataChannelState :: Closing => :: wasm_bindgen :: JsValue :: from_str ( "closing" ) , RtcDataChannelState :: Closed => :: wasm_bindgen :: JsValue :: from_str ( "closed" ) , RtcDataChannelState :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcDataChannelState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcDataChannelType { Arraybuffer = 0 , Blob = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcDataChannelType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcDataChannelType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "arraybuffer" => Some ( RtcDataChannelType :: Arraybuffer ) , "blob" => Some ( RtcDataChannelType :: Blob ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcDataChannelType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcDataChannelType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcDataChannelType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcDataChannelType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcDataChannelType :: __Nonexhaustive ) } } impl From < RtcDataChannelType > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcDataChannelType ) -> :: wasm_bindgen :: JsValue { match obj { RtcDataChannelType :: Arraybuffer => :: wasm_bindgen :: JsValue :: from_str ( "arraybuffer" ) , RtcDataChannelType :: Blob => :: wasm_bindgen :: JsValue :: from_str ( "blob" ) , RtcDataChannelType :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcDataChannelType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcDegradationPreference { MaintainFramerate = 0 , MaintainResolution = 1 , Balanced = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcDegradationPreference { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcDegradationPreference > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "maintain-framerate" => Some ( RtcDegradationPreference :: MaintainFramerate ) , "maintain-resolution" => Some ( RtcDegradationPreference :: MaintainResolution ) , "balanced" => Some ( RtcDegradationPreference :: Balanced ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcDegradationPreference { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcDegradationPreference { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcDegradationPreference { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcDegradationPreference :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcDegradationPreference :: __Nonexhaustive ) } } impl From < RtcDegradationPreference > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcDegradationPreference ) -> :: wasm_bindgen :: JsValue { match obj { RtcDegradationPreference :: MaintainFramerate => :: wasm_bindgen :: JsValue :: from_str ( "maintain-framerate" ) , RtcDegradationPreference :: MaintainResolution => :: wasm_bindgen :: JsValue :: from_str ( "maintain-resolution" ) , RtcDegradationPreference :: Balanced => :: wasm_bindgen :: JsValue :: from_str ( "balanced" ) , RtcDegradationPreference :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcDegradationPreference into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcIceConnectionState { New = 0 , Checking = 1 , Connected = 2 , Completed = 3 , Failed = 4 , Disconnected = 5 , Closed = 6 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcIceConnectionState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcIceConnectionState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "new" => Some ( RtcIceConnectionState :: New ) , "checking" => Some ( RtcIceConnectionState :: Checking ) , "connected" => Some ( RtcIceConnectionState :: Connected ) , "completed" => Some ( RtcIceConnectionState :: Completed ) , "failed" => Some ( RtcIceConnectionState :: Failed ) , "disconnected" => Some ( RtcIceConnectionState :: Disconnected ) , "closed" => Some ( RtcIceConnectionState :: Closed ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcIceConnectionState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcIceConnectionState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcIceConnectionState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcIceConnectionState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcIceConnectionState :: __Nonexhaustive ) } } impl From < RtcIceConnectionState > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcIceConnectionState ) -> :: wasm_bindgen :: JsValue { match obj { RtcIceConnectionState :: New => :: wasm_bindgen :: JsValue :: from_str ( "new" ) , RtcIceConnectionState :: Checking => :: wasm_bindgen :: JsValue :: from_str ( "checking" ) , RtcIceConnectionState :: Connected => :: wasm_bindgen :: JsValue :: from_str ( "connected" ) , RtcIceConnectionState :: Completed => :: wasm_bindgen :: JsValue :: from_str ( "completed" ) , RtcIceConnectionState :: Failed => :: wasm_bindgen :: JsValue :: from_str ( "failed" ) , RtcIceConnectionState :: Disconnected => :: wasm_bindgen :: JsValue :: from_str ( "disconnected" ) , RtcIceConnectionState :: Closed => :: wasm_bindgen :: JsValue :: from_str ( "closed" ) , RtcIceConnectionState :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcIceConnectionState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcIceCredentialType { Password = 0 , Token = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcIceCredentialType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcIceCredentialType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "password" => Some ( RtcIceCredentialType :: Password ) , "token" => Some ( RtcIceCredentialType :: Token ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcIceCredentialType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcIceCredentialType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcIceCredentialType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcIceCredentialType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcIceCredentialType :: __Nonexhaustive ) } } impl From < RtcIceCredentialType > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcIceCredentialType ) -> :: wasm_bindgen :: JsValue { match obj { RtcIceCredentialType :: Password => :: wasm_bindgen :: JsValue :: from_str ( "password" ) , RtcIceCredentialType :: Token => :: wasm_bindgen :: JsValue :: from_str ( "token" ) , RtcIceCredentialType :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcIceCredentialType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcIceGatheringState { New = 0 , Gathering = 1 , Complete = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcIceGatheringState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcIceGatheringState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "new" => Some ( RtcIceGatheringState :: New ) , "gathering" => Some ( RtcIceGatheringState :: Gathering ) , "complete" => Some ( RtcIceGatheringState :: Complete ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcIceGatheringState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcIceGatheringState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcIceGatheringState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcIceGatheringState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcIceGatheringState :: __Nonexhaustive ) } } impl From < RtcIceGatheringState > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcIceGatheringState ) -> :: wasm_bindgen :: JsValue { match obj { RtcIceGatheringState :: New => :: wasm_bindgen :: JsValue :: from_str ( "new" ) , RtcIceGatheringState :: Gathering => :: wasm_bindgen :: JsValue :: from_str ( "gathering" ) , RtcIceGatheringState :: Complete => :: wasm_bindgen :: JsValue :: from_str ( "complete" ) , RtcIceGatheringState :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcIceGatheringState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcIceTransportPolicy { Relay = 0 , All = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcIceTransportPolicy { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcIceTransportPolicy > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "relay" => Some ( RtcIceTransportPolicy :: Relay ) , "all" => Some ( RtcIceTransportPolicy :: All ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcIceTransportPolicy { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcIceTransportPolicy { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcIceTransportPolicy { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcIceTransportPolicy :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcIceTransportPolicy :: __Nonexhaustive ) } } impl From < RtcIceTransportPolicy > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcIceTransportPolicy ) -> :: wasm_bindgen :: JsValue { match obj { RtcIceTransportPolicy :: Relay => :: wasm_bindgen :: JsValue :: from_str ( "relay" ) , RtcIceTransportPolicy :: All => :: wasm_bindgen :: JsValue :: from_str ( "all" ) , RtcIceTransportPolicy :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcIceTransportPolicy into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcLifecycleEvent { Initialized = 0 , Icegatheringstatechange = 1 , Iceconnectionstatechange = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcLifecycleEvent { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcLifecycleEvent > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "initialized" => Some ( RtcLifecycleEvent :: Initialized ) , "icegatheringstatechange" => Some ( RtcLifecycleEvent :: Icegatheringstatechange ) , "iceconnectionstatechange" => Some ( RtcLifecycleEvent :: Iceconnectionstatechange ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcLifecycleEvent { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcLifecycleEvent { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcLifecycleEvent { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcLifecycleEvent :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcLifecycleEvent :: __Nonexhaustive ) } } impl From < RtcLifecycleEvent > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcLifecycleEvent ) -> :: wasm_bindgen :: JsValue { match obj { RtcLifecycleEvent :: Initialized => :: wasm_bindgen :: JsValue :: from_str ( "initialized" ) , RtcLifecycleEvent :: Icegatheringstatechange => :: wasm_bindgen :: JsValue :: from_str ( "icegatheringstatechange" ) , RtcLifecycleEvent :: Iceconnectionstatechange => :: wasm_bindgen :: JsValue :: from_str ( "iceconnectionstatechange" ) , RtcLifecycleEvent :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcLifecycleEvent into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcPriorityType { VeryLow = 0 , Low = 1 , Medium = 2 , High = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcPriorityType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcPriorityType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "very-low" => Some ( RtcPriorityType :: VeryLow ) , "low" => Some ( RtcPriorityType :: Low ) , "medium" => Some ( RtcPriorityType :: Medium ) , "high" => Some ( RtcPriorityType :: High ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcPriorityType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcPriorityType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcPriorityType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcPriorityType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcPriorityType :: __Nonexhaustive ) } } impl From < RtcPriorityType > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcPriorityType ) -> :: wasm_bindgen :: JsValue { match obj { RtcPriorityType :: VeryLow => :: wasm_bindgen :: JsValue :: from_str ( "very-low" ) , RtcPriorityType :: Low => :: wasm_bindgen :: JsValue :: from_str ( "low" ) , RtcPriorityType :: Medium => :: wasm_bindgen :: JsValue :: from_str ( "medium" ) , RtcPriorityType :: High => :: wasm_bindgen :: JsValue :: from_str ( "high" ) , RtcPriorityType :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcPriorityType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcRtpSourceEntryType { Contributing = 0 , Synchronization = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcRtpSourceEntryType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcRtpSourceEntryType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "contributing" => Some ( RtcRtpSourceEntryType :: Contributing ) , "synchronization" => Some ( RtcRtpSourceEntryType :: Synchronization ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcRtpSourceEntryType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcRtpSourceEntryType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcRtpSourceEntryType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcRtpSourceEntryType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcRtpSourceEntryType :: __Nonexhaustive ) } } impl From < RtcRtpSourceEntryType > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcRtpSourceEntryType ) -> :: wasm_bindgen :: JsValue { match obj { RtcRtpSourceEntryType :: Contributing => :: wasm_bindgen :: JsValue :: from_str ( "contributing" ) , RtcRtpSourceEntryType :: Synchronization => :: wasm_bindgen :: JsValue :: from_str ( "synchronization" ) , RtcRtpSourceEntryType :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcRtpSourceEntryType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcSdpType { Offer = 0 , Pranswer = 1 , Answer = 2 , Rollback = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcSdpType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcSdpType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "offer" => Some ( RtcSdpType :: Offer ) , "pranswer" => Some ( RtcSdpType :: Pranswer ) , "answer" => Some ( RtcSdpType :: Answer ) , "rollback" => Some ( RtcSdpType :: Rollback ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcSdpType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcSdpType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcSdpType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcSdpType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcSdpType :: __Nonexhaustive ) } } impl From < RtcSdpType > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcSdpType ) -> :: wasm_bindgen :: JsValue { match obj { RtcSdpType :: Offer => :: wasm_bindgen :: JsValue :: from_str ( "offer" ) , RtcSdpType :: Pranswer => :: wasm_bindgen :: JsValue :: from_str ( "pranswer" ) , RtcSdpType :: Answer => :: wasm_bindgen :: JsValue :: from_str ( "answer" ) , RtcSdpType :: Rollback => :: wasm_bindgen :: JsValue :: from_str ( "rollback" ) , RtcSdpType :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcSdpType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcSignalingState { Stable = 0 , HaveLocalOffer = 1 , HaveRemoteOffer = 2 , HaveLocalPranswer = 3 , HaveRemotePranswer = 4 , Closed = 5 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcSignalingState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcSignalingState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "stable" => Some ( RtcSignalingState :: Stable ) , "have-local-offer" => Some ( RtcSignalingState :: HaveLocalOffer ) , "have-remote-offer" => Some ( RtcSignalingState :: HaveRemoteOffer ) , "have-local-pranswer" => Some ( RtcSignalingState :: HaveLocalPranswer ) , "have-remote-pranswer" => Some ( RtcSignalingState :: HaveRemotePranswer ) , "closed" => Some ( RtcSignalingState :: Closed ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcSignalingState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcSignalingState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcSignalingState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcSignalingState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcSignalingState :: __Nonexhaustive ) } } impl From < RtcSignalingState > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcSignalingState ) -> :: wasm_bindgen :: JsValue { match obj { RtcSignalingState :: Stable => :: wasm_bindgen :: JsValue :: from_str ( "stable" ) , RtcSignalingState :: HaveLocalOffer => :: wasm_bindgen :: JsValue :: from_str ( "have-local-offer" ) , RtcSignalingState :: HaveRemoteOffer => :: wasm_bindgen :: JsValue :: from_str ( "have-remote-offer" ) , RtcSignalingState :: HaveLocalPranswer => :: wasm_bindgen :: JsValue :: from_str ( "have-local-pranswer" ) , RtcSignalingState :: HaveRemotePranswer => :: wasm_bindgen :: JsValue :: from_str ( "have-remote-pranswer" ) , RtcSignalingState :: Closed => :: wasm_bindgen :: JsValue :: from_str ( "closed" ) , RtcSignalingState :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcSignalingState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcStatsIceCandidatePairState { Frozen = 0 , Waiting = 1 , Inprogress = 2 , Failed = 3 , Succeeded = 4 , Cancelled = 5 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcStatsIceCandidatePairState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcStatsIceCandidatePairState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "frozen" => Some ( RtcStatsIceCandidatePairState :: Frozen ) , "waiting" => Some ( RtcStatsIceCandidatePairState :: Waiting ) , "inprogress" => Some ( RtcStatsIceCandidatePairState :: Inprogress ) , "failed" => Some ( RtcStatsIceCandidatePairState :: Failed ) , "succeeded" => Some ( RtcStatsIceCandidatePairState :: Succeeded ) , "cancelled" => Some ( RtcStatsIceCandidatePairState :: Cancelled ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcStatsIceCandidatePairState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcStatsIceCandidatePairState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcStatsIceCandidatePairState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcStatsIceCandidatePairState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcStatsIceCandidatePairState :: __Nonexhaustive ) } } impl From < RtcStatsIceCandidatePairState > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcStatsIceCandidatePairState ) -> :: wasm_bindgen :: JsValue { match obj { RtcStatsIceCandidatePairState :: Frozen => :: wasm_bindgen :: JsValue :: from_str ( "frozen" ) , RtcStatsIceCandidatePairState :: Waiting => :: wasm_bindgen :: JsValue :: from_str ( "waiting" ) , RtcStatsIceCandidatePairState :: Inprogress => :: wasm_bindgen :: JsValue :: from_str ( "inprogress" ) , RtcStatsIceCandidatePairState :: Failed => :: wasm_bindgen :: JsValue :: from_str ( "failed" ) , RtcStatsIceCandidatePairState :: Succeeded => :: wasm_bindgen :: JsValue :: from_str ( "succeeded" ) , RtcStatsIceCandidatePairState :: Cancelled => :: wasm_bindgen :: JsValue :: from_str ( "cancelled" ) , RtcStatsIceCandidatePairState :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcStatsIceCandidatePairState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcStatsIceCandidateType { Host = 0 , Serverreflexive = 1 , Peerreflexive = 2 , Relayed = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcStatsIceCandidateType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcStatsIceCandidateType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "host" => Some ( RtcStatsIceCandidateType :: Host ) , "serverreflexive" => Some ( RtcStatsIceCandidateType :: Serverreflexive ) , "peerreflexive" => Some ( RtcStatsIceCandidateType :: Peerreflexive ) , "relayed" => Some ( RtcStatsIceCandidateType :: Relayed ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcStatsIceCandidateType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcStatsIceCandidateType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcStatsIceCandidateType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcStatsIceCandidateType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcStatsIceCandidateType :: __Nonexhaustive ) } } impl From < RtcStatsIceCandidateType > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcStatsIceCandidateType ) -> :: wasm_bindgen :: JsValue { match obj { RtcStatsIceCandidateType :: Host => :: wasm_bindgen :: JsValue :: from_str ( "host" ) , RtcStatsIceCandidateType :: Serverreflexive => :: wasm_bindgen :: JsValue :: from_str ( "serverreflexive" ) , RtcStatsIceCandidateType :: Peerreflexive => :: wasm_bindgen :: JsValue :: from_str ( "peerreflexive" ) , RtcStatsIceCandidateType :: Relayed => :: wasm_bindgen :: JsValue :: from_str ( "relayed" ) , RtcStatsIceCandidateType :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcStatsIceCandidateType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RtcStatsType { InboundRtp = 0 , OutboundRtp = 1 , Csrc = 2 , Session = 3 , Track = 4 , Transport = 5 , CandidatePair = 6 , LocalCandidate = 7 , RemoteCandidate = 8 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RtcStatsType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RtcStatsType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "inbound-rtp" => Some ( RtcStatsType :: InboundRtp ) , "outbound-rtp" => Some ( RtcStatsType :: OutboundRtp ) , "csrc" => Some ( RtcStatsType :: Csrc ) , "session" => Some ( RtcStatsType :: Session ) , "track" => Some ( RtcStatsType :: Track ) , "transport" => Some ( RtcStatsType :: Transport ) , "candidate-pair" => Some ( RtcStatsType :: CandidatePair ) , "local-candidate" => Some ( RtcStatsType :: LocalCandidate ) , "remote-candidate" => Some ( RtcStatsType :: RemoteCandidate ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RtcStatsType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RtcStatsType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RtcStatsType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RtcStatsType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RtcStatsType :: __Nonexhaustive ) } } impl From < RtcStatsType > for :: wasm_bindgen :: JsValue { fn from ( obj : RtcStatsType ) -> :: wasm_bindgen :: JsValue { match obj { RtcStatsType :: InboundRtp => :: wasm_bindgen :: JsValue :: from_str ( "inbound-rtp" ) , RtcStatsType :: OutboundRtp => :: wasm_bindgen :: JsValue :: from_str ( "outbound-rtp" ) , RtcStatsType :: Csrc => :: wasm_bindgen :: JsValue :: from_str ( "csrc" ) , RtcStatsType :: Session => :: wasm_bindgen :: JsValue :: from_str ( "session" ) , RtcStatsType :: Track => :: wasm_bindgen :: JsValue :: from_str ( "track" ) , RtcStatsType :: Transport => :: wasm_bindgen :: JsValue :: from_str ( "transport" ) , RtcStatsType :: CandidatePair => :: wasm_bindgen :: JsValue :: from_str ( "candidate-pair" ) , RtcStatsType :: LocalCandidate => :: wasm_bindgen :: JsValue :: from_str ( "local-candidate" ) , RtcStatsType :: RemoteCandidate => :: wasm_bindgen :: JsValue :: from_str ( "remote-candidate" ) , RtcStatsType :: __Nonexhaustive => panic ! ( "attempted to convert invalid RtcStatsType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RecordingState { Inactive = 0 , Recording = 1 , Paused = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RecordingState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RecordingState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "inactive" => Some ( RecordingState :: Inactive ) , "recording" => Some ( RecordingState :: Recording ) , "paused" => Some ( RecordingState :: Paused ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RecordingState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RecordingState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RecordingState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RecordingState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RecordingState :: __Nonexhaustive ) } } impl From < RecordingState > for :: wasm_bindgen :: JsValue { fn from ( obj : RecordingState ) -> :: wasm_bindgen :: JsValue { match obj { RecordingState :: Inactive => :: wasm_bindgen :: JsValue :: from_str ( "inactive" ) , RecordingState :: Recording => :: wasm_bindgen :: JsValue :: from_str ( "recording" ) , RecordingState :: Paused => :: wasm_bindgen :: JsValue :: from_str ( "paused" ) , RecordingState :: __Nonexhaustive => panic ! ( "attempted to convert invalid RecordingState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ReferrerPolicy { None = 0 , NoReferrer = 1 , NoReferrerWhenDowngrade = 2 , Origin = 3 , OriginWhenCrossOrigin = 4 , UnsafeUrl = 5 , SameOrigin = 6 , StrictOrigin = 7 , StrictOriginWhenCrossOrigin = 8 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ReferrerPolicy { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ReferrerPolicy > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "" => Some ( ReferrerPolicy :: None ) , "no-referrer" => Some ( ReferrerPolicy :: NoReferrer ) , "no-referrer-when-downgrade" => Some ( ReferrerPolicy :: NoReferrerWhenDowngrade ) , "origin" => Some ( ReferrerPolicy :: Origin ) , "origin-when-cross-origin" => Some ( ReferrerPolicy :: OriginWhenCrossOrigin ) , "unsafe-url" => Some ( ReferrerPolicy :: UnsafeUrl ) , "same-origin" => Some ( ReferrerPolicy :: SameOrigin ) , "strict-origin" => Some ( ReferrerPolicy :: StrictOrigin ) , "strict-origin-when-cross-origin" => Some ( ReferrerPolicy :: StrictOriginWhenCrossOrigin ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ReferrerPolicy { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ReferrerPolicy { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ReferrerPolicy { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ReferrerPolicy :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ReferrerPolicy :: __Nonexhaustive ) } } impl From < ReferrerPolicy > for :: wasm_bindgen :: JsValue { fn from ( obj : ReferrerPolicy ) -> :: wasm_bindgen :: JsValue { match obj { ReferrerPolicy :: None => :: wasm_bindgen :: JsValue :: from_str ( "" ) , ReferrerPolicy :: NoReferrer => :: wasm_bindgen :: JsValue :: from_str ( "no-referrer" ) , ReferrerPolicy :: NoReferrerWhenDowngrade => :: wasm_bindgen :: JsValue :: from_str ( "no-referrer-when-downgrade" ) , ReferrerPolicy :: Origin => :: wasm_bindgen :: JsValue :: from_str ( "origin" ) , ReferrerPolicy :: OriginWhenCrossOrigin => :: wasm_bindgen :: JsValue :: from_str ( "origin-when-cross-origin" ) , ReferrerPolicy :: UnsafeUrl => :: wasm_bindgen :: JsValue :: from_str ( "unsafe-url" ) , ReferrerPolicy :: SameOrigin => :: wasm_bindgen :: JsValue :: from_str ( "same-origin" ) , ReferrerPolicy :: StrictOrigin => :: wasm_bindgen :: JsValue :: from_str ( "strict-origin" ) , ReferrerPolicy :: StrictOriginWhenCrossOrigin => :: wasm_bindgen :: JsValue :: from_str ( "strict-origin-when-cross-origin" ) , ReferrerPolicy :: __Nonexhaustive => panic ! ( "attempted to convert invalid ReferrerPolicy into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RequestCache { Default = 0 , NoStore = 1 , Reload = 2 , NoCache = 3 , ForceCache = 4 , OnlyIfCached = 5 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RequestCache { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RequestCache > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "default" => Some ( RequestCache :: Default ) , "no-store" => Some ( RequestCache :: NoStore ) , "reload" => Some ( RequestCache :: Reload ) , "no-cache" => Some ( RequestCache :: NoCache ) , "force-cache" => Some ( RequestCache :: ForceCache ) , "only-if-cached" => Some ( RequestCache :: OnlyIfCached ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RequestCache { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RequestCache { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RequestCache { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RequestCache :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RequestCache :: __Nonexhaustive ) } } impl From < RequestCache > for :: wasm_bindgen :: JsValue { fn from ( obj : RequestCache ) -> :: wasm_bindgen :: JsValue { match obj { RequestCache :: Default => :: wasm_bindgen :: JsValue :: from_str ( "default" ) , RequestCache :: NoStore => :: wasm_bindgen :: JsValue :: from_str ( "no-store" ) , RequestCache :: Reload => :: wasm_bindgen :: JsValue :: from_str ( "reload" ) , RequestCache :: NoCache => :: wasm_bindgen :: JsValue :: from_str ( "no-cache" ) , RequestCache :: ForceCache => :: wasm_bindgen :: JsValue :: from_str ( "force-cache" ) , RequestCache :: OnlyIfCached => :: wasm_bindgen :: JsValue :: from_str ( "only-if-cached" ) , RequestCache :: __Nonexhaustive => panic ! ( "attempted to convert invalid RequestCache into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RequestCredentials { Omit = 0 , SameOrigin = 1 , Include = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RequestCredentials { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RequestCredentials > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "omit" => Some ( RequestCredentials :: Omit ) , "same-origin" => Some ( RequestCredentials :: SameOrigin ) , "include" => Some ( RequestCredentials :: Include ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RequestCredentials { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RequestCredentials { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RequestCredentials { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RequestCredentials :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RequestCredentials :: __Nonexhaustive ) } } impl From < RequestCredentials > for :: wasm_bindgen :: JsValue { fn from ( obj : RequestCredentials ) -> :: wasm_bindgen :: JsValue { match obj { RequestCredentials :: Omit => :: wasm_bindgen :: JsValue :: from_str ( "omit" ) , RequestCredentials :: SameOrigin => :: wasm_bindgen :: JsValue :: from_str ( "same-origin" ) , RequestCredentials :: Include => :: wasm_bindgen :: JsValue :: from_str ( "include" ) , RequestCredentials :: __Nonexhaustive => panic ! ( "attempted to convert invalid RequestCredentials into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RequestDestination { None = 0 , Audio = 1 , Audioworklet = 2 , Document = 3 , Embed = 4 , Font = 5 , Image = 6 , Manifest = 7 , Object = 8 , Paintworklet = 9 , Report = 10 , Script = 11 , Sharedworker = 12 , Style = 13 , Track = 14 , Video = 15 , Worker = 16 , Xslt = 17 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RequestDestination { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RequestDestination > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "" => Some ( RequestDestination :: None ) , "audio" => Some ( RequestDestination :: Audio ) , "audioworklet" => Some ( RequestDestination :: Audioworklet ) , "document" => Some ( RequestDestination :: Document ) , "embed" => Some ( RequestDestination :: Embed ) , "font" => Some ( RequestDestination :: Font ) , "image" => Some ( RequestDestination :: Image ) , "manifest" => Some ( RequestDestination :: Manifest ) , "object" => Some ( RequestDestination :: Object ) , "paintworklet" => Some ( RequestDestination :: Paintworklet ) , "report" => Some ( RequestDestination :: Report ) , "script" => Some ( RequestDestination :: Script ) , "sharedworker" => Some ( RequestDestination :: Sharedworker ) , "style" => Some ( RequestDestination :: Style ) , "track" => Some ( RequestDestination :: Track ) , "video" => Some ( RequestDestination :: Video ) , "worker" => Some ( RequestDestination :: Worker ) , "xslt" => Some ( RequestDestination :: Xslt ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RequestDestination { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RequestDestination { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RequestDestination { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RequestDestination :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RequestDestination :: __Nonexhaustive ) } } impl From < RequestDestination > for :: wasm_bindgen :: JsValue { fn from ( obj : RequestDestination ) -> :: wasm_bindgen :: JsValue { match obj { RequestDestination :: None => :: wasm_bindgen :: JsValue :: from_str ( "" ) , RequestDestination :: Audio => :: wasm_bindgen :: JsValue :: from_str ( "audio" ) , RequestDestination :: Audioworklet => :: wasm_bindgen :: JsValue :: from_str ( "audioworklet" ) , RequestDestination :: Document => :: wasm_bindgen :: JsValue :: from_str ( "document" ) , RequestDestination :: Embed => :: wasm_bindgen :: JsValue :: from_str ( "embed" ) , RequestDestination :: Font => :: wasm_bindgen :: JsValue :: from_str ( "font" ) , RequestDestination :: Image => :: wasm_bindgen :: JsValue :: from_str ( "image" ) , RequestDestination :: Manifest => :: wasm_bindgen :: JsValue :: from_str ( "manifest" ) , RequestDestination :: Object => :: wasm_bindgen :: JsValue :: from_str ( "object" ) , RequestDestination :: Paintworklet => :: wasm_bindgen :: JsValue :: from_str ( "paintworklet" ) , RequestDestination :: Report => :: wasm_bindgen :: JsValue :: from_str ( "report" ) , RequestDestination :: Script => :: wasm_bindgen :: JsValue :: from_str ( "script" ) , RequestDestination :: Sharedworker => :: wasm_bindgen :: JsValue :: from_str ( "sharedworker" ) , RequestDestination :: Style => :: wasm_bindgen :: JsValue :: from_str ( "style" ) , RequestDestination :: Track => :: wasm_bindgen :: JsValue :: from_str ( "track" ) , RequestDestination :: Video => :: wasm_bindgen :: JsValue :: from_str ( "video" ) , RequestDestination :: Worker => :: wasm_bindgen :: JsValue :: from_str ( "worker" ) , RequestDestination :: Xslt => :: wasm_bindgen :: JsValue :: from_str ( "xslt" ) , RequestDestination :: __Nonexhaustive => panic ! ( "attempted to convert invalid RequestDestination into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RequestMode { SameOrigin = 0 , NoCors = 1 , Cors = 2 , Navigate = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RequestMode { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RequestMode > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "same-origin" => Some ( RequestMode :: SameOrigin ) , "no-cors" => Some ( RequestMode :: NoCors ) , "cors" => Some ( RequestMode :: Cors ) , "navigate" => Some ( RequestMode :: Navigate ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RequestMode { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RequestMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RequestMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RequestMode :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RequestMode :: __Nonexhaustive ) } } impl From < RequestMode > for :: wasm_bindgen :: JsValue { fn from ( obj : RequestMode ) -> :: wasm_bindgen :: JsValue { match obj { RequestMode :: SameOrigin => :: wasm_bindgen :: JsValue :: from_str ( "same-origin" ) , RequestMode :: NoCors => :: wasm_bindgen :: JsValue :: from_str ( "no-cors" ) , RequestMode :: Cors => :: wasm_bindgen :: JsValue :: from_str ( "cors" ) , RequestMode :: Navigate => :: wasm_bindgen :: JsValue :: from_str ( "navigate" ) , RequestMode :: __Nonexhaustive => panic ! ( "attempted to convert invalid RequestMode into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum RequestRedirect { Follow = 0 , Error = 1 , Manual = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl RequestRedirect { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < RequestRedirect > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "follow" => Some ( RequestRedirect :: Follow ) , "error" => Some ( RequestRedirect :: Error ) , "manual" => Some ( RequestRedirect :: Manual ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for RequestRedirect { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for RequestRedirect { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for RequestRedirect { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { RequestRedirect :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( RequestRedirect :: __Nonexhaustive ) } } impl From < RequestRedirect > for :: wasm_bindgen :: JsValue { fn from ( obj : RequestRedirect ) -> :: wasm_bindgen :: JsValue { match obj { RequestRedirect :: Follow => :: wasm_bindgen :: JsValue :: from_str ( "follow" ) , RequestRedirect :: Error => :: wasm_bindgen :: JsValue :: from_str ( "error" ) , RequestRedirect :: Manual => :: wasm_bindgen :: JsValue :: from_str ( "manual" ) , RequestRedirect :: __Nonexhaustive => panic ! ( "attempted to convert invalid RequestRedirect into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ResponseType { Basic = 0 , Cors = 1 , Default = 2 , Error = 3 , Opaque = 4 , Opaqueredirect = 5 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ResponseType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ResponseType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "basic" => Some ( ResponseType :: Basic ) , "cors" => Some ( ResponseType :: Cors ) , "default" => Some ( ResponseType :: Default ) , "error" => Some ( ResponseType :: Error ) , "opaque" => Some ( ResponseType :: Opaque ) , "opaqueredirect" => Some ( ResponseType :: Opaqueredirect ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ResponseType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ResponseType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ResponseType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ResponseType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ResponseType :: __Nonexhaustive ) } } impl From < ResponseType > for :: wasm_bindgen :: JsValue { fn from ( obj : ResponseType ) -> :: wasm_bindgen :: JsValue { match obj { ResponseType :: Basic => :: wasm_bindgen :: JsValue :: from_str ( "basic" ) , ResponseType :: Cors => :: wasm_bindgen :: JsValue :: from_str ( "cors" ) , ResponseType :: Default => :: wasm_bindgen :: JsValue :: from_str ( "default" ) , ResponseType :: Error => :: wasm_bindgen :: JsValue :: from_str ( "error" ) , ResponseType :: Opaque => :: wasm_bindgen :: JsValue :: from_str ( "opaque" ) , ResponseType :: Opaqueredirect => :: wasm_bindgen :: JsValue :: from_str ( "opaqueredirect" ) , ResponseType :: __Nonexhaustive => panic ! ( "attempted to convert invalid ResponseType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ScreenColorGamut { Srgb = 0 , P3 = 1 , Rec2020 = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ScreenColorGamut { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ScreenColorGamut > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "srgb" => Some ( ScreenColorGamut :: Srgb ) , "p3" => Some ( ScreenColorGamut :: P3 ) , "rec2020" => Some ( ScreenColorGamut :: Rec2020 ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ScreenColorGamut { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ScreenColorGamut { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ScreenColorGamut { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ScreenColorGamut :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ScreenColorGamut :: __Nonexhaustive ) } } impl From < ScreenColorGamut > for :: wasm_bindgen :: JsValue { fn from ( obj : ScreenColorGamut ) -> :: wasm_bindgen :: JsValue { match obj { ScreenColorGamut :: Srgb => :: wasm_bindgen :: JsValue :: from_str ( "srgb" ) , ScreenColorGamut :: P3 => :: wasm_bindgen :: JsValue :: from_str ( "p3" ) , ScreenColorGamut :: Rec2020 => :: wasm_bindgen :: JsValue :: from_str ( "rec2020" ) , ScreenColorGamut :: __Nonexhaustive => panic ! ( "attempted to convert invalid ScreenColorGamut into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ScrollBehavior { Auto = 0 , Instant = 1 , Smooth = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ScrollBehavior { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ScrollBehavior > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "auto" => Some ( ScrollBehavior :: Auto ) , "instant" => Some ( ScrollBehavior :: Instant ) , "smooth" => Some ( ScrollBehavior :: Smooth ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ScrollBehavior { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ScrollBehavior { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ScrollBehavior { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ScrollBehavior :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ScrollBehavior :: __Nonexhaustive ) } } impl From < ScrollBehavior > for :: wasm_bindgen :: JsValue { fn from ( obj : ScrollBehavior ) -> :: wasm_bindgen :: JsValue { match obj { ScrollBehavior :: Auto => :: wasm_bindgen :: JsValue :: from_str ( "auto" ) , ScrollBehavior :: Instant => :: wasm_bindgen :: JsValue :: from_str ( "instant" ) , ScrollBehavior :: Smooth => :: wasm_bindgen :: JsValue :: from_str ( "smooth" ) , ScrollBehavior :: __Nonexhaustive => panic ! ( "attempted to convert invalid ScrollBehavior into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ScrollLogicalPosition { Start = 0 , Center = 1 , End = 2 , Nearest = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ScrollLogicalPosition { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ScrollLogicalPosition > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "start" => Some ( ScrollLogicalPosition :: Start ) , "center" => Some ( ScrollLogicalPosition :: Center ) , "end" => Some ( ScrollLogicalPosition :: End ) , "nearest" => Some ( ScrollLogicalPosition :: Nearest ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ScrollLogicalPosition { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ScrollLogicalPosition { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ScrollLogicalPosition { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ScrollLogicalPosition :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ScrollLogicalPosition :: __Nonexhaustive ) } } impl From < ScrollLogicalPosition > for :: wasm_bindgen :: JsValue { fn from ( obj : ScrollLogicalPosition ) -> :: wasm_bindgen :: JsValue { match obj { ScrollLogicalPosition :: Start => :: wasm_bindgen :: JsValue :: from_str ( "start" ) , ScrollLogicalPosition :: Center => :: wasm_bindgen :: JsValue :: from_str ( "center" ) , ScrollLogicalPosition :: End => :: wasm_bindgen :: JsValue :: from_str ( "end" ) , ScrollLogicalPosition :: Nearest => :: wasm_bindgen :: JsValue :: from_str ( "nearest" ) , ScrollLogicalPosition :: __Nonexhaustive => panic ! ( "attempted to convert invalid ScrollLogicalPosition into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ScrollRestoration { Auto = 0 , Manual = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ScrollRestoration { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ScrollRestoration > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "auto" => Some ( ScrollRestoration :: Auto ) , "manual" => Some ( ScrollRestoration :: Manual ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ScrollRestoration { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ScrollRestoration { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ScrollRestoration { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ScrollRestoration :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ScrollRestoration :: __Nonexhaustive ) } } impl From < ScrollRestoration > for :: wasm_bindgen :: JsValue { fn from ( obj : ScrollRestoration ) -> :: wasm_bindgen :: JsValue { match obj { ScrollRestoration :: Auto => :: wasm_bindgen :: JsValue :: from_str ( "auto" ) , ScrollRestoration :: Manual => :: wasm_bindgen :: JsValue :: from_str ( "manual" ) , ScrollRestoration :: __Nonexhaustive => panic ! ( "attempted to convert invalid ScrollRestoration into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ScrollSetting { None = 0 , Up = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ScrollSetting { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ScrollSetting > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "" => Some ( ScrollSetting :: None ) , "up" => Some ( ScrollSetting :: Up ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ScrollSetting { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ScrollSetting { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ScrollSetting { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ScrollSetting :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ScrollSetting :: __Nonexhaustive ) } } impl From < ScrollSetting > for :: wasm_bindgen :: JsValue { fn from ( obj : ScrollSetting ) -> :: wasm_bindgen :: JsValue { match obj { ScrollSetting :: None => :: wasm_bindgen :: JsValue :: from_str ( "" ) , ScrollSetting :: Up => :: wasm_bindgen :: JsValue :: from_str ( "up" ) , ScrollSetting :: __Nonexhaustive => panic ! ( "attempted to convert invalid ScrollSetting into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ScrollState { Started = 0 , Stopped = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ScrollState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ScrollState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "started" => Some ( ScrollState :: Started ) , "stopped" => Some ( ScrollState :: Stopped ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ScrollState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ScrollState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ScrollState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ScrollState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ScrollState :: __Nonexhaustive ) } } impl From < ScrollState > for :: wasm_bindgen :: JsValue { fn from ( obj : ScrollState ) -> :: wasm_bindgen :: JsValue { match obj { ScrollState :: Started => :: wasm_bindgen :: JsValue :: from_str ( "started" ) , ScrollState :: Stopped => :: wasm_bindgen :: JsValue :: from_str ( "stopped" ) , ScrollState :: __Nonexhaustive => panic ! ( "attempted to convert invalid ScrollState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum SecurityPolicyViolationEventDisposition { Enforce = 0 , Report = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl SecurityPolicyViolationEventDisposition { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < SecurityPolicyViolationEventDisposition > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "enforce" => Some ( SecurityPolicyViolationEventDisposition :: Enforce ) , "report" => Some ( SecurityPolicyViolationEventDisposition :: Report ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for SecurityPolicyViolationEventDisposition { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for SecurityPolicyViolationEventDisposition { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for SecurityPolicyViolationEventDisposition { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { SecurityPolicyViolationEventDisposition :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( SecurityPolicyViolationEventDisposition :: __Nonexhaustive ) } } impl From < SecurityPolicyViolationEventDisposition > for :: wasm_bindgen :: JsValue { fn from ( obj : SecurityPolicyViolationEventDisposition ) -> :: wasm_bindgen :: JsValue { match obj { SecurityPolicyViolationEventDisposition :: Enforce => :: wasm_bindgen :: JsValue :: from_str ( "enforce" ) , SecurityPolicyViolationEventDisposition :: Report => :: wasm_bindgen :: JsValue :: from_str ( "report" ) , SecurityPolicyViolationEventDisposition :: __Nonexhaustive => panic ! ( "attempted to convert invalid SecurityPolicyViolationEventDisposition into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ServiceWorkerState { Parsed = 0 , Installing = 1 , Installed = 2 , Activating = 3 , Activated = 4 , Redundant = 5 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ServiceWorkerState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ServiceWorkerState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "parsed" => Some ( ServiceWorkerState :: Parsed ) , "installing" => Some ( ServiceWorkerState :: Installing ) , "installed" => Some ( ServiceWorkerState :: Installed ) , "activating" => Some ( ServiceWorkerState :: Activating ) , "activated" => Some ( ServiceWorkerState :: Activated ) , "redundant" => Some ( ServiceWorkerState :: Redundant ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ServiceWorkerState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ServiceWorkerState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ServiceWorkerState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ServiceWorkerState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ServiceWorkerState :: __Nonexhaustive ) } } impl From < ServiceWorkerState > for :: wasm_bindgen :: JsValue { fn from ( obj : ServiceWorkerState ) -> :: wasm_bindgen :: JsValue { match obj { ServiceWorkerState :: Parsed => :: wasm_bindgen :: JsValue :: from_str ( "parsed" ) , ServiceWorkerState :: Installing => :: wasm_bindgen :: JsValue :: from_str ( "installing" ) , ServiceWorkerState :: Installed => :: wasm_bindgen :: JsValue :: from_str ( "installed" ) , ServiceWorkerState :: Activating => :: wasm_bindgen :: JsValue :: from_str ( "activating" ) , ServiceWorkerState :: Activated => :: wasm_bindgen :: JsValue :: from_str ( "activated" ) , ServiceWorkerState :: Redundant => :: wasm_bindgen :: JsValue :: from_str ( "redundant" ) , ServiceWorkerState :: __Nonexhaustive => panic ! ( "attempted to convert invalid ServiceWorkerState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ServiceWorkerUpdateViaCache { Imports = 0 , All = 1 , None = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ServiceWorkerUpdateViaCache { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ServiceWorkerUpdateViaCache > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "imports" => Some ( ServiceWorkerUpdateViaCache :: Imports ) , "all" => Some ( ServiceWorkerUpdateViaCache :: All ) , "none" => Some ( ServiceWorkerUpdateViaCache :: None ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ServiceWorkerUpdateViaCache { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ServiceWorkerUpdateViaCache { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ServiceWorkerUpdateViaCache { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ServiceWorkerUpdateViaCache :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ServiceWorkerUpdateViaCache :: __Nonexhaustive ) } } impl From < ServiceWorkerUpdateViaCache > for :: wasm_bindgen :: JsValue { fn from ( obj : ServiceWorkerUpdateViaCache ) -> :: wasm_bindgen :: JsValue { match obj { ServiceWorkerUpdateViaCache :: Imports => :: wasm_bindgen :: JsValue :: from_str ( "imports" ) , ServiceWorkerUpdateViaCache :: All => :: wasm_bindgen :: JsValue :: from_str ( "all" ) , ServiceWorkerUpdateViaCache :: None => :: wasm_bindgen :: JsValue :: from_str ( "none" ) , ServiceWorkerUpdateViaCache :: __Nonexhaustive => panic ! ( "attempted to convert invalid ServiceWorkerUpdateViaCache into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum ShadowRootMode { Open = 0 , Closed = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl ShadowRootMode { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < ShadowRootMode > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "open" => Some ( ShadowRootMode :: Open ) , "closed" => Some ( ShadowRootMode :: Closed ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for ShadowRootMode { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for ShadowRootMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for ShadowRootMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { ShadowRootMode :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( ShadowRootMode :: __Nonexhaustive ) } } impl From < ShadowRootMode > for :: wasm_bindgen :: JsValue { fn from ( obj : ShadowRootMode ) -> :: wasm_bindgen :: JsValue { match obj { ShadowRootMode :: Open => :: wasm_bindgen :: JsValue :: from_str ( "open" ) , ShadowRootMode :: Closed => :: wasm_bindgen :: JsValue :: from_str ( "closed" ) , ShadowRootMode :: __Nonexhaustive => panic ! ( "attempted to convert invalid ShadowRootMode into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum SocketReadyState { Opening = 0 , Open = 1 , Closing = 2 , Closed = 3 , Halfclosed = 4 , # [ doc ( hidden ) ] __Nonexhaustive , } impl SocketReadyState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < SocketReadyState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "opening" => Some ( SocketReadyState :: Opening ) , "open" => Some ( SocketReadyState :: Open ) , "closing" => Some ( SocketReadyState :: Closing ) , "closed" => Some ( SocketReadyState :: Closed ) , "halfclosed" => Some ( SocketReadyState :: Halfclosed ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for SocketReadyState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for SocketReadyState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for SocketReadyState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { SocketReadyState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( SocketReadyState :: __Nonexhaustive ) } } impl From < SocketReadyState > for :: wasm_bindgen :: JsValue { fn from ( obj : SocketReadyState ) -> :: wasm_bindgen :: JsValue { match obj { SocketReadyState :: Opening => :: wasm_bindgen :: JsValue :: from_str ( "opening" ) , SocketReadyState :: Open => :: wasm_bindgen :: JsValue :: from_str ( "open" ) , SocketReadyState :: Closing => :: wasm_bindgen :: JsValue :: from_str ( "closing" ) , SocketReadyState :: Closed => :: wasm_bindgen :: JsValue :: from_str ( "closed" ) , SocketReadyState :: Halfclosed => :: wasm_bindgen :: JsValue :: from_str ( "halfclosed" ) , SocketReadyState :: __Nonexhaustive => panic ! ( "attempted to convert invalid SocketReadyState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum SourceBufferAppendMode { Segments = 0 , Sequence = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl SourceBufferAppendMode { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < SourceBufferAppendMode > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "segments" => Some ( SourceBufferAppendMode :: Segments ) , "sequence" => Some ( SourceBufferAppendMode :: Sequence ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for SourceBufferAppendMode { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for SourceBufferAppendMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for SourceBufferAppendMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { SourceBufferAppendMode :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( SourceBufferAppendMode :: __Nonexhaustive ) } } impl From < SourceBufferAppendMode > for :: wasm_bindgen :: JsValue { fn from ( obj : SourceBufferAppendMode ) -> :: wasm_bindgen :: JsValue { match obj { SourceBufferAppendMode :: Segments => :: wasm_bindgen :: JsValue :: from_str ( "segments" ) , SourceBufferAppendMode :: Sequence => :: wasm_bindgen :: JsValue :: from_str ( "sequence" ) , SourceBufferAppendMode :: __Nonexhaustive => panic ! ( "attempted to convert invalid SourceBufferAppendMode into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum SpeechRecognitionErrorCode { NoSpeech = 0 , Aborted = 1 , AudioCapture = 2 , Network = 3 , NotAllowed = 4 , ServiceNotAllowed = 5 , BadGrammar = 6 , LanguageNotSupported = 7 , # [ doc ( hidden ) ] __Nonexhaustive , } impl SpeechRecognitionErrorCode { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < SpeechRecognitionErrorCode > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "no-speech" => Some ( SpeechRecognitionErrorCode :: NoSpeech ) , "aborted" => Some ( SpeechRecognitionErrorCode :: Aborted ) , "audio-capture" => Some ( SpeechRecognitionErrorCode :: AudioCapture ) , "network" => Some ( SpeechRecognitionErrorCode :: Network ) , "not-allowed" => Some ( SpeechRecognitionErrorCode :: NotAllowed ) , "service-not-allowed" => Some ( SpeechRecognitionErrorCode :: ServiceNotAllowed ) , "bad-grammar" => Some ( SpeechRecognitionErrorCode :: BadGrammar ) , "language-not-supported" => Some ( SpeechRecognitionErrorCode :: LanguageNotSupported ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for SpeechRecognitionErrorCode { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for SpeechRecognitionErrorCode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for SpeechRecognitionErrorCode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { SpeechRecognitionErrorCode :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( SpeechRecognitionErrorCode :: __Nonexhaustive ) } } impl From < SpeechRecognitionErrorCode > for :: wasm_bindgen :: JsValue { fn from ( obj : SpeechRecognitionErrorCode ) -> :: wasm_bindgen :: JsValue { match obj { SpeechRecognitionErrorCode :: NoSpeech => :: wasm_bindgen :: JsValue :: from_str ( "no-speech" ) , SpeechRecognitionErrorCode :: Aborted => :: wasm_bindgen :: JsValue :: from_str ( "aborted" ) , SpeechRecognitionErrorCode :: AudioCapture => :: wasm_bindgen :: JsValue :: from_str ( "audio-capture" ) , SpeechRecognitionErrorCode :: Network => :: wasm_bindgen :: JsValue :: from_str ( "network" ) , SpeechRecognitionErrorCode :: NotAllowed => :: wasm_bindgen :: JsValue :: from_str ( "not-allowed" ) , SpeechRecognitionErrorCode :: ServiceNotAllowed => :: wasm_bindgen :: JsValue :: from_str ( "service-not-allowed" ) , SpeechRecognitionErrorCode :: BadGrammar => :: wasm_bindgen :: JsValue :: from_str ( "bad-grammar" ) , SpeechRecognitionErrorCode :: LanguageNotSupported => :: wasm_bindgen :: JsValue :: from_str ( "language-not-supported" ) , SpeechRecognitionErrorCode :: __Nonexhaustive => panic ! ( "attempted to convert invalid SpeechRecognitionErrorCode into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum SpeechSynthesisErrorCode { Canceled = 0 , Interrupted = 1 , AudioBusy = 2 , AudioHardware = 3 , Network = 4 , SynthesisUnavailable = 5 , SynthesisFailed = 6 , LanguageUnavailable = 7 , VoiceUnavailable = 8 , TextTooLong = 9 , InvalidArgument = 10 , # [ doc ( hidden ) ] __Nonexhaustive , } impl SpeechSynthesisErrorCode { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < SpeechSynthesisErrorCode > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "canceled" => Some ( SpeechSynthesisErrorCode :: Canceled ) , "interrupted" => Some ( SpeechSynthesisErrorCode :: Interrupted ) , "audio-busy" => Some ( SpeechSynthesisErrorCode :: AudioBusy ) , "audio-hardware" => Some ( SpeechSynthesisErrorCode :: AudioHardware ) , "network" => Some ( SpeechSynthesisErrorCode :: Network ) , "synthesis-unavailable" => Some ( SpeechSynthesisErrorCode :: SynthesisUnavailable ) , "synthesis-failed" => Some ( SpeechSynthesisErrorCode :: SynthesisFailed ) , "language-unavailable" => Some ( SpeechSynthesisErrorCode :: LanguageUnavailable ) , "voice-unavailable" => Some ( SpeechSynthesisErrorCode :: VoiceUnavailable ) , "text-too-long" => Some ( SpeechSynthesisErrorCode :: TextTooLong ) , "invalid-argument" => Some ( SpeechSynthesisErrorCode :: InvalidArgument ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for SpeechSynthesisErrorCode { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for SpeechSynthesisErrorCode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for SpeechSynthesisErrorCode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { SpeechSynthesisErrorCode :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( SpeechSynthesisErrorCode :: __Nonexhaustive ) } } impl From < SpeechSynthesisErrorCode > for :: wasm_bindgen :: JsValue { fn from ( obj : SpeechSynthesisErrorCode ) -> :: wasm_bindgen :: JsValue { match obj { SpeechSynthesisErrorCode :: Canceled => :: wasm_bindgen :: JsValue :: from_str ( "canceled" ) , SpeechSynthesisErrorCode :: Interrupted => :: wasm_bindgen :: JsValue :: from_str ( "interrupted" ) , SpeechSynthesisErrorCode :: AudioBusy => :: wasm_bindgen :: JsValue :: from_str ( "audio-busy" ) , SpeechSynthesisErrorCode :: AudioHardware => :: wasm_bindgen :: JsValue :: from_str ( "audio-hardware" ) , SpeechSynthesisErrorCode :: Network => :: wasm_bindgen :: JsValue :: from_str ( "network" ) , SpeechSynthesisErrorCode :: SynthesisUnavailable => :: wasm_bindgen :: JsValue :: from_str ( "synthesis-unavailable" ) , SpeechSynthesisErrorCode :: SynthesisFailed => :: wasm_bindgen :: JsValue :: from_str ( "synthesis-failed" ) , SpeechSynthesisErrorCode :: LanguageUnavailable => :: wasm_bindgen :: JsValue :: from_str ( "language-unavailable" ) , SpeechSynthesisErrorCode :: VoiceUnavailable => :: wasm_bindgen :: JsValue :: from_str ( "voice-unavailable" ) , SpeechSynthesisErrorCode :: TextTooLong => :: wasm_bindgen :: JsValue :: from_str ( "text-too-long" ) , SpeechSynthesisErrorCode :: InvalidArgument => :: wasm_bindgen :: JsValue :: from_str ( "invalid-argument" ) , SpeechSynthesisErrorCode :: __Nonexhaustive => panic ! ( "attempted to convert invalid SpeechSynthesisErrorCode into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum StorageType { Persistent = 0 , Temporary = 1 , Default = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl StorageType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < StorageType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "persistent" => Some ( StorageType :: Persistent ) , "temporary" => Some ( StorageType :: Temporary ) , "default" => Some ( StorageType :: Default ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for StorageType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for StorageType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for StorageType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { StorageType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( StorageType :: __Nonexhaustive ) } } impl From < StorageType > for :: wasm_bindgen :: JsValue { fn from ( obj : StorageType ) -> :: wasm_bindgen :: JsValue { match obj { StorageType :: Persistent => :: wasm_bindgen :: JsValue :: from_str ( "persistent" ) , StorageType :: Temporary => :: wasm_bindgen :: JsValue :: from_str ( "temporary" ) , StorageType :: Default => :: wasm_bindgen :: JsValue :: from_str ( "default" ) , StorageType :: __Nonexhaustive => panic ! ( "attempted to convert invalid StorageType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum SupportedType { TextHtml = 0 , TextXml = 1 , ApplicationXml = 2 , ApplicationXhtmlXml = 3 , ImageSvgXml = 4 , # [ doc ( hidden ) ] __Nonexhaustive , } impl SupportedType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < SupportedType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "text/html" => Some ( SupportedType :: TextHtml ) , "text/xml" => Some ( SupportedType :: TextXml ) , "application/xml" => Some ( SupportedType :: ApplicationXml ) , "application/xhtml+xml" => Some ( SupportedType :: ApplicationXhtmlXml ) , "image/svg+xml" => Some ( SupportedType :: ImageSvgXml ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for SupportedType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for SupportedType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for SupportedType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { SupportedType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( SupportedType :: __Nonexhaustive ) } } impl From < SupportedType > for :: wasm_bindgen :: JsValue { fn from ( obj : SupportedType ) -> :: wasm_bindgen :: JsValue { match obj { SupportedType :: TextHtml => :: wasm_bindgen :: JsValue :: from_str ( "text/html" ) , SupportedType :: TextXml => :: wasm_bindgen :: JsValue :: from_str ( "text/xml" ) , SupportedType :: ApplicationXml => :: wasm_bindgen :: JsValue :: from_str ( "application/xml" ) , SupportedType :: ApplicationXhtmlXml => :: wasm_bindgen :: JsValue :: from_str ( "application/xhtml+xml" ) , SupportedType :: ImageSvgXml => :: wasm_bindgen :: JsValue :: from_str ( "image/svg+xml" ) , SupportedType :: __Nonexhaustive => panic ! ( "attempted to convert invalid SupportedType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum TcpReadyState { Connecting = 0 , Open = 1 , Closing = 2 , Closed = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl TcpReadyState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < TcpReadyState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "connecting" => Some ( TcpReadyState :: Connecting ) , "open" => Some ( TcpReadyState :: Open ) , "closing" => Some ( TcpReadyState :: Closing ) , "closed" => Some ( TcpReadyState :: Closed ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for TcpReadyState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for TcpReadyState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for TcpReadyState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { TcpReadyState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( TcpReadyState :: __Nonexhaustive ) } } impl From < TcpReadyState > for :: wasm_bindgen :: JsValue { fn from ( obj : TcpReadyState ) -> :: wasm_bindgen :: JsValue { match obj { TcpReadyState :: Connecting => :: wasm_bindgen :: JsValue :: from_str ( "connecting" ) , TcpReadyState :: Open => :: wasm_bindgen :: JsValue :: from_str ( "open" ) , TcpReadyState :: Closing => :: wasm_bindgen :: JsValue :: from_str ( "closing" ) , TcpReadyState :: Closed => :: wasm_bindgen :: JsValue :: from_str ( "closed" ) , TcpReadyState :: __Nonexhaustive => panic ! ( "attempted to convert invalid TcpReadyState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum TcpSocketBinaryType { Arraybuffer = 0 , String = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl TcpSocketBinaryType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < TcpSocketBinaryType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "arraybuffer" => Some ( TcpSocketBinaryType :: Arraybuffer ) , "string" => Some ( TcpSocketBinaryType :: String ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for TcpSocketBinaryType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for TcpSocketBinaryType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for TcpSocketBinaryType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { TcpSocketBinaryType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( TcpSocketBinaryType :: __Nonexhaustive ) } } impl From < TcpSocketBinaryType > for :: wasm_bindgen :: JsValue { fn from ( obj : TcpSocketBinaryType ) -> :: wasm_bindgen :: JsValue { match obj { TcpSocketBinaryType :: Arraybuffer => :: wasm_bindgen :: JsValue :: from_str ( "arraybuffer" ) , TcpSocketBinaryType :: String => :: wasm_bindgen :: JsValue :: from_str ( "string" ) , TcpSocketBinaryType :: __Nonexhaustive => panic ! ( "attempted to convert invalid TcpSocketBinaryType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum TextTrackKind { Subtitles = 0 , Captions = 1 , Descriptions = 2 , Chapters = 3 , Metadata = 4 , # [ doc ( hidden ) ] __Nonexhaustive , } impl TextTrackKind { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < TextTrackKind > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "subtitles" => Some ( TextTrackKind :: Subtitles ) , "captions" => Some ( TextTrackKind :: Captions ) , "descriptions" => Some ( TextTrackKind :: Descriptions ) , "chapters" => Some ( TextTrackKind :: Chapters ) , "metadata" => Some ( TextTrackKind :: Metadata ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for TextTrackKind { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for TextTrackKind { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for TextTrackKind { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { TextTrackKind :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( TextTrackKind :: __Nonexhaustive ) } } impl From < TextTrackKind > for :: wasm_bindgen :: JsValue { fn from ( obj : TextTrackKind ) -> :: wasm_bindgen :: JsValue { match obj { TextTrackKind :: Subtitles => :: wasm_bindgen :: JsValue :: from_str ( "subtitles" ) , TextTrackKind :: Captions => :: wasm_bindgen :: JsValue :: from_str ( "captions" ) , TextTrackKind :: Descriptions => :: wasm_bindgen :: JsValue :: from_str ( "descriptions" ) , TextTrackKind :: Chapters => :: wasm_bindgen :: JsValue :: from_str ( "chapters" ) , TextTrackKind :: Metadata => :: wasm_bindgen :: JsValue :: from_str ( "metadata" ) , TextTrackKind :: __Nonexhaustive => panic ! ( "attempted to convert invalid TextTrackKind into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum TextTrackMode { Disabled = 0 , Hidden = 1 , Showing = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl TextTrackMode { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < TextTrackMode > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "disabled" => Some ( TextTrackMode :: Disabled ) , "hidden" => Some ( TextTrackMode :: Hidden ) , "showing" => Some ( TextTrackMode :: Showing ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for TextTrackMode { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for TextTrackMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for TextTrackMode { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { TextTrackMode :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( TextTrackMode :: __Nonexhaustive ) } } impl From < TextTrackMode > for :: wasm_bindgen :: JsValue { fn from ( obj : TextTrackMode ) -> :: wasm_bindgen :: JsValue { match obj { TextTrackMode :: Disabled => :: wasm_bindgen :: JsValue :: from_str ( "disabled" ) , TextTrackMode :: Hidden => :: wasm_bindgen :: JsValue :: from_str ( "hidden" ) , TextTrackMode :: Showing => :: wasm_bindgen :: JsValue :: from_str ( "showing" ) , TextTrackMode :: __Nonexhaustive => panic ! ( "attempted to convert invalid TextTrackMode into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum Transport { Bt = 0 , Ble = 1 , Nfc = 2 , Usb = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl Transport { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < Transport > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "bt" => Some ( Transport :: Bt ) , "ble" => Some ( Transport :: Ble ) , "nfc" => Some ( Transport :: Nfc ) , "usb" => Some ( Transport :: Usb ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for Transport { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for Transport { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for Transport { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { Transport :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( Transport :: __Nonexhaustive ) } } impl From < Transport > for :: wasm_bindgen :: JsValue { fn from ( obj : Transport ) -> :: wasm_bindgen :: JsValue { match obj { Transport :: Bt => :: wasm_bindgen :: JsValue :: from_str ( "bt" ) , Transport :: Ble => :: wasm_bindgen :: JsValue :: from_str ( "ble" ) , Transport :: Nfc => :: wasm_bindgen :: JsValue :: from_str ( "nfc" ) , Transport :: Usb => :: wasm_bindgen :: JsValue :: from_str ( "usb" ) , Transport :: __Nonexhaustive => panic ! ( "attempted to convert invalid Transport into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum UserVerificationRequirement { Required = 0 , Preferred = 1 , Discouraged = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl UserVerificationRequirement { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < UserVerificationRequirement > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "required" => Some ( UserVerificationRequirement :: Required ) , "preferred" => Some ( UserVerificationRequirement :: Preferred ) , "discouraged" => Some ( UserVerificationRequirement :: Discouraged ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for UserVerificationRequirement { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for UserVerificationRequirement { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for UserVerificationRequirement { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { UserVerificationRequirement :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( UserVerificationRequirement :: __Nonexhaustive ) } } impl From < UserVerificationRequirement > for :: wasm_bindgen :: JsValue { fn from ( obj : UserVerificationRequirement ) -> :: wasm_bindgen :: JsValue { match obj { UserVerificationRequirement :: Required => :: wasm_bindgen :: JsValue :: from_str ( "required" ) , UserVerificationRequirement :: Preferred => :: wasm_bindgen :: JsValue :: from_str ( "preferred" ) , UserVerificationRequirement :: Discouraged => :: wasm_bindgen :: JsValue :: from_str ( "discouraged" ) , UserVerificationRequirement :: __Nonexhaustive => panic ! ( "attempted to convert invalid UserVerificationRequirement into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum VrEye { Left = 0 , Right = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl VrEye { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < VrEye > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "left" => Some ( VrEye :: Left ) , "right" => Some ( VrEye :: Right ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for VrEye { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for VrEye { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for VrEye { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { VrEye :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( VrEye :: __Nonexhaustive ) } } impl From < VrEye > for :: wasm_bindgen :: JsValue { fn from ( obj : VrEye ) -> :: wasm_bindgen :: JsValue { match obj { VrEye :: Left => :: wasm_bindgen :: JsValue :: from_str ( "left" ) , VrEye :: Right => :: wasm_bindgen :: JsValue :: from_str ( "right" ) , VrEye :: __Nonexhaustive => panic ! ( "attempted to convert invalid VrEye into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum VideoFacingModeEnum { User = 0 , Environment = 1 , Left = 2 , Right = 3 , # [ doc ( hidden ) ] __Nonexhaustive , } impl VideoFacingModeEnum { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < VideoFacingModeEnum > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "user" => Some ( VideoFacingModeEnum :: User ) , "environment" => Some ( VideoFacingModeEnum :: Environment ) , "left" => Some ( VideoFacingModeEnum :: Left ) , "right" => Some ( VideoFacingModeEnum :: Right ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for VideoFacingModeEnum { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for VideoFacingModeEnum { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for VideoFacingModeEnum { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { VideoFacingModeEnum :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( VideoFacingModeEnum :: __Nonexhaustive ) } } impl From < VideoFacingModeEnum > for :: wasm_bindgen :: JsValue { fn from ( obj : VideoFacingModeEnum ) -> :: wasm_bindgen :: JsValue { match obj { VideoFacingModeEnum :: User => :: wasm_bindgen :: JsValue :: from_str ( "user" ) , VideoFacingModeEnum :: Environment => :: wasm_bindgen :: JsValue :: from_str ( "environment" ) , VideoFacingModeEnum :: Left => :: wasm_bindgen :: JsValue :: from_str ( "left" ) , VideoFacingModeEnum :: Right => :: wasm_bindgen :: JsValue :: from_str ( "right" ) , VideoFacingModeEnum :: __Nonexhaustive => panic ! ( "attempted to convert invalid VideoFacingModeEnum into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum VisibilityState { Hidden = 0 , Visible = 1 , # [ doc ( hidden ) ] __Nonexhaustive , } impl VisibilityState { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < VisibilityState > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "hidden" => Some ( VisibilityState :: Hidden ) , "visible" => Some ( VisibilityState :: Visible ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for VisibilityState { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for VisibilityState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for VisibilityState { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { VisibilityState :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( VisibilityState :: __Nonexhaustive ) } } impl From < VisibilityState > for :: wasm_bindgen :: JsValue { fn from ( obj : VisibilityState ) -> :: wasm_bindgen :: JsValue { match obj { VisibilityState :: Hidden => :: wasm_bindgen :: JsValue :: from_str ( "hidden" ) , VisibilityState :: Visible => :: wasm_bindgen :: JsValue :: from_str ( "visible" ) , VisibilityState :: __Nonexhaustive => panic ! ( "attempted to convert invalid VisibilityState into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum WebGlPowerPreference { Default = 0 , LowPower = 1 , HighPerformance = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl WebGlPowerPreference { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < WebGlPowerPreference > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "default" => Some ( WebGlPowerPreference :: Default ) , "low-power" => Some ( WebGlPowerPreference :: LowPower ) , "high-performance" => Some ( WebGlPowerPreference :: HighPerformance ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for WebGlPowerPreference { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for WebGlPowerPreference { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for WebGlPowerPreference { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { WebGlPowerPreference :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( WebGlPowerPreference :: __Nonexhaustive ) } } impl From < WebGlPowerPreference > for :: wasm_bindgen :: JsValue { fn from ( obj : WebGlPowerPreference ) -> :: wasm_bindgen :: JsValue { match obj { WebGlPowerPreference :: Default => :: wasm_bindgen :: JsValue :: from_str ( "default" ) , WebGlPowerPreference :: LowPower => :: wasm_bindgen :: JsValue :: from_str ( "low-power" ) , WebGlPowerPreference :: HighPerformance => :: wasm_bindgen :: JsValue :: from_str ( "high-performance" ) , WebGlPowerPreference :: __Nonexhaustive => panic ! ( "attempted to convert invalid WebGlPowerPreference into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum WebGpuLogEntryType { DeviceLost = 0 , ValidationError = 1 , RecoverableOutOfMemory = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl WebGpuLogEntryType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < WebGpuLogEntryType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "device-lost" => Some ( WebGpuLogEntryType :: DeviceLost ) , "validation-error" => Some ( WebGpuLogEntryType :: ValidationError ) , "recoverable-out-of-memory" => Some ( WebGpuLogEntryType :: RecoverableOutOfMemory ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for WebGpuLogEntryType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for WebGpuLogEntryType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for WebGpuLogEntryType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { WebGpuLogEntryType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( WebGpuLogEntryType :: __Nonexhaustive ) } } impl From < WebGpuLogEntryType > for :: wasm_bindgen :: JsValue { fn from ( obj : WebGpuLogEntryType ) -> :: wasm_bindgen :: JsValue { match obj { WebGpuLogEntryType :: DeviceLost => :: wasm_bindgen :: JsValue :: from_str ( "device-lost" ) , WebGpuLogEntryType :: ValidationError => :: wasm_bindgen :: JsValue :: from_str ( "validation-error" ) , WebGpuLogEntryType :: RecoverableOutOfMemory => :: wasm_bindgen :: JsValue :: from_str ( "recoverable-out-of-memory" ) , WebGpuLogEntryType :: __Nonexhaustive => panic ! ( "attempted to convert invalid WebGpuLogEntryType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum WebGpuObjectStatus { Valid = 0 , OutOfMemory = 1 , Invalid = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl WebGpuObjectStatus { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < WebGpuObjectStatus > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "valid" => Some ( WebGpuObjectStatus :: Valid ) , "out-of-memory" => Some ( WebGpuObjectStatus :: OutOfMemory ) , "invalid" => Some ( WebGpuObjectStatus :: Invalid ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for WebGpuObjectStatus { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for WebGpuObjectStatus { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for WebGpuObjectStatus { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { WebGpuObjectStatus :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( WebGpuObjectStatus :: __Nonexhaustive ) } } impl From < WebGpuObjectStatus > for :: wasm_bindgen :: JsValue { fn from ( obj : WebGpuObjectStatus ) -> :: wasm_bindgen :: JsValue { match obj { WebGpuObjectStatus :: Valid => :: wasm_bindgen :: JsValue :: from_str ( "valid" ) , WebGpuObjectStatus :: OutOfMemory => :: wasm_bindgen :: JsValue :: from_str ( "out-of-memory" ) , WebGpuObjectStatus :: Invalid => :: wasm_bindgen :: JsValue :: from_str ( "invalid" ) , WebGpuObjectStatus :: __Nonexhaustive => panic ! ( "attempted to convert invalid WebGpuObjectStatus into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum WebGpuPowerPreference { Default = 0 , LowPower = 1 , HighPerformance = 2 , # [ doc ( hidden ) ] __Nonexhaustive , } impl WebGpuPowerPreference { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < WebGpuPowerPreference > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "default" => Some ( WebGpuPowerPreference :: Default ) , "low-power" => Some ( WebGpuPowerPreference :: LowPower ) , "high-performance" => Some ( WebGpuPowerPreference :: HighPerformance ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for WebGpuPowerPreference { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for WebGpuPowerPreference { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for WebGpuPowerPreference { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { WebGpuPowerPreference :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( WebGpuPowerPreference :: __Nonexhaustive ) } } impl From < WebGpuPowerPreference > for :: wasm_bindgen :: JsValue { fn from ( obj : WebGpuPowerPreference ) -> :: wasm_bindgen :: JsValue { match obj { WebGpuPowerPreference :: Default => :: wasm_bindgen :: JsValue :: from_str ( "default" ) , WebGpuPowerPreference :: LowPower => :: wasm_bindgen :: JsValue :: from_str ( "low-power" ) , WebGpuPowerPreference :: HighPerformance => :: wasm_bindgen :: JsValue :: from_str ( "high-performance" ) , WebGpuPowerPreference :: __Nonexhaustive => panic ! ( "attempted to convert invalid WebGpuPowerPreference into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Copy , Clone , PartialEq , Debug ) ] pub enum XmlHttpRequestResponseType { None = 0 , Arraybuffer = 1 , Blob = 2 , Document = 3 , Json = 4 , Text = 5 , # [ doc ( hidden ) ] __Nonexhaustive , } impl XmlHttpRequestResponseType { pub fn from_js_value ( obj : & :: wasm_bindgen :: JsValue ) -> Option < XmlHttpRequestResponseType > { obj . as_string ( ) . and_then ( | obj_str | match obj_str . as_str ( ) { "" => Some ( XmlHttpRequestResponseType :: None ) , "arraybuffer" => Some ( XmlHttpRequestResponseType :: Arraybuffer ) , "blob" => Some ( XmlHttpRequestResponseType :: Blob ) , "document" => Some ( XmlHttpRequestResponseType :: Document ) , "json" => Some ( XmlHttpRequestResponseType :: Json ) , "text" => Some ( XmlHttpRequestResponseType :: Text ) , _ => None , } ) } } impl :: wasm_bindgen :: describe :: WasmDescribe for XmlHttpRequestResponseType { fn describe ( ) { :: wasm_bindgen :: JsValue :: describe ( ) } } impl :: wasm_bindgen :: convert :: IntoWasmAbi for XmlHttpRequestResponseType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut :: wasm_bindgen :: convert :: Stack ) -> Self :: Abi { :: wasm_bindgen :: JsValue :: from ( self ) . into_abi ( extra ) } } impl :: wasm_bindgen :: convert :: FromWasmAbi for XmlHttpRequestResponseType { type Abi = < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; unsafe fn from_abi ( js : Self :: Abi , extra : & mut :: wasm_bindgen :: convert :: Stack , ) -> Self { XmlHttpRequestResponseType :: from_js_value ( & :: wasm_bindgen :: JsValue :: from_abi ( js , extra ) ) . unwrap_or ( XmlHttpRequestResponseType :: __Nonexhaustive ) } } impl From < XmlHttpRequestResponseType > for :: wasm_bindgen :: JsValue { fn from ( obj : XmlHttpRequestResponseType ) -> :: wasm_bindgen :: JsValue { match obj { XmlHttpRequestResponseType :: None => :: wasm_bindgen :: JsValue :: from_str ( "" ) , XmlHttpRequestResponseType :: Arraybuffer => :: wasm_bindgen :: JsValue :: from_str ( "arraybuffer" ) , XmlHttpRequestResponseType :: Blob => :: wasm_bindgen :: JsValue :: from_str ( "blob" ) , XmlHttpRequestResponseType :: Document => :: wasm_bindgen :: JsValue :: from_str ( "document" ) , XmlHttpRequestResponseType :: Json => :: wasm_bindgen :: JsValue :: from_str ( "json" ) , XmlHttpRequestResponseType :: Text => :: wasm_bindgen :: JsValue :: from_str ( "text" ) , XmlHttpRequestResponseType :: __Nonexhaustive => panic ! ( "attempted to convert invalid XmlHttpRequestResponseType into JSValue" ) , } } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AbortController` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController)\n\n*This API requires the following crate features to be activated: `AbortController`*" ] # [ repr ( transparent ) ] pub struct AbortController { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AbortController : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AbortController { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AbortController { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AbortController { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AbortController { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AbortController { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AbortController { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AbortController { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AbortController { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AbortController { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AbortController > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AbortController { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AbortController { # [ inline ] fn from ( obj : JsValue ) -> AbortController { AbortController { obj } } } impl AsRef < JsValue > for AbortController { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AbortController > for JsValue { # [ inline ] fn from ( obj : AbortController ) -> JsValue { obj . obj } } impl JsCast for AbortController { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AbortController ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AbortController ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AbortController { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AbortController ) } } } ( ) } ; impl core :: ops :: Deref for AbortController { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < AbortController > for Object { # [ inline ] fn from ( obj : AbortController ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AbortController { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_AbortController ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < AbortController as WasmDescribe > :: describe ( ) ; } impl AbortController { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AbortController(..)` constructor, creating a new instance of `AbortController`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/AbortController)\n\n*This API requires the following crate features to be activated: `AbortController`*" ] pub fn new ( ) -> Result < AbortController , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_AbortController ( exn_data_ptr : * mut u32 ) -> < AbortController as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_AbortController ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AbortController as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AbortController(..)` constructor, creating a new instance of `AbortController`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/AbortController)\n\n*This API requires the following crate features to be activated: `AbortController`*" ] pub fn new ( ) -> Result < AbortController , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_abort_AbortController ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AbortController as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AbortController { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort)\n\n*This API requires the following crate features to be activated: `AbortController`*" ] pub fn abort ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_abort_AbortController ( self_ : < & AbortController as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AbortController as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_abort_AbortController ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort)\n\n*This API requires the following crate features to be activated: `AbortController`*" ] pub fn abort ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_signal_AbortController ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AbortController as WasmDescribe > :: describe ( ) ; < AbortSignal as WasmDescribe > :: describe ( ) ; } impl AbortController { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `signal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/signal)\n\n*This API requires the following crate features to be activated: `AbortController`, `AbortSignal`*" ] pub fn signal ( & self , ) -> AbortSignal { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_signal_AbortController ( self_ : < & AbortController as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AbortSignal as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AbortController as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_signal_AbortController ( self_ ) } ; < AbortSignal as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `signal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/signal)\n\n*This API requires the following crate features to be activated: `AbortController`, `AbortSignal`*" ] pub fn signal ( & self , ) -> AbortSignal { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AbortSignal` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal)\n\n*This API requires the following crate features to be activated: `AbortSignal`*" ] # [ repr ( transparent ) ] pub struct AbortSignal { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AbortSignal : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AbortSignal { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AbortSignal { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AbortSignal { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AbortSignal { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AbortSignal { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AbortSignal { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AbortSignal { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AbortSignal { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AbortSignal { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AbortSignal > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AbortSignal { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AbortSignal { # [ inline ] fn from ( obj : JsValue ) -> AbortSignal { AbortSignal { obj } } } impl AsRef < JsValue > for AbortSignal { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AbortSignal > for JsValue { # [ inline ] fn from ( obj : AbortSignal ) -> JsValue { obj . obj } } impl JsCast for AbortSignal { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AbortSignal ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AbortSignal ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AbortSignal { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AbortSignal ) } } } ( ) } ; impl core :: ops :: Deref for AbortSignal { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < AbortSignal > for EventTarget { # [ inline ] fn from ( obj : AbortSignal ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for AbortSignal { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AbortSignal > for Object { # [ inline ] fn from ( obj : AbortSignal ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AbortSignal { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_aborted_AbortSignal ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AbortSignal as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl AbortSignal { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `aborted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/aborted)\n\n*This API requires the following crate features to be activated: `AbortSignal`*" ] pub fn aborted ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_aborted_AbortSignal ( self_ : < & AbortSignal as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AbortSignal as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_aborted_AbortSignal ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `aborted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/aborted)\n\n*This API requires the following crate features to be activated: `AbortSignal`*" ] pub fn aborted ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onabort_AbortSignal ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AbortSignal as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl AbortSignal { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/onabort)\n\n*This API requires the following crate features to be activated: `AbortSignal`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onabort_AbortSignal ( self_ : < & AbortSignal as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AbortSignal as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onabort_AbortSignal ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/onabort)\n\n*This API requires the following crate features to be activated: `AbortSignal`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onabort_AbortSignal ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AbortSignal as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AbortSignal { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/onabort)\n\n*This API requires the following crate features to be activated: `AbortSignal`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onabort_AbortSignal ( self_ : < & AbortSignal as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onabort : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AbortSignal as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onabort = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onabort , & mut __stack ) ; __widl_f_set_onabort_AbortSignal ( self_ , onabort ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/onabort)\n\n*This API requires the following crate features to be activated: `AbortSignal`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AnalyserNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] # [ repr ( transparent ) ] pub struct AnalyserNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AnalyserNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AnalyserNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AnalyserNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AnalyserNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AnalyserNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AnalyserNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AnalyserNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AnalyserNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AnalyserNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AnalyserNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AnalyserNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AnalyserNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AnalyserNode { # [ inline ] fn from ( obj : JsValue ) -> AnalyserNode { AnalyserNode { obj } } } impl AsRef < JsValue > for AnalyserNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AnalyserNode > for JsValue { # [ inline ] fn from ( obj : AnalyserNode ) -> JsValue { obj . obj } } impl JsCast for AnalyserNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AnalyserNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AnalyserNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AnalyserNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AnalyserNode ) } } } ( ) } ; impl core :: ops :: Deref for AnalyserNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < AnalyserNode > for AudioNode { # [ inline ] fn from ( obj : AnalyserNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for AnalyserNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AnalyserNode > for EventTarget { # [ inline ] fn from ( obj : AnalyserNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for AnalyserNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AnalyserNode > for Object { # [ inline ] fn from ( obj : AnalyserNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AnalyserNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < AnalyserNode as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AnalyserNode(..)` constructor, creating a new instance of `AnalyserNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/AnalyserNode)\n\n*This API requires the following crate features to be activated: `AnalyserNode`, `BaseAudioContext`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < AnalyserNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_AnalyserNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AnalyserNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_AnalyserNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AnalyserNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AnalyserNode(..)` constructor, creating a new instance of `AnalyserNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/AnalyserNode)\n\n*This API requires the following crate features to be activated: `AnalyserNode`, `BaseAudioContext`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < AnalyserNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & AnalyserOptions as WasmDescribe > :: describe ( ) ; < AnalyserNode as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AnalyserNode(..)` constructor, creating a new instance of `AnalyserNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/AnalyserNode)\n\n*This API requires the following crate features to be activated: `AnalyserNode`, `AnalyserOptions`, `BaseAudioContext`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & AnalyserOptions ) -> Result < AnalyserNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_AnalyserNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & AnalyserOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AnalyserNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & AnalyserOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_AnalyserNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AnalyserNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AnalyserNode(..)` constructor, creating a new instance of `AnalyserNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/AnalyserNode)\n\n*This API requires the following crate features to be activated: `AnalyserNode`, `AnalyserOptions`, `BaseAudioContext`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & AnalyserOptions ) -> Result < AnalyserNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_byte_frequency_data_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AnalyserNode as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getByteFrequencyData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getByteFrequencyData)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn get_byte_frequency_data ( & self , array : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_byte_frequency_data_AnalyserNode ( self_ : < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , array : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let array = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( array , & mut __stack ) ; __widl_f_get_byte_frequency_data_AnalyserNode ( self_ , array ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getByteFrequencyData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getByteFrequencyData)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn get_byte_frequency_data ( & self , array : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_byte_time_domain_data_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AnalyserNode as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getByteTimeDomainData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getByteTimeDomainData)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn get_byte_time_domain_data ( & self , array : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_byte_time_domain_data_AnalyserNode ( self_ : < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , array : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let array = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( array , & mut __stack ) ; __widl_f_get_byte_time_domain_data_AnalyserNode ( self_ , array ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getByteTimeDomainData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getByteTimeDomainData)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn get_byte_time_domain_data ( & self , array : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_float_frequency_data_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AnalyserNode as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFloatFrequencyData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getFloatFrequencyData)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn get_float_frequency_data ( & self , array : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_float_frequency_data_AnalyserNode ( self_ : < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , array : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let array = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( array , & mut __stack ) ; __widl_f_get_float_frequency_data_AnalyserNode ( self_ , array ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFloatFrequencyData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getFloatFrequencyData)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn get_float_frequency_data ( & self , array : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_float_time_domain_data_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AnalyserNode as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFloatTimeDomainData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getFloatTimeDomainData)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn get_float_time_domain_data ( & self , array : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_float_time_domain_data_AnalyserNode ( self_ : < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , array : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let array = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( array , & mut __stack ) ; __widl_f_get_float_time_domain_data_AnalyserNode ( self_ , array ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFloatTimeDomainData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getFloatTimeDomainData)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn get_float_time_domain_data ( & self , array : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fft_size_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnalyserNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fftSize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/fftSize)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn fft_size ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fft_size_AnalyserNode ( self_ : < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fft_size_AnalyserNode ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fftSize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/fftSize)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn fft_size ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_fft_size_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AnalyserNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fftSize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/fftSize)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn set_fft_size ( & self , fft_size : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_fft_size_AnalyserNode ( self_ : < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , fft_size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let fft_size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( fft_size , & mut __stack ) ; __widl_f_set_fft_size_AnalyserNode ( self_ , fft_size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fftSize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/fftSize)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn set_fft_size ( & self , fft_size : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_frequency_bin_count_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnalyserNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frequencyBinCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/frequencyBinCount)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn frequency_bin_count ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_frequency_bin_count_AnalyserNode ( self_ : < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_frequency_bin_count_AnalyserNode ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frequencyBinCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/frequencyBinCount)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn frequency_bin_count ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_min_decibels_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnalyserNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `minDecibels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/minDecibels)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn min_decibels ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_min_decibels_AnalyserNode ( self_ : < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_min_decibels_AnalyserNode ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `minDecibels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/minDecibels)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn min_decibels ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_min_decibels_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AnalyserNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `minDecibels` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/minDecibels)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn set_min_decibels ( & self , min_decibels : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_min_decibels_AnalyserNode ( self_ : < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , min_decibels : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let min_decibels = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( min_decibels , & mut __stack ) ; __widl_f_set_min_decibels_AnalyserNode ( self_ , min_decibels ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `minDecibels` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/minDecibels)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn set_min_decibels ( & self , min_decibels : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_decibels_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnalyserNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxDecibels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/maxDecibels)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn max_decibels ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_decibels_AnalyserNode ( self_ : < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_decibels_AnalyserNode ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxDecibels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/maxDecibels)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn max_decibels ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_max_decibels_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AnalyserNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxDecibels` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/maxDecibels)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn set_max_decibels ( & self , max_decibels : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_max_decibels_AnalyserNode ( self_ : < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max_decibels : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let max_decibels = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max_decibels , & mut __stack ) ; __widl_f_set_max_decibels_AnalyserNode ( self_ , max_decibels ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxDecibels` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/maxDecibels)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn set_max_decibels ( & self , max_decibels : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_smoothing_time_constant_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnalyserNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `smoothingTimeConstant` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/smoothingTimeConstant)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn smoothing_time_constant ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_smoothing_time_constant_AnalyserNode ( self_ : < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_smoothing_time_constant_AnalyserNode ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `smoothingTimeConstant` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/smoothingTimeConstant)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn smoothing_time_constant ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_smoothing_time_constant_AnalyserNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AnalyserNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AnalyserNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `smoothingTimeConstant` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/smoothingTimeConstant)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn set_smoothing_time_constant ( & self , smoothing_time_constant : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_smoothing_time_constant_AnalyserNode ( self_ : < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , smoothing_time_constant : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnalyserNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let smoothing_time_constant = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( smoothing_time_constant , & mut __stack ) ; __widl_f_set_smoothing_time_constant_AnalyserNode ( self_ , smoothing_time_constant ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `smoothingTimeConstant` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/smoothingTimeConstant)\n\n*This API requires the following crate features to be activated: `AnalyserNode`*" ] pub fn set_smoothing_time_constant ( & self , smoothing_time_constant : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Animation` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation)\n\n*This API requires the following crate features to be activated: `Animation`*" ] # [ repr ( transparent ) ] pub struct Animation { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Animation : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Animation { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Animation { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Animation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Animation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Animation { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Animation { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Animation { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Animation { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Animation { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Animation > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Animation { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Animation { # [ inline ] fn from ( obj : JsValue ) -> Animation { Animation { obj } } } impl AsRef < JsValue > for Animation { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Animation > for JsValue { # [ inline ] fn from ( obj : Animation ) -> JsValue { obj . obj } } impl JsCast for Animation { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Animation ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Animation ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Animation { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Animation ) } } } ( ) } ; impl core :: ops :: Deref for Animation { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < Animation > for EventTarget { # [ inline ] fn from ( obj : Animation ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for Animation { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Animation > for Object { # [ inline ] fn from ( obj : Animation ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Animation { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < Animation as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Animation(..)` constructor, creating a new instance of `Animation`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/Animation)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn new ( ) -> Result < Animation , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Animation ( exn_data_ptr : * mut u32 ) -> < Animation as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_Animation ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Animation as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Animation(..)` constructor, creating a new instance of `Animation`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/Animation)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn new ( ) -> Result < Animation , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_effect_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < Option < & AnimationEffect > as WasmDescribe > :: describe ( ) ; < Animation as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Animation(..)` constructor, creating a new instance of `Animation`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/Animation)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`*" ] pub fn new_with_effect ( effect : Option < & AnimationEffect > ) -> Result < Animation , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_effect_Animation ( effect : < Option < & AnimationEffect > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Animation as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let effect = < Option < & AnimationEffect > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( effect , & mut __stack ) ; __widl_f_new_with_effect_Animation ( effect , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Animation as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Animation(..)` constructor, creating a new instance of `Animation`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/Animation)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`*" ] pub fn new_with_effect ( effect : Option < & AnimationEffect > ) -> Result < Animation , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_effect_and_timeline_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < Option < & AnimationEffect > as WasmDescribe > :: describe ( ) ; < Option < & AnimationTimeline > as WasmDescribe > :: describe ( ) ; < Animation as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Animation(..)` constructor, creating a new instance of `Animation`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/Animation)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`, `AnimationTimeline`*" ] pub fn new_with_effect_and_timeline ( effect : Option < & AnimationEffect > , timeline : Option < & AnimationTimeline > ) -> Result < Animation , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_effect_and_timeline_Animation ( effect : < Option < & AnimationEffect > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeline : < Option < & AnimationTimeline > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Animation as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let effect = < Option < & AnimationEffect > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( effect , & mut __stack ) ; let timeline = < Option < & AnimationTimeline > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeline , & mut __stack ) ; __widl_f_new_with_effect_and_timeline_Animation ( effect , timeline , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Animation as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Animation(..)` constructor, creating a new instance of `Animation`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/Animation)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`, `AnimationTimeline`*" ] pub fn new_with_effect_and_timeline ( effect : Option < & AnimationEffect > , timeline : Option < & AnimationTimeline > ) -> Result < Animation , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cancel_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cancel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/cancel)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn cancel ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cancel_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cancel_Animation ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cancel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/cancel)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn cancel ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_finish_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `finish()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/finish)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn finish ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_finish_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_finish_Animation ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `finish()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/finish)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn finish ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pause_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pause()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/pause)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn pause ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pause_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pause_Animation ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pause()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/pause)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn pause ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_play_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `play()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/play)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn play ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_play_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_play_Animation ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `play()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/play)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn play ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reverse_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reverse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/reverse)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn reverse ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reverse_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reverse_Animation ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reverse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/reverse)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn reverse ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_update_playback_rate_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `updatePlaybackRate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/updatePlaybackRate)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn update_playback_rate ( & self , playback_rate : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_update_playback_rate_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , playback_rate : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let playback_rate = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( playback_rate , & mut __stack ) ; __widl_f_update_playback_rate_Animation ( self_ , playback_rate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `updatePlaybackRate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/updatePlaybackRate)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn update_playback_rate ( & self , playback_rate : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/id)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_Animation ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/id)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_id_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/id)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn set_id ( & self , id : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_id_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; __widl_f_set_id_Animation ( self_ , id ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/id)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn set_id ( & self , id : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_effect_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < Option < AnimationEffect > as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `effect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/effect)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`*" ] pub fn effect ( & self , ) -> Option < AnimationEffect > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_effect_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < AnimationEffect > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_effect_Animation ( self_ ) } ; < Option < AnimationEffect > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `effect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/effect)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`*" ] pub fn effect ( & self , ) -> Option < AnimationEffect > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_effect_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < Option < & AnimationEffect > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `effect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/effect)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`*" ] pub fn set_effect ( & self , effect : Option < & AnimationEffect > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_effect_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , effect : < Option < & AnimationEffect > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let effect = < Option < & AnimationEffect > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( effect , & mut __stack ) ; __widl_f_set_effect_Animation ( self_ , effect ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `effect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/effect)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationEffect`*" ] pub fn set_effect ( & self , effect : Option < & AnimationEffect > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_timeline_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < Option < AnimationTimeline > as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timeline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/timeline)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationTimeline`*" ] pub fn timeline ( & self , ) -> Option < AnimationTimeline > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_timeline_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < AnimationTimeline > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_timeline_Animation ( self_ ) } ; < Option < AnimationTimeline > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timeline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/timeline)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationTimeline`*" ] pub fn timeline ( & self , ) -> Option < AnimationTimeline > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeline_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < Option < & AnimationTimeline > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timeline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/timeline)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationTimeline`*" ] pub fn set_timeline ( & self , timeline : Option < & AnimationTimeline > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeline_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeline : < Option < & AnimationTimeline > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let timeline = < Option < & AnimationTimeline > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeline , & mut __stack ) ; __widl_f_set_timeline_Animation ( self_ , timeline ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timeline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/timeline)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationTimeline`*" ] pub fn set_timeline ( & self , timeline : Option < & AnimationTimeline > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_time_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `startTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/startTime)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn start_time ( & self , ) -> Option < f64 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_time_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_time_Animation ( self_ ) } ; < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `startTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/startTime)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn start_time ( & self , ) -> Option < f64 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_start_time_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `startTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/startTime)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn set_start_time ( & self , start_time : Option < f64 > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_start_time_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_time : < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start_time = < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_time , & mut __stack ) ; __widl_f_set_start_time_Animation ( self_ , start_time ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `startTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/startTime)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn set_start_time ( & self , start_time : Option < f64 > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_time_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/currentTime)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn current_time ( & self , ) -> Option < f64 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_time_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_time_Animation ( self_ ) } ; < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/currentTime)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn current_time ( & self , ) -> Option < f64 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_current_time_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/currentTime)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn set_current_time ( & self , current_time : Option < f64 > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_current_time_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , current_time : < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let current_time = < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( current_time , & mut __stack ) ; __widl_f_set_current_time_Animation ( self_ , current_time ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/currentTime)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn set_current_time ( & self , current_time : Option < f64 > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_playback_rate_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `playbackRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/playbackRate)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn playback_rate ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_playback_rate_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_playback_rate_Animation ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `playbackRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/playbackRate)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn playback_rate ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_playback_rate_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `playbackRate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/playbackRate)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn set_playback_rate ( & self , playback_rate : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_playback_rate_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , playback_rate : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let playback_rate = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( playback_rate , & mut __stack ) ; __widl_f_set_playback_rate_Animation ( self_ , playback_rate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `playbackRate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/playbackRate)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn set_playback_rate ( & self , playback_rate : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_play_state_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < AnimationPlayState as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `playState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/playState)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationPlayState`*" ] pub fn play_state ( & self , ) -> AnimationPlayState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_play_state_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AnimationPlayState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_play_state_Animation ( self_ ) } ; < AnimationPlayState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `playState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/playState)\n\n*This API requires the following crate features to be activated: `Animation`, `AnimationPlayState`*" ] pub fn play_state ( & self , ) -> AnimationPlayState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pending_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pending` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/pending)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn pending ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pending_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pending_Animation ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pending` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/pending)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn pending ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ready` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/ready)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn ready ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_Animation ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ready` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/ready)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn ready ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_finished_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `finished` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/finished)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn finished ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_finished_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_finished_Animation ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `finished` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/finished)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn finished ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onfinish_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfinish` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/onfinish)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn onfinish ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onfinish_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onfinish_Animation ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfinish` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/onfinish)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn onfinish ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onfinish_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfinish` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/onfinish)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn set_onfinish ( & self , onfinish : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onfinish_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onfinish : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onfinish = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onfinish , & mut __stack ) ; __widl_f_set_onfinish_Animation ( self_ , onfinish ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfinish` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/onfinish)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn set_onfinish ( & self , onfinish : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncancel_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/oncancel)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn oncancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncancel_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncancel_Animation ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/oncancel)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn oncancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncancel_Animation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Animation as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Animation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/oncancel)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn set_oncancel ( & self , oncancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncancel_Animation ( self_ : < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Animation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncancel , & mut __stack ) ; __widl_f_set_oncancel_Animation ( self_ , oncancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animation/oncancel)\n\n*This API requires the following crate features to be activated: `Animation`*" ] pub fn set_oncancel ( & self , oncancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AnimationEffect` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect)\n\n*This API requires the following crate features to be activated: `AnimationEffect`*" ] # [ repr ( transparent ) ] pub struct AnimationEffect { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AnimationEffect : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AnimationEffect { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AnimationEffect { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AnimationEffect { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AnimationEffect { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AnimationEffect { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AnimationEffect { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AnimationEffect { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AnimationEffect { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AnimationEffect { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AnimationEffect > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AnimationEffect { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AnimationEffect { # [ inline ] fn from ( obj : JsValue ) -> AnimationEffect { AnimationEffect { obj } } } impl AsRef < JsValue > for AnimationEffect { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AnimationEffect > for JsValue { # [ inline ] fn from ( obj : AnimationEffect ) -> JsValue { obj . obj } } impl JsCast for AnimationEffect { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AnimationEffect ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AnimationEffect ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AnimationEffect { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AnimationEffect ) } } } ( ) } ; impl core :: ops :: Deref for AnimationEffect { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < AnimationEffect > for Object { # [ inline ] fn from ( obj : AnimationEffect ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AnimationEffect { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_computed_timing_AnimationEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnimationEffect as WasmDescribe > :: describe ( ) ; < ComputedEffectTiming as WasmDescribe > :: describe ( ) ; } impl AnimationEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getComputedTiming()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/getComputedTiming)\n\n*This API requires the following crate features to be activated: `AnimationEffect`, `ComputedEffectTiming`*" ] pub fn get_computed_timing ( & self , ) -> ComputedEffectTiming { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_computed_timing_AnimationEffect ( self_ : < & AnimationEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ComputedEffectTiming as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnimationEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_computed_timing_AnimationEffect ( self_ ) } ; < ComputedEffectTiming as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getComputedTiming()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/getComputedTiming)\n\n*This API requires the following crate features to be activated: `AnimationEffect`, `ComputedEffectTiming`*" ] pub fn get_computed_timing ( & self , ) -> ComputedEffectTiming { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_timing_AnimationEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnimationEffect as WasmDescribe > :: describe ( ) ; < EffectTiming as WasmDescribe > :: describe ( ) ; } impl AnimationEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getTiming()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/getTiming)\n\n*This API requires the following crate features to be activated: `AnimationEffect`, `EffectTiming`*" ] pub fn get_timing ( & self , ) -> EffectTiming { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_timing_AnimationEffect ( self_ : < & AnimationEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < EffectTiming as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnimationEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_timing_AnimationEffect ( self_ ) } ; < EffectTiming as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getTiming()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/getTiming)\n\n*This API requires the following crate features to be activated: `AnimationEffect`, `EffectTiming`*" ] pub fn get_timing ( & self , ) -> EffectTiming { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_update_timing_AnimationEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnimationEffect as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AnimationEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `updateTiming()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/updateTiming)\n\n*This API requires the following crate features to be activated: `AnimationEffect`*" ] pub fn update_timing ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_update_timing_AnimationEffect ( self_ : < & AnimationEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnimationEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_update_timing_AnimationEffect ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `updateTiming()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/updateTiming)\n\n*This API requires the following crate features to be activated: `AnimationEffect`*" ] pub fn update_timing ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_update_timing_with_timing_AnimationEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AnimationEffect as WasmDescribe > :: describe ( ) ; < & OptionalEffectTiming as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AnimationEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `updateTiming()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/updateTiming)\n\n*This API requires the following crate features to be activated: `AnimationEffect`, `OptionalEffectTiming`*" ] pub fn update_timing_with_timing ( & self , timing : & OptionalEffectTiming ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_update_timing_with_timing_AnimationEffect ( self_ : < & AnimationEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timing : < & OptionalEffectTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnimationEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let timing = < & OptionalEffectTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timing , & mut __stack ) ; __widl_f_update_timing_with_timing_AnimationEffect ( self_ , timing , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `updateTiming()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/updateTiming)\n\n*This API requires the following crate features to be activated: `AnimationEffect`, `OptionalEffectTiming`*" ] pub fn update_timing_with_timing ( & self , timing : & OptionalEffectTiming ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AnimationEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent)\n\n*This API requires the following crate features to be activated: `AnimationEvent`*" ] # [ repr ( transparent ) ] pub struct AnimationEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AnimationEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AnimationEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AnimationEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AnimationEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AnimationEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AnimationEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AnimationEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AnimationEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AnimationEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AnimationEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AnimationEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AnimationEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AnimationEvent { # [ inline ] fn from ( obj : JsValue ) -> AnimationEvent { AnimationEvent { obj } } } impl AsRef < JsValue > for AnimationEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AnimationEvent > for JsValue { # [ inline ] fn from ( obj : AnimationEvent ) -> JsValue { obj . obj } } impl JsCast for AnimationEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AnimationEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AnimationEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AnimationEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AnimationEvent ) } } } ( ) } ; impl core :: ops :: Deref for AnimationEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < AnimationEvent > for Event { # [ inline ] fn from ( obj : AnimationEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for AnimationEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AnimationEvent > for Object { # [ inline ] fn from ( obj : AnimationEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AnimationEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_AnimationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < AnimationEvent as WasmDescribe > :: describe ( ) ; } impl AnimationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AnimationEvent(..)` constructor, creating a new instance of `AnimationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/AnimationEvent)\n\n*This API requires the following crate features to be activated: `AnimationEvent`*" ] pub fn new ( type_ : & str ) -> Result < AnimationEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_AnimationEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AnimationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_AnimationEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AnimationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AnimationEvent(..)` constructor, creating a new instance of `AnimationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/AnimationEvent)\n\n*This API requires the following crate features to be activated: `AnimationEvent`*" ] pub fn new ( type_ : & str ) -> Result < AnimationEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_AnimationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & AnimationEventInit as WasmDescribe > :: describe ( ) ; < AnimationEvent as WasmDescribe > :: describe ( ) ; } impl AnimationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AnimationEvent(..)` constructor, creating a new instance of `AnimationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/AnimationEvent)\n\n*This API requires the following crate features to be activated: `AnimationEvent`, `AnimationEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & AnimationEventInit ) -> Result < AnimationEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_AnimationEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & AnimationEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AnimationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & AnimationEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_AnimationEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AnimationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AnimationEvent(..)` constructor, creating a new instance of `AnimationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/AnimationEvent)\n\n*This API requires the following crate features to be activated: `AnimationEvent`, `AnimationEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & AnimationEventInit ) -> Result < AnimationEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_animation_name_AnimationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnimationEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl AnimationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animationName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/animationName)\n\n*This API requires the following crate features to be activated: `AnimationEvent`*" ] pub fn animation_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_animation_name_AnimationEvent ( self_ : < & AnimationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnimationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_animation_name_AnimationEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animationName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/animationName)\n\n*This API requires the following crate features to be activated: `AnimationEvent`*" ] pub fn animation_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_elapsed_time_AnimationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnimationEvent as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl AnimationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `elapsedTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/elapsedTime)\n\n*This API requires the following crate features to be activated: `AnimationEvent`*" ] pub fn elapsed_time ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_elapsed_time_AnimationEvent ( self_ : < & AnimationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnimationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_elapsed_time_AnimationEvent ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `elapsedTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/elapsedTime)\n\n*This API requires the following crate features to be activated: `AnimationEvent`*" ] pub fn elapsed_time ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pseudo_element_AnimationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnimationEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl AnimationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pseudoElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/pseudoElement)\n\n*This API requires the following crate features to be activated: `AnimationEvent`*" ] pub fn pseudo_element ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pseudo_element_AnimationEvent ( self_ : < & AnimationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnimationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pseudo_element_AnimationEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pseudoElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/pseudoElement)\n\n*This API requires the following crate features to be activated: `AnimationEvent`*" ] pub fn pseudo_element ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AnimationPlaybackEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent)\n\n*This API requires the following crate features to be activated: `AnimationPlaybackEvent`*" ] # [ repr ( transparent ) ] pub struct AnimationPlaybackEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AnimationPlaybackEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AnimationPlaybackEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AnimationPlaybackEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AnimationPlaybackEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AnimationPlaybackEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AnimationPlaybackEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AnimationPlaybackEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AnimationPlaybackEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AnimationPlaybackEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AnimationPlaybackEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AnimationPlaybackEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AnimationPlaybackEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AnimationPlaybackEvent { # [ inline ] fn from ( obj : JsValue ) -> AnimationPlaybackEvent { AnimationPlaybackEvent { obj } } } impl AsRef < JsValue > for AnimationPlaybackEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AnimationPlaybackEvent > for JsValue { # [ inline ] fn from ( obj : AnimationPlaybackEvent ) -> JsValue { obj . obj } } impl JsCast for AnimationPlaybackEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AnimationPlaybackEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AnimationPlaybackEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AnimationPlaybackEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AnimationPlaybackEvent ) } } } ( ) } ; impl core :: ops :: Deref for AnimationPlaybackEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < AnimationPlaybackEvent > for Event { # [ inline ] fn from ( obj : AnimationPlaybackEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for AnimationPlaybackEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AnimationPlaybackEvent > for Object { # [ inline ] fn from ( obj : AnimationPlaybackEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AnimationPlaybackEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_AnimationPlaybackEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < AnimationPlaybackEvent as WasmDescribe > :: describe ( ) ; } impl AnimationPlaybackEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AnimationPlaybackEvent(..)` constructor, creating a new instance of `AnimationPlaybackEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/AnimationPlaybackEvent)\n\n*This API requires the following crate features to be activated: `AnimationPlaybackEvent`*" ] pub fn new ( type_ : & str ) -> Result < AnimationPlaybackEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_AnimationPlaybackEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AnimationPlaybackEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_AnimationPlaybackEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AnimationPlaybackEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AnimationPlaybackEvent(..)` constructor, creating a new instance of `AnimationPlaybackEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/AnimationPlaybackEvent)\n\n*This API requires the following crate features to be activated: `AnimationPlaybackEvent`*" ] pub fn new ( type_ : & str ) -> Result < AnimationPlaybackEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_AnimationPlaybackEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & AnimationPlaybackEventInit as WasmDescribe > :: describe ( ) ; < AnimationPlaybackEvent as WasmDescribe > :: describe ( ) ; } impl AnimationPlaybackEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AnimationPlaybackEvent(..)` constructor, creating a new instance of `AnimationPlaybackEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/AnimationPlaybackEvent)\n\n*This API requires the following crate features to be activated: `AnimationPlaybackEvent`, `AnimationPlaybackEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & AnimationPlaybackEventInit ) -> Result < AnimationPlaybackEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_AnimationPlaybackEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & AnimationPlaybackEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AnimationPlaybackEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & AnimationPlaybackEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_AnimationPlaybackEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AnimationPlaybackEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AnimationPlaybackEvent(..)` constructor, creating a new instance of `AnimationPlaybackEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/AnimationPlaybackEvent)\n\n*This API requires the following crate features to be activated: `AnimationPlaybackEvent`, `AnimationPlaybackEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & AnimationPlaybackEventInit ) -> Result < AnimationPlaybackEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_time_AnimationPlaybackEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnimationPlaybackEvent as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; } impl AnimationPlaybackEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/currentTime)\n\n*This API requires the following crate features to be activated: `AnimationPlaybackEvent`*" ] pub fn current_time ( & self , ) -> Option < f64 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_time_AnimationPlaybackEvent ( self_ : < & AnimationPlaybackEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnimationPlaybackEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_time_AnimationPlaybackEvent ( self_ ) } ; < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/currentTime)\n\n*This API requires the following crate features to be activated: `AnimationPlaybackEvent`*" ] pub fn current_time ( & self , ) -> Option < f64 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_timeline_time_AnimationPlaybackEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnimationPlaybackEvent as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; } impl AnimationPlaybackEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timelineTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/timelineTime)\n\n*This API requires the following crate features to be activated: `AnimationPlaybackEvent`*" ] pub fn timeline_time ( & self , ) -> Option < f64 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_timeline_time_AnimationPlaybackEvent ( self_ : < & AnimationPlaybackEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnimationPlaybackEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_timeline_time_AnimationPlaybackEvent ( self_ ) } ; < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timelineTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationPlaybackEvent/timelineTime)\n\n*This API requires the following crate features to be activated: `AnimationPlaybackEvent`*" ] pub fn timeline_time ( & self , ) -> Option < f64 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AnimationTimeline` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationTimeline)\n\n*This API requires the following crate features to be activated: `AnimationTimeline`*" ] # [ repr ( transparent ) ] pub struct AnimationTimeline { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AnimationTimeline : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AnimationTimeline { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AnimationTimeline { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AnimationTimeline { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AnimationTimeline { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AnimationTimeline { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AnimationTimeline { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AnimationTimeline { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AnimationTimeline { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AnimationTimeline { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AnimationTimeline > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AnimationTimeline { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AnimationTimeline { # [ inline ] fn from ( obj : JsValue ) -> AnimationTimeline { AnimationTimeline { obj } } } impl AsRef < JsValue > for AnimationTimeline { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AnimationTimeline > for JsValue { # [ inline ] fn from ( obj : AnimationTimeline ) -> JsValue { obj . obj } } impl JsCast for AnimationTimeline { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AnimationTimeline ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AnimationTimeline ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AnimationTimeline { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AnimationTimeline ) } } } ( ) } ; impl core :: ops :: Deref for AnimationTimeline { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < AnimationTimeline > for Object { # [ inline ] fn from ( obj : AnimationTimeline ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AnimationTimeline { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_time_AnimationTimeline ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AnimationTimeline as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; } impl AnimationTimeline { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationTimeline/currentTime)\n\n*This API requires the following crate features to be activated: `AnimationTimeline`*" ] pub fn current_time ( & self , ) -> Option < f64 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_time_AnimationTimeline ( self_ : < & AnimationTimeline as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AnimationTimeline as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_time_AnimationTimeline ( self_ ) } ; < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationTimeline/currentTime)\n\n*This API requires the following crate features to be activated: `AnimationTimeline`*" ] pub fn current_time ( & self , ) -> Option < f64 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Attr` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr)\n\n*This API requires the following crate features to be activated: `Attr`*" ] # [ repr ( transparent ) ] pub struct Attr { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Attr : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Attr { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Attr { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Attr { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Attr { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Attr { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Attr { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Attr { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Attr { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Attr { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Attr > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Attr { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Attr { # [ inline ] fn from ( obj : JsValue ) -> Attr { Attr { obj } } } impl AsRef < JsValue > for Attr { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Attr > for JsValue { # [ inline ] fn from ( obj : Attr ) -> JsValue { obj . obj } } impl JsCast for Attr { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Attr ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Attr ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Attr { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Attr ) } } } ( ) } ; impl core :: ops :: Deref for Attr { type Target = Node ; # [ inline ] fn deref ( & self ) -> & Node { self . as_ref ( ) } } impl From < Attr > for Node { # [ inline ] fn from ( obj : Attr ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for Attr { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Attr > for EventTarget { # [ inline ] fn from ( obj : Attr ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for Attr { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Attr > for Object { # [ inline ] fn from ( obj : Attr ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Attr { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_local_name_Attr ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Attr as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Attr { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `localName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/localName)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn local_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_local_name_Attr ( self_ : < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_local_name_Attr ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `localName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/localName)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn local_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_Attr ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Attr as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Attr { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/value)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_Attr ( self_ : < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_Attr ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/value)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_Attr ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Attr as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Attr { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/value)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn set_value ( & self , value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_Attr ( self_ : < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_Attr ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/value)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn set_value ( & self , value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_Attr ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Attr as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Attr { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/name)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_Attr ( self_ : < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_Attr ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/name)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_namespace_uri_Attr ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Attr as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Attr { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `namespaceURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/namespaceURI)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn namespace_uri ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_namespace_uri_Attr ( self_ : < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_namespace_uri_Attr ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `namespaceURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/namespaceURI)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn namespace_uri ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prefix_Attr ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Attr as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Attr { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prefix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/prefix)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn prefix ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prefix_Attr ( self_ : < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prefix_Attr ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prefix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/prefix)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn prefix ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_specified_Attr ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Attr as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Attr { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `specified` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/specified)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn specified ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_specified_Attr ( self_ : < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_specified_Attr ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `specified` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/specified)\n\n*This API requires the following crate features to be activated: `Attr`*" ] pub fn specified ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioBuffer` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] # [ repr ( transparent ) ] pub struct AudioBuffer { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioBuffer : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioBuffer { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioBuffer { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioBuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioBuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioBuffer { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioBuffer { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioBuffer { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioBuffer { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioBuffer { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioBuffer > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioBuffer { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioBuffer { # [ inline ] fn from ( obj : JsValue ) -> AudioBuffer { AudioBuffer { obj } } } impl AsRef < JsValue > for AudioBuffer { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioBuffer > for JsValue { # [ inline ] fn from ( obj : AudioBuffer ) -> JsValue { obj . obj } } impl JsCast for AudioBuffer { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioBuffer ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioBuffer ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioBuffer { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioBuffer ) } } } ( ) } ; impl core :: ops :: Deref for AudioBuffer { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < AudioBuffer > for Object { # [ inline ] fn from ( obj : AudioBuffer ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioBuffer { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_AudioBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBufferOptions as WasmDescribe > :: describe ( ) ; < AudioBuffer as WasmDescribe > :: describe ( ) ; } impl AudioBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AudioBuffer(..)` constructor, creating a new instance of `AudioBuffer`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/AudioBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferOptions`*" ] pub fn new ( options : & AudioBufferOptions ) -> Result < AudioBuffer , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_AudioBuffer ( options : < & AudioBufferOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let options = < & AudioBufferOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_AudioBuffer ( options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AudioBuffer(..)` constructor, creating a new instance of `AudioBuffer`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/AudioBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferOptions`*" ] pub fn new ( options : & AudioBufferOptions ) -> Result < AudioBuffer , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_from_channel_AudioBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioBuffer as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyFromChannel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyFromChannel)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn copy_from_channel ( & self , destination : & mut [ f32 ] , channel_number : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_from_channel_AudioBuffer ( self_ : < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , destination : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , channel_number : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let destination = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( destination , & mut __stack ) ; let channel_number = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( channel_number , & mut __stack ) ; __widl_f_copy_from_channel_AudioBuffer ( self_ , destination , channel_number , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyFromChannel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyFromChannel)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn copy_from_channel ( & self , destination : & mut [ f32 ] , channel_number : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_from_channel_with_start_in_channel_AudioBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & AudioBuffer as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyFromChannel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyFromChannel)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn copy_from_channel_with_start_in_channel ( & self , destination : & mut [ f32 ] , channel_number : i32 , start_in_channel : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_from_channel_with_start_in_channel_AudioBuffer ( self_ : < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , destination : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , channel_number : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_in_channel : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let destination = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( destination , & mut __stack ) ; let channel_number = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( channel_number , & mut __stack ) ; let start_in_channel = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_in_channel , & mut __stack ) ; __widl_f_copy_from_channel_with_start_in_channel_AudioBuffer ( self_ , destination , channel_number , start_in_channel , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyFromChannel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyFromChannel)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn copy_from_channel_with_start_in_channel ( & self , destination : & mut [ f32 ] , channel_number : i32 , start_in_channel : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_to_channel_AudioBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioBuffer as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyToChannel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyToChannel)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn copy_to_channel ( & self , source : & mut [ f32 ] , channel_number : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_to_channel_AudioBuffer ( self_ : < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , channel_number : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let source = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; let channel_number = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( channel_number , & mut __stack ) ; __widl_f_copy_to_channel_AudioBuffer ( self_ , source , channel_number , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyToChannel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyToChannel)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn copy_to_channel ( & self , source : & mut [ f32 ] , channel_number : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_to_channel_with_start_in_channel_AudioBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & AudioBuffer as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyToChannel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyToChannel)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn copy_to_channel_with_start_in_channel ( & self , source : & mut [ f32 ] , channel_number : i32 , start_in_channel : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_to_channel_with_start_in_channel_AudioBuffer ( self_ : < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , channel_number : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_in_channel : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let source = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; let channel_number = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( channel_number , & mut __stack ) ; let start_in_channel = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_in_channel , & mut __stack ) ; __widl_f_copy_to_channel_with_start_in_channel_AudioBuffer ( self_ , source , channel_number , start_in_channel , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyToChannel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyToChannel)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn copy_to_channel_with_start_in_channel ( & self , source : & mut [ f32 ] , channel_number : i32 , start_in_channel : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_channel_data_AudioBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioBuffer as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Vec < f32 > as WasmDescribe > :: describe ( ) ; } impl AudioBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getChannelData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/getChannelData)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn get_channel_data ( & self , channel : u32 ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_channel_data_AudioBuffer ( self_ : < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , channel : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let channel = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( channel , & mut __stack ) ; __widl_f_get_channel_data_AudioBuffer ( self_ , channel , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getChannelData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/getChannelData)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn get_channel_data ( & self , channel : u32 ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sample_rate_AudioBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBuffer as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl AudioBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sampleRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/sampleRate)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn sample_rate ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sample_rate_AudioBuffer ( self_ : < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sample_rate_AudioBuffer ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sampleRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/sampleRate)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn sample_rate ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_AudioBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBuffer as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl AudioBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/length)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_AudioBuffer ( self_ : < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_AudioBuffer ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/length)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_duration_AudioBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBuffer as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl AudioBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `duration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/duration)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn duration ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_duration_AudioBuffer ( self_ : < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_duration_AudioBuffer ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `duration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/duration)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn duration ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_number_of_channels_AudioBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBuffer as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl AudioBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `numberOfChannels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/numberOfChannels)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn number_of_channels ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_number_of_channels_AudioBuffer ( self_ : < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_number_of_channels_AudioBuffer ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `numberOfChannels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/numberOfChannels)\n\n*This API requires the following crate features to be activated: `AudioBuffer`*" ] pub fn number_of_channels ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioBufferSourceNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] # [ repr ( transparent ) ] pub struct AudioBufferSourceNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioBufferSourceNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioBufferSourceNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioBufferSourceNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioBufferSourceNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioBufferSourceNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioBufferSourceNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioBufferSourceNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioBufferSourceNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioBufferSourceNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioBufferSourceNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioBufferSourceNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioBufferSourceNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioBufferSourceNode { # [ inline ] fn from ( obj : JsValue ) -> AudioBufferSourceNode { AudioBufferSourceNode { obj } } } impl AsRef < JsValue > for AudioBufferSourceNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioBufferSourceNode > for JsValue { # [ inline ] fn from ( obj : AudioBufferSourceNode ) -> JsValue { obj . obj } } impl JsCast for AudioBufferSourceNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioBufferSourceNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioBufferSourceNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioBufferSourceNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioBufferSourceNode ) } } } ( ) } ; impl core :: ops :: Deref for AudioBufferSourceNode { type Target = AudioScheduledSourceNode ; # [ inline ] fn deref ( & self ) -> & AudioScheduledSourceNode { self . as_ref ( ) } } impl From < AudioBufferSourceNode > for AudioScheduledSourceNode { # [ inline ] fn from ( obj : AudioBufferSourceNode ) -> AudioScheduledSourceNode { use wasm_bindgen :: JsCast ; AudioScheduledSourceNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioScheduledSourceNode > for AudioBufferSourceNode { # [ inline ] fn as_ref ( & self ) -> & AudioScheduledSourceNode { use wasm_bindgen :: JsCast ; AudioScheduledSourceNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioBufferSourceNode > for AudioNode { # [ inline ] fn from ( obj : AudioBufferSourceNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for AudioBufferSourceNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioBufferSourceNode > for EventTarget { # [ inline ] fn from ( obj : AudioBufferSourceNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for AudioBufferSourceNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioBufferSourceNode > for Object { # [ inline ] fn from ( obj : AudioBufferSourceNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioBufferSourceNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AudioBufferSourceNode(..)` constructor, creating a new instance of `AudioBufferSourceNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/AudioBufferSourceNode)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `BaseAudioContext`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < AudioBufferSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_AudioBufferSourceNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioBufferSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_AudioBufferSourceNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioBufferSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AudioBufferSourceNode(..)` constructor, creating a new instance of `AudioBufferSourceNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/AudioBufferSourceNode)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `BaseAudioContext`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < AudioBufferSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & AudioBufferSourceOptions as WasmDescribe > :: describe ( ) ; < AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AudioBufferSourceNode(..)` constructor, creating a new instance of `AudioBufferSourceNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/AudioBufferSourceNode)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioBufferSourceOptions`, `BaseAudioContext`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & AudioBufferSourceOptions ) -> Result < AudioBufferSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_AudioBufferSourceNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & AudioBufferSourceOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioBufferSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & AudioBufferSourceOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_AudioBufferSourceNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioBufferSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AudioBufferSourceNode(..)` constructor, creating a new instance of `AudioBufferSourceNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/AudioBufferSourceNode)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioBufferSourceOptions`, `BaseAudioContext`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & AudioBufferSourceOptions ) -> Result < AudioBufferSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_AudioBufferSourceNode ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_with_when_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn start_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_with_when_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , when : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let when = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( when , & mut __stack ) ; __widl_f_start_with_when_AudioBufferSourceNode ( self_ , when , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn start_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_with_when_and_grain_offset_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn start_with_when_and_grain_offset ( & self , when : f64 , grain_offset : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_with_when_and_grain_offset_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , when : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , grain_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let when = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( when , & mut __stack ) ; let grain_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( grain_offset , & mut __stack ) ; __widl_f_start_with_when_and_grain_offset_AudioBufferSourceNode ( self_ , when , grain_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn start_with_when_and_grain_offset ( & self , when : f64 , grain_offset : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_with_when_and_grain_offset_and_grain_duration_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn start_with_when_and_grain_offset_and_grain_duration ( & self , when : f64 , grain_offset : f64 , grain_duration : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_with_when_and_grain_offset_and_grain_duration_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , when : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , grain_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , grain_duration : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let when = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( when , & mut __stack ) ; let grain_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( grain_offset , & mut __stack ) ; let grain_duration = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( grain_duration , & mut __stack ) ; __widl_f_start_with_when_and_grain_offset_and_grain_duration_AudioBufferSourceNode ( self_ , when , grain_offset , grain_duration , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn start_with_when_and_grain_offset_and_grain_duration ( & self , when : f64 , grain_offset : f64 , grain_duration : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/stop)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn stop ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stop_AudioBufferSourceNode ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/stop)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn stop ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_with_when_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/stop)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn stop_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_with_when_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , when : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let when = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( when , & mut __stack ) ; __widl_f_stop_with_when_AudioBufferSourceNode ( self_ , when , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/stop)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn stop_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < Option < AudioBuffer > as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `buffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/buffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferSourceNode`*" ] pub fn buffer ( & self , ) -> Option < AudioBuffer > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < AudioBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_buffer_AudioBufferSourceNode ( self_ ) } ; < Option < AudioBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `buffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/buffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferSourceNode`*" ] pub fn buffer ( & self , ) -> Option < AudioBuffer > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_buffer_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < Option < & AudioBuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `buffer` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/buffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferSourceNode`*" ] pub fn set_buffer ( & self , buffer : Option < & AudioBuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_buffer_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < Option < & AudioBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < Option < & AudioBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; __widl_f_set_buffer_AudioBufferSourceNode ( self_ , buffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `buffer` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/buffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `AudioBufferSourceNode`*" ] pub fn set_buffer ( & self , buffer : Option < & AudioBuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_playback_rate_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `playbackRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/playbackRate)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioParam`*" ] pub fn playback_rate ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_playback_rate_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_playback_rate_AudioBufferSourceNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `playbackRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/playbackRate)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioParam`*" ] pub fn playback_rate ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_detune_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `detune` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/detune)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioParam`*" ] pub fn detune ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_detune_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_detune_AudioBufferSourceNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `detune` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/detune)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioParam`*" ] pub fn detune ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_loop_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loop)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn loop_ ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_loop_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_loop_AudioBufferSourceNode ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loop)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn loop_ ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_loop_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loop)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn set_loop ( & self , loop_ : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_loop_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , loop_ : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let loop_ = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( loop_ , & mut __stack ) ; __widl_f_set_loop_AudioBufferSourceNode ( self_ , loop_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loop)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn set_loop ( & self , loop_ : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_loop_start_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loopStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopStart)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn loop_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_loop_start_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_loop_start_AudioBufferSourceNode ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loopStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopStart)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn loop_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_loop_start_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loopStart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopStart)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn set_loop_start ( & self , loop_start : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_loop_start_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , loop_start : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let loop_start = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( loop_start , & mut __stack ) ; __widl_f_set_loop_start_AudioBufferSourceNode ( self_ , loop_start ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loopStart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopStart)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn set_loop_start ( & self , loop_start : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_loop_end_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loopEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopEnd)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn loop_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_loop_end_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_loop_end_AudioBufferSourceNode ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loopEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopEnd)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn loop_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_loop_end_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loopEnd` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopEnd)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn set_loop_end ( & self , loop_end : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_loop_end_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , loop_end : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let loop_end = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( loop_end , & mut __stack ) ; __widl_f_set_loop_end_AudioBufferSourceNode ( self_ , loop_end ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loopEnd` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopEnd)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn set_loop_end ( & self , loop_end : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onended_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/onended)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onended_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onended_AudioBufferSourceNode ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/onended)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onended_AudioBufferSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioBufferSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/onended)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onended_AudioBufferSourceNode ( self_ : < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onended : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioBufferSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onended = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onended , & mut __stack ) ; __widl_f_set_onended_AudioBufferSourceNode ( self_ , onended ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/onended)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioContext` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] # [ repr ( transparent ) ] pub struct AudioContext { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioContext : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioContext { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioContext { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioContext { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioContext { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioContext { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioContext { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioContext { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioContext { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioContext { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioContext > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioContext { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioContext { # [ inline ] fn from ( obj : JsValue ) -> AudioContext { AudioContext { obj } } } impl AsRef < JsValue > for AudioContext { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioContext > for JsValue { # [ inline ] fn from ( obj : AudioContext ) -> JsValue { obj . obj } } impl JsCast for AudioContext { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioContext ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioContext ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioContext { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioContext ) } } } ( ) } ; impl core :: ops :: Deref for AudioContext { type Target = BaseAudioContext ; # [ inline ] fn deref ( & self ) -> & BaseAudioContext { self . as_ref ( ) } } impl From < AudioContext > for BaseAudioContext { # [ inline ] fn from ( obj : AudioContext ) -> BaseAudioContext { use wasm_bindgen :: JsCast ; BaseAudioContext :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < BaseAudioContext > for AudioContext { # [ inline ] fn as_ref ( & self ) -> & BaseAudioContext { use wasm_bindgen :: JsCast ; BaseAudioContext :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioContext > for EventTarget { # [ inline ] fn from ( obj : AudioContext ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for AudioContext { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioContext > for Object { # [ inline ] fn from ( obj : AudioContext ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioContext { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < AudioContext as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AudioContext(..)` constructor, creating a new instance of `AudioContext`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn new ( ) -> Result < AudioContext , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_AudioContext ( exn_data_ptr : * mut u32 ) -> < AudioContext as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_AudioContext ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioContext as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AudioContext(..)` constructor, creating a new instance of `AudioContext`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn new ( ) -> Result < AudioContext , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_context_options_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContextOptions as WasmDescribe > :: describe ( ) ; < AudioContext as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AudioContext(..)` constructor, creating a new instance of `AudioContext`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext)\n\n*This API requires the following crate features to be activated: `AudioContext`, `AudioContextOptions`*" ] pub fn new_with_context_options ( context_options : & AudioContextOptions ) -> Result < AudioContext , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_context_options_AudioContext ( context_options : < & AudioContextOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioContext as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context_options = < & AudioContextOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_options , & mut __stack ) ; __widl_f_new_with_context_options_AudioContext ( context_options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioContext as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AudioContext(..)` constructor, creating a new instance of `AudioContext`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext)\n\n*This API requires the following crate features to be activated: `AudioContext`, `AudioContextOptions`*" ] pub fn new_with_context_options ( context_options : & AudioContextOptions ) -> Result < AudioContext , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/close)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn close ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/close)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn close ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_media_element_source_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < MediaElementAudioSourceNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createMediaElementSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaElementSource)\n\n*This API requires the following crate features to be activated: `AudioContext`, `HtmlMediaElement`, `MediaElementAudioSourceNode`*" ] pub fn create_media_element_source ( & self , media_element : & HtmlMediaElement ) -> Result < MediaElementAudioSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_media_element_source_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , media_element : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaElementAudioSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let media_element = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( media_element , & mut __stack ) ; __widl_f_create_media_element_source_AudioContext ( self_ , media_element , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaElementAudioSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createMediaElementSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaElementSource)\n\n*This API requires the following crate features to be activated: `AudioContext`, `HtmlMediaElement`, `MediaElementAudioSourceNode`*" ] pub fn create_media_element_source ( & self , media_element : & HtmlMediaElement ) -> Result < MediaElementAudioSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_media_stream_destination_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < MediaStreamAudioDestinationNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createMediaStreamDestination()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaStreamDestination)\n\n*This API requires the following crate features to be activated: `AudioContext`, `MediaStreamAudioDestinationNode`*" ] pub fn create_media_stream_destination ( & self , ) -> Result < MediaStreamAudioDestinationNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_media_stream_destination_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaStreamAudioDestinationNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_media_stream_destination_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaStreamAudioDestinationNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createMediaStreamDestination()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaStreamDestination)\n\n*This API requires the following crate features to be activated: `AudioContext`, `MediaStreamAudioDestinationNode`*" ] pub fn create_media_stream_destination ( & self , ) -> Result < MediaStreamAudioDestinationNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_media_stream_source_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < MediaStreamAudioSourceNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createMediaStreamSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaStreamSource)\n\n*This API requires the following crate features to be activated: `AudioContext`, `MediaStream`, `MediaStreamAudioSourceNode`*" ] pub fn create_media_stream_source ( & self , media_stream : & MediaStream ) -> Result < MediaStreamAudioSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_media_stream_source_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , media_stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaStreamAudioSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let media_stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( media_stream , & mut __stack ) ; __widl_f_create_media_stream_source_AudioContext ( self_ , media_stream , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaStreamAudioSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createMediaStreamSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaStreamSource)\n\n*This API requires the following crate features to be activated: `AudioContext`, `MediaStream`, `MediaStreamAudioSourceNode`*" ] pub fn create_media_stream_source ( & self , media_stream : & MediaStream ) -> Result < MediaStreamAudioSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_suspend_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `suspend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/suspend)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn suspend ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_suspend_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_suspend_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `suspend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/suspend)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn suspend ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_analyser_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < AnalyserNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createAnalyser()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createAnalyser)\n\n*This API requires the following crate features to be activated: `AnalyserNode`, `AudioContext`*" ] pub fn create_analyser ( & self , ) -> Result < AnalyserNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_analyser_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AnalyserNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_analyser_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AnalyserNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createAnalyser()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createAnalyser)\n\n*This API requires the following crate features to be activated: `AnalyserNode`, `AudioContext`*" ] pub fn create_analyser ( & self , ) -> Result < AnalyserNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_biquad_filter_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < BiquadFilterNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBiquadFilter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createBiquadFilter)\n\n*This API requires the following crate features to be activated: `AudioContext`, `BiquadFilterNode`*" ] pub fn create_biquad_filter ( & self , ) -> Result < BiquadFilterNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_biquad_filter_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BiquadFilterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_biquad_filter_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BiquadFilterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBiquadFilter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createBiquadFilter)\n\n*This API requires the following crate features to be activated: `AudioContext`, `BiquadFilterNode`*" ] pub fn create_biquad_filter ( & self , ) -> Result < BiquadFilterNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_buffer_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < AudioBuffer as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `AudioContext`*" ] pub fn create_buffer ( & self , number_of_channels : u32 , length : u32 , sample_rate : f32 ) -> Result < AudioBuffer , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_buffer_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_channels : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sample_rate : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let number_of_channels = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_channels , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; let sample_rate = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sample_rate , & mut __stack ) ; __widl_f_create_buffer_AudioContext ( self_ , number_of_channels , length , sample_rate , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `AudioContext`*" ] pub fn create_buffer ( & self , number_of_channels : u32 , length : u32 , sample_rate : f32 ) -> Result < AudioBuffer , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_buffer_source_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBufferSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createBufferSource)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioContext`*" ] pub fn create_buffer_source ( & self , ) -> Result < AudioBufferSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_buffer_source_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioBufferSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_buffer_source_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioBufferSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBufferSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createBufferSource)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `AudioContext`*" ] pub fn create_buffer_source ( & self , ) -> Result < AudioBufferSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_channel_merger_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < ChannelMergerNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createChannelMerger()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelMerger)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ChannelMergerNode`*" ] pub fn create_channel_merger ( & self , ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_channel_merger_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_channel_merger_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createChannelMerger()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelMerger)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ChannelMergerNode`*" ] pub fn create_channel_merger ( & self , ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_channel_merger_with_number_of_inputs_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ChannelMergerNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createChannelMerger()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelMerger)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ChannelMergerNode`*" ] pub fn create_channel_merger_with_number_of_inputs ( & self , number_of_inputs : u32 ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_channel_merger_with_number_of_inputs_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_inputs : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let number_of_inputs = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_inputs , & mut __stack ) ; __widl_f_create_channel_merger_with_number_of_inputs_AudioContext ( self_ , number_of_inputs , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createChannelMerger()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelMerger)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ChannelMergerNode`*" ] pub fn create_channel_merger_with_number_of_inputs ( & self , number_of_inputs : u32 ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_channel_splitter_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < ChannelSplitterNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createChannelSplitter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelSplitter)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ChannelSplitterNode`*" ] pub fn create_channel_splitter ( & self , ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_channel_splitter_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_channel_splitter_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createChannelSplitter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelSplitter)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ChannelSplitterNode`*" ] pub fn create_channel_splitter ( & self , ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_channel_splitter_with_number_of_outputs_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ChannelSplitterNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createChannelSplitter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelSplitter)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ChannelSplitterNode`*" ] pub fn create_channel_splitter_with_number_of_outputs ( & self , number_of_outputs : u32 ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_channel_splitter_with_number_of_outputs_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_outputs : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let number_of_outputs = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_outputs , & mut __stack ) ; __widl_f_create_channel_splitter_with_number_of_outputs_AudioContext ( self_ , number_of_outputs , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createChannelSplitter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createChannelSplitter)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ChannelSplitterNode`*" ] pub fn create_channel_splitter_with_number_of_outputs ( & self , number_of_outputs : u32 ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_constant_source_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < ConstantSourceNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createConstantSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createConstantSource)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ConstantSourceNode`*" ] pub fn create_constant_source ( & self , ) -> Result < ConstantSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_constant_source_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ConstantSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_constant_source_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ConstantSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createConstantSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createConstantSource)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ConstantSourceNode`*" ] pub fn create_constant_source ( & self , ) -> Result < ConstantSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_convolver_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < ConvolverNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createConvolver()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createConvolver)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ConvolverNode`*" ] pub fn create_convolver ( & self , ) -> Result < ConvolverNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_convolver_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ConvolverNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_convolver_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ConvolverNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createConvolver()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createConvolver)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ConvolverNode`*" ] pub fn create_convolver ( & self , ) -> Result < ConvolverNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_delay_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < DelayNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDelay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createDelay)\n\n*This API requires the following crate features to be activated: `AudioContext`, `DelayNode`*" ] pub fn create_delay ( & self , ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_delay_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_delay_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDelay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createDelay)\n\n*This API requires the following crate features to be activated: `AudioContext`, `DelayNode`*" ] pub fn create_delay ( & self , ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_delay_with_max_delay_time_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DelayNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDelay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createDelay)\n\n*This API requires the following crate features to be activated: `AudioContext`, `DelayNode`*" ] pub fn create_delay_with_max_delay_time ( & self , max_delay_time : f64 ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_delay_with_max_delay_time_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max_delay_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let max_delay_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max_delay_time , & mut __stack ) ; __widl_f_create_delay_with_max_delay_time_AudioContext ( self_ , max_delay_time , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDelay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createDelay)\n\n*This API requires the following crate features to be activated: `AudioContext`, `DelayNode`*" ] pub fn create_delay_with_max_delay_time ( & self , max_delay_time : f64 ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_dynamics_compressor_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < DynamicsCompressorNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDynamicsCompressor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createDynamicsCompressor)\n\n*This API requires the following crate features to be activated: `AudioContext`, `DynamicsCompressorNode`*" ] pub fn create_dynamics_compressor ( & self , ) -> Result < DynamicsCompressorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_dynamics_compressor_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DynamicsCompressorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_dynamics_compressor_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DynamicsCompressorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDynamicsCompressor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createDynamicsCompressor)\n\n*This API requires the following crate features to be activated: `AudioContext`, `DynamicsCompressorNode`*" ] pub fn create_dynamics_compressor ( & self , ) -> Result < DynamicsCompressorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_gain_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < GainNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createGain()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createGain)\n\n*This API requires the following crate features to be activated: `AudioContext`, `GainNode`*" ] pub fn create_gain ( & self , ) -> Result < GainNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_gain_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < GainNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_gain_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < GainNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createGain()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createGain)\n\n*This API requires the following crate features to be activated: `AudioContext`, `GainNode`*" ] pub fn create_gain ( & self , ) -> Result < GainNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_oscillator_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < OscillatorNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createOscillator()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createOscillator)\n\n*This API requires the following crate features to be activated: `AudioContext`, `OscillatorNode`*" ] pub fn create_oscillator ( & self , ) -> Result < OscillatorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_oscillator_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < OscillatorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_oscillator_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < OscillatorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createOscillator()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createOscillator)\n\n*This API requires the following crate features to be activated: `AudioContext`, `OscillatorNode`*" ] pub fn create_oscillator ( & self , ) -> Result < OscillatorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_panner_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < PannerNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPanner()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createPanner)\n\n*This API requires the following crate features to be activated: `AudioContext`, `PannerNode`*" ] pub fn create_panner ( & self , ) -> Result < PannerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_panner_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_panner_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPanner()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createPanner)\n\n*This API requires the following crate features to be activated: `AudioContext`, `PannerNode`*" ] pub fn create_panner ( & self , ) -> Result < PannerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_periodic_wave_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < PeriodicWave as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createPeriodicWave)\n\n*This API requires the following crate features to be activated: `AudioContext`, `PeriodicWave`*" ] pub fn create_periodic_wave ( & self , real : & mut [ f32 ] , imag : & mut [ f32 ] ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_periodic_wave_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , real : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , imag : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let real = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( real , & mut __stack ) ; let imag = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( imag , & mut __stack ) ; __widl_f_create_periodic_wave_AudioContext ( self_ , real , imag , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createPeriodicWave)\n\n*This API requires the following crate features to be activated: `AudioContext`, `PeriodicWave`*" ] pub fn create_periodic_wave ( & self , real : & mut [ f32 ] , imag : & mut [ f32 ] ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_periodic_wave_with_constraints_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < & PeriodicWaveConstraints as WasmDescribe > :: describe ( ) ; < PeriodicWave as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createPeriodicWave)\n\n*This API requires the following crate features to be activated: `AudioContext`, `PeriodicWave`, `PeriodicWaveConstraints`*" ] pub fn create_periodic_wave_with_constraints ( & self , real : & mut [ f32 ] , imag : & mut [ f32 ] , constraints : & PeriodicWaveConstraints ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_periodic_wave_with_constraints_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , real : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , imag : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , constraints : < & PeriodicWaveConstraints as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let real = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( real , & mut __stack ) ; let imag = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( imag , & mut __stack ) ; let constraints = < & PeriodicWaveConstraints as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( constraints , & mut __stack ) ; __widl_f_create_periodic_wave_with_constraints_AudioContext ( self_ , real , imag , constraints , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createPeriodicWave)\n\n*This API requires the following crate features to be activated: `AudioContext`, `PeriodicWave`, `PeriodicWaveConstraints`*" ] pub fn create_periodic_wave_with_constraints ( & self , real : & mut [ f32 ] , imag : & mut [ f32 ] , constraints : & PeriodicWaveConstraints ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_script_processor_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < ScriptProcessorNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor ( & self , ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_script_processor_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_script_processor_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor ( & self , ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_script_processor_with_buffer_size_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ScriptProcessorNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size ( & self , buffer_size : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_script_processor_with_buffer_size_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer_size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer_size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer_size , & mut __stack ) ; __widl_f_create_script_processor_with_buffer_size_AudioContext ( self_ , buffer_size , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size ( & self , buffer_size : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ScriptProcessorNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size_and_number_of_input_channels ( & self , buffer_size : u32 , number_of_input_channels : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer_size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_input_channels : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer_size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer_size , & mut __stack ) ; let number_of_input_channels = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_input_channels , & mut __stack ) ; __widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_AudioContext ( self_ , buffer_size , number_of_input_channels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size_and_number_of_input_channels ( & self , buffer_size : u32 , number_of_input_channels : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ScriptProcessorNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels ( & self , buffer_size : u32 , number_of_input_channels : u32 , number_of_output_channels : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer_size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_input_channels : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_output_channels : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer_size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer_size , & mut __stack ) ; let number_of_input_channels = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_input_channels , & mut __stack ) ; let number_of_output_channels = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_output_channels , & mut __stack ) ; __widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels_AudioContext ( self_ , buffer_size , number_of_input_channels , number_of_output_channels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `AudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels ( & self , buffer_size : u32 , number_of_input_channels : u32 , number_of_output_channels : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_stereo_panner_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < StereoPannerNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createStereoPanner()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createStereoPanner)\n\n*This API requires the following crate features to be activated: `AudioContext`, `StereoPannerNode`*" ] pub fn create_stereo_panner ( & self , ) -> Result < StereoPannerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_stereo_panner_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < StereoPannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_stereo_panner_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < StereoPannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createStereoPanner()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createStereoPanner)\n\n*This API requires the following crate features to be activated: `AudioContext`, `StereoPannerNode`*" ] pub fn create_stereo_panner ( & self , ) -> Result < StereoPannerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_wave_shaper_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < WaveShaperNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createWaveShaper()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createWaveShaper)\n\n*This API requires the following crate features to be activated: `AudioContext`, `WaveShaperNode`*" ] pub fn create_wave_shaper ( & self , ) -> Result < WaveShaperNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_wave_shaper_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WaveShaperNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_wave_shaper_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WaveShaperNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createWaveShaper()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createWaveShaper)\n\n*This API requires the following crate features to be activated: `AudioContext`, `WaveShaperNode`*" ] pub fn create_wave_shaper ( & self , ) -> Result < WaveShaperNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_audio_data_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn decode_audio_data ( & self , audio_data : & :: js_sys :: ArrayBuffer ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_audio_data_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , audio_data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let audio_data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( audio_data , & mut __stack ) ; __widl_f_decode_audio_data_AudioContext ( self_ , audio_data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn decode_audio_data ( & self , audio_data : & :: js_sys :: ArrayBuffer ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_audio_data_with_success_callback_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn decode_audio_data_with_success_callback ( & self , audio_data : & :: js_sys :: ArrayBuffer , success_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_audio_data_with_success_callback_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , audio_data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let audio_data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( audio_data , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; __widl_f_decode_audio_data_with_success_callback_AudioContext ( self_ , audio_data , success_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn decode_audio_data_with_success_callback ( & self , audio_data : & :: js_sys :: ArrayBuffer , success_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_audio_data_with_success_callback_and_error_callback_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn decode_audio_data_with_success_callback_and_error_callback ( & self , audio_data : & :: js_sys :: ArrayBuffer , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_audio_data_with_success_callback_and_error_callback_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , audio_data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let audio_data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( audio_data , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_decode_audio_data_with_success_callback_and_error_callback_AudioContext ( self_ , audio_data , success_callback , error_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn decode_audio_data_with_success_callback_and_error_callback ( & self , audio_data : & :: js_sys :: ArrayBuffer , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_resume_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `resume()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/resume)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn resume ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_resume_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_resume_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `resume()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/resume)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn resume ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_destination_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < AudioDestinationNode as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `destination` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/destination)\n\n*This API requires the following crate features to be activated: `AudioContext`, `AudioDestinationNode`*" ] pub fn destination ( & self , ) -> AudioDestinationNode { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_destination_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioDestinationNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_destination_AudioContext ( self_ ) } ; < AudioDestinationNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `destination` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/destination)\n\n*This API requires the following crate features to be activated: `AudioContext`, `AudioDestinationNode`*" ] pub fn destination ( & self , ) -> AudioDestinationNode { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sample_rate_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sampleRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/sampleRate)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn sample_rate ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sample_rate_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sample_rate_AudioContext ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sampleRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/sampleRate)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn sample_rate ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_time_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/currentTime)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn current_time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_time_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_time_AudioContext ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/currentTime)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn current_time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_listener_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < AudioListener as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `listener` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/listener)\n\n*This API requires the following crate features to be activated: `AudioContext`, `AudioListener`*" ] pub fn listener ( & self , ) -> AudioListener { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_listener_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioListener as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_listener_AudioContext ( self_ ) } ; < AudioListener as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `listener` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/listener)\n\n*This API requires the following crate features to be activated: `AudioContext`, `AudioListener`*" ] pub fn listener ( & self , ) -> AudioListener { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_state_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < AudioContextState as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/state)\n\n*This API requires the following crate features to be activated: `AudioContext`, `AudioContextState`*" ] pub fn state ( & self , ) -> AudioContextState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_state_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioContextState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_state_AudioContext ( self_ ) } ; < AudioContextState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/state)\n\n*This API requires the following crate features to be activated: `AudioContext`, `AudioContextState`*" ] pub fn state ( & self , ) -> AudioContextState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_audio_worklet_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < AudioWorklet as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `audioWorklet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/audioWorklet)\n\n*This API requires the following crate features to be activated: `AudioContext`, `AudioWorklet`*" ] pub fn audio_worklet ( & self , ) -> Result < AudioWorklet , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_audio_worklet_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioWorklet as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_audio_worklet_AudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioWorklet as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `audioWorklet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/audioWorklet)\n\n*This API requires the following crate features to be activated: `AudioContext`, `AudioWorklet`*" ] pub fn audio_worklet ( & self , ) -> Result < AudioWorklet , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstatechange_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/onstatechange)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstatechange_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstatechange_AudioContext ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/onstatechange)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstatechange_AudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/onstatechange)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstatechange_AudioContext ( self_ : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstatechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstatechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstatechange , & mut __stack ) ; __widl_f_set_onstatechange_AudioContext ( self_ , onstatechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/onstatechange)\n\n*This API requires the following crate features to be activated: `AudioContext`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioDestinationNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDestinationNode)\n\n*This API requires the following crate features to be activated: `AudioDestinationNode`*" ] # [ repr ( transparent ) ] pub struct AudioDestinationNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioDestinationNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioDestinationNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioDestinationNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioDestinationNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioDestinationNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioDestinationNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioDestinationNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioDestinationNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioDestinationNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioDestinationNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioDestinationNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioDestinationNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioDestinationNode { # [ inline ] fn from ( obj : JsValue ) -> AudioDestinationNode { AudioDestinationNode { obj } } } impl AsRef < JsValue > for AudioDestinationNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioDestinationNode > for JsValue { # [ inline ] fn from ( obj : AudioDestinationNode ) -> JsValue { obj . obj } } impl JsCast for AudioDestinationNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioDestinationNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioDestinationNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioDestinationNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioDestinationNode ) } } } ( ) } ; impl core :: ops :: Deref for AudioDestinationNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < AudioDestinationNode > for AudioNode { # [ inline ] fn from ( obj : AudioDestinationNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for AudioDestinationNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioDestinationNode > for EventTarget { # [ inline ] fn from ( obj : AudioDestinationNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for AudioDestinationNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioDestinationNode > for Object { # [ inline ] fn from ( obj : AudioDestinationNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioDestinationNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_channel_count_AudioDestinationNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioDestinationNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl AudioDestinationNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxChannelCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDestinationNode/maxChannelCount)\n\n*This API requires the following crate features to be activated: `AudioDestinationNode`*" ] pub fn max_channel_count ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_channel_count_AudioDestinationNode ( self_ : < & AudioDestinationNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioDestinationNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_channel_count_AudioDestinationNode ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxChannelCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioDestinationNode/maxChannelCount)\n\n*This API requires the following crate features to be activated: `AudioDestinationNode`*" ] pub fn max_channel_count ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioListener` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] # [ repr ( transparent ) ] pub struct AudioListener { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioListener : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioListener { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioListener { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioListener { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioListener { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioListener { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioListener { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioListener { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioListener { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioListener { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioListener > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioListener { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioListener { # [ inline ] fn from ( obj : JsValue ) -> AudioListener { AudioListener { obj } } } impl AsRef < JsValue > for AudioListener { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioListener > for JsValue { # [ inline ] fn from ( obj : AudioListener ) -> JsValue { obj . obj } } impl JsCast for AudioListener { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioListener ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioListener ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioListener { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioListener ) } } } ( ) } ; impl core :: ops :: Deref for AudioListener { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < AudioListener > for Object { # [ inline ] fn from ( obj : AudioListener ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioListener { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_orientation_AudioListener ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & AudioListener as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioListener { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setOrientation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setOrientation)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn set_orientation ( & self , x : f64 , y : f64 , z : f64 , x_up : f64 , y_up : f64 , z_up : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_orientation_AudioListener ( self_ : < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x_up : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y_up : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z_up : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let x_up = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x_up , & mut __stack ) ; let y_up = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y_up , & mut __stack ) ; let z_up = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z_up , & mut __stack ) ; __widl_f_set_orientation_AudioListener ( self_ , x , y , z , x_up , y_up , z_up ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setOrientation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setOrientation)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn set_orientation ( & self , x : f64 , y : f64 , z : f64 , x_up : f64 , y_up : f64 , z_up : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_position_AudioListener ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & AudioListener as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioListener { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setPosition()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setPosition)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn set_position ( & self , x : f64 , y : f64 , z : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_position_AudioListener ( self_ : < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_set_position_AudioListener ( self_ , x , y , z ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setPosition()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setPosition)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn set_position ( & self , x : f64 , y : f64 , z : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_velocity_AudioListener ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & AudioListener as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioListener { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setVelocity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setVelocity)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn set_velocity ( & self , x : f64 , y : f64 , z : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_velocity_AudioListener ( self_ : < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_set_velocity_AudioListener ( self_ , x , y , z ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setVelocity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setVelocity)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn set_velocity ( & self , x : f64 , y : f64 , z : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_doppler_factor_AudioListener ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioListener as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl AudioListener { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dopplerFactor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/dopplerFactor)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn doppler_factor ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_doppler_factor_AudioListener ( self_ : < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_doppler_factor_AudioListener ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dopplerFactor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/dopplerFactor)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn doppler_factor ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_doppler_factor_AudioListener ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioListener as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioListener { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dopplerFactor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/dopplerFactor)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn set_doppler_factor ( & self , doppler_factor : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_doppler_factor_AudioListener ( self_ : < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , doppler_factor : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let doppler_factor = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( doppler_factor , & mut __stack ) ; __widl_f_set_doppler_factor_AudioListener ( self_ , doppler_factor ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dopplerFactor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/dopplerFactor)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn set_doppler_factor ( & self , doppler_factor : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_speed_of_sound_AudioListener ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioListener as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl AudioListener { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `speedOfSound` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/speedOfSound)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn speed_of_sound ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_speed_of_sound_AudioListener ( self_ : < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_speed_of_sound_AudioListener ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `speedOfSound` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/speedOfSound)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn speed_of_sound ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_speed_of_sound_AudioListener ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioListener as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioListener { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `speedOfSound` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/speedOfSound)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn set_speed_of_sound ( & self , speed_of_sound : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_speed_of_sound_AudioListener ( self_ : < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , speed_of_sound : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let speed_of_sound = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( speed_of_sound , & mut __stack ) ; __widl_f_set_speed_of_sound_AudioListener ( self_ , speed_of_sound ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `speedOfSound` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/speedOfSound)\n\n*This API requires the following crate features to be activated: `AudioListener`*" ] pub fn set_speed_of_sound ( & self , speed_of_sound : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] # [ repr ( transparent ) ] pub struct AudioNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioNode { # [ inline ] fn from ( obj : JsValue ) -> AudioNode { AudioNode { obj } } } impl AsRef < JsValue > for AudioNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioNode > for JsValue { # [ inline ] fn from ( obj : AudioNode ) -> JsValue { obj . obj } } impl JsCast for AudioNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioNode ) } } } ( ) } ; impl core :: ops :: Deref for AudioNode { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < AudioNode > for EventTarget { # [ inline ] fn from ( obj : AudioNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for AudioNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioNode > for Object { # [ inline ] fn from ( obj : AudioNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connect_with_audio_node_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < AudioNode as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn connect_with_audio_node ( & self , destination : & AudioNode ) -> Result < AudioNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connect_with_audio_node_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , destination : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let destination = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( destination , & mut __stack ) ; __widl_f_connect_with_audio_node_AudioNode ( self_ , destination , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn connect_with_audio_node ( & self , destination : & AudioNode ) -> Result < AudioNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connect_with_audio_node_and_output_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < AudioNode as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn connect_with_audio_node_and_output ( & self , destination : & AudioNode , output : u32 ) -> Result < AudioNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connect_with_audio_node_and_output_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , destination : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , output : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let destination = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( destination , & mut __stack ) ; let output = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( output , & mut __stack ) ; __widl_f_connect_with_audio_node_and_output_AudioNode ( self_ , destination , output , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn connect_with_audio_node_and_output ( & self , destination : & AudioNode , output : u32 ) -> Result < AudioNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connect_with_audio_node_and_output_and_input_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < AudioNode as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn connect_with_audio_node_and_output_and_input ( & self , destination : & AudioNode , output : u32 , input : u32 ) -> Result < AudioNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connect_with_audio_node_and_output_and_input_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , destination : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , output : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let destination = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( destination , & mut __stack ) ; let output = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( output , & mut __stack ) ; let input = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; __widl_f_connect_with_audio_node_and_output_and_input_AudioNode ( self_ , destination , output , input , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn connect_with_audio_node_and_output_and_input ( & self , destination : & AudioNode , output : u32 , input : u32 ) -> Result < AudioNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connect_with_audio_param_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)\n\n*This API requires the following crate features to be activated: `AudioNode`, `AudioParam`*" ] pub fn connect_with_audio_param ( & self , destination : & AudioParam ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connect_with_audio_param_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , destination : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let destination = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( destination , & mut __stack ) ; __widl_f_connect_with_audio_param_AudioNode ( self_ , destination , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)\n\n*This API requires the following crate features to be activated: `AudioNode`, `AudioParam`*" ] pub fn connect_with_audio_param ( & self , destination : & AudioParam ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connect_with_audio_param_and_output_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)\n\n*This API requires the following crate features to be activated: `AudioNode`, `AudioParam`*" ] pub fn connect_with_audio_param_and_output ( & self , destination : & AudioParam , output : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connect_with_audio_param_and_output_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , destination : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , output : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let destination = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( destination , & mut __stack ) ; let output = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( output , & mut __stack ) ; __widl_f_connect_with_audio_param_and_output_AudioNode ( self_ , destination , output , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect)\n\n*This API requires the following crate features to be activated: `AudioNode`, `AudioParam`*" ] pub fn connect_with_audio_param_and_output ( & self , destination : & AudioParam , output : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disconnect_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn disconnect ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disconnect_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disconnect_AudioNode ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn disconnect ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disconnect_with_output_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn disconnect_with_output ( & self , output : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disconnect_with_output_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , output : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let output = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( output , & mut __stack ) ; __widl_f_disconnect_with_output_AudioNode ( self_ , output , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn disconnect_with_output ( & self , output : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disconnect_with_audio_node_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn disconnect_with_audio_node ( & self , destination : & AudioNode ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disconnect_with_audio_node_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , destination : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let destination = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( destination , & mut __stack ) ; __widl_f_disconnect_with_audio_node_AudioNode ( self_ , destination , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn disconnect_with_audio_node ( & self , destination : & AudioNode ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disconnect_with_audio_node_and_output_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn disconnect_with_audio_node_and_output ( & self , destination : & AudioNode , output : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disconnect_with_audio_node_and_output_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , destination : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , output : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let destination = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( destination , & mut __stack ) ; let output = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( output , & mut __stack ) ; __widl_f_disconnect_with_audio_node_and_output_AudioNode ( self_ , destination , output , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn disconnect_with_audio_node_and_output ( & self , destination : & AudioNode , output : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disconnect_with_audio_node_and_output_and_input_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn disconnect_with_audio_node_and_output_and_input ( & self , destination : & AudioNode , output : u32 , input : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disconnect_with_audio_node_and_output_and_input_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , destination : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , output : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let destination = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( destination , & mut __stack ) ; let output = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( output , & mut __stack ) ; let input = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; __widl_f_disconnect_with_audio_node_and_output_and_input_AudioNode ( self_ , destination , output , input , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn disconnect_with_audio_node_and_output_and_input ( & self , destination : & AudioNode , output : u32 , input : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disconnect_with_audio_param_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`, `AudioParam`*" ] pub fn disconnect_with_audio_param ( & self , destination : & AudioParam ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disconnect_with_audio_param_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , destination : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let destination = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( destination , & mut __stack ) ; __widl_f_disconnect_with_audio_param_AudioNode ( self_ , destination , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`, `AudioParam`*" ] pub fn disconnect_with_audio_param ( & self , destination : & AudioParam ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disconnect_with_audio_param_and_output_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`, `AudioParam`*" ] pub fn disconnect_with_audio_param_and_output ( & self , destination : & AudioParam , output : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disconnect_with_audio_param_and_output_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , destination : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , output : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let destination = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( destination , & mut __stack ) ; let output = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( output , & mut __stack ) ; __widl_f_disconnect_with_audio_param_and_output_AudioNode ( self_ , destination , output , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect)\n\n*This API requires the following crate features to be activated: `AudioNode`, `AudioParam`*" ] pub fn disconnect_with_audio_param_and_output ( & self , destination : & AudioParam , output : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_context_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < BaseAudioContext as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `context` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/context)\n\n*This API requires the following crate features to be activated: `AudioNode`, `BaseAudioContext`*" ] pub fn context ( & self , ) -> BaseAudioContext { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_context_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < BaseAudioContext as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_context_AudioNode ( self_ ) } ; < BaseAudioContext as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `context` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/context)\n\n*This API requires the following crate features to be activated: `AudioNode`, `BaseAudioContext`*" ] pub fn context ( & self , ) -> BaseAudioContext { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_number_of_inputs_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `numberOfInputs` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/numberOfInputs)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn number_of_inputs ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_number_of_inputs_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_number_of_inputs_AudioNode ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `numberOfInputs` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/numberOfInputs)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn number_of_inputs ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_number_of_outputs_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `numberOfOutputs` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/numberOfOutputs)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn number_of_outputs ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_number_of_outputs_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_number_of_outputs_AudioNode ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `numberOfOutputs` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/numberOfOutputs)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn number_of_outputs ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_channel_count_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `channelCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCount)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn channel_count ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_channel_count_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_channel_count_AudioNode ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `channelCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCount)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn channel_count ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_channel_count_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `channelCount` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCount)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn set_channel_count ( & self , channel_count : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_channel_count_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , channel_count : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let channel_count = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( channel_count , & mut __stack ) ; __widl_f_set_channel_count_AudioNode ( self_ , channel_count ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `channelCount` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCount)\n\n*This API requires the following crate features to be activated: `AudioNode`*" ] pub fn set_channel_count ( & self , channel_count : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_channel_count_mode_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < ChannelCountMode as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `channelCountMode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCountMode)\n\n*This API requires the following crate features to be activated: `AudioNode`, `ChannelCountMode`*" ] pub fn channel_count_mode ( & self , ) -> ChannelCountMode { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_channel_count_mode_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ChannelCountMode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_channel_count_mode_AudioNode ( self_ ) } ; < ChannelCountMode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `channelCountMode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCountMode)\n\n*This API requires the following crate features to be activated: `AudioNode`, `ChannelCountMode`*" ] pub fn channel_count_mode ( & self , ) -> ChannelCountMode { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_channel_count_mode_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < ChannelCountMode as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `channelCountMode` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCountMode)\n\n*This API requires the following crate features to be activated: `AudioNode`, `ChannelCountMode`*" ] pub fn set_channel_count_mode ( & self , channel_count_mode : ChannelCountMode ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_channel_count_mode_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , channel_count_mode : < ChannelCountMode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let channel_count_mode = < ChannelCountMode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( channel_count_mode , & mut __stack ) ; __widl_f_set_channel_count_mode_AudioNode ( self_ , channel_count_mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `channelCountMode` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCountMode)\n\n*This API requires the following crate features to be activated: `AudioNode`, `ChannelCountMode`*" ] pub fn set_channel_count_mode ( & self , channel_count_mode : ChannelCountMode ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_channel_interpretation_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < ChannelInterpretation as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `channelInterpretation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelInterpretation)\n\n*This API requires the following crate features to be activated: `AudioNode`, `ChannelInterpretation`*" ] pub fn channel_interpretation ( & self , ) -> ChannelInterpretation { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_channel_interpretation_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ChannelInterpretation as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_channel_interpretation_AudioNode ( self_ ) } ; < ChannelInterpretation as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `channelInterpretation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelInterpretation)\n\n*This API requires the following crate features to be activated: `AudioNode`, `ChannelInterpretation`*" ] pub fn channel_interpretation ( & self , ) -> ChannelInterpretation { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_channel_interpretation_AudioNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < ChannelInterpretation as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `channelInterpretation` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelInterpretation)\n\n*This API requires the following crate features to be activated: `AudioNode`, `ChannelInterpretation`*" ] pub fn set_channel_interpretation ( & self , channel_interpretation : ChannelInterpretation ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_channel_interpretation_AudioNode ( self_ : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , channel_interpretation : < ChannelInterpretation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let channel_interpretation = < ChannelInterpretation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( channel_interpretation , & mut __stack ) ; __widl_f_set_channel_interpretation_AudioNode ( self_ , channel_interpretation ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `channelInterpretation` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelInterpretation)\n\n*This API requires the following crate features to be activated: `AudioNode`, `ChannelInterpretation`*" ] pub fn set_channel_interpretation ( & self , channel_interpretation : ChannelInterpretation ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioParam` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] # [ repr ( transparent ) ] pub struct AudioParam { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioParam : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioParam { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioParam { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioParam { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioParam { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioParam { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioParam { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioParam { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioParam { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioParam { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioParam > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioParam { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioParam { # [ inline ] fn from ( obj : JsValue ) -> AudioParam { AudioParam { obj } } } impl AsRef < JsValue > for AudioParam { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioParam > for JsValue { # [ inline ] fn from ( obj : AudioParam ) -> JsValue { obj . obj } } impl JsCast for AudioParam { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioParam ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioParam ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioParam { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioParam ) } } } ( ) } ; impl core :: ops :: Deref for AudioParam { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < AudioParam > for Object { # [ inline ] fn from ( obj : AudioParam ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioParam { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cancel_scheduled_values_AudioParam ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl AudioParam { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cancelScheduledValues()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/cancelScheduledValues)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn cancel_scheduled_values ( & self , start_time : f64 ) -> Result < AudioParam , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cancel_scheduled_values_AudioParam ( self_ : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_time , & mut __stack ) ; __widl_f_cancel_scheduled_values_AudioParam ( self_ , start_time , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cancelScheduledValues()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/cancelScheduledValues)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn cancel_scheduled_values ( & self , start_time : f64 ) -> Result < AudioParam , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exponential_ramp_to_value_at_time_AudioParam ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl AudioParam { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `exponentialRampToValueAtTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/exponentialRampToValueAtTime)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn exponential_ramp_to_value_at_time ( & self , value : f32 , end_time : f64 ) -> Result < AudioParam , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exponential_ramp_to_value_at_time_AudioParam ( self_ : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; let end_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end_time , & mut __stack ) ; __widl_f_exponential_ramp_to_value_at_time_AudioParam ( self_ , value , end_time , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `exponentialRampToValueAtTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/exponentialRampToValueAtTime)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn exponential_ramp_to_value_at_time ( & self , value : f32 , end_time : f64 ) -> Result < AudioParam , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_linear_ramp_to_value_at_time_AudioParam ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl AudioParam { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `linearRampToValueAtTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/linearRampToValueAtTime)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn linear_ramp_to_value_at_time ( & self , value : f32 , end_time : f64 ) -> Result < AudioParam , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_linear_ramp_to_value_at_time_AudioParam ( self_ : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; let end_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end_time , & mut __stack ) ; __widl_f_linear_ramp_to_value_at_time_AudioParam ( self_ , value , end_time , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `linearRampToValueAtTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/linearRampToValueAtTime)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn linear_ramp_to_value_at_time ( & self , value : f32 , end_time : f64 ) -> Result < AudioParam , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_target_at_time_AudioParam ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl AudioParam { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTargetAtTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setTargetAtTime)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn set_target_at_time ( & self , target : f32 , start_time : f64 , time_constant : f64 ) -> Result < AudioParam , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_target_at_time_AudioParam ( self_ : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , time_constant : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let start_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_time , & mut __stack ) ; let time_constant = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( time_constant , & mut __stack ) ; __widl_f_set_target_at_time_AudioParam ( self_ , target , start_time , time_constant , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTargetAtTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setTargetAtTime)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn set_target_at_time ( & self , target : f32 , start_time : f64 , time_constant : f64 ) -> Result < AudioParam , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_at_time_AudioParam ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl AudioParam { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setValueAtTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setValueAtTime)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn set_value_at_time ( & self , value : f32 , start_time : f64 ) -> Result < AudioParam , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_at_time_AudioParam ( self_ : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; let start_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_time , & mut __stack ) ; __widl_f_set_value_at_time_AudioParam ( self_ , value , start_time , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setValueAtTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setValueAtTime)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn set_value_at_time ( & self , value : f32 , start_time : f64 ) -> Result < AudioParam , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_curve_at_time_AudioParam ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl AudioParam { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setValueCurveAtTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setValueCurveAtTime)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn set_value_curve_at_time ( & self , values : & mut [ f32 ] , start_time : f64 , duration : f64 ) -> Result < AudioParam , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_curve_at_time_AudioParam ( self_ : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , duration : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let values = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; let start_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_time , & mut __stack ) ; let duration = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( duration , & mut __stack ) ; __widl_f_set_value_curve_at_time_AudioParam ( self_ , values , start_time , duration , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setValueCurveAtTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setValueCurveAtTime)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn set_value_curve_at_time ( & self , values : & mut [ f32 ] , start_time : f64 , duration : f64 ) -> Result < AudioParam , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_AudioParam ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl AudioParam { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/value)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn value ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_AudioParam ( self_ : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_AudioParam ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/value)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn value ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_AudioParam ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioParam { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/value)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn set_value ( & self , value : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_AudioParam ( self_ : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_AudioParam ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/value)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn set_value ( & self , value : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_value_AudioParam ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl AudioParam { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/defaultValue)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn default_value ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_value_AudioParam ( self_ : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_value_AudioParam ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/defaultValue)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn default_value ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_min_value_AudioParam ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl AudioParam { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `minValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/minValue)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn min_value ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_min_value_AudioParam ( self_ : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_min_value_AudioParam ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `minValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/minValue)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn min_value ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_value_AudioParam ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioParam as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl AudioParam { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/maxValue)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn max_value ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_value_AudioParam ( self_ : < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioParam as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_value_AudioParam ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/maxValue)\n\n*This API requires the following crate features to be activated: `AudioParam`*" ] pub fn max_value ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioParamMap` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap)\n\n*This API requires the following crate features to be activated: `AudioParamMap`*" ] # [ repr ( transparent ) ] pub struct AudioParamMap { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioParamMap : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioParamMap { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioParamMap { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioParamMap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioParamMap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioParamMap { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioParamMap { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioParamMap { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioParamMap { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioParamMap { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioParamMap > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioParamMap { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioParamMap { # [ inline ] fn from ( obj : JsValue ) -> AudioParamMap { AudioParamMap { obj } } } impl AsRef < JsValue > for AudioParamMap { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioParamMap > for JsValue { # [ inline ] fn from ( obj : AudioParamMap ) -> JsValue { obj . obj } } impl JsCast for AudioParamMap { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioParamMap ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioParamMap ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioParamMap { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioParamMap ) } } } ( ) } ; impl core :: ops :: Deref for AudioParamMap { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < AudioParamMap > for Object { # [ inline ] fn from ( obj : AudioParamMap ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioParamMap { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioProcessingEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent)\n\n*This API requires the following crate features to be activated: `AudioProcessingEvent`*" ] # [ repr ( transparent ) ] pub struct AudioProcessingEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioProcessingEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioProcessingEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioProcessingEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioProcessingEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioProcessingEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioProcessingEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioProcessingEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioProcessingEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioProcessingEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioProcessingEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioProcessingEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioProcessingEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioProcessingEvent { # [ inline ] fn from ( obj : JsValue ) -> AudioProcessingEvent { AudioProcessingEvent { obj } } } impl AsRef < JsValue > for AudioProcessingEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioProcessingEvent > for JsValue { # [ inline ] fn from ( obj : AudioProcessingEvent ) -> JsValue { obj . obj } } impl JsCast for AudioProcessingEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioProcessingEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioProcessingEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioProcessingEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioProcessingEvent ) } } } ( ) } ; impl core :: ops :: Deref for AudioProcessingEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < AudioProcessingEvent > for Event { # [ inline ] fn from ( obj : AudioProcessingEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for AudioProcessingEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioProcessingEvent > for Object { # [ inline ] fn from ( obj : AudioProcessingEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioProcessingEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_playback_time_AudioProcessingEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioProcessingEvent as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl AudioProcessingEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `playbackTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent/playbackTime)\n\n*This API requires the following crate features to be activated: `AudioProcessingEvent`*" ] pub fn playback_time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_playback_time_AudioProcessingEvent ( self_ : < & AudioProcessingEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioProcessingEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_playback_time_AudioProcessingEvent ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `playbackTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent/playbackTime)\n\n*This API requires the following crate features to be activated: `AudioProcessingEvent`*" ] pub fn playback_time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_input_buffer_AudioProcessingEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioProcessingEvent as WasmDescribe > :: describe ( ) ; < AudioBuffer as WasmDescribe > :: describe ( ) ; } impl AudioProcessingEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `inputBuffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent/inputBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `AudioProcessingEvent`*" ] pub fn input_buffer ( & self , ) -> Result < AudioBuffer , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_input_buffer_AudioProcessingEvent ( self_ : < & AudioProcessingEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioProcessingEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_input_buffer_AudioProcessingEvent ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `inputBuffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent/inputBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `AudioProcessingEvent`*" ] pub fn input_buffer ( & self , ) -> Result < AudioBuffer , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_output_buffer_AudioProcessingEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioProcessingEvent as WasmDescribe > :: describe ( ) ; < AudioBuffer as WasmDescribe > :: describe ( ) ; } impl AudioProcessingEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `outputBuffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent/outputBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `AudioProcessingEvent`*" ] pub fn output_buffer ( & self , ) -> Result < AudioBuffer , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_output_buffer_AudioProcessingEvent ( self_ : < & AudioProcessingEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioProcessingEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_output_buffer_AudioProcessingEvent ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `outputBuffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioProcessingEvent/outputBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `AudioProcessingEvent`*" ] pub fn output_buffer ( & self , ) -> Result < AudioBuffer , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ deprecated ( note = "doesn't exist in Safari, use parent class methods instead" ) ] # [ doc = "The `AudioScheduledSourceNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode)\n\n*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*" ] # [ repr ( transparent ) ] pub struct AudioScheduledSourceNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioScheduledSourceNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioScheduledSourceNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioScheduledSourceNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioScheduledSourceNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioScheduledSourceNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioScheduledSourceNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioScheduledSourceNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioScheduledSourceNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioScheduledSourceNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioScheduledSourceNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioScheduledSourceNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioScheduledSourceNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioScheduledSourceNode { # [ inline ] fn from ( obj : JsValue ) -> AudioScheduledSourceNode { AudioScheduledSourceNode { obj } } } impl AsRef < JsValue > for AudioScheduledSourceNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioScheduledSourceNode > for JsValue { # [ inline ] fn from ( obj : AudioScheduledSourceNode ) -> JsValue { obj . obj } } impl JsCast for AudioScheduledSourceNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioScheduledSourceNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioScheduledSourceNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioScheduledSourceNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioScheduledSourceNode ) } } } ( ) } ; impl core :: ops :: Deref for AudioScheduledSourceNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < AudioScheduledSourceNode > for AudioNode { # [ inline ] fn from ( obj : AudioScheduledSourceNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for AudioScheduledSourceNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioScheduledSourceNode > for EventTarget { # [ inline ] fn from ( obj : AudioScheduledSourceNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for AudioScheduledSourceNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioScheduledSourceNode > for Object { # [ inline ] fn from ( obj : AudioScheduledSourceNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioScheduledSourceNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_AudioScheduledSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioScheduledSourceNode as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioScheduledSourceNode { # [ deprecated ( note = "doesn't exist in Safari, use parent class methods instead" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/start)\n\n*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*" ] pub fn start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_AudioScheduledSourceNode ( self_ : < & AudioScheduledSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioScheduledSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_AudioScheduledSourceNode ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use parent class methods instead" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/start)\n\n*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*" ] pub fn start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_with_when_AudioScheduledSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioScheduledSourceNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioScheduledSourceNode { # [ deprecated ( note = "doesn't exist in Safari, use parent class methods instead" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/start)\n\n*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*" ] pub fn start_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_with_when_AudioScheduledSourceNode ( self_ : < & AudioScheduledSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , when : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioScheduledSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let when = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( when , & mut __stack ) ; __widl_f_start_with_when_AudioScheduledSourceNode ( self_ , when , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use parent class methods instead" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/start)\n\n*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*" ] pub fn start_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_AudioScheduledSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioScheduledSourceNode as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioScheduledSourceNode { # [ deprecated ( note = "doesn't exist in Safari, use parent class methods instead" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/stop)\n\n*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*" ] pub fn stop ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_AudioScheduledSourceNode ( self_ : < & AudioScheduledSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioScheduledSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stop_AudioScheduledSourceNode ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use parent class methods instead" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/stop)\n\n*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*" ] pub fn stop ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_with_when_AudioScheduledSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioScheduledSourceNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioScheduledSourceNode { # [ deprecated ( note = "doesn't exist in Safari, use parent class methods instead" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/stop)\n\n*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*" ] pub fn stop_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_with_when_AudioScheduledSourceNode ( self_ : < & AudioScheduledSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , when : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioScheduledSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let when = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( when , & mut __stack ) ; __widl_f_stop_with_when_AudioScheduledSourceNode ( self_ , when , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use parent class methods instead" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/stop)\n\n*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*" ] pub fn stop_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onended_AudioScheduledSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioScheduledSourceNode as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl AudioScheduledSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/onended)\n\n*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onended_AudioScheduledSourceNode ( self_ : < & AudioScheduledSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioScheduledSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onended_AudioScheduledSourceNode ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/onended)\n\n*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onended_AudioScheduledSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioScheduledSourceNode as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioScheduledSourceNode { # [ deprecated ( note = "doesn't exist in Safari, use parent class methods instead" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/onended)\n\n*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onended_AudioScheduledSourceNode ( self_ : < & AudioScheduledSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onended : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioScheduledSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onended = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onended , & mut __stack ) ; __widl_f_set_onended_AudioScheduledSourceNode ( self_ , onended ) } ; ( ) } } # [ deprecated ( note = "doesn't exist in Safari, use parent class methods instead" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/onended)\n\n*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioStreamTrack` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioStreamTrack)\n\n*This API requires the following crate features to be activated: `AudioStreamTrack`*" ] # [ repr ( transparent ) ] pub struct AudioStreamTrack { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioStreamTrack : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioStreamTrack { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioStreamTrack { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioStreamTrack { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioStreamTrack { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioStreamTrack { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioStreamTrack { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioStreamTrack { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioStreamTrack { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioStreamTrack { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioStreamTrack > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioStreamTrack { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioStreamTrack { # [ inline ] fn from ( obj : JsValue ) -> AudioStreamTrack { AudioStreamTrack { obj } } } impl AsRef < JsValue > for AudioStreamTrack { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioStreamTrack > for JsValue { # [ inline ] fn from ( obj : AudioStreamTrack ) -> JsValue { obj . obj } } impl JsCast for AudioStreamTrack { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioStreamTrack ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioStreamTrack ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioStreamTrack { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioStreamTrack ) } } } ( ) } ; impl core :: ops :: Deref for AudioStreamTrack { type Target = MediaStreamTrack ; # [ inline ] fn deref ( & self ) -> & MediaStreamTrack { self . as_ref ( ) } } impl From < AudioStreamTrack > for MediaStreamTrack { # [ inline ] fn from ( obj : AudioStreamTrack ) -> MediaStreamTrack { use wasm_bindgen :: JsCast ; MediaStreamTrack :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < MediaStreamTrack > for AudioStreamTrack { # [ inline ] fn as_ref ( & self ) -> & MediaStreamTrack { use wasm_bindgen :: JsCast ; MediaStreamTrack :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioStreamTrack > for EventTarget { # [ inline ] fn from ( obj : AudioStreamTrack ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for AudioStreamTrack { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioStreamTrack > for Object { # [ inline ] fn from ( obj : AudioStreamTrack ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioStreamTrack { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioTrack` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack)\n\n*This API requires the following crate features to be activated: `AudioTrack`*" ] # [ repr ( transparent ) ] pub struct AudioTrack { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioTrack : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioTrack { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioTrack { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioTrack { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioTrack { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioTrack { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioTrack { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioTrack { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioTrack { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioTrack { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioTrack > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioTrack { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioTrack { # [ inline ] fn from ( obj : JsValue ) -> AudioTrack { AudioTrack { obj } } } impl AsRef < JsValue > for AudioTrack { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioTrack > for JsValue { # [ inline ] fn from ( obj : AudioTrack ) -> JsValue { obj . obj } } impl JsCast for AudioTrack { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioTrack ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioTrack ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioTrack { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioTrack ) } } } ( ) } ; impl core :: ops :: Deref for AudioTrack { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < AudioTrack > for Object { # [ inline ] fn from ( obj : AudioTrack ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioTrack { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_AudioTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl AudioTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/id)\n\n*This API requires the following crate features to be activated: `AudioTrack`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_AudioTrack ( self_ : < & AudioTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_AudioTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/id)\n\n*This API requires the following crate features to be activated: `AudioTrack`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kind_AudioTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl AudioTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/kind)\n\n*This API requires the following crate features to be activated: `AudioTrack`*" ] pub fn kind ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kind_AudioTrack ( self_ : < & AudioTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kind_AudioTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/kind)\n\n*This API requires the following crate features to be activated: `AudioTrack`*" ] pub fn kind ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_label_AudioTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl AudioTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/label)\n\n*This API requires the following crate features to be activated: `AudioTrack`*" ] pub fn label ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_label_AudioTrack ( self_ : < & AudioTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_label_AudioTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/label)\n\n*This API requires the following crate features to be activated: `AudioTrack`*" ] pub fn label ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_language_AudioTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl AudioTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `language` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/language)\n\n*This API requires the following crate features to be activated: `AudioTrack`*" ] pub fn language ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_language_AudioTrack ( self_ : < & AudioTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_language_AudioTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `language` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/language)\n\n*This API requires the following crate features to be activated: `AudioTrack`*" ] pub fn language ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_enabled_AudioTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioTrack as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl AudioTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/enabled)\n\n*This API requires the following crate features to be activated: `AudioTrack`*" ] pub fn enabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_enabled_AudioTrack ( self_ : < & AudioTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_enabled_AudioTrack ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/enabled)\n\n*This API requires the following crate features to be activated: `AudioTrack`*" ] pub fn enabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_enabled_AudioTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioTrack as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/enabled)\n\n*This API requires the following crate features to be activated: `AudioTrack`*" ] pub fn set_enabled ( & self , enabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_enabled_AudioTrack ( self_ : < & AudioTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , enabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let enabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( enabled , & mut __stack ) ; __widl_f_set_enabled_AudioTrack ( self_ , enabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack/enabled)\n\n*This API requires the following crate features to be activated: `AudioTrack`*" ] pub fn set_enabled ( & self , enabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioTrackList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] # [ repr ( transparent ) ] pub struct AudioTrackList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioTrackList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioTrackList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioTrackList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioTrackList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioTrackList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioTrackList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioTrackList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioTrackList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioTrackList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioTrackList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioTrackList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioTrackList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioTrackList { # [ inline ] fn from ( obj : JsValue ) -> AudioTrackList { AudioTrackList { obj } } } impl AsRef < JsValue > for AudioTrackList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioTrackList > for JsValue { # [ inline ] fn from ( obj : AudioTrackList ) -> JsValue { obj . obj } } impl JsCast for AudioTrackList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioTrackList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioTrackList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioTrackList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioTrackList ) } } } ( ) } ; impl core :: ops :: Deref for AudioTrackList { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < AudioTrackList > for EventTarget { # [ inline ] fn from ( obj : AudioTrackList ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for AudioTrackList { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioTrackList > for Object { # [ inline ] fn from ( obj : AudioTrackList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioTrackList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_track_by_id_AudioTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioTrackList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < AudioTrack > as WasmDescribe > :: describe ( ) ; } impl AudioTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getTrackById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/getTrackById)\n\n*This API requires the following crate features to be activated: `AudioTrack`, `AudioTrackList`*" ] pub fn get_track_by_id ( & self , id : & str ) -> Option < AudioTrack > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_track_by_id_AudioTrackList ( self_ : < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < AudioTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; __widl_f_get_track_by_id_AudioTrackList ( self_ , id ) } ; < Option < AudioTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getTrackById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/getTrackById)\n\n*This API requires the following crate features to be activated: `AudioTrack`, `AudioTrackList`*" ] pub fn get_track_by_id ( & self , id : & str ) -> Option < AudioTrack > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_AudioTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioTrackList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < AudioTrack as WasmDescribe > :: describe ( ) ; } impl AudioTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `AudioTrack`, `AudioTrackList`*" ] pub fn get ( & self , index : u32 ) -> AudioTrack { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_AudioTrackList ( self_ : < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_AudioTrackList ( self_ , index ) } ; < AudioTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `AudioTrack`, `AudioTrackList`*" ] pub fn get ( & self , index : u32 ) -> AudioTrack { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_AudioTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioTrackList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl AudioTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/length)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_AudioTrackList ( self_ : < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_AudioTrackList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/length)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchange_AudioTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioTrackList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl AudioTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onchange)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchange_AudioTrackList ( self_ : < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchange_AudioTrackList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onchange)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchange_AudioTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioTrackList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onchange)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchange_AudioTrackList ( self_ : < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchange , & mut __stack ) ; __widl_f_set_onchange_AudioTrackList ( self_ , onchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onchange)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onaddtrack_AudioTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioTrackList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl AudioTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddtrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onaddtrack)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn onaddtrack ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onaddtrack_AudioTrackList ( self_ : < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onaddtrack_AudioTrackList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddtrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onaddtrack)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn onaddtrack ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onaddtrack_AudioTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioTrackList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddtrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onaddtrack)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn set_onaddtrack ( & self , onaddtrack : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onaddtrack_AudioTrackList ( self_ : < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onaddtrack : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onaddtrack = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onaddtrack , & mut __stack ) ; __widl_f_set_onaddtrack_AudioTrackList ( self_ , onaddtrack ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddtrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onaddtrack)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn set_onaddtrack ( & self , onaddtrack : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onremovetrack_AudioTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioTrackList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl AudioTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onremovetrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onremovetrack)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn onremovetrack ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onremovetrack_AudioTrackList ( self_ : < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onremovetrack_AudioTrackList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onremovetrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onremovetrack)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn onremovetrack ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onremovetrack_AudioTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioTrackList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onremovetrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onremovetrack)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn set_onremovetrack ( & self , onremovetrack : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onremovetrack_AudioTrackList ( self_ : < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onremovetrack : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onremovetrack = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onremovetrack , & mut __stack ) ; __widl_f_set_onremovetrack_AudioTrackList ( self_ , onremovetrack ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onremovetrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioTrackList/onremovetrack)\n\n*This API requires the following crate features to be activated: `AudioTrackList`*" ] pub fn set_onremovetrack ( & self , onremovetrack : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioWorklet` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorklet)\n\n*This API requires the following crate features to be activated: `AudioWorklet`*" ] # [ repr ( transparent ) ] pub struct AudioWorklet { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioWorklet : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioWorklet { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioWorklet { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioWorklet { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioWorklet { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioWorklet { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioWorklet { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioWorklet { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioWorklet { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioWorklet { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioWorklet > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioWorklet { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioWorklet { # [ inline ] fn from ( obj : JsValue ) -> AudioWorklet { AudioWorklet { obj } } } impl AsRef < JsValue > for AudioWorklet { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioWorklet > for JsValue { # [ inline ] fn from ( obj : AudioWorklet ) -> JsValue { obj . obj } } impl JsCast for AudioWorklet { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioWorklet ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioWorklet ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioWorklet { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioWorklet ) } } } ( ) } ; impl core :: ops :: Deref for AudioWorklet { type Target = Worklet ; # [ inline ] fn deref ( & self ) -> & Worklet { self . as_ref ( ) } } impl From < AudioWorklet > for Worklet { # [ inline ] fn from ( obj : AudioWorklet ) -> Worklet { use wasm_bindgen :: JsCast ; Worklet :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Worklet > for AudioWorklet { # [ inline ] fn as_ref ( & self ) -> & Worklet { use wasm_bindgen :: JsCast ; Worklet :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioWorklet > for Object { # [ inline ] fn from ( obj : AudioWorklet ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioWorklet { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioWorkletGlobalScope` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope)\n\n*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*" ] # [ repr ( transparent ) ] pub struct AudioWorkletGlobalScope { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioWorkletGlobalScope : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioWorkletGlobalScope { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioWorkletGlobalScope { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioWorkletGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioWorkletGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioWorkletGlobalScope { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioWorkletGlobalScope { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioWorkletGlobalScope { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioWorkletGlobalScope { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioWorkletGlobalScope { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioWorkletGlobalScope > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioWorkletGlobalScope { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioWorkletGlobalScope { # [ inline ] fn from ( obj : JsValue ) -> AudioWorkletGlobalScope { AudioWorkletGlobalScope { obj } } } impl AsRef < JsValue > for AudioWorkletGlobalScope { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioWorkletGlobalScope > for JsValue { # [ inline ] fn from ( obj : AudioWorkletGlobalScope ) -> JsValue { obj . obj } } impl JsCast for AudioWorkletGlobalScope { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioWorkletGlobalScope ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioWorkletGlobalScope ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioWorkletGlobalScope { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioWorkletGlobalScope ) } } } ( ) } ; impl core :: ops :: Deref for AudioWorkletGlobalScope { type Target = WorkletGlobalScope ; # [ inline ] fn deref ( & self ) -> & WorkletGlobalScope { self . as_ref ( ) } } impl From < AudioWorkletGlobalScope > for WorkletGlobalScope { # [ inline ] fn from ( obj : AudioWorkletGlobalScope ) -> WorkletGlobalScope { use wasm_bindgen :: JsCast ; WorkletGlobalScope :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < WorkletGlobalScope > for AudioWorkletGlobalScope { # [ inline ] fn as_ref ( & self ) -> & WorkletGlobalScope { use wasm_bindgen :: JsCast ; WorkletGlobalScope :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioWorkletGlobalScope > for Object { # [ inline ] fn from ( obj : AudioWorkletGlobalScope ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioWorkletGlobalScope { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_register_processor_AudioWorkletGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioWorkletGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioWorkletGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `registerProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/registerProcessor)\n\n*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*" ] pub fn register_processor ( & self , name : & str , processor_ctor : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_register_processor_AudioWorkletGlobalScope ( self_ : < & AudioWorkletGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , processor_ctor : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioWorkletGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let processor_ctor = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( processor_ctor , & mut __stack ) ; __widl_f_register_processor_AudioWorkletGlobalScope ( self_ , name , processor_ctor ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `registerProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/registerProcessor)\n\n*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*" ] pub fn register_processor ( & self , name : & str , processor_ctor : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_frame_AudioWorkletGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioWorkletGlobalScope as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl AudioWorkletGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentFrame` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/currentFrame)\n\n*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*" ] pub fn current_frame ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_frame_AudioWorkletGlobalScope ( self_ : < & AudioWorkletGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioWorkletGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_frame_AudioWorkletGlobalScope ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentFrame` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/currentFrame)\n\n*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*" ] pub fn current_frame ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_time_AudioWorkletGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioWorkletGlobalScope as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl AudioWorkletGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/currentTime)\n\n*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*" ] pub fn current_time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_time_AudioWorkletGlobalScope ( self_ : < & AudioWorkletGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioWorkletGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_time_AudioWorkletGlobalScope ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/currentTime)\n\n*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*" ] pub fn current_time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sample_rate_AudioWorkletGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioWorkletGlobalScope as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl AudioWorkletGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sampleRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/sampleRate)\n\n*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*" ] pub fn sample_rate ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sample_rate_AudioWorkletGlobalScope ( self_ : < & AudioWorkletGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioWorkletGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sample_rate_AudioWorkletGlobalScope ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sampleRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/sampleRate)\n\n*This API requires the following crate features to be activated: `AudioWorkletGlobalScope`*" ] pub fn sample_rate ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioWorkletNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode)\n\n*This API requires the following crate features to be activated: `AudioWorkletNode`*" ] # [ repr ( transparent ) ] pub struct AudioWorkletNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioWorkletNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioWorkletNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioWorkletNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioWorkletNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioWorkletNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioWorkletNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioWorkletNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioWorkletNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioWorkletNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioWorkletNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioWorkletNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioWorkletNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioWorkletNode { # [ inline ] fn from ( obj : JsValue ) -> AudioWorkletNode { AudioWorkletNode { obj } } } impl AsRef < JsValue > for AudioWorkletNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioWorkletNode > for JsValue { # [ inline ] fn from ( obj : AudioWorkletNode ) -> JsValue { obj . obj } } impl JsCast for AudioWorkletNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioWorkletNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioWorkletNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioWorkletNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioWorkletNode ) } } } ( ) } ; impl core :: ops :: Deref for AudioWorkletNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < AudioWorkletNode > for AudioNode { # [ inline ] fn from ( obj : AudioWorkletNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for AudioWorkletNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioWorkletNode > for EventTarget { # [ inline ] fn from ( obj : AudioWorkletNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for AudioWorkletNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AudioWorkletNode > for Object { # [ inline ] fn from ( obj : AudioWorkletNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioWorkletNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_AudioWorkletNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < AudioWorkletNode as WasmDescribe > :: describe ( ) ; } impl AudioWorkletNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AudioWorkletNode(..)` constructor, creating a new instance of `AudioWorkletNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/AudioWorkletNode)\n\n*This API requires the following crate features to be activated: `AudioWorkletNode`, `BaseAudioContext`*" ] pub fn new ( context : & BaseAudioContext , name : & str ) -> Result < AudioWorkletNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_AudioWorkletNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioWorkletNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_new_AudioWorkletNode ( context , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioWorkletNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AudioWorkletNode(..)` constructor, creating a new instance of `AudioWorkletNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/AudioWorkletNode)\n\n*This API requires the following crate features to be activated: `AudioWorkletNode`, `BaseAudioContext`*" ] pub fn new ( context : & BaseAudioContext , name : & str ) -> Result < AudioWorkletNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_AudioWorkletNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & AudioWorkletNodeOptions as WasmDescribe > :: describe ( ) ; < AudioWorkletNode as WasmDescribe > :: describe ( ) ; } impl AudioWorkletNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AudioWorkletNode(..)` constructor, creating a new instance of `AudioWorkletNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/AudioWorkletNode)\n\n*This API requires the following crate features to be activated: `AudioWorkletNode`, `AudioWorkletNodeOptions`, `BaseAudioContext`*" ] pub fn new_with_options ( context : & BaseAudioContext , name : & str , options : & AudioWorkletNodeOptions ) -> Result < AudioWorkletNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_AudioWorkletNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & AudioWorkletNodeOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioWorkletNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let options = < & AudioWorkletNodeOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_AudioWorkletNode ( context , name , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioWorkletNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AudioWorkletNode(..)` constructor, creating a new instance of `AudioWorkletNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/AudioWorkletNode)\n\n*This API requires the following crate features to be activated: `AudioWorkletNode`, `AudioWorkletNodeOptions`, `BaseAudioContext`*" ] pub fn new_with_options ( context : & BaseAudioContext , name : & str , options : & AudioWorkletNodeOptions ) -> Result < AudioWorkletNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_parameters_AudioWorkletNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioWorkletNode as WasmDescribe > :: describe ( ) ; < AudioParamMap as WasmDescribe > :: describe ( ) ; } impl AudioWorkletNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `parameters` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/parameters)\n\n*This API requires the following crate features to be activated: `AudioParamMap`, `AudioWorkletNode`*" ] pub fn parameters ( & self , ) -> Result < AudioParamMap , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_parameters_AudioWorkletNode ( self_ : < & AudioWorkletNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioParamMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioWorkletNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_parameters_AudioWorkletNode ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioParamMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `parameters` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/parameters)\n\n*This API requires the following crate features to be activated: `AudioParamMap`, `AudioWorkletNode`*" ] pub fn parameters ( & self , ) -> Result < AudioParamMap , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_port_AudioWorkletNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioWorkletNode as WasmDescribe > :: describe ( ) ; < MessagePort as WasmDescribe > :: describe ( ) ; } impl AudioWorkletNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/port)\n\n*This API requires the following crate features to be activated: `AudioWorkletNode`, `MessagePort`*" ] pub fn port ( & self , ) -> Result < MessagePort , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_port_AudioWorkletNode ( self_ : < & AudioWorkletNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MessagePort as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioWorkletNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_port_AudioWorkletNode ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MessagePort as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/port)\n\n*This API requires the following crate features to be activated: `AudioWorkletNode`, `MessagePort`*" ] pub fn port ( & self , ) -> Result < MessagePort , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onprocessorerror_AudioWorkletNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioWorkletNode as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl AudioWorkletNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprocessorerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/onprocessorerror)\n\n*This API requires the following crate features to be activated: `AudioWorkletNode`*" ] pub fn onprocessorerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onprocessorerror_AudioWorkletNode ( self_ : < & AudioWorkletNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioWorkletNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onprocessorerror_AudioWorkletNode ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprocessorerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/onprocessorerror)\n\n*This API requires the following crate features to be activated: `AudioWorkletNode`*" ] pub fn onprocessorerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onprocessorerror_AudioWorkletNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioWorkletNode as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl AudioWorkletNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprocessorerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/onprocessorerror)\n\n*This API requires the following crate features to be activated: `AudioWorkletNode`*" ] pub fn set_onprocessorerror ( & self , onprocessorerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onprocessorerror_AudioWorkletNode ( self_ : < & AudioWorkletNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onprocessorerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioWorkletNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onprocessorerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onprocessorerror , & mut __stack ) ; __widl_f_set_onprocessorerror_AudioWorkletNode ( self_ , onprocessorerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprocessorerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletNode/onprocessorerror)\n\n*This API requires the following crate features to be activated: `AudioWorkletNode`*" ] pub fn set_onprocessorerror ( & self , onprocessorerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AudioWorkletProcessor` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor)\n\n*This API requires the following crate features to be activated: `AudioWorkletProcessor`*" ] # [ repr ( transparent ) ] pub struct AudioWorkletProcessor { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AudioWorkletProcessor : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AudioWorkletProcessor { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AudioWorkletProcessor { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AudioWorkletProcessor { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AudioWorkletProcessor { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AudioWorkletProcessor { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AudioWorkletProcessor { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AudioWorkletProcessor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AudioWorkletProcessor { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AudioWorkletProcessor { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AudioWorkletProcessor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AudioWorkletProcessor { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AudioWorkletProcessor { # [ inline ] fn from ( obj : JsValue ) -> AudioWorkletProcessor { AudioWorkletProcessor { obj } } } impl AsRef < JsValue > for AudioWorkletProcessor { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AudioWorkletProcessor > for JsValue { # [ inline ] fn from ( obj : AudioWorkletProcessor ) -> JsValue { obj . obj } } impl JsCast for AudioWorkletProcessor { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AudioWorkletProcessor ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AudioWorkletProcessor ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioWorkletProcessor { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioWorkletProcessor ) } } } ( ) } ; impl core :: ops :: Deref for AudioWorkletProcessor { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < AudioWorkletProcessor > for Object { # [ inline ] fn from ( obj : AudioWorkletProcessor ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AudioWorkletProcessor { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_AudioWorkletProcessor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < AudioWorkletProcessor as WasmDescribe > :: describe ( ) ; } impl AudioWorkletProcessor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AudioWorkletProcessor(..)` constructor, creating a new instance of `AudioWorkletProcessor`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor/AudioWorkletProcessor)\n\n*This API requires the following crate features to be activated: `AudioWorkletProcessor`*" ] pub fn new ( ) -> Result < AudioWorkletProcessor , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_AudioWorkletProcessor ( exn_data_ptr : * mut u32 ) -> < AudioWorkletProcessor as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_AudioWorkletProcessor ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioWorkletProcessor as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AudioWorkletProcessor(..)` constructor, creating a new instance of `AudioWorkletProcessor`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor/AudioWorkletProcessor)\n\n*This API requires the following crate features to be activated: `AudioWorkletProcessor`*" ] pub fn new ( ) -> Result < AudioWorkletProcessor , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_AudioWorkletProcessor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioWorkletNodeOptions as WasmDescribe > :: describe ( ) ; < AudioWorkletProcessor as WasmDescribe > :: describe ( ) ; } impl AudioWorkletProcessor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new AudioWorkletProcessor(..)` constructor, creating a new instance of `AudioWorkletProcessor`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor/AudioWorkletProcessor)\n\n*This API requires the following crate features to be activated: `AudioWorkletNodeOptions`, `AudioWorkletProcessor`*" ] pub fn new_with_options ( options : & AudioWorkletNodeOptions ) -> Result < AudioWorkletProcessor , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_AudioWorkletProcessor ( options : < & AudioWorkletNodeOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioWorkletProcessor as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let options = < & AudioWorkletNodeOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_AudioWorkletProcessor ( options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioWorkletProcessor as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new AudioWorkletProcessor(..)` constructor, creating a new instance of `AudioWorkletProcessor`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor/AudioWorkletProcessor)\n\n*This API requires the following crate features to be activated: `AudioWorkletNodeOptions`, `AudioWorkletProcessor`*" ] pub fn new_with_options ( options : & AudioWorkletNodeOptions ) -> Result < AudioWorkletProcessor , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_port_AudioWorkletProcessor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioWorkletProcessor as WasmDescribe > :: describe ( ) ; < MessagePort as WasmDescribe > :: describe ( ) ; } impl AudioWorkletProcessor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor/port)\n\n*This API requires the following crate features to be activated: `AudioWorkletProcessor`, `MessagePort`*" ] pub fn port ( & self , ) -> Result < MessagePort , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_port_AudioWorkletProcessor ( self_ : < & AudioWorkletProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MessagePort as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AudioWorkletProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_port_AudioWorkletProcessor ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MessagePort as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor/port)\n\n*This API requires the following crate features to be activated: `AudioWorkletProcessor`, `MessagePort`*" ] pub fn port ( & self , ) -> Result < MessagePort , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AuthenticatorAssertionResponse` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse)\n\n*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*" ] # [ repr ( transparent ) ] pub struct AuthenticatorAssertionResponse { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AuthenticatorAssertionResponse : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AuthenticatorAssertionResponse { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AuthenticatorAssertionResponse { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AuthenticatorAssertionResponse { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AuthenticatorAssertionResponse { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AuthenticatorAssertionResponse { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AuthenticatorAssertionResponse { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AuthenticatorAssertionResponse { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AuthenticatorAssertionResponse { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AuthenticatorAssertionResponse { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AuthenticatorAssertionResponse > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AuthenticatorAssertionResponse { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AuthenticatorAssertionResponse { # [ inline ] fn from ( obj : JsValue ) -> AuthenticatorAssertionResponse { AuthenticatorAssertionResponse { obj } } } impl AsRef < JsValue > for AuthenticatorAssertionResponse { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AuthenticatorAssertionResponse > for JsValue { # [ inline ] fn from ( obj : AuthenticatorAssertionResponse ) -> JsValue { obj . obj } } impl JsCast for AuthenticatorAssertionResponse { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AuthenticatorAssertionResponse ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AuthenticatorAssertionResponse ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AuthenticatorAssertionResponse { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AuthenticatorAssertionResponse ) } } } ( ) } ; impl core :: ops :: Deref for AuthenticatorAssertionResponse { type Target = AuthenticatorResponse ; # [ inline ] fn deref ( & self ) -> & AuthenticatorResponse { self . as_ref ( ) } } impl From < AuthenticatorAssertionResponse > for AuthenticatorResponse { # [ inline ] fn from ( obj : AuthenticatorAssertionResponse ) -> AuthenticatorResponse { use wasm_bindgen :: JsCast ; AuthenticatorResponse :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AuthenticatorResponse > for AuthenticatorAssertionResponse { # [ inline ] fn as_ref ( & self ) -> & AuthenticatorResponse { use wasm_bindgen :: JsCast ; AuthenticatorResponse :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AuthenticatorAssertionResponse > for Object { # [ inline ] fn from ( obj : AuthenticatorAssertionResponse ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AuthenticatorAssertionResponse { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_authenticator_data_AuthenticatorAssertionResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AuthenticatorAssertionResponse as WasmDescribe > :: describe ( ) ; < :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; } impl AuthenticatorAssertionResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `authenticatorData` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/authenticatorData)\n\n*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*" ] pub fn authenticator_data ( & self , ) -> :: js_sys :: ArrayBuffer { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_authenticator_data_AuthenticatorAssertionResponse ( self_ : < & AuthenticatorAssertionResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AuthenticatorAssertionResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_authenticator_data_AuthenticatorAssertionResponse ( self_ ) } ; < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `authenticatorData` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/authenticatorData)\n\n*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*" ] pub fn authenticator_data ( & self , ) -> :: js_sys :: ArrayBuffer { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_signature_AuthenticatorAssertionResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AuthenticatorAssertionResponse as WasmDescribe > :: describe ( ) ; < :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; } impl AuthenticatorAssertionResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `signature` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/signature)\n\n*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*" ] pub fn signature ( & self , ) -> :: js_sys :: ArrayBuffer { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_signature_AuthenticatorAssertionResponse ( self_ : < & AuthenticatorAssertionResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AuthenticatorAssertionResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_signature_AuthenticatorAssertionResponse ( self_ ) } ; < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `signature` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/signature)\n\n*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*" ] pub fn signature ( & self , ) -> :: js_sys :: ArrayBuffer { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_user_handle_AuthenticatorAssertionResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AuthenticatorAssertionResponse as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: ArrayBuffer > as WasmDescribe > :: describe ( ) ; } impl AuthenticatorAssertionResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `userHandle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/userHandle)\n\n*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*" ] pub fn user_handle ( & self , ) -> Option < :: js_sys :: ArrayBuffer > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_user_handle_AuthenticatorAssertionResponse ( self_ : < & AuthenticatorAssertionResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AuthenticatorAssertionResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_user_handle_AuthenticatorAssertionResponse ( self_ ) } ; < Option < :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `userHandle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/userHandle)\n\n*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*" ] pub fn user_handle ( & self , ) -> Option < :: js_sys :: ArrayBuffer > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AuthenticatorAttestationResponse` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAttestationResponse)\n\n*This API requires the following crate features to be activated: `AuthenticatorAttestationResponse`*" ] # [ repr ( transparent ) ] pub struct AuthenticatorAttestationResponse { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AuthenticatorAttestationResponse : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AuthenticatorAttestationResponse { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AuthenticatorAttestationResponse { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AuthenticatorAttestationResponse { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AuthenticatorAttestationResponse { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AuthenticatorAttestationResponse { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AuthenticatorAttestationResponse { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AuthenticatorAttestationResponse { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AuthenticatorAttestationResponse { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AuthenticatorAttestationResponse { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AuthenticatorAttestationResponse > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AuthenticatorAttestationResponse { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AuthenticatorAttestationResponse { # [ inline ] fn from ( obj : JsValue ) -> AuthenticatorAttestationResponse { AuthenticatorAttestationResponse { obj } } } impl AsRef < JsValue > for AuthenticatorAttestationResponse { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AuthenticatorAttestationResponse > for JsValue { # [ inline ] fn from ( obj : AuthenticatorAttestationResponse ) -> JsValue { obj . obj } } impl JsCast for AuthenticatorAttestationResponse { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AuthenticatorAttestationResponse ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AuthenticatorAttestationResponse ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AuthenticatorAttestationResponse { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AuthenticatorAttestationResponse ) } } } ( ) } ; impl core :: ops :: Deref for AuthenticatorAttestationResponse { type Target = AuthenticatorResponse ; # [ inline ] fn deref ( & self ) -> & AuthenticatorResponse { self . as_ref ( ) } } impl From < AuthenticatorAttestationResponse > for AuthenticatorResponse { # [ inline ] fn from ( obj : AuthenticatorAttestationResponse ) -> AuthenticatorResponse { use wasm_bindgen :: JsCast ; AuthenticatorResponse :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AuthenticatorResponse > for AuthenticatorAttestationResponse { # [ inline ] fn as_ref ( & self ) -> & AuthenticatorResponse { use wasm_bindgen :: JsCast ; AuthenticatorResponse :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < AuthenticatorAttestationResponse > for Object { # [ inline ] fn from ( obj : AuthenticatorAttestationResponse ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AuthenticatorAttestationResponse { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_attestation_object_AuthenticatorAttestationResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AuthenticatorAttestationResponse as WasmDescribe > :: describe ( ) ; < :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; } impl AuthenticatorAttestationResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `attestationObject` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAttestationResponse/attestationObject)\n\n*This API requires the following crate features to be activated: `AuthenticatorAttestationResponse`*" ] pub fn attestation_object ( & self , ) -> :: js_sys :: ArrayBuffer { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_attestation_object_AuthenticatorAttestationResponse ( self_ : < & AuthenticatorAttestationResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AuthenticatorAttestationResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_attestation_object_AuthenticatorAttestationResponse ( self_ ) } ; < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `attestationObject` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAttestationResponse/attestationObject)\n\n*This API requires the following crate features to be activated: `AuthenticatorAttestationResponse`*" ] pub fn attestation_object ( & self , ) -> :: js_sys :: ArrayBuffer { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `AuthenticatorResponse` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorResponse)\n\n*This API requires the following crate features to be activated: `AuthenticatorResponse`*" ] # [ repr ( transparent ) ] pub struct AuthenticatorResponse { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_AuthenticatorResponse : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for AuthenticatorResponse { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for AuthenticatorResponse { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for AuthenticatorResponse { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a AuthenticatorResponse { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for AuthenticatorResponse { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { AuthenticatorResponse { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for AuthenticatorResponse { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a AuthenticatorResponse { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for AuthenticatorResponse { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < AuthenticatorResponse > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( AuthenticatorResponse { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for AuthenticatorResponse { # [ inline ] fn from ( obj : JsValue ) -> AuthenticatorResponse { AuthenticatorResponse { obj } } } impl AsRef < JsValue > for AuthenticatorResponse { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < AuthenticatorResponse > for JsValue { # [ inline ] fn from ( obj : AuthenticatorResponse ) -> JsValue { obj . obj } } impl JsCast for AuthenticatorResponse { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_AuthenticatorResponse ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_AuthenticatorResponse ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AuthenticatorResponse { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AuthenticatorResponse ) } } } ( ) } ; impl core :: ops :: Deref for AuthenticatorResponse { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < AuthenticatorResponse > for Object { # [ inline ] fn from ( obj : AuthenticatorResponse ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for AuthenticatorResponse { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_client_data_json_AuthenticatorResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AuthenticatorResponse as WasmDescribe > :: describe ( ) ; < :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; } impl AuthenticatorResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clientDataJSON` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorResponse/clientDataJSON)\n\n*This API requires the following crate features to be activated: `AuthenticatorResponse`*" ] pub fn client_data_json ( & self , ) -> :: js_sys :: ArrayBuffer { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_client_data_json_AuthenticatorResponse ( self_ : < & AuthenticatorResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & AuthenticatorResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_client_data_json_AuthenticatorResponse ( self_ ) } ; < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clientDataJSON` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorResponse/clientDataJSON)\n\n*This API requires the following crate features to be activated: `AuthenticatorResponse`*" ] pub fn client_data_json ( & self , ) -> :: js_sys :: ArrayBuffer { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `BarProp` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BarProp)\n\n*This API requires the following crate features to be activated: `BarProp`*" ] # [ repr ( transparent ) ] pub struct BarProp { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_BarProp : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for BarProp { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for BarProp { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for BarProp { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a BarProp { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for BarProp { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { BarProp { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for BarProp { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a BarProp { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for BarProp { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < BarProp > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( BarProp { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for BarProp { # [ inline ] fn from ( obj : JsValue ) -> BarProp { BarProp { obj } } } impl AsRef < JsValue > for BarProp { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < BarProp > for JsValue { # [ inline ] fn from ( obj : BarProp ) -> JsValue { obj . obj } } impl JsCast for BarProp { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_BarProp ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_BarProp ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BarProp { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BarProp ) } } } ( ) } ; impl core :: ops :: Deref for BarProp { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < BarProp > for Object { # [ inline ] fn from ( obj : BarProp ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for BarProp { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_visible_BarProp ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BarProp as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl BarProp { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `visible` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BarProp/visible)\n\n*This API requires the following crate features to be activated: `BarProp`*" ] pub fn visible ( & self , ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_visible_BarProp ( self_ : < & BarProp as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BarProp as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_visible_BarProp ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `visible` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BarProp/visible)\n\n*This API requires the following crate features to be activated: `BarProp`*" ] pub fn visible ( & self , ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_visible_BarProp ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BarProp as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BarProp { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `visible` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BarProp/visible)\n\n*This API requires the following crate features to be activated: `BarProp`*" ] pub fn set_visible ( & self , visible : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_visible_BarProp ( self_ : < & BarProp as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , visible : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BarProp as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let visible = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( visible , & mut __stack ) ; __widl_f_set_visible_BarProp ( self_ , visible , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `visible` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BarProp/visible)\n\n*This API requires the following crate features to be activated: `BarProp`*" ] pub fn set_visible ( & self , visible : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ doc = "The `BaseAudioContext` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] # [ repr ( transparent ) ] pub struct BaseAudioContext { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_BaseAudioContext : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for BaseAudioContext { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for BaseAudioContext { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for BaseAudioContext { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a BaseAudioContext { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for BaseAudioContext { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { BaseAudioContext { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for BaseAudioContext { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a BaseAudioContext { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for BaseAudioContext { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < BaseAudioContext > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( BaseAudioContext { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for BaseAudioContext { # [ inline ] fn from ( obj : JsValue ) -> BaseAudioContext { BaseAudioContext { obj } } } impl AsRef < JsValue > for BaseAudioContext { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < BaseAudioContext > for JsValue { # [ inline ] fn from ( obj : BaseAudioContext ) -> JsValue { obj . obj } } impl JsCast for BaseAudioContext { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_BaseAudioContext ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_BaseAudioContext ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BaseAudioContext { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BaseAudioContext ) } } } ( ) } ; impl core :: ops :: Deref for BaseAudioContext { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < BaseAudioContext > for EventTarget { # [ inline ] fn from ( obj : BaseAudioContext ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for BaseAudioContext { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < BaseAudioContext > for Object { # [ inline ] fn from ( obj : BaseAudioContext ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for BaseAudioContext { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_analyser_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < AnalyserNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createAnalyser()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createAnalyser)\n\n*This API requires the following crate features to be activated: `AnalyserNode`, `BaseAudioContext`*" ] pub fn create_analyser ( & self , ) -> Result < AnalyserNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_analyser_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AnalyserNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_analyser_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AnalyserNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createAnalyser()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createAnalyser)\n\n*This API requires the following crate features to be activated: `AnalyserNode`, `BaseAudioContext`*" ] pub fn create_analyser ( & self , ) -> Result < AnalyserNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_biquad_filter_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < BiquadFilterNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBiquadFilter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createBiquadFilter)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `BiquadFilterNode`*" ] pub fn create_biquad_filter ( & self , ) -> Result < BiquadFilterNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_biquad_filter_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BiquadFilterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_biquad_filter_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BiquadFilterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBiquadFilter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createBiquadFilter)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `BiquadFilterNode`*" ] pub fn create_biquad_filter ( & self , ) -> Result < BiquadFilterNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_buffer_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < AudioBuffer as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `BaseAudioContext`*" ] pub fn create_buffer ( & self , number_of_channels : u32 , length : u32 , sample_rate : f32 ) -> Result < AudioBuffer , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_buffer_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_channels : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sample_rate : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let number_of_channels = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_channels , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; let sample_rate = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sample_rate , & mut __stack ) ; __widl_f_create_buffer_BaseAudioContext ( self_ , number_of_channels , length , sample_rate , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `BaseAudioContext`*" ] pub fn create_buffer ( & self , number_of_channels : u32 , length : u32 , sample_rate : f32 ) -> Result < AudioBuffer , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_buffer_source_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBufferSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createBufferSource)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `BaseAudioContext`*" ] pub fn create_buffer_source ( & self , ) -> Result < AudioBufferSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_buffer_source_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioBufferSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_buffer_source_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioBufferSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBufferSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createBufferSource)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `BaseAudioContext`*" ] pub fn create_buffer_source ( & self , ) -> Result < AudioBufferSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_channel_merger_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < ChannelMergerNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createChannelMerger()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelMerger)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelMergerNode`*" ] pub fn create_channel_merger ( & self , ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_channel_merger_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_channel_merger_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createChannelMerger()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelMerger)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelMergerNode`*" ] pub fn create_channel_merger ( & self , ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_channel_merger_with_number_of_inputs_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ChannelMergerNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createChannelMerger()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelMerger)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelMergerNode`*" ] pub fn create_channel_merger_with_number_of_inputs ( & self , number_of_inputs : u32 ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_channel_merger_with_number_of_inputs_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_inputs : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let number_of_inputs = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_inputs , & mut __stack ) ; __widl_f_create_channel_merger_with_number_of_inputs_BaseAudioContext ( self_ , number_of_inputs , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createChannelMerger()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelMerger)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelMergerNode`*" ] pub fn create_channel_merger_with_number_of_inputs ( & self , number_of_inputs : u32 ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_channel_splitter_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < ChannelSplitterNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createChannelSplitter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelSplitter)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelSplitterNode`*" ] pub fn create_channel_splitter ( & self , ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_channel_splitter_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_channel_splitter_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createChannelSplitter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelSplitter)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelSplitterNode`*" ] pub fn create_channel_splitter ( & self , ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_channel_splitter_with_number_of_outputs_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ChannelSplitterNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createChannelSplitter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelSplitter)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelSplitterNode`*" ] pub fn create_channel_splitter_with_number_of_outputs ( & self , number_of_outputs : u32 ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_channel_splitter_with_number_of_outputs_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_outputs : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let number_of_outputs = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_outputs , & mut __stack ) ; __widl_f_create_channel_splitter_with_number_of_outputs_BaseAudioContext ( self_ , number_of_outputs , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createChannelSplitter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createChannelSplitter)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelSplitterNode`*" ] pub fn create_channel_splitter_with_number_of_outputs ( & self , number_of_outputs : u32 ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_constant_source_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < ConstantSourceNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createConstantSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createConstantSource)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ConstantSourceNode`*" ] pub fn create_constant_source ( & self , ) -> Result < ConstantSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_constant_source_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ConstantSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_constant_source_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ConstantSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createConstantSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createConstantSource)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ConstantSourceNode`*" ] pub fn create_constant_source ( & self , ) -> Result < ConstantSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_convolver_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < ConvolverNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createConvolver()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createConvolver)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ConvolverNode`*" ] pub fn create_convolver ( & self , ) -> Result < ConvolverNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_convolver_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ConvolverNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_convolver_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ConvolverNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createConvolver()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createConvolver)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ConvolverNode`*" ] pub fn create_convolver ( & self , ) -> Result < ConvolverNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_delay_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < DelayNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDelay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createDelay)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DelayNode`*" ] pub fn create_delay ( & self , ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_delay_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_delay_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDelay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createDelay)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DelayNode`*" ] pub fn create_delay ( & self , ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_delay_with_max_delay_time_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DelayNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDelay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createDelay)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DelayNode`*" ] pub fn create_delay_with_max_delay_time ( & self , max_delay_time : f64 ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_delay_with_max_delay_time_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max_delay_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let max_delay_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max_delay_time , & mut __stack ) ; __widl_f_create_delay_with_max_delay_time_BaseAudioContext ( self_ , max_delay_time , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDelay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createDelay)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DelayNode`*" ] pub fn create_delay_with_max_delay_time ( & self , max_delay_time : f64 ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_dynamics_compressor_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < DynamicsCompressorNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDynamicsCompressor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createDynamicsCompressor)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DynamicsCompressorNode`*" ] pub fn create_dynamics_compressor ( & self , ) -> Result < DynamicsCompressorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_dynamics_compressor_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DynamicsCompressorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_dynamics_compressor_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DynamicsCompressorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDynamicsCompressor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createDynamicsCompressor)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DynamicsCompressorNode`*" ] pub fn create_dynamics_compressor ( & self , ) -> Result < DynamicsCompressorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_gain_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < GainNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createGain()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createGain)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `GainNode`*" ] pub fn create_gain ( & self , ) -> Result < GainNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_gain_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < GainNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_gain_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < GainNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createGain()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createGain)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `GainNode`*" ] pub fn create_gain ( & self , ) -> Result < GainNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_oscillator_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < OscillatorNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createOscillator()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createOscillator)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `OscillatorNode`*" ] pub fn create_oscillator ( & self , ) -> Result < OscillatorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_oscillator_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < OscillatorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_oscillator_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < OscillatorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createOscillator()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createOscillator)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `OscillatorNode`*" ] pub fn create_oscillator ( & self , ) -> Result < OscillatorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_panner_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < PannerNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPanner()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createPanner)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PannerNode`*" ] pub fn create_panner ( & self , ) -> Result < PannerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_panner_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_panner_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPanner()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createPanner)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PannerNode`*" ] pub fn create_panner ( & self , ) -> Result < PannerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_periodic_wave_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < PeriodicWave as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createPeriodicWave)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PeriodicWave`*" ] pub fn create_periodic_wave ( & self , real : & mut [ f32 ] , imag : & mut [ f32 ] ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_periodic_wave_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , real : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , imag : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let real = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( real , & mut __stack ) ; let imag = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( imag , & mut __stack ) ; __widl_f_create_periodic_wave_BaseAudioContext ( self_ , real , imag , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createPeriodicWave)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PeriodicWave`*" ] pub fn create_periodic_wave ( & self , real : & mut [ f32 ] , imag : & mut [ f32 ] ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_periodic_wave_with_constraints_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < & PeriodicWaveConstraints as WasmDescribe > :: describe ( ) ; < PeriodicWave as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createPeriodicWave)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PeriodicWave`, `PeriodicWaveConstraints`*" ] pub fn create_periodic_wave_with_constraints ( & self , real : & mut [ f32 ] , imag : & mut [ f32 ] , constraints : & PeriodicWaveConstraints ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_periodic_wave_with_constraints_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , real : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , imag : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , constraints : < & PeriodicWaveConstraints as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let real = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( real , & mut __stack ) ; let imag = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( imag , & mut __stack ) ; let constraints = < & PeriodicWaveConstraints as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( constraints , & mut __stack ) ; __widl_f_create_periodic_wave_with_constraints_BaseAudioContext ( self_ , real , imag , constraints , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createPeriodicWave)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PeriodicWave`, `PeriodicWaveConstraints`*" ] pub fn create_periodic_wave_with_constraints ( & self , real : & mut [ f32 ] , imag : & mut [ f32 ] , constraints : & PeriodicWaveConstraints ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_script_processor_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < ScriptProcessorNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor ( & self , ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_script_processor_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_script_processor_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor ( & self , ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_script_processor_with_buffer_size_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ScriptProcessorNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size ( & self , buffer_size : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_script_processor_with_buffer_size_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer_size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer_size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer_size , & mut __stack ) ; __widl_f_create_script_processor_with_buffer_size_BaseAudioContext ( self_ , buffer_size , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size ( & self , buffer_size : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ScriptProcessorNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size_and_number_of_input_channels ( & self , buffer_size : u32 , number_of_input_channels : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer_size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_input_channels : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer_size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer_size , & mut __stack ) ; let number_of_input_channels = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_input_channels , & mut __stack ) ; __widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_BaseAudioContext ( self_ , buffer_size , number_of_input_channels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size_and_number_of_input_channels ( & self , buffer_size : u32 , number_of_input_channels : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ScriptProcessorNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels ( & self , buffer_size : u32 , number_of_input_channels : u32 , number_of_output_channels : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer_size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_input_channels : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_output_channels : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer_size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer_size , & mut __stack ) ; let number_of_input_channels = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_input_channels , & mut __stack ) ; let number_of_output_channels = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_output_channels , & mut __stack ) ; __widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels_BaseAudioContext ( self_ , buffer_size , number_of_input_channels , number_of_output_channels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels ( & self , buffer_size : u32 , number_of_input_channels : u32 , number_of_output_channels : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_stereo_panner_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < StereoPannerNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createStereoPanner()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createStereoPanner)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `StereoPannerNode`*" ] pub fn create_stereo_panner ( & self , ) -> Result < StereoPannerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_stereo_panner_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < StereoPannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_stereo_panner_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < StereoPannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createStereoPanner()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createStereoPanner)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `StereoPannerNode`*" ] pub fn create_stereo_panner ( & self , ) -> Result < StereoPannerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_wave_shaper_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < WaveShaperNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createWaveShaper()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createWaveShaper)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `WaveShaperNode`*" ] pub fn create_wave_shaper ( & self , ) -> Result < WaveShaperNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_wave_shaper_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WaveShaperNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_wave_shaper_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WaveShaperNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createWaveShaper()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createWaveShaper)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `WaveShaperNode`*" ] pub fn create_wave_shaper ( & self , ) -> Result < WaveShaperNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_audio_data_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn decode_audio_data ( & self , audio_data : & :: js_sys :: ArrayBuffer ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_audio_data_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , audio_data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let audio_data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( audio_data , & mut __stack ) ; __widl_f_decode_audio_data_BaseAudioContext ( self_ , audio_data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn decode_audio_data ( & self , audio_data : & :: js_sys :: ArrayBuffer ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_audio_data_with_success_callback_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn decode_audio_data_with_success_callback ( & self , audio_data : & :: js_sys :: ArrayBuffer , success_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_audio_data_with_success_callback_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , audio_data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let audio_data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( audio_data , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; __widl_f_decode_audio_data_with_success_callback_BaseAudioContext ( self_ , audio_data , success_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn decode_audio_data_with_success_callback ( & self , audio_data : & :: js_sys :: ArrayBuffer , success_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_audio_data_with_success_callback_and_error_callback_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn decode_audio_data_with_success_callback_and_error_callback ( & self , audio_data : & :: js_sys :: ArrayBuffer , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_audio_data_with_success_callback_and_error_callback_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , audio_data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let audio_data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( audio_data , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_decode_audio_data_with_success_callback_and_error_callback_BaseAudioContext ( self_ , audio_data , success_callback , error_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn decode_audio_data_with_success_callback_and_error_callback ( & self , audio_data : & :: js_sys :: ArrayBuffer , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_resume_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `resume()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/resume)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn resume ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_resume_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_resume_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `resume()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/resume)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn resume ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_destination_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < AudioDestinationNode as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `destination` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/destination)\n\n*This API requires the following crate features to be activated: `AudioDestinationNode`, `BaseAudioContext`*" ] pub fn destination ( & self , ) -> AudioDestinationNode { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_destination_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioDestinationNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_destination_BaseAudioContext ( self_ ) } ; < AudioDestinationNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `destination` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/destination)\n\n*This API requires the following crate features to be activated: `AudioDestinationNode`, `BaseAudioContext`*" ] pub fn destination ( & self , ) -> AudioDestinationNode { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sample_rate_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sampleRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/sampleRate)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn sample_rate ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sample_rate_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sample_rate_BaseAudioContext ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sampleRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/sampleRate)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn sample_rate ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_time_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/currentTime)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn current_time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_time_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_time_BaseAudioContext ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/currentTime)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn current_time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_listener_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < AudioListener as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `listener` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/listener)\n\n*This API requires the following crate features to be activated: `AudioListener`, `BaseAudioContext`*" ] pub fn listener ( & self , ) -> AudioListener { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_listener_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioListener as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_listener_BaseAudioContext ( self_ ) } ; < AudioListener as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `listener` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/listener)\n\n*This API requires the following crate features to be activated: `AudioListener`, `BaseAudioContext`*" ] pub fn listener ( & self , ) -> AudioListener { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_state_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < AudioContextState as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/state)\n\n*This API requires the following crate features to be activated: `AudioContextState`, `BaseAudioContext`*" ] pub fn state ( & self , ) -> AudioContextState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_state_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioContextState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_state_BaseAudioContext ( self_ ) } ; < AudioContextState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/state)\n\n*This API requires the following crate features to be activated: `AudioContextState`, `BaseAudioContext`*" ] pub fn state ( & self , ) -> AudioContextState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_audio_worklet_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < AudioWorklet as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `audioWorklet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/audioWorklet)\n\n*This API requires the following crate features to be activated: `AudioWorklet`, `BaseAudioContext`*" ] pub fn audio_worklet ( & self , ) -> Result < AudioWorklet , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_audio_worklet_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioWorklet as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_audio_worklet_BaseAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioWorklet as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `audioWorklet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/audioWorklet)\n\n*This API requires the following crate features to be activated: `AudioWorklet`, `BaseAudioContext`*" ] pub fn audio_worklet ( & self , ) -> Result < AudioWorklet , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstatechange_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/onstatechange)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstatechange_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstatechange_BaseAudioContext ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/onstatechange)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstatechange_BaseAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BaseAudioContext { # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/onstatechange)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstatechange_BaseAudioContext ( self_ : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstatechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstatechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstatechange , & mut __stack ) ; __widl_f_set_onstatechange_BaseAudioContext ( self_ , onstatechange ) } ; ( ) } } # [ deprecated ( note = "doesn't exist in Safari, use `AudioContext` instead now" ) ] # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/onstatechange)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `BatteryManager` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] # [ repr ( transparent ) ] pub struct BatteryManager { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_BatteryManager : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for BatteryManager { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for BatteryManager { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for BatteryManager { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a BatteryManager { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for BatteryManager { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { BatteryManager { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for BatteryManager { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a BatteryManager { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for BatteryManager { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < BatteryManager > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( BatteryManager { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for BatteryManager { # [ inline ] fn from ( obj : JsValue ) -> BatteryManager { BatteryManager { obj } } } impl AsRef < JsValue > for BatteryManager { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < BatteryManager > for JsValue { # [ inline ] fn from ( obj : BatteryManager ) -> JsValue { obj . obj } } impl JsCast for BatteryManager { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_BatteryManager ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_BatteryManager ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BatteryManager { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BatteryManager ) } } } ( ) } ; impl core :: ops :: Deref for BatteryManager { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < BatteryManager > for EventTarget { # [ inline ] fn from ( obj : BatteryManager ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for BatteryManager { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < BatteryManager > for Object { # [ inline ] fn from ( obj : BatteryManager ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for BatteryManager { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_charging_BatteryManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BatteryManager as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl BatteryManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `charging` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/charging)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn charging ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_charging_BatteryManager ( self_ : < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_charging_BatteryManager ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `charging` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/charging)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn charging ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_charging_time_BatteryManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BatteryManager as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl BatteryManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `chargingTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/chargingTime)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn charging_time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_charging_time_BatteryManager ( self_ : < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_charging_time_BatteryManager ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `chargingTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/chargingTime)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn charging_time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_discharging_time_BatteryManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BatteryManager as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl BatteryManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dischargingTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/dischargingTime)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn discharging_time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_discharging_time_BatteryManager ( self_ : < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_discharging_time_BatteryManager ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dischargingTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/dischargingTime)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn discharging_time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_level_BatteryManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BatteryManager as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl BatteryManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `level` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/level)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn level ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_level_BatteryManager ( self_ : < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_level_BatteryManager ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `level` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/level)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn level ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchargingchange_BatteryManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BatteryManager as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl BatteryManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchargingchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingchange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn onchargingchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchargingchange_BatteryManager ( self_ : < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchargingchange_BatteryManager ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchargingchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingchange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn onchargingchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchargingchange_BatteryManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BatteryManager as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BatteryManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchargingchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingchange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn set_onchargingchange ( & self , onchargingchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchargingchange_BatteryManager ( self_ : < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchargingchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchargingchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchargingchange , & mut __stack ) ; __widl_f_set_onchargingchange_BatteryManager ( self_ , onchargingchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchargingchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingchange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn set_onchargingchange ( & self , onchargingchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchargingtimechange_BatteryManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BatteryManager as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl BatteryManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchargingtimechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingtimechange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn onchargingtimechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchargingtimechange_BatteryManager ( self_ : < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchargingtimechange_BatteryManager ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchargingtimechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingtimechange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn onchargingtimechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchargingtimechange_BatteryManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BatteryManager as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BatteryManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchargingtimechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingtimechange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn set_onchargingtimechange ( & self , onchargingtimechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchargingtimechange_BatteryManager ( self_ : < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchargingtimechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchargingtimechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchargingtimechange , & mut __stack ) ; __widl_f_set_onchargingtimechange_BatteryManager ( self_ , onchargingtimechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchargingtimechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onchargingtimechange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn set_onchargingtimechange ( & self , onchargingtimechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondischargingtimechange_BatteryManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BatteryManager as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl BatteryManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondischargingtimechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/ondischargingtimechange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn ondischargingtimechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondischargingtimechange_BatteryManager ( self_ : < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondischargingtimechange_BatteryManager ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondischargingtimechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/ondischargingtimechange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn ondischargingtimechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondischargingtimechange_BatteryManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BatteryManager as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BatteryManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondischargingtimechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/ondischargingtimechange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn set_ondischargingtimechange ( & self , ondischargingtimechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondischargingtimechange_BatteryManager ( self_ : < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondischargingtimechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondischargingtimechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondischargingtimechange , & mut __stack ) ; __widl_f_set_ondischargingtimechange_BatteryManager ( self_ , ondischargingtimechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondischargingtimechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/ondischargingtimechange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn set_ondischargingtimechange ( & self , ondischargingtimechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onlevelchange_BatteryManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BatteryManager as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl BatteryManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlevelchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onlevelchange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn onlevelchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onlevelchange_BatteryManager ( self_ : < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onlevelchange_BatteryManager ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlevelchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onlevelchange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn onlevelchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onlevelchange_BatteryManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BatteryManager as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BatteryManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlevelchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onlevelchange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn set_onlevelchange ( & self , onlevelchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onlevelchange_BatteryManager ( self_ : < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onlevelchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BatteryManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onlevelchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onlevelchange , & mut __stack ) ; __widl_f_set_onlevelchange_BatteryManager ( self_ , onlevelchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlevelchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager/onlevelchange)\n\n*This API requires the following crate features to be activated: `BatteryManager`*" ] pub fn set_onlevelchange ( & self , onlevelchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `BeforeUnloadEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BeforeUnloadEvent)\n\n*This API requires the following crate features to be activated: `BeforeUnloadEvent`*" ] # [ repr ( transparent ) ] pub struct BeforeUnloadEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_BeforeUnloadEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for BeforeUnloadEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for BeforeUnloadEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for BeforeUnloadEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a BeforeUnloadEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for BeforeUnloadEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { BeforeUnloadEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for BeforeUnloadEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a BeforeUnloadEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for BeforeUnloadEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < BeforeUnloadEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( BeforeUnloadEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for BeforeUnloadEvent { # [ inline ] fn from ( obj : JsValue ) -> BeforeUnloadEvent { BeforeUnloadEvent { obj } } } impl AsRef < JsValue > for BeforeUnloadEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < BeforeUnloadEvent > for JsValue { # [ inline ] fn from ( obj : BeforeUnloadEvent ) -> JsValue { obj . obj } } impl JsCast for BeforeUnloadEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_BeforeUnloadEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_BeforeUnloadEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BeforeUnloadEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BeforeUnloadEvent ) } } } ( ) } ; impl core :: ops :: Deref for BeforeUnloadEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < BeforeUnloadEvent > for Event { # [ inline ] fn from ( obj : BeforeUnloadEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for BeforeUnloadEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < BeforeUnloadEvent > for Object { # [ inline ] fn from ( obj : BeforeUnloadEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for BeforeUnloadEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_return_value_BeforeUnloadEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BeforeUnloadEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl BeforeUnloadEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `returnValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BeforeUnloadEvent/returnValue)\n\n*This API requires the following crate features to be activated: `BeforeUnloadEvent`*" ] pub fn return_value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_return_value_BeforeUnloadEvent ( self_ : < & BeforeUnloadEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BeforeUnloadEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_return_value_BeforeUnloadEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `returnValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BeforeUnloadEvent/returnValue)\n\n*This API requires the following crate features to be activated: `BeforeUnloadEvent`*" ] pub fn return_value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_return_value_BeforeUnloadEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BeforeUnloadEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BeforeUnloadEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `returnValue` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BeforeUnloadEvent/returnValue)\n\n*This API requires the following crate features to be activated: `BeforeUnloadEvent`*" ] pub fn set_return_value ( & self , return_value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_return_value_BeforeUnloadEvent ( self_ : < & BeforeUnloadEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , return_value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BeforeUnloadEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let return_value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( return_value , & mut __stack ) ; __widl_f_set_return_value_BeforeUnloadEvent ( self_ , return_value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `returnValue` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BeforeUnloadEvent/returnValue)\n\n*This API requires the following crate features to be activated: `BeforeUnloadEvent`*" ] pub fn set_return_value ( & self , return_value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `BiquadFilterNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode)\n\n*This API requires the following crate features to be activated: `BiquadFilterNode`*" ] # [ repr ( transparent ) ] pub struct BiquadFilterNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_BiquadFilterNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for BiquadFilterNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for BiquadFilterNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for BiquadFilterNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a BiquadFilterNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for BiquadFilterNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { BiquadFilterNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for BiquadFilterNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a BiquadFilterNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for BiquadFilterNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < BiquadFilterNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( BiquadFilterNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for BiquadFilterNode { # [ inline ] fn from ( obj : JsValue ) -> BiquadFilterNode { BiquadFilterNode { obj } } } impl AsRef < JsValue > for BiquadFilterNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < BiquadFilterNode > for JsValue { # [ inline ] fn from ( obj : BiquadFilterNode ) -> JsValue { obj . obj } } impl JsCast for BiquadFilterNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_BiquadFilterNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_BiquadFilterNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BiquadFilterNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BiquadFilterNode ) } } } ( ) } ; impl core :: ops :: Deref for BiquadFilterNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < BiquadFilterNode > for AudioNode { # [ inline ] fn from ( obj : BiquadFilterNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for BiquadFilterNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < BiquadFilterNode > for EventTarget { # [ inline ] fn from ( obj : BiquadFilterNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for BiquadFilterNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < BiquadFilterNode > for Object { # [ inline ] fn from ( obj : BiquadFilterNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for BiquadFilterNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_BiquadFilterNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < BiquadFilterNode as WasmDescribe > :: describe ( ) ; } impl BiquadFilterNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new BiquadFilterNode(..)` constructor, creating a new instance of `BiquadFilterNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/BiquadFilterNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `BiquadFilterNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < BiquadFilterNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_BiquadFilterNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BiquadFilterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_BiquadFilterNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BiquadFilterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new BiquadFilterNode(..)` constructor, creating a new instance of `BiquadFilterNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/BiquadFilterNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `BiquadFilterNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < BiquadFilterNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_BiquadFilterNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & BiquadFilterOptions as WasmDescribe > :: describe ( ) ; < BiquadFilterNode as WasmDescribe > :: describe ( ) ; } impl BiquadFilterNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new BiquadFilterNode(..)` constructor, creating a new instance of `BiquadFilterNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/BiquadFilterNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `BiquadFilterNode`, `BiquadFilterOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & BiquadFilterOptions ) -> Result < BiquadFilterNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_BiquadFilterNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & BiquadFilterOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BiquadFilterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & BiquadFilterOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_BiquadFilterNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BiquadFilterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new BiquadFilterNode(..)` constructor, creating a new instance of `BiquadFilterNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/BiquadFilterNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `BiquadFilterNode`, `BiquadFilterOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & BiquadFilterOptions ) -> Result < BiquadFilterNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_frequency_response_BiquadFilterNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & BiquadFilterNode as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BiquadFilterNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFrequencyResponse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/getFrequencyResponse)\n\n*This API requires the following crate features to be activated: `BiquadFilterNode`*" ] pub fn get_frequency_response ( & self , frequency_hz : & mut [ f32 ] , mag_response : & mut [ f32 ] , phase_response : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_frequency_response_BiquadFilterNode ( self_ : < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , frequency_hz : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mag_response : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , phase_response : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let frequency_hz = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( frequency_hz , & mut __stack ) ; let mag_response = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mag_response , & mut __stack ) ; let phase_response = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( phase_response , & mut __stack ) ; __widl_f_get_frequency_response_BiquadFilterNode ( self_ , frequency_hz , mag_response , phase_response ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFrequencyResponse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/getFrequencyResponse)\n\n*This API requires the following crate features to be activated: `BiquadFilterNode`*" ] pub fn get_frequency_response ( & self , frequency_hz : & mut [ f32 ] , mag_response : & mut [ f32 ] , phase_response : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_BiquadFilterNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BiquadFilterNode as WasmDescribe > :: describe ( ) ; < BiquadFilterType as WasmDescribe > :: describe ( ) ; } impl BiquadFilterNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/type)\n\n*This API requires the following crate features to be activated: `BiquadFilterNode`, `BiquadFilterType`*" ] pub fn type_ ( & self , ) -> BiquadFilterType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_BiquadFilterNode ( self_ : < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < BiquadFilterType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_BiquadFilterNode ( self_ ) } ; < BiquadFilterType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/type)\n\n*This API requires the following crate features to be activated: `BiquadFilterNode`, `BiquadFilterType`*" ] pub fn type_ ( & self , ) -> BiquadFilterType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_BiquadFilterNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BiquadFilterNode as WasmDescribe > :: describe ( ) ; < BiquadFilterType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BiquadFilterNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/type)\n\n*This API requires the following crate features to be activated: `BiquadFilterNode`, `BiquadFilterType`*" ] pub fn set_type ( & self , type_ : BiquadFilterType ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_BiquadFilterNode ( self_ : < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < BiquadFilterType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < BiquadFilterType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_BiquadFilterNode ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/type)\n\n*This API requires the following crate features to be activated: `BiquadFilterNode`, `BiquadFilterType`*" ] pub fn set_type ( & self , type_ : BiquadFilterType ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_frequency_BiquadFilterNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BiquadFilterNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl BiquadFilterNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frequency` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/frequency)\n\n*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*" ] pub fn frequency ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_frequency_BiquadFilterNode ( self_ : < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_frequency_BiquadFilterNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frequency` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/frequency)\n\n*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*" ] pub fn frequency ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_detune_BiquadFilterNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BiquadFilterNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl BiquadFilterNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `detune` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/detune)\n\n*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*" ] pub fn detune ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_detune_BiquadFilterNode ( self_ : < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_detune_BiquadFilterNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `detune` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/detune)\n\n*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*" ] pub fn detune ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_q_BiquadFilterNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BiquadFilterNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl BiquadFilterNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `Q` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/Q)\n\n*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*" ] pub fn q ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_q_BiquadFilterNode ( self_ : < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_q_BiquadFilterNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `Q` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/Q)\n\n*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*" ] pub fn q ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_gain_BiquadFilterNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BiquadFilterNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl BiquadFilterNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `gain` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/gain)\n\n*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*" ] pub fn gain ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_gain_BiquadFilterNode ( self_ : < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BiquadFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_gain_BiquadFilterNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `gain` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode/gain)\n\n*This API requires the following crate features to be activated: `AudioParam`, `BiquadFilterNode`*" ] pub fn gain ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Blob` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob)\n\n*This API requires the following crate features to be activated: `Blob`*" ] # [ repr ( transparent ) ] pub struct Blob { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Blob : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Blob { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Blob { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Blob { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Blob { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Blob { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Blob { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Blob { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Blob { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Blob { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Blob > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Blob { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Blob { # [ inline ] fn from ( obj : JsValue ) -> Blob { Blob { obj } } } impl AsRef < JsValue > for Blob { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Blob > for JsValue { # [ inline ] fn from ( obj : Blob ) -> JsValue { obj . obj } } impl JsCast for Blob { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Blob ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Blob ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Blob { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Blob ) } } } ( ) } ; impl core :: ops :: Deref for Blob { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Blob > for Object { # [ inline ] fn from ( obj : Blob ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Blob { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < Blob as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Blob(..)` constructor, creating a new instance of `Blob`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn new ( ) -> Result < Blob , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Blob ( exn_data_ptr : * mut u32 ) -> < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_Blob ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Blob(..)` constructor, creating a new instance of `Blob`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn new ( ) -> Result < Blob , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_slice_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < Blob as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice ( & self , ) -> Result < Blob , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_slice_Blob ( self_ : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_slice_Blob ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice ( & self , ) -> Result < Blob , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_slice_with_i32_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < Blob as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_i32 ( & self , start : i32 ) -> Result < Blob , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_slice_with_i32_Blob ( self_ : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; __widl_f_slice_with_i32_Blob ( self_ , start , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_i32 ( & self , start : i32 ) -> Result < Blob , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_slice_with_f64_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < Blob as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_f64 ( & self , start : f64 ) -> Result < Blob , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_slice_with_f64_Blob ( self_ : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; __widl_f_slice_with_f64_Blob ( self_ , start , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_f64 ( & self , start : f64 ) -> Result < Blob , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_slice_with_i32_and_i32_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < Blob as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_i32_and_i32 ( & self , start : i32 , end : i32 ) -> Result < Blob , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_slice_with_i32_and_i32_Blob ( self_ : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; __widl_f_slice_with_i32_and_i32_Blob ( self_ , start , end , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_i32_and_i32 ( & self , start : i32 , end : i32 ) -> Result < Blob , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_slice_with_f64_and_i32_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < Blob as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_f64_and_i32 ( & self , start : f64 , end : i32 ) -> Result < Blob , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_slice_with_f64_and_i32_Blob ( self_ : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; __widl_f_slice_with_f64_and_i32_Blob ( self_ , start , end , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_f64_and_i32 ( & self , start : f64 , end : i32 ) -> Result < Blob , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_slice_with_i32_and_f64_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < Blob as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_i32_and_f64 ( & self , start : i32 , end : f64 ) -> Result < Blob , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_slice_with_i32_and_f64_Blob ( self_ : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; __widl_f_slice_with_i32_and_f64_Blob ( self_ , start , end , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_i32_and_f64 ( & self , start : i32 , end : f64 ) -> Result < Blob , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_slice_with_f64_and_f64_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < Blob as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_f64_and_f64 ( & self , start : f64 , end : f64 ) -> Result < Blob , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_slice_with_f64_and_f64_Blob ( self_ : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; __widl_f_slice_with_f64_and_f64_Blob ( self_ , start , end , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_f64_and_f64 ( & self , start : f64 , end : f64 ) -> Result < Blob , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_slice_with_i32_and_i32_and_content_type_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Blob as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_i32_and_i32_and_content_type ( & self , start : i32 , end : i32 , content_type : & str ) -> Result < Blob , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_slice_with_i32_and_i32_and_content_type_Blob ( self_ : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , content_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; let content_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( content_type , & mut __stack ) ; __widl_f_slice_with_i32_and_i32_and_content_type_Blob ( self_ , start , end , content_type , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_i32_and_i32_and_content_type ( & self , start : i32 , end : i32 , content_type : & str ) -> Result < Blob , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_slice_with_f64_and_i32_and_content_type_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Blob as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_f64_and_i32_and_content_type ( & self , start : f64 , end : i32 , content_type : & str ) -> Result < Blob , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_slice_with_f64_and_i32_and_content_type_Blob ( self_ : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , content_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; let content_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( content_type , & mut __stack ) ; __widl_f_slice_with_f64_and_i32_and_content_type_Blob ( self_ , start , end , content_type , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_f64_and_i32_and_content_type ( & self , start : f64 , end : i32 , content_type : & str ) -> Result < Blob , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_slice_with_i32_and_f64_and_content_type_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Blob as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_i32_and_f64_and_content_type ( & self , start : i32 , end : f64 , content_type : & str ) -> Result < Blob , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_slice_with_i32_and_f64_and_content_type_Blob ( self_ : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , content_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; let content_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( content_type , & mut __stack ) ; __widl_f_slice_with_i32_and_f64_and_content_type_Blob ( self_ , start , end , content_type , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_i32_and_f64_and_content_type ( & self , start : i32 , end : f64 , content_type : & str ) -> Result < Blob , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_slice_with_f64_and_f64_and_content_type_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Blob as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_f64_and_f64_and_content_type ( & self , start : f64 , end : f64 , content_type : & str ) -> Result < Blob , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_slice_with_f64_and_f64_and_content_type_Blob ( self_ : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , content_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; let content_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( content_type , & mut __stack ) ; __widl_f_slice_with_f64_and_f64_and_content_type_Blob ( self_ , start , end , content_type , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn slice_with_f64_and_f64_and_content_type ( & self , start : f64 , end : f64 , content_type : & str ) -> Result < Blob , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_size_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/size)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn size ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_size_Blob ( self_ : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_size_Blob ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/size)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn size ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_Blob ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Blob { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/type)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_Blob ( self_ : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_Blob ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob/type)\n\n*This API requires the following crate features to be activated: `Blob`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `BlobEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BlobEvent)\n\n*This API requires the following crate features to be activated: `BlobEvent`*" ] # [ repr ( transparent ) ] pub struct BlobEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_BlobEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for BlobEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for BlobEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for BlobEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a BlobEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for BlobEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { BlobEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for BlobEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a BlobEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for BlobEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < BlobEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( BlobEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for BlobEvent { # [ inline ] fn from ( obj : JsValue ) -> BlobEvent { BlobEvent { obj } } } impl AsRef < JsValue > for BlobEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < BlobEvent > for JsValue { # [ inline ] fn from ( obj : BlobEvent ) -> JsValue { obj . obj } } impl JsCast for BlobEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_BlobEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_BlobEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BlobEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BlobEvent ) } } } ( ) } ; impl core :: ops :: Deref for BlobEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < BlobEvent > for Event { # [ inline ] fn from ( obj : BlobEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for BlobEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < BlobEvent > for Object { # [ inline ] fn from ( obj : BlobEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for BlobEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_BlobEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < BlobEvent as WasmDescribe > :: describe ( ) ; } impl BlobEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new BlobEvent(..)` constructor, creating a new instance of `BlobEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BlobEvent/BlobEvent)\n\n*This API requires the following crate features to be activated: `BlobEvent`*" ] pub fn new ( type_ : & str ) -> Result < BlobEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_BlobEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BlobEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_BlobEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BlobEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new BlobEvent(..)` constructor, creating a new instance of `BlobEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BlobEvent/BlobEvent)\n\n*This API requires the following crate features to be activated: `BlobEvent`*" ] pub fn new ( type_ : & str ) -> Result < BlobEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_BlobEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & BlobEventInit as WasmDescribe > :: describe ( ) ; < BlobEvent as WasmDescribe > :: describe ( ) ; } impl BlobEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new BlobEvent(..)` constructor, creating a new instance of `BlobEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BlobEvent/BlobEvent)\n\n*This API requires the following crate features to be activated: `BlobEvent`, `BlobEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & BlobEventInit ) -> Result < BlobEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_BlobEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & BlobEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BlobEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & BlobEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_BlobEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BlobEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new BlobEvent(..)` constructor, creating a new instance of `BlobEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BlobEvent/BlobEvent)\n\n*This API requires the following crate features to be activated: `BlobEvent`, `BlobEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & BlobEventInit ) -> Result < BlobEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_data_BlobEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BlobEvent as WasmDescribe > :: describe ( ) ; < Option < Blob > as WasmDescribe > :: describe ( ) ; } impl BlobEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BlobEvent/data)\n\n*This API requires the following crate features to be activated: `Blob`, `BlobEvent`*" ] pub fn data ( & self , ) -> Option < Blob > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_data_BlobEvent ( self_ : < & BlobEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Blob > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BlobEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_data_BlobEvent ( self_ ) } ; < Option < Blob > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BlobEvent/data)\n\n*This API requires the following crate features to be activated: `Blob`, `BlobEvent`*" ] pub fn data ( & self , ) -> Option < Blob > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `BroadcastChannel` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] # [ repr ( transparent ) ] pub struct BroadcastChannel { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_BroadcastChannel : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for BroadcastChannel { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for BroadcastChannel { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for BroadcastChannel { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a BroadcastChannel { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for BroadcastChannel { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { BroadcastChannel { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for BroadcastChannel { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a BroadcastChannel { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for BroadcastChannel { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < BroadcastChannel > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( BroadcastChannel { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for BroadcastChannel { # [ inline ] fn from ( obj : JsValue ) -> BroadcastChannel { BroadcastChannel { obj } } } impl AsRef < JsValue > for BroadcastChannel { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < BroadcastChannel > for JsValue { # [ inline ] fn from ( obj : BroadcastChannel ) -> JsValue { obj . obj } } impl JsCast for BroadcastChannel { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_BroadcastChannel ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_BroadcastChannel ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BroadcastChannel { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BroadcastChannel ) } } } ( ) } ; impl core :: ops :: Deref for BroadcastChannel { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < BroadcastChannel > for EventTarget { # [ inline ] fn from ( obj : BroadcastChannel ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for BroadcastChannel { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < BroadcastChannel > for Object { # [ inline ] fn from ( obj : BroadcastChannel ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for BroadcastChannel { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_BroadcastChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < BroadcastChannel as WasmDescribe > :: describe ( ) ; } impl BroadcastChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new BroadcastChannel(..)` constructor, creating a new instance of `BroadcastChannel`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/BroadcastChannel)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn new ( channel : & str ) -> Result < BroadcastChannel , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_BroadcastChannel ( channel : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BroadcastChannel as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let channel = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( channel , & mut __stack ) ; __widl_f_new_BroadcastChannel ( channel , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BroadcastChannel as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new BroadcastChannel(..)` constructor, creating a new instance of `BroadcastChannel`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/BroadcastChannel)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn new ( channel : & str ) -> Result < BroadcastChannel , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_BroadcastChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BroadcastChannel as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BroadcastChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/close)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_BroadcastChannel ( self_ : < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_BroadcastChannel ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/close)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_post_message_BroadcastChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BroadcastChannel as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BroadcastChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/postMessage)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_post_message_BroadcastChannel ( self_ : < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let message = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; __widl_f_post_message_BroadcastChannel ( self_ , message , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/postMessage)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_BroadcastChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BroadcastChannel as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl BroadcastChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/name)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_BroadcastChannel ( self_ : < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_BroadcastChannel ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/name)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_BroadcastChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BroadcastChannel as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl BroadcastChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessage)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_BroadcastChannel ( self_ : < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_BroadcastChannel ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessage)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_BroadcastChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BroadcastChannel as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BroadcastChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessage)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_BroadcastChannel ( self_ : < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_BroadcastChannel ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessage)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessageerror_BroadcastChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BroadcastChannel as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl BroadcastChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessageerror)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessageerror_BroadcastChannel ( self_ : < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessageerror_BroadcastChannel ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessageerror)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessageerror_BroadcastChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BroadcastChannel as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BroadcastChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessageerror)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessageerror_BroadcastChannel ( self_ : < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessageerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BroadcastChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessageerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessageerror , & mut __stack ) ; __widl_f_set_onmessageerror_BroadcastChannel ( self_ , onmessageerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel/onmessageerror)\n\n*This API requires the following crate features to be activated: `BroadcastChannel`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `BrowserFeedWriter` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BrowserFeedWriter)\n\n*This API requires the following crate features to be activated: `BrowserFeedWriter`*" ] # [ repr ( transparent ) ] pub struct BrowserFeedWriter { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_BrowserFeedWriter : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for BrowserFeedWriter { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for BrowserFeedWriter { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for BrowserFeedWriter { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a BrowserFeedWriter { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for BrowserFeedWriter { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { BrowserFeedWriter { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for BrowserFeedWriter { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a BrowserFeedWriter { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for BrowserFeedWriter { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < BrowserFeedWriter > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( BrowserFeedWriter { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for BrowserFeedWriter { # [ inline ] fn from ( obj : JsValue ) -> BrowserFeedWriter { BrowserFeedWriter { obj } } } impl AsRef < JsValue > for BrowserFeedWriter { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < BrowserFeedWriter > for JsValue { # [ inline ] fn from ( obj : BrowserFeedWriter ) -> JsValue { obj . obj } } impl JsCast for BrowserFeedWriter { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_BrowserFeedWriter ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_BrowserFeedWriter ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BrowserFeedWriter { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BrowserFeedWriter ) } } } ( ) } ; impl core :: ops :: Deref for BrowserFeedWriter { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < BrowserFeedWriter > for Object { # [ inline ] fn from ( obj : BrowserFeedWriter ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for BrowserFeedWriter { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_BrowserFeedWriter ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < BrowserFeedWriter as WasmDescribe > :: describe ( ) ; } impl BrowserFeedWriter { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new BrowserFeedWriter(..)` constructor, creating a new instance of `BrowserFeedWriter`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BrowserFeedWriter/BrowserFeedWriter)\n\n*This API requires the following crate features to be activated: `BrowserFeedWriter`*" ] pub fn new ( ) -> Result < BrowserFeedWriter , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_BrowserFeedWriter ( exn_data_ptr : * mut u32 ) -> < BrowserFeedWriter as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_BrowserFeedWriter ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BrowserFeedWriter as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new BrowserFeedWriter(..)` constructor, creating a new instance of `BrowserFeedWriter`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BrowserFeedWriter/BrowserFeedWriter)\n\n*This API requires the following crate features to be activated: `BrowserFeedWriter`*" ] pub fn new ( ) -> Result < BrowserFeedWriter , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_BrowserFeedWriter ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BrowserFeedWriter as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BrowserFeedWriter { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BrowserFeedWriter/close)\n\n*This API requires the following crate features to be activated: `BrowserFeedWriter`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_BrowserFeedWriter ( self_ : < & BrowserFeedWriter as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BrowserFeedWriter as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_BrowserFeedWriter ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BrowserFeedWriter/close)\n\n*This API requires the following crate features to be activated: `BrowserFeedWriter`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_content_BrowserFeedWriter ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BrowserFeedWriter as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl BrowserFeedWriter { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `writeContent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BrowserFeedWriter/writeContent)\n\n*This API requires the following crate features to be activated: `BrowserFeedWriter`*" ] pub fn write_content ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_content_BrowserFeedWriter ( self_ : < & BrowserFeedWriter as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & BrowserFeedWriter as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_write_content_BrowserFeedWriter ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `writeContent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BrowserFeedWriter/writeContent)\n\n*This API requires the following crate features to be activated: `BrowserFeedWriter`*" ] pub fn write_content ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CDATASection` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CDATASection)\n\n*This API requires the following crate features to be activated: `CdataSection`*" ] # [ repr ( transparent ) ] pub struct CdataSection { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CdataSection : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CdataSection { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CdataSection { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CdataSection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CdataSection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CdataSection { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CdataSection { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CdataSection { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CdataSection { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CdataSection { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CdataSection > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CdataSection { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CdataSection { # [ inline ] fn from ( obj : JsValue ) -> CdataSection { CdataSection { obj } } } impl AsRef < JsValue > for CdataSection { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CdataSection > for JsValue { # [ inline ] fn from ( obj : CdataSection ) -> JsValue { obj . obj } } impl JsCast for CdataSection { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CDATASection ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CDATASection ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CdataSection { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CdataSection ) } } } ( ) } ; impl core :: ops :: Deref for CdataSection { type Target = Text ; # [ inline ] fn deref ( & self ) -> & Text { self . as_ref ( ) } } impl From < CdataSection > for Text { # [ inline ] fn from ( obj : CdataSection ) -> Text { use wasm_bindgen :: JsCast ; Text :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Text > for CdataSection { # [ inline ] fn as_ref ( & self ) -> & Text { use wasm_bindgen :: JsCast ; Text :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CdataSection > for CharacterData { # [ inline ] fn from ( obj : CdataSection ) -> CharacterData { use wasm_bindgen :: JsCast ; CharacterData :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CharacterData > for CdataSection { # [ inline ] fn as_ref ( & self ) -> & CharacterData { use wasm_bindgen :: JsCast ; CharacterData :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CdataSection > for Node { # [ inline ] fn from ( obj : CdataSection ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for CdataSection { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CdataSection > for EventTarget { # [ inline ] fn from ( obj : CdataSection ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for CdataSection { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CdataSection > for Object { # [ inline ] fn from ( obj : CdataSection ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CdataSection { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSAnimation` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSAnimation)\n\n*This API requires the following crate features to be activated: `CssAnimation`*" ] # [ repr ( transparent ) ] pub struct CssAnimation { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssAnimation : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssAnimation { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssAnimation { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssAnimation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssAnimation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssAnimation { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssAnimation { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssAnimation { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssAnimation { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssAnimation { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssAnimation > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssAnimation { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssAnimation { # [ inline ] fn from ( obj : JsValue ) -> CssAnimation { CssAnimation { obj } } } impl AsRef < JsValue > for CssAnimation { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssAnimation > for JsValue { # [ inline ] fn from ( obj : CssAnimation ) -> JsValue { obj . obj } } impl JsCast for CssAnimation { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSAnimation ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSAnimation ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssAnimation { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssAnimation ) } } } ( ) } ; impl core :: ops :: Deref for CssAnimation { type Target = Animation ; # [ inline ] fn deref ( & self ) -> & Animation { self . as_ref ( ) } } impl From < CssAnimation > for Animation { # [ inline ] fn from ( obj : CssAnimation ) -> Animation { use wasm_bindgen :: JsCast ; Animation :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Animation > for CssAnimation { # [ inline ] fn as_ref ( & self ) -> & Animation { use wasm_bindgen :: JsCast ; Animation :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssAnimation > for EventTarget { # [ inline ] fn from ( obj : CssAnimation ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for CssAnimation { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssAnimation > for Object { # [ inline ] fn from ( obj : CssAnimation ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssAnimation { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_animation_name_CSSAnimation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssAnimation as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssAnimation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animationName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSAnimation/animationName)\n\n*This API requires the following crate features to be activated: `CssAnimation`*" ] pub fn animation_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_animation_name_CSSAnimation ( self_ : < & CssAnimation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssAnimation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_animation_name_CSSAnimation ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animationName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSAnimation/animationName)\n\n*This API requires the following crate features to be activated: `CssAnimation`*" ] pub fn animation_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSConditionRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSConditionRule)\n\n*This API requires the following crate features to be activated: `CssConditionRule`*" ] # [ repr ( transparent ) ] pub struct CssConditionRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssConditionRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssConditionRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssConditionRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssConditionRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssConditionRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssConditionRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssConditionRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssConditionRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssConditionRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssConditionRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssConditionRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssConditionRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssConditionRule { # [ inline ] fn from ( obj : JsValue ) -> CssConditionRule { CssConditionRule { obj } } } impl AsRef < JsValue > for CssConditionRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssConditionRule > for JsValue { # [ inline ] fn from ( obj : CssConditionRule ) -> JsValue { obj . obj } } impl JsCast for CssConditionRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSConditionRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSConditionRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssConditionRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssConditionRule ) } } } ( ) } ; impl core :: ops :: Deref for CssConditionRule { type Target = CssGroupingRule ; # [ inline ] fn deref ( & self ) -> & CssGroupingRule { self . as_ref ( ) } } impl From < CssConditionRule > for CssGroupingRule { # [ inline ] fn from ( obj : CssConditionRule ) -> CssGroupingRule { use wasm_bindgen :: JsCast ; CssGroupingRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssGroupingRule > for CssConditionRule { # [ inline ] fn as_ref ( & self ) -> & CssGroupingRule { use wasm_bindgen :: JsCast ; CssGroupingRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssConditionRule > for CssRule { # [ inline ] fn from ( obj : CssConditionRule ) -> CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssRule > for CssConditionRule { # [ inline ] fn as_ref ( & self ) -> & CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssConditionRule > for Object { # [ inline ] fn from ( obj : CssConditionRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssConditionRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_condition_text_CSSConditionRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssConditionRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssConditionRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `conditionText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSConditionRule/conditionText)\n\n*This API requires the following crate features to be activated: `CssConditionRule`*" ] pub fn condition_text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_condition_text_CSSConditionRule ( self_ : < & CssConditionRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssConditionRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_condition_text_CSSConditionRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `conditionText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSConditionRule/conditionText)\n\n*This API requires the following crate features to be activated: `CssConditionRule`*" ] pub fn condition_text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_condition_text_CSSConditionRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssConditionRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssConditionRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `conditionText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSConditionRule/conditionText)\n\n*This API requires the following crate features to be activated: `CssConditionRule`*" ] pub fn set_condition_text ( & self , condition_text : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_condition_text_CSSConditionRule ( self_ : < & CssConditionRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , condition_text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssConditionRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let condition_text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( condition_text , & mut __stack ) ; __widl_f_set_condition_text_CSSConditionRule ( self_ , condition_text ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `conditionText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSConditionRule/conditionText)\n\n*This API requires the following crate features to be activated: `CssConditionRule`*" ] pub fn set_condition_text ( & self , condition_text : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSCounterStyleRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] # [ repr ( transparent ) ] pub struct CssCounterStyleRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssCounterStyleRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssCounterStyleRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssCounterStyleRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssCounterStyleRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssCounterStyleRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssCounterStyleRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssCounterStyleRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssCounterStyleRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssCounterStyleRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssCounterStyleRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssCounterStyleRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssCounterStyleRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssCounterStyleRule { # [ inline ] fn from ( obj : JsValue ) -> CssCounterStyleRule { CssCounterStyleRule { obj } } } impl AsRef < JsValue > for CssCounterStyleRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssCounterStyleRule > for JsValue { # [ inline ] fn from ( obj : CssCounterStyleRule ) -> JsValue { obj . obj } } impl JsCast for CssCounterStyleRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSCounterStyleRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSCounterStyleRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssCounterStyleRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssCounterStyleRule ) } } } ( ) } ; impl core :: ops :: Deref for CssCounterStyleRule { type Target = CssRule ; # [ inline ] fn deref ( & self ) -> & CssRule { self . as_ref ( ) } } impl From < CssCounterStyleRule > for CssRule { # [ inline ] fn from ( obj : CssCounterStyleRule ) -> CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssRule > for CssCounterStyleRule { # [ inline ] fn as_ref ( & self ) -> & CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssCounterStyleRule > for Object { # [ inline ] fn from ( obj : CssCounterStyleRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssCounterStyleRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/name)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_CSSCounterStyleRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/name)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/name)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_CSSCounterStyleRule ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/name)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_system_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `system` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/system)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn system ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_system_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_system_CSSCounterStyleRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `system` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/system)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn system ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_system_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `system` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/system)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_system ( & self , system : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_system_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , system : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let system = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( system , & mut __stack ) ; __widl_f_set_system_CSSCounterStyleRule ( self_ , system ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `system` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/system)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_system ( & self , system : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_symbols_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `symbols` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/symbols)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn symbols ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_symbols_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_symbols_CSSCounterStyleRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `symbols` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/symbols)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn symbols ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_symbols_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `symbols` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/symbols)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_symbols ( & self , symbols : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_symbols_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , symbols : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let symbols = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( symbols , & mut __stack ) ; __widl_f_set_symbols_CSSCounterStyleRule ( self_ , symbols ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `symbols` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/symbols)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_symbols ( & self , symbols : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_additive_symbols_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `additiveSymbols` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/additiveSymbols)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn additive_symbols ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_additive_symbols_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_additive_symbols_CSSCounterStyleRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `additiveSymbols` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/additiveSymbols)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn additive_symbols ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_additive_symbols_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `additiveSymbols` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/additiveSymbols)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_additive_symbols ( & self , additive_symbols : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_additive_symbols_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , additive_symbols : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let additive_symbols = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( additive_symbols , & mut __stack ) ; __widl_f_set_additive_symbols_CSSCounterStyleRule ( self_ , additive_symbols ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `additiveSymbols` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/additiveSymbols)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_additive_symbols ( & self , additive_symbols : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_negative_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `negative` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/negative)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn negative ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_negative_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_negative_CSSCounterStyleRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `negative` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/negative)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn negative ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_negative_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `negative` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/negative)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_negative ( & self , negative : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_negative_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , negative : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let negative = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( negative , & mut __stack ) ; __widl_f_set_negative_CSSCounterStyleRule ( self_ , negative ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `negative` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/negative)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_negative ( & self , negative : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prefix_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prefix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/prefix)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn prefix ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prefix_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prefix_CSSCounterStyleRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prefix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/prefix)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn prefix ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_prefix_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prefix` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/prefix)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_prefix ( & self , prefix : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_prefix_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , prefix : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let prefix = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( prefix , & mut __stack ) ; __widl_f_set_prefix_CSSCounterStyleRule ( self_ , prefix ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prefix` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/prefix)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_prefix ( & self , prefix : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_suffix_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `suffix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/suffix)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn suffix ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_suffix_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_suffix_CSSCounterStyleRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `suffix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/suffix)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn suffix ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_suffix_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `suffix` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/suffix)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_suffix ( & self , suffix : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_suffix_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , suffix : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let suffix = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( suffix , & mut __stack ) ; __widl_f_set_suffix_CSSCounterStyleRule ( self_ , suffix ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `suffix` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/suffix)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_suffix ( & self , suffix : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_range_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `range` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/range)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn range ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_range_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_range_CSSCounterStyleRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `range` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/range)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn range ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_range_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `range` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/range)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_range ( & self , range : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_range_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , range : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let range = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( range , & mut __stack ) ; __widl_f_set_range_CSSCounterStyleRule ( self_ , range ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `range` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/range)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_range ( & self , range : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pad_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pad` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/pad)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn pad ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pad_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pad_CSSCounterStyleRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pad` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/pad)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn pad ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_pad_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pad` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/pad)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_pad ( & self , pad : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_pad_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pad : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pad = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pad , & mut __stack ) ; __widl_f_set_pad_CSSCounterStyleRule ( self_ , pad ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pad` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/pad)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_pad ( & self , pad : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_speak_as_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `speakAs` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/speakAs)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn speak_as ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_speak_as_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_speak_as_CSSCounterStyleRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `speakAs` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/speakAs)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn speak_as ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_speak_as_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `speakAs` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/speakAs)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_speak_as ( & self , speak_as : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_speak_as_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , speak_as : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let speak_as = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( speak_as , & mut __stack ) ; __widl_f_set_speak_as_CSSCounterStyleRule ( self_ , speak_as ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `speakAs` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/speakAs)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_speak_as ( & self , speak_as : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fallback_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fallback` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/fallback)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn fallback ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fallback_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fallback_CSSCounterStyleRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fallback` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/fallback)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn fallback ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_fallback_CSSCounterStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssCounterStyleRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssCounterStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fallback` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/fallback)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_fallback ( & self , fallback : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_fallback_CSSCounterStyleRule ( self_ : < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , fallback : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssCounterStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let fallback = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( fallback , & mut __stack ) ; __widl_f_set_fallback_CSSCounterStyleRule ( self_ , fallback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fallback` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule/fallback)\n\n*This API requires the following crate features to be activated: `CssCounterStyleRule`*" ] pub fn set_fallback ( & self , fallback : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSFontFaceRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFaceRule)\n\n*This API requires the following crate features to be activated: `CssFontFaceRule`*" ] # [ repr ( transparent ) ] pub struct CssFontFaceRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssFontFaceRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssFontFaceRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssFontFaceRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssFontFaceRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssFontFaceRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssFontFaceRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssFontFaceRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssFontFaceRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssFontFaceRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssFontFaceRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssFontFaceRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssFontFaceRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssFontFaceRule { # [ inline ] fn from ( obj : JsValue ) -> CssFontFaceRule { CssFontFaceRule { obj } } } impl AsRef < JsValue > for CssFontFaceRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssFontFaceRule > for JsValue { # [ inline ] fn from ( obj : CssFontFaceRule ) -> JsValue { obj . obj } } impl JsCast for CssFontFaceRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSFontFaceRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSFontFaceRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssFontFaceRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssFontFaceRule ) } } } ( ) } ; impl core :: ops :: Deref for CssFontFaceRule { type Target = CssRule ; # [ inline ] fn deref ( & self ) -> & CssRule { self . as_ref ( ) } } impl From < CssFontFaceRule > for CssRule { # [ inline ] fn from ( obj : CssFontFaceRule ) -> CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssRule > for CssFontFaceRule { # [ inline ] fn as_ref ( & self ) -> & CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssFontFaceRule > for Object { # [ inline ] fn from ( obj : CssFontFaceRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssFontFaceRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_style_CSSFontFaceRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssFontFaceRule as WasmDescribe > :: describe ( ) ; < CssStyleDeclaration as WasmDescribe > :: describe ( ) ; } impl CssFontFaceRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFaceRule/style)\n\n*This API requires the following crate features to be activated: `CssFontFaceRule`, `CssStyleDeclaration`*" ] pub fn style ( & self , ) -> CssStyleDeclaration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_style_CSSFontFaceRule ( self_ : < & CssFontFaceRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < CssStyleDeclaration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssFontFaceRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_style_CSSFontFaceRule ( self_ ) } ; < CssStyleDeclaration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFaceRule/style)\n\n*This API requires the following crate features to be activated: `CssFontFaceRule`, `CssStyleDeclaration`*" ] pub fn style ( & self , ) -> CssStyleDeclaration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSFontFeatureValuesRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule)\n\n*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*" ] # [ repr ( transparent ) ] pub struct CssFontFeatureValuesRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssFontFeatureValuesRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssFontFeatureValuesRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssFontFeatureValuesRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssFontFeatureValuesRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssFontFeatureValuesRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssFontFeatureValuesRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssFontFeatureValuesRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssFontFeatureValuesRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssFontFeatureValuesRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssFontFeatureValuesRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssFontFeatureValuesRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssFontFeatureValuesRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssFontFeatureValuesRule { # [ inline ] fn from ( obj : JsValue ) -> CssFontFeatureValuesRule { CssFontFeatureValuesRule { obj } } } impl AsRef < JsValue > for CssFontFeatureValuesRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssFontFeatureValuesRule > for JsValue { # [ inline ] fn from ( obj : CssFontFeatureValuesRule ) -> JsValue { obj . obj } } impl JsCast for CssFontFeatureValuesRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSFontFeatureValuesRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSFontFeatureValuesRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssFontFeatureValuesRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssFontFeatureValuesRule ) } } } ( ) } ; impl core :: ops :: Deref for CssFontFeatureValuesRule { type Target = CssRule ; # [ inline ] fn deref ( & self ) -> & CssRule { self . as_ref ( ) } } impl From < CssFontFeatureValuesRule > for CssRule { # [ inline ] fn from ( obj : CssFontFeatureValuesRule ) -> CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssRule > for CssFontFeatureValuesRule { # [ inline ] fn as_ref ( & self ) -> & CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssFontFeatureValuesRule > for Object { # [ inline ] fn from ( obj : CssFontFeatureValuesRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssFontFeatureValuesRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_font_family_CSSFontFeatureValuesRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssFontFeatureValuesRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssFontFeatureValuesRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fontFamily` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)\n\n*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*" ] pub fn font_family ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_font_family_CSSFontFeatureValuesRule ( self_ : < & CssFontFeatureValuesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssFontFeatureValuesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_font_family_CSSFontFeatureValuesRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fontFamily` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)\n\n*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*" ] pub fn font_family ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_font_family_CSSFontFeatureValuesRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssFontFeatureValuesRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssFontFeatureValuesRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fontFamily` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)\n\n*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*" ] pub fn set_font_family ( & self , font_family : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_font_family_CSSFontFeatureValuesRule ( self_ : < & CssFontFeatureValuesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , font_family : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssFontFeatureValuesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let font_family = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( font_family , & mut __stack ) ; __widl_f_set_font_family_CSSFontFeatureValuesRule ( self_ , font_family ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fontFamily` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)\n\n*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*" ] pub fn set_font_family ( & self , font_family : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_text_CSSFontFeatureValuesRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssFontFeatureValuesRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssFontFeatureValuesRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/valueText)\n\n*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*" ] pub fn value_text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_text_CSSFontFeatureValuesRule ( self_ : < & CssFontFeatureValuesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssFontFeatureValuesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_text_CSSFontFeatureValuesRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/valueText)\n\n*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*" ] pub fn value_text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_text_CSSFontFeatureValuesRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssFontFeatureValuesRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssFontFeatureValuesRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/valueText)\n\n*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*" ] pub fn set_value_text ( & self , value_text : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_text_CSSFontFeatureValuesRule ( self_ : < & CssFontFeatureValuesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value_text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssFontFeatureValuesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value_text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value_text , & mut __stack ) ; __widl_f_set_value_text_CSSFontFeatureValuesRule ( self_ , value_text ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/valueText)\n\n*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*" ] pub fn set_value_text ( & self , value_text : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSGroupingRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule)\n\n*This API requires the following crate features to be activated: `CssGroupingRule`*" ] # [ repr ( transparent ) ] pub struct CssGroupingRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssGroupingRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssGroupingRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssGroupingRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssGroupingRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssGroupingRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssGroupingRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssGroupingRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssGroupingRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssGroupingRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssGroupingRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssGroupingRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssGroupingRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssGroupingRule { # [ inline ] fn from ( obj : JsValue ) -> CssGroupingRule { CssGroupingRule { obj } } } impl AsRef < JsValue > for CssGroupingRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssGroupingRule > for JsValue { # [ inline ] fn from ( obj : CssGroupingRule ) -> JsValue { obj . obj } } impl JsCast for CssGroupingRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSGroupingRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSGroupingRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssGroupingRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssGroupingRule ) } } } ( ) } ; impl core :: ops :: Deref for CssGroupingRule { type Target = CssRule ; # [ inline ] fn deref ( & self ) -> & CssRule { self . as_ref ( ) } } impl From < CssGroupingRule > for CssRule { # [ inline ] fn from ( obj : CssGroupingRule ) -> CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssRule > for CssGroupingRule { # [ inline ] fn as_ref ( & self ) -> & CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssGroupingRule > for Object { # [ inline ] fn from ( obj : CssGroupingRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssGroupingRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_rule_CSSGroupingRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssGroupingRule as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssGroupingRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule/deleteRule)\n\n*This API requires the following crate features to be activated: `CssGroupingRule`*" ] pub fn delete_rule ( & self , index : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_rule_CSSGroupingRule ( self_ : < & CssGroupingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssGroupingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_delete_rule_CSSGroupingRule ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule/deleteRule)\n\n*This API requires the following crate features to be activated: `CssGroupingRule`*" ] pub fn delete_rule ( & self , index : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_rule_CSSGroupingRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssGroupingRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl CssGroupingRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule/insertRule)\n\n*This API requires the following crate features to be activated: `CssGroupingRule`*" ] pub fn insert_rule ( & self , rule : & str ) -> Result < u32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_rule_CSSGroupingRule ( self_ : < & CssGroupingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rule : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssGroupingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rule = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rule , & mut __stack ) ; __widl_f_insert_rule_CSSGroupingRule ( self_ , rule , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule/insertRule)\n\n*This API requires the following crate features to be activated: `CssGroupingRule`*" ] pub fn insert_rule ( & self , rule : & str ) -> Result < u32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_rule_with_index_CSSGroupingRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CssGroupingRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl CssGroupingRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule/insertRule)\n\n*This API requires the following crate features to be activated: `CssGroupingRule`*" ] pub fn insert_rule_with_index ( & self , rule : & str , index : u32 ) -> Result < u32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_rule_with_index_CSSGroupingRule ( self_ : < & CssGroupingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rule : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssGroupingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rule = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rule , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_insert_rule_with_index_CSSGroupingRule ( self_ , rule , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule/insertRule)\n\n*This API requires the following crate features to be activated: `CssGroupingRule`*" ] pub fn insert_rule_with_index ( & self , rule : & str , index : u32 ) -> Result < u32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_css_rules_CSSGroupingRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssGroupingRule as WasmDescribe > :: describe ( ) ; < CssRuleList as WasmDescribe > :: describe ( ) ; } impl CssGroupingRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cssRules` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule/cssRules)\n\n*This API requires the following crate features to be activated: `CssGroupingRule`, `CssRuleList`*" ] pub fn css_rules ( & self , ) -> CssRuleList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_css_rules_CSSGroupingRule ( self_ : < & CssGroupingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < CssRuleList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssGroupingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_css_rules_CSSGroupingRule ( self_ ) } ; < CssRuleList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cssRules` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule/cssRules)\n\n*This API requires the following crate features to be activated: `CssGroupingRule`, `CssRuleList`*" ] pub fn css_rules ( & self , ) -> CssRuleList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSImportRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSImportRule)\n\n*This API requires the following crate features to be activated: `CssImportRule`*" ] # [ repr ( transparent ) ] pub struct CssImportRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssImportRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssImportRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssImportRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssImportRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssImportRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssImportRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssImportRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssImportRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssImportRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssImportRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssImportRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssImportRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssImportRule { # [ inline ] fn from ( obj : JsValue ) -> CssImportRule { CssImportRule { obj } } } impl AsRef < JsValue > for CssImportRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssImportRule > for JsValue { # [ inline ] fn from ( obj : CssImportRule ) -> JsValue { obj . obj } } impl JsCast for CssImportRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSImportRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSImportRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssImportRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssImportRule ) } } } ( ) } ; impl core :: ops :: Deref for CssImportRule { type Target = CssRule ; # [ inline ] fn deref ( & self ) -> & CssRule { self . as_ref ( ) } } impl From < CssImportRule > for CssRule { # [ inline ] fn from ( obj : CssImportRule ) -> CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssRule > for CssImportRule { # [ inline ] fn as_ref ( & self ) -> & CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssImportRule > for Object { # [ inline ] fn from ( obj : CssImportRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssImportRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_CSSImportRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssImportRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssImportRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSImportRule/href)\n\n*This API requires the following crate features to be activated: `CssImportRule`*" ] pub fn href ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_CSSImportRule ( self_ : < & CssImportRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssImportRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_CSSImportRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSImportRule/href)\n\n*This API requires the following crate features to be activated: `CssImportRule`*" ] pub fn href ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_CSSImportRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssImportRule as WasmDescribe > :: describe ( ) ; < Option < MediaList > as WasmDescribe > :: describe ( ) ; } impl CssImportRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSImportRule/media)\n\n*This API requires the following crate features to be activated: `CssImportRule`, `MediaList`*" ] pub fn media ( & self , ) -> Option < MediaList > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_CSSImportRule ( self_ : < & CssImportRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MediaList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssImportRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_CSSImportRule ( self_ ) } ; < Option < MediaList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSImportRule/media)\n\n*This API requires the following crate features to be activated: `CssImportRule`, `MediaList`*" ] pub fn media ( & self , ) -> Option < MediaList > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_style_sheet_CSSImportRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssImportRule as WasmDescribe > :: describe ( ) ; < Option < CssStyleSheet > as WasmDescribe > :: describe ( ) ; } impl CssImportRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `styleSheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSImportRule/styleSheet)\n\n*This API requires the following crate features to be activated: `CssImportRule`, `CssStyleSheet`*" ] pub fn style_sheet ( & self , ) -> Option < CssStyleSheet > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_style_sheet_CSSImportRule ( self_ : < & CssImportRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < CssStyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssImportRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_style_sheet_CSSImportRule ( self_ ) } ; < Option < CssStyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `styleSheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSImportRule/styleSheet)\n\n*This API requires the following crate features to be activated: `CssImportRule`, `CssStyleSheet`*" ] pub fn style_sheet ( & self , ) -> Option < CssStyleSheet > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSKeyframeRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule)\n\n*This API requires the following crate features to be activated: `CssKeyframeRule`*" ] # [ repr ( transparent ) ] pub struct CssKeyframeRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssKeyframeRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssKeyframeRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssKeyframeRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssKeyframeRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssKeyframeRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssKeyframeRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssKeyframeRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssKeyframeRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssKeyframeRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssKeyframeRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssKeyframeRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssKeyframeRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssKeyframeRule { # [ inline ] fn from ( obj : JsValue ) -> CssKeyframeRule { CssKeyframeRule { obj } } } impl AsRef < JsValue > for CssKeyframeRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssKeyframeRule > for JsValue { # [ inline ] fn from ( obj : CssKeyframeRule ) -> JsValue { obj . obj } } impl JsCast for CssKeyframeRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSKeyframeRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSKeyframeRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssKeyframeRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssKeyframeRule ) } } } ( ) } ; impl core :: ops :: Deref for CssKeyframeRule { type Target = CssRule ; # [ inline ] fn deref ( & self ) -> & CssRule { self . as_ref ( ) } } impl From < CssKeyframeRule > for CssRule { # [ inline ] fn from ( obj : CssKeyframeRule ) -> CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssRule > for CssKeyframeRule { # [ inline ] fn as_ref ( & self ) -> & CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssKeyframeRule > for Object { # [ inline ] fn from ( obj : CssKeyframeRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssKeyframeRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_key_text_CSSKeyframeRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssKeyframeRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssKeyframeRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keyText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule/keyText)\n\n*This API requires the following crate features to be activated: `CssKeyframeRule`*" ] pub fn key_text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_key_text_CSSKeyframeRule ( self_ : < & CssKeyframeRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssKeyframeRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_key_text_CSSKeyframeRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keyText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule/keyText)\n\n*This API requires the following crate features to be activated: `CssKeyframeRule`*" ] pub fn key_text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_key_text_CSSKeyframeRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssKeyframeRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssKeyframeRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keyText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule/keyText)\n\n*This API requires the following crate features to be activated: `CssKeyframeRule`*" ] pub fn set_key_text ( & self , key_text : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_key_text_CSSKeyframeRule ( self_ : < & CssKeyframeRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssKeyframeRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key_text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_text , & mut __stack ) ; __widl_f_set_key_text_CSSKeyframeRule ( self_ , key_text ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keyText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule/keyText)\n\n*This API requires the following crate features to be activated: `CssKeyframeRule`*" ] pub fn set_key_text ( & self , key_text : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_style_CSSKeyframeRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssKeyframeRule as WasmDescribe > :: describe ( ) ; < CssStyleDeclaration as WasmDescribe > :: describe ( ) ; } impl CssKeyframeRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule/style)\n\n*This API requires the following crate features to be activated: `CssKeyframeRule`, `CssStyleDeclaration`*" ] pub fn style ( & self , ) -> CssStyleDeclaration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_style_CSSKeyframeRule ( self_ : < & CssKeyframeRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < CssStyleDeclaration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssKeyframeRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_style_CSSKeyframeRule ( self_ ) } ; < CssStyleDeclaration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule/style)\n\n*This API requires the following crate features to be activated: `CssKeyframeRule`, `CssStyleDeclaration`*" ] pub fn style ( & self , ) -> CssStyleDeclaration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSKeyframesRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule)\n\n*This API requires the following crate features to be activated: `CssKeyframesRule`*" ] # [ repr ( transparent ) ] pub struct CssKeyframesRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssKeyframesRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssKeyframesRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssKeyframesRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssKeyframesRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssKeyframesRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssKeyframesRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssKeyframesRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssKeyframesRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssKeyframesRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssKeyframesRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssKeyframesRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssKeyframesRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssKeyframesRule { # [ inline ] fn from ( obj : JsValue ) -> CssKeyframesRule { CssKeyframesRule { obj } } } impl AsRef < JsValue > for CssKeyframesRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssKeyframesRule > for JsValue { # [ inline ] fn from ( obj : CssKeyframesRule ) -> JsValue { obj . obj } } impl JsCast for CssKeyframesRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSKeyframesRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSKeyframesRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssKeyframesRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssKeyframesRule ) } } } ( ) } ; impl core :: ops :: Deref for CssKeyframesRule { type Target = CssRule ; # [ inline ] fn deref ( & self ) -> & CssRule { self . as_ref ( ) } } impl From < CssKeyframesRule > for CssRule { # [ inline ] fn from ( obj : CssKeyframesRule ) -> CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssRule > for CssKeyframesRule { # [ inline ] fn as_ref ( & self ) -> & CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssKeyframesRule > for Object { # [ inline ] fn from ( obj : CssKeyframesRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssKeyframesRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_rule_CSSKeyframesRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssKeyframesRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssKeyframesRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/appendRule)\n\n*This API requires the following crate features to be activated: `CssKeyframesRule`*" ] pub fn append_rule ( & self , rule : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_rule_CSSKeyframesRule ( self_ : < & CssKeyframesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rule : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssKeyframesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rule = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rule , & mut __stack ) ; __widl_f_append_rule_CSSKeyframesRule ( self_ , rule ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/appendRule)\n\n*This API requires the following crate features to be activated: `CssKeyframesRule`*" ] pub fn append_rule ( & self , rule : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_rule_CSSKeyframesRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssKeyframesRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssKeyframesRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/deleteRule)\n\n*This API requires the following crate features to be activated: `CssKeyframesRule`*" ] pub fn delete_rule ( & self , select : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_rule_CSSKeyframesRule ( self_ : < & CssKeyframesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , select : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssKeyframesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let select = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( select , & mut __stack ) ; __widl_f_delete_rule_CSSKeyframesRule ( self_ , select ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/deleteRule)\n\n*This API requires the following crate features to be activated: `CssKeyframesRule`*" ] pub fn delete_rule ( & self , select : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_find_rule_CSSKeyframesRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssKeyframesRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < CssKeyframeRule > as WasmDescribe > :: describe ( ) ; } impl CssKeyframesRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `findRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/findRule)\n\n*This API requires the following crate features to be activated: `CssKeyframeRule`, `CssKeyframesRule`*" ] pub fn find_rule ( & self , select : & str ) -> Option < CssKeyframeRule > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_find_rule_CSSKeyframesRule ( self_ : < & CssKeyframesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , select : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < CssKeyframeRule > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssKeyframesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let select = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( select , & mut __stack ) ; __widl_f_find_rule_CSSKeyframesRule ( self_ , select ) } ; < Option < CssKeyframeRule > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `findRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/findRule)\n\n*This API requires the following crate features to be activated: `CssKeyframeRule`, `CssKeyframesRule`*" ] pub fn find_rule ( & self , select : & str ) -> Option < CssKeyframeRule > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_CSSKeyframesRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssKeyframesRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssKeyframesRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/name)\n\n*This API requires the following crate features to be activated: `CssKeyframesRule`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_CSSKeyframesRule ( self_ : < & CssKeyframesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssKeyframesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_CSSKeyframesRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/name)\n\n*This API requires the following crate features to be activated: `CssKeyframesRule`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_CSSKeyframesRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssKeyframesRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssKeyframesRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/name)\n\n*This API requires the following crate features to be activated: `CssKeyframesRule`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_CSSKeyframesRule ( self_ : < & CssKeyframesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssKeyframesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_CSSKeyframesRule ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/name)\n\n*This API requires the following crate features to be activated: `CssKeyframesRule`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_css_rules_CSSKeyframesRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssKeyframesRule as WasmDescribe > :: describe ( ) ; < CssRuleList as WasmDescribe > :: describe ( ) ; } impl CssKeyframesRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cssRules` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/cssRules)\n\n*This API requires the following crate features to be activated: `CssKeyframesRule`, `CssRuleList`*" ] pub fn css_rules ( & self , ) -> CssRuleList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_css_rules_CSSKeyframesRule ( self_ : < & CssKeyframesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < CssRuleList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssKeyframesRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_css_rules_CSSKeyframesRule ( self_ ) } ; < CssRuleList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cssRules` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule/cssRules)\n\n*This API requires the following crate features to be activated: `CssKeyframesRule`, `CssRuleList`*" ] pub fn css_rules ( & self , ) -> CssRuleList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSMediaRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSMediaRule)\n\n*This API requires the following crate features to be activated: `CssMediaRule`*" ] # [ repr ( transparent ) ] pub struct CssMediaRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssMediaRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssMediaRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssMediaRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssMediaRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssMediaRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssMediaRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssMediaRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssMediaRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssMediaRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssMediaRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssMediaRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssMediaRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssMediaRule { # [ inline ] fn from ( obj : JsValue ) -> CssMediaRule { CssMediaRule { obj } } } impl AsRef < JsValue > for CssMediaRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssMediaRule > for JsValue { # [ inline ] fn from ( obj : CssMediaRule ) -> JsValue { obj . obj } } impl JsCast for CssMediaRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSMediaRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSMediaRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssMediaRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssMediaRule ) } } } ( ) } ; impl core :: ops :: Deref for CssMediaRule { type Target = CssConditionRule ; # [ inline ] fn deref ( & self ) -> & CssConditionRule { self . as_ref ( ) } } impl From < CssMediaRule > for CssConditionRule { # [ inline ] fn from ( obj : CssMediaRule ) -> CssConditionRule { use wasm_bindgen :: JsCast ; CssConditionRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssConditionRule > for CssMediaRule { # [ inline ] fn as_ref ( & self ) -> & CssConditionRule { use wasm_bindgen :: JsCast ; CssConditionRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssMediaRule > for CssGroupingRule { # [ inline ] fn from ( obj : CssMediaRule ) -> CssGroupingRule { use wasm_bindgen :: JsCast ; CssGroupingRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssGroupingRule > for CssMediaRule { # [ inline ] fn as_ref ( & self ) -> & CssGroupingRule { use wasm_bindgen :: JsCast ; CssGroupingRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssMediaRule > for CssRule { # [ inline ] fn from ( obj : CssMediaRule ) -> CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssRule > for CssMediaRule { # [ inline ] fn as_ref ( & self ) -> & CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssMediaRule > for Object { # [ inline ] fn from ( obj : CssMediaRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssMediaRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_CSSMediaRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssMediaRule as WasmDescribe > :: describe ( ) ; < MediaList as WasmDescribe > :: describe ( ) ; } impl CssMediaRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSMediaRule/media)\n\n*This API requires the following crate features to be activated: `CssMediaRule`, `MediaList`*" ] pub fn media ( & self , ) -> MediaList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_CSSMediaRule ( self_ : < & CssMediaRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssMediaRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_CSSMediaRule ( self_ ) } ; < MediaList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSMediaRule/media)\n\n*This API requires the following crate features to be activated: `CssMediaRule`, `MediaList`*" ] pub fn media ( & self , ) -> MediaList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSNamespaceRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSNamespaceRule)\n\n*This API requires the following crate features to be activated: `CssNamespaceRule`*" ] # [ repr ( transparent ) ] pub struct CssNamespaceRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssNamespaceRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssNamespaceRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssNamespaceRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssNamespaceRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssNamespaceRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssNamespaceRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssNamespaceRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssNamespaceRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssNamespaceRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssNamespaceRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssNamespaceRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssNamespaceRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssNamespaceRule { # [ inline ] fn from ( obj : JsValue ) -> CssNamespaceRule { CssNamespaceRule { obj } } } impl AsRef < JsValue > for CssNamespaceRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssNamespaceRule > for JsValue { # [ inline ] fn from ( obj : CssNamespaceRule ) -> JsValue { obj . obj } } impl JsCast for CssNamespaceRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSNamespaceRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSNamespaceRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssNamespaceRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssNamespaceRule ) } } } ( ) } ; impl core :: ops :: Deref for CssNamespaceRule { type Target = CssRule ; # [ inline ] fn deref ( & self ) -> & CssRule { self . as_ref ( ) } } impl From < CssNamespaceRule > for CssRule { # [ inline ] fn from ( obj : CssNamespaceRule ) -> CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssRule > for CssNamespaceRule { # [ inline ] fn as_ref ( & self ) -> & CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssNamespaceRule > for Object { # [ inline ] fn from ( obj : CssNamespaceRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssNamespaceRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_namespace_uri_CSSNamespaceRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssNamespaceRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssNamespaceRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `namespaceURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSNamespaceRule/namespaceURI)\n\n*This API requires the following crate features to be activated: `CssNamespaceRule`*" ] pub fn namespace_uri ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_namespace_uri_CSSNamespaceRule ( self_ : < & CssNamespaceRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssNamespaceRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_namespace_uri_CSSNamespaceRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `namespaceURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSNamespaceRule/namespaceURI)\n\n*This API requires the following crate features to be activated: `CssNamespaceRule`*" ] pub fn namespace_uri ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prefix_CSSNamespaceRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssNamespaceRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssNamespaceRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prefix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSNamespaceRule/prefix)\n\n*This API requires the following crate features to be activated: `CssNamespaceRule`*" ] pub fn prefix ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prefix_CSSNamespaceRule ( self_ : < & CssNamespaceRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssNamespaceRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prefix_CSSNamespaceRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prefix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSNamespaceRule/prefix)\n\n*This API requires the following crate features to be activated: `CssNamespaceRule`*" ] pub fn prefix ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSPageRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPageRule)\n\n*This API requires the following crate features to be activated: `CssPageRule`*" ] # [ repr ( transparent ) ] pub struct CssPageRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssPageRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssPageRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssPageRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssPageRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssPageRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssPageRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssPageRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssPageRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssPageRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssPageRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssPageRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssPageRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssPageRule { # [ inline ] fn from ( obj : JsValue ) -> CssPageRule { CssPageRule { obj } } } impl AsRef < JsValue > for CssPageRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssPageRule > for JsValue { # [ inline ] fn from ( obj : CssPageRule ) -> JsValue { obj . obj } } impl JsCast for CssPageRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSPageRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSPageRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssPageRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssPageRule ) } } } ( ) } ; impl core :: ops :: Deref for CssPageRule { type Target = CssRule ; # [ inline ] fn deref ( & self ) -> & CssRule { self . as_ref ( ) } } impl From < CssPageRule > for CssRule { # [ inline ] fn from ( obj : CssPageRule ) -> CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssRule > for CssPageRule { # [ inline ] fn as_ref ( & self ) -> & CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssPageRule > for Object { # [ inline ] fn from ( obj : CssPageRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssPageRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_style_CSSPageRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssPageRule as WasmDescribe > :: describe ( ) ; < CssStyleDeclaration as WasmDescribe > :: describe ( ) ; } impl CssPageRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPageRule/style)\n\n*This API requires the following crate features to be activated: `CssPageRule`, `CssStyleDeclaration`*" ] pub fn style ( & self , ) -> CssStyleDeclaration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_style_CSSPageRule ( self_ : < & CssPageRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < CssStyleDeclaration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssPageRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_style_CSSPageRule ( self_ ) } ; < CssStyleDeclaration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPageRule/style)\n\n*This API requires the following crate features to be activated: `CssPageRule`, `CssStyleDeclaration`*" ] pub fn style ( & self , ) -> CssStyleDeclaration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSPseudoElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement)\n\n*This API requires the following crate features to be activated: `CssPseudoElement`*" ] # [ repr ( transparent ) ] pub struct CssPseudoElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssPseudoElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssPseudoElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssPseudoElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssPseudoElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssPseudoElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssPseudoElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssPseudoElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssPseudoElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssPseudoElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssPseudoElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssPseudoElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssPseudoElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssPseudoElement { # [ inline ] fn from ( obj : JsValue ) -> CssPseudoElement { CssPseudoElement { obj } } } impl AsRef < JsValue > for CssPseudoElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssPseudoElement > for JsValue { # [ inline ] fn from ( obj : CssPseudoElement ) -> JsValue { obj . obj } } impl JsCast for CssPseudoElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSPseudoElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSPseudoElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssPseudoElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssPseudoElement ) } } } ( ) } ; impl core :: ops :: Deref for CssPseudoElement { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < CssPseudoElement > for Object { # [ inline ] fn from ( obj : CssPseudoElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssPseudoElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_CSSPseudoElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssPseudoElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssPseudoElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/type)\n\n*This API requires the following crate features to be activated: `CssPseudoElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_CSSPseudoElement ( self_ : < & CssPseudoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssPseudoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_CSSPseudoElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/type)\n\n*This API requires the following crate features to be activated: `CssPseudoElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_parent_element_CSSPseudoElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssPseudoElement as WasmDescribe > :: describe ( ) ; < Element as WasmDescribe > :: describe ( ) ; } impl CssPseudoElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `parentElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/parentElement)\n\n*This API requires the following crate features to be activated: `CssPseudoElement`, `Element`*" ] pub fn parent_element ( & self , ) -> Element { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_parent_element_CSSPseudoElement ( self_ : < & CssPseudoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssPseudoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_parent_element_CSSPseudoElement ( self_ ) } ; < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `parentElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/parentElement)\n\n*This API requires the following crate features to be activated: `CssPseudoElement`, `Element`*" ] pub fn parent_element ( & self , ) -> Element { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule)\n\n*This API requires the following crate features to be activated: `CssRule`*" ] # [ repr ( transparent ) ] pub struct CssRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssRule { # [ inline ] fn from ( obj : JsValue ) -> CssRule { CssRule { obj } } } impl AsRef < JsValue > for CssRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssRule > for JsValue { # [ inline ] fn from ( obj : CssRule ) -> JsValue { obj . obj } } impl JsCast for CssRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssRule ) } } } ( ) } ; impl core :: ops :: Deref for CssRule { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < CssRule > for Object { # [ inline ] fn from ( obj : CssRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_CSSRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssRule as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl CssRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/type)\n\n*This API requires the following crate features to be activated: `CssRule`*" ] pub fn type_ ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_CSSRule ( self_ : < & CssRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_CSSRule ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/type)\n\n*This API requires the following crate features to be activated: `CssRule`*" ] pub fn type_ ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_css_text_CSSRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cssText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/cssText)\n\n*This API requires the following crate features to be activated: `CssRule`*" ] pub fn css_text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_css_text_CSSRule ( self_ : < & CssRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_css_text_CSSRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cssText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/cssText)\n\n*This API requires the following crate features to be activated: `CssRule`*" ] pub fn css_text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_css_text_CSSRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cssText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/cssText)\n\n*This API requires the following crate features to be activated: `CssRule`*" ] pub fn set_css_text ( & self , css_text : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_css_text_CSSRule ( self_ : < & CssRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , css_text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let css_text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( css_text , & mut __stack ) ; __widl_f_set_css_text_CSSRule ( self_ , css_text ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cssText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/cssText)\n\n*This API requires the following crate features to be activated: `CssRule`*" ] pub fn set_css_text ( & self , css_text : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_parent_rule_CSSRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssRule as WasmDescribe > :: describe ( ) ; < Option < CssRule > as WasmDescribe > :: describe ( ) ; } impl CssRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `parentRule` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/parentRule)\n\n*This API requires the following crate features to be activated: `CssRule`*" ] pub fn parent_rule ( & self , ) -> Option < CssRule > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_parent_rule_CSSRule ( self_ : < & CssRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < CssRule > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_parent_rule_CSSRule ( self_ ) } ; < Option < CssRule > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `parentRule` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/parentRule)\n\n*This API requires the following crate features to be activated: `CssRule`*" ] pub fn parent_rule ( & self , ) -> Option < CssRule > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_parent_style_sheet_CSSRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssRule as WasmDescribe > :: describe ( ) ; < Option < CssStyleSheet > as WasmDescribe > :: describe ( ) ; } impl CssRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `parentStyleSheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/parentStyleSheet)\n\n*This API requires the following crate features to be activated: `CssRule`, `CssStyleSheet`*" ] pub fn parent_style_sheet ( & self , ) -> Option < CssStyleSheet > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_parent_style_sheet_CSSRule ( self_ : < & CssRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < CssStyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_parent_style_sheet_CSSRule ( self_ ) } ; < Option < CssStyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `parentStyleSheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/parentStyleSheet)\n\n*This API requires the following crate features to be activated: `CssRule`, `CssStyleSheet`*" ] pub fn parent_style_sheet ( & self , ) -> Option < CssStyleSheet > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSRuleList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRuleList)\n\n*This API requires the following crate features to be activated: `CssRuleList`*" ] # [ repr ( transparent ) ] pub struct CssRuleList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssRuleList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssRuleList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssRuleList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssRuleList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssRuleList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssRuleList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssRuleList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssRuleList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssRuleList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssRuleList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssRuleList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssRuleList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssRuleList { # [ inline ] fn from ( obj : JsValue ) -> CssRuleList { CssRuleList { obj } } } impl AsRef < JsValue > for CssRuleList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssRuleList > for JsValue { # [ inline ] fn from ( obj : CssRuleList ) -> JsValue { obj . obj } } impl JsCast for CssRuleList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSRuleList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSRuleList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssRuleList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssRuleList ) } } } ( ) } ; impl core :: ops :: Deref for CssRuleList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < CssRuleList > for Object { # [ inline ] fn from ( obj : CssRuleList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssRuleList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_CSSRuleList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssRuleList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < CssRule > as WasmDescribe > :: describe ( ) ; } impl CssRuleList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRuleList/item)\n\n*This API requires the following crate features to be activated: `CssRule`, `CssRuleList`*" ] pub fn item ( & self , index : u32 ) -> Option < CssRule > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_CSSRuleList ( self_ : < & CssRuleList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < CssRule > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssRuleList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_CSSRuleList ( self_ , index ) } ; < Option < CssRule > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRuleList/item)\n\n*This API requires the following crate features to be activated: `CssRule`, `CssRuleList`*" ] pub fn item ( & self , index : u32 ) -> Option < CssRule > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_CSSRuleList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssRuleList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < CssRule > as WasmDescribe > :: describe ( ) ; } impl CssRuleList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `CssRule`, `CssRuleList`*" ] pub fn get ( & self , index : u32 ) -> Option < CssRule > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_CSSRuleList ( self_ : < & CssRuleList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < CssRule > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssRuleList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_CSSRuleList ( self_ , index ) } ; < Option < CssRule > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `CssRule`, `CssRuleList`*" ] pub fn get ( & self , index : u32 ) -> Option < CssRule > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_CSSRuleList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssRuleList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl CssRuleList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRuleList/length)\n\n*This API requires the following crate features to be activated: `CssRuleList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_CSSRuleList ( self_ : < & CssRuleList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssRuleList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_CSSRuleList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSRuleList/length)\n\n*This API requires the following crate features to be activated: `CssRuleList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSStyleDeclaration` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] # [ repr ( transparent ) ] pub struct CssStyleDeclaration { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssStyleDeclaration : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssStyleDeclaration { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssStyleDeclaration { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssStyleDeclaration { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssStyleDeclaration { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssStyleDeclaration { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssStyleDeclaration { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssStyleDeclaration { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssStyleDeclaration { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssStyleDeclaration { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssStyleDeclaration > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssStyleDeclaration { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssStyleDeclaration { # [ inline ] fn from ( obj : JsValue ) -> CssStyleDeclaration { CssStyleDeclaration { obj } } } impl AsRef < JsValue > for CssStyleDeclaration { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssStyleDeclaration > for JsValue { # [ inline ] fn from ( obj : CssStyleDeclaration ) -> JsValue { obj . obj } } impl JsCast for CssStyleDeclaration { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSStyleDeclaration ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSStyleDeclaration ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssStyleDeclaration { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssStyleDeclaration ) } } } ( ) } ; impl core :: ops :: Deref for CssStyleDeclaration { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < CssStyleDeclaration > for Object { # [ inline ] fn from ( obj : CssStyleDeclaration ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssStyleDeclaration { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_property_priority_CSSStyleDeclaration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssStyleDeclaration as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssStyleDeclaration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getPropertyPriority()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn get_property_priority ( & self , property : & str ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_property_priority_CSSStyleDeclaration ( self_ : < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , property : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let property = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( property , & mut __stack ) ; __widl_f_get_property_priority_CSSStyleDeclaration ( self_ , property ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getPropertyPriority()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn get_property_priority ( & self , property : & str ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_property_value_CSSStyleDeclaration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssStyleDeclaration as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssStyleDeclaration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getPropertyValue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/getPropertyValue)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn get_property_value ( & self , property : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_property_value_CSSStyleDeclaration ( self_ : < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , property : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let property = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( property , & mut __stack ) ; __widl_f_get_property_value_CSSStyleDeclaration ( self_ , property , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getPropertyValue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/getPropertyValue)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn get_property_value ( & self , property : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_CSSStyleDeclaration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssStyleDeclaration as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssStyleDeclaration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/item)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn item ( & self , index : u32 ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_CSSStyleDeclaration ( self_ : < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_CSSStyleDeclaration ( self_ , index ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/item)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn item ( & self , index : u32 ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_property_CSSStyleDeclaration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssStyleDeclaration as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssStyleDeclaration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeProperty()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/removeProperty)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn remove_property ( & self , property : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_property_CSSStyleDeclaration ( self_ : < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , property : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let property = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( property , & mut __stack ) ; __widl_f_remove_property_CSSStyleDeclaration ( self_ , property , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeProperty()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/removeProperty)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn remove_property ( & self , property : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_property_CSSStyleDeclaration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CssStyleDeclaration as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssStyleDeclaration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setProperty()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/setProperty)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn set_property ( & self , property : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_property_CSSStyleDeclaration ( self_ : < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , property : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let property = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( property , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_property_CSSStyleDeclaration ( self_ , property , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setProperty()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/setProperty)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn set_property ( & self , property : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_property_with_priority_CSSStyleDeclaration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CssStyleDeclaration as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssStyleDeclaration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setProperty()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/setProperty)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn set_property_with_priority ( & self , property : & str , value : & str , priority : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_property_with_priority_CSSStyleDeclaration ( self_ : < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , property : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , priority : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let property = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( property , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; let priority = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( priority , & mut __stack ) ; __widl_f_set_property_with_priority_CSSStyleDeclaration ( self_ , property , value , priority , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setProperty()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/setProperty)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn set_property_with_priority ( & self , property : & str , value : & str , priority : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_CSSStyleDeclaration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssStyleDeclaration as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssStyleDeclaration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn get ( & self , index : u32 ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_CSSStyleDeclaration ( self_ : < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_CSSStyleDeclaration ( self_ , index ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn get ( & self , index : u32 ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_css_text_CSSStyleDeclaration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssStyleDeclaration as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssStyleDeclaration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cssText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/cssText)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn css_text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_css_text_CSSStyleDeclaration ( self_ : < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_css_text_CSSStyleDeclaration ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cssText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/cssText)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn css_text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_css_text_CSSStyleDeclaration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssStyleDeclaration as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssStyleDeclaration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cssText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/cssText)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn set_css_text ( & self , css_text : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_css_text_CSSStyleDeclaration ( self_ : < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , css_text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let css_text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( css_text , & mut __stack ) ; __widl_f_set_css_text_CSSStyleDeclaration ( self_ , css_text ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cssText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/cssText)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn set_css_text ( & self , css_text : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_CSSStyleDeclaration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssStyleDeclaration as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl CssStyleDeclaration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/length)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_CSSStyleDeclaration ( self_ : < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_CSSStyleDeclaration ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/length)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_parent_rule_CSSStyleDeclaration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssStyleDeclaration as WasmDescribe > :: describe ( ) ; < Option < CssRule > as WasmDescribe > :: describe ( ) ; } impl CssStyleDeclaration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `parentRule` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/parentRule)\n\n*This API requires the following crate features to be activated: `CssRule`, `CssStyleDeclaration`*" ] pub fn parent_rule ( & self , ) -> Option < CssRule > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_parent_rule_CSSStyleDeclaration ( self_ : < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < CssRule > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleDeclaration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_parent_rule_CSSStyleDeclaration ( self_ ) } ; < Option < CssRule > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `parentRule` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/parentRule)\n\n*This API requires the following crate features to be activated: `CssRule`, `CssStyleDeclaration`*" ] pub fn parent_rule ( & self , ) -> Option < CssRule > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSStyleRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule)\n\n*This API requires the following crate features to be activated: `CssStyleRule`*" ] # [ repr ( transparent ) ] pub struct CssStyleRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssStyleRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssStyleRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssStyleRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssStyleRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssStyleRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssStyleRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssStyleRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssStyleRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssStyleRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssStyleRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssStyleRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssStyleRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssStyleRule { # [ inline ] fn from ( obj : JsValue ) -> CssStyleRule { CssStyleRule { obj } } } impl AsRef < JsValue > for CssStyleRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssStyleRule > for JsValue { # [ inline ] fn from ( obj : CssStyleRule ) -> JsValue { obj . obj } } impl JsCast for CssStyleRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSStyleRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSStyleRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssStyleRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssStyleRule ) } } } ( ) } ; impl core :: ops :: Deref for CssStyleRule { type Target = CssRule ; # [ inline ] fn deref ( & self ) -> & CssRule { self . as_ref ( ) } } impl From < CssStyleRule > for CssRule { # [ inline ] fn from ( obj : CssStyleRule ) -> CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssRule > for CssStyleRule { # [ inline ] fn as_ref ( & self ) -> & CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssStyleRule > for Object { # [ inline ] fn from ( obj : CssStyleRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssStyleRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_selector_text_CSSStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssStyleRule as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectorText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/selectorText)\n\n*This API requires the following crate features to be activated: `CssStyleRule`*" ] pub fn selector_text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_selector_text_CSSStyleRule ( self_ : < & CssStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_selector_text_CSSStyleRule ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectorText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/selectorText)\n\n*This API requires the following crate features to be activated: `CssStyleRule`*" ] pub fn selector_text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_selector_text_CSSStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssStyleRule as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectorText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/selectorText)\n\n*This API requires the following crate features to be activated: `CssStyleRule`*" ] pub fn set_selector_text ( & self , selector_text : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_selector_text_CSSStyleRule ( self_ : < & CssStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selector_text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selector_text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selector_text , & mut __stack ) ; __widl_f_set_selector_text_CSSStyleRule ( self_ , selector_text ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectorText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/selectorText)\n\n*This API requires the following crate features to be activated: `CssStyleRule`*" ] pub fn set_selector_text ( & self , selector_text : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_style_CSSStyleRule ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssStyleRule as WasmDescribe > :: describe ( ) ; < CssStyleDeclaration as WasmDescribe > :: describe ( ) ; } impl CssStyleRule { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/style)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`, `CssStyleRule`*" ] pub fn style ( & self , ) -> CssStyleDeclaration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_style_CSSStyleRule ( self_ : < & CssStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < CssStyleDeclaration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_style_CSSStyleRule ( self_ ) } ; < CssStyleDeclaration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/style)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`, `CssStyleRule`*" ] pub fn style ( & self , ) -> CssStyleDeclaration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSStyleSheet` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet)\n\n*This API requires the following crate features to be activated: `CssStyleSheet`*" ] # [ repr ( transparent ) ] pub struct CssStyleSheet { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssStyleSheet : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssStyleSheet { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssStyleSheet { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssStyleSheet { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssStyleSheet { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssStyleSheet { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssStyleSheet { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssStyleSheet { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssStyleSheet { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssStyleSheet { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssStyleSheet > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssStyleSheet { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssStyleSheet { # [ inline ] fn from ( obj : JsValue ) -> CssStyleSheet { CssStyleSheet { obj } } } impl AsRef < JsValue > for CssStyleSheet { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssStyleSheet > for JsValue { # [ inline ] fn from ( obj : CssStyleSheet ) -> JsValue { obj . obj } } impl JsCast for CssStyleSheet { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSStyleSheet ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSStyleSheet ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssStyleSheet { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssStyleSheet ) } } } ( ) } ; impl core :: ops :: Deref for CssStyleSheet { type Target = StyleSheet ; # [ inline ] fn deref ( & self ) -> & StyleSheet { self . as_ref ( ) } } impl From < CssStyleSheet > for StyleSheet { # [ inline ] fn from ( obj : CssStyleSheet ) -> StyleSheet { use wasm_bindgen :: JsCast ; StyleSheet :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < StyleSheet > for CssStyleSheet { # [ inline ] fn as_ref ( & self ) -> & StyleSheet { use wasm_bindgen :: JsCast ; StyleSheet :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssStyleSheet > for Object { # [ inline ] fn from ( obj : CssStyleSheet ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssStyleSheet { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_rule_CSSStyleSheet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssStyleSheet as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CssStyleSheet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/deleteRule)\n\n*This API requires the following crate features to be activated: `CssStyleSheet`*" ] pub fn delete_rule ( & self , index : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_rule_CSSStyleSheet ( self_ : < & CssStyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_delete_rule_CSSStyleSheet ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/deleteRule)\n\n*This API requires the following crate features to be activated: `CssStyleSheet`*" ] pub fn delete_rule ( & self , index : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_rule_CSSStyleSheet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CssStyleSheet as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl CssStyleSheet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/insertRule)\n\n*This API requires the following crate features to be activated: `CssStyleSheet`*" ] pub fn insert_rule ( & self , rule : & str ) -> Result < u32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_rule_CSSStyleSheet ( self_ : < & CssStyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rule : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rule = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rule , & mut __stack ) ; __widl_f_insert_rule_CSSStyleSheet ( self_ , rule , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/insertRule)\n\n*This API requires the following crate features to be activated: `CssStyleSheet`*" ] pub fn insert_rule ( & self , rule : & str ) -> Result < u32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_rule_with_index_CSSStyleSheet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CssStyleSheet as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl CssStyleSheet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/insertRule)\n\n*This API requires the following crate features to be activated: `CssStyleSheet`*" ] pub fn insert_rule_with_index ( & self , rule : & str , index : u32 ) -> Result < u32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_rule_with_index_CSSStyleSheet ( self_ : < & CssStyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rule : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rule = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rule , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_insert_rule_with_index_CSSStyleSheet ( self_ , rule , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertRule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/insertRule)\n\n*This API requires the following crate features to be activated: `CssStyleSheet`*" ] pub fn insert_rule_with_index ( & self , rule : & str , index : u32 ) -> Result < u32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_owner_rule_CSSStyleSheet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssStyleSheet as WasmDescribe > :: describe ( ) ; < Option < CssRule > as WasmDescribe > :: describe ( ) ; } impl CssStyleSheet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ownerRule` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/ownerRule)\n\n*This API requires the following crate features to be activated: `CssRule`, `CssStyleSheet`*" ] pub fn owner_rule ( & self , ) -> Option < CssRule > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_owner_rule_CSSStyleSheet ( self_ : < & CssStyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < CssRule > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_owner_rule_CSSStyleSheet ( self_ ) } ; < Option < CssRule > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ownerRule` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/ownerRule)\n\n*This API requires the following crate features to be activated: `CssRule`, `CssStyleSheet`*" ] pub fn owner_rule ( & self , ) -> Option < CssRule > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_css_rules_CSSStyleSheet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssStyleSheet as WasmDescribe > :: describe ( ) ; < CssRuleList as WasmDescribe > :: describe ( ) ; } impl CssStyleSheet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cssRules` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/cssRules)\n\n*This API requires the following crate features to be activated: `CssRuleList`, `CssStyleSheet`*" ] pub fn css_rules ( & self , ) -> Result < CssRuleList , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_css_rules_CSSStyleSheet ( self_ : < & CssStyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < CssRuleList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssStyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_css_rules_CSSStyleSheet ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < CssRuleList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cssRules` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/cssRules)\n\n*This API requires the following crate features to be activated: `CssRuleList`, `CssStyleSheet`*" ] pub fn css_rules ( & self , ) -> Result < CssRuleList , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSSupportsRule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSSupportsRule)\n\n*This API requires the following crate features to be activated: `CssSupportsRule`*" ] # [ repr ( transparent ) ] pub struct CssSupportsRule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssSupportsRule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssSupportsRule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssSupportsRule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssSupportsRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssSupportsRule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssSupportsRule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssSupportsRule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssSupportsRule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssSupportsRule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssSupportsRule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssSupportsRule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssSupportsRule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssSupportsRule { # [ inline ] fn from ( obj : JsValue ) -> CssSupportsRule { CssSupportsRule { obj } } } impl AsRef < JsValue > for CssSupportsRule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssSupportsRule > for JsValue { # [ inline ] fn from ( obj : CssSupportsRule ) -> JsValue { obj . obj } } impl JsCast for CssSupportsRule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSSupportsRule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSSupportsRule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssSupportsRule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssSupportsRule ) } } } ( ) } ; impl core :: ops :: Deref for CssSupportsRule { type Target = CssConditionRule ; # [ inline ] fn deref ( & self ) -> & CssConditionRule { self . as_ref ( ) } } impl From < CssSupportsRule > for CssConditionRule { # [ inline ] fn from ( obj : CssSupportsRule ) -> CssConditionRule { use wasm_bindgen :: JsCast ; CssConditionRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssConditionRule > for CssSupportsRule { # [ inline ] fn as_ref ( & self ) -> & CssConditionRule { use wasm_bindgen :: JsCast ; CssConditionRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssSupportsRule > for CssGroupingRule { # [ inline ] fn from ( obj : CssSupportsRule ) -> CssGroupingRule { use wasm_bindgen :: JsCast ; CssGroupingRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssGroupingRule > for CssSupportsRule { # [ inline ] fn as_ref ( & self ) -> & CssGroupingRule { use wasm_bindgen :: JsCast ; CssGroupingRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssSupportsRule > for CssRule { # [ inline ] fn from ( obj : CssSupportsRule ) -> CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CssRule > for CssSupportsRule { # [ inline ] fn as_ref ( & self ) -> & CssRule { use wasm_bindgen :: JsCast ; CssRule :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssSupportsRule > for Object { # [ inline ] fn from ( obj : CssSupportsRule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssSupportsRule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CSSTransition` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSTransition)\n\n*This API requires the following crate features to be activated: `CssTransition`*" ] # [ repr ( transparent ) ] pub struct CssTransition { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CssTransition : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CssTransition { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CssTransition { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CssTransition { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CssTransition { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CssTransition { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CssTransition { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CssTransition { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CssTransition { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CssTransition { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CssTransition > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CssTransition { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CssTransition { # [ inline ] fn from ( obj : JsValue ) -> CssTransition { CssTransition { obj } } } impl AsRef < JsValue > for CssTransition { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CssTransition > for JsValue { # [ inline ] fn from ( obj : CssTransition ) -> JsValue { obj . obj } } impl JsCast for CssTransition { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CSSTransition ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CSSTransition ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CssTransition { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CssTransition ) } } } ( ) } ; impl core :: ops :: Deref for CssTransition { type Target = Animation ; # [ inline ] fn deref ( & self ) -> & Animation { self . as_ref ( ) } } impl From < CssTransition > for Animation { # [ inline ] fn from ( obj : CssTransition ) -> Animation { use wasm_bindgen :: JsCast ; Animation :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Animation > for CssTransition { # [ inline ] fn as_ref ( & self ) -> & Animation { use wasm_bindgen :: JsCast ; Animation :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssTransition > for EventTarget { # [ inline ] fn from ( obj : CssTransition ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for CssTransition { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CssTransition > for Object { # [ inline ] fn from ( obj : CssTransition ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CssTransition { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transition_property_CSSTransition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CssTransition as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CssTransition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transitionProperty` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSTransition/transitionProperty)\n\n*This API requires the following crate features to be activated: `CssTransition`*" ] pub fn transition_property ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transition_property_CSSTransition ( self_ : < & CssTransition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CssTransition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_transition_property_CSSTransition ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transitionProperty` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSTransition/transitionProperty)\n\n*This API requires the following crate features to be activated: `CssTransition`*" ] pub fn transition_property ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Cache` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache)\n\n*This API requires the following crate features to be activated: `Cache`*" ] # [ repr ( transparent ) ] pub struct Cache { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Cache : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Cache { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Cache { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Cache { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Cache { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Cache { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Cache { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Cache { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Cache { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Cache { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Cache > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Cache { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Cache { # [ inline ] fn from ( obj : JsValue ) -> Cache { Cache { obj } } } impl AsRef < JsValue > for Cache { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Cache > for JsValue { # [ inline ] fn from ( obj : Cache ) -> JsValue { obj . obj } } impl JsCast for Cache { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Cache ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Cache ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Cache { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Cache ) } } } ( ) } ; impl core :: ops :: Deref for Cache { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Cache > for Object { # [ inline ] fn from ( obj : Cache ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Cache { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_request_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/add)\n\n*This API requires the following crate features to be activated: `Cache`, `Request`*" ] pub fn add_with_request ( & self , request : & Request ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_request_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; __widl_f_add_with_request_Cache ( self_ , request ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/add)\n\n*This API requires the following crate features to be activated: `Cache`, `Request`*" ] pub fn add_with_request ( & self , request : & Request ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_str_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/add)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn add_with_str ( & self , request : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_str_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; __widl_f_add_with_str_Cache ( self_ , request ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/add)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn add_with_str ( & self , request : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_with_request_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)\n\n*This API requires the following crate features to be activated: `Cache`, `Request`*" ] pub fn delete_with_request ( & self , request : & Request ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_with_request_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; __widl_f_delete_with_request_Cache ( self_ , request ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)\n\n*This API requires the following crate features to be activated: `Cache`, `Request`*" ] pub fn delete_with_request ( & self , request : & Request ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_with_str_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn delete_with_str ( & self , request : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_with_str_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; __widl_f_delete_with_str_Cache ( self_ , request ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn delete_with_str ( & self , request : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_with_request_and_options_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < & CacheQueryOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*" ] pub fn delete_with_request_and_options ( & self , request : & Request , options : & CacheQueryOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_with_request_and_options_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; let options = < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_delete_with_request_and_options_Cache ( self_ , request , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*" ] pub fn delete_with_request_and_options ( & self , request : & Request , options : & CacheQueryOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_with_str_and_options_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CacheQueryOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*" ] pub fn delete_with_str_and_options ( & self , request : & str , options : & CacheQueryOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_with_str_and_options_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; let options = < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_delete_with_str_and_options_Cache ( self_ , request , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*" ] pub fn delete_with_str_and_options ( & self , request : & str , options : & CacheQueryOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_keys_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn keys ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_keys_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_keys_Cache ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn keys ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_keys_with_request_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)\n\n*This API requires the following crate features to be activated: `Cache`, `Request`*" ] pub fn keys_with_request ( & self , request : & Request ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_keys_with_request_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; __widl_f_keys_with_request_Cache ( self_ , request ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)\n\n*This API requires the following crate features to be activated: `Cache`, `Request`*" ] pub fn keys_with_request ( & self , request : & Request ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_keys_with_str_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn keys_with_str ( & self , request : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_keys_with_str_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; __widl_f_keys_with_str_Cache ( self_ , request ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn keys_with_str ( & self , request : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_keys_with_request_and_options_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < & CacheQueryOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*" ] pub fn keys_with_request_and_options ( & self , request : & Request , options : & CacheQueryOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_keys_with_request_and_options_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; let options = < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_keys_with_request_and_options_Cache ( self_ , request , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*" ] pub fn keys_with_request_and_options ( & self , request : & Request , options : & CacheQueryOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_keys_with_str_and_options_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CacheQueryOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*" ] pub fn keys_with_str_and_options ( & self , request : & str , options : & CacheQueryOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_keys_with_str_and_options_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; let options = < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_keys_with_str_and_options_Cache ( self_ , request , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/keys)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*" ] pub fn keys_with_str_and_options ( & self , request : & str , options : & CacheQueryOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_with_request_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n\n*This API requires the following crate features to be activated: `Cache`, `Request`*" ] pub fn match_with_request ( & self , request : & Request ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_with_request_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; __widl_f_match_with_request_Cache ( self_ , request ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n\n*This API requires the following crate features to be activated: `Cache`, `Request`*" ] pub fn match_with_request ( & self , request : & Request ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_with_str_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn match_with_str ( & self , request : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_with_str_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; __widl_f_match_with_str_Cache ( self_ , request ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn match_with_str ( & self , request : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_with_request_and_options_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < & CacheQueryOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*" ] pub fn match_with_request_and_options ( & self , request : & Request , options : & CacheQueryOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_with_request_and_options_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; let options = < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_match_with_request_and_options_Cache ( self_ , request , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*" ] pub fn match_with_request_and_options ( & self , request : & Request , options : & CacheQueryOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_with_str_and_options_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CacheQueryOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*" ] pub fn match_with_str_and_options ( & self , request : & str , options : & CacheQueryOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_with_str_and_options_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; let options = < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_match_with_str_and_options_Cache ( self_ , request , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*" ] pub fn match_with_str_and_options ( & self , request : & str , options : & CacheQueryOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_all_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn match_all ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_all_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_match_all_Cache ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn match_all ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_all_with_request_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)\n\n*This API requires the following crate features to be activated: `Cache`, `Request`*" ] pub fn match_all_with_request ( & self , request : & Request ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_all_with_request_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; __widl_f_match_all_with_request_Cache ( self_ , request ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)\n\n*This API requires the following crate features to be activated: `Cache`, `Request`*" ] pub fn match_all_with_request ( & self , request : & Request ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_all_with_str_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn match_all_with_str ( & self , request : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_all_with_str_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; __widl_f_match_all_with_str_Cache ( self_ , request ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)\n\n*This API requires the following crate features to be activated: `Cache`*" ] pub fn match_all_with_str ( & self , request : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_all_with_request_and_options_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < & CacheQueryOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*" ] pub fn match_all_with_request_and_options ( & self , request : & Request , options : & CacheQueryOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_all_with_request_and_options_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; let options = < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_match_all_with_request_and_options_Cache ( self_ , request , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`, `Request`*" ] pub fn match_all_with_request_and_options ( & self , request : & Request , options : & CacheQueryOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_all_with_str_and_options_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CacheQueryOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*" ] pub fn match_all_with_str_and_options ( & self , request : & str , options : & CacheQueryOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_all_with_str_and_options_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; let options = < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_match_all_with_str_and_options_Cache ( self_ , request , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/matchAll)\n\n*This API requires the following crate features to be activated: `Cache`, `CacheQueryOptions`*" ] pub fn match_all_with_str_and_options ( & self , request : & str , options : & CacheQueryOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_put_with_request_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < & Response as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `put()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/put)\n\n*This API requires the following crate features to be activated: `Cache`, `Request`, `Response`*" ] pub fn put_with_request ( & self , request : & Request , response : & Response ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_put_with_request_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , response : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; let response = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( response , & mut __stack ) ; __widl_f_put_with_request_Cache ( self_ , request , response ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `put()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/put)\n\n*This API requires the following crate features to be activated: `Cache`, `Request`, `Response`*" ] pub fn put_with_request ( & self , request : & Request , response : & Response ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_put_with_str_Cache ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Cache as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & Response as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Cache { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `put()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/put)\n\n*This API requires the following crate features to be activated: `Cache`, `Response`*" ] pub fn put_with_str ( & self , request : & str , response : & Response ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_put_with_str_Cache ( self_ : < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , response : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Cache as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; let response = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( response , & mut __stack ) ; __widl_f_put_with_str_Cache ( self_ , request , response ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `put()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Cache/put)\n\n*This API requires the following crate features to be activated: `Cache`, `Response`*" ] pub fn put_with_str ( & self , request : & str , response : & Response ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CacheStorage` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage)\n\n*This API requires the following crate features to be activated: `CacheStorage`*" ] # [ repr ( transparent ) ] pub struct CacheStorage { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CacheStorage : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CacheStorage { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CacheStorage { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CacheStorage { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CacheStorage { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CacheStorage { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CacheStorage { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CacheStorage { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CacheStorage { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CacheStorage { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CacheStorage > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CacheStorage { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CacheStorage { # [ inline ] fn from ( obj : JsValue ) -> CacheStorage { CacheStorage { obj } } } impl AsRef < JsValue > for CacheStorage { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CacheStorage > for JsValue { # [ inline ] fn from ( obj : CacheStorage ) -> JsValue { obj . obj } } impl JsCast for CacheStorage { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CacheStorage ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CacheStorage ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CacheStorage { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CacheStorage ) } } } ( ) } ; impl core :: ops :: Deref for CacheStorage { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < CacheStorage > for Object { # [ inline ] fn from ( obj : CacheStorage ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CacheStorage { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_CacheStorage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CacheStorage as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CacheStorage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/delete)\n\n*This API requires the following crate features to be activated: `CacheStorage`*" ] pub fn delete ( & self , cache_name : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_CacheStorage ( self_ : < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cache_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cache_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cache_name , & mut __stack ) ; __widl_f_delete_CacheStorage ( self_ , cache_name ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/delete)\n\n*This API requires the following crate features to be activated: `CacheStorage`*" ] pub fn delete ( & self , cache_name : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_CacheStorage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CacheStorage as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CacheStorage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/has)\n\n*This API requires the following crate features to be activated: `CacheStorage`*" ] pub fn has ( & self , cache_name : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_CacheStorage ( self_ : < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cache_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cache_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cache_name , & mut __stack ) ; __widl_f_has_CacheStorage ( self_ , cache_name ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/has)\n\n*This API requires the following crate features to be activated: `CacheStorage`*" ] pub fn has ( & self , cache_name : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_keys_CacheStorage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CacheStorage as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CacheStorage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/keys)\n\n*This API requires the following crate features to be activated: `CacheStorage`*" ] pub fn keys ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_keys_CacheStorage ( self_ : < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_keys_CacheStorage ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/keys)\n\n*This API requires the following crate features to be activated: `CacheStorage`*" ] pub fn keys ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_with_request_CacheStorage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CacheStorage as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CacheStorage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)\n\n*This API requires the following crate features to be activated: `CacheStorage`, `Request`*" ] pub fn match_with_request ( & self , request : & Request ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_with_request_CacheStorage ( self_ : < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; __widl_f_match_with_request_CacheStorage ( self_ , request ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)\n\n*This API requires the following crate features to be activated: `CacheStorage`, `Request`*" ] pub fn match_with_request ( & self , request : & Request ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_with_str_CacheStorage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CacheStorage as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CacheStorage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)\n\n*This API requires the following crate features to be activated: `CacheStorage`*" ] pub fn match_with_str ( & self , request : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_with_str_CacheStorage ( self_ : < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; __widl_f_match_with_str_CacheStorage ( self_ , request ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)\n\n*This API requires the following crate features to be activated: `CacheStorage`*" ] pub fn match_with_str ( & self , request : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_with_request_and_options_CacheStorage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CacheStorage as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < & CacheQueryOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CacheStorage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)\n\n*This API requires the following crate features to be activated: `CacheQueryOptions`, `CacheStorage`, `Request`*" ] pub fn match_with_request_and_options ( & self , request : & Request , options : & CacheQueryOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_with_request_and_options_CacheStorage ( self_ : < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; let options = < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_match_with_request_and_options_CacheStorage ( self_ , request , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)\n\n*This API requires the following crate features to be activated: `CacheQueryOptions`, `CacheStorage`, `Request`*" ] pub fn match_with_request_and_options ( & self , request : & Request , options : & CacheQueryOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_with_str_and_options_CacheStorage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CacheStorage as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CacheQueryOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CacheStorage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)\n\n*This API requires the following crate features to be activated: `CacheQueryOptions`, `CacheStorage`*" ] pub fn match_with_str_and_options ( & self , request : & str , options : & CacheQueryOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_with_str_and_options_CacheStorage ( self_ : < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , request : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let request = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( request , & mut __stack ) ; let options = < & CacheQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_match_with_str_and_options_CacheStorage ( self_ , request , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `match()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/match)\n\n*This API requires the following crate features to be activated: `CacheQueryOptions`, `CacheStorage`*" ] pub fn match_with_str_and_options ( & self , request : & str , options : & CacheQueryOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_CacheStorage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CacheStorage as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CacheStorage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/open)\n\n*This API requires the following crate features to be activated: `CacheStorage`*" ] pub fn open ( & self , cache_name : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_CacheStorage ( self_ : < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cache_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CacheStorage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cache_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cache_name , & mut __stack ) ; __widl_f_open_CacheStorage ( self_ , cache_name ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/open)\n\n*This API requires the following crate features to be activated: `CacheStorage`*" ] pub fn open ( & self , cache_name : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CanvasCaptureMediaStream` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStream)\n\n*This API requires the following crate features to be activated: `CanvasCaptureMediaStream`*" ] # [ repr ( transparent ) ] pub struct CanvasCaptureMediaStream { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CanvasCaptureMediaStream : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CanvasCaptureMediaStream { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CanvasCaptureMediaStream { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CanvasCaptureMediaStream { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CanvasCaptureMediaStream { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CanvasCaptureMediaStream { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CanvasCaptureMediaStream { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CanvasCaptureMediaStream { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CanvasCaptureMediaStream { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CanvasCaptureMediaStream { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CanvasCaptureMediaStream > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CanvasCaptureMediaStream { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CanvasCaptureMediaStream { # [ inline ] fn from ( obj : JsValue ) -> CanvasCaptureMediaStream { CanvasCaptureMediaStream { obj } } } impl AsRef < JsValue > for CanvasCaptureMediaStream { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CanvasCaptureMediaStream > for JsValue { # [ inline ] fn from ( obj : CanvasCaptureMediaStream ) -> JsValue { obj . obj } } impl JsCast for CanvasCaptureMediaStream { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CanvasCaptureMediaStream ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CanvasCaptureMediaStream ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CanvasCaptureMediaStream { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CanvasCaptureMediaStream ) } } } ( ) } ; impl core :: ops :: Deref for CanvasCaptureMediaStream { type Target = MediaStream ; # [ inline ] fn deref ( & self ) -> & MediaStream { self . as_ref ( ) } } impl From < CanvasCaptureMediaStream > for MediaStream { # [ inline ] fn from ( obj : CanvasCaptureMediaStream ) -> MediaStream { use wasm_bindgen :: JsCast ; MediaStream :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < MediaStream > for CanvasCaptureMediaStream { # [ inline ] fn as_ref ( & self ) -> & MediaStream { use wasm_bindgen :: JsCast ; MediaStream :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CanvasCaptureMediaStream > for EventTarget { # [ inline ] fn from ( obj : CanvasCaptureMediaStream ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for CanvasCaptureMediaStream { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CanvasCaptureMediaStream > for Object { # [ inline ] fn from ( obj : CanvasCaptureMediaStream ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CanvasCaptureMediaStream { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_frame_CanvasCaptureMediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasCaptureMediaStream as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasCaptureMediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStream/requestFrame)\n\n*This API requires the following crate features to be activated: `CanvasCaptureMediaStream`*" ] pub fn request_frame ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_frame_CanvasCaptureMediaStream ( self_ : < & CanvasCaptureMediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasCaptureMediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_request_frame_CanvasCaptureMediaStream ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStream/requestFrame)\n\n*This API requires the following crate features to be activated: `CanvasCaptureMediaStream`*" ] pub fn request_frame ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_canvas_CanvasCaptureMediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasCaptureMediaStream as WasmDescribe > :: describe ( ) ; < HtmlCanvasElement as WasmDescribe > :: describe ( ) ; } impl CanvasCaptureMediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `canvas` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStream/canvas)\n\n*This API requires the following crate features to be activated: `CanvasCaptureMediaStream`, `HtmlCanvasElement`*" ] pub fn canvas ( & self , ) -> HtmlCanvasElement { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_canvas_CanvasCaptureMediaStream ( self_ : < & CanvasCaptureMediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCanvasElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasCaptureMediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_canvas_CanvasCaptureMediaStream ( self_ ) } ; < HtmlCanvasElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `canvas` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStream/canvas)\n\n*This API requires the following crate features to be activated: `CanvasCaptureMediaStream`, `HtmlCanvasElement`*" ] pub fn canvas ( & self , ) -> HtmlCanvasElement { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CanvasGradient` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasGradient)\n\n*This API requires the following crate features to be activated: `CanvasGradient`*" ] # [ repr ( transparent ) ] pub struct CanvasGradient { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CanvasGradient : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CanvasGradient { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CanvasGradient { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CanvasGradient { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CanvasGradient { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CanvasGradient { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CanvasGradient { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CanvasGradient { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CanvasGradient { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CanvasGradient { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CanvasGradient > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CanvasGradient { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CanvasGradient { # [ inline ] fn from ( obj : JsValue ) -> CanvasGradient { CanvasGradient { obj } } } impl AsRef < JsValue > for CanvasGradient { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CanvasGradient > for JsValue { # [ inline ] fn from ( obj : CanvasGradient ) -> JsValue { obj . obj } } impl JsCast for CanvasGradient { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CanvasGradient ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CanvasGradient ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CanvasGradient { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CanvasGradient ) } } } ( ) } ; impl core :: ops :: Deref for CanvasGradient { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < CanvasGradient > for Object { # [ inline ] fn from ( obj : CanvasGradient ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CanvasGradient { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_color_stop_CanvasGradient ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasGradient as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasGradient { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addColorStop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasGradient/addColorStop)\n\n*This API requires the following crate features to be activated: `CanvasGradient`*" ] pub fn add_color_stop ( & self , offset : f32 , color : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_color_stop_CanvasGradient ( self_ : < & CanvasGradient as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasGradient as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let offset = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( color , & mut __stack ) ; __widl_f_add_color_stop_CanvasGradient ( self_ , offset , color , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addColorStop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasGradient/addColorStop)\n\n*This API requires the following crate features to be activated: `CanvasGradient`*" ] pub fn add_color_stop ( & self , offset : f32 , color : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CanvasPattern` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern)\n\n*This API requires the following crate features to be activated: `CanvasPattern`*" ] # [ repr ( transparent ) ] pub struct CanvasPattern { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CanvasPattern : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CanvasPattern { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CanvasPattern { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CanvasPattern { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CanvasPattern { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CanvasPattern { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CanvasPattern { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CanvasPattern { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CanvasPattern { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CanvasPattern { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CanvasPattern > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CanvasPattern { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CanvasPattern { # [ inline ] fn from ( obj : JsValue ) -> CanvasPattern { CanvasPattern { obj } } } impl AsRef < JsValue > for CanvasPattern { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CanvasPattern > for JsValue { # [ inline ] fn from ( obj : CanvasPattern ) -> JsValue { obj . obj } } impl JsCast for CanvasPattern { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CanvasPattern ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CanvasPattern ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CanvasPattern { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CanvasPattern ) } } } ( ) } ; impl core :: ops :: Deref for CanvasPattern { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < CanvasPattern > for Object { # [ inline ] fn from ( obj : CanvasPattern ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CanvasPattern { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_transform_CanvasPattern ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasPattern as WasmDescribe > :: describe ( ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasPattern { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTransform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern/setTransform)\n\n*This API requires the following crate features to be activated: `CanvasPattern`, `SvgMatrix`*" ] pub fn set_transform ( & self , matrix : & SvgMatrix ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_transform_CanvasPattern ( self_ : < & CanvasPattern as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , matrix : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasPattern as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let matrix = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( matrix , & mut __stack ) ; __widl_f_set_transform_CanvasPattern ( self_ , matrix ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTransform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern/setTransform)\n\n*This API requires the following crate features to be activated: `CanvasPattern`, `SvgMatrix`*" ] pub fn set_transform ( & self , matrix : & SvgMatrix ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CanvasRenderingContext2D` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] # [ repr ( transparent ) ] pub struct CanvasRenderingContext2d { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CanvasRenderingContext2d : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CanvasRenderingContext2d { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CanvasRenderingContext2d { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CanvasRenderingContext2d { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CanvasRenderingContext2d { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CanvasRenderingContext2d { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CanvasRenderingContext2d { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CanvasRenderingContext2d { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CanvasRenderingContext2d { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CanvasRenderingContext2d { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CanvasRenderingContext2d > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CanvasRenderingContext2d { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CanvasRenderingContext2d { # [ inline ] fn from ( obj : JsValue ) -> CanvasRenderingContext2d { CanvasRenderingContext2d { obj } } } impl AsRef < JsValue > for CanvasRenderingContext2d { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CanvasRenderingContext2d > for JsValue { # [ inline ] fn from ( obj : CanvasRenderingContext2d ) -> JsValue { obj . obj } } impl JsCast for CanvasRenderingContext2d { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CanvasRenderingContext2D ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CanvasRenderingContext2D ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CanvasRenderingContext2d { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CanvasRenderingContext2d ) } } } ( ) } ; impl core :: ops :: Deref for CanvasRenderingContext2d { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < CanvasRenderingContext2d > for Object { # [ inline ] fn from ( obj : CanvasRenderingContext2d ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CanvasRenderingContext2d { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_window_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & Window as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawWindow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawWindow)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Window`*" ] pub fn draw_window ( & self , window : & Window , x : f64 , y : f64 , w : f64 , h : f64 , bg_color : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_window_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , window : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , h : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bg_color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let window = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( window , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let w = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; let h = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( h , & mut __stack ) ; let bg_color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bg_color , & mut __stack ) ; __widl_f_draw_window_CanvasRenderingContext2D ( self_ , window , x , y , w , h , bg_color , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawWindow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawWindow)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Window`*" ] pub fn draw_window ( & self , window : & Window , x : f64 , y : f64 , w : f64 , h : f64 , bg_color : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_window_with_flags_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & Window as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawWindow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawWindow)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Window`*" ] pub fn draw_window_with_flags ( & self , window : & Window , x : f64 , y : f64 , w : f64 , h : f64 , bg_color : & str , flags : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_window_with_flags_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , window : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , h : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bg_color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , flags : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let window = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( window , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let w = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; let h = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( h , & mut __stack ) ; let bg_color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bg_color , & mut __stack ) ; let flags = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( flags , & mut __stack ) ; __widl_f_draw_window_with_flags_CanvasRenderingContext2D ( self_ , window , x , y , w , h , bg_color , flags , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawWindow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawWindow)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Window`*" ] pub fn draw_window_with_flags ( & self , window : & Window , x : f64 , y : f64 , w : f64 , h : f64 , bg_color : & str , flags : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_canvas_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < Option < HtmlCanvasElement > as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `canvas` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/canvas)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlCanvasElement`*" ] pub fn canvas ( & self , ) -> Option < HtmlCanvasElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_canvas_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlCanvasElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_canvas_CanvasRenderingContext2D ( self_ ) } ; < Option < HtmlCanvasElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `canvas` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/canvas)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlCanvasElement`*" ] pub fn canvas ( & self , ) -> Option < HtmlCanvasElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_global_alpha_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `globalAlpha` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalAlpha)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn global_alpha ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_global_alpha_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_global_alpha_CanvasRenderingContext2D ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `globalAlpha` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalAlpha)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn global_alpha ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_global_alpha_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `globalAlpha` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalAlpha)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_global_alpha ( & self , global_alpha : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_global_alpha_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , global_alpha : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let global_alpha = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( global_alpha , & mut __stack ) ; __widl_f_set_global_alpha_CanvasRenderingContext2D ( self_ , global_alpha ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `globalAlpha` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalAlpha)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_global_alpha ( & self , global_alpha : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_global_composite_operation_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `globalCompositeOperation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn global_composite_operation ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_global_composite_operation_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_global_composite_operation_CanvasRenderingContext2D ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `globalCompositeOperation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn global_composite_operation ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_global_composite_operation_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `globalCompositeOperation` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_global_composite_operation ( & self , global_composite_operation : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_global_composite_operation_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , global_composite_operation : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let global_composite_operation = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( global_composite_operation , & mut __stack ) ; __widl_f_set_global_composite_operation_CanvasRenderingContext2D ( self_ , global_composite_operation , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `globalCompositeOperation` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_global_composite_operation ( & self , global_composite_operation : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_html_image_element_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlImageElement`*" ] pub fn draw_image_with_html_image_element ( & self , image : & HtmlImageElement , dx : f64 , dy : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_html_image_element_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; __widl_f_draw_image_with_html_image_element_CanvasRenderingContext2D ( self_ , image , dx , dy , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlImageElement`*" ] pub fn draw_image_with_html_image_element ( & self , image : & HtmlImageElement , dx : f64 , dy : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_svg_image_element_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & SvgImageElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `SvgImageElement`*" ] pub fn draw_image_with_svg_image_element ( & self , image : & SvgImageElement , dx : f64 , dy : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_svg_image_element_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; __widl_f_draw_image_with_svg_image_element_CanvasRenderingContext2D ( self_ , image , dx , dy , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `SvgImageElement`*" ] pub fn draw_image_with_svg_image_element ( & self , image : & SvgImageElement , dx : f64 , dy : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_html_canvas_element_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlCanvasElement`*" ] pub fn draw_image_with_html_canvas_element ( & self , image : & HtmlCanvasElement , dx : f64 , dy : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_html_canvas_element_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; __widl_f_draw_image_with_html_canvas_element_CanvasRenderingContext2D ( self_ , image , dx , dy , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlCanvasElement`*" ] pub fn draw_image_with_html_canvas_element ( & self , image : & HtmlCanvasElement , dx : f64 , dy : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_html_video_element_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlVideoElement`*" ] pub fn draw_image_with_html_video_element ( & self , image : & HtmlVideoElement , dx : f64 , dy : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_html_video_element_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; __widl_f_draw_image_with_html_video_element_CanvasRenderingContext2D ( self_ , image , dx , dy , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlVideoElement`*" ] pub fn draw_image_with_html_video_element ( & self , image : & HtmlVideoElement , dx : f64 , dy : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_image_bitmap_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageBitmap`*" ] pub fn draw_image_with_image_bitmap ( & self , image : & ImageBitmap , dx : f64 , dy : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_image_bitmap_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; __widl_f_draw_image_with_image_bitmap_CanvasRenderingContext2D ( self_ , image , dx , dy , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageBitmap`*" ] pub fn draw_image_with_image_bitmap ( & self , image : & ImageBitmap , dx : f64 , dy : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_html_image_element_and_dw_and_dh_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlImageElement`*" ] pub fn draw_image_with_html_image_element_and_dw_and_dh ( & self , image : & HtmlImageElement , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_html_image_element_and_dw_and_dh_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; let dw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dw , & mut __stack ) ; let dh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dh , & mut __stack ) ; __widl_f_draw_image_with_html_image_element_and_dw_and_dh_CanvasRenderingContext2D ( self_ , image , dx , dy , dw , dh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlImageElement`*" ] pub fn draw_image_with_html_image_element_and_dw_and_dh ( & self , image : & HtmlImageElement , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_svg_image_element_and_dw_and_dh_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & SvgImageElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `SvgImageElement`*" ] pub fn draw_image_with_svg_image_element_and_dw_and_dh ( & self , image : & SvgImageElement , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_svg_image_element_and_dw_and_dh_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; let dw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dw , & mut __stack ) ; let dh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dh , & mut __stack ) ; __widl_f_draw_image_with_svg_image_element_and_dw_and_dh_CanvasRenderingContext2D ( self_ , image , dx , dy , dw , dh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `SvgImageElement`*" ] pub fn draw_image_with_svg_image_element_and_dw_and_dh ( & self , image : & SvgImageElement , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_html_canvas_element_and_dw_and_dh_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlCanvasElement`*" ] pub fn draw_image_with_html_canvas_element_and_dw_and_dh ( & self , image : & HtmlCanvasElement , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_html_canvas_element_and_dw_and_dh_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; let dw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dw , & mut __stack ) ; let dh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dh , & mut __stack ) ; __widl_f_draw_image_with_html_canvas_element_and_dw_and_dh_CanvasRenderingContext2D ( self_ , image , dx , dy , dw , dh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlCanvasElement`*" ] pub fn draw_image_with_html_canvas_element_and_dw_and_dh ( & self , image : & HtmlCanvasElement , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_html_video_element_and_dw_and_dh_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlVideoElement`*" ] pub fn draw_image_with_html_video_element_and_dw_and_dh ( & self , image : & HtmlVideoElement , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_html_video_element_and_dw_and_dh_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; let dw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dw , & mut __stack ) ; let dh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dh , & mut __stack ) ; __widl_f_draw_image_with_html_video_element_and_dw_and_dh_CanvasRenderingContext2D ( self_ , image , dx , dy , dw , dh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlVideoElement`*" ] pub fn draw_image_with_html_video_element_and_dw_and_dh ( & self , image : & HtmlVideoElement , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_image_bitmap_and_dw_and_dh_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageBitmap`*" ] pub fn draw_image_with_image_bitmap_and_dw_and_dh ( & self , image : & ImageBitmap , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_image_bitmap_and_dw_and_dh_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; let dw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dw , & mut __stack ) ; let dh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dh , & mut __stack ) ; __widl_f_draw_image_with_image_bitmap_and_dw_and_dh_CanvasRenderingContext2D ( self_ , image , dx , dy , dw , dh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageBitmap`*" ] pub fn draw_image_with_image_bitmap_and_dw_and_dh ( & self , image : & ImageBitmap , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_html_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlImageElement`*" ] pub fn draw_image_with_html_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh ( & self , image : & HtmlImageElement , sx : f64 , sy : f64 , sw : f64 , sh : f64 , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_html_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let sx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sx , & mut __stack ) ; let sy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sy , & mut __stack ) ; let sw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sw , & mut __stack ) ; let sh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sh , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; let dw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dw , & mut __stack ) ; let dh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dh , & mut __stack ) ; __widl_f_draw_image_with_html_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( self_ , image , sx , sy , sw , sh , dx , dy , dw , dh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlImageElement`*" ] pub fn draw_image_with_html_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh ( & self , image : & HtmlImageElement , sx : f64 , sy : f64 , sw : f64 , sh : f64 , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_svg_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & SvgImageElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `SvgImageElement`*" ] pub fn draw_image_with_svg_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh ( & self , image : & SvgImageElement , sx : f64 , sy : f64 , sw : f64 , sh : f64 , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_svg_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let sx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sx , & mut __stack ) ; let sy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sy , & mut __stack ) ; let sw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sw , & mut __stack ) ; let sh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sh , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; let dw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dw , & mut __stack ) ; let dh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dh , & mut __stack ) ; __widl_f_draw_image_with_svg_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( self_ , image , sx , sy , sw , sh , dx , dy , dw , dh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `SvgImageElement`*" ] pub fn draw_image_with_svg_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh ( & self , image : & SvgImageElement , sx : f64 , sy : f64 , sw : f64 , sh : f64 , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_html_canvas_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlCanvasElement`*" ] pub fn draw_image_with_html_canvas_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh ( & self , image : & HtmlCanvasElement , sx : f64 , sy : f64 , sw : f64 , sh : f64 , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_html_canvas_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let sx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sx , & mut __stack ) ; let sy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sy , & mut __stack ) ; let sw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sw , & mut __stack ) ; let sh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sh , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; let dw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dw , & mut __stack ) ; let dh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dh , & mut __stack ) ; __widl_f_draw_image_with_html_canvas_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( self_ , image , sx , sy , sw , sh , dx , dy , dw , dh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlCanvasElement`*" ] pub fn draw_image_with_html_canvas_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh ( & self , image : & HtmlCanvasElement , sx : f64 , sy : f64 , sw : f64 , sh : f64 , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_html_video_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlVideoElement`*" ] pub fn draw_image_with_html_video_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh ( & self , image : & HtmlVideoElement , sx : f64 , sy : f64 , sw : f64 , sh : f64 , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_html_video_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let sx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sx , & mut __stack ) ; let sy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sy , & mut __stack ) ; let sw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sw , & mut __stack ) ; let sh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sh , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; let dw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dw , & mut __stack ) ; let dh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dh , & mut __stack ) ; __widl_f_draw_image_with_html_video_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( self_ , image , sx , sy , sw , sh , dx , dy , dw , dh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HtmlVideoElement`*" ] pub fn draw_image_with_html_video_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh ( & self , image : & HtmlVideoElement , sx : f64 , sy : f64 , sw : f64 , sh : f64 , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_image_with_image_bitmap_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageBitmap`*" ] pub fn draw_image_with_image_bitmap_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh ( & self , image : & ImageBitmap , sx : f64 , sy : f64 , sw : f64 , sh : f64 , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_image_with_image_bitmap_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let sx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sx , & mut __stack ) ; let sy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sy , & mut __stack ) ; let sw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sw , & mut __stack ) ; let sh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sh , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; let dw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dw , & mut __stack ) ; let dh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dh , & mut __stack ) ; __widl_f_draw_image_with_image_bitmap_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D ( self_ , image , sx , sy , sw , sh , dx , dy , dw , dh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageBitmap`*" ] pub fn draw_image_with_image_bitmap_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh ( & self , image : & ImageBitmap , sx : f64 , sy : f64 , sw : f64 , sh : f64 , dx : f64 , dy : f64 , dw : f64 , dh : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_begin_path_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `beginPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/beginPath)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn begin_path ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_begin_path_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_begin_path_CanvasRenderingContext2D ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `beginPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/beginPath)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn begin_path ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clip_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clip()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn clip ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clip_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clip_CanvasRenderingContext2D ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clip()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn clip ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clip_with_canvas_winding_rule_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < CanvasWindingRule as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clip()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`*" ] pub fn clip_with_canvas_winding_rule ( & self , winding : CanvasWindingRule ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clip_with_canvas_winding_rule_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , winding : < CanvasWindingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let winding = < CanvasWindingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( winding , & mut __stack ) ; __widl_f_clip_with_canvas_winding_rule_CanvasRenderingContext2D ( self_ , winding ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clip()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`*" ] pub fn clip_with_canvas_winding_rule ( & self , winding : CanvasWindingRule ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clip_with_path_2d_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clip()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*" ] pub fn clip_with_path_2d ( & self , path : & Path2d ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clip_with_path_2d_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; __widl_f_clip_with_path_2d_CanvasRenderingContext2D ( self_ , path ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clip()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*" ] pub fn clip_with_path_2d ( & self , path : & Path2d ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clip_with_path_2d_and_winding_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < CanvasWindingRule as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clip()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`, `Path2d`*" ] pub fn clip_with_path_2d_and_winding ( & self , path : & Path2d , winding : CanvasWindingRule ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clip_with_path_2d_and_winding_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , winding : < CanvasWindingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let winding = < CanvasWindingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( winding , & mut __stack ) ; __widl_f_clip_with_path_2d_and_winding_CanvasRenderingContext2D ( self_ , path , winding ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clip()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`, `Path2d`*" ] pub fn clip_with_path_2d_and_winding ( & self , path : & Path2d , winding : CanvasWindingRule ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fill_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fill()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn fill ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fill_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fill_CanvasRenderingContext2D ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fill()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn fill ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fill_with_canvas_winding_rule_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < CanvasWindingRule as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fill()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`*" ] pub fn fill_with_canvas_winding_rule ( & self , winding : CanvasWindingRule ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fill_with_canvas_winding_rule_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , winding : < CanvasWindingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let winding = < CanvasWindingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( winding , & mut __stack ) ; __widl_f_fill_with_canvas_winding_rule_CanvasRenderingContext2D ( self_ , winding ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fill()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`*" ] pub fn fill_with_canvas_winding_rule ( & self , winding : CanvasWindingRule ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fill_with_path_2d_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fill()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*" ] pub fn fill_with_path_2d ( & self , path : & Path2d ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fill_with_path_2d_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; __widl_f_fill_with_path_2d_CanvasRenderingContext2D ( self_ , path ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fill()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*" ] pub fn fill_with_path_2d ( & self , path : & Path2d ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fill_with_path_2d_and_winding_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < CanvasWindingRule as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fill()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`, `Path2d`*" ] pub fn fill_with_path_2d_and_winding ( & self , path : & Path2d , winding : CanvasWindingRule ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fill_with_path_2d_and_winding_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , winding : < CanvasWindingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let winding = < CanvasWindingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( winding , & mut __stack ) ; __widl_f_fill_with_path_2d_and_winding_CanvasRenderingContext2D ( self_ , path , winding ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fill()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fill)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`, `Path2d`*" ] pub fn fill_with_path_2d_and_winding ( & self , path : & Path2d , winding : CanvasWindingRule ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_point_in_path_with_f64_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isPointInPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn is_point_in_path_with_f64 ( & self , x : f64 , y : f64 ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_point_in_path_with_f64_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_is_point_in_path_with_f64_CanvasRenderingContext2D ( self_ , x , y ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isPointInPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn is_point_in_path_with_f64 ( & self , x : f64 , y : f64 ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_point_in_path_with_f64_and_canvas_winding_rule_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < CanvasWindingRule as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isPointInPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`*" ] pub fn is_point_in_path_with_f64_and_canvas_winding_rule ( & self , x : f64 , y : f64 , winding : CanvasWindingRule ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_point_in_path_with_f64_and_canvas_winding_rule_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , winding : < CanvasWindingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let winding = < CanvasWindingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( winding , & mut __stack ) ; __widl_f_is_point_in_path_with_f64_and_canvas_winding_rule_CanvasRenderingContext2D ( self_ , x , y , winding ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isPointInPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`*" ] pub fn is_point_in_path_with_f64_and_canvas_winding_rule ( & self , x : f64 , y : f64 , winding : CanvasWindingRule ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_point_in_path_with_path_2d_and_f64_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isPointInPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*" ] pub fn is_point_in_path_with_path_2d_and_f64 ( & self , path : & Path2d , x : f64 , y : f64 ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_point_in_path_with_path_2d_and_f64_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_is_point_in_path_with_path_2d_and_f64_CanvasRenderingContext2D ( self_ , path , x , y ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isPointInPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*" ] pub fn is_point_in_path_with_path_2d_and_f64 ( & self , path : & Path2d , x : f64 , y : f64 ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_point_in_path_with_path_2d_and_f64_and_winding_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < CanvasWindingRule as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isPointInPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`, `Path2d`*" ] pub fn is_point_in_path_with_path_2d_and_f64_and_winding ( & self , path : & Path2d , x : f64 , y : f64 , winding : CanvasWindingRule ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_point_in_path_with_path_2d_and_f64_and_winding_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , winding : < CanvasWindingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let winding = < CanvasWindingRule as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( winding , & mut __stack ) ; __widl_f_is_point_in_path_with_path_2d_and_f64_and_winding_CanvasRenderingContext2D ( self_ , path , x , y , winding ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isPointInPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `CanvasWindingRule`, `Path2d`*" ] pub fn is_point_in_path_with_path_2d_and_f64_and_winding ( & self , path : & Path2d , x : f64 , y : f64 , winding : CanvasWindingRule ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_point_in_stroke_with_x_and_y_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isPointInStroke()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInStroke)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn is_point_in_stroke_with_x_and_y ( & self , x : f64 , y : f64 ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_point_in_stroke_with_x_and_y_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_is_point_in_stroke_with_x_and_y_CanvasRenderingContext2D ( self_ , x , y ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isPointInStroke()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInStroke)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn is_point_in_stroke_with_x_and_y ( & self , x : f64 , y : f64 ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_point_in_stroke_with_path_and_x_and_y_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isPointInStroke()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInStroke)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*" ] pub fn is_point_in_stroke_with_path_and_x_and_y ( & self , path : & Path2d , x : f64 , y : f64 ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_point_in_stroke_with_path_and_x_and_y_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_is_point_in_stroke_with_path_and_x_and_y_CanvasRenderingContext2D ( self_ , path , x , y ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isPointInStroke()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInStroke)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*" ] pub fn is_point_in_stroke_with_path_and_x_and_y ( & self , path : & Path2d , x : f64 , y : f64 ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stroke_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stroke()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/stroke)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn stroke ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stroke_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stroke_CanvasRenderingContext2D ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stroke()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/stroke)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn stroke ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stroke_with_path_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stroke()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/stroke)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*" ] pub fn stroke_with_path ( & self , path : & Path2d ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stroke_with_path_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; __widl_f_stroke_with_path_CanvasRenderingContext2D ( self_ , path ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stroke()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/stroke)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Path2d`*" ] pub fn stroke_with_path ( & self , path : & Path2d ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_linear_gradient_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < CanvasGradient as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createLinearGradient()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createLinearGradient)\n\n*This API requires the following crate features to be activated: `CanvasGradient`, `CanvasRenderingContext2d`*" ] pub fn create_linear_gradient ( & self , x0 : f64 , y0 : f64 , x1 : f64 , y1 : f64 ) -> CanvasGradient { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_linear_gradient_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x0 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y0 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x1 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y1 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < CanvasGradient as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x0 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x0 , & mut __stack ) ; let y0 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y0 , & mut __stack ) ; let x1 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x1 , & mut __stack ) ; let y1 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y1 , & mut __stack ) ; __widl_f_create_linear_gradient_CanvasRenderingContext2D ( self_ , x0 , y0 , x1 , y1 ) } ; < CanvasGradient as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createLinearGradient()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createLinearGradient)\n\n*This API requires the following crate features to be activated: `CanvasGradient`, `CanvasRenderingContext2d`*" ] pub fn create_linear_gradient ( & self , x0 : f64 , y0 : f64 , x1 : f64 , y1 : f64 ) -> CanvasGradient { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_pattern_with_html_image_element_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < CanvasPattern > as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPattern()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)\n\n*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `HtmlImageElement`*" ] pub fn create_pattern_with_html_image_element ( & self , image : & HtmlImageElement , repetition : & str ) -> Result < Option < CanvasPattern > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_pattern_with_html_image_element_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , repetition : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < CanvasPattern > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let repetition = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( repetition , & mut __stack ) ; __widl_f_create_pattern_with_html_image_element_CanvasRenderingContext2D ( self_ , image , repetition , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < CanvasPattern > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPattern()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)\n\n*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `HtmlImageElement`*" ] pub fn create_pattern_with_html_image_element ( & self , image : & HtmlImageElement , repetition : & str ) -> Result < Option < CanvasPattern > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_pattern_with_svg_image_element_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & SvgImageElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < CanvasPattern > as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPattern()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)\n\n*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `SvgImageElement`*" ] pub fn create_pattern_with_svg_image_element ( & self , image : & SvgImageElement , repetition : & str ) -> Result < Option < CanvasPattern > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_pattern_with_svg_image_element_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , repetition : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < CanvasPattern > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let repetition = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( repetition , & mut __stack ) ; __widl_f_create_pattern_with_svg_image_element_CanvasRenderingContext2D ( self_ , image , repetition , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < CanvasPattern > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPattern()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)\n\n*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `SvgImageElement`*" ] pub fn create_pattern_with_svg_image_element ( & self , image : & SvgImageElement , repetition : & str ) -> Result < Option < CanvasPattern > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_pattern_with_html_canvas_element_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < CanvasPattern > as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPattern()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)\n\n*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `HtmlCanvasElement`*" ] pub fn create_pattern_with_html_canvas_element ( & self , image : & HtmlCanvasElement , repetition : & str ) -> Result < Option < CanvasPattern > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_pattern_with_html_canvas_element_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , repetition : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < CanvasPattern > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let repetition = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( repetition , & mut __stack ) ; __widl_f_create_pattern_with_html_canvas_element_CanvasRenderingContext2D ( self_ , image , repetition , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < CanvasPattern > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPattern()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)\n\n*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `HtmlCanvasElement`*" ] pub fn create_pattern_with_html_canvas_element ( & self , image : & HtmlCanvasElement , repetition : & str ) -> Result < Option < CanvasPattern > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_pattern_with_html_video_element_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < CanvasPattern > as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPattern()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)\n\n*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `HtmlVideoElement`*" ] pub fn create_pattern_with_html_video_element ( & self , image : & HtmlVideoElement , repetition : & str ) -> Result < Option < CanvasPattern > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_pattern_with_html_video_element_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , repetition : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < CanvasPattern > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let repetition = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( repetition , & mut __stack ) ; __widl_f_create_pattern_with_html_video_element_CanvasRenderingContext2D ( self_ , image , repetition , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < CanvasPattern > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPattern()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)\n\n*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `HtmlVideoElement`*" ] pub fn create_pattern_with_html_video_element ( & self , image : & HtmlVideoElement , repetition : & str ) -> Result < Option < CanvasPattern > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_pattern_with_image_bitmap_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < CanvasPattern > as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPattern()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)\n\n*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `ImageBitmap`*" ] pub fn create_pattern_with_image_bitmap ( & self , image : & ImageBitmap , repetition : & str ) -> Result < Option < CanvasPattern > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_pattern_with_image_bitmap_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , repetition : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < CanvasPattern > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let repetition = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( repetition , & mut __stack ) ; __widl_f_create_pattern_with_image_bitmap_CanvasRenderingContext2D ( self_ , image , repetition , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < CanvasPattern > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPattern()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern)\n\n*This API requires the following crate features to be activated: `CanvasPattern`, `CanvasRenderingContext2d`, `ImageBitmap`*" ] pub fn create_pattern_with_image_bitmap ( & self , image : & ImageBitmap , repetition : & str ) -> Result < Option < CanvasPattern > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_radial_gradient_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < CanvasGradient as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createRadialGradient()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createRadialGradient)\n\n*This API requires the following crate features to be activated: `CanvasGradient`, `CanvasRenderingContext2d`*" ] pub fn create_radial_gradient ( & self , x0 : f64 , y0 : f64 , r0 : f64 , x1 : f64 , y1 : f64 , r1 : f64 ) -> Result < CanvasGradient , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_radial_gradient_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x0 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y0 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , r0 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x1 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y1 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , r1 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < CanvasGradient as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x0 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x0 , & mut __stack ) ; let y0 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y0 , & mut __stack ) ; let r0 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( r0 , & mut __stack ) ; let x1 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x1 , & mut __stack ) ; let y1 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y1 , & mut __stack ) ; let r1 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( r1 , & mut __stack ) ; __widl_f_create_radial_gradient_CanvasRenderingContext2D ( self_ , x0 , y0 , r0 , x1 , y1 , r1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < CanvasGradient as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createRadialGradient()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createRadialGradient)\n\n*This API requires the following crate features to be activated: `CanvasGradient`, `CanvasRenderingContext2d`*" ] pub fn create_radial_gradient ( & self , x0 : f64 , y0 : f64 , r0 : f64 , x1 : f64 , y1 : f64 , r1 : f64 ) -> Result < CanvasGradient , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stroke_style_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `strokeStyle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeStyle)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn stroke_style ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stroke_style_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stroke_style_CanvasRenderingContext2D ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `strokeStyle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeStyle)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn stroke_style ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_stroke_style_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `strokeStyle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeStyle)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_stroke_style ( & self , stroke_style : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_stroke_style_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stroke_style : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let stroke_style = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stroke_style , & mut __stack ) ; __widl_f_set_stroke_style_CanvasRenderingContext2D ( self_ , stroke_style ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `strokeStyle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeStyle)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_stroke_style ( & self , stroke_style : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fill_style_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fillStyle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyle)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn fill_style ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fill_style_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fill_style_CanvasRenderingContext2D ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fillStyle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyle)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn fill_style ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_fill_style_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fillStyle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyle)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_fill_style ( & self , fill_style : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_fill_style_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , fill_style : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let fill_style = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( fill_style , & mut __stack ) ; __widl_f_set_fill_style_CanvasRenderingContext2D ( self_ , fill_style ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fillStyle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyle)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_fill_style ( & self , fill_style : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_filter_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `filter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn filter ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_filter_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_filter_CanvasRenderingContext2D ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `filter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn filter ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_filter_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `filter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_filter ( & self , filter : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_filter_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , filter : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let filter = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( filter , & mut __stack ) ; __widl_f_set_filter_CanvasRenderingContext2D ( self_ , filter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `filter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_filter ( & self , filter : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_hit_region_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addHitRegion()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/addHitRegion)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn add_hit_region ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_hit_region_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_add_hit_region_CanvasRenderingContext2D ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addHitRegion()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/addHitRegion)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn add_hit_region ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_hit_region_with_options_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & HitRegionOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addHitRegion()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/addHitRegion)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HitRegionOptions`*" ] pub fn add_hit_region_with_options ( & self , options : & HitRegionOptions ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_hit_region_with_options_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & HitRegionOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & HitRegionOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_add_hit_region_with_options_CanvasRenderingContext2D ( self_ , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addHitRegion()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/addHitRegion)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `HitRegionOptions`*" ] pub fn add_hit_region_with_options ( & self , options : & HitRegionOptions ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_hit_regions_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearHitRegions()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clearHitRegions)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn clear_hit_regions ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_hit_regions_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_hit_regions_CanvasRenderingContext2D ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearHitRegions()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clearHitRegions)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn clear_hit_regions ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_hit_region_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeHitRegion()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/removeHitRegion)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn remove_hit_region ( & self , id : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_hit_region_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; __widl_f_remove_hit_region_CanvasRenderingContext2D ( self_ , id ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeHitRegion()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/removeHitRegion)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn remove_hit_region ( & self , id : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_data_with_sw_and_sh_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ImageData as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createImageData)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*" ] pub fn create_image_data_with_sw_and_sh ( & self , sw : f64 , sh : f64 ) -> Result < ImageData , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_data_with_sw_and_sh_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ImageData as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sw , & mut __stack ) ; let sh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sh , & mut __stack ) ; __widl_f_create_image_data_with_sw_and_sh_CanvasRenderingContext2D ( self_ , sw , sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ImageData as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createImageData)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*" ] pub fn create_image_data_with_sw_and_sh ( & self , sw : f64 , sh : f64 ) -> Result < ImageData , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_data_with_imagedata_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < ImageData as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createImageData)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*" ] pub fn create_image_data_with_imagedata ( & self , imagedata : & ImageData ) -> Result < ImageData , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_data_with_imagedata_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , imagedata : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ImageData as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let imagedata = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( imagedata , & mut __stack ) ; __widl_f_create_image_data_with_imagedata_CanvasRenderingContext2D ( self_ , imagedata , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ImageData as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createImageData)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*" ] pub fn create_image_data_with_imagedata ( & self , imagedata : & ImageData ) -> Result < ImageData , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_image_data_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ImageData as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getImageData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getImageData)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*" ] pub fn get_image_data ( & self , sx : f64 , sy : f64 , sw : f64 , sh : f64 ) -> Result < ImageData , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_image_data_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sw : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sh : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ImageData as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sx , & mut __stack ) ; let sy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sy , & mut __stack ) ; let sw = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sw , & mut __stack ) ; let sh = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sh , & mut __stack ) ; __widl_f_get_image_data_CanvasRenderingContext2D ( self_ , sx , sy , sw , sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ImageData as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getImageData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getImageData)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*" ] pub fn get_image_data ( & self , sx : f64 , sy : f64 , sw : f64 , sh : f64 ) -> Result < ImageData , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_put_image_data_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `putImageData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/putImageData)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*" ] pub fn put_image_data ( & self , imagedata : & ImageData , dx : f64 , dy : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_put_image_data_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , imagedata : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let imagedata = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( imagedata , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; __widl_f_put_image_data_CanvasRenderingContext2D ( self_ , imagedata , dx , dy , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `putImageData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/putImageData)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*" ] pub fn put_image_data ( & self , imagedata : & ImageData , dx : f64 , dy : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_put_image_data_with_dirty_x_and_dirty_y_and_dirty_width_and_dirty_height_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `putImageData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/putImageData)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*" ] pub fn put_image_data_with_dirty_x_and_dirty_y_and_dirty_width_and_dirty_height ( & self , imagedata : & ImageData , dx : f64 , dy : f64 , dirty_x : f64 , dirty_y : f64 , dirty_width : f64 , dirty_height : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_put_image_data_with_dirty_x_and_dirty_y_and_dirty_width_and_dirty_height_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , imagedata : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dirty_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dirty_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dirty_width : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dirty_height : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let imagedata = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( imagedata , & mut __stack ) ; let dx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dx , & mut __stack ) ; let dy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dy , & mut __stack ) ; let dirty_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dirty_x , & mut __stack ) ; let dirty_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dirty_y , & mut __stack ) ; let dirty_width = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dirty_width , & mut __stack ) ; let dirty_height = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dirty_height , & mut __stack ) ; __widl_f_put_image_data_with_dirty_x_and_dirty_y_and_dirty_width_and_dirty_height_CanvasRenderingContext2D ( self_ , imagedata , dx , dy , dirty_x , dirty_y , dirty_width , dirty_height , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `putImageData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/putImageData)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `ImageData`*" ] pub fn put_image_data_with_dirty_x_and_dirty_y_and_dirty_width_and_dirty_height ( & self , imagedata : & ImageData , dx : f64 , dy : f64 , dirty_x : f64 , dirty_y : f64 , dirty_width : f64 , dirty_height : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_image_smoothing_enabled_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `imageSmoothingEnabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn image_smoothing_enabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_image_smoothing_enabled_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_image_smoothing_enabled_CanvasRenderingContext2D ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `imageSmoothingEnabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn image_smoothing_enabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_image_smoothing_enabled_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `imageSmoothingEnabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_image_smoothing_enabled ( & self , image_smoothing_enabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_image_smoothing_enabled_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image_smoothing_enabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image_smoothing_enabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image_smoothing_enabled , & mut __stack ) ; __widl_f_set_image_smoothing_enabled_CanvasRenderingContext2D ( self_ , image_smoothing_enabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `imageSmoothingEnabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_image_smoothing_enabled ( & self , image_smoothing_enabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_line_width_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineWidth)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn line_width ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_line_width_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_line_width_CanvasRenderingContext2D ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineWidth)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn line_width ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_line_width_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineWidth` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineWidth)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_line_width ( & self , line_width : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_line_width_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , line_width : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let line_width = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( line_width , & mut __stack ) ; __widl_f_set_line_width_CanvasRenderingContext2D ( self_ , line_width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineWidth` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineWidth)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_line_width ( & self , line_width : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_line_cap_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineCap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineCap)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn line_cap ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_line_cap_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_line_cap_CanvasRenderingContext2D ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineCap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineCap)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn line_cap ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_line_cap_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineCap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineCap)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_line_cap ( & self , line_cap : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_line_cap_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , line_cap : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let line_cap = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( line_cap , & mut __stack ) ; __widl_f_set_line_cap_CanvasRenderingContext2D ( self_ , line_cap ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineCap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineCap)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_line_cap ( & self , line_cap : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_line_join_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineJoin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn line_join ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_line_join_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_line_join_CanvasRenderingContext2D ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineJoin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn line_join ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_line_join_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineJoin` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_line_join ( & self , line_join : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_line_join_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , line_join : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let line_join = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( line_join , & mut __stack ) ; __widl_f_set_line_join_CanvasRenderingContext2D ( self_ , line_join ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineJoin` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_line_join ( & self , line_join : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_miter_limit_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `miterLimit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/miterLimit)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn miter_limit ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_miter_limit_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_miter_limit_CanvasRenderingContext2D ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `miterLimit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/miterLimit)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn miter_limit ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_miter_limit_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `miterLimit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/miterLimit)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_miter_limit ( & self , miter_limit : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_miter_limit_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , miter_limit : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let miter_limit = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( miter_limit , & mut __stack ) ; __widl_f_set_miter_limit_CanvasRenderingContext2D ( self_ , miter_limit ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `miterLimit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/miterLimit)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_miter_limit ( & self , miter_limit : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_line_dash_offset_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineDashOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn line_dash_offset ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_line_dash_offset_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_line_dash_offset_CanvasRenderingContext2D ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineDashOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn line_dash_offset ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_line_dash_offset_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineDashOffset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_line_dash_offset ( & self , line_dash_offset : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_line_dash_offset_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , line_dash_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let line_dash_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( line_dash_offset , & mut __stack ) ; __widl_f_set_line_dash_offset_CanvasRenderingContext2D ( self_ , line_dash_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineDashOffset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_line_dash_offset ( & self , line_dash_offset : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_arc_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `arc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arc)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn arc ( & self , x : f64 , y : f64 , radius : f64 , start_angle : f64 , end_angle : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_arc_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let radius = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius , & mut __stack ) ; let start_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_angle , & mut __stack ) ; let end_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end_angle , & mut __stack ) ; __widl_f_arc_CanvasRenderingContext2D ( self_ , x , y , radius , start_angle , end_angle , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `arc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arc)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn arc ( & self , x : f64 , y : f64 , radius : f64 , start_angle : f64 , end_angle : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_arc_with_anticlockwise_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `arc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arc)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn arc_with_anticlockwise ( & self , x : f64 , y : f64 , radius : f64 , start_angle : f64 , end_angle : f64 , anticlockwise : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_arc_with_anticlockwise_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , anticlockwise : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let radius = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius , & mut __stack ) ; let start_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_angle , & mut __stack ) ; let end_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end_angle , & mut __stack ) ; let anticlockwise = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( anticlockwise , & mut __stack ) ; __widl_f_arc_with_anticlockwise_CanvasRenderingContext2D ( self_ , x , y , radius , start_angle , end_angle , anticlockwise , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `arc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arc)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn arc_with_anticlockwise ( & self , x : f64 , y : f64 , radius : f64 , start_angle : f64 , end_angle : f64 , anticlockwise : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_arc_to_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `arcTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arcTo)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn arc_to ( & self , x1 : f64 , y1 : f64 , x2 : f64 , y2 : f64 , radius : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_arc_to_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x1 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y1 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x2 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y2 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x1 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x1 , & mut __stack ) ; let y1 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y1 , & mut __stack ) ; let x2 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x2 , & mut __stack ) ; let y2 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y2 , & mut __stack ) ; let radius = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius , & mut __stack ) ; __widl_f_arc_to_CanvasRenderingContext2D ( self_ , x1 , y1 , x2 , y2 , radius , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `arcTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arcTo)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn arc_to ( & self , x1 : f64 , y1 : f64 , x2 : f64 , y2 : f64 , radius : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bezier_curve_to_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bezierCurveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/bezierCurveTo)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn bezier_curve_to ( & self , cp1x : f64 , cp1y : f64 , cp2x : f64 , cp2y : f64 , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bezier_curve_to_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cp1x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cp1y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cp2x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cp2y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cp1x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cp1x , & mut __stack ) ; let cp1y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cp1y , & mut __stack ) ; let cp2x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cp2x , & mut __stack ) ; let cp2y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cp2y , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_bezier_curve_to_CanvasRenderingContext2D ( self_ , cp1x , cp1y , cp2x , cp2y , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bezierCurveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/bezierCurveTo)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn bezier_curve_to ( & self , cp1x : f64 , cp1y : f64 , cp2x : f64 , cp2y : f64 , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_path_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `closePath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/closePath)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn close_path ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_path_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_path_CanvasRenderingContext2D ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `closePath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/closePath)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn close_path ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ellipse_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ellipse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/ellipse)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn ellipse ( & self , x : f64 , y : f64 , radius_x : f64 , radius_y : f64 , rotation : f64 , start_angle : f64 , end_angle : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ellipse_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rotation : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let radius_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius_x , & mut __stack ) ; let radius_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius_y , & mut __stack ) ; let rotation = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rotation , & mut __stack ) ; let start_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_angle , & mut __stack ) ; let end_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end_angle , & mut __stack ) ; __widl_f_ellipse_CanvasRenderingContext2D ( self_ , x , y , radius_x , radius_y , rotation , start_angle , end_angle , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ellipse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/ellipse)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn ellipse ( & self , x : f64 , y : f64 , radius_x : f64 , radius_y : f64 , rotation : f64 , start_angle : f64 , end_angle : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ellipse_with_anticlockwise_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ellipse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/ellipse)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn ellipse_with_anticlockwise ( & self , x : f64 , y : f64 , radius_x : f64 , radius_y : f64 , rotation : f64 , start_angle : f64 , end_angle : f64 , anticlockwise : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ellipse_with_anticlockwise_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rotation : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , anticlockwise : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let radius_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius_x , & mut __stack ) ; let radius_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius_y , & mut __stack ) ; let rotation = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rotation , & mut __stack ) ; let start_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_angle , & mut __stack ) ; let end_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end_angle , & mut __stack ) ; let anticlockwise = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( anticlockwise , & mut __stack ) ; __widl_f_ellipse_with_anticlockwise_CanvasRenderingContext2D ( self_ , x , y , radius_x , radius_y , rotation , start_angle , end_angle , anticlockwise , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ellipse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/ellipse)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn ellipse_with_anticlockwise ( & self , x : f64 , y : f64 , radius_x : f64 , radius_y : f64 , rotation : f64 , start_angle : f64 , end_angle : f64 , anticlockwise : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_line_to_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineTo)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn line_to ( & self , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_line_to_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_line_to_CanvasRenderingContext2D ( self_ , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineTo)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn line_to ( & self , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_move_to_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `moveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/moveTo)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn move_to ( & self , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_move_to_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_move_to_CanvasRenderingContext2D ( self_ , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `moveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/moveTo)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn move_to ( & self , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_quadratic_curve_to_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `quadraticCurveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/quadraticCurveTo)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn quadratic_curve_to ( & self , cpx : f64 , cpy : f64 , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_quadratic_curve_to_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cpx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cpy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cpx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cpx , & mut __stack ) ; let cpy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cpy , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_quadratic_curve_to_CanvasRenderingContext2D ( self_ , cpx , cpy , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `quadraticCurveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/quadraticCurveTo)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn quadratic_curve_to ( & self , cpx : f64 , cpy : f64 , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rect_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/rect)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn rect ( & self , x : f64 , y : f64 , w : f64 , h : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rect_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , h : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let w = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; let h = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( h , & mut __stack ) ; __widl_f_rect_CanvasRenderingContext2D ( self_ , x , y , w , h ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/rect)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn rect ( & self , x : f64 , y : f64 , w : f64 , h : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_rect_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clearRect)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn clear_rect ( & self , x : f64 , y : f64 , w : f64 , h : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_rect_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , h : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let w = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; let h = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( h , & mut __stack ) ; __widl_f_clear_rect_CanvasRenderingContext2D ( self_ , x , y , w , h ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clearRect)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn clear_rect ( & self , x : f64 , y : f64 , w : f64 , h : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fill_rect_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fillRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillRect)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn fill_rect ( & self , x : f64 , y : f64 , w : f64 , h : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fill_rect_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , h : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let w = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; let h = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( h , & mut __stack ) ; __widl_f_fill_rect_CanvasRenderingContext2D ( self_ , x , y , w , h ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fillRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillRect)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn fill_rect ( & self , x : f64 , y : f64 , w : f64 , h : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stroke_rect_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `strokeRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeRect)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn stroke_rect ( & self , x : f64 , y : f64 , w : f64 , h : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stroke_rect_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , h : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let w = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; let h = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( h , & mut __stack ) ; __widl_f_stroke_rect_CanvasRenderingContext2D ( self_ , x , y , w , h ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `strokeRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeRect)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn stroke_rect ( & self , x : f64 , y : f64 , w : f64 , h : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shadow_offset_x_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shadowOffsetX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetX)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn shadow_offset_x ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shadow_offset_x_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_shadow_offset_x_CanvasRenderingContext2D ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shadowOffsetX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetX)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn shadow_offset_x ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_shadow_offset_x_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shadowOffsetX` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetX)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_shadow_offset_x ( & self , shadow_offset_x : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_shadow_offset_x_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shadow_offset_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shadow_offset_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shadow_offset_x , & mut __stack ) ; __widl_f_set_shadow_offset_x_CanvasRenderingContext2D ( self_ , shadow_offset_x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shadowOffsetX` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetX)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_shadow_offset_x ( & self , shadow_offset_x : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shadow_offset_y_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shadowOffsetY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetY)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn shadow_offset_y ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shadow_offset_y_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_shadow_offset_y_CanvasRenderingContext2D ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shadowOffsetY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetY)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn shadow_offset_y ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_shadow_offset_y_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shadowOffsetY` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetY)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_shadow_offset_y ( & self , shadow_offset_y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_shadow_offset_y_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shadow_offset_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shadow_offset_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shadow_offset_y , & mut __stack ) ; __widl_f_set_shadow_offset_y_CanvasRenderingContext2D ( self_ , shadow_offset_y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shadowOffsetY` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowOffsetY)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_shadow_offset_y ( & self , shadow_offset_y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shadow_blur_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shadowBlur` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowBlur)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn shadow_blur ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shadow_blur_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_shadow_blur_CanvasRenderingContext2D ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shadowBlur` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowBlur)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn shadow_blur ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_shadow_blur_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shadowBlur` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowBlur)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_shadow_blur ( & self , shadow_blur : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_shadow_blur_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shadow_blur : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shadow_blur = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shadow_blur , & mut __stack ) ; __widl_f_set_shadow_blur_CanvasRenderingContext2D ( self_ , shadow_blur ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shadowBlur` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowBlur)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_shadow_blur ( & self , shadow_blur : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shadow_color_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shadowColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowColor)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn shadow_color ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shadow_color_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_shadow_color_CanvasRenderingContext2D ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shadowColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowColor)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn shadow_color ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_shadow_color_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shadowColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowColor)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_shadow_color ( & self , shadow_color : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_shadow_color_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shadow_color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shadow_color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shadow_color , & mut __stack ) ; __widl_f_set_shadow_color_CanvasRenderingContext2D ( self_ , shadow_color ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shadowColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/shadowColor)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_shadow_color ( & self , shadow_color : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_restore_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `restore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/restore)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn restore ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_restore_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_restore_CanvasRenderingContext2D ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `restore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/restore)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn restore ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_save_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `save()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/save)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn save ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_save_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_save_CanvasRenderingContext2D ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `save()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/save)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn save ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fill_text_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fillText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillText)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn fill_text ( & self , text : & str , x : f64 , y : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fill_text_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_fill_text_CanvasRenderingContext2D ( self_ , text , x , y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fillText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillText)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn fill_text ( & self , text : & str , x : f64 , y : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fill_text_with_max_width_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fillText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillText)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn fill_text_with_max_width ( & self , text : & str , x : f64 , y : f64 , max_width : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fill_text_with_max_width_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max_width : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let max_width = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max_width , & mut __stack ) ; __widl_f_fill_text_with_max_width_CanvasRenderingContext2D ( self_ , text , x , y , max_width , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fillText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillText)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn fill_text_with_max_width ( & self , text : & str , x : f64 , y : f64 , max_width : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_measure_text_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < TextMetrics as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `measureText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/measureText)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `TextMetrics`*" ] pub fn measure_text ( & self , text : & str ) -> Result < TextMetrics , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_measure_text_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TextMetrics as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_measure_text_CanvasRenderingContext2D ( self_ , text , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TextMetrics as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `measureText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/measureText)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `TextMetrics`*" ] pub fn measure_text ( & self , text : & str ) -> Result < TextMetrics , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stroke_text_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `strokeText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeText)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn stroke_text ( & self , text : & str , x : f64 , y : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stroke_text_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_stroke_text_CanvasRenderingContext2D ( self_ , text , x , y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `strokeText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeText)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn stroke_text ( & self , text : & str , x : f64 , y : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stroke_text_with_max_width_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `strokeText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeText)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn stroke_text_with_max_width ( & self , text : & str , x : f64 , y : f64 , max_width : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stroke_text_with_max_width_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max_width : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let max_width = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max_width , & mut __stack ) ; __widl_f_stroke_text_with_max_width_CanvasRenderingContext2D ( self_ , text , x , y , max_width , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `strokeText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeText)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn stroke_text_with_max_width ( & self , text : & str , x : f64 , y : f64 , max_width : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_font_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `font` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/font)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn font ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_font_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_font_CanvasRenderingContext2D ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `font` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/font)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn font ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_font_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `font` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/font)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_font ( & self , font : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_font_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , font : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let font = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( font , & mut __stack ) ; __widl_f_set_font_CanvasRenderingContext2D ( self_ , font ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `font` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/font)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_font ( & self , font : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_align_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `textAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textAlign)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn text_align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_align_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_align_CanvasRenderingContext2D ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `textAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textAlign)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn text_align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_text_align_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `textAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textAlign)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_text_align ( & self , text_align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_text_align_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_align , & mut __stack ) ; __widl_f_set_text_align_CanvasRenderingContext2D ( self_ , text_align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `textAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textAlign)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_text_align ( & self , text_align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_baseline_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `textBaseline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textBaseline)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn text_baseline ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_baseline_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_baseline_CanvasRenderingContext2D ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `textBaseline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textBaseline)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn text_baseline ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_text_baseline_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `textBaseline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textBaseline)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_text_baseline ( & self , text_baseline : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_text_baseline_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_baseline : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_baseline = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_baseline , & mut __stack ) ; __widl_f_set_text_baseline_CanvasRenderingContext2D ( self_ , text_baseline ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `textBaseline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textBaseline)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_text_baseline ( & self , text_baseline : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reset_transform_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `resetTransform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/resetTransform)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn reset_transform ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reset_transform_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reset_transform_CanvasRenderingContext2D ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `resetTransform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/resetTransform)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn reset_transform ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/rotate)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn rotate ( & self , angle : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; __widl_f_rotate_CanvasRenderingContext2D ( self_ , angle , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/rotate)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn rotate ( & self , angle : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/scale)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn scale ( & self , x : f64 , y : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_scale_CanvasRenderingContext2D ( self_ , x , y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/scale)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn scale ( & self , x : f64 , y : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_transform_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTransform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setTransform)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_transform ( & self , a : f64 , b : f64 , c : f64 , d : f64 , e : f64 , f : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_transform_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , b : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , c : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , d : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , e : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , f : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a , & mut __stack ) ; let b = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( b , & mut __stack ) ; let c = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( c , & mut __stack ) ; let d = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( d , & mut __stack ) ; let e = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( e , & mut __stack ) ; let f = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( f , & mut __stack ) ; __widl_f_set_transform_CanvasRenderingContext2D ( self_ , a , b , c , d , e , f , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTransform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setTransform)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn set_transform ( & self , a : f64 , b : f64 , c : f64 , d : f64 , e : f64 , f : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transform_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/transform)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn transform ( & self , a : f64 , b : f64 , c : f64 , d : f64 , e : f64 , f : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transform_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , b : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , c : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , d : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , e : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , f : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a , & mut __stack ) ; let b = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( b , & mut __stack ) ; let c = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( c , & mut __stack ) ; let d = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( d , & mut __stack ) ; let e = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( e , & mut __stack ) ; let f = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( f , & mut __stack ) ; __widl_f_transform_CanvasRenderingContext2D ( self_ , a , b , c , d , e , f , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/transform)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn transform ( & self , a : f64 , b : f64 , c : f64 , d : f64 , e : f64 , f : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_translate_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/translate)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn translate ( & self , x : f64 , y : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_translate_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_translate_CanvasRenderingContext2D ( self_ , x , y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/translate)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*" ] pub fn translate ( & self , x : f64 , y : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_custom_focus_ring_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawCustomFocusRing()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawCustomFocusRing)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Element`*" ] pub fn draw_custom_focus_ring ( & self , element : & Element ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_custom_focus_ring_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; __widl_f_draw_custom_focus_ring_CanvasRenderingContext2D ( self_ , element ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawCustomFocusRing()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawCustomFocusRing)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Element`*" ] pub fn draw_custom_focus_ring ( & self , element : & Element ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_focus_if_needed_CanvasRenderingContext2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CanvasRenderingContext2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawFocusIfNeeded()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawFocusIfNeeded)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Element`*" ] pub fn draw_focus_if_needed ( & self , element : & Element ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_focus_if_needed_CanvasRenderingContext2D ( self_ : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; __widl_f_draw_focus_if_needed_CanvasRenderingContext2D ( self_ , element , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawFocusIfNeeded()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawFocusIfNeeded)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Element`*" ] pub fn draw_focus_if_needed ( & self , element : & Element ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CaretPosition` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition)\n\n*This API requires the following crate features to be activated: `CaretPosition`*" ] # [ repr ( transparent ) ] pub struct CaretPosition { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CaretPosition : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CaretPosition { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CaretPosition { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CaretPosition { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CaretPosition { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CaretPosition { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CaretPosition { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CaretPosition { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CaretPosition { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CaretPosition { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CaretPosition > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CaretPosition { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CaretPosition { # [ inline ] fn from ( obj : JsValue ) -> CaretPosition { CaretPosition { obj } } } impl AsRef < JsValue > for CaretPosition { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CaretPosition > for JsValue { # [ inline ] fn from ( obj : CaretPosition ) -> JsValue { obj . obj } } impl JsCast for CaretPosition { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CaretPosition ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CaretPosition ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CaretPosition { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CaretPosition ) } } } ( ) } ; impl core :: ops :: Deref for CaretPosition { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < CaretPosition > for Object { # [ inline ] fn from ( obj : CaretPosition ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CaretPosition { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_client_rect_CaretPosition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CaretPosition as WasmDescribe > :: describe ( ) ; < Option < DomRect > as WasmDescribe > :: describe ( ) ; } impl CaretPosition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getClientRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition/getClientRect)\n\n*This API requires the following crate features to be activated: `CaretPosition`, `DomRect`*" ] pub fn get_client_rect ( & self , ) -> Option < DomRect > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_client_rect_CaretPosition ( self_ : < & CaretPosition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < DomRect > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CaretPosition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_client_rect_CaretPosition ( self_ ) } ; < Option < DomRect > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getClientRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition/getClientRect)\n\n*This API requires the following crate features to be activated: `CaretPosition`, `DomRect`*" ] pub fn get_client_rect ( & self , ) -> Option < DomRect > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_offset_node_CaretPosition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CaretPosition as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl CaretPosition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `offsetNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition/offsetNode)\n\n*This API requires the following crate features to be activated: `CaretPosition`, `Node`*" ] pub fn offset_node ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_offset_node_CaretPosition ( self_ : < & CaretPosition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CaretPosition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_offset_node_CaretPosition ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `offsetNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition/offsetNode)\n\n*This API requires the following crate features to be activated: `CaretPosition`, `Node`*" ] pub fn offset_node ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_offset_CaretPosition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CaretPosition as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl CaretPosition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `offset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition/offset)\n\n*This API requires the following crate features to be activated: `CaretPosition`*" ] pub fn offset ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_offset_CaretPosition ( self_ : < & CaretPosition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CaretPosition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_offset_CaretPosition ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `offset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CaretPosition/offset)\n\n*This API requires the following crate features to be activated: `CaretPosition`*" ] pub fn offset ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ChannelMergerNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelMergerNode)\n\n*This API requires the following crate features to be activated: `ChannelMergerNode`*" ] # [ repr ( transparent ) ] pub struct ChannelMergerNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ChannelMergerNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ChannelMergerNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ChannelMergerNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ChannelMergerNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ChannelMergerNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ChannelMergerNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ChannelMergerNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ChannelMergerNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ChannelMergerNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ChannelMergerNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ChannelMergerNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ChannelMergerNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ChannelMergerNode { # [ inline ] fn from ( obj : JsValue ) -> ChannelMergerNode { ChannelMergerNode { obj } } } impl AsRef < JsValue > for ChannelMergerNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ChannelMergerNode > for JsValue { # [ inline ] fn from ( obj : ChannelMergerNode ) -> JsValue { obj . obj } } impl JsCast for ChannelMergerNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ChannelMergerNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ChannelMergerNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ChannelMergerNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ChannelMergerNode ) } } } ( ) } ; impl core :: ops :: Deref for ChannelMergerNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < ChannelMergerNode > for AudioNode { # [ inline ] fn from ( obj : ChannelMergerNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for ChannelMergerNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ChannelMergerNode > for EventTarget { # [ inline ] fn from ( obj : ChannelMergerNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ChannelMergerNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ChannelMergerNode > for Object { # [ inline ] fn from ( obj : ChannelMergerNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ChannelMergerNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_ChannelMergerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < ChannelMergerNode as WasmDescribe > :: describe ( ) ; } impl ChannelMergerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ChannelMergerNode(..)` constructor, creating a new instance of `ChannelMergerNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelMergerNode/ChannelMergerNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelMergerNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_ChannelMergerNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_ChannelMergerNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ChannelMergerNode(..)` constructor, creating a new instance of `ChannelMergerNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelMergerNode/ChannelMergerNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelMergerNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_ChannelMergerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & ChannelMergerOptions as WasmDescribe > :: describe ( ) ; < ChannelMergerNode as WasmDescribe > :: describe ( ) ; } impl ChannelMergerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ChannelMergerNode(..)` constructor, creating a new instance of `ChannelMergerNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelMergerNode/ChannelMergerNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelMergerNode`, `ChannelMergerOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & ChannelMergerOptions ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_ChannelMergerNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ChannelMergerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & ChannelMergerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_ChannelMergerNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ChannelMergerNode(..)` constructor, creating a new instance of `ChannelMergerNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelMergerNode/ChannelMergerNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelMergerNode`, `ChannelMergerOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & ChannelMergerOptions ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ChannelSplitterNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelSplitterNode)\n\n*This API requires the following crate features to be activated: `ChannelSplitterNode`*" ] # [ repr ( transparent ) ] pub struct ChannelSplitterNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ChannelSplitterNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ChannelSplitterNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ChannelSplitterNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ChannelSplitterNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ChannelSplitterNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ChannelSplitterNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ChannelSplitterNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ChannelSplitterNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ChannelSplitterNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ChannelSplitterNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ChannelSplitterNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ChannelSplitterNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ChannelSplitterNode { # [ inline ] fn from ( obj : JsValue ) -> ChannelSplitterNode { ChannelSplitterNode { obj } } } impl AsRef < JsValue > for ChannelSplitterNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ChannelSplitterNode > for JsValue { # [ inline ] fn from ( obj : ChannelSplitterNode ) -> JsValue { obj . obj } } impl JsCast for ChannelSplitterNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ChannelSplitterNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ChannelSplitterNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ChannelSplitterNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ChannelSplitterNode ) } } } ( ) } ; impl core :: ops :: Deref for ChannelSplitterNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < ChannelSplitterNode > for AudioNode { # [ inline ] fn from ( obj : ChannelSplitterNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for ChannelSplitterNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ChannelSplitterNode > for EventTarget { # [ inline ] fn from ( obj : ChannelSplitterNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ChannelSplitterNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ChannelSplitterNode > for Object { # [ inline ] fn from ( obj : ChannelSplitterNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ChannelSplitterNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_ChannelSplitterNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < ChannelSplitterNode as WasmDescribe > :: describe ( ) ; } impl ChannelSplitterNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ChannelSplitterNode(..)` constructor, creating a new instance of `ChannelSplitterNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelSplitterNode/ChannelSplitterNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelSplitterNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_ChannelSplitterNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_ChannelSplitterNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ChannelSplitterNode(..)` constructor, creating a new instance of `ChannelSplitterNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelSplitterNode/ChannelSplitterNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelSplitterNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_ChannelSplitterNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & ChannelSplitterOptions as WasmDescribe > :: describe ( ) ; < ChannelSplitterNode as WasmDescribe > :: describe ( ) ; } impl ChannelSplitterNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ChannelSplitterNode(..)` constructor, creating a new instance of `ChannelSplitterNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelSplitterNode/ChannelSplitterNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelSplitterNode`, `ChannelSplitterOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & ChannelSplitterOptions ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_ChannelSplitterNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ChannelSplitterOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & ChannelSplitterOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_ChannelSplitterNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ChannelSplitterNode(..)` constructor, creating a new instance of `ChannelSplitterNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChannelSplitterNode/ChannelSplitterNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ChannelSplitterNode`, `ChannelSplitterOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & ChannelSplitterOptions ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CharacterData` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] # [ repr ( transparent ) ] pub struct CharacterData { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CharacterData : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CharacterData { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CharacterData { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CharacterData { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CharacterData { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CharacterData { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CharacterData { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CharacterData { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CharacterData { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CharacterData { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CharacterData > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CharacterData { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CharacterData { # [ inline ] fn from ( obj : JsValue ) -> CharacterData { CharacterData { obj } } } impl AsRef < JsValue > for CharacterData { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CharacterData > for JsValue { # [ inline ] fn from ( obj : CharacterData ) -> JsValue { obj . obj } } impl JsCast for CharacterData { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CharacterData ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CharacterData ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CharacterData { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CharacterData ) } } } ( ) } ; impl core :: ops :: Deref for CharacterData { type Target = Node ; # [ inline ] fn deref ( & self ) -> & Node { self . as_ref ( ) } } impl From < CharacterData > for Node { # [ inline ] fn from ( obj : CharacterData ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for CharacterData { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CharacterData > for EventTarget { # [ inline ] fn from ( obj : CharacterData ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for CharacterData { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CharacterData > for Object { # [ inline ] fn from ( obj : CharacterData ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CharacterData { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_data_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/appendData)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn append_data ( & self , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_data_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_append_data_CharacterData ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/appendData)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn append_data ( & self , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_data_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/deleteData)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn delete_data ( & self , offset : u32 , count : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_data_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let count = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; __widl_f_delete_data_CharacterData ( self_ , offset , count , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/deleteData)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn delete_data ( & self , offset : u32 , count : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_data_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/insertData)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn insert_data ( & self , offset : u32 , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_data_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_insert_data_CharacterData ( self_ , offset , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/insertData)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn insert_data ( & self , offset : u32 , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_data_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceData)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_data ( & self , offset : u32 , count : u32 , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_data_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let count = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_replace_data_CharacterData ( self_ , offset , count , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceData)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_data ( & self , offset : u32 , count : u32 , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_substring_data_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `substringData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/substringData)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn substring_data ( & self , offset : u32 , count : u32 ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_substring_data_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let count = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; __widl_f_substring_data_CharacterData ( self_ , offset , count , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `substringData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/substringData)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn substring_data ( & self , offset : u32 , count : u32 ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_data_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/data)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn data ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_data_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_data_CharacterData ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/data)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn data ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_data_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/data)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn set_data ( & self , data : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_data_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_set_data_CharacterData ( self_ , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/data)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn set_data ( & self , data : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/length)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_CharacterData ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/length)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_after_with_node_CharacterData ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_0_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_0_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_after_with_node_0_CharacterData ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_1_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_1_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_after_with_node_1_CharacterData ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_2_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_2_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_after_with_node_2_CharacterData ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_3_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_3_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_after_with_node_3_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_4_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_4_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_after_with_node_4_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_5_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_5_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_after_with_node_5_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_6_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_6_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_after_with_node_6_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_7_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_7_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_after_with_node_7_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn after_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_after_with_str_CharacterData ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_0_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_0_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_after_with_str_0_CharacterData ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_1_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_1_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_after_with_str_1_CharacterData ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_2_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_2_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_after_with_str_2_CharacterData ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_3_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_3_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_after_with_str_3_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_4_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_4_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_after_with_str_4_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_5_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_5_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_after_with_str_5_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_6_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_6_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_after_with_str_6_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_7_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_7_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_after_with_str_7_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn after_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_before_with_node_CharacterData ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_0_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_0_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_before_with_node_0_CharacterData ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_1_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_1_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_before_with_node_1_CharacterData ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_2_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_2_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_before_with_node_2_CharacterData ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_3_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_3_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_before_with_node_3_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_4_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_4_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_before_with_node_4_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_5_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_5_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_before_with_node_5_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_6_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_6_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_before_with_node_6_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_7_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_7_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_before_with_node_7_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn before_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_before_with_str_CharacterData ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_0_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_0_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_before_with_str_0_CharacterData ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_1_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_1_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_before_with_str_1_CharacterData ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_2_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_2_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_before_with_str_2_CharacterData ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_3_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_3_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_before_with_str_3_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_4_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_4_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_before_with_str_4_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_5_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_5_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_before_with_str_5_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_6_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_6_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_before_with_str_6_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_7_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_7_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_before_with_str_7_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn before_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/remove)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn remove ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_remove_CharacterData ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/remove)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn remove ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_replace_with_with_node_CharacterData ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_0_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_0_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_replace_with_with_node_0_CharacterData ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_1_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_1_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_replace_with_with_node_1_CharacterData ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_2_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_2_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_replace_with_with_node_2_CharacterData ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_3_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_3_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_replace_with_with_node_3_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_4_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_4_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_replace_with_with_node_4_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_5_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_5_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_replace_with_with_node_5_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_6_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_6_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_replace_with_with_node_6_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_7_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_7_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_replace_with_with_node_7_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Node`*" ] pub fn replace_with_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_replace_with_with_str_CharacterData ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_0_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_0_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_replace_with_with_str_0_CharacterData ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_1_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_1_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_replace_with_with_str_1_CharacterData ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_2_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_2_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_replace_with_with_str_2_CharacterData ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_3_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_3_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_replace_with_with_str_3_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_4_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_4_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_replace_with_with_str_4_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_5_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_5_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_replace_with_with_str_5_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_6_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_6_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_replace_with_with_str_6_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_7_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_7_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_replace_with_with_str_7_CharacterData ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith)\n\n*This API requires the following crate features to be activated: `CharacterData`*" ] pub fn replace_with_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_previous_element_sibling_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `previousElementSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/previousElementSibling)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Element`*" ] pub fn previous_element_sibling ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_previous_element_sibling_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_previous_element_sibling_CharacterData ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `previousElementSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/previousElementSibling)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Element`*" ] pub fn previous_element_sibling ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_next_element_sibling_CharacterData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CharacterData as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl CharacterData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `nextElementSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/nextElementSibling)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Element`*" ] pub fn next_element_sibling ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_next_element_sibling_CharacterData ( self_ : < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CharacterData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_next_element_sibling_CharacterData ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `nextElementSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/nextElementSibling)\n\n*This API requires the following crate features to be activated: `CharacterData`, `Element`*" ] pub fn next_element_sibling ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CheckerboardReportService` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService)\n\n*This API requires the following crate features to be activated: `CheckerboardReportService`*" ] # [ repr ( transparent ) ] pub struct CheckerboardReportService { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CheckerboardReportService : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CheckerboardReportService { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CheckerboardReportService { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CheckerboardReportService { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CheckerboardReportService { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CheckerboardReportService { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CheckerboardReportService { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CheckerboardReportService { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CheckerboardReportService { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CheckerboardReportService { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CheckerboardReportService > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CheckerboardReportService { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CheckerboardReportService { # [ inline ] fn from ( obj : JsValue ) -> CheckerboardReportService { CheckerboardReportService { obj } } } impl AsRef < JsValue > for CheckerboardReportService { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CheckerboardReportService > for JsValue { # [ inline ] fn from ( obj : CheckerboardReportService ) -> JsValue { obj . obj } } impl JsCast for CheckerboardReportService { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CheckerboardReportService ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CheckerboardReportService ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CheckerboardReportService { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CheckerboardReportService ) } } } ( ) } ; impl core :: ops :: Deref for CheckerboardReportService { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < CheckerboardReportService > for Object { # [ inline ] fn from ( obj : CheckerboardReportService ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CheckerboardReportService { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_CheckerboardReportService ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < CheckerboardReportService as WasmDescribe > :: describe ( ) ; } impl CheckerboardReportService { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new CheckerboardReportService(..)` constructor, creating a new instance of `CheckerboardReportService`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/CheckerboardReportService)\n\n*This API requires the following crate features to be activated: `CheckerboardReportService`*" ] pub fn new ( ) -> Result < CheckerboardReportService , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_CheckerboardReportService ( exn_data_ptr : * mut u32 ) -> < CheckerboardReportService as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_CheckerboardReportService ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < CheckerboardReportService as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new CheckerboardReportService(..)` constructor, creating a new instance of `CheckerboardReportService`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/CheckerboardReportService)\n\n*This API requires the following crate features to be activated: `CheckerboardReportService`*" ] pub fn new ( ) -> Result < CheckerboardReportService , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_flush_active_reports_CheckerboardReportService ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CheckerboardReportService as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CheckerboardReportService { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `flushActiveReports()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/flushActiveReports)\n\n*This API requires the following crate features to be activated: `CheckerboardReportService`*" ] pub fn flush_active_reports ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_flush_active_reports_CheckerboardReportService ( self_ : < & CheckerboardReportService as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CheckerboardReportService as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_flush_active_reports_CheckerboardReportService ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `flushActiveReports()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/flushActiveReports)\n\n*This API requires the following crate features to be activated: `CheckerboardReportService`*" ] pub fn flush_active_reports ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_recording_enabled_CheckerboardReportService ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CheckerboardReportService as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl CheckerboardReportService { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isRecordingEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/isRecordingEnabled)\n\n*This API requires the following crate features to be activated: `CheckerboardReportService`*" ] pub fn is_recording_enabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_recording_enabled_CheckerboardReportService ( self_ : < & CheckerboardReportService as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CheckerboardReportService as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_recording_enabled_CheckerboardReportService ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isRecordingEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/isRecordingEnabled)\n\n*This API requires the following crate features to be activated: `CheckerboardReportService`*" ] pub fn is_recording_enabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_recording_enabled_CheckerboardReportService ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CheckerboardReportService as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CheckerboardReportService { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setRecordingEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/setRecordingEnabled)\n\n*This API requires the following crate features to be activated: `CheckerboardReportService`*" ] pub fn set_recording_enabled ( & self , a_enabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_recording_enabled_CheckerboardReportService ( self_ : < & CheckerboardReportService as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_enabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CheckerboardReportService as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_enabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_enabled , & mut __stack ) ; __widl_f_set_recording_enabled_CheckerboardReportService ( self_ , a_enabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setRecordingEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CheckerboardReportService/setRecordingEnabled)\n\n*This API requires the following crate features to be activated: `CheckerboardReportService`*" ] pub fn set_recording_enabled ( & self , a_enabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ChromeWorker` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChromeWorker)\n\n*This API requires the following crate features to be activated: `ChromeWorker`*" ] # [ repr ( transparent ) ] pub struct ChromeWorker { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ChromeWorker : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ChromeWorker { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ChromeWorker { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ChromeWorker { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ChromeWorker { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ChromeWorker { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ChromeWorker { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ChromeWorker { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ChromeWorker { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ChromeWorker { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ChromeWorker > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ChromeWorker { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ChromeWorker { # [ inline ] fn from ( obj : JsValue ) -> ChromeWorker { ChromeWorker { obj } } } impl AsRef < JsValue > for ChromeWorker { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ChromeWorker > for JsValue { # [ inline ] fn from ( obj : ChromeWorker ) -> JsValue { obj . obj } } impl JsCast for ChromeWorker { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ChromeWorker ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ChromeWorker ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ChromeWorker { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ChromeWorker ) } } } ( ) } ; impl core :: ops :: Deref for ChromeWorker { type Target = Worker ; # [ inline ] fn deref ( & self ) -> & Worker { self . as_ref ( ) } } impl From < ChromeWorker > for Worker { # [ inline ] fn from ( obj : ChromeWorker ) -> Worker { use wasm_bindgen :: JsCast ; Worker :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Worker > for ChromeWorker { # [ inline ] fn as_ref ( & self ) -> & Worker { use wasm_bindgen :: JsCast ; Worker :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ChromeWorker > for EventTarget { # [ inline ] fn from ( obj : ChromeWorker ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ChromeWorker { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ChromeWorker > for Object { # [ inline ] fn from ( obj : ChromeWorker ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ChromeWorker { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_ChromeWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < ChromeWorker as WasmDescribe > :: describe ( ) ; } impl ChromeWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ChromeWorker(..)` constructor, creating a new instance of `ChromeWorker`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChromeWorker/ChromeWorker)\n\n*This API requires the following crate features to be activated: `ChromeWorker`*" ] pub fn new ( script_url : & str ) -> Result < ChromeWorker , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_ChromeWorker ( script_url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChromeWorker as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let script_url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( script_url , & mut __stack ) ; __widl_f_new_ChromeWorker ( script_url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChromeWorker as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ChromeWorker(..)` constructor, creating a new instance of `ChromeWorker`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ChromeWorker/ChromeWorker)\n\n*This API requires the following crate features to be activated: `ChromeWorker`*" ] pub fn new ( script_url : & str ) -> Result < ChromeWorker , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Client` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client)\n\n*This API requires the following crate features to be activated: `Client`*" ] # [ repr ( transparent ) ] pub struct Client { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Client : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Client { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Client { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Client { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Client { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Client { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Client { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Client { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Client { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Client { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Client > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Client { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Client { # [ inline ] fn from ( obj : JsValue ) -> Client { Client { obj } } } impl AsRef < JsValue > for Client { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Client > for JsValue { # [ inline ] fn from ( obj : Client ) -> JsValue { obj . obj } } impl JsCast for Client { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Client ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Client ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Client { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Client ) } } } ( ) } ; impl core :: ops :: Deref for Client { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Client > for Object { # [ inline ] fn from ( obj : Client ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Client { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_post_message_Client ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Client as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Client { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/postMessage)\n\n*This API requires the following crate features to be activated: `Client`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_post_message_Client ( self_ : < & Client as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Client as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let message = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; __widl_f_post_message_Client ( self_ , message , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/postMessage)\n\n*This API requires the following crate features to be activated: `Client`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_url_Client ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Client as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Client { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/url)\n\n*This API requires the following crate features to be activated: `Client`*" ] pub fn url ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_url_Client ( self_ : < & Client as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Client as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_url_Client ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/url)\n\n*This API requires the following crate features to be activated: `Client`*" ] pub fn url ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_frame_type_Client ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Client as WasmDescribe > :: describe ( ) ; < FrameType as WasmDescribe > :: describe ( ) ; } impl Client { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frameType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/frameType)\n\n*This API requires the following crate features to be activated: `Client`, `FrameType`*" ] pub fn frame_type ( & self , ) -> FrameType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_frame_type_Client ( self_ : < & Client as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < FrameType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Client as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_frame_type_Client ( self_ ) } ; < FrameType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frameType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/frameType)\n\n*This API requires the following crate features to be activated: `Client`, `FrameType`*" ] pub fn frame_type ( & self , ) -> FrameType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_Client ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Client as WasmDescribe > :: describe ( ) ; < ClientType as WasmDescribe > :: describe ( ) ; } impl Client { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/type)\n\n*This API requires the following crate features to be activated: `Client`, `ClientType`*" ] pub fn type_ ( & self , ) -> ClientType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_Client ( self_ : < & Client as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ClientType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Client as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_Client ( self_ ) } ; < ClientType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/type)\n\n*This API requires the following crate features to be activated: `Client`, `ClientType`*" ] pub fn type_ ( & self , ) -> ClientType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_Client ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Client as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Client { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/id)\n\n*This API requires the following crate features to be activated: `Client`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_Client ( self_ : < & Client as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Client as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_Client ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Client/id)\n\n*This API requires the following crate features to be activated: `Client`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Clients` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients)\n\n*This API requires the following crate features to be activated: `Clients`*" ] # [ repr ( transparent ) ] pub struct Clients { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Clients : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Clients { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Clients { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Clients { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Clients { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Clients { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Clients { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Clients { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Clients { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Clients { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Clients > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Clients { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Clients { # [ inline ] fn from ( obj : JsValue ) -> Clients { Clients { obj } } } impl AsRef < JsValue > for Clients { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Clients > for JsValue { # [ inline ] fn from ( obj : Clients ) -> JsValue { obj . obj } } impl JsCast for Clients { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Clients ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Clients ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Clients { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Clients ) } } } ( ) } ; impl core :: ops :: Deref for Clients { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Clients > for Object { # [ inline ] fn from ( obj : Clients ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Clients { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_claim_Clients ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Clients as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Clients { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `claim()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/claim)\n\n*This API requires the following crate features to be activated: `Clients`*" ] pub fn claim ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_claim_Clients ( self_ : < & Clients as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Clients as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_claim_Clients ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `claim()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/claim)\n\n*This API requires the following crate features to be activated: `Clients`*" ] pub fn claim ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_Clients ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Clients as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Clients { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/get)\n\n*This API requires the following crate features to be activated: `Clients`*" ] pub fn get ( & self , id : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_Clients ( self_ : < & Clients as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Clients as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; __widl_f_get_Clients ( self_ , id ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/get)\n\n*This API requires the following crate features to be activated: `Clients`*" ] pub fn get ( & self , id : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_all_Clients ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Clients as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Clients { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/matchAll)\n\n*This API requires the following crate features to be activated: `Clients`*" ] pub fn match_all ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_all_Clients ( self_ : < & Clients as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Clients as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_match_all_Clients ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/matchAll)\n\n*This API requires the following crate features to be activated: `Clients`*" ] pub fn match_all ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_all_with_options_Clients ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Clients as WasmDescribe > :: describe ( ) ; < & ClientQueryOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Clients { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/matchAll)\n\n*This API requires the following crate features to be activated: `ClientQueryOptions`, `Clients`*" ] pub fn match_all_with_options ( & self , options : & ClientQueryOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_all_with_options_Clients ( self_ : < & Clients as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ClientQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Clients as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & ClientQueryOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_match_all_with_options_Clients ( self_ , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `matchAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/matchAll)\n\n*This API requires the following crate features to be activated: `ClientQueryOptions`, `Clients`*" ] pub fn match_all_with_options ( & self , options : & ClientQueryOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_window_Clients ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Clients as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Clients { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `openWindow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/openWindow)\n\n*This API requires the following crate features to be activated: `Clients`*" ] pub fn open_window ( & self , url : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_window_Clients ( self_ : < & Clients as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Clients as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_open_window_Clients ( self_ , url ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `openWindow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/openWindow)\n\n*This API requires the following crate features to be activated: `Clients`*" ] pub fn open_window ( & self , url : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ClipboardEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent)\n\n*This API requires the following crate features to be activated: `ClipboardEvent`*" ] # [ repr ( transparent ) ] pub struct ClipboardEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ClipboardEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ClipboardEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ClipboardEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ClipboardEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ClipboardEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ClipboardEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ClipboardEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ClipboardEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ClipboardEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ClipboardEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ClipboardEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ClipboardEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ClipboardEvent { # [ inline ] fn from ( obj : JsValue ) -> ClipboardEvent { ClipboardEvent { obj } } } impl AsRef < JsValue > for ClipboardEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ClipboardEvent > for JsValue { # [ inline ] fn from ( obj : ClipboardEvent ) -> JsValue { obj . obj } } impl JsCast for ClipboardEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ClipboardEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ClipboardEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ClipboardEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ClipboardEvent ) } } } ( ) } ; impl core :: ops :: Deref for ClipboardEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < ClipboardEvent > for Event { # [ inline ] fn from ( obj : ClipboardEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for ClipboardEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ClipboardEvent > for Object { # [ inline ] fn from ( obj : ClipboardEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ClipboardEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_ClipboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < ClipboardEvent as WasmDescribe > :: describe ( ) ; } impl ClipboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ClipboardEvent(..)` constructor, creating a new instance of `ClipboardEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/ClipboardEvent)\n\n*This API requires the following crate features to be activated: `ClipboardEvent`*" ] pub fn new ( type_ : & str ) -> Result < ClipboardEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_ClipboardEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ClipboardEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_ClipboardEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ClipboardEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ClipboardEvent(..)` constructor, creating a new instance of `ClipboardEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/ClipboardEvent)\n\n*This API requires the following crate features to be activated: `ClipboardEvent`*" ] pub fn new ( type_ : & str ) -> Result < ClipboardEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_ClipboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & ClipboardEventInit as WasmDescribe > :: describe ( ) ; < ClipboardEvent as WasmDescribe > :: describe ( ) ; } impl ClipboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ClipboardEvent(..)` constructor, creating a new instance of `ClipboardEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/ClipboardEvent)\n\n*This API requires the following crate features to be activated: `ClipboardEvent`, `ClipboardEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & ClipboardEventInit ) -> Result < ClipboardEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_ClipboardEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & ClipboardEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ClipboardEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & ClipboardEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_ClipboardEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ClipboardEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ClipboardEvent(..)` constructor, creating a new instance of `ClipboardEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/ClipboardEvent)\n\n*This API requires the following crate features to be activated: `ClipboardEvent`, `ClipboardEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & ClipboardEventInit ) -> Result < ClipboardEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clipboard_data_ClipboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ClipboardEvent as WasmDescribe > :: describe ( ) ; < Option < DataTransfer > as WasmDescribe > :: describe ( ) ; } impl ClipboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clipboardData` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/clipboardData)\n\n*This API requires the following crate features to be activated: `ClipboardEvent`, `DataTransfer`*" ] pub fn clipboard_data ( & self , ) -> Option < DataTransfer > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clipboard_data_ClipboardEvent ( self_ : < & ClipboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < DataTransfer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ClipboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clipboard_data_ClipboardEvent ( self_ ) } ; < Option < DataTransfer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clipboardData` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/clipboardData)\n\n*This API requires the following crate features to be activated: `ClipboardEvent`, `DataTransfer`*" ] pub fn clipboard_data ( & self , ) -> Option < DataTransfer > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CloseEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent)\n\n*This API requires the following crate features to be activated: `CloseEvent`*" ] # [ repr ( transparent ) ] pub struct CloseEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CloseEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CloseEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CloseEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CloseEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CloseEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CloseEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CloseEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CloseEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CloseEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CloseEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CloseEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CloseEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CloseEvent { # [ inline ] fn from ( obj : JsValue ) -> CloseEvent { CloseEvent { obj } } } impl AsRef < JsValue > for CloseEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CloseEvent > for JsValue { # [ inline ] fn from ( obj : CloseEvent ) -> JsValue { obj . obj } } impl JsCast for CloseEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CloseEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CloseEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CloseEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CloseEvent ) } } } ( ) } ; impl core :: ops :: Deref for CloseEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < CloseEvent > for Event { # [ inline ] fn from ( obj : CloseEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for CloseEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CloseEvent > for Object { # [ inline ] fn from ( obj : CloseEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CloseEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_CloseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < CloseEvent as WasmDescribe > :: describe ( ) ; } impl CloseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new CloseEvent(..)` constructor, creating a new instance of `CloseEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/CloseEvent)\n\n*This API requires the following crate features to be activated: `CloseEvent`*" ] pub fn new ( type_ : & str ) -> Result < CloseEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_CloseEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < CloseEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_CloseEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < CloseEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new CloseEvent(..)` constructor, creating a new instance of `CloseEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/CloseEvent)\n\n*This API requires the following crate features to be activated: `CloseEvent`*" ] pub fn new ( type_ : & str ) -> Result < CloseEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_CloseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & CloseEventInit as WasmDescribe > :: describe ( ) ; < CloseEvent as WasmDescribe > :: describe ( ) ; } impl CloseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new CloseEvent(..)` constructor, creating a new instance of `CloseEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/CloseEvent)\n\n*This API requires the following crate features to be activated: `CloseEvent`, `CloseEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & CloseEventInit ) -> Result < CloseEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_CloseEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & CloseEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < CloseEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & CloseEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_CloseEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < CloseEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new CloseEvent(..)` constructor, creating a new instance of `CloseEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/CloseEvent)\n\n*This API requires the following crate features to be activated: `CloseEvent`, `CloseEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & CloseEventInit ) -> Result < CloseEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_was_clean_CloseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CloseEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl CloseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `wasClean` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/wasClean)\n\n*This API requires the following crate features to be activated: `CloseEvent`*" ] pub fn was_clean ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_was_clean_CloseEvent ( self_ : < & CloseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CloseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_was_clean_CloseEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `wasClean` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/wasClean)\n\n*This API requires the following crate features to be activated: `CloseEvent`*" ] pub fn was_clean ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_code_CloseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CloseEvent as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl CloseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `code` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code)\n\n*This API requires the following crate features to be activated: `CloseEvent`*" ] pub fn code ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_code_CloseEvent ( self_ : < & CloseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CloseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_code_CloseEvent ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `code` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code)\n\n*This API requires the following crate features to be activated: `CloseEvent`*" ] pub fn code ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reason_CloseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CloseEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CloseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reason` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/reason)\n\n*This API requires the following crate features to be activated: `CloseEvent`*" ] pub fn reason ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reason_CloseEvent ( self_ : < & CloseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CloseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reason_CloseEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reason` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/reason)\n\n*This API requires the following crate features to be activated: `CloseEvent`*" ] pub fn reason ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Comment` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Comment)\n\n*This API requires the following crate features to be activated: `Comment`*" ] # [ repr ( transparent ) ] pub struct Comment { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Comment : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Comment { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Comment { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Comment { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Comment { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Comment { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Comment { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Comment { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Comment { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Comment { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Comment > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Comment { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Comment { # [ inline ] fn from ( obj : JsValue ) -> Comment { Comment { obj } } } impl AsRef < JsValue > for Comment { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Comment > for JsValue { # [ inline ] fn from ( obj : Comment ) -> JsValue { obj . obj } } impl JsCast for Comment { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Comment ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Comment ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Comment { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Comment ) } } } ( ) } ; impl core :: ops :: Deref for Comment { type Target = CharacterData ; # [ inline ] fn deref ( & self ) -> & CharacterData { self . as_ref ( ) } } impl From < Comment > for CharacterData { # [ inline ] fn from ( obj : Comment ) -> CharacterData { use wasm_bindgen :: JsCast ; CharacterData :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CharacterData > for Comment { # [ inline ] fn as_ref ( & self ) -> & CharacterData { use wasm_bindgen :: JsCast ; CharacterData :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Comment > for Node { # [ inline ] fn from ( obj : Comment ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for Comment { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Comment > for EventTarget { # [ inline ] fn from ( obj : Comment ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for Comment { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Comment > for Object { # [ inline ] fn from ( obj : Comment ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Comment { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Comment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < Comment as WasmDescribe > :: describe ( ) ; } impl Comment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Comment(..)` constructor, creating a new instance of `Comment`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Comment/Comment)\n\n*This API requires the following crate features to be activated: `Comment`*" ] pub fn new ( ) -> Result < Comment , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Comment ( exn_data_ptr : * mut u32 ) -> < Comment as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_Comment ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Comment as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Comment(..)` constructor, creating a new instance of `Comment`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Comment/Comment)\n\n*This API requires the following crate features to be activated: `Comment`*" ] pub fn new ( ) -> Result < Comment , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_data_Comment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < Comment as WasmDescribe > :: describe ( ) ; } impl Comment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Comment(..)` constructor, creating a new instance of `Comment`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Comment/Comment)\n\n*This API requires the following crate features to be activated: `Comment`*" ] pub fn new_with_data ( data : & str ) -> Result < Comment , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_data_Comment ( data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Comment as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_new_with_data_Comment ( data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Comment as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Comment(..)` constructor, creating a new instance of `Comment`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Comment/Comment)\n\n*This API requires the following crate features to be activated: `Comment`*" ] pub fn new_with_data ( data : & str ) -> Result < Comment , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CompositionEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`*" ] # [ repr ( transparent ) ] pub struct CompositionEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CompositionEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CompositionEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CompositionEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CompositionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CompositionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CompositionEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CompositionEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CompositionEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CompositionEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CompositionEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CompositionEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CompositionEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CompositionEvent { # [ inline ] fn from ( obj : JsValue ) -> CompositionEvent { CompositionEvent { obj } } } impl AsRef < JsValue > for CompositionEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CompositionEvent > for JsValue { # [ inline ] fn from ( obj : CompositionEvent ) -> JsValue { obj . obj } } impl JsCast for CompositionEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CompositionEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CompositionEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CompositionEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CompositionEvent ) } } } ( ) } ; impl core :: ops :: Deref for CompositionEvent { type Target = UiEvent ; # [ inline ] fn deref ( & self ) -> & UiEvent { self . as_ref ( ) } } impl From < CompositionEvent > for UiEvent { # [ inline ] fn from ( obj : CompositionEvent ) -> UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < UiEvent > for CompositionEvent { # [ inline ] fn as_ref ( & self ) -> & UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CompositionEvent > for Event { # [ inline ] fn from ( obj : CompositionEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for CompositionEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CompositionEvent > for Object { # [ inline ] fn from ( obj : CompositionEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CompositionEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_CompositionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < CompositionEvent as WasmDescribe > :: describe ( ) ; } impl CompositionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new CompositionEvent(..)` constructor, creating a new instance of `CompositionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/CompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`*" ] pub fn new ( type_ : & str ) -> Result < CompositionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_CompositionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < CompositionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_CompositionEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < CompositionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new CompositionEvent(..)` constructor, creating a new instance of `CompositionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/CompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`*" ] pub fn new ( type_ : & str ) -> Result < CompositionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_CompositionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & CompositionEventInit as WasmDescribe > :: describe ( ) ; < CompositionEvent as WasmDescribe > :: describe ( ) ; } impl CompositionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new CompositionEvent(..)` constructor, creating a new instance of `CompositionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/CompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`, `CompositionEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & CompositionEventInit ) -> Result < CompositionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_CompositionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & CompositionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < CompositionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & CompositionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_CompositionEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < CompositionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new CompositionEvent(..)` constructor, creating a new instance of `CompositionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/CompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`, `CompositionEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & CompositionEventInit ) -> Result < CompositionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_composition_event_CompositionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CompositionEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CompositionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initCompositionEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`*" ] pub fn init_composition_event ( & self , type_arg : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_composition_event_CompositionEvent ( self_ : < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; __widl_f_init_composition_event_CompositionEvent ( self_ , type_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initCompositionEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`*" ] pub fn init_composition_event ( & self , type_arg : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_composition_event_with_can_bubble_arg_CompositionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CompositionEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CompositionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initCompositionEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`*" ] pub fn init_composition_event_with_can_bubble_arg ( & self , type_arg : & str , can_bubble_arg : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_composition_event_with_can_bubble_arg_CompositionEvent ( self_ : < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; __widl_f_init_composition_event_with_can_bubble_arg_CompositionEvent ( self_ , type_arg , can_bubble_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initCompositionEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`*" ] pub fn init_composition_event_with_can_bubble_arg ( & self , type_arg : & str , can_bubble_arg : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_CompositionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CompositionEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CompositionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initCompositionEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`*" ] pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_CompositionEvent ( self_ : < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; __widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_CompositionEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initCompositionEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`*" ] pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_CompositionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CompositionEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CompositionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initCompositionEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`, `Window`*" ] pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_CompositionEvent ( self_ : < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; __widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_CompositionEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initCompositionEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`, `Window`*" ] pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg_CompositionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & CompositionEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CompositionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initCompositionEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`, `Window`*" ] pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , data_arg : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg_CompositionEvent ( self_ : < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_arg : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let data_arg = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_arg , & mut __stack ) ; __widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg_CompositionEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg , data_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initCompositionEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`, `Window`*" ] pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , data_arg : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg_and_locale_arg_CompositionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & CompositionEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CompositionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initCompositionEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`, `Window`*" ] pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg_and_locale_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , data_arg : Option < & str > , locale_arg : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg_and_locale_arg_CompositionEvent ( self_ : < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_arg : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , locale_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let data_arg = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_arg , & mut __stack ) ; let locale_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( locale_arg , & mut __stack ) ; __widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg_and_locale_arg_CompositionEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg , data_arg , locale_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initCompositionEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/initCompositionEvent)\n\n*This API requires the following crate features to be activated: `CompositionEvent`, `Window`*" ] pub fn init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg_and_locale_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , data_arg : Option < & str > , locale_arg : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_data_CompositionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CompositionEvent as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl CompositionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/data)\n\n*This API requires the following crate features to be activated: `CompositionEvent`*" ] pub fn data ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_data_CompositionEvent ( self_ : < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_data_CompositionEvent ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/data)\n\n*This API requires the following crate features to be activated: `CompositionEvent`*" ] pub fn data ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_locale_CompositionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CompositionEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CompositionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `locale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/locale)\n\n*This API requires the following crate features to be activated: `CompositionEvent`*" ] pub fn locale ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_locale_CompositionEvent ( self_ : < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CompositionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_locale_CompositionEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `locale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/locale)\n\n*This API requires the following crate features to be activated: `CompositionEvent`*" ] pub fn locale ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ConsoleInstance` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConsoleInstance)\n\n*This API requires the following crate features to be activated: `ConsoleInstance`*" ] # [ repr ( transparent ) ] pub struct ConsoleInstance { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ConsoleInstance : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ConsoleInstance { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ConsoleInstance { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ConsoleInstance { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ConsoleInstance { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ConsoleInstance { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ConsoleInstance { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ConsoleInstance { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ConsoleInstance { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ConsoleInstance { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ConsoleInstance > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ConsoleInstance { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ConsoleInstance { # [ inline ] fn from ( obj : JsValue ) -> ConsoleInstance { ConsoleInstance { obj } } } impl AsRef < JsValue > for ConsoleInstance { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ConsoleInstance > for JsValue { # [ inline ] fn from ( obj : ConsoleInstance ) -> JsValue { obj . obj } } impl JsCast for ConsoleInstance { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ConsoleInstance ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ConsoleInstance ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConsoleInstance { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConsoleInstance ) } } } ( ) } ; impl core :: ops :: Deref for ConsoleInstance { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < ConsoleInstance > for Object { # [ inline ] fn from ( obj : ConsoleInstance ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ConsoleInstance { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ConstantSourceNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`*" ] # [ repr ( transparent ) ] pub struct ConstantSourceNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ConstantSourceNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ConstantSourceNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ConstantSourceNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ConstantSourceNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ConstantSourceNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ConstantSourceNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ConstantSourceNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ConstantSourceNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ConstantSourceNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ConstantSourceNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ConstantSourceNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ConstantSourceNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ConstantSourceNode { # [ inline ] fn from ( obj : JsValue ) -> ConstantSourceNode { ConstantSourceNode { obj } } } impl AsRef < JsValue > for ConstantSourceNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ConstantSourceNode > for JsValue { # [ inline ] fn from ( obj : ConstantSourceNode ) -> JsValue { obj . obj } } impl JsCast for ConstantSourceNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ConstantSourceNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ConstantSourceNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConstantSourceNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConstantSourceNode ) } } } ( ) } ; impl core :: ops :: Deref for ConstantSourceNode { type Target = AudioScheduledSourceNode ; # [ inline ] fn deref ( & self ) -> & AudioScheduledSourceNode { self . as_ref ( ) } } impl From < ConstantSourceNode > for AudioScheduledSourceNode { # [ inline ] fn from ( obj : ConstantSourceNode ) -> AudioScheduledSourceNode { use wasm_bindgen :: JsCast ; AudioScheduledSourceNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioScheduledSourceNode > for ConstantSourceNode { # [ inline ] fn as_ref ( & self ) -> & AudioScheduledSourceNode { use wasm_bindgen :: JsCast ; AudioScheduledSourceNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ConstantSourceNode > for AudioNode { # [ inline ] fn from ( obj : ConstantSourceNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for ConstantSourceNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ConstantSourceNode > for EventTarget { # [ inline ] fn from ( obj : ConstantSourceNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ConstantSourceNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ConstantSourceNode > for Object { # [ inline ] fn from ( obj : ConstantSourceNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ConstantSourceNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_ConstantSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < ConstantSourceNode as WasmDescribe > :: describe ( ) ; } impl ConstantSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ConstantSourceNode(..)` constructor, creating a new instance of `ConstantSourceNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/ConstantSourceNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ConstantSourceNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < ConstantSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_ConstantSourceNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ConstantSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_ConstantSourceNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ConstantSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ConstantSourceNode(..)` constructor, creating a new instance of `ConstantSourceNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/ConstantSourceNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ConstantSourceNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < ConstantSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_ConstantSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & ConstantSourceOptions as WasmDescribe > :: describe ( ) ; < ConstantSourceNode as WasmDescribe > :: describe ( ) ; } impl ConstantSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ConstantSourceNode(..)` constructor, creating a new instance of `ConstantSourceNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/ConstantSourceNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ConstantSourceNode`, `ConstantSourceOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & ConstantSourceOptions ) -> Result < ConstantSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_ConstantSourceNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConstantSourceOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ConstantSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & ConstantSourceOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_ConstantSourceNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ConstantSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ConstantSourceNode(..)` constructor, creating a new instance of `ConstantSourceNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/ConstantSourceNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ConstantSourceNode`, `ConstantSourceOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & ConstantSourceOptions ) -> Result < ConstantSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_offset_ConstantSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ConstantSourceNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl ConstantSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `offset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/offset)\n\n*This API requires the following crate features to be activated: `AudioParam`, `ConstantSourceNode`*" ] pub fn offset ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_offset_ConstantSourceNode ( self_ : < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_offset_ConstantSourceNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `offset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/offset)\n\n*This API requires the following crate features to be activated: `AudioParam`, `ConstantSourceNode`*" ] pub fn offset ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_ConstantSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ConstantSourceNode as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ConstantSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/start)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`*" ] pub fn start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_ConstantSourceNode ( self_ : < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_ConstantSourceNode ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/start)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`*" ] pub fn start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_with_when_ConstantSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ConstantSourceNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ConstantSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/start)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`*" ] pub fn start_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_with_when_ConstantSourceNode ( self_ : < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , when : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let when = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( when , & mut __stack ) ; __widl_f_start_with_when_ConstantSourceNode ( self_ , when , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/start)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`*" ] pub fn start_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_ConstantSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ConstantSourceNode as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ConstantSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/stop)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`*" ] pub fn stop ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_ConstantSourceNode ( self_ : < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stop_ConstantSourceNode ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/stop)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`*" ] pub fn stop ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_with_when_ConstantSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ConstantSourceNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ConstantSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/stop)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`*" ] pub fn stop_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_with_when_ConstantSourceNode ( self_ : < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , when : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let when = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( when , & mut __stack ) ; __widl_f_stop_with_when_ConstantSourceNode ( self_ , when , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/stop)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`*" ] pub fn stop_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onended_ConstantSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ConstantSourceNode as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ConstantSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/onended)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onended_ConstantSourceNode ( self_ : < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onended_ConstantSourceNode ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/onended)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onended_ConstantSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ConstantSourceNode as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ConstantSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/onended)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onended_ConstantSourceNode ( self_ : < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onended : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ConstantSourceNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onended = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onended , & mut __stack ) ; __widl_f_set_onended_ConstantSourceNode ( self_ , onended ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/onended)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ConvolverNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode)\n\n*This API requires the following crate features to be activated: `ConvolverNode`*" ] # [ repr ( transparent ) ] pub struct ConvolverNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ConvolverNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ConvolverNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ConvolverNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ConvolverNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ConvolverNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ConvolverNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ConvolverNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ConvolverNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ConvolverNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ConvolverNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ConvolverNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ConvolverNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ConvolverNode { # [ inline ] fn from ( obj : JsValue ) -> ConvolverNode { ConvolverNode { obj } } } impl AsRef < JsValue > for ConvolverNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ConvolverNode > for JsValue { # [ inline ] fn from ( obj : ConvolverNode ) -> JsValue { obj . obj } } impl JsCast for ConvolverNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ConvolverNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ConvolverNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConvolverNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConvolverNode ) } } } ( ) } ; impl core :: ops :: Deref for ConvolverNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < ConvolverNode > for AudioNode { # [ inline ] fn from ( obj : ConvolverNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for ConvolverNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ConvolverNode > for EventTarget { # [ inline ] fn from ( obj : ConvolverNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ConvolverNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ConvolverNode > for Object { # [ inline ] fn from ( obj : ConvolverNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ConvolverNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_ConvolverNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < ConvolverNode as WasmDescribe > :: describe ( ) ; } impl ConvolverNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ConvolverNode(..)` constructor, creating a new instance of `ConvolverNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/ConvolverNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ConvolverNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < ConvolverNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_ConvolverNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ConvolverNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_ConvolverNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ConvolverNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ConvolverNode(..)` constructor, creating a new instance of `ConvolverNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/ConvolverNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ConvolverNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < ConvolverNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_ConvolverNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & ConvolverOptions as WasmDescribe > :: describe ( ) ; < ConvolverNode as WasmDescribe > :: describe ( ) ; } impl ConvolverNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ConvolverNode(..)` constructor, creating a new instance of `ConvolverNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/ConvolverNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ConvolverNode`, `ConvolverOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & ConvolverOptions ) -> Result < ConvolverNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_ConvolverNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvolverOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ConvolverNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & ConvolverOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_ConvolverNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ConvolverNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ConvolverNode(..)` constructor, creating a new instance of `ConvolverNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/ConvolverNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `ConvolverNode`, `ConvolverOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & ConvolverOptions ) -> Result < ConvolverNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_ConvolverNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ConvolverNode as WasmDescribe > :: describe ( ) ; < Option < AudioBuffer > as WasmDescribe > :: describe ( ) ; } impl ConvolverNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `buffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/buffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `ConvolverNode`*" ] pub fn buffer ( & self , ) -> Option < AudioBuffer > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_ConvolverNode ( self_ : < & ConvolverNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < AudioBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ConvolverNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_buffer_ConvolverNode ( self_ ) } ; < Option < AudioBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `buffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/buffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `ConvolverNode`*" ] pub fn buffer ( & self , ) -> Option < AudioBuffer > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_buffer_ConvolverNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ConvolverNode as WasmDescribe > :: describe ( ) ; < Option < & AudioBuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ConvolverNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `buffer` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/buffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `ConvolverNode`*" ] pub fn set_buffer ( & self , buffer : Option < & AudioBuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_buffer_ConvolverNode ( self_ : < & ConvolverNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < Option < & AudioBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ConvolverNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < Option < & AudioBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; __widl_f_set_buffer_ConvolverNode ( self_ , buffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `buffer` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/buffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `ConvolverNode`*" ] pub fn set_buffer ( & self , buffer : Option < & AudioBuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_normalize_ConvolverNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ConvolverNode as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl ConvolverNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `normalize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/normalize)\n\n*This API requires the following crate features to be activated: `ConvolverNode`*" ] pub fn normalize ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_normalize_ConvolverNode ( self_ : < & ConvolverNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ConvolverNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_normalize_ConvolverNode ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `normalize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/normalize)\n\n*This API requires the following crate features to be activated: `ConvolverNode`*" ] pub fn normalize ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_normalize_ConvolverNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ConvolverNode as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ConvolverNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `normalize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/normalize)\n\n*This API requires the following crate features to be activated: `ConvolverNode`*" ] pub fn set_normalize ( & self , normalize : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_normalize_ConvolverNode ( self_ : < & ConvolverNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , normalize : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ConvolverNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let normalize = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( normalize , & mut __stack ) ; __widl_f_set_normalize_ConvolverNode ( self_ , normalize ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `normalize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/normalize)\n\n*This API requires the following crate features to be activated: `ConvolverNode`*" ] pub fn set_normalize ( & self , normalize : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Credential` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Credential)\n\n*This API requires the following crate features to be activated: `Credential`*" ] # [ repr ( transparent ) ] pub struct Credential { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Credential : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Credential { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Credential { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Credential { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Credential { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Credential { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Credential { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Credential { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Credential { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Credential { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Credential > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Credential { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Credential { # [ inline ] fn from ( obj : JsValue ) -> Credential { Credential { obj } } } impl AsRef < JsValue > for Credential { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Credential > for JsValue { # [ inline ] fn from ( obj : Credential ) -> JsValue { obj . obj } } impl JsCast for Credential { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Credential ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Credential ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Credential { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Credential ) } } } ( ) } ; impl core :: ops :: Deref for Credential { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Credential > for Object { # [ inline ] fn from ( obj : Credential ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Credential { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_Credential ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Credential as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Credential { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Credential/id)\n\n*This API requires the following crate features to be activated: `Credential`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_Credential ( self_ : < & Credential as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Credential as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_Credential ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Credential/id)\n\n*This API requires the following crate features to be activated: `Credential`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_Credential ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Credential as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Credential { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Credential/type)\n\n*This API requires the following crate features to be activated: `Credential`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_Credential ( self_ : < & Credential as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Credential as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_Credential ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Credential/type)\n\n*This API requires the following crate features to be activated: `Credential`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CredentialsContainer` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer)\n\n*This API requires the following crate features to be activated: `CredentialsContainer`*" ] # [ repr ( transparent ) ] pub struct CredentialsContainer { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CredentialsContainer : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CredentialsContainer { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CredentialsContainer { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CredentialsContainer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CredentialsContainer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CredentialsContainer { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CredentialsContainer { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CredentialsContainer { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CredentialsContainer { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CredentialsContainer { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CredentialsContainer > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CredentialsContainer { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CredentialsContainer { # [ inline ] fn from ( obj : JsValue ) -> CredentialsContainer { CredentialsContainer { obj } } } impl AsRef < JsValue > for CredentialsContainer { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CredentialsContainer > for JsValue { # [ inline ] fn from ( obj : CredentialsContainer ) -> JsValue { obj . obj } } impl JsCast for CredentialsContainer { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CredentialsContainer ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CredentialsContainer ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CredentialsContainer { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CredentialsContainer ) } } } ( ) } ; impl core :: ops :: Deref for CredentialsContainer { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < CredentialsContainer > for Object { # [ inline ] fn from ( obj : CredentialsContainer ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CredentialsContainer { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_CredentialsContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CredentialsContainer as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CredentialsContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `create()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/create)\n\n*This API requires the following crate features to be activated: `CredentialsContainer`*" ] pub fn create ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_CredentialsContainer ( self_ : < & CredentialsContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CredentialsContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_CredentialsContainer ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `create()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/create)\n\n*This API requires the following crate features to be activated: `CredentialsContainer`*" ] pub fn create ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_with_options_CredentialsContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CredentialsContainer as WasmDescribe > :: describe ( ) ; < & CredentialCreationOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CredentialsContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `create()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/create)\n\n*This API requires the following crate features to be activated: `CredentialCreationOptions`, `CredentialsContainer`*" ] pub fn create_with_options ( & self , options : & CredentialCreationOptions ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_with_options_CredentialsContainer ( self_ : < & CredentialsContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & CredentialCreationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CredentialsContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & CredentialCreationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_create_with_options_CredentialsContainer ( self_ , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `create()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/create)\n\n*This API requires the following crate features to be activated: `CredentialCreationOptions`, `CredentialsContainer`*" ] pub fn create_with_options ( & self , options : & CredentialCreationOptions ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_CredentialsContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CredentialsContainer as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CredentialsContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/get)\n\n*This API requires the following crate features to be activated: `CredentialsContainer`*" ] pub fn get ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_CredentialsContainer ( self_ : < & CredentialsContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CredentialsContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_CredentialsContainer ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/get)\n\n*This API requires the following crate features to be activated: `CredentialsContainer`*" ] pub fn get ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_options_CredentialsContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CredentialsContainer as WasmDescribe > :: describe ( ) ; < & CredentialRequestOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CredentialsContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/get)\n\n*This API requires the following crate features to be activated: `CredentialRequestOptions`, `CredentialsContainer`*" ] pub fn get_with_options ( & self , options : & CredentialRequestOptions ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_options_CredentialsContainer ( self_ : < & CredentialsContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & CredentialRequestOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CredentialsContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & CredentialRequestOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_get_with_options_CredentialsContainer ( self_ , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/get)\n\n*This API requires the following crate features to be activated: `CredentialRequestOptions`, `CredentialsContainer`*" ] pub fn get_with_options ( & self , options : & CredentialRequestOptions ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prevent_silent_access_CredentialsContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CredentialsContainer as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CredentialsContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preventSilentAccess()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/preventSilentAccess)\n\n*This API requires the following crate features to be activated: `CredentialsContainer`*" ] pub fn prevent_silent_access ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prevent_silent_access_CredentialsContainer ( self_ : < & CredentialsContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CredentialsContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prevent_silent_access_CredentialsContainer ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preventSilentAccess()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/preventSilentAccess)\n\n*This API requires the following crate features to be activated: `CredentialsContainer`*" ] pub fn prevent_silent_access ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_store_CredentialsContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CredentialsContainer as WasmDescribe > :: describe ( ) ; < & Credential as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CredentialsContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `store()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/store)\n\n*This API requires the following crate features to be activated: `Credential`, `CredentialsContainer`*" ] pub fn store ( & self , credential : & Credential ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_store_CredentialsContainer ( self_ : < & CredentialsContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , credential : < & Credential as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CredentialsContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let credential = < & Credential as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( credential , & mut __stack ) ; __widl_f_store_CredentialsContainer ( self_ , credential , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `store()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/store)\n\n*This API requires the following crate features to be activated: `Credential`, `CredentialsContainer`*" ] pub fn store ( & self , credential : & Credential ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Crypto` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Crypto)\n\n*This API requires the following crate features to be activated: `Crypto`*" ] # [ repr ( transparent ) ] pub struct Crypto { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Crypto : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Crypto { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Crypto { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Crypto { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Crypto { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Crypto { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Crypto { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Crypto { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Crypto { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Crypto { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Crypto > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Crypto { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Crypto { # [ inline ] fn from ( obj : JsValue ) -> Crypto { Crypto { obj } } } impl AsRef < JsValue > for Crypto { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Crypto > for JsValue { # [ inline ] fn from ( obj : Crypto ) -> JsValue { obj . obj } } impl JsCast for Crypto { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Crypto ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Crypto ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Crypto { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Crypto ) } } } ( ) } ; impl core :: ops :: Deref for Crypto { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Crypto > for Object { # [ inline ] fn from ( obj : Crypto ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Crypto { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_random_values_with_array_buffer_view_Crypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Crypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl Crypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getRandomValues()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues)\n\n*This API requires the following crate features to be activated: `Crypto`*" ] pub fn get_random_values_with_array_buffer_view ( & self , array : & :: js_sys :: Object ) -> Result < :: js_sys :: Object , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_random_values_with_array_buffer_view_Crypto ( self_ : < & Crypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , array : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Crypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let array = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( array , & mut __stack ) ; __widl_f_get_random_values_with_array_buffer_view_Crypto ( self_ , array , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getRandomValues()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues)\n\n*This API requires the following crate features to be activated: `Crypto`*" ] pub fn get_random_values_with_array_buffer_view ( & self , array : & :: js_sys :: Object ) -> Result < :: js_sys :: Object , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_random_values_with_u8_array_Crypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Crypto as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl Crypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getRandomValues()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues)\n\n*This API requires the following crate features to be activated: `Crypto`*" ] pub fn get_random_values_with_u8_array ( & self , array : & mut [ u8 ] ) -> Result < :: js_sys :: Object , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_random_values_with_u8_array_Crypto ( self_ : < & Crypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , array : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Crypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let array = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( array , & mut __stack ) ; __widl_f_get_random_values_with_u8_array_Crypto ( self_ , array , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getRandomValues()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues)\n\n*This API requires the following crate features to be activated: `Crypto`*" ] pub fn get_random_values_with_u8_array ( & self , array : & mut [ u8 ] ) -> Result < :: js_sys :: Object , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_subtle_Crypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Crypto as WasmDescribe > :: describe ( ) ; < SubtleCrypto as WasmDescribe > :: describe ( ) ; } impl Crypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `subtle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/subtle)\n\n*This API requires the following crate features to be activated: `Crypto`, `SubtleCrypto`*" ] pub fn subtle ( & self , ) -> SubtleCrypto { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_subtle_Crypto ( self_ : < & Crypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SubtleCrypto as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Crypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_subtle_Crypto ( self_ ) } ; < SubtleCrypto as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `subtle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/subtle)\n\n*This API requires the following crate features to be activated: `Crypto`, `SubtleCrypto`*" ] pub fn subtle ( & self , ) -> SubtleCrypto { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CryptoKey` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CryptoKey)\n\n*This API requires the following crate features to be activated: `CryptoKey`*" ] # [ repr ( transparent ) ] pub struct CryptoKey { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CryptoKey : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CryptoKey { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CryptoKey { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CryptoKey { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CryptoKey { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CryptoKey { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CryptoKey { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CryptoKey { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CryptoKey { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CryptoKey { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CryptoKey > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CryptoKey { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CryptoKey { # [ inline ] fn from ( obj : JsValue ) -> CryptoKey { CryptoKey { obj } } } impl AsRef < JsValue > for CryptoKey { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CryptoKey > for JsValue { # [ inline ] fn from ( obj : CryptoKey ) -> JsValue { obj . obj } } impl JsCast for CryptoKey { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CryptoKey ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CryptoKey ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CryptoKey { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CryptoKey ) } } } ( ) } ; impl core :: ops :: Deref for CryptoKey { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < CryptoKey > for Object { # [ inline ] fn from ( obj : CryptoKey ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CryptoKey { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_CryptoKey ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl CryptoKey { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CryptoKey/type)\n\n*This API requires the following crate features to be activated: `CryptoKey`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_CryptoKey ( self_ : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_CryptoKey ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CryptoKey/type)\n\n*This API requires the following crate features to be activated: `CryptoKey`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_extractable_CryptoKey ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl CryptoKey { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `extractable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CryptoKey/extractable)\n\n*This API requires the following crate features to be activated: `CryptoKey`*" ] pub fn extractable ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_extractable_CryptoKey ( self_ : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_extractable_CryptoKey ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `extractable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CryptoKey/extractable)\n\n*This API requires the following crate features to be activated: `CryptoKey`*" ] pub fn extractable ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_algorithm_CryptoKey ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl CryptoKey { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `algorithm` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CryptoKey/algorithm)\n\n*This API requires the following crate features to be activated: `CryptoKey`*" ] pub fn algorithm ( & self , ) -> Result < :: js_sys :: Object , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_algorithm_CryptoKey ( self_ : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_algorithm_CryptoKey ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `algorithm` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CryptoKey/algorithm)\n\n*This API requires the following crate features to be activated: `CryptoKey`*" ] pub fn algorithm ( & self , ) -> Result < :: js_sys :: Object , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CustomElementRegistry` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry)\n\n*This API requires the following crate features to be activated: `CustomElementRegistry`*" ] # [ repr ( transparent ) ] pub struct CustomElementRegistry { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CustomElementRegistry : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CustomElementRegistry { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CustomElementRegistry { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CustomElementRegistry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CustomElementRegistry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CustomElementRegistry { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CustomElementRegistry { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CustomElementRegistry { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CustomElementRegistry { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CustomElementRegistry { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CustomElementRegistry > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CustomElementRegistry { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CustomElementRegistry { # [ inline ] fn from ( obj : JsValue ) -> CustomElementRegistry { CustomElementRegistry { obj } } } impl AsRef < JsValue > for CustomElementRegistry { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CustomElementRegistry > for JsValue { # [ inline ] fn from ( obj : CustomElementRegistry ) -> JsValue { obj . obj } } impl JsCast for CustomElementRegistry { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CustomElementRegistry ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CustomElementRegistry ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CustomElementRegistry { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CustomElementRegistry ) } } } ( ) } ; impl core :: ops :: Deref for CustomElementRegistry { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < CustomElementRegistry > for Object { # [ inline ] fn from ( obj : CustomElementRegistry ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CustomElementRegistry { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_define_CustomElementRegistry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CustomElementRegistry as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CustomElementRegistry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `define()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define)\n\n*This API requires the following crate features to be activated: `CustomElementRegistry`*" ] pub fn define ( & self , name : & str , function_constructor : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_define_CustomElementRegistry ( self_ : < & CustomElementRegistry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , function_constructor : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CustomElementRegistry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let function_constructor = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( function_constructor , & mut __stack ) ; __widl_f_define_CustomElementRegistry ( self_ , name , function_constructor , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `define()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define)\n\n*This API requires the following crate features to be activated: `CustomElementRegistry`*" ] pub fn define ( & self , name : & str , function_constructor : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_define_with_options_CustomElementRegistry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CustomElementRegistry as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & ElementDefinitionOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CustomElementRegistry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `define()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define)\n\n*This API requires the following crate features to be activated: `CustomElementRegistry`, `ElementDefinitionOptions`*" ] pub fn define_with_options ( & self , name : & str , function_constructor : & :: js_sys :: Function , options : & ElementDefinitionOptions ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_define_with_options_CustomElementRegistry ( self_ : < & CustomElementRegistry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , function_constructor : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ElementDefinitionOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CustomElementRegistry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let function_constructor = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( function_constructor , & mut __stack ) ; let options = < & ElementDefinitionOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_define_with_options_CustomElementRegistry ( self_ , name , function_constructor , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `define()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define)\n\n*This API requires the following crate features to be activated: `CustomElementRegistry`, `ElementDefinitionOptions`*" ] pub fn define_with_options ( & self , name : & str , function_constructor : & :: js_sys :: Function , options : & ElementDefinitionOptions ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_CustomElementRegistry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CustomElementRegistry as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl CustomElementRegistry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/get)\n\n*This API requires the following crate features to be activated: `CustomElementRegistry`*" ] pub fn get ( & self , name : & str ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_CustomElementRegistry ( self_ : < & CustomElementRegistry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CustomElementRegistry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_CustomElementRegistry ( self_ , name ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/get)\n\n*This API requires the following crate features to be activated: `CustomElementRegistry`*" ] pub fn get ( & self , name : & str ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_upgrade_CustomElementRegistry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CustomElementRegistry as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CustomElementRegistry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `upgrade()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/upgrade)\n\n*This API requires the following crate features to be activated: `CustomElementRegistry`, `Node`*" ] pub fn upgrade ( & self , root : & Node ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_upgrade_CustomElementRegistry ( self_ : < & CustomElementRegistry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , root : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CustomElementRegistry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let root = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( root , & mut __stack ) ; __widl_f_upgrade_CustomElementRegistry ( self_ , root ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `upgrade()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/upgrade)\n\n*This API requires the following crate features to be activated: `CustomElementRegistry`, `Node`*" ] pub fn upgrade ( & self , root : & Node ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_when_defined_CustomElementRegistry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CustomElementRegistry as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl CustomElementRegistry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `whenDefined()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/whenDefined)\n\n*This API requires the following crate features to be activated: `CustomElementRegistry`*" ] pub fn when_defined ( & self , name : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_when_defined_CustomElementRegistry ( self_ : < & CustomElementRegistry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CustomElementRegistry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_when_defined_CustomElementRegistry ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `whenDefined()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/whenDefined)\n\n*This API requires the following crate features to be activated: `CustomElementRegistry`*" ] pub fn when_defined ( & self , name : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `CustomEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent)\n\n*This API requires the following crate features to be activated: `CustomEvent`*" ] # [ repr ( transparent ) ] pub struct CustomEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_CustomEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for CustomEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for CustomEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for CustomEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a CustomEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for CustomEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { CustomEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for CustomEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a CustomEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for CustomEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < CustomEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( CustomEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for CustomEvent { # [ inline ] fn from ( obj : JsValue ) -> CustomEvent { CustomEvent { obj } } } impl AsRef < JsValue > for CustomEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < CustomEvent > for JsValue { # [ inline ] fn from ( obj : CustomEvent ) -> JsValue { obj . obj } } impl JsCast for CustomEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_CustomEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_CustomEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CustomEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CustomEvent ) } } } ( ) } ; impl core :: ops :: Deref for CustomEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < CustomEvent > for Event { # [ inline ] fn from ( obj : CustomEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for CustomEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < CustomEvent > for Object { # [ inline ] fn from ( obj : CustomEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for CustomEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_CustomEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < CustomEvent as WasmDescribe > :: describe ( ) ; } impl CustomEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new CustomEvent(..)` constructor, creating a new instance of `CustomEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent)\n\n*This API requires the following crate features to be activated: `CustomEvent`*" ] pub fn new ( type_ : & str ) -> Result < CustomEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_CustomEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < CustomEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_CustomEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < CustomEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new CustomEvent(..)` constructor, creating a new instance of `CustomEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent)\n\n*This API requires the following crate features to be activated: `CustomEvent`*" ] pub fn new ( type_ : & str ) -> Result < CustomEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_CustomEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & CustomEventInit as WasmDescribe > :: describe ( ) ; < CustomEvent as WasmDescribe > :: describe ( ) ; } impl CustomEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new CustomEvent(..)` constructor, creating a new instance of `CustomEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent)\n\n*This API requires the following crate features to be activated: `CustomEvent`, `CustomEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & CustomEventInit ) -> Result < CustomEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_CustomEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & CustomEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < CustomEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & CustomEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_CustomEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < CustomEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new CustomEvent(..)` constructor, creating a new instance of `CustomEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent)\n\n*This API requires the following crate features to be activated: `CustomEvent`, `CustomEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & CustomEventInit ) -> Result < CustomEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_custom_event_CustomEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & CustomEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CustomEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initCustomEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/initCustomEvent)\n\n*This API requires the following crate features to be activated: `CustomEvent`*" ] pub fn init_custom_event ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_custom_event_CustomEvent ( self_ : < & CustomEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CustomEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_init_custom_event_CustomEvent ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initCustomEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/initCustomEvent)\n\n*This API requires the following crate features to be activated: `CustomEvent`*" ] pub fn init_custom_event ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_custom_event_with_can_bubble_CustomEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & CustomEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CustomEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initCustomEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/initCustomEvent)\n\n*This API requires the following crate features to be activated: `CustomEvent`*" ] pub fn init_custom_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_custom_event_with_can_bubble_CustomEvent ( self_ : < & CustomEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CustomEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; __widl_f_init_custom_event_with_can_bubble_CustomEvent ( self_ , type_ , can_bubble ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initCustomEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/initCustomEvent)\n\n*This API requires the following crate features to be activated: `CustomEvent`*" ] pub fn init_custom_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_custom_event_with_can_bubble_and_cancelable_CustomEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & CustomEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CustomEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initCustomEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/initCustomEvent)\n\n*This API requires the following crate features to be activated: `CustomEvent`*" ] pub fn init_custom_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_custom_event_with_can_bubble_and_cancelable_CustomEvent ( self_ : < & CustomEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CustomEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; __widl_f_init_custom_event_with_can_bubble_and_cancelable_CustomEvent ( self_ , type_ , can_bubble , cancelable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initCustomEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/initCustomEvent)\n\n*This API requires the following crate features to be activated: `CustomEvent`*" ] pub fn init_custom_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_custom_event_with_can_bubble_and_cancelable_and_detail_CustomEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & CustomEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl CustomEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initCustomEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/initCustomEvent)\n\n*This API requires the following crate features to be activated: `CustomEvent`*" ] pub fn init_custom_event_with_can_bubble_and_cancelable_and_detail ( & self , type_ : & str , can_bubble : bool , cancelable : bool , detail : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_custom_event_with_can_bubble_and_cancelable_and_detail_CustomEvent ( self_ : < & CustomEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CustomEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let detail = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; __widl_f_init_custom_event_with_can_bubble_and_cancelable_and_detail_CustomEvent ( self_ , type_ , can_bubble , cancelable , detail ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initCustomEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/initCustomEvent)\n\n*This API requires the following crate features to be activated: `CustomEvent`*" ] pub fn init_custom_event_with_can_bubble_and_cancelable_and_detail ( & self , type_ : & str , can_bubble : bool , cancelable : bool , detail : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_detail_CustomEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & CustomEvent as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl CustomEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `detail` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/detail)\n\n*This API requires the following crate features to be activated: `CustomEvent`*" ] pub fn detail ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_detail_CustomEvent ( self_ : < & CustomEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & CustomEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_detail_CustomEvent ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `detail` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/detail)\n\n*This API requires the following crate features to be activated: `CustomEvent`*" ] pub fn detail ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMError` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError)\n\n*This API requires the following crate features to be activated: `DomError`*" ] # [ repr ( transparent ) ] pub struct DomError { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomError : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomError { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomError { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomError { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomError { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomError { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomError { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomError { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomError { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomError { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomError > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomError { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomError { # [ inline ] fn from ( obj : JsValue ) -> DomError { DomError { obj } } } impl AsRef < JsValue > for DomError { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomError > for JsValue { # [ inline ] fn from ( obj : DomError ) -> JsValue { obj . obj } } impl JsCast for DomError { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMError ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMError ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomError { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomError ) } } } ( ) } ; impl core :: ops :: Deref for DomError { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DomError > for Object { # [ inline ] fn from ( obj : DomError ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomError { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DOMError ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < DomError as WasmDescribe > :: describe ( ) ; } impl DomError { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMError(..)` constructor, creating a new instance of `DOMError`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError/DOMError)\n\n*This API requires the following crate features to be activated: `DomError`*" ] pub fn new ( name : & str ) -> Result < DomError , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DOMError ( name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomError as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_new_DOMError ( name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomError as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMError(..)` constructor, creating a new instance of `DOMError`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError/DOMError)\n\n*This API requires the following crate features to be activated: `DomError`*" ] pub fn new ( name : & str ) -> Result < DomError , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_message_DOMError ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < DomError as WasmDescribe > :: describe ( ) ; } impl DomError { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMError(..)` constructor, creating a new instance of `DOMError`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError/DOMError)\n\n*This API requires the following crate features to be activated: `DomError`*" ] pub fn new_with_message ( name : & str , message : & str ) -> Result < DomError , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_message_DOMError ( name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomError as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let message = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; __widl_f_new_with_message_DOMError ( name , message , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomError as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMError(..)` constructor, creating a new instance of `DOMError`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError/DOMError)\n\n*This API requires the following crate features to be activated: `DomError`*" ] pub fn new_with_message ( name : & str , message : & str ) -> Result < DomError , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_DOMError ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomError as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DomError { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError/name)\n\n*This API requires the following crate features to be activated: `DomError`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_DOMError ( self_ : < & DomError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_DOMError ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError/name)\n\n*This API requires the following crate features to be activated: `DomError`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_message_DOMError ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomError as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DomError { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError/message)\n\n*This API requires the following crate features to be activated: `DomError`*" ] pub fn message ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_message_DOMError ( self_ : < & DomError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_message_DOMError ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMError/message)\n\n*This API requires the following crate features to be activated: `DomError`*" ] pub fn message ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMException` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException)\n\n*This API requires the following crate features to be activated: `DomException`*" ] # [ repr ( transparent ) ] pub struct DomException { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomException : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomException { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomException { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomException { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomException { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomException { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomException { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomException { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomException { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomException { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomException > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomException { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomException { # [ inline ] fn from ( obj : JsValue ) -> DomException { DomException { obj } } } impl AsRef < JsValue > for DomException { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomException > for JsValue { # [ inline ] fn from ( obj : DomException ) -> JsValue { obj . obj } } impl JsCast for DomException { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMException ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMException ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomException { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomException ) } } } ( ) } ; impl core :: ops :: Deref for DomException { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DomException > for Object { # [ inline ] fn from ( obj : DomException ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomException { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DOMException ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DomException as WasmDescribe > :: describe ( ) ; } impl DomException { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMException(..)` constructor, creating a new instance of `DOMException`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/DOMException)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn new ( ) -> Result < DomException , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DOMException ( exn_data_ptr : * mut u32 ) -> < DomException as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_DOMException ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomException as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMException(..)` constructor, creating a new instance of `DOMException`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/DOMException)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn new ( ) -> Result < DomException , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_message_DOMException ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < DomException as WasmDescribe > :: describe ( ) ; } impl DomException { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMException(..)` constructor, creating a new instance of `DOMException`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/DOMException)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn new_with_message ( message : & str ) -> Result < DomException , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_message_DOMException ( message : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomException as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let message = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; __widl_f_new_with_message_DOMException ( message , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomException as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMException(..)` constructor, creating a new instance of `DOMException`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/DOMException)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn new_with_message ( message : & str ) -> Result < DomException , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_message_and_name_DOMException ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < DomException as WasmDescribe > :: describe ( ) ; } impl DomException { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMException(..)` constructor, creating a new instance of `DOMException`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/DOMException)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn new_with_message_and_name ( message : & str , name : & str ) -> Result < DomException , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_message_and_name_DOMException ( message : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomException as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let message = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_new_with_message_and_name_DOMException ( message , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomException as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMException(..)` constructor, creating a new instance of `DOMException`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/DOMException)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn new_with_message_and_name ( message : & str , name : & str ) -> Result < DomException , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_DOMException ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomException as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DomException { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/name)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_DOMException ( self_ : < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_DOMException ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/name)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_message_DOMException ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomException as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DomException { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/message)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn message ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_message_DOMException ( self_ : < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_message_DOMException ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/message)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn message ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_code_DOMException ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomException as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl DomException { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `code` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/code)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn code ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_code_DOMException ( self_ : < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_code_DOMException ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `code` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/code)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn code ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_DOMException ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomException as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl DomException { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/result)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn result ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_DOMException ( self_ : < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_DOMException ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/result)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn result ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_filename_DOMException ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomException as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DomException { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `filename` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/filename)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn filename ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_filename_DOMException ( self_ : < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_filename_DOMException ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `filename` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/filename)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn filename ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_line_number_DOMException ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomException as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl DomException { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineNumber` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/lineNumber)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn line_number ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_line_number_DOMException ( self_ : < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_line_number_DOMException ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineNumber` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/lineNumber)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn line_number ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_column_number_DOMException ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomException as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl DomException { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `columnNumber` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/columnNumber)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn column_number ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_column_number_DOMException ( self_ : < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_column_number_DOMException ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `columnNumber` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/columnNumber)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn column_number ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_data_DOMException ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomException as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl DomException { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/data)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn data ( & self , ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_data_DOMException ( self_ : < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_data_DOMException ( self_ ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/data)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn data ( & self , ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stack_DOMException ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomException as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DomException { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/stack)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn stack ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stack_DOMException ( self_ : < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomException as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stack_DOMException ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMException/stack)\n\n*This API requires the following crate features to be activated: `DomException`*" ] pub fn stack ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMImplementation` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation)\n\n*This API requires the following crate features to be activated: `DomImplementation`*" ] # [ repr ( transparent ) ] pub struct DomImplementation { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomImplementation : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomImplementation { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomImplementation { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomImplementation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomImplementation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomImplementation { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomImplementation { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomImplementation { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomImplementation { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomImplementation { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomImplementation > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomImplementation { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomImplementation { # [ inline ] fn from ( obj : JsValue ) -> DomImplementation { DomImplementation { obj } } } impl AsRef < JsValue > for DomImplementation { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomImplementation > for JsValue { # [ inline ] fn from ( obj : DomImplementation ) -> JsValue { obj . obj } } impl JsCast for DomImplementation { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMImplementation ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMImplementation ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomImplementation { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomImplementation ) } } } ( ) } ; impl core :: ops :: Deref for DomImplementation { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DomImplementation > for Object { # [ inline ] fn from ( obj : DomImplementation ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomImplementation { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_document_DOMImplementation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomImplementation as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Document as WasmDescribe > :: describe ( ) ; } impl DomImplementation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument)\n\n*This API requires the following crate features to be activated: `Document`, `DomImplementation`*" ] pub fn create_document ( & self , namespace : Option < & str > , qualified_name : & str ) -> Result < Document , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_document_DOMImplementation ( self_ : < & DomImplementation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , qualified_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomImplementation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; let qualified_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( qualified_name , & mut __stack ) ; __widl_f_create_document_DOMImplementation ( self_ , namespace , qualified_name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument)\n\n*This API requires the following crate features to be activated: `Document`, `DomImplementation`*" ] pub fn create_document ( & self , namespace : Option < & str > , qualified_name : & str ) -> Result < Document , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_document_with_doctype_DOMImplementation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomImplementation as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & DocumentType > as WasmDescribe > :: describe ( ) ; < Document as WasmDescribe > :: describe ( ) ; } impl DomImplementation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument)\n\n*This API requires the following crate features to be activated: `Document`, `DocumentType`, `DomImplementation`*" ] pub fn create_document_with_doctype ( & self , namespace : Option < & str > , qualified_name : & str , doctype : Option < & DocumentType > ) -> Result < Document , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_document_with_doctype_DOMImplementation ( self_ : < & DomImplementation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , qualified_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , doctype : < Option < & DocumentType > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomImplementation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; let qualified_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( qualified_name , & mut __stack ) ; let doctype = < Option < & DocumentType > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( doctype , & mut __stack ) ; __widl_f_create_document_with_doctype_DOMImplementation ( self_ , namespace , qualified_name , doctype , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument)\n\n*This API requires the following crate features to be activated: `Document`, `DocumentType`, `DomImplementation`*" ] pub fn create_document_with_doctype ( & self , namespace : Option < & str > , qualified_name : & str , doctype : Option < & DocumentType > ) -> Result < Document , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_document_type_DOMImplementation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomImplementation as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < DocumentType as WasmDescribe > :: describe ( ) ; } impl DomImplementation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDocumentType()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType)\n\n*This API requires the following crate features to be activated: `DocumentType`, `DomImplementation`*" ] pub fn create_document_type ( & self , qualified_name : & str , public_id : & str , system_id : & str ) -> Result < DocumentType , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_document_type_DOMImplementation ( self_ : < & DomImplementation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , qualified_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , public_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , system_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DocumentType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomImplementation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let qualified_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( qualified_name , & mut __stack ) ; let public_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( public_id , & mut __stack ) ; let system_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( system_id , & mut __stack ) ; __widl_f_create_document_type_DOMImplementation ( self_ , qualified_name , public_id , system_id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DocumentType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDocumentType()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType)\n\n*This API requires the following crate features to be activated: `DocumentType`, `DomImplementation`*" ] pub fn create_document_type ( & self , qualified_name : & str , public_id : & str , system_id : & str ) -> Result < DocumentType , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_html_document_DOMImplementation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomImplementation as WasmDescribe > :: describe ( ) ; < Document as WasmDescribe > :: describe ( ) ; } impl DomImplementation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createHTMLDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createHTMLDocument)\n\n*This API requires the following crate features to be activated: `Document`, `DomImplementation`*" ] pub fn create_html_document ( & self , ) -> Result < Document , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_html_document_DOMImplementation ( self_ : < & DomImplementation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomImplementation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_html_document_DOMImplementation ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createHTMLDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createHTMLDocument)\n\n*This API requires the following crate features to be activated: `Document`, `DomImplementation`*" ] pub fn create_html_document ( & self , ) -> Result < Document , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_html_document_with_title_DOMImplementation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomImplementation as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Document as WasmDescribe > :: describe ( ) ; } impl DomImplementation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createHTMLDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createHTMLDocument)\n\n*This API requires the following crate features to be activated: `Document`, `DomImplementation`*" ] pub fn create_html_document_with_title ( & self , title : & str ) -> Result < Document , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_html_document_with_title_DOMImplementation ( self_ : < & DomImplementation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomImplementation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; __widl_f_create_html_document_with_title_DOMImplementation ( self_ , title , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createHTMLDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createHTMLDocument)\n\n*This API requires the following crate features to be activated: `Document`, `DomImplementation`*" ] pub fn create_html_document_with_title ( & self , title : & str ) -> Result < Document , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_feature_DOMImplementation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomImplementation as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl DomImplementation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasFeature()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/hasFeature)\n\n*This API requires the following crate features to be activated: `DomImplementation`*" ] pub fn has_feature ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_feature_DOMImplementation ( self_ : < & DomImplementation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomImplementation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_has_feature_DOMImplementation ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasFeature()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/hasFeature)\n\n*This API requires the following crate features to be activated: `DomImplementation`*" ] pub fn has_feature ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMMatrix` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] # [ repr ( transparent ) ] pub struct DomMatrix { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomMatrix : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomMatrix { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomMatrix { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomMatrix { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomMatrix { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomMatrix { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomMatrix { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomMatrix { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomMatrix { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomMatrix { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomMatrix > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomMatrix { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomMatrix { # [ inline ] fn from ( obj : JsValue ) -> DomMatrix { DomMatrix { obj } } } impl AsRef < JsValue > for DomMatrix { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomMatrix > for JsValue { # [ inline ] fn from ( obj : DomMatrix ) -> JsValue { obj . obj } } impl JsCast for DomMatrix { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMMatrix ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMMatrix ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomMatrix { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomMatrix ) } } } ( ) } ; impl core :: ops :: Deref for DomMatrix { type Target = DomMatrixReadOnly ; # [ inline ] fn deref ( & self ) -> & DomMatrixReadOnly { self . as_ref ( ) } } impl From < DomMatrix > for DomMatrixReadOnly { # [ inline ] fn from ( obj : DomMatrix ) -> DomMatrixReadOnly { use wasm_bindgen :: JsCast ; DomMatrixReadOnly :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < DomMatrixReadOnly > for DomMatrix { # [ inline ] fn as_ref ( & self ) -> & DomMatrixReadOnly { use wasm_bindgen :: JsCast ; DomMatrixReadOnly :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DomMatrix > for Object { # [ inline ] fn from ( obj : DomMatrix ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomMatrix { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMMatrix(..)` constructor, creating a new instance of `DOMMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn new ( ) -> Result < DomMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DOMMatrix ( exn_data_ptr : * mut u32 ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_DOMMatrix ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMMatrix(..)` constructor, creating a new instance of `DOMMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn new ( ) -> Result < DomMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_transform_list_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMMatrix(..)` constructor, creating a new instance of `DOMMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn new_with_transform_list ( transform_list : & str ) -> Result < DomMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_transform_list_DOMMatrix ( transform_list : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let transform_list = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transform_list , & mut __stack ) ; __widl_f_new_with_transform_list_DOMMatrix ( transform_list , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMMatrix(..)` constructor, creating a new instance of `DOMMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn new_with_transform_list ( transform_list : & str ) -> Result < DomMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_other_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMMatrix(..)` constructor, creating a new instance of `DOMMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn new_with_other ( other : & DomMatrixReadOnly ) -> Result < DomMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_other_DOMMatrix ( other : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let other = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( other , & mut __stack ) ; __widl_f_new_with_other_DOMMatrix ( other , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMMatrix(..)` constructor, creating a new instance of `DOMMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn new_with_other ( other : & DomMatrixReadOnly ) -> Result < DomMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_array32_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMMatrix(..)` constructor, creating a new instance of `DOMMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn new_with_array32 ( array32 : & mut [ f32 ] ) -> Result < DomMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_array32_DOMMatrix ( array32 : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let array32 = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( array32 , & mut __stack ) ; __widl_f_new_with_array32_DOMMatrix ( array32 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMMatrix(..)` constructor, creating a new instance of `DOMMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn new_with_array32 ( array32 : & mut [ f32 ] ) -> Result < DomMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_array64_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & mut [ f64 ] as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMMatrix(..)` constructor, creating a new instance of `DOMMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn new_with_array64 ( array64 : & mut [ f64 ] ) -> Result < DomMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_array64_DOMMatrix ( array64 : < & mut [ f64 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let array64 = < & mut [ f64 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( array64 , & mut __stack ) ; __widl_f_new_with_array64_DOMMatrix ( array64 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMMatrix(..)` constructor, creating a new instance of `DOMMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn new_with_array64 ( array64 : & mut [ f64 ] ) -> Result < DomMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_invert_self_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `invertSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/invertSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn invert_self ( & self , ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_invert_self_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_invert_self_DOMMatrix ( self_ ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `invertSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/invertSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn invert_self ( & self , ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_multiply_self_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `multiplySelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/multiplySelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn multiply_self ( & self , other : & DomMatrix ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_multiply_self_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , other : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let other = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( other , & mut __stack ) ; __widl_f_multiply_self_DOMMatrix ( self_ , other ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `multiplySelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/multiplySelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn multiply_self ( & self , other : & DomMatrix ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pre_multiply_self_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preMultiplySelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/preMultiplySelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn pre_multiply_self ( & self , other : & DomMatrix ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pre_multiply_self_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , other : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let other = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( other , & mut __stack ) ; __widl_f_pre_multiply_self_DOMMatrix ( self_ , other ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preMultiplySelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/preMultiplySelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn pre_multiply_self ( & self , other : & DomMatrix ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_axis_angle_self_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotateAxisAngleSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateAxisAngleSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn rotate_axis_angle_self ( & self , x : f64 , y : f64 , z : f64 , angle : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_axis_angle_self_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; __widl_f_rotate_axis_angle_self_DOMMatrix ( self_ , x , y , z , angle ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotateAxisAngleSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateAxisAngleSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn rotate_axis_angle_self ( & self , x : f64 , y : f64 , z : f64 , angle : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_from_vector_self_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotateFromVectorSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateFromVectorSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn rotate_from_vector_self ( & self , x : f64 , y : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_from_vector_self_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_rotate_from_vector_self_DOMMatrix ( self_ , x , y ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotateFromVectorSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateFromVectorSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn rotate_from_vector_self ( & self , x : f64 , y : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_self_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotateSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn rotate_self ( & self , angle : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_self_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; __widl_f_rotate_self_DOMMatrix ( self_ , angle ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotateSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn rotate_self ( & self , angle : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_self_with_origin_x_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotateSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn rotate_self_with_origin_x ( & self , angle : f64 , origin_x : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_self_with_origin_x_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; __widl_f_rotate_self_with_origin_x_DOMMatrix ( self_ , angle , origin_x ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotateSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn rotate_self_with_origin_x ( & self , angle : f64 , origin_x : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_self_with_origin_x_and_origin_y_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotateSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn rotate_self_with_origin_x_and_origin_y ( & self , angle : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_self_with_origin_x_and_origin_y_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; let origin_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_y , & mut __stack ) ; __widl_f_rotate_self_with_origin_x_and_origin_y_DOMMatrix ( self_ , angle , origin_x , origin_y ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotateSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn rotate_self_with_origin_x_and_origin_y ( & self , angle : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale3d_self_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale3dSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale3d_self ( & self , scale : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale3d_self_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; __widl_f_scale3d_self_DOMMatrix ( self_ , scale ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale3dSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale3d_self ( & self , scale : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale3d_self_with_origin_x_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale3dSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale3d_self_with_origin_x ( & self , scale : f64 , origin_x : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale3d_self_with_origin_x_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; __widl_f_scale3d_self_with_origin_x_DOMMatrix ( self_ , scale , origin_x ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale3dSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale3d_self_with_origin_x ( & self , scale : f64 , origin_x : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale3d_self_with_origin_x_and_origin_y_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale3dSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale3d_self_with_origin_x_and_origin_y ( & self , scale : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale3d_self_with_origin_x_and_origin_y_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; let origin_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_y , & mut __stack ) ; __widl_f_scale3d_self_with_origin_x_and_origin_y_DOMMatrix ( self_ , scale , origin_x , origin_y ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale3dSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale3d_self_with_origin_x_and_origin_y ( & self , scale : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale3d_self_with_origin_x_and_origin_y_and_origin_z_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale3dSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale3d_self_with_origin_x_and_origin_y_and_origin_z ( & self , scale : f64 , origin_x : f64 , origin_y : f64 , origin_z : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale3d_self_with_origin_x_and_origin_y_and_origin_z_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; let origin_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_y , & mut __stack ) ; let origin_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_z , & mut __stack ) ; __widl_f_scale3d_self_with_origin_x_and_origin_y_and_origin_z_DOMMatrix ( self_ , scale , origin_x , origin_y , origin_z ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale3dSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale3d_self_with_origin_x_and_origin_y_and_origin_z ( & self , scale : f64 , origin_x : f64 , origin_y : f64 , origin_z : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_non_uniform_self_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleNonUniformSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_non_uniform_self ( & self , scale_x : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_non_uniform_self_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; __widl_f_scale_non_uniform_self_DOMMatrix ( self_ , scale_x ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleNonUniformSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_non_uniform_self ( & self , scale_x : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_non_uniform_self_with_scale_y_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleNonUniformSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_non_uniform_self_with_scale_y ( & self , scale_x : f64 , scale_y : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_non_uniform_self_with_scale_y_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; let scale_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_y , & mut __stack ) ; __widl_f_scale_non_uniform_self_with_scale_y_DOMMatrix ( self_ , scale_x , scale_y ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleNonUniformSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_non_uniform_self_with_scale_y ( & self , scale_x : f64 , scale_y : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleNonUniformSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_non_uniform_self_with_scale_y_and_scale_z ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; let scale_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_y , & mut __stack ) ; let scale_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_z , & mut __stack ) ; __widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_DOMMatrix ( self_ , scale_x , scale_y , scale_z ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleNonUniformSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_non_uniform_self_with_scale_y_and_scale_z ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleNonUniformSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 , origin_x : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; let scale_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_y , & mut __stack ) ; let scale_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_z , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; __widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_DOMMatrix ( self_ , scale_x , scale_y , scale_z , origin_x ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleNonUniformSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 , origin_x : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleNonUniformSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; let scale_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_y , & mut __stack ) ; let scale_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_z , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; let origin_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_y , & mut __stack ) ; __widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_DOMMatrix ( self_ , scale_x , scale_y , scale_z , origin_x , origin_y ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleNonUniformSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleNonUniformSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 , origin_x : f64 , origin_y : f64 , origin_z : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; let scale_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_y , & mut __stack ) ; let scale_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_z , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; let origin_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_y , & mut __stack ) ; let origin_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_z , & mut __stack ) ; __widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z_DOMMatrix ( self_ , scale_x , scale_y , scale_z , origin_x , origin_y , origin_z ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleNonUniformSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 , origin_x : f64 , origin_y : f64 , origin_z : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_self_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_self ( & self , scale : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_self_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; __widl_f_scale_self_DOMMatrix ( self_ , scale ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_self ( & self , scale : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_self_with_origin_x_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_self_with_origin_x ( & self , scale : f64 , origin_x : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_self_with_origin_x_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; __widl_f_scale_self_with_origin_x_DOMMatrix ( self_ , scale , origin_x ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_self_with_origin_x ( & self , scale : f64 , origin_x : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_self_with_origin_x_and_origin_y_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_self_with_origin_x_and_origin_y ( & self , scale : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_self_with_origin_x_and_origin_y_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; let origin_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_y , & mut __stack ) ; __widl_f_scale_self_with_origin_x_and_origin_y_DOMMatrix ( self_ , scale , origin_x , origin_y ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn scale_self_with_origin_x_and_origin_y ( & self , scale : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_matrix_value_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setMatrixValue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/setMatrixValue)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_matrix_value ( & self , transform_list : & str ) -> Result < DomMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_matrix_value_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transform_list : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let transform_list = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transform_list , & mut __stack ) ; __widl_f_set_matrix_value_DOMMatrix ( self_ , transform_list , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setMatrixValue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/setMatrixValue)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_matrix_value ( & self , transform_list : & str ) -> Result < DomMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_skew_x_self_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `skewXSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/skewXSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn skew_x_self ( & self , sx : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_skew_x_self_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sx , & mut __stack ) ; __widl_f_skew_x_self_DOMMatrix ( self_ , sx ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `skewXSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/skewXSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn skew_x_self ( & self , sx : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_skew_y_self_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `skewYSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/skewYSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn skew_y_self ( & self , sy : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_skew_y_self_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sy , & mut __stack ) ; __widl_f_skew_y_self_DOMMatrix ( self_ , sy ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `skewYSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/skewYSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn skew_y_self ( & self , sy : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_translate_self_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `translateSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/translateSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn translate_self ( & self , tx : f64 , ty : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_translate_self_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ty : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tx , & mut __stack ) ; let ty = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ty , & mut __stack ) ; __widl_f_translate_self_DOMMatrix ( self_ , tx , ty ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `translateSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/translateSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn translate_self ( & self , tx : f64 , ty : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_translate_self_with_tz_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `translateSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/translateSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn translate_self_with_tz ( & self , tx : f64 , ty : f64 , tz : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_translate_self_with_tz_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ty : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tz : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tx , & mut __stack ) ; let ty = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ty , & mut __stack ) ; let tz = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tz , & mut __stack ) ; __widl_f_translate_self_with_tz_DOMMatrix ( self_ , tx , ty , tz ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `translateSelf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/translateSelf)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn translate_self_with_tz ( & self , tx : f64 , ty : f64 , tz : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_a_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `a` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/a)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn a ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_a_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_a_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `a` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/a)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn a ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_a_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `a` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/a)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_a ( & self , a : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_a_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a , & mut __stack ) ; __widl_f_set_a_DOMMatrix ( self_ , a ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `a` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/a)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_a ( & self , a : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_b_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `b` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/b)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn b ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_b_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_b_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `b` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/b)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn b ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_b_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `b` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/b)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_b ( & self , b : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_b_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , b : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let b = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( b , & mut __stack ) ; __widl_f_set_b_DOMMatrix ( self_ , b ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `b` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/b)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_b ( & self , b : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_c_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `c` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/c)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn c ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_c_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_c_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `c` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/c)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn c ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_c_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `c` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/c)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_c ( & self , c : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_c_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , c : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let c = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( c , & mut __stack ) ; __widl_f_set_c_DOMMatrix ( self_ , c ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `c` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/c)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_c ( & self , c : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_d_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `d` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/d)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn d ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_d_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_d_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `d` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/d)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn d ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_d_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `d` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/d)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_d ( & self , d : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_d_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , d : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let d = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( d , & mut __stack ) ; __widl_f_set_d_DOMMatrix ( self_ , d ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `d` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/d)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_d ( & self , d : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_e_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `e` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/e)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn e ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_e_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_e_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `e` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/e)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn e ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_e_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `e` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/e)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_e ( & self , e : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_e_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , e : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let e = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( e , & mut __stack ) ; __widl_f_set_e_DOMMatrix ( self_ , e ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `e` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/e)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_e ( & self , e : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_f_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `f` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/f)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn f ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_f_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_f_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `f` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/f)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn f ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_f_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `f` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/f)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_f ( & self , f : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_f_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , f : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let f = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( f , & mut __stack ) ; __widl_f_set_f_DOMMatrix ( self_ , f ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `f` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/f)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_f ( & self , f : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m11_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m11` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m11)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m11 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m11_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m11_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m11` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m11)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m11 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m11_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m11` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m11)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m11 ( & self , m11 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m11_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m11 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m11 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m11 , & mut __stack ) ; __widl_f_set_m11_DOMMatrix ( self_ , m11 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m11` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m11)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m11 ( & self , m11 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m12_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m12` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m12)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m12 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m12_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m12_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m12` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m12)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m12 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m12_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m12` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m12)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m12 ( & self , m12 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m12_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m12 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m12 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m12 , & mut __stack ) ; __widl_f_set_m12_DOMMatrix ( self_ , m12 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m12` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m12)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m12 ( & self , m12 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m13_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m13` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m13)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m13 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m13_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m13_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m13` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m13)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m13 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m13_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m13` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m13)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m13 ( & self , m13 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m13_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m13 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m13 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m13 , & mut __stack ) ; __widl_f_set_m13_DOMMatrix ( self_ , m13 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m13` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m13)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m13 ( & self , m13 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m14_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m14` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m14)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m14 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m14_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m14_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m14` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m14)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m14 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m14_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m14` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m14)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m14 ( & self , m14 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m14_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m14 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m14 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m14 , & mut __stack ) ; __widl_f_set_m14_DOMMatrix ( self_ , m14 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m14` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m14)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m14 ( & self , m14 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m21_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m21` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m21)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m21 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m21_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m21_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m21` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m21)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m21 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m21_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m21` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m21)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m21 ( & self , m21 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m21_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m21 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m21 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m21 , & mut __stack ) ; __widl_f_set_m21_DOMMatrix ( self_ , m21 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m21` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m21)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m21 ( & self , m21 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m22_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m22` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m22)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m22 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m22_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m22_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m22` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m22)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m22 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m22_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m22` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m22)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m22 ( & self , m22 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m22_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m22 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m22 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m22 , & mut __stack ) ; __widl_f_set_m22_DOMMatrix ( self_ , m22 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m22` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m22)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m22 ( & self , m22 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m23_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m23` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m23)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m23 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m23_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m23_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m23` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m23)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m23 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m23_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m23` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m23)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m23 ( & self , m23 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m23_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m23 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m23 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m23 , & mut __stack ) ; __widl_f_set_m23_DOMMatrix ( self_ , m23 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m23` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m23)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m23 ( & self , m23 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m24_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m24` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m24)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m24 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m24_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m24_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m24` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m24)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m24 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m24_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m24` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m24)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m24 ( & self , m24 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m24_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m24 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m24 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m24 , & mut __stack ) ; __widl_f_set_m24_DOMMatrix ( self_ , m24 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m24` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m24)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m24 ( & self , m24 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m31_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m31` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m31)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m31 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m31_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m31_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m31` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m31)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m31 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m31_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m31` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m31)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m31 ( & self , m31 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m31_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m31 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m31 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m31 , & mut __stack ) ; __widl_f_set_m31_DOMMatrix ( self_ , m31 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m31` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m31)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m31 ( & self , m31 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m32_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m32` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m32)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m32 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m32_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m32_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m32` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m32)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m32 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m32_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m32` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m32)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m32 ( & self , m32 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m32_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m32 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m32 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m32 , & mut __stack ) ; __widl_f_set_m32_DOMMatrix ( self_ , m32 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m32` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m32)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m32 ( & self , m32 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m33_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m33` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m33)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m33 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m33_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m33_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m33` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m33)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m33 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m33_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m33` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m33)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m33 ( & self , m33 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m33_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m33 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m33 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m33 , & mut __stack ) ; __widl_f_set_m33_DOMMatrix ( self_ , m33 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m33` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m33)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m33 ( & self , m33 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m34_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m34` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m34)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m34 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m34_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m34_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m34` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m34)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m34 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m34_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m34` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m34)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m34 ( & self , m34 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m34_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m34 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m34 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m34 , & mut __stack ) ; __widl_f_set_m34_DOMMatrix ( self_ , m34 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m34` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m34)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m34 ( & self , m34 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m41_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m41` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m41)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m41 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m41_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m41_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m41` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m41)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m41 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m41_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m41` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m41)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m41 ( & self , m41 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m41_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m41 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m41 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m41 , & mut __stack ) ; __widl_f_set_m41_DOMMatrix ( self_ , m41 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m41` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m41)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m41 ( & self , m41 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m42_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m42` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m42)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m42 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m42_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m42_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m42` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m42)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m42 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m42_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m42` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m42)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m42 ( & self , m42 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m42_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m42 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m42 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m42 , & mut __stack ) ; __widl_f_set_m42_DOMMatrix ( self_ , m42 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m42` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m42)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m42 ( & self , m42 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m43_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m43` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m43)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m43 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m43_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m43_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m43` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m43)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m43 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m43_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m43` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m43)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m43 ( & self , m43 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m43_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m43 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m43 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m43 , & mut __stack ) ; __widl_f_set_m43_DOMMatrix ( self_ , m43 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m43` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m43)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m43 ( & self , m43 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m44_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m44` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m44)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m44 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m44_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m44_DOMMatrix ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m44` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m44)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn m44 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_m44_DOMMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m44` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m44)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m44 ( & self , m44 : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_m44_DOMMatrix ( self_ : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , m44 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let m44 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( m44 , & mut __stack ) ; __widl_f_set_m44_DOMMatrix ( self_ , m44 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m44` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m44)\n\n*This API requires the following crate features to be activated: `DomMatrix`*" ] pub fn set_m44 ( & self , m44 : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMMatrixReadOnly` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] # [ repr ( transparent ) ] pub struct DomMatrixReadOnly { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomMatrixReadOnly : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomMatrixReadOnly { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomMatrixReadOnly { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomMatrixReadOnly { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomMatrixReadOnly { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomMatrixReadOnly { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomMatrixReadOnly { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomMatrixReadOnly { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomMatrixReadOnly { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomMatrixReadOnly { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomMatrixReadOnly > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomMatrixReadOnly { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomMatrixReadOnly { # [ inline ] fn from ( obj : JsValue ) -> DomMatrixReadOnly { DomMatrixReadOnly { obj } } } impl AsRef < JsValue > for DomMatrixReadOnly { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomMatrixReadOnly > for JsValue { # [ inline ] fn from ( obj : DomMatrixReadOnly ) -> JsValue { obj . obj } } impl JsCast for DomMatrixReadOnly { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMMatrixReadOnly ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMMatrixReadOnly ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomMatrixReadOnly { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomMatrixReadOnly ) } } } ( ) } ; impl core :: ops :: Deref for DomMatrixReadOnly { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DomMatrixReadOnly > for Object { # [ inline ] fn from ( obj : DomMatrixReadOnly ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomMatrixReadOnly { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMMatrixReadOnly(..)` constructor, creating a new instance of `DOMMatrixReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/DOMMatrixReadOnly)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn new ( ) -> Result < DomMatrixReadOnly , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DOMMatrixReadOnly ( exn_data_ptr : * mut u32 ) -> < DomMatrixReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_DOMMatrixReadOnly ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomMatrixReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMMatrixReadOnly(..)` constructor, creating a new instance of `DOMMatrixReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/DOMMatrixReadOnly)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn new ( ) -> Result < DomMatrixReadOnly , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_str_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMMatrixReadOnly(..)` constructor, creating a new instance of `DOMMatrixReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/DOMMatrixReadOnly)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn new_with_str ( init : & str ) -> Result < DomMatrixReadOnly , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_str_DOMMatrixReadOnly ( init : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomMatrixReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let init = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_new_with_str_DOMMatrixReadOnly ( init , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomMatrixReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMMatrixReadOnly(..)` constructor, creating a new instance of `DOMMatrixReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/DOMMatrixReadOnly)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn new_with_str ( init : & str ) -> Result < DomMatrixReadOnly , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_flip_x_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `flipX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/flipX)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn flip_x ( & self , ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_flip_x_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_flip_x_DOMMatrixReadOnly ( self_ ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `flipX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/flipX)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn flip_x ( & self , ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_flip_y_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `flipY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/flipY)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn flip_y ( & self , ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_flip_y_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_flip_y_DOMMatrixReadOnly ( self_ ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `flipY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/flipY)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn flip_y ( & self , ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_inverse_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `inverse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/inverse)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn inverse ( & self , ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_inverse_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_inverse_DOMMatrixReadOnly ( self_ ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `inverse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/inverse)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn inverse ( & self , ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_multiply_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < & DomMatrix as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `multiply()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/multiply)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn multiply ( & self , other : & DomMatrix ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_multiply_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , other : < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let other = < & DomMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( other , & mut __stack ) ; __widl_f_multiply_DOMMatrixReadOnly ( self_ , other ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `multiply()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/multiply)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn multiply ( & self , other : & DomMatrix ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotate)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn rotate ( & self , angle : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; __widl_f_rotate_DOMMatrixReadOnly ( self_ , angle ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotate)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn rotate ( & self , angle : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_with_origin_x_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotate)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn rotate_with_origin_x ( & self , angle : f64 , origin_x : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_with_origin_x_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; __widl_f_rotate_with_origin_x_DOMMatrixReadOnly ( self_ , angle , origin_x ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotate)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn rotate_with_origin_x ( & self , angle : f64 , origin_x : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_with_origin_x_and_origin_y_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotate)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn rotate_with_origin_x_and_origin_y ( & self , angle : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_with_origin_x_and_origin_y_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; let origin_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_y , & mut __stack ) ; __widl_f_rotate_with_origin_x_and_origin_y_DOMMatrixReadOnly ( self_ , angle , origin_x , origin_y ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotate)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn rotate_with_origin_x_and_origin_y ( & self , angle : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_axis_angle_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotateAxisAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn rotate_axis_angle ( & self , x : f64 , y : f64 , z : f64 , angle : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_axis_angle_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; __widl_f_rotate_axis_angle_DOMMatrixReadOnly ( self_ , x , y , z , angle ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotateAxisAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn rotate_axis_angle ( & self , x : f64 , y : f64 , z : f64 , angle : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_from_vector_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotateFromVector()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotateFromVector)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn rotate_from_vector ( & self , x : f64 , y : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_from_vector_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_rotate_from_vector_DOMMatrixReadOnly ( self_ , x , y ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotateFromVector()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotateFromVector)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn rotate_from_vector ( & self , x : f64 , y : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale ( & self , scale : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; __widl_f_scale_DOMMatrixReadOnly ( self_ , scale ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale ( & self , scale : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_with_origin_x_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_with_origin_x ( & self , scale : f64 , origin_x : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_with_origin_x_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; __widl_f_scale_with_origin_x_DOMMatrixReadOnly ( self_ , scale , origin_x ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_with_origin_x ( & self , scale : f64 , origin_x : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_with_origin_x_and_origin_y_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_with_origin_x_and_origin_y ( & self , scale : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_with_origin_x_and_origin_y_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; let origin_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_y , & mut __stack ) ; __widl_f_scale_with_origin_x_and_origin_y_DOMMatrixReadOnly ( self_ , scale , origin_x , origin_y ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_with_origin_x_and_origin_y ( & self , scale : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale3d_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale3d()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale3d ( & self , scale : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale3d_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; __widl_f_scale3d_DOMMatrixReadOnly ( self_ , scale ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale3d()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale3d ( & self , scale : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale3d_with_origin_x_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale3d()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale3d_with_origin_x ( & self , scale : f64 , origin_x : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale3d_with_origin_x_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; __widl_f_scale3d_with_origin_x_DOMMatrixReadOnly ( self_ , scale , origin_x ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale3d()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale3d_with_origin_x ( & self , scale : f64 , origin_x : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale3d_with_origin_x_and_origin_y_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale3d()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale3d_with_origin_x_and_origin_y ( & self , scale : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale3d_with_origin_x_and_origin_y_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; let origin_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_y , & mut __stack ) ; __widl_f_scale3d_with_origin_x_and_origin_y_DOMMatrixReadOnly ( self_ , scale , origin_x , origin_y ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale3d()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale3d_with_origin_x_and_origin_y ( & self , scale : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale3d_with_origin_x_and_origin_y_and_origin_z_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale3d()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale3d_with_origin_x_and_origin_y_and_origin_z ( & self , scale : f64 , origin_x : f64 , origin_y : f64 , origin_z : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale3d_with_origin_x_and_origin_y_and_origin_z_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; let origin_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_y , & mut __stack ) ; let origin_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_z , & mut __stack ) ; __widl_f_scale3d_with_origin_x_and_origin_y_and_origin_z_DOMMatrixReadOnly ( self_ , scale , origin_x , origin_y , origin_z ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale3d()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale3d_with_origin_x_and_origin_y_and_origin_z ( & self , scale : f64 , origin_x : f64 , origin_y : f64 , origin_z : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_non_uniform_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_non_uniform ( & self , scale_x : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_non_uniform_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; __widl_f_scale_non_uniform_DOMMatrixReadOnly ( self_ , scale_x ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_non_uniform ( & self , scale_x : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_non_uniform_with_scale_y_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_non_uniform_with_scale_y ( & self , scale_x : f64 , scale_y : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_non_uniform_with_scale_y_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; let scale_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_y , & mut __stack ) ; __widl_f_scale_non_uniform_with_scale_y_DOMMatrixReadOnly ( self_ , scale_x , scale_y ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_non_uniform_with_scale_y ( & self , scale_x : f64 , scale_y : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_non_uniform_with_scale_y_and_scale_z_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_non_uniform_with_scale_y_and_scale_z ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_non_uniform_with_scale_y_and_scale_z_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; let scale_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_y , & mut __stack ) ; let scale_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_z , & mut __stack ) ; __widl_f_scale_non_uniform_with_scale_y_and_scale_z_DOMMatrixReadOnly ( self_ , scale_x , scale_y , scale_z ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_non_uniform_with_scale_y_and_scale_z ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 , origin_x : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; let scale_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_y , & mut __stack ) ; let scale_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_z , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; __widl_f_scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_DOMMatrixReadOnly ( self_ , scale_x , scale_y , scale_z , origin_x ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 , origin_x : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; let scale_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_y , & mut __stack ) ; let scale_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_z , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; let origin_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_y , & mut __stack ) ; __widl_f_scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_DOMMatrixReadOnly ( self_ , scale_x , scale_y , scale_z , origin_x , origin_y ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 , origin_x : f64 , origin_y : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 , origin_x : f64 , origin_y : f64 , origin_z : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; let scale_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_y , & mut __stack ) ; let scale_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_z , & mut __stack ) ; let origin_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_x , & mut __stack ) ; let origin_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_y , & mut __stack ) ; let origin_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin_z , & mut __stack ) ; __widl_f_scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z_DOMMatrixReadOnly ( self_ , scale_x , scale_y , scale_z , origin_x , origin_y , origin_z ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 , origin_x : f64 , origin_y : f64 , origin_z : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_skew_x_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `skewX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/skewX)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn skew_x ( & self , sx : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_skew_x_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sx , & mut __stack ) ; __widl_f_skew_x_DOMMatrixReadOnly ( self_ , sx ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `skewX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/skewX)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn skew_x ( & self , sx : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_skew_y_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `skewY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/skewY)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn skew_y ( & self , sy : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_skew_y_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sy , & mut __stack ) ; __widl_f_skew_y_DOMMatrixReadOnly ( self_ , sy ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `skewY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/skewY)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn skew_y ( & self , sy : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_float32_array_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < Vec < f32 > as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toFloat32Array()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/toFloat32Array)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn to_float32_array ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_float32_array_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_float32_array_DOMMatrixReadOnly ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toFloat32Array()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/toFloat32Array)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn to_float32_array ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_float64_array_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < Vec < f64 > as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toFloat64Array()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/toFloat64Array)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn to_float64_array ( & self , ) -> Result < Vec < f64 > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_float64_array_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Vec < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_float64_array_DOMMatrixReadOnly ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Vec < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toFloat64Array()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/toFloat64Array)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn to_float64_array ( & self , ) -> Result < Vec < f64 > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/toJSON)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_DOMMatrixReadOnly ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/toJSON)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transform_point_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transformPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/transformPoint)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`, `DomPoint`*" ] pub fn transform_point ( & self , ) -> DomPoint { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transform_point_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_transform_point_DOMMatrixReadOnly ( self_ ) } ; < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transformPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/transformPoint)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`, `DomPoint`*" ] pub fn transform_point ( & self , ) -> DomPoint { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transform_point_with_point_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transformPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/transformPoint)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`, `DomPoint`, `DomPointInit`*" ] pub fn transform_point_with_point ( & self , point : & DomPointInit ) -> DomPoint { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transform_point_with_point_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; __widl_f_transform_point_with_point_DOMMatrixReadOnly ( self_ , point ) } ; < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transformPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/transformPoint)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`, `DomPoint`, `DomPointInit`*" ] pub fn transform_point_with_point ( & self , point : & DomPointInit ) -> DomPoint { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_translate_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/translate)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn translate ( & self , tx : f64 , ty : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_translate_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ty : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tx , & mut __stack ) ; let ty = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ty , & mut __stack ) ; __widl_f_translate_DOMMatrixReadOnly ( self_ , tx , ty ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/translate)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn translate ( & self , tx : f64 , ty : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_translate_with_tz_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomMatrix as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/translate)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn translate_with_tz ( & self , tx : f64 , ty : f64 , tz : f64 ) -> DomMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_translate_with_tz_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ty : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tz : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tx , & mut __stack ) ; let ty = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ty , & mut __stack ) ; let tz = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tz , & mut __stack ) ; __widl_f_translate_with_tz_DOMMatrixReadOnly ( self_ , tx , ty , tz ) } ; < DomMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/translate)\n\n*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*" ] pub fn translate_with_tz ( & self , tx : f64 , ty : f64 , tz : f64 ) -> DomMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_a_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `a` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/a)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn a ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_a_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_a_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `a` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/a)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn a ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_b_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `b` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/b)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn b ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_b_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_b_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `b` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/b)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn b ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_c_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `c` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/c)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn c ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_c_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_c_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `c` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/c)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn c ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_d_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `d` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/d)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn d ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_d_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_d_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `d` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/d)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn d ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_e_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `e` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/e)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn e ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_e_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_e_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `e` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/e)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn e ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_f_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `f` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/f)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn f ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_f_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_f_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `f` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/f)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn f ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m11_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m11` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m11)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m11 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m11_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m11_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m11` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m11)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m11 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m12_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m12` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m12)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m12 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m12_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m12_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m12` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m12)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m12 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m13_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m13` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m13)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m13 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m13_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m13_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m13` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m13)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m13 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m14_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m14` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m14)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m14 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m14_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m14_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m14` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m14)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m14 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m21_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m21` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m21)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m21 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m21_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m21_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m21` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m21)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m21 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m22_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m22` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m22)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m22 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m22_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m22_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m22` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m22)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m22 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m23_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m23` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m23)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m23 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m23_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m23_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m23` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m23)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m23 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m24_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m24` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m24)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m24 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m24_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m24_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m24` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m24)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m24 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m31_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m31` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m31)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m31 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m31_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m31_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m31` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m31)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m31 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m32_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m32` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m32)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m32 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m32_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m32_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m32` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m32)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m32 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m33_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m33` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m33)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m33 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m33_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m33_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m33` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m33)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m33 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m34_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m34` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m34)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m34 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m34_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m34_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m34` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m34)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m34 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m41_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m41` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m41)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m41 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m41_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m41_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m41` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m41)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m41 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m42_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m42` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m42)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m42 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m42_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m42_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m42` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m42)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m42 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m43_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m43` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m43)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m43 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m43_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m43_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m43` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m43)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m43 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_m44_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `m44` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m44)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m44 ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_m44_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_m44_DOMMatrixReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `m44` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m44)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn m44 ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_2d_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `is2D` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/is2D)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn is_2d ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_2d_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_2d_DOMMatrixReadOnly ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `is2D` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/is2D)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn is_2d ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_identity_DOMMatrixReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomMatrixReadOnly as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl DomMatrixReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isIdentity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/isIdentity)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn is_identity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_identity_DOMMatrixReadOnly ( self_ : < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomMatrixReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_identity_DOMMatrixReadOnly ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isIdentity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/isIdentity)\n\n*This API requires the following crate features to be activated: `DomMatrixReadOnly`*" ] pub fn is_identity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMParser` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser)\n\n*This API requires the following crate features to be activated: `DomParser`*" ] # [ repr ( transparent ) ] pub struct DomParser { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomParser : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomParser { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomParser { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomParser { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomParser { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomParser { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomParser { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomParser { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomParser { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomParser { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomParser > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomParser { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomParser { # [ inline ] fn from ( obj : JsValue ) -> DomParser { DomParser { obj } } } impl AsRef < JsValue > for DomParser { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomParser > for JsValue { # [ inline ] fn from ( obj : DomParser ) -> JsValue { obj . obj } } impl JsCast for DomParser { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMParser ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMParser ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomParser { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomParser ) } } } ( ) } ; impl core :: ops :: Deref for DomParser { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DomParser > for Object { # [ inline ] fn from ( obj : DomParser ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomParser { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DOMParser ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DomParser as WasmDescribe > :: describe ( ) ; } impl DomParser { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMParser(..)` constructor, creating a new instance of `DOMParser`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/DOMParser)\n\n*This API requires the following crate features to be activated: `DomParser`*" ] pub fn new ( ) -> Result < DomParser , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DOMParser ( exn_data_ptr : * mut u32 ) -> < DomParser as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_DOMParser ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomParser as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMParser(..)` constructor, creating a new instance of `DOMParser`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/DOMParser)\n\n*This API requires the following crate features to be activated: `DomParser`*" ] pub fn new ( ) -> Result < DomParser , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_parse_from_string_DOMParser ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomParser as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < SupportedType as WasmDescribe > :: describe ( ) ; < Document as WasmDescribe > :: describe ( ) ; } impl DomParser { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `parseFromString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString)\n\n*This API requires the following crate features to be activated: `Document`, `DomParser`, `SupportedType`*" ] pub fn parse_from_string ( & self , str : & str , type_ : SupportedType ) -> Result < Document , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_parse_from_string_DOMParser ( self_ : < & DomParser as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , str : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < SupportedType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomParser as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let str = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( str , & mut __stack ) ; let type_ = < SupportedType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_parse_from_string_DOMParser ( self_ , str , type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `parseFromString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString)\n\n*This API requires the following crate features to be activated: `Document`, `DomParser`, `SupportedType`*" ] pub fn parse_from_string ( & self , str : & str , type_ : SupportedType ) -> Result < Document , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMPoint` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] # [ repr ( transparent ) ] pub struct DomPoint { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomPoint : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomPoint { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomPoint { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomPoint { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomPoint { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomPoint { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomPoint { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomPoint { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomPoint { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomPoint { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomPoint > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomPoint { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomPoint { # [ inline ] fn from ( obj : JsValue ) -> DomPoint { DomPoint { obj } } } impl AsRef < JsValue > for DomPoint { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomPoint > for JsValue { # [ inline ] fn from ( obj : DomPoint ) -> JsValue { obj . obj } } impl JsCast for DomPoint { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMPoint ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMPoint ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomPoint { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomPoint ) } } } ( ) } ; impl core :: ops :: Deref for DomPoint { type Target = DomPointReadOnly ; # [ inline ] fn deref ( & self ) -> & DomPointReadOnly { self . as_ref ( ) } } impl From < DomPoint > for DomPointReadOnly { # [ inline ] fn from ( obj : DomPoint ) -> DomPointReadOnly { use wasm_bindgen :: JsCast ; DomPointReadOnly :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < DomPointReadOnly > for DomPoint { # [ inline ] fn as_ref ( & self ) -> & DomPointReadOnly { use wasm_bindgen :: JsCast ; DomPointReadOnly :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DomPoint > for Object { # [ inline ] fn from ( obj : DomPoint ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomPoint { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMPoint(..)` constructor, creating a new instance of `DOMPoint`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn new ( ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DOMPoint ( exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_DOMPoint ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMPoint(..)` constructor, creating a new instance of `DOMPoint`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn new ( ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMPoint(..)` constructor, creating a new instance of `DOMPoint`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn new_with_x ( x : f64 ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_DOMPoint ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_new_with_x_DOMPoint ( x , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMPoint(..)` constructor, creating a new instance of `DOMPoint`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn new_with_x ( x : f64 ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_and_y_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMPoint(..)` constructor, creating a new instance of `DOMPoint`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn new_with_x_and_y ( x : f64 , y : f64 ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_and_y_DOMPoint ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_new_with_x_and_y_DOMPoint ( x , y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMPoint(..)` constructor, creating a new instance of `DOMPoint`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn new_with_x_and_y ( x : f64 , y : f64 ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_and_y_and_z_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMPoint(..)` constructor, creating a new instance of `DOMPoint`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn new_with_x_and_y_and_z ( x : f64 , y : f64 , z : f64 ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_and_y_and_z_DOMPoint ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_new_with_x_and_y_and_z_DOMPoint ( x , y , z , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMPoint(..)` constructor, creating a new instance of `DOMPoint`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn new_with_x_and_y_and_z ( x : f64 , y : f64 , z : f64 ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_and_y_and_z_and_w_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMPoint(..)` constructor, creating a new instance of `DOMPoint`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn new_with_x_and_y_and_z_and_w ( x : f64 , y : f64 , z : f64 , w : f64 ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_and_y_and_z_and_w_DOMPoint ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let w = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; __widl_f_new_with_x_and_y_and_z_and_w_DOMPoint ( x , y , z , w , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMPoint(..)` constructor, creating a new instance of `DOMPoint`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn new_with_x_and_y_and_z_and_w ( x : f64 , y : f64 , z : f64 , w : f64 ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_from_point_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/fromPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn from_point ( ) -> DomPoint { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_from_point_DOMPoint ( ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_from_point_DOMPoint ( ) } ; < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/fromPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn from_point ( ) -> DomPoint { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_from_point_with_other_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/fromPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`*" ] pub fn from_point_with_other ( other : & DomPointInit ) -> DomPoint { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_from_point_with_other_DOMPoint ( other : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let other = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( other , & mut __stack ) ; __widl_f_from_point_with_other_DOMPoint ( other ) } ; < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/fromPoint)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`*" ] pub fn from_point_with_other ( other : & DomPointInit ) -> DomPoint { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomPoint as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/x)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn x ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_DOMPoint ( self_ : < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_DOMPoint ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/x)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn x ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_x_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomPoint as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/x)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn set_x ( & self , x : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_x_DOMPoint ( self_ : < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_set_x_DOMPoint ( self_ , x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/x)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn set_x ( & self , x : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomPoint as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/y)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn y ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_DOMPoint ( self_ : < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_DOMPoint ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/y)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn y ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_y_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomPoint as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/y)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn set_y ( & self , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_y_DOMPoint ( self_ : < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_set_y_DOMPoint ( self_ , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/y)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn set_y ( & self , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_z_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomPoint as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `z` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/z)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn z ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_z_DOMPoint ( self_ : < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_z_DOMPoint ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `z` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/z)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn z ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_z_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomPoint as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `z` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/z)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn set_z ( & self , z : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_z_DOMPoint ( self_ : < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_set_z_DOMPoint ( self_ , z ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `z` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/z)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn set_z ( & self , z : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_w_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomPoint as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `w` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/w)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn w ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_w_DOMPoint ( self_ : < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_w_DOMPoint ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `w` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/w)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn w ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_w_DOMPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomPoint as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `w` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/w)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn set_w ( & self , w : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_w_DOMPoint ( self_ : < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let w = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; __widl_f_set_w_DOMPoint ( self_ , w ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `w` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/w)\n\n*This API requires the following crate features to be activated: `DomPoint`*" ] pub fn set_w ( & self , w : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMPointReadOnly` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] # [ repr ( transparent ) ] pub struct DomPointReadOnly { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomPointReadOnly : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomPointReadOnly { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomPointReadOnly { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomPointReadOnly { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomPointReadOnly { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomPointReadOnly { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomPointReadOnly { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomPointReadOnly { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomPointReadOnly { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomPointReadOnly { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomPointReadOnly > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomPointReadOnly { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomPointReadOnly { # [ inline ] fn from ( obj : JsValue ) -> DomPointReadOnly { DomPointReadOnly { obj } } } impl AsRef < JsValue > for DomPointReadOnly { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomPointReadOnly > for JsValue { # [ inline ] fn from ( obj : DomPointReadOnly ) -> JsValue { obj . obj } } impl JsCast for DomPointReadOnly { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMPointReadOnly ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMPointReadOnly ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomPointReadOnly { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomPointReadOnly ) } } } ( ) } ; impl core :: ops :: Deref for DomPointReadOnly { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DomPointReadOnly > for Object { # [ inline ] fn from ( obj : DomPointReadOnly ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomPointReadOnly { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DOMPointReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DomPointReadOnly as WasmDescribe > :: describe ( ) ; } impl DomPointReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMPointReadOnly(..)` constructor, creating a new instance of `DOMPointReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn new ( ) -> Result < DomPointReadOnly , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DOMPointReadOnly ( exn_data_ptr : * mut u32 ) -> < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_DOMPointReadOnly ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMPointReadOnly(..)` constructor, creating a new instance of `DOMPointReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn new ( ) -> Result < DomPointReadOnly , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_DOMPointReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomPointReadOnly as WasmDescribe > :: describe ( ) ; } impl DomPointReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMPointReadOnly(..)` constructor, creating a new instance of `DOMPointReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn new_with_x ( x : f64 ) -> Result < DomPointReadOnly , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_DOMPointReadOnly ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_new_with_x_DOMPointReadOnly ( x , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMPointReadOnly(..)` constructor, creating a new instance of `DOMPointReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn new_with_x ( x : f64 ) -> Result < DomPointReadOnly , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_and_y_DOMPointReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomPointReadOnly as WasmDescribe > :: describe ( ) ; } impl DomPointReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMPointReadOnly(..)` constructor, creating a new instance of `DOMPointReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn new_with_x_and_y ( x : f64 , y : f64 ) -> Result < DomPointReadOnly , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_and_y_DOMPointReadOnly ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_new_with_x_and_y_DOMPointReadOnly ( x , y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMPointReadOnly(..)` constructor, creating a new instance of `DOMPointReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn new_with_x_and_y ( x : f64 , y : f64 ) -> Result < DomPointReadOnly , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_and_y_and_z_DOMPointReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomPointReadOnly as WasmDescribe > :: describe ( ) ; } impl DomPointReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMPointReadOnly(..)` constructor, creating a new instance of `DOMPointReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn new_with_x_and_y_and_z ( x : f64 , y : f64 , z : f64 ) -> Result < DomPointReadOnly , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_and_y_and_z_DOMPointReadOnly ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_new_with_x_and_y_and_z_DOMPointReadOnly ( x , y , z , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMPointReadOnly(..)` constructor, creating a new instance of `DOMPointReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn new_with_x_and_y_and_z ( x : f64 , y : f64 , z : f64 ) -> Result < DomPointReadOnly , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_and_y_and_z_and_w_DOMPointReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomPointReadOnly as WasmDescribe > :: describe ( ) ; } impl DomPointReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMPointReadOnly(..)` constructor, creating a new instance of `DOMPointReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn new_with_x_and_y_and_z_and_w ( x : f64 , y : f64 , z : f64 , w : f64 ) -> Result < DomPointReadOnly , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_and_y_and_z_and_w_DOMPointReadOnly ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let w = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; __widl_f_new_with_x_and_y_and_z_and_w_DOMPointReadOnly ( x , y , z , w , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMPointReadOnly(..)` constructor, creating a new instance of `DOMPointReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/DOMPointReadOnly)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn new_with_x_and_y_and_z_and_w ( x : f64 , y : f64 , z : f64 , w : f64 ) -> Result < DomPointReadOnly , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_from_point_DOMPointReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DomPointReadOnly as WasmDescribe > :: describe ( ) ; } impl DomPointReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/fromPoint)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn from_point ( ) -> DomPointReadOnly { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_from_point_DOMPointReadOnly ( ) -> < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_from_point_DOMPointReadOnly ( ) } ; < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/fromPoint)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn from_point ( ) -> DomPointReadOnly { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_from_point_with_other_DOMPointReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < DomPointReadOnly as WasmDescribe > :: describe ( ) ; } impl DomPointReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/fromPoint)\n\n*This API requires the following crate features to be activated: `DomPointInit`, `DomPointReadOnly`*" ] pub fn from_point_with_other ( other : & DomPointInit ) -> DomPointReadOnly { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_from_point_with_other_DOMPointReadOnly ( other : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let other = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( other , & mut __stack ) ; __widl_f_from_point_with_other_DOMPointReadOnly ( other ) } ; < DomPointReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/fromPoint)\n\n*This API requires the following crate features to be activated: `DomPointInit`, `DomPointReadOnly`*" ] pub fn from_point_with_other ( other : & DomPointInit ) -> DomPointReadOnly { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_DOMPointReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomPointReadOnly as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl DomPointReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/toJSON)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_DOMPointReadOnly ( self_ : < & DomPointReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomPointReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_DOMPointReadOnly ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/toJSON)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_DOMPointReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomPointReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomPointReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/x)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn x ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_DOMPointReadOnly ( self_ : < & DomPointReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomPointReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_DOMPointReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/x)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn x ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_DOMPointReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomPointReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomPointReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/y)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn y ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_DOMPointReadOnly ( self_ : < & DomPointReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomPointReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_DOMPointReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/y)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn y ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_z_DOMPointReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomPointReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomPointReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `z` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/z)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn z ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_z_DOMPointReadOnly ( self_ : < & DomPointReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomPointReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_z_DOMPointReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `z` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/z)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn z ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_w_DOMPointReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomPointReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomPointReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `w` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/w)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn w ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_w_DOMPointReadOnly ( self_ : < & DomPointReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomPointReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_w_DOMPointReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `w` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/w)\n\n*This API requires the following crate features to be activated: `DomPointReadOnly`*" ] pub fn w ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMQuad` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad)\n\n*This API requires the following crate features to be activated: `DomQuad`*" ] # [ repr ( transparent ) ] pub struct DomQuad { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomQuad : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomQuad { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomQuad { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomQuad { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomQuad { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomQuad { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomQuad { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomQuad { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomQuad { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomQuad { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomQuad > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomQuad { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomQuad { # [ inline ] fn from ( obj : JsValue ) -> DomQuad { DomQuad { obj } } } impl AsRef < JsValue > for DomQuad { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomQuad > for JsValue { # [ inline ] fn from ( obj : DomQuad ) -> JsValue { obj . obj } } impl JsCast for DomQuad { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMQuad ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMQuad ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomQuad { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomQuad ) } } } ( ) } ; impl core :: ops :: Deref for DomQuad { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DomQuad > for Object { # [ inline ] fn from ( obj : DomQuad ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomQuad { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DOMQuad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl DomQuad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMQuad(..)` constructor, creating a new instance of `DOMQuad`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)\n\n*This API requires the following crate features to be activated: `DomQuad`*" ] pub fn new ( ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DOMQuad ( exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_DOMQuad ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMQuad(..)` constructor, creating a new instance of `DOMQuad`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)\n\n*This API requires the following crate features to be activated: `DomQuad`*" ] pub fn new ( ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_dom_point_init_DOMQuad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl DomQuad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMQuad(..)` constructor, creating a new instance of `DOMQuad`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)\n\n*This API requires the following crate features to be activated: `DomPointInit`, `DomQuad`*" ] pub fn new_with_dom_point_init ( p1 : & DomPointInit ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_dom_point_init_DOMQuad ( p1 : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let p1 = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( p1 , & mut __stack ) ; __widl_f_new_with_dom_point_init_DOMQuad ( p1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMQuad(..)` constructor, creating a new instance of `DOMQuad`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)\n\n*This API requires the following crate features to be activated: `DomPointInit`, `DomQuad`*" ] pub fn new_with_dom_point_init ( p1 : & DomPointInit ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_dom_point_init_and_p2_DOMQuad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl DomQuad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMQuad(..)` constructor, creating a new instance of `DOMQuad`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)\n\n*This API requires the following crate features to be activated: `DomPointInit`, `DomQuad`*" ] pub fn new_with_dom_point_init_and_p2 ( p1 : & DomPointInit , p2 : & DomPointInit ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_dom_point_init_and_p2_DOMQuad ( p1 : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , p2 : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let p1 = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( p1 , & mut __stack ) ; let p2 = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( p2 , & mut __stack ) ; __widl_f_new_with_dom_point_init_and_p2_DOMQuad ( p1 , p2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMQuad(..)` constructor, creating a new instance of `DOMQuad`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)\n\n*This API requires the following crate features to be activated: `DomPointInit`, `DomQuad`*" ] pub fn new_with_dom_point_init_and_p2 ( p1 : & DomPointInit , p2 : & DomPointInit ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_dom_point_init_and_p2_and_p3_DOMQuad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl DomQuad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMQuad(..)` constructor, creating a new instance of `DOMQuad`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)\n\n*This API requires the following crate features to be activated: `DomPointInit`, `DomQuad`*" ] pub fn new_with_dom_point_init_and_p2_and_p3 ( p1 : & DomPointInit , p2 : & DomPointInit , p3 : & DomPointInit ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_dom_point_init_and_p2_and_p3_DOMQuad ( p1 : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , p2 : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , p3 : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let p1 = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( p1 , & mut __stack ) ; let p2 = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( p2 , & mut __stack ) ; let p3 = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( p3 , & mut __stack ) ; __widl_f_new_with_dom_point_init_and_p2_and_p3_DOMQuad ( p1 , p2 , p3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMQuad(..)` constructor, creating a new instance of `DOMQuad`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)\n\n*This API requires the following crate features to be activated: `DomPointInit`, `DomQuad`*" ] pub fn new_with_dom_point_init_and_p2_and_p3 ( p1 : & DomPointInit , p2 : & DomPointInit , p3 : & DomPointInit ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_dom_point_init_and_p2_and_p3_and_p4_DOMQuad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl DomQuad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMQuad(..)` constructor, creating a new instance of `DOMQuad`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)\n\n*This API requires the following crate features to be activated: `DomPointInit`, `DomQuad`*" ] pub fn new_with_dom_point_init_and_p2_and_p3_and_p4 ( p1 : & DomPointInit , p2 : & DomPointInit , p3 : & DomPointInit , p4 : & DomPointInit ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_dom_point_init_and_p2_and_p3_and_p4_DOMQuad ( p1 : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , p2 : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , p3 : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , p4 : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let p1 = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( p1 , & mut __stack ) ; let p2 = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( p2 , & mut __stack ) ; let p3 = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( p3 , & mut __stack ) ; let p4 = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( p4 , & mut __stack ) ; __widl_f_new_with_dom_point_init_and_p2_and_p3_and_p4_DOMQuad ( p1 , p2 , p3 , p4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMQuad(..)` constructor, creating a new instance of `DOMQuad`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)\n\n*This API requires the following crate features to be activated: `DomPointInit`, `DomQuad`*" ] pub fn new_with_dom_point_init_and_p2_and_p3_and_p4 ( p1 : & DomPointInit , p2 : & DomPointInit , p3 : & DomPointInit , p4 : & DomPointInit ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_rect_DOMQuad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl DomQuad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMQuad(..)` constructor, creating a new instance of `DOMQuad`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`*" ] pub fn new_with_rect ( rect : & DomRectReadOnly ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_rect_DOMQuad ( rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; __widl_f_new_with_rect_DOMQuad ( rect , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMQuad(..)` constructor, creating a new instance of `DOMQuad`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/DOMQuad)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`*" ] pub fn new_with_rect ( rect : & DomRectReadOnly ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_bounds_DOMQuad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < DomRectReadOnly as WasmDescribe > :: describe ( ) ; } impl DomQuad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBounds()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/getBounds)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`*" ] pub fn get_bounds ( & self , ) -> DomRectReadOnly { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_bounds_DOMQuad ( self_ : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_bounds_DOMQuad ( self_ ) } ; < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBounds()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/getBounds)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`*" ] pub fn get_bounds ( & self , ) -> DomRectReadOnly { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_DOMQuad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < DomQuadJson as WasmDescribe > :: describe ( ) ; } impl DomQuad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/toJSON)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomQuadJson`*" ] pub fn to_json ( & self , ) -> DomQuadJson { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_DOMQuad ( self_ : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomQuadJson as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_DOMQuad ( self_ ) } ; < DomQuadJson as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/toJSON)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomQuadJson`*" ] pub fn to_json ( & self , ) -> DomQuadJson { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_p1_DOMQuad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl DomQuad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `p1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/p1)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomQuad`*" ] pub fn p1 ( & self , ) -> DomPoint { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_p1_DOMQuad ( self_ : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_p1_DOMQuad ( self_ ) } ; < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `p1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/p1)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomQuad`*" ] pub fn p1 ( & self , ) -> DomPoint { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_p2_DOMQuad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl DomQuad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `p2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/p2)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomQuad`*" ] pub fn p2 ( & self , ) -> DomPoint { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_p2_DOMQuad ( self_ : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_p2_DOMQuad ( self_ ) } ; < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `p2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/p2)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomQuad`*" ] pub fn p2 ( & self , ) -> DomPoint { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_p3_DOMQuad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl DomQuad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `p3` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/p3)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomQuad`*" ] pub fn p3 ( & self , ) -> DomPoint { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_p3_DOMQuad ( self_ : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_p3_DOMQuad ( self_ ) } ; < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `p3` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/p3)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomQuad`*" ] pub fn p3 ( & self , ) -> DomPoint { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_p4_DOMQuad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl DomQuad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `p4` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/p4)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomQuad`*" ] pub fn p4 ( & self , ) -> DomPoint { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_p4_DOMQuad ( self_ : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_p4_DOMQuad ( self_ ) } ; < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `p4` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/p4)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomQuad`*" ] pub fn p4 ( & self , ) -> DomPoint { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bounds_DOMQuad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < DomRectReadOnly as WasmDescribe > :: describe ( ) ; } impl DomQuad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bounds` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/bounds)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`*" ] pub fn bounds ( & self , ) -> DomRectReadOnly { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bounds_DOMQuad ( self_ : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_bounds_DOMQuad ( self_ ) } ; < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bounds` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMQuad/bounds)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`*" ] pub fn bounds ( & self , ) -> DomRectReadOnly { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMRect` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] # [ repr ( transparent ) ] pub struct DomRect { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomRect : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomRect { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomRect { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomRect { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomRect { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomRect { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomRect { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomRect { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomRect { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomRect { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomRect > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomRect { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomRect { # [ inline ] fn from ( obj : JsValue ) -> DomRect { DomRect { obj } } } impl AsRef < JsValue > for DomRect { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomRect > for JsValue { # [ inline ] fn from ( obj : DomRect ) -> JsValue { obj . obj } } impl JsCast for DomRect { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMRect ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMRect ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomRect { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomRect ) } } } ( ) } ; impl core :: ops :: Deref for DomRect { type Target = DomRectReadOnly ; # [ inline ] fn deref ( & self ) -> & DomRectReadOnly { self . as_ref ( ) } } impl From < DomRect > for DomRectReadOnly { # [ inline ] fn from ( obj : DomRect ) -> DomRectReadOnly { use wasm_bindgen :: JsCast ; DomRectReadOnly :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < DomRectReadOnly > for DomRect { # [ inline ] fn as_ref ( & self ) -> & DomRectReadOnly { use wasm_bindgen :: JsCast ; DomRectReadOnly :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DomRect > for Object { # [ inline ] fn from ( obj : DomRect ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomRect { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DOMRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DomRect as WasmDescribe > :: describe ( ) ; } impl DomRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMRect(..)` constructor, creating a new instance of `DOMRect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn new ( ) -> Result < DomRect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DOMRect ( exn_data_ptr : * mut u32 ) -> < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_DOMRect ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMRect(..)` constructor, creating a new instance of `DOMRect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn new ( ) -> Result < DomRect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_DOMRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomRect as WasmDescribe > :: describe ( ) ; } impl DomRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMRect(..)` constructor, creating a new instance of `DOMRect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn new_with_x ( x : f64 ) -> Result < DomRect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_DOMRect ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_new_with_x_DOMRect ( x , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMRect(..)` constructor, creating a new instance of `DOMRect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn new_with_x ( x : f64 ) -> Result < DomRect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_and_y_DOMRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomRect as WasmDescribe > :: describe ( ) ; } impl DomRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMRect(..)` constructor, creating a new instance of `DOMRect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn new_with_x_and_y ( x : f64 , y : f64 ) -> Result < DomRect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_and_y_DOMRect ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_new_with_x_and_y_DOMRect ( x , y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMRect(..)` constructor, creating a new instance of `DOMRect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn new_with_x_and_y ( x : f64 , y : f64 ) -> Result < DomRect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_and_y_and_width_DOMRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomRect as WasmDescribe > :: describe ( ) ; } impl DomRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMRect(..)` constructor, creating a new instance of `DOMRect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn new_with_x_and_y_and_width ( x : f64 , y : f64 , width : f64 ) -> Result < DomRect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_and_y_and_width_DOMRect ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_new_with_x_and_y_and_width_DOMRect ( x , y , width , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMRect(..)` constructor, creating a new instance of `DOMRect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn new_with_x_and_y_and_width ( x : f64 , y : f64 , width : f64 ) -> Result < DomRect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_and_y_and_width_and_height_DOMRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomRect as WasmDescribe > :: describe ( ) ; } impl DomRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMRect(..)` constructor, creating a new instance of `DOMRect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn new_with_x_and_y_and_width_and_height ( x : f64 , y : f64 , width : f64 , height : f64 ) -> Result < DomRect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_and_y_and_width_and_height_DOMRect ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_new_with_x_and_y_and_width_and_height_DOMRect ( x , y , width , height , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMRect(..)` constructor, creating a new instance of `DOMRect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn new_with_x_and_y_and_width_and_height ( x : f64 , y : f64 , width : f64 , height : f64 ) -> Result < DomRect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_DOMRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRect as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/x)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn x ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_DOMRect ( self_ : < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_DOMRect ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/x)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn x ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_x_DOMRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomRect as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/x)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn set_x ( & self , x : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_x_DOMRect ( self_ : < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_set_x_DOMRect ( self_ , x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/x)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn set_x ( & self , x : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_DOMRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRect as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/y)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn y ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_DOMRect ( self_ : < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_DOMRect ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/y)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn y ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_y_DOMRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomRect as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/y)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn set_y ( & self , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_y_DOMRect ( self_ : < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_set_y_DOMRect ( self_ , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/y)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn set_y ( & self , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_DOMRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRect as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/width)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn width ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_DOMRect ( self_ : < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_DOMRect ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/width)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn width ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_DOMRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomRect as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/width)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn set_width ( & self , width : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_DOMRect ( self_ : < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_DOMRect ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/width)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn set_width ( & self , width : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_DOMRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRect as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/height)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn height ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_DOMRect ( self_ : < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_DOMRect ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/height)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn height ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_height_DOMRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomRect as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/height)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn set_height ( & self , height : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_height_DOMRect ( self_ : < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let height = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_set_height_DOMRect ( self_ , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/height)\n\n*This API requires the following crate features to be activated: `DomRect`*" ] pub fn set_height ( & self , height : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMRectList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectList)\n\n*This API requires the following crate features to be activated: `DomRectList`*" ] # [ repr ( transparent ) ] pub struct DomRectList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomRectList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomRectList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomRectList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomRectList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomRectList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomRectList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomRectList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomRectList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomRectList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomRectList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomRectList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomRectList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomRectList { # [ inline ] fn from ( obj : JsValue ) -> DomRectList { DomRectList { obj } } } impl AsRef < JsValue > for DomRectList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomRectList > for JsValue { # [ inline ] fn from ( obj : DomRectList ) -> JsValue { obj . obj } } impl JsCast for DomRectList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMRectList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMRectList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomRectList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomRectList ) } } } ( ) } ; impl core :: ops :: Deref for DomRectList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DomRectList > for Object { # [ inline ] fn from ( obj : DomRectList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomRectList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_DOMRectList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomRectList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < DomRect > as WasmDescribe > :: describe ( ) ; } impl DomRectList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectList/item)\n\n*This API requires the following crate features to be activated: `DomRect`, `DomRectList`*" ] pub fn item ( & self , index : u32 ) -> Option < DomRect > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_DOMRectList ( self_ : < & DomRectList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < DomRect > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRectList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_DOMRectList ( self_ , index ) } ; < Option < DomRect > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectList/item)\n\n*This API requires the following crate features to be activated: `DomRect`, `DomRectList`*" ] pub fn item ( & self , index : u32 ) -> Option < DomRect > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_DOMRectList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomRectList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < DomRect > as WasmDescribe > :: describe ( ) ; } impl DomRectList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `DomRect`, `DomRectList`*" ] pub fn get ( & self , index : u32 ) -> Option < DomRect > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_DOMRectList ( self_ : < & DomRectList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < DomRect > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRectList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_DOMRectList ( self_ , index ) } ; < Option < DomRect > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `DomRect`, `DomRectList`*" ] pub fn get ( & self , index : u32 ) -> Option < DomRect > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_DOMRectList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRectList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl DomRectList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectList/length)\n\n*This API requires the following crate features to be activated: `DomRectList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_DOMRectList ( self_ : < & DomRectList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRectList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_DOMRectList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectList/length)\n\n*This API requires the following crate features to be activated: `DomRectList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMRectReadOnly` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] # [ repr ( transparent ) ] pub struct DomRectReadOnly { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomRectReadOnly : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomRectReadOnly { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomRectReadOnly { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomRectReadOnly { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomRectReadOnly { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomRectReadOnly { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomRectReadOnly { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomRectReadOnly { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomRectReadOnly { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomRectReadOnly { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomRectReadOnly > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomRectReadOnly { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomRectReadOnly { # [ inline ] fn from ( obj : JsValue ) -> DomRectReadOnly { DomRectReadOnly { obj } } } impl AsRef < JsValue > for DomRectReadOnly { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomRectReadOnly > for JsValue { # [ inline ] fn from ( obj : DomRectReadOnly ) -> JsValue { obj . obj } } impl JsCast for DomRectReadOnly { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMRectReadOnly ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMRectReadOnly ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomRectReadOnly { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomRectReadOnly ) } } } ( ) } ; impl core :: ops :: Deref for DomRectReadOnly { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DomRectReadOnly > for Object { # [ inline ] fn from ( obj : DomRectReadOnly ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomRectReadOnly { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DomRectReadOnly as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMRectReadOnly(..)` constructor, creating a new instance of `DOMRectReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn new ( ) -> Result < DomRectReadOnly , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DOMRectReadOnly ( exn_data_ptr : * mut u32 ) -> < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_DOMRectReadOnly ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMRectReadOnly(..)` constructor, creating a new instance of `DOMRectReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn new ( ) -> Result < DomRectReadOnly , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomRectReadOnly as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMRectReadOnly(..)` constructor, creating a new instance of `DOMRectReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn new_with_x ( x : f64 ) -> Result < DomRectReadOnly , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_DOMRectReadOnly ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_new_with_x_DOMRectReadOnly ( x , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMRectReadOnly(..)` constructor, creating a new instance of `DOMRectReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn new_with_x ( x : f64 ) -> Result < DomRectReadOnly , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_and_y_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomRectReadOnly as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMRectReadOnly(..)` constructor, creating a new instance of `DOMRectReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn new_with_x_and_y ( x : f64 , y : f64 ) -> Result < DomRectReadOnly , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_and_y_DOMRectReadOnly ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_new_with_x_and_y_DOMRectReadOnly ( x , y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMRectReadOnly(..)` constructor, creating a new instance of `DOMRectReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn new_with_x_and_y ( x : f64 , y : f64 ) -> Result < DomRectReadOnly , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_and_y_and_width_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomRectReadOnly as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMRectReadOnly(..)` constructor, creating a new instance of `DOMRectReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn new_with_x_and_y_and_width ( x : f64 , y : f64 , width : f64 ) -> Result < DomRectReadOnly , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_and_y_and_width_DOMRectReadOnly ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_new_with_x_and_y_and_width_DOMRectReadOnly ( x , y , width , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMRectReadOnly(..)` constructor, creating a new instance of `DOMRectReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn new_with_x_and_y_and_width ( x : f64 , y : f64 , width : f64 ) -> Result < DomRectReadOnly , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_x_and_y_and_width_and_height_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DomRectReadOnly as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DOMRectReadOnly(..)` constructor, creating a new instance of `DOMRectReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn new_with_x_and_y_and_width_and_height ( x : f64 , y : f64 , width : f64 , height : f64 ) -> Result < DomRectReadOnly , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_x_and_y_and_width_and_height_DOMRectReadOnly ( x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_new_with_x_and_y_and_width_and_height_DOMRectReadOnly ( x , y , width , height , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DOMRectReadOnly(..)` constructor, creating a new instance of `DOMRectReadOnly`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn new_with_x_and_y_and_width_and_height ( x : f64 , y : f64 , width : f64 , height : f64 ) -> Result < DomRectReadOnly , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/toJSON)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_DOMRectReadOnly ( self_ : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_DOMRectReadOnly ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/toJSON)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/x)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn x ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_DOMRectReadOnly ( self_ : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_DOMRectReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/x)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn x ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/y)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn y ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_DOMRectReadOnly ( self_ : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_DOMRectReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/y)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn y ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/width)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn width ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_DOMRectReadOnly ( self_ : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_DOMRectReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/width)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn width ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/height)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn height ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_DOMRectReadOnly ( self_ : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_DOMRectReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/height)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn height ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_top_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `top` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/top)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn top ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_top_DOMRectReadOnly ( self_ : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_top_DOMRectReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `top` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/top)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn top ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_right_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `right` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/right)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn right ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_right_DOMRectReadOnly ( self_ : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_right_DOMRectReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `right` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/right)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn right ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bottom_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bottom` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/bottom)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn bottom ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bottom_DOMRectReadOnly ( self_ : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_bottom_DOMRectReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bottom` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/bottom)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn bottom ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_left_DOMRectReadOnly ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DomRectReadOnly { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `left` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/left)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn left ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_left_DOMRectReadOnly ( self_ : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_left_DOMRectReadOnly ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `left` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/left)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`*" ] pub fn left ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMRequest` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] # [ repr ( transparent ) ] pub struct DomRequest { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomRequest : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomRequest { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomRequest { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomRequest { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomRequest { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomRequest { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomRequest { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomRequest { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomRequest > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomRequest { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomRequest { # [ inline ] fn from ( obj : JsValue ) -> DomRequest { DomRequest { obj } } } impl AsRef < JsValue > for DomRequest { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomRequest > for JsValue { # [ inline ] fn from ( obj : DomRequest ) -> JsValue { obj . obj } } impl JsCast for DomRequest { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMRequest ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMRequest ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomRequest { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomRequest ) } } } ( ) } ; impl core :: ops :: Deref for DomRequest { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < DomRequest > for EventTarget { # [ inline ] fn from ( obj : DomRequest ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for DomRequest { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DomRequest > for Object { # [ inline ] fn from ( obj : DomRequest ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomRequest { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_then_DOMRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRequest as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl DomRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `then()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/then)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn then ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_then_DOMRequest ( self_ : < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_then_DOMRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `then()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/then)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn then ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_then_with_fulfill_callback_DOMRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomRequest as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl DomRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `then()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/then)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn then_with_fulfill_callback ( & self , fulfill_callback : Option < & :: js_sys :: Function > ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_then_with_fulfill_callback_DOMRequest ( self_ : < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , fulfill_callback : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let fulfill_callback = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( fulfill_callback , & mut __stack ) ; __widl_f_then_with_fulfill_callback_DOMRequest ( self_ , fulfill_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `then()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/then)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn then_with_fulfill_callback ( & self , fulfill_callback : Option < & :: js_sys :: Function > ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_then_with_fulfill_callback_and_reject_callback_DOMRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomRequest as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl DomRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `then()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/then)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn then_with_fulfill_callback_and_reject_callback ( & self , fulfill_callback : Option < & :: js_sys :: Function > , reject_callback : Option < & :: js_sys :: Function > ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_then_with_fulfill_callback_and_reject_callback_DOMRequest ( self_ : < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , fulfill_callback : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , reject_callback : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let fulfill_callback = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( fulfill_callback , & mut __stack ) ; let reject_callback = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( reject_callback , & mut __stack ) ; __widl_f_then_with_fulfill_callback_and_reject_callback_DOMRequest ( self_ , fulfill_callback , reject_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `then()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/then)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn then_with_fulfill_callback_and_reject_callback ( & self , fulfill_callback : Option < & :: js_sys :: Function > , reject_callback : Option < & :: js_sys :: Function > ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_state_DOMRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRequest as WasmDescribe > :: describe ( ) ; < DomRequestReadyState as WasmDescribe > :: describe ( ) ; } impl DomRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/readyState)\n\n*This API requires the following crate features to be activated: `DomRequest`, `DomRequestReadyState`*" ] pub fn ready_state ( & self , ) -> DomRequestReadyState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_state_DOMRequest ( self_ : < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomRequestReadyState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_state_DOMRequest ( self_ ) } ; < DomRequestReadyState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/readyState)\n\n*This API requires the following crate features to be activated: `DomRequest`, `DomRequestReadyState`*" ] pub fn ready_state ( & self , ) -> DomRequestReadyState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_DOMRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRequest as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl DomRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/result)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn result ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_DOMRequest ( self_ : < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_DOMRequest ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/result)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn result ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_DOMRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRequest as WasmDescribe > :: describe ( ) ; < Option < DomException > as WasmDescribe > :: describe ( ) ; } impl DomRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/error)\n\n*This API requires the following crate features to be activated: `DomException`, `DomRequest`*" ] pub fn error ( & self , ) -> Option < DomException > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_DOMRequest ( self_ : < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < DomException > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_error_DOMRequest ( self_ ) } ; < Option < DomException > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/error)\n\n*This API requires the following crate features to be activated: `DomException`, `DomRequest`*" ] pub fn error ( & self , ) -> Option < DomException > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsuccess_DOMRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRequest as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl DomRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsuccess` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/onsuccess)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn onsuccess ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsuccess_DOMRequest ( self_ : < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsuccess_DOMRequest ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsuccess` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/onsuccess)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn onsuccess ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsuccess_DOMRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomRequest as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsuccess` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/onsuccess)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn set_onsuccess ( & self , onsuccess : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsuccess_DOMRequest ( self_ : < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsuccess : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsuccess = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsuccess , & mut __stack ) ; __widl_f_set_onsuccess_DOMRequest ( self_ , onsuccess ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsuccess` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/onsuccess)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn set_onsuccess ( & self , onsuccess : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_DOMRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomRequest as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl DomRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/onerror)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_DOMRequest ( self_ : < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_DOMRequest ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/onerror)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_DOMRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomRequest as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/onerror)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_DOMRequest ( self_ : < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_DOMRequest ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMRequest/onerror)\n\n*This API requires the following crate features to be activated: `DomRequest`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMStringList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList)\n\n*This API requires the following crate features to be activated: `DomStringList`*" ] # [ repr ( transparent ) ] pub struct DomStringList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomStringList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomStringList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomStringList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomStringList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomStringList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomStringList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomStringList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomStringList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomStringList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomStringList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomStringList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomStringList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomStringList { # [ inline ] fn from ( obj : JsValue ) -> DomStringList { DomStringList { obj } } } impl AsRef < JsValue > for DomStringList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomStringList > for JsValue { # [ inline ] fn from ( obj : DomStringList ) -> JsValue { obj . obj } } impl JsCast for DomStringList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMStringList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMStringList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomStringList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomStringList ) } } } ( ) } ; impl core :: ops :: Deref for DomStringList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DomStringList > for Object { # [ inline ] fn from ( obj : DomStringList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomStringList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_contains_DOMStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomStringList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl DomStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `contains()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList/contains)\n\n*This API requires the following crate features to be activated: `DomStringList`*" ] pub fn contains ( & self , string : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_contains_DOMStringList ( self_ : < & DomStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , string : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let string = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( string , & mut __stack ) ; __widl_f_contains_DOMStringList ( self_ , string ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `contains()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList/contains)\n\n*This API requires the following crate features to be activated: `DomStringList`*" ] pub fn contains ( & self , string : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_DOMStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomStringList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl DomStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList/item)\n\n*This API requires the following crate features to be activated: `DomStringList`*" ] pub fn item ( & self , index : u32 ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_DOMStringList ( self_ : < & DomStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_DOMStringList ( self_ , index ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList/item)\n\n*This API requires the following crate features to be activated: `DomStringList`*" ] pub fn item ( & self , index : u32 ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_DOMStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomStringList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl DomStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `DomStringList`*" ] pub fn get ( & self , index : u32 ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_DOMStringList ( self_ : < & DomStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_DOMStringList ( self_ , index ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `DomStringList`*" ] pub fn get ( & self , index : u32 ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_DOMStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomStringList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl DomStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList/length)\n\n*This API requires the following crate features to be activated: `DomStringList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_DOMStringList ( self_ : < & DomStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_DOMStringList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList/length)\n\n*This API requires the following crate features to be activated: `DomStringList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMStringMap` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringMap)\n\n*This API requires the following crate features to be activated: `DomStringMap`*" ] # [ repr ( transparent ) ] pub struct DomStringMap { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomStringMap : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomStringMap { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomStringMap { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomStringMap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomStringMap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomStringMap { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomStringMap { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomStringMap { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomStringMap { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomStringMap { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomStringMap > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomStringMap { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomStringMap { # [ inline ] fn from ( obj : JsValue ) -> DomStringMap { DomStringMap { obj } } } impl AsRef < JsValue > for DomStringMap { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomStringMap > for JsValue { # [ inline ] fn from ( obj : DomStringMap ) -> JsValue { obj . obj } } impl JsCast for DomStringMap { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMStringMap ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMStringMap ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomStringMap { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomStringMap ) } } } ( ) } ; impl core :: ops :: Deref for DomStringMap { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DomStringMap > for Object { # [ inline ] fn from ( obj : DomStringMap ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomStringMap { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_DOMStringMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomStringMap as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DomStringMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `DomStringMap`*" ] pub fn get ( & self , name : & str ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_DOMStringMap ( self_ : < & DomStringMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomStringMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_DOMStringMap ( self_ , name ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `DomStringMap`*" ] pub fn get ( & self , name : & str ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_DOMStringMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomStringMap as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomStringMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing setter\n\n\n\n*This API requires the following crate features to be activated: `DomStringMap`*" ] pub fn set ( & self , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_DOMStringMap ( self_ : < & DomStringMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomStringMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_DOMStringMap ( self_ , name , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing setter\n\n\n\n*This API requires the following crate features to be activated: `DomStringMap`*" ] pub fn set ( & self , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_DOMStringMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomStringMap as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomStringMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing deleter\n\n\n\n*This API requires the following crate features to be activated: `DomStringMap`*" ] pub fn delete ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_DOMStringMap ( self_ : < & DomStringMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomStringMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_delete_DOMStringMap ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing deleter\n\n\n\n*This API requires the following crate features to be activated: `DomStringMap`*" ] pub fn delete ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DOMTokenList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] # [ repr ( transparent ) ] pub struct DomTokenList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DomTokenList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DomTokenList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DomTokenList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DomTokenList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DomTokenList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DomTokenList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DomTokenList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DomTokenList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DomTokenList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DomTokenList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DomTokenList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DomTokenList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DomTokenList { # [ inline ] fn from ( obj : JsValue ) -> DomTokenList { DomTokenList { obj } } } impl AsRef < JsValue > for DomTokenList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DomTokenList > for JsValue { # [ inline ] fn from ( obj : DomTokenList ) -> JsValue { obj . obj } } impl JsCast for DomTokenList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DOMTokenList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DOMTokenList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomTokenList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomTokenList ) } } } ( ) } ; impl core :: ops :: Deref for DomTokenList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DomTokenList > for Object { # [ inline ] fn from ( obj : DomTokenList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DomTokenList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add ( & self , tokens : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens , & mut __stack ) ; __widl_f_add_DOMTokenList ( self_ , tokens , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add ( & self , tokens : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_0_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_0_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_add_0_DOMTokenList ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_1_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_1 ( & self , tokens_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_1_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; __widl_f_add_1_DOMTokenList ( self_ , tokens_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_1 ( & self , tokens_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_2_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_2 ( & self , tokens_1 : & str , tokens_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_2_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; let tokens_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_2 , & mut __stack ) ; __widl_f_add_2_DOMTokenList ( self_ , tokens_1 , tokens_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_2 ( & self , tokens_1 : & str , tokens_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_3_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_3 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_3_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; let tokens_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_2 , & mut __stack ) ; let tokens_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_3 , & mut __stack ) ; __widl_f_add_3_DOMTokenList ( self_ , tokens_1 , tokens_2 , tokens_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_3 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_4_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_4 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_4_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; let tokens_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_2 , & mut __stack ) ; let tokens_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_3 , & mut __stack ) ; let tokens_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_4 , & mut __stack ) ; __widl_f_add_4_DOMTokenList ( self_ , tokens_1 , tokens_2 , tokens_3 , tokens_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_4 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_5_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_5 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str , tokens_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_5_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; let tokens_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_2 , & mut __stack ) ; let tokens_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_3 , & mut __stack ) ; let tokens_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_4 , & mut __stack ) ; let tokens_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_5 , & mut __stack ) ; __widl_f_add_5_DOMTokenList ( self_ , tokens_1 , tokens_2 , tokens_3 , tokens_4 , tokens_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_5 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str , tokens_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_6_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_6 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str , tokens_5 : & str , tokens_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_6_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; let tokens_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_2 , & mut __stack ) ; let tokens_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_3 , & mut __stack ) ; let tokens_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_4 , & mut __stack ) ; let tokens_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_5 , & mut __stack ) ; let tokens_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_6 , & mut __stack ) ; __widl_f_add_6_DOMTokenList ( self_ , tokens_1 , tokens_2 , tokens_3 , tokens_4 , tokens_5 , tokens_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_6 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str , tokens_5 : & str , tokens_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_7_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_7 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str , tokens_5 : & str , tokens_6 : & str , tokens_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_7_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; let tokens_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_2 , & mut __stack ) ; let tokens_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_3 , & mut __stack ) ; let tokens_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_4 , & mut __stack ) ; let tokens_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_5 , & mut __stack ) ; let tokens_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_6 , & mut __stack ) ; let tokens_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_7 , & mut __stack ) ; __widl_f_add_7_DOMTokenList ( self_ , tokens_1 , tokens_2 , tokens_3 , tokens_4 , tokens_5 , tokens_6 , tokens_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn add_7 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str , tokens_5 : & str , tokens_6 : & str , tokens_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_contains_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `contains()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/contains)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn contains ( & self , token : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_contains_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , token : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let token = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( token , & mut __stack ) ; __widl_f_contains_DOMTokenList ( self_ , token ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `contains()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/contains)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn contains ( & self , token : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/item)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn item ( & self , index : u32 ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_DOMTokenList ( self_ , index ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/item)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn item ( & self , index : u32 ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove ( & self , tokens : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens , & mut __stack ) ; __widl_f_remove_DOMTokenList ( self_ , tokens , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove ( & self , tokens : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_0_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_0_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_remove_0_DOMTokenList ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_1_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_1 ( & self , tokens_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_1_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; __widl_f_remove_1_DOMTokenList ( self_ , tokens_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_1 ( & self , tokens_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_2_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_2 ( & self , tokens_1 : & str , tokens_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_2_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; let tokens_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_2 , & mut __stack ) ; __widl_f_remove_2_DOMTokenList ( self_ , tokens_1 , tokens_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_2 ( & self , tokens_1 : & str , tokens_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_3_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_3 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_3_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; let tokens_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_2 , & mut __stack ) ; let tokens_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_3 , & mut __stack ) ; __widl_f_remove_3_DOMTokenList ( self_ , tokens_1 , tokens_2 , tokens_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_3 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_4_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_4 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_4_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; let tokens_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_2 , & mut __stack ) ; let tokens_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_3 , & mut __stack ) ; let tokens_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_4 , & mut __stack ) ; __widl_f_remove_4_DOMTokenList ( self_ , tokens_1 , tokens_2 , tokens_3 , tokens_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_4 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_5_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_5 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str , tokens_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_5_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; let tokens_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_2 , & mut __stack ) ; let tokens_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_3 , & mut __stack ) ; let tokens_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_4 , & mut __stack ) ; let tokens_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_5 , & mut __stack ) ; __widl_f_remove_5_DOMTokenList ( self_ , tokens_1 , tokens_2 , tokens_3 , tokens_4 , tokens_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_5 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str , tokens_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_6_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_6 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str , tokens_5 : & str , tokens_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_6_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; let tokens_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_2 , & mut __stack ) ; let tokens_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_3 , & mut __stack ) ; let tokens_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_4 , & mut __stack ) ; let tokens_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_5 , & mut __stack ) ; let tokens_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_6 , & mut __stack ) ; __widl_f_remove_6_DOMTokenList ( self_ , tokens_1 , tokens_2 , tokens_3 , tokens_4 , tokens_5 , tokens_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_6 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str , tokens_5 : & str , tokens_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_7_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_7 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str , tokens_5 : & str , tokens_6 : & str , tokens_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_7_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tokens_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tokens_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_1 , & mut __stack ) ; let tokens_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_2 , & mut __stack ) ; let tokens_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_3 , & mut __stack ) ; let tokens_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_4 , & mut __stack ) ; let tokens_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_5 , & mut __stack ) ; let tokens_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_6 , & mut __stack ) ; let tokens_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tokens_7 , & mut __stack ) ; __widl_f_remove_7_DOMTokenList ( self_ , tokens_1 , tokens_2 , tokens_3 , tokens_4 , tokens_5 , tokens_6 , tokens_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn remove_7 ( & self , tokens_1 : & str , tokens_2 : & str , tokens_3 : & str , tokens_4 : & str , tokens_5 : & str , tokens_6 : & str , tokens_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/replace)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn replace ( & self , token : & str , new_token : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , token : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_token : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let token = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( token , & mut __stack ) ; let new_token = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_token , & mut __stack ) ; __widl_f_replace_DOMTokenList ( self_ , token , new_token , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/replace)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn replace ( & self , token : & str , new_token : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_supports_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `supports()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/supports)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn supports ( & self , token : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_supports_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , token : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let token = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( token , & mut __stack ) ; __widl_f_supports_DOMTokenList ( self_ , token , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `supports()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/supports)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn supports ( & self , token : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_toggle_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toggle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/toggle)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn toggle ( & self , token : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_toggle_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , token : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let token = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( token , & mut __stack ) ; __widl_f_toggle_DOMTokenList ( self_ , token , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toggle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/toggle)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn toggle ( & self , token : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_toggle_with_force_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toggle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/toggle)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn toggle_with_force ( & self , token : & str , force : bool ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_toggle_with_force_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , token : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , force : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let token = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( token , & mut __stack ) ; let force = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( force , & mut __stack ) ; __widl_f_toggle_with_force_DOMTokenList ( self_ , token , force , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toggle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/toggle)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn toggle_with_force ( & self , token : & str , force : bool ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn get ( & self , index : u32 ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_DOMTokenList ( self_ , index ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn get ( & self , index : u32 ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/length)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_DOMTokenList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/length)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/value)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_DOMTokenList ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/value)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_DOMTokenList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DomTokenList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DomTokenList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/value)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn set_value ( & self , value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_DOMTokenList ( self_ : < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DomTokenList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_DOMTokenList ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/value)\n\n*This API requires the following crate features to be activated: `DomTokenList`*" ] pub fn set_value ( & self , value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DataTransfer` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] # [ repr ( transparent ) ] pub struct DataTransfer { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DataTransfer : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DataTransfer { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DataTransfer { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DataTransfer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DataTransfer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DataTransfer { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DataTransfer { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DataTransfer { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DataTransfer { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DataTransfer { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DataTransfer > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DataTransfer { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DataTransfer { # [ inline ] fn from ( obj : JsValue ) -> DataTransfer { DataTransfer { obj } } } impl AsRef < JsValue > for DataTransfer { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DataTransfer > for JsValue { # [ inline ] fn from ( obj : DataTransfer ) -> JsValue { obj . obj } } impl JsCast for DataTransfer { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DataTransfer ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DataTransfer ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DataTransfer { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DataTransfer ) } } } ( ) } ; impl core :: ops :: Deref for DataTransfer { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DataTransfer > for Object { # [ inline ] fn from ( obj : DataTransfer ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DataTransfer { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DataTransfer as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DataTransfer(..)` constructor, creating a new instance of `DataTransfer`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/DataTransfer)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn new ( ) -> Result < DataTransfer , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DataTransfer ( exn_data_ptr : * mut u32 ) -> < DataTransfer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_DataTransfer ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DataTransfer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DataTransfer(..)` constructor, creating a new instance of `DataTransfer`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/DataTransfer)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn new ( ) -> Result < DataTransfer , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_data_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/clearData)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn clear_data ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_data_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_data_DataTransfer ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/clearData)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn clear_data ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_data_with_format_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/clearData)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn clear_data_with_format ( & self , format : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_data_with_format_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let format = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; __widl_f_clear_data_with_format_DataTransfer ( self_ , format , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/clearData)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn clear_data_with_format ( & self , format : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_data_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getData)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn get_data ( & self , format : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_data_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let format = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; __widl_f_get_data_DataTransfer ( self_ , format , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getData)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn get_data ( & self , format : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_files_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFiles()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getFiles)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn get_files ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_files_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_files_DataTransfer ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFiles()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getFiles)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn get_files ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_files_with_recursive_flag_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFiles()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getFiles)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn get_files_with_recursive_flag ( & self , recursive_flag : bool ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_files_with_recursive_flag_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , recursive_flag : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let recursive_flag = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( recursive_flag , & mut __stack ) ; __widl_f_get_files_with_recursive_flag_DataTransfer ( self_ , recursive_flag , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFiles()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getFiles)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn get_files_with_recursive_flag ( & self , recursive_flag : bool ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_files_and_directories_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFilesAndDirectories()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getFilesAndDirectories)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn get_files_and_directories ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_files_and_directories_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_files_and_directories_DataTransfer ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFilesAndDirectories()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getFilesAndDirectories)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn get_files_and_directories ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_data_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/setData)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn set_data ( & self , format : & str , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_data_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let format = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_set_data_DataTransfer ( self_ , format , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/setData)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn set_data ( & self , format : & str , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_drag_image_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setDragImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/setDragImage)\n\n*This API requires the following crate features to be activated: `DataTransfer`, `Element`*" ] pub fn set_drag_image ( & self , image : & Element , x : i32 , y : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_drag_image_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let image = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_set_drag_image_DataTransfer ( self_ , image , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setDragImage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/setDragImage)\n\n*This API requires the following crate features to be activated: `DataTransfer`, `Element`*" ] pub fn set_drag_image ( & self , image : & Element , x : i32 , y : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_drop_effect_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dropEffect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/dropEffect)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn drop_effect ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_drop_effect_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_drop_effect_DataTransfer ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dropEffect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/dropEffect)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn drop_effect ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_drop_effect_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dropEffect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/dropEffect)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn set_drop_effect ( & self , drop_effect : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_drop_effect_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , drop_effect : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let drop_effect = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( drop_effect , & mut __stack ) ; __widl_f_set_drop_effect_DataTransfer ( self_ , drop_effect ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dropEffect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/dropEffect)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn set_drop_effect ( & self , drop_effect : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_effect_allowed_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `effectAllowed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/effectAllowed)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn effect_allowed ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_effect_allowed_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_effect_allowed_DataTransfer ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `effectAllowed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/effectAllowed)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn effect_allowed ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_effect_allowed_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `effectAllowed` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/effectAllowed)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn set_effect_allowed ( & self , effect_allowed : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_effect_allowed_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , effect_allowed : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let effect_allowed = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( effect_allowed , & mut __stack ) ; __widl_f_set_effect_allowed_DataTransfer ( self_ , effect_allowed ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `effectAllowed` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/effectAllowed)\n\n*This API requires the following crate features to be activated: `DataTransfer`*" ] pub fn set_effect_allowed ( & self , effect_allowed : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_items_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < DataTransferItemList as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `items` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/items)\n\n*This API requires the following crate features to be activated: `DataTransfer`, `DataTransferItemList`*" ] pub fn items ( & self , ) -> DataTransferItemList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_items_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DataTransferItemList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_items_DataTransfer ( self_ ) } ; < DataTransferItemList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `items` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/items)\n\n*This API requires the following crate features to be activated: `DataTransfer`, `DataTransferItemList`*" ] pub fn items ( & self , ) -> DataTransferItemList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_files_DataTransfer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DataTransfer as WasmDescribe > :: describe ( ) ; < Option < FileList > as WasmDescribe > :: describe ( ) ; } impl DataTransfer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `files` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/files)\n\n*This API requires the following crate features to be activated: `DataTransfer`, `FileList`*" ] pub fn files ( & self , ) -> Option < FileList > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_files_DataTransfer ( self_ : < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < FileList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransfer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_files_DataTransfer ( self_ ) } ; < Option < FileList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `files` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/files)\n\n*This API requires the following crate features to be activated: `DataTransfer`, `FileList`*" ] pub fn files ( & self , ) -> Option < FileList > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DataTransferItem` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem)\n\n*This API requires the following crate features to be activated: `DataTransferItem`*" ] # [ repr ( transparent ) ] pub struct DataTransferItem { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DataTransferItem : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DataTransferItem { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DataTransferItem { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DataTransferItem { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DataTransferItem { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DataTransferItem { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DataTransferItem { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DataTransferItem { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DataTransferItem { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DataTransferItem { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DataTransferItem > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DataTransferItem { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DataTransferItem { # [ inline ] fn from ( obj : JsValue ) -> DataTransferItem { DataTransferItem { obj } } } impl AsRef < JsValue > for DataTransferItem { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DataTransferItem > for JsValue { # [ inline ] fn from ( obj : DataTransferItem ) -> JsValue { obj . obj } } impl JsCast for DataTransferItem { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DataTransferItem ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DataTransferItem ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DataTransferItem { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DataTransferItem ) } } } ( ) } ; impl core :: ops :: Deref for DataTransferItem { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DataTransferItem > for Object { # [ inline ] fn from ( obj : DataTransferItem ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DataTransferItem { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_as_file_DataTransferItem ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DataTransferItem as WasmDescribe > :: describe ( ) ; < Option < File > as WasmDescribe > :: describe ( ) ; } impl DataTransferItem { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAsFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/getAsFile)\n\n*This API requires the following crate features to be activated: `DataTransferItem`, `File`*" ] pub fn get_as_file ( & self , ) -> Result < Option < File > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_as_file_DataTransferItem ( self_ : < & DataTransferItem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < File > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransferItem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_as_file_DataTransferItem ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < File > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAsFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/getAsFile)\n\n*This API requires the following crate features to be activated: `DataTransferItem`, `File`*" ] pub fn get_as_file ( & self , ) -> Result < Option < File > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_as_string_DataTransferItem ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DataTransferItem as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DataTransferItem { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAsString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/getAsString)\n\n*This API requires the following crate features to be activated: `DataTransferItem`*" ] pub fn get_as_string ( & self , callback : Option < & :: js_sys :: Function > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_as_string_DataTransferItem ( self_ : < & DataTransferItem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , callback : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransferItem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let callback = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( callback , & mut __stack ) ; __widl_f_get_as_string_DataTransferItem ( self_ , callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAsString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/getAsString)\n\n*This API requires the following crate features to be activated: `DataTransferItem`*" ] pub fn get_as_string ( & self , callback : Option < & :: js_sys :: Function > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_webkit_get_as_entry_DataTransferItem ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DataTransferItem as WasmDescribe > :: describe ( ) ; < Option < FileSystemEntry > as WasmDescribe > :: describe ( ) ; } impl DataTransferItem { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `webkitGetAsEntry()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/webkitGetAsEntry)\n\n*This API requires the following crate features to be activated: `DataTransferItem`, `FileSystemEntry`*" ] pub fn webkit_get_as_entry ( & self , ) -> Result < Option < FileSystemEntry > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_webkit_get_as_entry_DataTransferItem ( self_ : < & DataTransferItem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < FileSystemEntry > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransferItem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_webkit_get_as_entry_DataTransferItem ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < FileSystemEntry > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `webkitGetAsEntry()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/webkitGetAsEntry)\n\n*This API requires the following crate features to be activated: `DataTransferItem`, `FileSystemEntry`*" ] pub fn webkit_get_as_entry ( & self , ) -> Result < Option < FileSystemEntry > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kind_DataTransferItem ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DataTransferItem as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DataTransferItem { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/kind)\n\n*This API requires the following crate features to be activated: `DataTransferItem`*" ] pub fn kind ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kind_DataTransferItem ( self_ : < & DataTransferItem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransferItem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kind_DataTransferItem ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/kind)\n\n*This API requires the following crate features to be activated: `DataTransferItem`*" ] pub fn kind ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_DataTransferItem ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DataTransferItem as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DataTransferItem { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/type)\n\n*This API requires the following crate features to be activated: `DataTransferItem`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_DataTransferItem ( self_ : < & DataTransferItem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransferItem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_DataTransferItem ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/type)\n\n*This API requires the following crate features to be activated: `DataTransferItem`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DataTransferItemList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList)\n\n*This API requires the following crate features to be activated: `DataTransferItemList`*" ] # [ repr ( transparent ) ] pub struct DataTransferItemList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DataTransferItemList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DataTransferItemList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DataTransferItemList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DataTransferItemList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DataTransferItemList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DataTransferItemList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DataTransferItemList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DataTransferItemList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DataTransferItemList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DataTransferItemList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DataTransferItemList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DataTransferItemList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DataTransferItemList { # [ inline ] fn from ( obj : JsValue ) -> DataTransferItemList { DataTransferItemList { obj } } } impl AsRef < JsValue > for DataTransferItemList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DataTransferItemList > for JsValue { # [ inline ] fn from ( obj : DataTransferItemList ) -> JsValue { obj . obj } } impl JsCast for DataTransferItemList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DataTransferItemList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DataTransferItemList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DataTransferItemList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DataTransferItemList ) } } } ( ) } ; impl core :: ops :: Deref for DataTransferItemList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < DataTransferItemList > for Object { # [ inline ] fn from ( obj : DataTransferItemList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DataTransferItemList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_str_and_type_DataTransferItemList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DataTransferItemList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < DataTransferItem > as WasmDescribe > :: describe ( ) ; } impl DataTransferItemList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/add)\n\n*This API requires the following crate features to be activated: `DataTransferItem`, `DataTransferItemList`*" ] pub fn add_with_str_and_type ( & self , data : & str , type_ : & str ) -> Result < Option < DataTransferItem > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_str_and_type_DataTransferItemList ( self_ : < & DataTransferItemList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < DataTransferItem > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransferItemList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_add_with_str_and_type_DataTransferItemList ( self_ , data , type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < DataTransferItem > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/add)\n\n*This API requires the following crate features to be activated: `DataTransferItem`, `DataTransferItemList`*" ] pub fn add_with_str_and_type ( & self , data : & str , type_ : & str ) -> Result < Option < DataTransferItem > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_file_DataTransferItemList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DataTransferItemList as WasmDescribe > :: describe ( ) ; < & File as WasmDescribe > :: describe ( ) ; < Option < DataTransferItem > as WasmDescribe > :: describe ( ) ; } impl DataTransferItemList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/add)\n\n*This API requires the following crate features to be activated: `DataTransferItem`, `DataTransferItemList`, `File`*" ] pub fn add_with_file ( & self , data : & File ) -> Result < Option < DataTransferItem > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_file_DataTransferItemList ( self_ : < & DataTransferItemList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & File as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < DataTransferItem > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransferItemList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & File as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_add_with_file_DataTransferItemList ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < DataTransferItem > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/add)\n\n*This API requires the following crate features to be activated: `DataTransferItem`, `DataTransferItemList`, `File`*" ] pub fn add_with_file ( & self , data : & File ) -> Result < Option < DataTransferItem > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_DataTransferItemList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DataTransferItemList as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DataTransferItemList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/clear)\n\n*This API requires the following crate features to be activated: `DataTransferItemList`*" ] pub fn clear ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_DataTransferItemList ( self_ : < & DataTransferItemList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransferItemList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_DataTransferItemList ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/clear)\n\n*This API requires the following crate features to be activated: `DataTransferItemList`*" ] pub fn clear ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_DataTransferItemList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DataTransferItemList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DataTransferItemList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/remove)\n\n*This API requires the following crate features to be activated: `DataTransferItemList`*" ] pub fn remove ( & self , index : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_DataTransferItemList ( self_ : < & DataTransferItemList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransferItemList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_remove_DataTransferItemList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/remove)\n\n*This API requires the following crate features to be activated: `DataTransferItemList`*" ] pub fn remove ( & self , index : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_DataTransferItemList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DataTransferItemList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < DataTransferItem as WasmDescribe > :: describe ( ) ; } impl DataTransferItemList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `DataTransferItem`, `DataTransferItemList`*" ] pub fn get ( & self , index : u32 ) -> DataTransferItem { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_DataTransferItemList ( self_ : < & DataTransferItemList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DataTransferItem as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransferItemList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_DataTransferItemList ( self_ , index ) } ; < DataTransferItem as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `DataTransferItem`, `DataTransferItemList`*" ] pub fn get ( & self , index : u32 ) -> DataTransferItem { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_DataTransferItemList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DataTransferItemList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl DataTransferItemList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/length)\n\n*This API requires the following crate features to be activated: `DataTransferItemList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_DataTransferItemList ( self_ : < & DataTransferItemList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DataTransferItemList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_DataTransferItemList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/length)\n\n*This API requires the following crate features to be activated: `DataTransferItemList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DedicatedWorkerGlobalScope` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] # [ repr ( transparent ) ] pub struct DedicatedWorkerGlobalScope { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DedicatedWorkerGlobalScope : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DedicatedWorkerGlobalScope { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DedicatedWorkerGlobalScope { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DedicatedWorkerGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DedicatedWorkerGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DedicatedWorkerGlobalScope { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DedicatedWorkerGlobalScope { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DedicatedWorkerGlobalScope { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DedicatedWorkerGlobalScope { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DedicatedWorkerGlobalScope { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DedicatedWorkerGlobalScope > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DedicatedWorkerGlobalScope { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DedicatedWorkerGlobalScope { # [ inline ] fn from ( obj : JsValue ) -> DedicatedWorkerGlobalScope { DedicatedWorkerGlobalScope { obj } } } impl AsRef < JsValue > for DedicatedWorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DedicatedWorkerGlobalScope > for JsValue { # [ inline ] fn from ( obj : DedicatedWorkerGlobalScope ) -> JsValue { obj . obj } } impl JsCast for DedicatedWorkerGlobalScope { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DedicatedWorkerGlobalScope ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DedicatedWorkerGlobalScope ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DedicatedWorkerGlobalScope { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DedicatedWorkerGlobalScope ) } } } ( ) } ; impl core :: ops :: Deref for DedicatedWorkerGlobalScope { type Target = WorkerGlobalScope ; # [ inline ] fn deref ( & self ) -> & WorkerGlobalScope { self . as_ref ( ) } } impl From < DedicatedWorkerGlobalScope > for WorkerGlobalScope { # [ inline ] fn from ( obj : DedicatedWorkerGlobalScope ) -> WorkerGlobalScope { use wasm_bindgen :: JsCast ; WorkerGlobalScope :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < WorkerGlobalScope > for DedicatedWorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & WorkerGlobalScope { use wasm_bindgen :: JsCast ; WorkerGlobalScope :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DedicatedWorkerGlobalScope > for EventTarget { # [ inline ] fn from ( obj : DedicatedWorkerGlobalScope ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for DedicatedWorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DedicatedWorkerGlobalScope > for Object { # [ inline ] fn from ( obj : DedicatedWorkerGlobalScope ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DedicatedWorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_DedicatedWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DedicatedWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DedicatedWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/close)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_DedicatedWorkerGlobalScope ( self_ : < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_DedicatedWorkerGlobalScope ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/close)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_post_message_DedicatedWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DedicatedWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DedicatedWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/postMessage)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_post_message_DedicatedWorkerGlobalScope ( self_ : < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let message = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; __widl_f_post_message_DedicatedWorkerGlobalScope ( self_ , message , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/postMessage)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_DedicatedWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DedicatedWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DedicatedWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/name)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_DedicatedWorkerGlobalScope ( self_ : < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_DedicatedWorkerGlobalScope ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/name)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_DedicatedWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DedicatedWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl DedicatedWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/onmessage)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_DedicatedWorkerGlobalScope ( self_ : < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_DedicatedWorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/onmessage)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_DedicatedWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DedicatedWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DedicatedWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/onmessage)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_DedicatedWorkerGlobalScope ( self_ : < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_DedicatedWorkerGlobalScope ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/onmessage)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessageerror_DedicatedWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DedicatedWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl DedicatedWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/onmessageerror)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessageerror_DedicatedWorkerGlobalScope ( self_ : < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessageerror_DedicatedWorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/onmessageerror)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessageerror_DedicatedWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DedicatedWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DedicatedWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/onmessageerror)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessageerror_DedicatedWorkerGlobalScope ( self_ : < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessageerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DedicatedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessageerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessageerror , & mut __stack ) ; __widl_f_set_onmessageerror_DedicatedWorkerGlobalScope ( self_ , onmessageerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/onmessageerror)\n\n*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DelayNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DelayNode)\n\n*This API requires the following crate features to be activated: `DelayNode`*" ] # [ repr ( transparent ) ] pub struct DelayNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DelayNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DelayNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DelayNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DelayNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DelayNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DelayNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DelayNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DelayNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DelayNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DelayNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DelayNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DelayNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DelayNode { # [ inline ] fn from ( obj : JsValue ) -> DelayNode { DelayNode { obj } } } impl AsRef < JsValue > for DelayNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DelayNode > for JsValue { # [ inline ] fn from ( obj : DelayNode ) -> JsValue { obj . obj } } impl JsCast for DelayNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DelayNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DelayNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DelayNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DelayNode ) } } } ( ) } ; impl core :: ops :: Deref for DelayNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < DelayNode > for AudioNode { # [ inline ] fn from ( obj : DelayNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for DelayNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DelayNode > for EventTarget { # [ inline ] fn from ( obj : DelayNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for DelayNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DelayNode > for Object { # [ inline ] fn from ( obj : DelayNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DelayNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DelayNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < DelayNode as WasmDescribe > :: describe ( ) ; } impl DelayNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DelayNode(..)` constructor, creating a new instance of `DelayNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DelayNode/DelayNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DelayNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DelayNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_DelayNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DelayNode(..)` constructor, creating a new instance of `DelayNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DelayNode/DelayNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DelayNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_DelayNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & DelayOptions as WasmDescribe > :: describe ( ) ; < DelayNode as WasmDescribe > :: describe ( ) ; } impl DelayNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DelayNode(..)` constructor, creating a new instance of `DelayNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DelayNode/DelayNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DelayNode`, `DelayOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & DelayOptions ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_DelayNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & DelayOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & DelayOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_DelayNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DelayNode(..)` constructor, creating a new instance of `DelayNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DelayNode/DelayNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DelayNode`, `DelayOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & DelayOptions ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delay_time_DelayNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DelayNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl DelayNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `delayTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DelayNode/delayTime)\n\n*This API requires the following crate features to be activated: `AudioParam`, `DelayNode`*" ] pub fn delay_time ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delay_time_DelayNode ( self_ : < & DelayNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DelayNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_delay_time_DelayNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `delayTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DelayNode/delayTime)\n\n*This API requires the following crate features to be activated: `AudioParam`, `DelayNode`*" ] pub fn delay_time ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DeviceLightEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent)\n\n*This API requires the following crate features to be activated: `DeviceLightEvent`*" ] # [ repr ( transparent ) ] pub struct DeviceLightEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DeviceLightEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DeviceLightEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DeviceLightEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DeviceLightEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DeviceLightEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DeviceLightEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DeviceLightEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DeviceLightEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DeviceLightEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DeviceLightEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DeviceLightEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DeviceLightEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DeviceLightEvent { # [ inline ] fn from ( obj : JsValue ) -> DeviceLightEvent { DeviceLightEvent { obj } } } impl AsRef < JsValue > for DeviceLightEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DeviceLightEvent > for JsValue { # [ inline ] fn from ( obj : DeviceLightEvent ) -> JsValue { obj . obj } } impl JsCast for DeviceLightEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DeviceLightEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DeviceLightEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DeviceLightEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DeviceLightEvent ) } } } ( ) } ; impl core :: ops :: Deref for DeviceLightEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < DeviceLightEvent > for Event { # [ inline ] fn from ( obj : DeviceLightEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for DeviceLightEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DeviceLightEvent > for Object { # [ inline ] fn from ( obj : DeviceLightEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DeviceLightEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DeviceLightEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < DeviceLightEvent as WasmDescribe > :: describe ( ) ; } impl DeviceLightEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DeviceLightEvent(..)` constructor, creating a new instance of `DeviceLightEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent/DeviceLightEvent)\n\n*This API requires the following crate features to be activated: `DeviceLightEvent`*" ] pub fn new ( type_ : & str ) -> Result < DeviceLightEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DeviceLightEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DeviceLightEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_DeviceLightEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DeviceLightEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DeviceLightEvent(..)` constructor, creating a new instance of `DeviceLightEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent/DeviceLightEvent)\n\n*This API requires the following crate features to be activated: `DeviceLightEvent`*" ] pub fn new ( type_ : & str ) -> Result < DeviceLightEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_DeviceLightEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & DeviceLightEventInit as WasmDescribe > :: describe ( ) ; < DeviceLightEvent as WasmDescribe > :: describe ( ) ; } impl DeviceLightEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DeviceLightEvent(..)` constructor, creating a new instance of `DeviceLightEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent/DeviceLightEvent)\n\n*This API requires the following crate features to be activated: `DeviceLightEvent`, `DeviceLightEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & DeviceLightEventInit ) -> Result < DeviceLightEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_DeviceLightEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & DeviceLightEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DeviceLightEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & DeviceLightEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_DeviceLightEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DeviceLightEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DeviceLightEvent(..)` constructor, creating a new instance of `DeviceLightEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent/DeviceLightEvent)\n\n*This API requires the following crate features to be activated: `DeviceLightEvent`, `DeviceLightEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & DeviceLightEventInit ) -> Result < DeviceLightEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_DeviceLightEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DeviceLightEvent as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DeviceLightEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent/value)\n\n*This API requires the following crate features to be activated: `DeviceLightEvent`*" ] pub fn value ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_DeviceLightEvent ( self_ : < & DeviceLightEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceLightEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_DeviceLightEvent ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent/value)\n\n*This API requires the following crate features to be activated: `DeviceLightEvent`*" ] pub fn value ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DeviceMotionEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent)\n\n*This API requires the following crate features to be activated: `DeviceMotionEvent`*" ] # [ repr ( transparent ) ] pub struct DeviceMotionEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DeviceMotionEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DeviceMotionEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DeviceMotionEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DeviceMotionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DeviceMotionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DeviceMotionEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DeviceMotionEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DeviceMotionEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DeviceMotionEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DeviceMotionEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DeviceMotionEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DeviceMotionEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DeviceMotionEvent { # [ inline ] fn from ( obj : JsValue ) -> DeviceMotionEvent { DeviceMotionEvent { obj } } } impl AsRef < JsValue > for DeviceMotionEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DeviceMotionEvent > for JsValue { # [ inline ] fn from ( obj : DeviceMotionEvent ) -> JsValue { obj . obj } } impl JsCast for DeviceMotionEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DeviceMotionEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DeviceMotionEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DeviceMotionEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DeviceMotionEvent ) } } } ( ) } ; impl core :: ops :: Deref for DeviceMotionEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < DeviceMotionEvent > for Event { # [ inline ] fn from ( obj : DeviceMotionEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for DeviceMotionEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DeviceMotionEvent > for Object { # [ inline ] fn from ( obj : DeviceMotionEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DeviceMotionEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DeviceMotionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < DeviceMotionEvent as WasmDescribe > :: describe ( ) ; } impl DeviceMotionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DeviceMotionEvent(..)` constructor, creating a new instance of `DeviceMotionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/DeviceMotionEvent)\n\n*This API requires the following crate features to be activated: `DeviceMotionEvent`*" ] pub fn new ( type_ : & str ) -> Result < DeviceMotionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DeviceMotionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DeviceMotionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_DeviceMotionEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DeviceMotionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DeviceMotionEvent(..)` constructor, creating a new instance of `DeviceMotionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/DeviceMotionEvent)\n\n*This API requires the following crate features to be activated: `DeviceMotionEvent`*" ] pub fn new ( type_ : & str ) -> Result < DeviceMotionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_DeviceMotionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & DeviceMotionEventInit as WasmDescribe > :: describe ( ) ; < DeviceMotionEvent as WasmDescribe > :: describe ( ) ; } impl DeviceMotionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DeviceMotionEvent(..)` constructor, creating a new instance of `DeviceMotionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/DeviceMotionEvent)\n\n*This API requires the following crate features to be activated: `DeviceMotionEvent`, `DeviceMotionEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & DeviceMotionEventInit ) -> Result < DeviceMotionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_DeviceMotionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & DeviceMotionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DeviceMotionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & DeviceMotionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_DeviceMotionEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DeviceMotionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DeviceMotionEvent(..)` constructor, creating a new instance of `DeviceMotionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/DeviceMotionEvent)\n\n*This API requires the following crate features to be activated: `DeviceMotionEvent`, `DeviceMotionEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & DeviceMotionEventInit ) -> Result < DeviceMotionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_interval_DeviceMotionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DeviceMotionEvent as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; } impl DeviceMotionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `interval` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/interval)\n\n*This API requires the following crate features to be activated: `DeviceMotionEvent`*" ] pub fn interval ( & self , ) -> Option < f64 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_interval_DeviceMotionEvent ( self_ : < & DeviceMotionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceMotionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_interval_DeviceMotionEvent ( self_ ) } ; < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `interval` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/interval)\n\n*This API requires the following crate features to be activated: `DeviceMotionEvent`*" ] pub fn interval ( & self , ) -> Option < f64 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DeviceOrientationEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] # [ repr ( transparent ) ] pub struct DeviceOrientationEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DeviceOrientationEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DeviceOrientationEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DeviceOrientationEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DeviceOrientationEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DeviceOrientationEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DeviceOrientationEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DeviceOrientationEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DeviceOrientationEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DeviceOrientationEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DeviceOrientationEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DeviceOrientationEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DeviceOrientationEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DeviceOrientationEvent { # [ inline ] fn from ( obj : JsValue ) -> DeviceOrientationEvent { DeviceOrientationEvent { obj } } } impl AsRef < JsValue > for DeviceOrientationEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DeviceOrientationEvent > for JsValue { # [ inline ] fn from ( obj : DeviceOrientationEvent ) -> JsValue { obj . obj } } impl JsCast for DeviceOrientationEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DeviceOrientationEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DeviceOrientationEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DeviceOrientationEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DeviceOrientationEvent ) } } } ( ) } ; impl core :: ops :: Deref for DeviceOrientationEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < DeviceOrientationEvent > for Event { # [ inline ] fn from ( obj : DeviceOrientationEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for DeviceOrientationEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DeviceOrientationEvent > for Object { # [ inline ] fn from ( obj : DeviceOrientationEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DeviceOrientationEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DeviceOrientationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < DeviceOrientationEvent as WasmDescribe > :: describe ( ) ; } impl DeviceOrientationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DeviceOrientationEvent(..)` constructor, creating a new instance of `DeviceOrientationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/DeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn new ( type_ : & str ) -> Result < DeviceOrientationEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DeviceOrientationEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DeviceOrientationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_DeviceOrientationEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DeviceOrientationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DeviceOrientationEvent(..)` constructor, creating a new instance of `DeviceOrientationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/DeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn new ( type_ : & str ) -> Result < DeviceOrientationEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_DeviceOrientationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & DeviceOrientationEventInit as WasmDescribe > :: describe ( ) ; < DeviceOrientationEvent as WasmDescribe > :: describe ( ) ; } impl DeviceOrientationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DeviceOrientationEvent(..)` constructor, creating a new instance of `DeviceOrientationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/DeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`, `DeviceOrientationEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & DeviceOrientationEventInit ) -> Result < DeviceOrientationEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_DeviceOrientationEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & DeviceOrientationEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DeviceOrientationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & DeviceOrientationEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_DeviceOrientationEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DeviceOrientationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DeviceOrientationEvent(..)` constructor, creating a new instance of `DeviceOrientationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/DeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`, `DeviceOrientationEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & DeviceOrientationEventInit ) -> Result < DeviceOrientationEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_device_orientation_event_DeviceOrientationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DeviceOrientationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DeviceOrientationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_device_orientation_event_DeviceOrientationEvent ( self_ : < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_init_device_orientation_event_DeviceOrientationEvent ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_device_orientation_event_with_can_bubble_DeviceOrientationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DeviceOrientationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DeviceOrientationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_device_orientation_event_with_can_bubble_DeviceOrientationEvent ( self_ : < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; __widl_f_init_device_orientation_event_with_can_bubble_DeviceOrientationEvent ( self_ , type_ , can_bubble ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_DeviceOrientationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DeviceOrientationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DeviceOrientationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_DeviceOrientationEvent ( self_ : < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; __widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_DeviceOrientationEvent ( self_ , type_ , can_bubble , cancelable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_DeviceOrientationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DeviceOrientationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DeviceOrientationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha ( & self , type_ : & str , can_bubble : bool , cancelable : bool , alpha : Option < f64 > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_DeviceOrientationEvent ( self_ : < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alpha : < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let alpha = < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alpha , & mut __stack ) ; __widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_DeviceOrientationEvent ( self_ , type_ , can_bubble , cancelable , alpha ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha ( & self , type_ : & str , can_bubble : bool , cancelable : bool , alpha : Option < f64 > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_DeviceOrientationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DeviceOrientationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DeviceOrientationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta ( & self , type_ : & str , can_bubble : bool , cancelable : bool , alpha : Option < f64 > , beta : Option < f64 > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_DeviceOrientationEvent ( self_ : < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alpha : < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , beta : < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let alpha = < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alpha , & mut __stack ) ; let beta = < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( beta , & mut __stack ) ; __widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_DeviceOrientationEvent ( self_ , type_ , can_bubble , cancelable , alpha , beta ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta ( & self , type_ : & str , can_bubble : bool , cancelable : bool , alpha : Option < f64 > , beta : Option < f64 > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma_DeviceOrientationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DeviceOrientationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DeviceOrientationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma ( & self , type_ : & str , can_bubble : bool , cancelable : bool , alpha : Option < f64 > , beta : Option < f64 > , gamma : Option < f64 > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma_DeviceOrientationEvent ( self_ : < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alpha : < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , beta : < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , gamma : < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let alpha = < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alpha , & mut __stack ) ; let beta = < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( beta , & mut __stack ) ; let gamma = < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( gamma , & mut __stack ) ; __widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma_DeviceOrientationEvent ( self_ , type_ , can_bubble , cancelable , alpha , beta , gamma ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma ( & self , type_ : & str , can_bubble : bool , cancelable : bool , alpha : Option < f64 > , beta : Option < f64 > , gamma : Option < f64 > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma_and_absolute_DeviceOrientationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DeviceOrientationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DeviceOrientationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma_and_absolute ( & self , type_ : & str , can_bubble : bool , cancelable : bool , alpha : Option < f64 > , beta : Option < f64 > , gamma : Option < f64 > , absolute : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma_and_absolute_DeviceOrientationEvent ( self_ : < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alpha : < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , beta : < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , gamma : < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , absolute : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let alpha = < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alpha , & mut __stack ) ; let beta = < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( beta , & mut __stack ) ; let gamma = < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( gamma , & mut __stack ) ; let absolute = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( absolute , & mut __stack ) ; __widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma_and_absolute_DeviceOrientationEvent ( self_ , type_ , can_bubble , cancelable , alpha , beta , gamma , absolute ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDeviceOrientationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/initDeviceOrientationEvent)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma_and_absolute ( & self , type_ : & str , can_bubble : bool , cancelable : bool , alpha : Option < f64 > , beta : Option < f64 > , gamma : Option < f64 > , absolute : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_alpha_DeviceOrientationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DeviceOrientationEvent as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; } impl DeviceOrientationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `alpha` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/alpha)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn alpha ( & self , ) -> Option < f64 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_alpha_DeviceOrientationEvent ( self_ : < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_alpha_DeviceOrientationEvent ( self_ ) } ; < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `alpha` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/alpha)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn alpha ( & self , ) -> Option < f64 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_beta_DeviceOrientationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DeviceOrientationEvent as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; } impl DeviceOrientationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `beta` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/beta)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn beta ( & self , ) -> Option < f64 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_beta_DeviceOrientationEvent ( self_ : < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_beta_DeviceOrientationEvent ( self_ ) } ; < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `beta` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/beta)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn beta ( & self , ) -> Option < f64 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_gamma_DeviceOrientationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DeviceOrientationEvent as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; } impl DeviceOrientationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `gamma` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/gamma)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn gamma ( & self , ) -> Option < f64 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_gamma_DeviceOrientationEvent ( self_ : < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_gamma_DeviceOrientationEvent ( self_ ) } ; < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `gamma` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/gamma)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn gamma ( & self , ) -> Option < f64 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_absolute_DeviceOrientationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DeviceOrientationEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl DeviceOrientationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `absolute` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/absolute)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn absolute ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_absolute_DeviceOrientationEvent ( self_ : < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceOrientationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_absolute_DeviceOrientationEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `absolute` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/absolute)\n\n*This API requires the following crate features to be activated: `DeviceOrientationEvent`*" ] pub fn absolute ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DeviceProximityEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent)\n\n*This API requires the following crate features to be activated: `DeviceProximityEvent`*" ] # [ repr ( transparent ) ] pub struct DeviceProximityEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DeviceProximityEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DeviceProximityEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DeviceProximityEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DeviceProximityEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DeviceProximityEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DeviceProximityEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DeviceProximityEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DeviceProximityEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DeviceProximityEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DeviceProximityEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DeviceProximityEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DeviceProximityEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DeviceProximityEvent { # [ inline ] fn from ( obj : JsValue ) -> DeviceProximityEvent { DeviceProximityEvent { obj } } } impl AsRef < JsValue > for DeviceProximityEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DeviceProximityEvent > for JsValue { # [ inline ] fn from ( obj : DeviceProximityEvent ) -> JsValue { obj . obj } } impl JsCast for DeviceProximityEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DeviceProximityEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DeviceProximityEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DeviceProximityEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DeviceProximityEvent ) } } } ( ) } ; impl core :: ops :: Deref for DeviceProximityEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < DeviceProximityEvent > for Event { # [ inline ] fn from ( obj : DeviceProximityEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for DeviceProximityEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DeviceProximityEvent > for Object { # [ inline ] fn from ( obj : DeviceProximityEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DeviceProximityEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DeviceProximityEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < DeviceProximityEvent as WasmDescribe > :: describe ( ) ; } impl DeviceProximityEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DeviceProximityEvent(..)` constructor, creating a new instance of `DeviceProximityEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/DeviceProximityEvent)\n\n*This API requires the following crate features to be activated: `DeviceProximityEvent`*" ] pub fn new ( type_ : & str ) -> Result < DeviceProximityEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DeviceProximityEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DeviceProximityEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_DeviceProximityEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DeviceProximityEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DeviceProximityEvent(..)` constructor, creating a new instance of `DeviceProximityEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/DeviceProximityEvent)\n\n*This API requires the following crate features to be activated: `DeviceProximityEvent`*" ] pub fn new ( type_ : & str ) -> Result < DeviceProximityEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_DeviceProximityEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & DeviceProximityEventInit as WasmDescribe > :: describe ( ) ; < DeviceProximityEvent as WasmDescribe > :: describe ( ) ; } impl DeviceProximityEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DeviceProximityEvent(..)` constructor, creating a new instance of `DeviceProximityEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/DeviceProximityEvent)\n\n*This API requires the following crate features to be activated: `DeviceProximityEvent`, `DeviceProximityEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & DeviceProximityEventInit ) -> Result < DeviceProximityEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_DeviceProximityEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & DeviceProximityEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DeviceProximityEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & DeviceProximityEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_DeviceProximityEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DeviceProximityEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DeviceProximityEvent(..)` constructor, creating a new instance of `DeviceProximityEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/DeviceProximityEvent)\n\n*This API requires the following crate features to be activated: `DeviceProximityEvent`, `DeviceProximityEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & DeviceProximityEventInit ) -> Result < DeviceProximityEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_DeviceProximityEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DeviceProximityEvent as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DeviceProximityEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/value)\n\n*This API requires the following crate features to be activated: `DeviceProximityEvent`*" ] pub fn value ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_DeviceProximityEvent ( self_ : < & DeviceProximityEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceProximityEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_DeviceProximityEvent ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/value)\n\n*This API requires the following crate features to be activated: `DeviceProximityEvent`*" ] pub fn value ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_min_DeviceProximityEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DeviceProximityEvent as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DeviceProximityEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `min` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/min)\n\n*This API requires the following crate features to be activated: `DeviceProximityEvent`*" ] pub fn min ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_min_DeviceProximityEvent ( self_ : < & DeviceProximityEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceProximityEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_min_DeviceProximityEvent ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `min` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/min)\n\n*This API requires the following crate features to be activated: `DeviceProximityEvent`*" ] pub fn min ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_DeviceProximityEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DeviceProximityEvent as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl DeviceProximityEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `max` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/max)\n\n*This API requires the following crate features to be activated: `DeviceProximityEvent`*" ] pub fn max ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_DeviceProximityEvent ( self_ : < & DeviceProximityEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DeviceProximityEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_DeviceProximityEvent ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `max` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DeviceProximityEvent/max)\n\n*This API requires the following crate features to be activated: `DeviceProximityEvent`*" ] pub fn max ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Directory` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory)\n\n*This API requires the following crate features to be activated: `Directory`*" ] # [ repr ( transparent ) ] pub struct Directory { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Directory : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Directory { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Directory { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Directory { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Directory { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Directory { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Directory { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Directory { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Directory { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Directory { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Directory > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Directory { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Directory { # [ inline ] fn from ( obj : JsValue ) -> Directory { Directory { obj } } } impl AsRef < JsValue > for Directory { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Directory > for JsValue { # [ inline ] fn from ( obj : Directory ) -> JsValue { obj . obj } } impl JsCast for Directory { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Directory ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Directory ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Directory { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Directory ) } } } ( ) } ; impl core :: ops :: Deref for Directory { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Directory > for Object { # [ inline ] fn from ( obj : Directory ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Directory { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_files_Directory ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Directory as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Directory { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFiles()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/getFiles)\n\n*This API requires the following crate features to be activated: `Directory`*" ] pub fn get_files ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_files_Directory ( self_ : < & Directory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Directory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_files_Directory ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFiles()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/getFiles)\n\n*This API requires the following crate features to be activated: `Directory`*" ] pub fn get_files ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_files_with_recursive_flag_Directory ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Directory as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Directory { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFiles()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/getFiles)\n\n*This API requires the following crate features to be activated: `Directory`*" ] pub fn get_files_with_recursive_flag ( & self , recursive_flag : bool ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_files_with_recursive_flag_Directory ( self_ : < & Directory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , recursive_flag : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Directory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let recursive_flag = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( recursive_flag , & mut __stack ) ; __widl_f_get_files_with_recursive_flag_Directory ( self_ , recursive_flag , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFiles()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/getFiles)\n\n*This API requires the following crate features to be activated: `Directory`*" ] pub fn get_files_with_recursive_flag ( & self , recursive_flag : bool ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_files_and_directories_Directory ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Directory as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Directory { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFilesAndDirectories()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/getFilesAndDirectories)\n\n*This API requires the following crate features to be activated: `Directory`*" ] pub fn get_files_and_directories ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_files_and_directories_Directory ( self_ : < & Directory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Directory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_files_and_directories_Directory ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFilesAndDirectories()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/getFilesAndDirectories)\n\n*This API requires the following crate features to be activated: `Directory`*" ] pub fn get_files_and_directories ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_Directory ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Directory as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Directory { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/name)\n\n*This API requires the following crate features to be activated: `Directory`*" ] pub fn name ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_Directory ( self_ : < & Directory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Directory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_Directory ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/name)\n\n*This API requires the following crate features to be activated: `Directory`*" ] pub fn name ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_path_Directory ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Directory as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Directory { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `path` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/path)\n\n*This API requires the following crate features to be activated: `Directory`*" ] pub fn path ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_path_Directory ( self_ : < & Directory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Directory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_path_Directory ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `path` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Directory/path)\n\n*This API requires the following crate features to be activated: `Directory`*" ] pub fn path ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Document` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document)\n\n*This API requires the following crate features to be activated: `Document`*" ] # [ repr ( transparent ) ] pub struct Document { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Document : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Document { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Document { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Document { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Document { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Document { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Document { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Document { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Document { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Document { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Document > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Document { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Document { # [ inline ] fn from ( obj : JsValue ) -> Document { Document { obj } } } impl AsRef < JsValue > for Document { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Document > for JsValue { # [ inline ] fn from ( obj : Document ) -> JsValue { obj . obj } } impl JsCast for Document { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Document ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Document ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Document { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Document ) } } } ( ) } ; impl core :: ops :: Deref for Document { type Target = Node ; # [ inline ] fn deref ( & self ) -> & Node { self . as_ref ( ) } } impl From < Document > for Node { # [ inline ] fn from ( obj : Document ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for Document { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Document > for EventTarget { # [ inline ] fn from ( obj : Document ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for Document { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Document > for Object { # [ inline ] fn from ( obj : Document ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Document { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < Document as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Document(..)` constructor, creating a new instance of `Document`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/Document)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn new ( ) -> Result < Document , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Document ( exn_data_ptr : * mut u32 ) -> < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_Document ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Document(..)` constructor, creating a new instance of `Document`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/Document)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn new ( ) -> Result < Document , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_adopt_node_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `adoptNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/adoptNode)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn adopt_node ( & self , node : & Node ) -> Result < Node , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_adopt_node_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; __widl_f_adopt_node_Document ( self_ , node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `adoptNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/adoptNode)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn adopt_node ( & self , node : & Node ) -> Result < Node , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_caret_position_from_point_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < Option < CaretPosition > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `caretPositionFromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/caretPositionFromPoint)\n\n*This API requires the following crate features to be activated: `CaretPosition`, `Document`*" ] pub fn caret_position_from_point ( & self , x : f32 , y : f32 ) -> Option < CaretPosition > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_caret_position_from_point_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < CaretPosition > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_caret_position_from_point_Document ( self_ , x , y ) } ; < Option < CaretPosition > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `caretPositionFromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/caretPositionFromPoint)\n\n*This API requires the following crate features to be activated: `CaretPosition`, `Document`*" ] pub fn caret_position_from_point ( & self , x : f32 , y : f32 ) -> Option < CaretPosition > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_attribute_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Attr as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttribute)\n\n*This API requires the following crate features to be activated: `Attr`, `Document`*" ] pub fn create_attribute ( & self , name : & str ) -> Result < Attr , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_attribute_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Attr as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_create_attribute_Document ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Attr as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttribute)\n\n*This API requires the following crate features to be activated: `Attr`, `Document`*" ] pub fn create_attribute ( & self , name : & str ) -> Result < Attr , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_attribute_ns_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Attr as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createAttributeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttributeNS)\n\n*This API requires the following crate features to be activated: `Attr`, `Document`*" ] pub fn create_attribute_ns ( & self , namespace : Option < & str > , name : & str ) -> Result < Attr , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_attribute_ns_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Attr as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_create_attribute_ns_Document ( self_ , namespace , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Attr as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createAttributeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttributeNS)\n\n*This API requires the following crate features to be activated: `Attr`, `Document`*" ] pub fn create_attribute_ns ( & self , namespace : Option < & str > , name : & str ) -> Result < Attr , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_cdata_section_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < CdataSection as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createCDATASection()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createCDATASection)\n\n*This API requires the following crate features to be activated: `CdataSection`, `Document`*" ] pub fn create_cdata_section ( & self , data : & str ) -> Result < CdataSection , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_cdata_section_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < CdataSection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_create_cdata_section_Document ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < CdataSection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createCDATASection()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createCDATASection)\n\n*This API requires the following crate features to be activated: `CdataSection`, `Document`*" ] pub fn create_cdata_section ( & self , data : & str ) -> Result < CdataSection , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_comment_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Comment as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createComment()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createComment)\n\n*This API requires the following crate features to be activated: `Comment`, `Document`*" ] pub fn create_comment ( & self , data : & str ) -> Comment { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_comment_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Comment as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_create_comment_Document ( self_ , data ) } ; < Comment as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createComment()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createComment)\n\n*This API requires the following crate features to be activated: `Comment`, `Document`*" ] pub fn create_comment ( & self , data : & str ) -> Comment { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_document_fragment_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < DocumentFragment as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDocumentFragment()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createDocumentFragment)\n\n*This API requires the following crate features to be activated: `Document`, `DocumentFragment`*" ] pub fn create_document_fragment ( & self , ) -> DocumentFragment { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_document_fragment_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_document_fragment_Document ( self_ ) } ; < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDocumentFragment()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createDocumentFragment)\n\n*This API requires the following crate features to be activated: `Document`, `DocumentFragment`*" ] pub fn create_document_fragment ( & self , ) -> DocumentFragment { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_element_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Element as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn create_element ( & self , local_name : & str ) -> Result < Element , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_element_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; __widl_f_create_element_Document ( self_ , local_name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn create_element ( & self , local_name : & str ) -> Result < Element , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_element_with_element_creation_options_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & ElementCreationOptions as WasmDescribe > :: describe ( ) ; < Element as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`, `ElementCreationOptions`*" ] pub fn create_element_with_element_creation_options ( & self , local_name : & str , options : & ElementCreationOptions ) -> Result < Element , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_element_with_element_creation_options_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ElementCreationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; let options = < & ElementCreationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_create_element_with_element_creation_options_Document ( self_ , local_name , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`, `ElementCreationOptions`*" ] pub fn create_element_with_element_creation_options ( & self , local_name : & str , options : & ElementCreationOptions ) -> Result < Element , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_element_with_str_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Element as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn create_element_with_str ( & self , local_name : & str , options : & str ) -> Result < Element , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_element_with_str_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; let options = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_create_element_with_str_Document ( self_ , local_name , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn create_element_with_str ( & self , local_name : & str , options : & str ) -> Result < Element , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_element_ns_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Element as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createElementNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn create_element_ns ( & self , namespace : Option < & str > , qualified_name : & str ) -> Result < Element , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_element_ns_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , qualified_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; let qualified_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( qualified_name , & mut __stack ) ; __widl_f_create_element_ns_Document ( self_ , namespace , qualified_name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createElementNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn create_element_ns ( & self , namespace : Option < & str > , qualified_name : & str ) -> Result < Element , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_element_ns_with_element_creation_options_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & ElementCreationOptions as WasmDescribe > :: describe ( ) ; < Element as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createElementNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)\n\n*This API requires the following crate features to be activated: `Document`, `Element`, `ElementCreationOptions`*" ] pub fn create_element_ns_with_element_creation_options ( & self , namespace : Option < & str > , qualified_name : & str , options : & ElementCreationOptions ) -> Result < Element , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_element_ns_with_element_creation_options_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , qualified_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ElementCreationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; let qualified_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( qualified_name , & mut __stack ) ; let options = < & ElementCreationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_create_element_ns_with_element_creation_options_Document ( self_ , namespace , qualified_name , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createElementNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)\n\n*This API requires the following crate features to be activated: `Document`, `Element`, `ElementCreationOptions`*" ] pub fn create_element_ns_with_element_creation_options ( & self , namespace : Option < & str > , qualified_name : & str , options : & ElementCreationOptions ) -> Result < Element , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_element_ns_with_str_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Element as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createElementNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn create_element_ns_with_str ( & self , namespace : Option < & str > , qualified_name : & str , options : & str ) -> Result < Element , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_element_ns_with_str_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , qualified_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; let qualified_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( qualified_name , & mut __stack ) ; let options = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_create_element_ns_with_str_Document ( self_ , namespace , qualified_name , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createElementNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn create_element_ns_with_str ( & self , namespace : Option < & str > , qualified_name : & str , options : & str ) -> Result < Element , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_event_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Event as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createEvent)\n\n*This API requires the following crate features to be activated: `Document`, `Event`*" ] pub fn create_event ( & self , interface : & str ) -> Result < Event , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_event_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , interface : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Event as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let interface = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( interface , & mut __stack ) ; __widl_f_create_event_Document ( self_ , interface , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Event as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createEvent)\n\n*This API requires the following crate features to be activated: `Document`, `Event`*" ] pub fn create_event ( & self , interface : & str ) -> Result < Event , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_node_iterator_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < NodeIterator as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createNodeIterator()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `NodeIterator`*" ] pub fn create_node_iterator ( & self , root : & Node ) -> Result < NodeIterator , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_node_iterator_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , root : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < NodeIterator as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let root = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( root , & mut __stack ) ; __widl_f_create_node_iterator_Document ( self_ , root , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < NodeIterator as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createNodeIterator()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `NodeIterator`*" ] pub fn create_node_iterator ( & self , root : & Node ) -> Result < NodeIterator , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_node_iterator_with_what_to_show_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < NodeIterator as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createNodeIterator()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `NodeIterator`*" ] pub fn create_node_iterator_with_what_to_show ( & self , root : & Node , what_to_show : u32 ) -> Result < NodeIterator , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_node_iterator_with_what_to_show_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , root : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , what_to_show : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < NodeIterator as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let root = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( root , & mut __stack ) ; let what_to_show = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( what_to_show , & mut __stack ) ; __widl_f_create_node_iterator_with_what_to_show_Document ( self_ , root , what_to_show , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < NodeIterator as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createNodeIterator()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `NodeIterator`*" ] pub fn create_node_iterator_with_what_to_show ( & self , root : & Node , what_to_show : u32 ) -> Result < NodeIterator , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_node_iterator_with_what_to_show_and_filter_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & NodeFilter > as WasmDescribe > :: describe ( ) ; < NodeIterator as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createNodeIterator()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `NodeFilter`, `NodeIterator`*" ] pub fn create_node_iterator_with_what_to_show_and_filter ( & self , root : & Node , what_to_show : u32 , filter : Option < & NodeFilter > ) -> Result < NodeIterator , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_node_iterator_with_what_to_show_and_filter_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , root : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , what_to_show : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , filter : < Option < & NodeFilter > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < NodeIterator as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let root = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( root , & mut __stack ) ; let what_to_show = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( what_to_show , & mut __stack ) ; let filter = < Option < & NodeFilter > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( filter , & mut __stack ) ; __widl_f_create_node_iterator_with_what_to_show_and_filter_Document ( self_ , root , what_to_show , filter , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < NodeIterator as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createNodeIterator()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `NodeFilter`, `NodeIterator`*" ] pub fn create_node_iterator_with_what_to_show_and_filter ( & self , root : & Node , what_to_show : u32 , filter : Option < & NodeFilter > ) -> Result < NodeIterator , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_processing_instruction_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ProcessingInstruction as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createProcessingInstruction()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createProcessingInstruction)\n\n*This API requires the following crate features to be activated: `Document`, `ProcessingInstruction`*" ] pub fn create_processing_instruction ( & self , target : & str , data : & str ) -> Result < ProcessingInstruction , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_processing_instruction_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ProcessingInstruction as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_create_processing_instruction_Document ( self_ , target , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ProcessingInstruction as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createProcessingInstruction()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createProcessingInstruction)\n\n*This API requires the following crate features to be activated: `Document`, `ProcessingInstruction`*" ] pub fn create_processing_instruction ( & self , target : & str , data : & str ) -> Result < ProcessingInstruction , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_range_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Range as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createRange)\n\n*This API requires the following crate features to be activated: `Document`, `Range`*" ] pub fn create_range ( & self , ) -> Result < Range , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_range_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Range as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_range_Document ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Range as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createRange)\n\n*This API requires the following crate features to be activated: `Document`, `Range`*" ] pub fn create_range ( & self , ) -> Result < Range , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_text_node_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Text as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTextNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTextNode)\n\n*This API requires the following crate features to be activated: `Document`, `Text`*" ] pub fn create_text_node ( & self , data : & str ) -> Text { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_text_node_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Text as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_create_text_node_Document ( self_ , data ) } ; < Text as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTextNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTextNode)\n\n*This API requires the following crate features to be activated: `Document`, `Text`*" ] pub fn create_text_node ( & self , data : & str ) -> Text { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_tree_walker_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < TreeWalker as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTreeWalker()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `TreeWalker`*" ] pub fn create_tree_walker ( & self , root : & Node ) -> Result < TreeWalker , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_tree_walker_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , root : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TreeWalker as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let root = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( root , & mut __stack ) ; __widl_f_create_tree_walker_Document ( self_ , root , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TreeWalker as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTreeWalker()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `TreeWalker`*" ] pub fn create_tree_walker ( & self , root : & Node ) -> Result < TreeWalker , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_tree_walker_with_what_to_show_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < TreeWalker as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTreeWalker()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `TreeWalker`*" ] pub fn create_tree_walker_with_what_to_show ( & self , root : & Node , what_to_show : u32 ) -> Result < TreeWalker , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_tree_walker_with_what_to_show_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , root : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , what_to_show : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TreeWalker as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let root = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( root , & mut __stack ) ; let what_to_show = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( what_to_show , & mut __stack ) ; __widl_f_create_tree_walker_with_what_to_show_Document ( self_ , root , what_to_show , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TreeWalker as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTreeWalker()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `TreeWalker`*" ] pub fn create_tree_walker_with_what_to_show ( & self , root : & Node , what_to_show : u32 ) -> Result < TreeWalker , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_tree_walker_with_what_to_show_and_filter_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & NodeFilter > as WasmDescribe > :: describe ( ) ; < TreeWalker as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTreeWalker()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `NodeFilter`, `TreeWalker`*" ] pub fn create_tree_walker_with_what_to_show_and_filter ( & self , root : & Node , what_to_show : u32 , filter : Option < & NodeFilter > ) -> Result < TreeWalker , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_tree_walker_with_what_to_show_and_filter_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , root : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , what_to_show : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , filter : < Option < & NodeFilter > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TreeWalker as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let root = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( root , & mut __stack ) ; let what_to_show = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( what_to_show , & mut __stack ) ; let filter = < Option < & NodeFilter > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( filter , & mut __stack ) ; __widl_f_create_tree_walker_with_what_to_show_and_filter_Document ( self_ , root , what_to_show , filter , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TreeWalker as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTreeWalker()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `NodeFilter`, `TreeWalker`*" ] pub fn create_tree_walker_with_what_to_show_and_filter ( & self , root : & Node , what_to_show : u32 , filter : Option < & NodeFilter > ) -> Result < TreeWalker , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_enable_style_sheets_for_set_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enableStyleSheetsForSet()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/enableStyleSheetsForSet)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn enable_style_sheets_for_set ( & self , name : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_enable_style_sheets_for_set_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_enable_style_sheets_for_set_Document ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enableStyleSheetsForSet()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/enableStyleSheetsForSet)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn enable_style_sheets_for_set ( & self , name : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exit_fullscreen_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `exitFullscreen()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/exitFullscreen)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn exit_fullscreen ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exit_fullscreen_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_exit_fullscreen_Document ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `exitFullscreen()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/exitFullscreen)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn exit_fullscreen ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exit_pointer_lock_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `exitPointerLock()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/exitPointerLock)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn exit_pointer_lock ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exit_pointer_lock_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_exit_pointer_lock_Document ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `exitPointerLock()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/exitPointerLock)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn exit_pointer_lock ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_element_by_id_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getElementById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn get_element_by_id ( & self , element_id : & str ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_element_by_id_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element_id , & mut __stack ) ; __widl_f_get_element_by_id_Document ( self_ , element_id ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getElementById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn get_element_by_id ( & self , element_id : & str ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_elements_by_class_name_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getElementsByClassName()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn get_elements_by_class_name ( & self , class_names : & str ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_elements_by_class_name_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , class_names : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let class_names = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( class_names , & mut __stack ) ; __widl_f_get_elements_by_class_name_Document ( self_ , class_names ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getElementsByClassName()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn get_elements_by_class_name ( & self , class_names : & str ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_elements_by_name_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < NodeList as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getElementsByName()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByName)\n\n*This API requires the following crate features to be activated: `Document`, `NodeList`*" ] pub fn get_elements_by_name ( & self , element_name : & str ) -> NodeList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_elements_by_name_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element_name , & mut __stack ) ; __widl_f_get_elements_by_name_Document ( self_ , element_name ) } ; < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getElementsByName()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByName)\n\n*This API requires the following crate features to be activated: `Document`, `NodeList`*" ] pub fn get_elements_by_name ( & self , element_name : & str ) -> NodeList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_elements_by_tag_name_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getElementsByTagName()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagName)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn get_elements_by_tag_name ( & self , local_name : & str ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_elements_by_tag_name_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; __widl_f_get_elements_by_tag_name_Document ( self_ , local_name ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getElementsByTagName()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagName)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn get_elements_by_tag_name ( & self , local_name : & str ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_elements_by_tag_name_ns_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getElementsByTagNameNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagNameNS)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn get_elements_by_tag_name_ns ( & self , namespace : Option < & str > , local_name : & str ) -> Result < HtmlCollection , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_elements_by_tag_name_ns_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; __widl_f_get_elements_by_tag_name_ns_Document ( self_ , namespace , local_name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getElementsByTagNameNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagNameNS)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn get_elements_by_tag_name_ns ( & self , namespace : Option < & str > , local_name : & str ) -> Result < HtmlCollection , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_selection_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < Selection > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getSelection()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getSelection)\n\n*This API requires the following crate features to be activated: `Document`, `Selection`*" ] pub fn get_selection ( & self , ) -> Result < Option < Selection > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_selection_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Selection > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_selection_Document ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Selection > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getSelection()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getSelection)\n\n*This API requires the following crate features to be activated: `Document`, `Selection`*" ] pub fn get_selection ( & self , ) -> Result < Option < Selection > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_focus_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasFocus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn has_focus ( & self , ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_focus_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_has_focus_Document ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasFocus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn has_focus ( & self , ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_import_node_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `importNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn import_node ( & self , node : & Node ) -> Result < Node , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_import_node_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; __widl_f_import_node_Document ( self_ , node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `importNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn import_node ( & self , node : & Node ) -> Result < Node , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_import_node_with_deep_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `importNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn import_node_with_deep ( & self , node : & Node , deep : bool ) -> Result < Node , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_import_node_with_deep_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , deep : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; let deep = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( deep , & mut __stack ) ; __widl_f_import_node_with_deep_Document ( self_ , node , deep , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `importNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn import_node_with_deep ( & self , node : & Node , deep : bool ) -> Result < Node , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_query_selector_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `querySelector()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn query_selector ( & self , selectors : & str ) -> Result < Option < Element > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_query_selector_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selectors : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selectors = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selectors , & mut __stack ) ; __widl_f_query_selector_Document ( self_ , selectors , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `querySelector()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn query_selector ( & self , selectors : & str ) -> Result < Option < Element > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_query_selector_all_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < NodeList as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `querySelectorAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll)\n\n*This API requires the following crate features to be activated: `Document`, `NodeList`*" ] pub fn query_selector_all ( & self , selectors : & str ) -> Result < NodeList , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_query_selector_all_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selectors : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selectors = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selectors , & mut __stack ) ; __widl_f_query_selector_all_Document ( self_ , selectors , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `querySelectorAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll)\n\n*This API requires the following crate features to be activated: `Document`, `NodeList`*" ] pub fn query_selector_all ( & self , selectors : & str ) -> Result < NodeList , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_release_capture_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `releaseCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/releaseCapture)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn release_capture ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_release_capture_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_release_capture_Document ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `releaseCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/releaseCapture)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn release_capture ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_implementation_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < DomImplementation as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `implementation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/implementation)\n\n*This API requires the following crate features to be activated: `Document`, `DomImplementation`*" ] pub fn implementation ( & self , ) -> Result < DomImplementation , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_implementation_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomImplementation as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_implementation_Document ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomImplementation as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `implementation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/implementation)\n\n*This API requires the following crate features to be activated: `Document`, `DomImplementation`*" ] pub fn implementation ( & self , ) -> Result < DomImplementation , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_url_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `URL` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/URL)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn url ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_url_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_url_Document ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `URL` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/URL)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn url ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_document_uri_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `documentURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/documentURI)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn document_uri ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_document_uri_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_document_uri_Document ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `documentURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/documentURI)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn document_uri ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compat_mode_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compatMode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/compatMode)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn compat_mode ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compat_mode_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_compat_mode_Document ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compatMode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/compatMode)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn compat_mode ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_character_set_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `characterSet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/characterSet)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn character_set ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_character_set_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_character_set_Document ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `characterSet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/characterSet)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn character_set ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_charset_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `charset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/charset)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn charset ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_charset_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_charset_Document ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `charset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/charset)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn charset ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_input_encoding_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `inputEncoding` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/inputEncoding)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn input_encoding ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_input_encoding_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_input_encoding_Document ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `inputEncoding` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/inputEncoding)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn input_encoding ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_content_type_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `contentType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/contentType)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn content_type ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_content_type_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_content_type_Document ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `contentType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/contentType)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn content_type ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_doctype_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < DocumentType > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `doctype` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/doctype)\n\n*This API requires the following crate features to be activated: `Document`, `DocumentType`*" ] pub fn doctype ( & self , ) -> Option < DocumentType > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_doctype_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < DocumentType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_doctype_Document ( self_ ) } ; < Option < DocumentType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `doctype` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/doctype)\n\n*This API requires the following crate features to be activated: `Document`, `DocumentType`*" ] pub fn doctype ( & self , ) -> Option < DocumentType > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_document_element_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `documentElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/documentElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn document_element ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_document_element_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_document_element_Document ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `documentElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/documentElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn document_element ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_location_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < Location > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `location` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/location)\n\n*This API requires the following crate features to be activated: `Document`, `Location`*" ] pub fn location ( & self , ) -> Option < Location > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_location_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Location > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_location_Document ( self_ ) } ; < Option < Location > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `location` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/location)\n\n*This API requires the following crate features to be activated: `Document`, `Location`*" ] pub fn location ( & self , ) -> Option < Location > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_referrer_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn referrer ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_referrer_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_referrer_Document ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn referrer ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_last_modified_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lastModified` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastModified)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn last_modified ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_last_modified_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_last_modified_Document ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lastModified` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastModified)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn last_modified ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_state_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ready_state ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_state_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_state_Document ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ready_state ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_title_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `title` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/title)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn title ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_title_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_title_Document ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `title` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/title)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn title ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_title_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `title` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/title)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_title ( & self , title : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_title_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; __widl_f_set_title_Document ( self_ , title ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `title` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/title)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_title ( & self , title : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dir_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dir` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/dir)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn dir ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dir_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dir_Document ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dir` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/dir)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn dir ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_dir_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dir` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/dir)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_dir ( & self , dir : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_dir_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dir : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let dir = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dir , & mut __stack ) ; __widl_f_set_dir_Document ( self_ , dir ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dir` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/dir)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_dir ( & self , dir : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_body_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < HtmlElement > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `body` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/body)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlElement`*" ] pub fn body ( & self , ) -> Option < HtmlElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_body_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_body_Document ( self_ ) } ; < Option < HtmlElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `body` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/body)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlElement`*" ] pub fn body ( & self , ) -> Option < HtmlElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_body_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & HtmlElement > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `body` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/body)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlElement`*" ] pub fn set_body ( & self , body : Option < & HtmlElement > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_body_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , body : < Option < & HtmlElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let body = < Option < & HtmlElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_set_body_Document ( self_ , body ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `body` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/body)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlElement`*" ] pub fn set_body ( & self , body : Option < & HtmlElement > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_head_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < HtmlHeadElement > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `head` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/head)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlHeadElement`*" ] pub fn head ( & self , ) -> Option < HtmlHeadElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_head_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlHeadElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_head_Document ( self_ ) } ; < Option < HtmlHeadElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `head` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/head)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlHeadElement`*" ] pub fn head ( & self , ) -> Option < HtmlHeadElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_images_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `images` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/images)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn images ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_images_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_images_Document ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `images` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/images)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn images ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_embeds_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `embeds` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/embeds)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn embeds ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_embeds_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_embeds_Document ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `embeds` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/embeds)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn embeds ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_plugins_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `plugins` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/plugins)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn plugins ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_plugins_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_plugins_Document ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `plugins` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/plugins)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn plugins ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_links_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `links` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/links)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn links ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_links_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_links_Document ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `links` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/links)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn links ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_forms_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `forms` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/forms)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn forms ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_forms_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_forms_Document ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `forms` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/forms)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn forms ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scripts_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scripts` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/scripts)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn scripts ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scripts_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scripts_Document ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scripts` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/scripts)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn scripts ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_view_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultView` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/defaultView)\n\n*This API requires the following crate features to be activated: `Document`, `Window`*" ] pub fn default_view ( & self , ) -> Option < Window > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_view_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_view_Document ( self_ ) } ; < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultView` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/defaultView)\n\n*This API requires the following crate features to be activated: `Document`, `Window`*" ] pub fn default_view ( & self , ) -> Option < Window > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onreadystatechange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onreadystatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreadystatechange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onreadystatechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onreadystatechange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onreadystatechange_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onreadystatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreadystatechange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onreadystatechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onreadystatechange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onreadystatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreadystatechange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onreadystatechange ( & self , onreadystatechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onreadystatechange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onreadystatechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onreadystatechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onreadystatechange , & mut __stack ) ; __widl_f_set_onreadystatechange_Document ( self_ , onreadystatechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onreadystatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreadystatechange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onreadystatechange ( & self , onreadystatechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onbeforescriptexecute_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforescriptexecute` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforescriptexecute)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onbeforescriptexecute ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onbeforescriptexecute_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onbeforescriptexecute_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforescriptexecute` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforescriptexecute)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onbeforescriptexecute ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onbeforescriptexecute_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforescriptexecute` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforescriptexecute)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onbeforescriptexecute ( & self , onbeforescriptexecute : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onbeforescriptexecute_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onbeforescriptexecute : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onbeforescriptexecute = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onbeforescriptexecute , & mut __stack ) ; __widl_f_set_onbeforescriptexecute_Document ( self_ , onbeforescriptexecute ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforescriptexecute` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforescriptexecute)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onbeforescriptexecute ( & self , onbeforescriptexecute : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onafterscriptexecute_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onafterscriptexecute` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onafterscriptexecute)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onafterscriptexecute ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onafterscriptexecute_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onafterscriptexecute_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onafterscriptexecute` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onafterscriptexecute)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onafterscriptexecute ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onafterscriptexecute_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onafterscriptexecute` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onafterscriptexecute)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onafterscriptexecute ( & self , onafterscriptexecute : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onafterscriptexecute_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onafterscriptexecute : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onafterscriptexecute = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onafterscriptexecute , & mut __stack ) ; __widl_f_set_onafterscriptexecute_Document ( self_ , onafterscriptexecute ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onafterscriptexecute` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onafterscriptexecute)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onafterscriptexecute ( & self , onafterscriptexecute : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onselectionchange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselectionchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectionchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onselectionchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onselectionchange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onselectionchange_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselectionchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectionchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onselectionchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onselectionchange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselectionchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectionchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onselectionchange ( & self , onselectionchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onselectionchange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onselectionchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onselectionchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onselectionchange , & mut __stack ) ; __widl_f_set_onselectionchange_Document ( self_ , onselectionchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselectionchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectionchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onselectionchange ( & self , onselectionchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_script_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentScript` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn current_script ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_script_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_script_Document ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentScript` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn current_script ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anchors_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `anchors` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/anchors)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn anchors ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anchors_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anchors_Document ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `anchors` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/anchors)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn anchors ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_applets_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `applets` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/applets)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn applets ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_applets_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_applets_Document ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `applets` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/applets)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn applets ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fullscreen_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fullscreen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreen)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn fullscreen ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fullscreen_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fullscreen_Document ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fullscreen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreen)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn fullscreen ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fullscreen_enabled_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fullscreenEnabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreenEnabled)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn fullscreen_enabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fullscreen_enabled_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fullscreen_enabled_Document ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fullscreenEnabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreenEnabled)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn fullscreen_enabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onfullscreenchange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfullscreenchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onfullscreenchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onfullscreenchange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onfullscreenchange_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfullscreenchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onfullscreenchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onfullscreenchange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfullscreenchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onfullscreenchange ( & self , onfullscreenchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onfullscreenchange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onfullscreenchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onfullscreenchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onfullscreenchange , & mut __stack ) ; __widl_f_set_onfullscreenchange_Document ( self_ , onfullscreenchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfullscreenchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onfullscreenchange ( & self , onfullscreenchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onfullscreenerror_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfullscreenerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenerror)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onfullscreenerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onfullscreenerror_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onfullscreenerror_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfullscreenerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenerror)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onfullscreenerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onfullscreenerror_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfullscreenerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenerror)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onfullscreenerror ( & self , onfullscreenerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onfullscreenerror_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onfullscreenerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onfullscreenerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onfullscreenerror , & mut __stack ) ; __widl_f_set_onfullscreenerror_Document ( self_ , onfullscreenerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfullscreenerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenerror)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onfullscreenerror ( & self , onfullscreenerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerlockchange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerlockchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerlockchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerlockchange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerlockchange_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerlockchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerlockchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerlockchange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerlockchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerlockchange ( & self , onpointerlockchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerlockchange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerlockchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerlockchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerlockchange , & mut __stack ) ; __widl_f_set_onpointerlockchange_Document ( self_ , onpointerlockchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerlockchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerlockchange ( & self , onpointerlockchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerlockerror_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerlockerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockerror)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerlockerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerlockerror_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerlockerror_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerlockerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockerror)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerlockerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerlockerror_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerlockerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockerror)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerlockerror ( & self , onpointerlockerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerlockerror_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerlockerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerlockerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerlockerror , & mut __stack ) ; __widl_f_set_onpointerlockerror_Document ( self_ , onpointerlockerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerlockerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockerror)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerlockerror ( & self , onpointerlockerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hidden_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hidden` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/hidden)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn hidden ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hidden_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hidden_Document ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hidden` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/hidden)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn hidden ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_visibility_state_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < VisibilityState as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `visibilityState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilityState)\n\n*This API requires the following crate features to be activated: `Document`, `VisibilityState`*" ] pub fn visibility_state ( & self , ) -> VisibilityState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_visibility_state_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < VisibilityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_visibility_state_Document ( self_ ) } ; < VisibilityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `visibilityState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilityState)\n\n*This API requires the following crate features to be activated: `Document`, `VisibilityState`*" ] pub fn visibility_state ( & self , ) -> VisibilityState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onvisibilitychange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvisibilitychange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvisibilitychange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onvisibilitychange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onvisibilitychange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onvisibilitychange_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvisibilitychange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvisibilitychange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onvisibilitychange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onvisibilitychange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvisibilitychange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvisibilitychange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onvisibilitychange ( & self , onvisibilitychange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onvisibilitychange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onvisibilitychange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onvisibilitychange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onvisibilitychange , & mut __stack ) ; __widl_f_set_onvisibilitychange_Document ( self_ , onvisibilitychange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvisibilitychange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvisibilitychange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onvisibilitychange ( & self , onvisibilitychange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_selected_style_sheet_set_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectedStyleSheetSet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/selectedStyleSheetSet)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn selected_style_sheet_set ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_selected_style_sheet_set_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_selected_style_sheet_set_Document ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectedStyleSheetSet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/selectedStyleSheetSet)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn selected_style_sheet_set ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_selected_style_sheet_set_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectedStyleSheetSet` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/selectedStyleSheetSet)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_selected_style_sheet_set ( & self , selected_style_sheet_set : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_selected_style_sheet_set_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selected_style_sheet_set : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selected_style_sheet_set = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selected_style_sheet_set , & mut __stack ) ; __widl_f_set_selected_style_sheet_set_Document ( self_ , selected_style_sheet_set ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectedStyleSheetSet` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/selectedStyleSheetSet)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_selected_style_sheet_set ( & self , selected_style_sheet_set : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_last_style_sheet_set_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lastStyleSheetSet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastStyleSheetSet)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn last_style_sheet_set ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_last_style_sheet_set_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_last_style_sheet_set_Document ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lastStyleSheetSet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastStyleSheetSet)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn last_style_sheet_set ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_preferred_style_sheet_set_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preferredStyleSheetSet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/preferredStyleSheetSet)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn preferred_style_sheet_set ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_preferred_style_sheet_set_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_preferred_style_sheet_set_Document ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preferredStyleSheetSet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/preferredStyleSheetSet)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn preferred_style_sheet_set ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_style_sheet_sets_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < DomStringList as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `styleSheetSets` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/styleSheetSets)\n\n*This API requires the following crate features to be activated: `Document`, `DomStringList`*" ] pub fn style_sheet_sets ( & self , ) -> DomStringList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_style_sheet_sets_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_style_sheet_sets_Document ( self_ ) } ; < DomStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `styleSheetSets` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/styleSheetSets)\n\n*This API requires the following crate features to be activated: `Document`, `DomStringList`*" ] pub fn style_sheet_sets ( & self , ) -> DomStringList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scrolling_element_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollingElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/scrollingElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn scrolling_element ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scrolling_element_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scrolling_element_Document ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollingElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/scrollingElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn scrolling_element ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_timeline_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < DocumentTimeline as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timeline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/timeline)\n\n*This API requires the following crate features to be activated: `Document`, `DocumentTimeline`*" ] pub fn timeline ( & self , ) -> DocumentTimeline { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_timeline_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DocumentTimeline as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_timeline_Document ( self_ ) } ; < DocumentTimeline as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timeline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/timeline)\n\n*This API requires the following crate features to be activated: `Document`, `DocumentTimeline`*" ] pub fn timeline ( & self , ) -> DocumentTimeline { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_root_element_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < SvgsvgElement > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rootElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/rootElement)\n\n*This API requires the following crate features to be activated: `Document`, `SvgsvgElement`*" ] pub fn root_element ( & self , ) -> Option < SvgsvgElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_root_element_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < SvgsvgElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_root_element_Document ( self_ ) } ; < Option < SvgsvgElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rootElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/rootElement)\n\n*This API requires the following crate features to be activated: `Document`, `SvgsvgElement`*" ] pub fn root_element ( & self , ) -> Option < SvgsvgElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncopy_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncopy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncopy)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oncopy ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncopy_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncopy_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncopy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncopy)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oncopy ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncopy_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncopy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncopy)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oncopy ( & self , oncopy : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncopy_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncopy : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncopy = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncopy , & mut __stack ) ; __widl_f_set_oncopy_Document ( self_ , oncopy ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncopy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncopy)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oncopy ( & self , oncopy : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncut_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncut` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncut)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oncut ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncut_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncut_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncut` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncut)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oncut ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncut_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncut` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncut)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oncut ( & self , oncut : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncut_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncut : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncut = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncut , & mut __stack ) ; __widl_f_set_oncut_Document ( self_ , oncut ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncut` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncut)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oncut ( & self , oncut : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpaste_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpaste` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpaste)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpaste ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpaste_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpaste_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpaste` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpaste)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpaste ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpaste_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpaste` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpaste)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpaste ( & self , onpaste : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpaste_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpaste : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpaste = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpaste , & mut __stack ) ; __widl_f_set_onpaste_Document ( self_ , onpaste ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpaste` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpaste)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpaste ( & self , onpaste : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_element_from_point_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `elementFromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/elementFromPoint)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn element_from_point ( & self , x : f32 , y : f32 ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_element_from_point_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_element_from_point_Document ( self_ , x , y ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `elementFromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/elementFromPoint)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn element_from_point ( & self , x : f32 , y : f32 ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_active_element_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `activeElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/activeElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn active_element ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_active_element_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_active_element_Document ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `activeElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/activeElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn active_element ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_style_sheets_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < StyleSheetList as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `styleSheets` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/styleSheets)\n\n*This API requires the following crate features to be activated: `Document`, `StyleSheetList`*" ] pub fn style_sheets ( & self , ) -> StyleSheetList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_style_sheets_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < StyleSheetList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_style_sheets_Document ( self_ ) } ; < StyleSheetList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `styleSheets` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/styleSheets)\n\n*This API requires the following crate features to be activated: `Document`, `StyleSheetList`*" ] pub fn style_sheets ( & self , ) -> StyleSheetList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pointer_lock_element_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pointerLockElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/pointerLockElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn pointer_lock_element ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pointer_lock_element_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pointer_lock_element_Document ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pointerLockElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/pointerLockElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn pointer_lock_element ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fullscreen_element_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fullscreenElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreenElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn fullscreen_element ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fullscreen_element_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fullscreen_element_Document ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fullscreenElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreenElement)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn fullscreen_element ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fonts_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < FontFaceSet as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fonts` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fonts)\n\n*This API requires the following crate features to be activated: `Document`, `FontFaceSet`*" ] pub fn fonts ( & self , ) -> FontFaceSet { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fonts_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < FontFaceSet as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fonts_Document ( self_ ) } ; < FontFaceSet as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fonts` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fonts)\n\n*This API requires the following crate features to be activated: `Document`, `FontFaceSet`*" ] pub fn fonts ( & self , ) -> FontFaceSet { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_text_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Text`*" ] pub fn convert_point_from_node_with_text ( & self , point : & DomPointInit , from : & Text ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_text_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_point_from_node_with_text_Document ( self_ , point , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Text`*" ] pub fn convert_point_from_node_with_text ( & self , point : & DomPointInit , from : & Text ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_element_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Element`*" ] pub fn convert_point_from_node_with_element ( & self , point : & DomPointInit , from : & Element ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_element_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_point_from_node_with_element_Document ( self_ , point , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Element`*" ] pub fn convert_point_from_node_with_element ( & self , point : & DomPointInit , from : & Element ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_document_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`*" ] pub fn convert_point_from_node_with_document ( & self , point : & DomPointInit , from : & Document ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_document_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_point_from_node_with_document_Document ( self_ , point , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`*" ] pub fn convert_point_from_node_with_document ( & self , point : & DomPointInit , from : & Document ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_text_and_options_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Text`*" ] pub fn convert_point_from_node_with_text_and_options ( & self , point : & DomPointInit , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_text_and_options_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_point_from_node_with_text_and_options_Document ( self_ , point , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Text`*" ] pub fn convert_point_from_node_with_text_and_options ( & self , point : & DomPointInit , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_element_and_options_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Element`*" ] pub fn convert_point_from_node_with_element_and_options ( & self , point : & DomPointInit , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_element_and_options_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_point_from_node_with_element_and_options_Document ( self_ , point , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Element`*" ] pub fn convert_point_from_node_with_element_and_options ( & self , point : & DomPointInit , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_document_and_options_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`*" ] pub fn convert_point_from_node_with_document_and_options ( & self , point : & DomPointInit , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_document_and_options_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_point_from_node_with_document_and_options_Document ( self_ , point , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`*" ] pub fn convert_point_from_node_with_document_and_options ( & self , point : & DomPointInit , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_text_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Text`*" ] pub fn convert_quad_from_node_with_text ( & self , quad : & DomQuad , from : & Text ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_text_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_quad_from_node_with_text_Document ( self_ , quad , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Text`*" ] pub fn convert_quad_from_node_with_text ( & self , quad : & DomQuad , from : & Text ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_element_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Element`*" ] pub fn convert_quad_from_node_with_element ( & self , quad : & DomQuad , from : & Element ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_element_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_quad_from_node_with_element_Document ( self_ , quad , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Element`*" ] pub fn convert_quad_from_node_with_element ( & self , quad : & DomQuad , from : & Element ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_document_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`*" ] pub fn convert_quad_from_node_with_document ( & self , quad : & DomQuad , from : & Document ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_document_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_quad_from_node_with_document_Document ( self_ , quad , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`*" ] pub fn convert_quad_from_node_with_document ( & self , quad : & DomQuad , from : & Document ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_text_and_options_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Text`*" ] pub fn convert_quad_from_node_with_text_and_options ( & self , quad : & DomQuad , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_text_and_options_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_quad_from_node_with_text_and_options_Document ( self_ , quad , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Text`*" ] pub fn convert_quad_from_node_with_text_and_options ( & self , quad : & DomQuad , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_element_and_options_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Element`*" ] pub fn convert_quad_from_node_with_element_and_options ( & self , quad : & DomQuad , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_element_and_options_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_quad_from_node_with_element_and_options_Document ( self_ , quad , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Element`*" ] pub fn convert_quad_from_node_with_element_and_options ( & self , quad : & DomQuad , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_document_and_options_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`*" ] pub fn convert_quad_from_node_with_document_and_options ( & self , quad : & DomQuad , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_document_and_options_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_quad_from_node_with_document_and_options_Document ( self_ , quad , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`*" ] pub fn convert_quad_from_node_with_document_and_options ( & self , quad : & DomQuad , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_text_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*" ] pub fn convert_rect_from_node_with_text ( & self , rect : & DomRectReadOnly , from : & Text ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_text_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_rect_from_node_with_text_Document ( self_ , rect , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*" ] pub fn convert_rect_from_node_with_text ( & self , rect : & DomRectReadOnly , from : & Text ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_element_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*" ] pub fn convert_rect_from_node_with_element ( & self , rect : & DomRectReadOnly , from : & Element ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_element_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_rect_from_node_with_element_Document ( self_ , rect , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*" ] pub fn convert_rect_from_node_with_element ( & self , rect : & DomRectReadOnly , from : & Element ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_document_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`*" ] pub fn convert_rect_from_node_with_document ( & self , rect : & DomRectReadOnly , from : & Document ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_document_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_rect_from_node_with_document_Document ( self_ , rect , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`*" ] pub fn convert_rect_from_node_with_document ( & self , rect : & DomRectReadOnly , from : & Document ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_text_and_options_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*" ] pub fn convert_rect_from_node_with_text_and_options ( & self , rect : & DomRectReadOnly , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_text_and_options_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_rect_from_node_with_text_and_options_Document ( self_ , rect , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*" ] pub fn convert_rect_from_node_with_text_and_options ( & self , rect : & DomRectReadOnly , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_element_and_options_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*" ] pub fn convert_rect_from_node_with_element_and_options ( & self , rect : & DomRectReadOnly , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_element_and_options_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_rect_from_node_with_element_and_options_Document ( self_ , rect , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*" ] pub fn convert_rect_from_node_with_element_and_options ( & self , rect : & DomRectReadOnly , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_document_and_options_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`*" ] pub fn convert_rect_from_node_with_document_and_options ( & self , rect : & DomRectReadOnly , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_document_and_options_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_rect_from_node_with_document_and_options_Document ( self_ , rect , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`*" ] pub fn convert_rect_from_node_with_document_and_options ( & self , rect : & DomRectReadOnly , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onabort_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onabort)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onabort_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onabort_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onabort)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onabort_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onabort)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onabort_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onabort : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onabort = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onabort , & mut __stack ) ; __widl_f_set_onabort_Document ( self_ , onabort ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onabort)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onblur_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onblur` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onblur)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onblur ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onblur_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onblur_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onblur` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onblur)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onblur ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onblur_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onblur` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onblur)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onblur ( & self , onblur : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onblur_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onblur : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onblur = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onblur , & mut __stack ) ; __widl_f_set_onblur_Document ( self_ , onblur ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onblur` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onblur)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onblur ( & self , onblur : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onfocus_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfocus)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onfocus ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onfocus_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onfocus_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfocus)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onfocus ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onfocus_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfocus)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onfocus ( & self , onfocus : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onfocus_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onfocus : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onfocus = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onfocus , & mut __stack ) ; __widl_f_set_onfocus_Document ( self_ , onfocus ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfocus)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onfocus ( & self , onfocus : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onauxclick_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onauxclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onauxclick)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onauxclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onauxclick_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onauxclick_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onauxclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onauxclick)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onauxclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onauxclick_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onauxclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onauxclick)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onauxclick ( & self , onauxclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onauxclick_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onauxclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onauxclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onauxclick , & mut __stack ) ; __widl_f_set_onauxclick_Document ( self_ , onauxclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onauxclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onauxclick)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onauxclick ( & self , onauxclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncanplay_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplay)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oncanplay ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncanplay_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncanplay_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplay)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oncanplay ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncanplay_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplay)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oncanplay ( & self , oncanplay : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncanplay_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncanplay : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncanplay = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncanplay , & mut __stack ) ; __widl_f_set_oncanplay_Document ( self_ , oncanplay ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplay)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oncanplay ( & self , oncanplay : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncanplaythrough_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplaythrough` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oncanplaythrough ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncanplaythrough_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncanplaythrough_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplaythrough` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oncanplaythrough ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncanplaythrough_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplaythrough` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oncanplaythrough ( & self , oncanplaythrough : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncanplaythrough_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncanplaythrough : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncanplaythrough = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncanplaythrough , & mut __stack ) ; __widl_f_set_oncanplaythrough_Document ( self_ , oncanplaythrough ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplaythrough` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oncanplaythrough ( & self , oncanplaythrough : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchange_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchange , & mut __stack ) ; __widl_f_set_onchange_Document ( self_ , onchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclick_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclick)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclick_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclick_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclick)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclick_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclick)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onclick ( & self , onclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclick_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclick , & mut __stack ) ; __widl_f_set_onclick_Document ( self_ , onclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclick)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onclick ( & self , onclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclose_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclose)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclose_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclose_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclose)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclose_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclose)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclose_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclose : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclose = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclose , & mut __stack ) ; __widl_f_set_onclose_Document ( self_ , onclose ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclose)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncontextmenu_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncontextmenu` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncontextmenu)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oncontextmenu ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncontextmenu_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncontextmenu_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncontextmenu` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncontextmenu)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oncontextmenu ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncontextmenu_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncontextmenu` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncontextmenu)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oncontextmenu ( & self , oncontextmenu : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncontextmenu_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncontextmenu : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncontextmenu = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncontextmenu , & mut __stack ) ; __widl_f_set_oncontextmenu_Document ( self_ , oncontextmenu ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncontextmenu` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncontextmenu)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oncontextmenu ( & self , oncontextmenu : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondblclick_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondblclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondblclick)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondblclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondblclick_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondblclick_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondblclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondblclick)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondblclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondblclick_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondblclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondblclick)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondblclick ( & self , ondblclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondblclick_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondblclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondblclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondblclick , & mut __stack ) ; __widl_f_set_ondblclick_Document ( self_ , ondblclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondblclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondblclick)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondblclick ( & self , ondblclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondrag_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrag` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrag)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondrag ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondrag_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondrag_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrag` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrag)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondrag ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondrag_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrag` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrag)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondrag ( & self , ondrag : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondrag_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondrag : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondrag = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondrag , & mut __stack ) ; __widl_f_set_ondrag_Document ( self_ , ondrag ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrag` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrag)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondrag ( & self , ondrag : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondragend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragend_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondragend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondragend ( & self , ondragend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragend , & mut __stack ) ; __widl_f_set_ondragend_Document ( self_ , ondragend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondragend ( & self , ondragend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragenter_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragenter)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondragenter ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragenter_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragenter_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragenter)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondragenter ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragenter_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragenter)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondragenter ( & self , ondragenter : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragenter_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragenter : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragenter = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragenter , & mut __stack ) ; __widl_f_set_ondragenter_Document ( self_ , ondragenter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragenter)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondragenter ( & self , ondragenter : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragexit_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragexit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragexit)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondragexit ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragexit_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragexit_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragexit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragexit)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondragexit ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragexit_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragexit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragexit)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondragexit ( & self , ondragexit : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragexit_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragexit : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragexit = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragexit , & mut __stack ) ; __widl_f_set_ondragexit_Document ( self_ , ondragexit ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragexit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragexit)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondragexit ( & self , ondragexit : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragleave_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragleave)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondragleave ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragleave_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragleave_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragleave)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondragleave ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragleave_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragleave)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondragleave ( & self , ondragleave : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragleave_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragleave : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragleave = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragleave , & mut __stack ) ; __widl_f_set_ondragleave_Document ( self_ , ondragleave ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragleave)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondragleave ( & self , ondragleave : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragover_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragover)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondragover ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragover_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragover_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragover)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondragover ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragover_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragover)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondragover ( & self , ondragover : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragover_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragover : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragover = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragover , & mut __stack ) ; __widl_f_set_ondragover_Document ( self_ , ondragover ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragover)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondragover ( & self , ondragover : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondragstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragstart_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondragstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondragstart ( & self , ondragstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragstart , & mut __stack ) ; __widl_f_set_ondragstart_Document ( self_ , ondragstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondragstart ( & self , ondragstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondrop_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrop)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondrop ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondrop_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondrop_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrop)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondrop ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondrop_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrop)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondrop ( & self , ondrop : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondrop_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondrop : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondrop = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondrop , & mut __stack ) ; __widl_f_set_ondrop_Document ( self_ , ondrop ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrop)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondrop ( & self , ondrop : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondurationchange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondurationchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondurationchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondurationchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondurationchange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondurationchange_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondurationchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondurationchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ondurationchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondurationchange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondurationchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondurationchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondurationchange ( & self , ondurationchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondurationchange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondurationchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondurationchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondurationchange , & mut __stack ) ; __widl_f_set_ondurationchange_Document ( self_ , ondurationchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondurationchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondurationchange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ondurationchange ( & self , ondurationchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onemptied_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onemptied` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onemptied)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onemptied ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onemptied_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onemptied_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onemptied` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onemptied)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onemptied ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onemptied_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onemptied` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onemptied)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onemptied ( & self , onemptied : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onemptied_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onemptied : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onemptied = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onemptied , & mut __stack ) ; __widl_f_set_onemptied_Document ( self_ , onemptied ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onemptied` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onemptied)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onemptied ( & self , onemptied : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onended_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onended)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onended_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onended_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onended)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onended_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onended)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onended_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onended : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onended = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onended , & mut __stack ) ; __widl_f_set_onended_Document ( self_ , onended ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onended)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oninput_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninput` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninput)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oninput ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oninput_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oninput_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninput` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninput)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oninput ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oninput_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninput` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninput)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oninput ( & self , oninput : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oninput_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oninput : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oninput = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oninput , & mut __stack ) ; __widl_f_set_oninput_Document ( self_ , oninput ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninput` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninput)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oninput ( & self , oninput : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oninvalid_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninvalid` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninvalid)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oninvalid ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oninvalid_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oninvalid_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninvalid` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninvalid)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn oninvalid ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oninvalid_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninvalid` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninvalid)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oninvalid ( & self , oninvalid : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oninvalid_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oninvalid : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oninvalid = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oninvalid , & mut __stack ) ; __widl_f_set_oninvalid_Document ( self_ , oninvalid ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninvalid` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninvalid)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_oninvalid ( & self , oninvalid : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onkeydown_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeydown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeydown)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onkeydown ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onkeydown_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onkeydown_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeydown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeydown)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onkeydown ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onkeydown_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeydown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeydown)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onkeydown ( & self , onkeydown : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onkeydown_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onkeydown : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onkeydown = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onkeydown , & mut __stack ) ; __widl_f_set_onkeydown_Document ( self_ , onkeydown ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeydown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeydown)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onkeydown ( & self , onkeydown : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onkeypress_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeypress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeypress)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onkeypress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onkeypress_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onkeypress_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeypress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeypress)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onkeypress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onkeypress_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeypress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeypress)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onkeypress ( & self , onkeypress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onkeypress_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onkeypress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onkeypress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onkeypress , & mut __stack ) ; __widl_f_set_onkeypress_Document ( self_ , onkeypress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeypress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeypress)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onkeypress ( & self , onkeypress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onkeyup_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeyup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeyup)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onkeyup ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onkeyup_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onkeyup_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeyup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeyup)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onkeyup ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onkeyup_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeyup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeyup)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onkeyup ( & self , onkeyup : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onkeyup_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onkeyup : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onkeyup = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onkeyup , & mut __stack ) ; __widl_f_set_onkeyup_Document ( self_ , onkeyup ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeyup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeyup)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onkeyup ( & self , onkeyup : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onload_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onload)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onload ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onload_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onload_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onload)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onload ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onload_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onload)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onload ( & self , onload : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onload_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onload : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onload = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onload , & mut __stack ) ; __widl_f_set_onload_Document ( self_ , onload ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onload)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onload ( & self , onload : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadeddata_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadeddata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadeddata)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onloadeddata ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadeddata_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadeddata_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadeddata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadeddata)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onloadeddata ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadeddata_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadeddata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadeddata)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onloadeddata ( & self , onloadeddata : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadeddata_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadeddata : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadeddata = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadeddata , & mut __stack ) ; __widl_f_set_onloadeddata_Document ( self_ , onloadeddata ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadeddata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadeddata)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onloadeddata ( & self , onloadeddata : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadedmetadata_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadedmetadata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onloadedmetadata ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadedmetadata_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadedmetadata_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadedmetadata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onloadedmetadata ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadedmetadata_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadedmetadata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onloadedmetadata ( & self , onloadedmetadata : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadedmetadata_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadedmetadata : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadedmetadata = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadedmetadata , & mut __stack ) ; __widl_f_set_onloadedmetadata_Document ( self_ , onloadedmetadata ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadedmetadata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onloadedmetadata ( & self , onloadedmetadata : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onloadend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadend_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onloadend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onloadend ( & self , onloadend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadend , & mut __stack ) ; __widl_f_set_onloadend_Document ( self_ , onloadend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onloadend ( & self , onloadend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onloadstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadstart_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onloadstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onloadstart ( & self , onloadstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadstart , & mut __stack ) ; __widl_f_set_onloadstart_Document ( self_ , onloadstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onloadstart ( & self , onloadstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmousedown_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousedown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousedown)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmousedown ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmousedown_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmousedown_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousedown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousedown)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmousedown ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmousedown_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousedown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousedown)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmousedown ( & self , onmousedown : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmousedown_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmousedown : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmousedown = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmousedown , & mut __stack ) ; __widl_f_set_onmousedown_Document ( self_ , onmousedown ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousedown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousedown)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmousedown ( & self , onmousedown : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseenter_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseenter)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmouseenter ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseenter_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseenter_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseenter)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmouseenter ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseenter_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseenter)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmouseenter ( & self , onmouseenter : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseenter_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseenter : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseenter = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseenter , & mut __stack ) ; __widl_f_set_onmouseenter_Document ( self_ , onmouseenter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseenter)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmouseenter ( & self , onmouseenter : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseleave_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseleave)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmouseleave ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseleave_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseleave_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseleave)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmouseleave ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseleave_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseleave)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmouseleave ( & self , onmouseleave : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseleave_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseleave : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseleave = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseleave , & mut __stack ) ; __widl_f_set_onmouseleave_Document ( self_ , onmouseleave ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseleave)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmouseleave ( & self , onmouseleave : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmousemove_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousemove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousemove)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmousemove ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmousemove_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmousemove_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousemove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousemove)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmousemove ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmousemove_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousemove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousemove)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmousemove ( & self , onmousemove : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmousemove_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmousemove : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmousemove = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmousemove , & mut __stack ) ; __widl_f_set_onmousemove_Document ( self_ , onmousemove ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousemove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousemove)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmousemove ( & self , onmousemove : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseout_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseout)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmouseout ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseout_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseout_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseout)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmouseout ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseout_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseout)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmouseout ( & self , onmouseout : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseout_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseout : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseout = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseout , & mut __stack ) ; __widl_f_set_onmouseout_Document ( self_ , onmouseout ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseout)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmouseout ( & self , onmouseout : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseover_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseover)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmouseover ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseover_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseover_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseover)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmouseover ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseover_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseover)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmouseover ( & self , onmouseover : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseover_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseover : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseover = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseover , & mut __stack ) ; __widl_f_set_onmouseover_Document ( self_ , onmouseover ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseover)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmouseover ( & self , onmouseover : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseup_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseup)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmouseup ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseup_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseup_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseup)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onmouseup ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseup_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseup)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmouseup ( & self , onmouseup : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseup_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseup : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseup = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseup , & mut __stack ) ; __widl_f_set_onmouseup_Document ( self_ , onmouseup ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseup)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onmouseup ( & self , onmouseup : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwheel_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwheel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwheel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onwheel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwheel_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwheel_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwheel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwheel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onwheel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwheel_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwheel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwheel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onwheel ( & self , onwheel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwheel_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwheel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwheel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwheel , & mut __stack ) ; __widl_f_set_onwheel_Document ( self_ , onwheel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwheel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwheel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onwheel ( & self , onwheel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpause_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpause` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpause)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpause ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpause_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpause_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpause` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpause)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpause ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpause_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpause` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpause)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpause ( & self , onpause : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpause_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpause : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpause = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpause , & mut __stack ) ; __widl_f_set_onpause_Document ( self_ , onpause ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpause` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpause)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpause ( & self , onpause : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onplay_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplay)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onplay ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onplay_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onplay_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplay)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onplay ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onplay_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplay)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onplay ( & self , onplay : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onplay_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onplay : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onplay = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onplay , & mut __stack ) ; __widl_f_set_onplay_Document ( self_ , onplay ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplay)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onplay ( & self , onplay : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onplaying_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplaying` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplaying)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onplaying ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onplaying_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onplaying_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplaying` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplaying)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onplaying ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onplaying_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplaying` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplaying)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onplaying ( & self , onplaying : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onplaying_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onplaying : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onplaying = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onplaying , & mut __stack ) ; __widl_f_set_onplaying_Document ( self_ , onplaying ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplaying` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplaying)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onplaying ( & self , onplaying : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onprogress_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onprogress)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onprogress_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onprogress_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onprogress)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onprogress_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onprogress)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onprogress_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onprogress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onprogress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onprogress , & mut __stack ) ; __widl_f_set_onprogress_Document ( self_ , onprogress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onprogress)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onratechange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onratechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onratechange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onratechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onratechange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onratechange_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onratechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onratechange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onratechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onratechange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onratechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onratechange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onratechange ( & self , onratechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onratechange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onratechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onratechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onratechange , & mut __stack ) ; __widl_f_set_onratechange_Document ( self_ , onratechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onratechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onratechange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onratechange ( & self , onratechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onreset_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onreset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreset)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onreset ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onreset_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onreset_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onreset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreset)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onreset ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onreset_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onreset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreset)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onreset ( & self , onreset : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onreset_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onreset : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onreset = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onreset , & mut __stack ) ; __widl_f_set_onreset_Document ( self_ , onreset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onreset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreset)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onreset ( & self , onreset : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onresize_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onresize)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onresize ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onresize_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onresize_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onresize)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onresize ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onresize_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onresize)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onresize ( & self , onresize : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onresize_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onresize : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onresize = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onresize , & mut __stack ) ; __widl_f_set_onresize_Document ( self_ , onresize ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onresize)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onresize ( & self , onresize : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onscroll_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onscroll` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onscroll)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onscroll ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onscroll_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onscroll_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onscroll` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onscroll)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onscroll ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onscroll_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onscroll` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onscroll)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onscroll ( & self , onscroll : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onscroll_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onscroll : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onscroll = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onscroll , & mut __stack ) ; __widl_f_set_onscroll_Document ( self_ , onscroll ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onscroll` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onscroll)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onscroll ( & self , onscroll : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onseeked_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeked)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onseeked ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onseeked_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onseeked_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeked)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onseeked ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onseeked_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeked)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onseeked ( & self , onseeked : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onseeked_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onseeked : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onseeked = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onseeked , & mut __stack ) ; __widl_f_set_onseeked_Document ( self_ , onseeked ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeked)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onseeked ( & self , onseeked : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onseeking_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeking)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onseeking ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onseeking_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onseeking_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeking)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onseeking ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onseeking_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeking` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeking)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onseeking ( & self , onseeking : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onseeking_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onseeking : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onseeking = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onseeking , & mut __stack ) ; __widl_f_set_onseeking_Document ( self_ , onseeking ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeking` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeking)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onseeking ( & self , onseeking : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onselect_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselect)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onselect ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onselect_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onselect_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselect)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onselect ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onselect_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselect)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onselect ( & self , onselect : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onselect_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onselect : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onselect = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onselect , & mut __stack ) ; __widl_f_set_onselect_Document ( self_ , onselect ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselect)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onselect ( & self , onselect : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onshow_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onshow)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onshow ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onshow_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onshow_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onshow)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onshow ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onshow_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onshow)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onshow ( & self , onshow : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onshow_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onshow : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onshow = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onshow , & mut __stack ) ; __widl_f_set_onshow_Document ( self_ , onshow ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onshow)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onshow ( & self , onshow : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstalled_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstalled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onstalled)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onstalled ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstalled_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstalled_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstalled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onstalled)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onstalled ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstalled_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstalled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onstalled)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onstalled ( & self , onstalled : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstalled_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstalled : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstalled = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstalled , & mut __stack ) ; __widl_f_set_onstalled_Document ( self_ , onstalled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstalled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onstalled)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onstalled ( & self , onstalled : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsubmit_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsubmit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsubmit)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onsubmit ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsubmit_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsubmit_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsubmit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsubmit)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onsubmit ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsubmit_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsubmit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsubmit)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onsubmit ( & self , onsubmit : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsubmit_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsubmit : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsubmit = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsubmit , & mut __stack ) ; __widl_f_set_onsubmit_Document ( self_ , onsubmit ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsubmit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsubmit)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onsubmit ( & self , onsubmit : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsuspend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsuspend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsuspend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onsuspend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsuspend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsuspend_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsuspend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsuspend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onsuspend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsuspend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsuspend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsuspend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onsuspend ( & self , onsuspend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsuspend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsuspend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsuspend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsuspend , & mut __stack ) ; __widl_f_set_onsuspend_Document ( self_ , onsuspend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsuspend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsuspend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onsuspend ( & self , onsuspend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontimeupdate_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontimeupdate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontimeupdate)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontimeupdate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontimeupdate_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontimeupdate_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontimeupdate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontimeupdate)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontimeupdate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontimeupdate_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontimeupdate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontimeupdate)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontimeupdate ( & self , ontimeupdate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontimeupdate_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontimeupdate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontimeupdate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontimeupdate , & mut __stack ) ; __widl_f_set_ontimeupdate_Document ( self_ , ontimeupdate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontimeupdate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontimeupdate)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontimeupdate ( & self , ontimeupdate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onvolumechange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvolumechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvolumechange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onvolumechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onvolumechange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onvolumechange_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvolumechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvolumechange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onvolumechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onvolumechange_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvolumechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvolumechange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onvolumechange ( & self , onvolumechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onvolumechange_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onvolumechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onvolumechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onvolumechange , & mut __stack ) ; __widl_f_set_onvolumechange_Document ( self_ , onvolumechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvolumechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvolumechange)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onvolumechange ( & self , onvolumechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwaiting_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwaiting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwaiting)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onwaiting ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwaiting_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwaiting_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwaiting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwaiting)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onwaiting ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwaiting_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwaiting` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwaiting)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onwaiting ( & self , onwaiting : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwaiting_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwaiting : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwaiting = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwaiting , & mut __stack ) ; __widl_f_set_onwaiting_Document ( self_ , onwaiting ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwaiting` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwaiting)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onwaiting ( & self , onwaiting : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onselectstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselectstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onselectstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onselectstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onselectstart_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselectstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onselectstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onselectstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselectstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onselectstart ( & self , onselectstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onselectstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onselectstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onselectstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onselectstart , & mut __stack ) ; __widl_f_set_onselectstart_Document ( self_ , onselectstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselectstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onselectstart ( & self , onselectstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontoggle_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontoggle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontoggle)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontoggle ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontoggle_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontoggle_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontoggle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontoggle)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontoggle ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontoggle_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontoggle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontoggle)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontoggle ( & self , ontoggle : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontoggle_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontoggle : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontoggle = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontoggle , & mut __stack ) ; __widl_f_set_ontoggle_Document ( self_ , ontoggle ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontoggle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontoggle)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontoggle ( & self , ontoggle : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointercancel_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointercancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointercancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointercancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointercancel_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointercancel_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointercancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointercancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointercancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointercancel_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointercancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointercancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointercancel ( & self , onpointercancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointercancel_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointercancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointercancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointercancel , & mut __stack ) ; __widl_f_set_onpointercancel_Document ( self_ , onpointercancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointercancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointercancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointercancel ( & self , onpointercancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerdown_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerdown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerdown)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerdown ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerdown_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerdown_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerdown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerdown)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerdown ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerdown_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerdown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerdown)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerdown ( & self , onpointerdown : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerdown_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerdown : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerdown = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerdown , & mut __stack ) ; __widl_f_set_onpointerdown_Document ( self_ , onpointerdown ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerdown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerdown)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerdown ( & self , onpointerdown : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerup_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerup)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerup ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerup_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerup_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerup)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerup ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerup_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerup)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerup ( & self , onpointerup : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerup_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerup : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerup = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerup , & mut __stack ) ; __widl_f_set_onpointerup_Document ( self_ , onpointerup ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerup)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerup ( & self , onpointerup : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointermove_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointermove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointermove)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointermove ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointermove_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointermove_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointermove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointermove)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointermove ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointermove_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointermove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointermove)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointermove ( & self , onpointermove : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointermove_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointermove : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointermove = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointermove , & mut __stack ) ; __widl_f_set_onpointermove_Document ( self_ , onpointermove ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointermove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointermove)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointermove ( & self , onpointermove : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerout_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerout)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerout ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerout_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerout_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerout)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerout ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerout_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerout)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerout ( & self , onpointerout : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerout_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerout : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerout = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerout , & mut __stack ) ; __widl_f_set_onpointerout_Document ( self_ , onpointerout ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerout)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerout ( & self , onpointerout : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerover_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerover)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerover ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerover_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerover_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerover)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerover ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerover_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerover)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerover ( & self , onpointerover : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerover_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerover : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerover = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerover , & mut __stack ) ; __widl_f_set_onpointerover_Document ( self_ , onpointerover ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerover)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerover ( & self , onpointerover : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerenter_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerenter)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerenter ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerenter_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerenter_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerenter)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerenter ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerenter_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerenter)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerenter ( & self , onpointerenter : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerenter_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerenter : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerenter = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerenter , & mut __stack ) ; __widl_f_set_onpointerenter_Document ( self_ , onpointerenter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerenter)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerenter ( & self , onpointerenter : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerleave_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerleave)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerleave ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerleave_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerleave_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerleave)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onpointerleave ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerleave_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerleave)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerleave ( & self , onpointerleave : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerleave_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerleave : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerleave = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerleave , & mut __stack ) ; __widl_f_set_onpointerleave_Document ( self_ , onpointerleave ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerleave)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onpointerleave ( & self , onpointerleave : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ongotpointercapture_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ongotpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ongotpointercapture ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ongotpointercapture_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ongotpointercapture_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ongotpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ongotpointercapture ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ongotpointercapture_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ongotpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ongotpointercapture ( & self , ongotpointercapture : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ongotpointercapture_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ongotpointercapture : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ongotpointercapture = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ongotpointercapture , & mut __stack ) ; __widl_f_set_ongotpointercapture_Document ( self_ , ongotpointercapture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ongotpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ongotpointercapture ( & self , ongotpointercapture : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onlostpointercapture_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlostpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onlostpointercapture ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onlostpointercapture_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onlostpointercapture_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlostpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onlostpointercapture ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onlostpointercapture_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlostpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onlostpointercapture ( & self , onlostpointercapture : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onlostpointercapture_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onlostpointercapture : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onlostpointercapture = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onlostpointercapture , & mut __stack ) ; __widl_f_set_onlostpointercapture_Document ( self_ , onlostpointercapture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlostpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onlostpointercapture ( & self , onlostpointercapture : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationcancel_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationcancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onanimationcancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationcancel_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationcancel_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationcancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onanimationcancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationcancel_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationcancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onanimationcancel ( & self , onanimationcancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationcancel_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationcancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationcancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationcancel , & mut __stack ) ; __widl_f_set_onanimationcancel_Document ( self_ , onanimationcancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationcancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onanimationcancel ( & self , onanimationcancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onanimationend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationend_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onanimationend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onanimationend ( & self , onanimationend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationend , & mut __stack ) ; __widl_f_set_onanimationend_Document ( self_ , onanimationend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onanimationend ( & self , onanimationend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationiteration_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationiteration)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationiteration_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationiteration_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationiteration)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationiteration_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationiteration)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onanimationiteration ( & self , onanimationiteration : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationiteration_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationiteration : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationiteration = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationiteration , & mut __stack ) ; __widl_f_set_onanimationiteration_Document ( self_ , onanimationiteration ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationiteration)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onanimationiteration ( & self , onanimationiteration : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onanimationstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationstart_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onanimationstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onanimationstart ( & self , onanimationstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationstart , & mut __stack ) ; __widl_f_set_onanimationstart_Document ( self_ , onanimationstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onanimationstart ( & self , onanimationstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitioncancel_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitioncancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontransitioncancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitioncancel_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitioncancel_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitioncancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontransitioncancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitioncancel_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitioncancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontransitioncancel ( & self , ontransitioncancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitioncancel_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitioncancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitioncancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitioncancel , & mut __stack ) ; __widl_f_set_ontransitioncancel_Document ( self_ , ontransitioncancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitioncancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontransitioncancel ( & self , ontransitioncancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitionend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontransitionend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitionend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitionend_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontransitionend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitionend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontransitionend ( & self , ontransitionend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitionend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitionend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitionend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitionend , & mut __stack ) ; __widl_f_set_ontransitionend_Document ( self_ , ontransitionend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontransitionend ( & self , ontransitionend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitionrun_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionrun` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionrun)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontransitionrun ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitionrun_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitionrun_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionrun` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionrun)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontransitionrun ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitionrun_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionrun` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionrun)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontransitionrun ( & self , ontransitionrun : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitionrun_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitionrun : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitionrun = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitionrun , & mut __stack ) ; __widl_f_set_ontransitionrun_Document ( self_ , ontransitionrun ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionrun` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionrun)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontransitionrun ( & self , ontransitionrun : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitionstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontransitionstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitionstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitionstart_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontransitionstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitionstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontransitionstart ( & self , ontransitionstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitionstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitionstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitionstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitionstart , & mut __stack ) ; __widl_f_set_ontransitionstart_Document ( self_ , ontransitionstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontransitionstart ( & self , ontransitionstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkitanimationend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onwebkitanimationend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkitanimationend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkitanimationend_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onwebkitanimationend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkitanimationend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onwebkitanimationend ( & self , onwebkitanimationend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkitanimationend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkitanimationend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkitanimationend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkitanimationend , & mut __stack ) ; __widl_f_set_onwebkitanimationend_Document ( self_ , onwebkitanimationend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onwebkitanimationend ( & self , onwebkitanimationend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkitanimationiteration_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onwebkitanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkitanimationiteration_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkitanimationiteration_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onwebkitanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkitanimationiteration_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onwebkitanimationiteration ( & self , onwebkitanimationiteration : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkitanimationiteration_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkitanimationiteration : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkitanimationiteration = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkitanimationiteration , & mut __stack ) ; __widl_f_set_onwebkitanimationiteration_Document ( self_ , onwebkitanimationiteration ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onwebkitanimationiteration ( & self , onwebkitanimationiteration : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkitanimationstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onwebkitanimationstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkitanimationstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkitanimationstart_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onwebkitanimationstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkitanimationstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onwebkitanimationstart ( & self , onwebkitanimationstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkitanimationstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkitanimationstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkitanimationstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkitanimationstart , & mut __stack ) ; __widl_f_set_onwebkitanimationstart_Document ( self_ , onwebkitanimationstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onwebkitanimationstart ( & self , onwebkitanimationstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkittransitionend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkittransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onwebkittransitionend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkittransitionend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkittransitionend_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkittransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onwebkittransitionend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkittransitionend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkittransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onwebkittransitionend ( & self , onwebkittransitionend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkittransitionend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkittransitionend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkittransitionend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkittransitionend , & mut __stack ) ; __widl_f_set_onwebkittransitionend_Document ( self_ , onwebkittransitionend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkittransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onwebkittransitionend ( & self , onwebkittransitionend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onerror)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onerror)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onerror)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_Document ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onerror)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_append_with_node_Document ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_0_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_0_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_append_with_node_0_Document ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_1_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_1_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_append_with_node_1_Document ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_2_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_2_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_append_with_node_2_Document ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_3_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_3_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_append_with_node_3_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_4_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_4_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_append_with_node_4_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_5_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_5_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_append_with_node_5_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_6_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_6_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_append_with_node_6_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_7_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_7_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_append_with_node_7_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn append_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_append_with_str_Document ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_0_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_0_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_append_with_str_0_Document ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_1_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_1_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_append_with_str_1_Document ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_2_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_2_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_append_with_str_2_Document ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_3_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_3_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_append_with_str_3_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_4_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_4_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_append_with_str_4_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_5_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_5_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_append_with_str_5_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_6_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_6_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_append_with_str_6_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_7_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_7_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_append_with_str_7_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn append_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_prepend_with_node_Document ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_0_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_0_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prepend_with_node_0_Document ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_1_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_1_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_prepend_with_node_1_Document ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_2_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_2_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_prepend_with_node_2_Document ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_3_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_3_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_prepend_with_node_3_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_4_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_4_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_prepend_with_node_4_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_5_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_5_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_prepend_with_node_5_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_6_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_6_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_prepend_with_node_6_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_7_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_7_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_prepend_with_node_7_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn prepend_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_prepend_with_str_Document ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_0_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_0_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prepend_with_str_0_Document ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_1_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_1_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_prepend_with_str_1_Document ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_2_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_2_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_prepend_with_str_2_Document ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_3_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_3_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_prepend_with_str_3_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_4_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_4_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_prepend_with_str_4_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_5_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_5_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_prepend_with_str_5_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_6_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_6_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_prepend_with_str_6_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_7_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_7_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_prepend_with_str_7_Document ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn prepend_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_children_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `children` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/children)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn children ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_children_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_children_Document ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `children` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/children)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*" ] pub fn children ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_first_element_child_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `firstElementChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/firstElementChild)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn first_element_child ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_first_element_child_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_first_element_child_Document ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `firstElementChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/firstElementChild)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn first_element_child ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_last_element_child_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lastElementChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastElementChild)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn last_element_child ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_last_element_child_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_last_element_child_Document ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lastElementChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastElementChild)\n\n*This API requires the following crate features to be activated: `Document`, `Element`*" ] pub fn last_element_child ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_child_element_count_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `childElementCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/childElementCount)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn child_element_count ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_child_element_count_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_child_element_count_Document ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `childElementCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/childElementCount)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn child_element_count ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontouchstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchstart_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontouchstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchstart_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontouchstart ( & self , ontouchstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchstart_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchstart , & mut __stack ) ; __widl_f_set_ontouchstart_Document ( self_ , ontouchstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchstart)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontouchstart ( & self , ontouchstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontouchend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchend_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontouchend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchend_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontouchend ( & self , ontouchend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchend_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchend , & mut __stack ) ; __widl_f_set_ontouchend_Document ( self_ , ontouchend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchend)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontouchend ( & self , ontouchend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchmove_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchmove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchmove)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontouchmove ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchmove_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchmove_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchmove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchmove)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontouchmove ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchmove_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchmove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchmove)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontouchmove ( & self , ontouchmove : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchmove_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchmove : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchmove = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchmove , & mut __stack ) ; __widl_f_set_ontouchmove_Document ( self_ , ontouchmove ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchmove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchmove)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontouchmove ( & self , ontouchmove : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchcancel_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchcancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontouchcancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchcancel_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchcancel_Document ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchcancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn ontouchcancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchcancel_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchcancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontouchcancel ( & self , ontouchcancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchcancel_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchcancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchcancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchcancel , & mut __stack ) ; __widl_f_set_ontouchcancel_Document ( self_ , ontouchcancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchcancel)\n\n*This API requires the following crate features to be activated: `Document`*" ] pub fn set_ontouchcancel ( & self , ontouchcancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_expression_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < XPathExpression as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createExpression()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)\n\n*This API requires the following crate features to be activated: `Document`, `XPathExpression`*" ] pub fn create_expression ( & self , expression : & str ) -> Result < XPathExpression , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_expression_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , expression : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XPathExpression as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let expression = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( expression , & mut __stack ) ; __widl_f_create_expression_Document ( self_ , expression , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XPathExpression as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createExpression()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)\n\n*This API requires the following crate features to be activated: `Document`, `XPathExpression`*" ] pub fn create_expression ( & self , expression : & str ) -> Result < XPathExpression , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_expression_with_opt_callback_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < XPathExpression as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createExpression()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)\n\n*This API requires the following crate features to be activated: `Document`, `XPathExpression`*" ] pub fn create_expression_with_opt_callback ( & self , expression : & str , resolver : Option < & :: js_sys :: Function > ) -> Result < XPathExpression , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_expression_with_opt_callback_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , expression : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , resolver : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XPathExpression as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let expression = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( expression , & mut __stack ) ; let resolver = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( resolver , & mut __stack ) ; __widl_f_create_expression_with_opt_callback_Document ( self_ , expression , resolver , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XPathExpression as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createExpression()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)\n\n*This API requires the following crate features to be activated: `Document`, `XPathExpression`*" ] pub fn create_expression_with_opt_callback ( & self , expression : & str , resolver : Option < & :: js_sys :: Function > ) -> Result < XPathExpression , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_expression_with_opt_x_path_ns_resolver_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & XPathNsResolver > as WasmDescribe > :: describe ( ) ; < XPathExpression as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createExpression()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)\n\n*This API requires the following crate features to be activated: `Document`, `XPathExpression`, `XPathNsResolver`*" ] pub fn create_expression_with_opt_x_path_ns_resolver ( & self , expression : & str , resolver : Option < & XPathNsResolver > ) -> Result < XPathExpression , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_expression_with_opt_x_path_ns_resolver_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , expression : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , resolver : < Option < & XPathNsResolver > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XPathExpression as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let expression = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( expression , & mut __stack ) ; let resolver = < Option < & XPathNsResolver > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( resolver , & mut __stack ) ; __widl_f_create_expression_with_opt_x_path_ns_resolver_Document ( self_ , expression , resolver , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XPathExpression as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createExpression()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)\n\n*This API requires the following crate features to be activated: `Document`, `XPathExpression`, `XPathNsResolver`*" ] pub fn create_expression_with_opt_x_path_ns_resolver ( & self , expression : & str , resolver : Option < & XPathNsResolver > ) -> Result < XPathExpression , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_ns_resolver_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createNSResolver()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNSResolver)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn create_ns_resolver ( & self , node_resolver : & Node ) -> Node { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_ns_resolver_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node_resolver : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node_resolver = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node_resolver , & mut __stack ) ; __widl_f_create_ns_resolver_Document ( self_ , node_resolver ) } ; < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createNSResolver()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNSResolver)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn create_ns_resolver ( & self , node_resolver : & Node ) -> Node { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_evaluate_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < XPathResult as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathResult`*" ] pub fn evaluate ( & self , expression : & str , context_node : & Node ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_evaluate_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , expression : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let expression = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( expression , & mut __stack ) ; let context_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_node , & mut __stack ) ; __widl_f_evaluate_Document ( self_ , expression , context_node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathResult`*" ] pub fn evaluate ( & self , expression : & str , context_node : & Node ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_evaluate_with_opt_callback_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < XPathResult as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathResult`*" ] pub fn evaluate_with_opt_callback ( & self , expression : & str , context_node : & Node , resolver : Option < & :: js_sys :: Function > ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_evaluate_with_opt_callback_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , expression : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , resolver : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let expression = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( expression , & mut __stack ) ; let context_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_node , & mut __stack ) ; let resolver = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( resolver , & mut __stack ) ; __widl_f_evaluate_with_opt_callback_Document ( self_ , expression , context_node , resolver , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathResult`*" ] pub fn evaluate_with_opt_callback ( & self , expression : & str , context_node : & Node , resolver : Option < & :: js_sys :: Function > ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_evaluate_with_opt_x_path_ns_resolver_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & XPathNsResolver > as WasmDescribe > :: describe ( ) ; < XPathResult as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathNsResolver`, `XPathResult`*" ] pub fn evaluate_with_opt_x_path_ns_resolver ( & self , expression : & str , context_node : & Node , resolver : Option < & XPathNsResolver > ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_evaluate_with_opt_x_path_ns_resolver_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , expression : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , resolver : < Option < & XPathNsResolver > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let expression = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( expression , & mut __stack ) ; let context_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_node , & mut __stack ) ; let resolver = < Option < & XPathNsResolver > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( resolver , & mut __stack ) ; __widl_f_evaluate_with_opt_x_path_ns_resolver_Document ( self_ , expression , context_node , resolver , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathNsResolver`, `XPathResult`*" ] pub fn evaluate_with_opt_x_path_ns_resolver ( & self , expression : & str , context_node : & Node , resolver : Option < & XPathNsResolver > ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_evaluate_with_opt_callback_and_type_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < XPathResult as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathResult`*" ] pub fn evaluate_with_opt_callback_and_type ( & self , expression : & str , context_node : & Node , resolver : Option < & :: js_sys :: Function > , type_ : u16 ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_evaluate_with_opt_callback_and_type_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , expression : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , resolver : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let expression = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( expression , & mut __stack ) ; let context_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_node , & mut __stack ) ; let resolver = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( resolver , & mut __stack ) ; let type_ = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_evaluate_with_opt_callback_and_type_Document ( self_ , expression , context_node , resolver , type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathResult`*" ] pub fn evaluate_with_opt_callback_and_type ( & self , expression : & str , context_node : & Node , resolver : Option < & :: js_sys :: Function > , type_ : u16 ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_evaluate_with_opt_x_path_ns_resolver_and_type_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & XPathNsResolver > as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < XPathResult as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathNsResolver`, `XPathResult`*" ] pub fn evaluate_with_opt_x_path_ns_resolver_and_type ( & self , expression : & str , context_node : & Node , resolver : Option < & XPathNsResolver > , type_ : u16 ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_evaluate_with_opt_x_path_ns_resolver_and_type_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , expression : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , resolver : < Option < & XPathNsResolver > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let expression = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( expression , & mut __stack ) ; let context_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_node , & mut __stack ) ; let resolver = < Option < & XPathNsResolver > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( resolver , & mut __stack ) ; let type_ = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_evaluate_with_opt_x_path_ns_resolver_and_type_Document ( self_ , expression , context_node , resolver , type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathNsResolver`, `XPathResult`*" ] pub fn evaluate_with_opt_x_path_ns_resolver_and_type ( & self , expression : & str , context_node : & Node , resolver : Option < & XPathNsResolver > , type_ : u16 ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_evaluate_with_opt_callback_and_type_and_result_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < XPathResult as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathResult`*" ] pub fn evaluate_with_opt_callback_and_type_and_result ( & self , expression : & str , context_node : & Node , resolver : Option < & :: js_sys :: Function > , type_ : u16 , result : Option < & :: js_sys :: Object > ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_evaluate_with_opt_callback_and_type_and_result_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , expression : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , resolver : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , result : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let expression = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( expression , & mut __stack ) ; let context_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_node , & mut __stack ) ; let resolver = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( resolver , & mut __stack ) ; let type_ = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let result = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( result , & mut __stack ) ; __widl_f_evaluate_with_opt_callback_and_type_and_result_Document ( self_ , expression , context_node , resolver , type_ , result , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathResult`*" ] pub fn evaluate_with_opt_callback_and_type_and_result ( & self , expression : & str , context_node : & Node , resolver : Option < & :: js_sys :: Function > , type_ : u16 , result : Option < & :: js_sys :: Object > ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_evaluate_with_opt_x_path_ns_resolver_and_type_and_result_Document ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Document as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & XPathNsResolver > as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < XPathResult as WasmDescribe > :: describe ( ) ; } impl Document { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathNsResolver`, `XPathResult`*" ] pub fn evaluate_with_opt_x_path_ns_resolver_and_type_and_result ( & self , expression : & str , context_node : & Node , resolver : Option < & XPathNsResolver > , type_ : u16 , result : Option < & :: js_sys :: Object > ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_evaluate_with_opt_x_path_ns_resolver_and_type_and_result_Document ( self_ : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , expression : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , resolver : < Option < & XPathNsResolver > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , result : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let expression = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( expression , & mut __stack ) ; let context_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_node , & mut __stack ) ; let resolver = < Option < & XPathNsResolver > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( resolver , & mut __stack ) ; let type_ = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let result = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( result , & mut __stack ) ; __widl_f_evaluate_with_opt_x_path_ns_resolver_and_type_and_result_Document ( self_ , expression , context_node , resolver , type_ , result , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XPathNsResolver`, `XPathResult`*" ] pub fn evaluate_with_opt_x_path_ns_resolver_and_type_and_result ( & self , expression : & str , context_node : & Node , resolver : Option < & XPathNsResolver > , type_ : u16 , result : Option < & :: js_sys :: Object > ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DocumentFragment` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] # [ repr ( transparent ) ] pub struct DocumentFragment { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DocumentFragment : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DocumentFragment { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DocumentFragment { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DocumentFragment { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DocumentFragment { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DocumentFragment { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DocumentFragment { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DocumentFragment { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DocumentFragment { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DocumentFragment { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DocumentFragment > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DocumentFragment { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DocumentFragment { # [ inline ] fn from ( obj : JsValue ) -> DocumentFragment { DocumentFragment { obj } } } impl AsRef < JsValue > for DocumentFragment { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DocumentFragment > for JsValue { # [ inline ] fn from ( obj : DocumentFragment ) -> JsValue { obj . obj } } impl JsCast for DocumentFragment { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DocumentFragment ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DocumentFragment ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DocumentFragment { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DocumentFragment ) } } } ( ) } ; impl core :: ops :: Deref for DocumentFragment { type Target = Node ; # [ inline ] fn deref ( & self ) -> & Node { self . as_ref ( ) } } impl From < DocumentFragment > for Node { # [ inline ] fn from ( obj : DocumentFragment ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for DocumentFragment { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DocumentFragment > for EventTarget { # [ inline ] fn from ( obj : DocumentFragment ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for DocumentFragment { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DocumentFragment > for Object { # [ inline ] fn from ( obj : DocumentFragment ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DocumentFragment { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DocumentFragment as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DocumentFragment(..)` constructor, creating a new instance of `DocumentFragment`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/DocumentFragment)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn new ( ) -> Result < DocumentFragment , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DocumentFragment ( exn_data_ptr : * mut u32 ) -> < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_DocumentFragment ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DocumentFragment(..)` constructor, creating a new instance of `DocumentFragment`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/DocumentFragment)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn new ( ) -> Result < DocumentFragment , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_element_by_id_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getElementById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/getElementById)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*" ] pub fn get_element_by_id ( & self , element_id : & str ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_element_by_id_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element_id , & mut __stack ) ; __widl_f_get_element_by_id_DocumentFragment ( self_ , element_id ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getElementById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/getElementById)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*" ] pub fn get_element_by_id ( & self , element_id : & str ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_query_selector_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `querySelector()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/querySelector)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*" ] pub fn query_selector ( & self , selectors : & str ) -> Result < Option < Element > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_query_selector_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selectors : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selectors = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selectors , & mut __stack ) ; __widl_f_query_selector_DocumentFragment ( self_ , selectors , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `querySelector()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/querySelector)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*" ] pub fn query_selector ( & self , selectors : & str ) -> Result < Option < Element > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_query_selector_all_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < NodeList as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `querySelectorAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/querySelectorAll)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `NodeList`*" ] pub fn query_selector_all ( & self , selectors : & str ) -> Result < NodeList , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_query_selector_all_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selectors : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selectors = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selectors , & mut __stack ) ; __widl_f_query_selector_all_DocumentFragment ( self_ , selectors , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `querySelectorAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/querySelectorAll)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `NodeList`*" ] pub fn query_selector_all ( & self , selectors : & str ) -> Result < NodeList , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_append_with_node_DocumentFragment ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_0_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_0_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_append_with_node_0_DocumentFragment ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_1_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_1_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_append_with_node_1_DocumentFragment ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_2_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_2_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_append_with_node_2_DocumentFragment ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_3_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_3_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_append_with_node_3_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_4_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_4_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_append_with_node_4_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_5_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_5_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_append_with_node_5_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_6_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_6_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_append_with_node_6_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_7_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_7_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_append_with_node_7_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn append_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_append_with_str_DocumentFragment ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_0_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_0_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_append_with_str_0_DocumentFragment ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_1_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_1_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_append_with_str_1_DocumentFragment ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_2_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_2_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_append_with_str_2_DocumentFragment ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_3_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_3_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_append_with_str_3_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_4_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_4_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_append_with_str_4_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_5_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_5_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_append_with_str_5_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_6_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_6_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_append_with_str_6_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_7_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_7_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_append_with_str_7_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn append_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_prepend_with_node_DocumentFragment ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_0_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_0_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prepend_with_node_0_DocumentFragment ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_1_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_1_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_prepend_with_node_1_DocumentFragment ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_2_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_2_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_prepend_with_node_2_DocumentFragment ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_3_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_3_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_prepend_with_node_3_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_4_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_4_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_prepend_with_node_4_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_5_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_5_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_prepend_with_node_5_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_6_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_6_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_prepend_with_node_6_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_7_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_7_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_prepend_with_node_7_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Node`*" ] pub fn prepend_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_prepend_with_str_DocumentFragment ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_0_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_0_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prepend_with_str_0_DocumentFragment ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_1_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_1_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_prepend_with_str_1_DocumentFragment ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_2_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_2_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_prepend_with_str_2_DocumentFragment ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_3_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_3_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_prepend_with_str_3_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_4_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_4_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_prepend_with_str_4_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_5_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_5_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_prepend_with_str_5_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_6_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_6_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_prepend_with_str_6_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_7_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_7_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_prepend_with_str_7_DocumentFragment ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn prepend_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_children_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `children` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/children)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `HtmlCollection`*" ] pub fn children ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_children_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_children_DocumentFragment ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `children` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/children)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `HtmlCollection`*" ] pub fn children ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_first_element_child_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `firstElementChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/firstElementChild)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*" ] pub fn first_element_child ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_first_element_child_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_first_element_child_DocumentFragment ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `firstElementChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/firstElementChild)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*" ] pub fn first_element_child ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_last_element_child_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lastElementChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/lastElementChild)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*" ] pub fn last_element_child ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_last_element_child_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_last_element_child_DocumentFragment ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lastElementChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/lastElementChild)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*" ] pub fn last_element_child ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_child_element_count_DocumentFragment ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentFragment as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl DocumentFragment { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `childElementCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/childElementCount)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn child_element_count ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_child_element_count_DocumentFragment ( self_ : < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentFragment as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_child_element_count_DocumentFragment ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `childElementCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/childElementCount)\n\n*This API requires the following crate features to be activated: `DocumentFragment`*" ] pub fn child_element_count ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DocumentTimeline` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentTimeline)\n\n*This API requires the following crate features to be activated: `DocumentTimeline`*" ] # [ repr ( transparent ) ] pub struct DocumentTimeline { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DocumentTimeline : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DocumentTimeline { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DocumentTimeline { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DocumentTimeline { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DocumentTimeline { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DocumentTimeline { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DocumentTimeline { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DocumentTimeline { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DocumentTimeline { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DocumentTimeline { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DocumentTimeline > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DocumentTimeline { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DocumentTimeline { # [ inline ] fn from ( obj : JsValue ) -> DocumentTimeline { DocumentTimeline { obj } } } impl AsRef < JsValue > for DocumentTimeline { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DocumentTimeline > for JsValue { # [ inline ] fn from ( obj : DocumentTimeline ) -> JsValue { obj . obj } } impl JsCast for DocumentTimeline { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DocumentTimeline ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DocumentTimeline ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DocumentTimeline { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DocumentTimeline ) } } } ( ) } ; impl core :: ops :: Deref for DocumentTimeline { type Target = AnimationTimeline ; # [ inline ] fn deref ( & self ) -> & AnimationTimeline { self . as_ref ( ) } } impl From < DocumentTimeline > for AnimationTimeline { # [ inline ] fn from ( obj : DocumentTimeline ) -> AnimationTimeline { use wasm_bindgen :: JsCast ; AnimationTimeline :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AnimationTimeline > for DocumentTimeline { # [ inline ] fn as_ref ( & self ) -> & AnimationTimeline { use wasm_bindgen :: JsCast ; AnimationTimeline :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DocumentTimeline > for Object { # [ inline ] fn from ( obj : DocumentTimeline ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DocumentTimeline { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DocumentTimeline ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < DocumentTimeline as WasmDescribe > :: describe ( ) ; } impl DocumentTimeline { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DocumentTimeline(..)` constructor, creating a new instance of `DocumentTimeline`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentTimeline/DocumentTimeline)\n\n*This API requires the following crate features to be activated: `DocumentTimeline`*" ] pub fn new ( ) -> Result < DocumentTimeline , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DocumentTimeline ( exn_data_ptr : * mut u32 ) -> < DocumentTimeline as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_DocumentTimeline ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DocumentTimeline as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DocumentTimeline(..)` constructor, creating a new instance of `DocumentTimeline`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentTimeline/DocumentTimeline)\n\n*This API requires the following crate features to be activated: `DocumentTimeline`*" ] pub fn new ( ) -> Result < DocumentTimeline , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_DocumentTimeline ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentTimelineOptions as WasmDescribe > :: describe ( ) ; < DocumentTimeline as WasmDescribe > :: describe ( ) ; } impl DocumentTimeline { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DocumentTimeline(..)` constructor, creating a new instance of `DocumentTimeline`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentTimeline/DocumentTimeline)\n\n*This API requires the following crate features to be activated: `DocumentTimeline`, `DocumentTimelineOptions`*" ] pub fn new_with_options ( options : & DocumentTimelineOptions ) -> Result < DocumentTimeline , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_DocumentTimeline ( options : < & DocumentTimelineOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DocumentTimeline as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let options = < & DocumentTimelineOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_DocumentTimeline ( options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DocumentTimeline as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DocumentTimeline(..)` constructor, creating a new instance of `DocumentTimeline`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentTimeline/DocumentTimeline)\n\n*This API requires the following crate features to be activated: `DocumentTimeline`, `DocumentTimelineOptions`*" ] pub fn new_with_options ( options : & DocumentTimelineOptions ) -> Result < DocumentTimeline , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DocumentType` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] # [ repr ( transparent ) ] pub struct DocumentType { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DocumentType : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DocumentType { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DocumentType { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DocumentType { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DocumentType { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DocumentType { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DocumentType { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DocumentType { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DocumentType { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DocumentType { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DocumentType > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DocumentType { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DocumentType { # [ inline ] fn from ( obj : JsValue ) -> DocumentType { DocumentType { obj } } } impl AsRef < JsValue > for DocumentType { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DocumentType > for JsValue { # [ inline ] fn from ( obj : DocumentType ) -> JsValue { obj . obj } } impl JsCast for DocumentType { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DocumentType ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DocumentType ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DocumentType { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DocumentType ) } } } ( ) } ; impl core :: ops :: Deref for DocumentType { type Target = Node ; # [ inline ] fn deref ( & self ) -> & Node { self . as_ref ( ) } } impl From < DocumentType > for Node { # [ inline ] fn from ( obj : DocumentType ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for DocumentType { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DocumentType > for EventTarget { # [ inline ] fn from ( obj : DocumentType ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for DocumentType { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DocumentType > for Object { # [ inline ] fn from ( obj : DocumentType ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DocumentType { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/name)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_DocumentType ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/name)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_public_id_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `publicId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/publicId)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn public_id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_public_id_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_public_id_DocumentType ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `publicId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/publicId)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn public_id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_system_id_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `systemId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/systemId)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn system_id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_system_id_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_system_id_DocumentType ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `systemId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/systemId)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn system_id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_after_with_node_DocumentType ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_0_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_0_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_after_with_node_0_DocumentType ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_1_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_1_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_after_with_node_1_DocumentType ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_2_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_2_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_after_with_node_2_DocumentType ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_3_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_3_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_after_with_node_3_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_4_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_4_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_after_with_node_4_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_5_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_5_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_after_with_node_5_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_6_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_6_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_after_with_node_6_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_7_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_7_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_after_with_node_7_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn after_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_after_with_str_DocumentType ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_0_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_0_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_after_with_str_0_DocumentType ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_1_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_1_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_after_with_str_1_DocumentType ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_2_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_2_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_after_with_str_2_DocumentType ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_3_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_3_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_after_with_str_3_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_4_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_4_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_after_with_str_4_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_5_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_5_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_after_with_str_5_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_6_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_6_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_after_with_str_6_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_7_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_7_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_after_with_str_7_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn after_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_before_with_node_DocumentType ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_0_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_0_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_before_with_node_0_DocumentType ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_1_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_1_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_before_with_node_1_DocumentType ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_2_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_2_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_before_with_node_2_DocumentType ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_3_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_3_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_before_with_node_3_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_4_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_4_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_before_with_node_4_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_5_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_5_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_before_with_node_5_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_6_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_6_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_before_with_node_6_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_7_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_7_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_before_with_node_7_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn before_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_before_with_str_DocumentType ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_0_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_0_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_before_with_str_0_DocumentType ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_1_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_1_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_before_with_str_1_DocumentType ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_2_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_2_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_before_with_str_2_DocumentType ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_3_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_3_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_before_with_str_3_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_4_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_4_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_before_with_str_4_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_5_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_5_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_before_with_str_5_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_6_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_6_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_before_with_str_6_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_7_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_7_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_before_with_str_7_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn before_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/remove)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn remove ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_remove_DocumentType ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/remove)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn remove ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_replace_with_with_node_DocumentType ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_0_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_0_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_replace_with_with_node_0_DocumentType ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_1_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_1_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_replace_with_with_node_1_DocumentType ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_2_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_2_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_replace_with_with_node_2_DocumentType ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_3_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_3_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_replace_with_with_node_3_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_4_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_4_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_replace_with_with_node_4_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_5_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_5_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_replace_with_with_node_5_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_6_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_6_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_replace_with_with_node_6_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_7_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_7_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_replace_with_with_node_7_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`, `Node`*" ] pub fn replace_with_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_replace_with_with_str_DocumentType ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_0_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_0_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_replace_with_with_str_0_DocumentType ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_1_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_1_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_replace_with_with_str_1_DocumentType ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_2_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_2_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_replace_with_with_str_2_DocumentType ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_3_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_3_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_replace_with_with_str_3_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_4_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_4_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_replace_with_with_str_4_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_5_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_5_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_replace_with_with_str_5_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_6_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_6_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_replace_with_with_str_6_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_7_DocumentType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DocumentType as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DocumentType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_7_DocumentType ( self_ : < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DocumentType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_replace_with_with_str_7_DocumentType ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)\n\n*This API requires the following crate features to be activated: `DocumentType`*" ] pub fn replace_with_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DragEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`*" ] # [ repr ( transparent ) ] pub struct DragEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DragEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DragEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DragEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DragEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DragEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DragEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DragEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DragEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DragEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DragEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DragEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DragEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DragEvent { # [ inline ] fn from ( obj : JsValue ) -> DragEvent { DragEvent { obj } } } impl AsRef < JsValue > for DragEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DragEvent > for JsValue { # [ inline ] fn from ( obj : DragEvent ) -> JsValue { obj . obj } } impl JsCast for DragEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DragEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DragEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DragEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DragEvent ) } } } ( ) } ; impl core :: ops :: Deref for DragEvent { type Target = MouseEvent ; # [ inline ] fn deref ( & self ) -> & MouseEvent { self . as_ref ( ) } } impl From < DragEvent > for MouseEvent { # [ inline ] fn from ( obj : DragEvent ) -> MouseEvent { use wasm_bindgen :: JsCast ; MouseEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < MouseEvent > for DragEvent { # [ inline ] fn as_ref ( & self ) -> & MouseEvent { use wasm_bindgen :: JsCast ; MouseEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DragEvent > for UiEvent { # [ inline ] fn from ( obj : DragEvent ) -> UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < UiEvent > for DragEvent { # [ inline ] fn as_ref ( & self ) -> & UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DragEvent > for Event { # [ inline ] fn from ( obj : DragEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for DragEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DragEvent > for Object { # [ inline ] fn from ( obj : DragEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DragEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < DragEvent as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DragEvent(..)` constructor, creating a new instance of `DragEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/DragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`*" ] pub fn new ( type_ : & str ) -> Result < DragEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DragEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DragEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_DragEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DragEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DragEvent(..)` constructor, creating a new instance of `DragEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/DragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`*" ] pub fn new ( type_ : & str ) -> Result < DragEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & DragEventInit as WasmDescribe > :: describe ( ) ; < DragEvent as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DragEvent(..)` constructor, creating a new instance of `DragEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/DragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `DragEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & DragEventInit ) -> Result < DragEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_DragEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & DragEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DragEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & DragEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_DragEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DragEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DragEvent(..)` constructor, creating a new instance of `DragEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/DragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `DragEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & DragEventInit ) -> Result < DragEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`*" ] pub fn init_drag_event ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_init_drag_event_DragEvent ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`*" ] pub fn init_drag_event ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`*" ] pub fn init_drag_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_DragEvent ( self_ , type_ , can_bubble ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`*" ] pub fn init_drag_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_DragEvent ( self_ , type_ , can_bubble , cancelable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_DragEvent ( self_ , type_ , can_bubble , cancelable , a_view ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_DragEvent ( self_ , type_ , can_bubble , cancelable , a_view , a_detail ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; let a_screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_x , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_DragEvent ( self_ , type_ , can_bubble , cancelable , a_view , a_detail , a_screen_x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; let a_screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_x , & mut __stack ) ; let a_screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_y , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_DragEvent ( self_ , type_ , can_bubble , cancelable , a_view , a_detail , a_screen_x , a_screen_y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; let a_screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_x , & mut __stack ) ; let a_screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_y , & mut __stack ) ; let a_client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_x , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_DragEvent ( self_ , type_ , can_bubble , cancelable , a_view , a_detail , a_screen_x , a_screen_y , a_client_x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; let a_screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_x , & mut __stack ) ; let a_screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_y , & mut __stack ) ; let a_client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_x , & mut __stack ) ; let a_client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_y , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_DragEvent ( self_ , type_ , can_bubble , cancelable , a_view , a_detail , a_screen_x , a_screen_y , a_client_x , a_client_y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; let a_screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_x , & mut __stack ) ; let a_screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_y , & mut __stack ) ; let a_client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_x , & mut __stack ) ; let a_client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_y , & mut __stack ) ; let a_ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_ctrl_key , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_DragEvent ( self_ , type_ , can_bubble , cancelable , a_view , a_detail , a_screen_x , a_screen_y , a_client_x , a_client_y , a_ctrl_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool , a_alt_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; let a_screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_x , & mut __stack ) ; let a_screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_y , & mut __stack ) ; let a_client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_x , & mut __stack ) ; let a_client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_y , & mut __stack ) ; let a_ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_ctrl_key , & mut __stack ) ; let a_alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_alt_key , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_DragEvent ( self_ , type_ , can_bubble , cancelable , a_view , a_detail , a_screen_x , a_screen_y , a_client_x , a_client_y , a_ctrl_key , a_alt_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool , a_alt_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 13u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool , a_alt_key : bool , a_shift_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; let a_screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_x , & mut __stack ) ; let a_screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_y , & mut __stack ) ; let a_client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_x , & mut __stack ) ; let a_client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_y , & mut __stack ) ; let a_ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_ctrl_key , & mut __stack ) ; let a_alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_alt_key , & mut __stack ) ; let a_shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_shift_key , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_DragEvent ( self_ , type_ , can_bubble , cancelable , a_view , a_detail , a_screen_x , a_screen_y , a_client_x , a_client_y , a_ctrl_key , a_alt_key , a_shift_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool , a_alt_key : bool , a_shift_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 14u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool , a_alt_key : bool , a_shift_key : bool , a_meta_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; let a_screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_x , & mut __stack ) ; let a_screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_y , & mut __stack ) ; let a_client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_x , & mut __stack ) ; let a_client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_y , & mut __stack ) ; let a_ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_ctrl_key , & mut __stack ) ; let a_alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_alt_key , & mut __stack ) ; let a_shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_shift_key , & mut __stack ) ; let a_meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_meta_key , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_DragEvent ( self_ , type_ , can_bubble , cancelable , a_view , a_detail , a_screen_x , a_screen_y , a_client_x , a_client_y , a_ctrl_key , a_alt_key , a_shift_key , a_meta_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool , a_alt_key : bool , a_shift_key : bool , a_meta_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 15u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool , a_alt_key : bool , a_shift_key : bool , a_meta_key : bool , a_button : u16 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_button : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; let a_screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_x , & mut __stack ) ; let a_screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_y , & mut __stack ) ; let a_client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_x , & mut __stack ) ; let a_client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_y , & mut __stack ) ; let a_ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_ctrl_key , & mut __stack ) ; let a_alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_alt_key , & mut __stack ) ; let a_shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_shift_key , & mut __stack ) ; let a_meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_meta_key , & mut __stack ) ; let a_button = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_button , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_DragEvent ( self_ , type_ , can_bubble , cancelable , a_view , a_detail , a_screen_x , a_screen_y , a_client_x , a_client_y , a_ctrl_key , a_alt_key , a_shift_key , a_meta_key , a_button ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool , a_alt_key : bool , a_shift_key : bool , a_meta_key : bool , a_button : u16 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 16u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < Option < & EventTarget > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `EventTarget`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool , a_alt_key : bool , a_shift_key : bool , a_meta_key : bool , a_button : u16 , a_related_target : Option < & EventTarget > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_button : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_related_target : < Option < & EventTarget > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; let a_screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_x , & mut __stack ) ; let a_screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_y , & mut __stack ) ; let a_client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_x , & mut __stack ) ; let a_client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_y , & mut __stack ) ; let a_ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_ctrl_key , & mut __stack ) ; let a_alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_alt_key , & mut __stack ) ; let a_shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_shift_key , & mut __stack ) ; let a_meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_meta_key , & mut __stack ) ; let a_button = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_button , & mut __stack ) ; let a_related_target = < Option < & EventTarget > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_related_target , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target_DragEvent ( self_ , type_ , can_bubble , cancelable , a_view , a_detail , a_screen_x , a_screen_y , a_client_x , a_client_y , a_ctrl_key , a_alt_key , a_shift_key , a_meta_key , a_button , a_related_target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DragEvent`, `EventTarget`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool , a_alt_key : bool , a_shift_key : bool , a_meta_key : bool , a_button : u16 , a_related_target : Option < & EventTarget > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target_and_a_data_transfer_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 17u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < Option < & EventTarget > as WasmDescribe > :: describe ( ) ; < Option < & DataTransfer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DataTransfer`, `DragEvent`, `EventTarget`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target_and_a_data_transfer ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool , a_alt_key : bool , a_shift_key : bool , a_meta_key : bool , a_button : u16 , a_related_target : Option < & EventTarget > , a_data_transfer : Option < & DataTransfer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target_and_a_data_transfer_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_button : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_related_target : < Option < & EventTarget > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_data_transfer : < Option < & DataTransfer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; let a_screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_x , & mut __stack ) ; let a_screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_screen_y , & mut __stack ) ; let a_client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_x , & mut __stack ) ; let a_client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_client_y , & mut __stack ) ; let a_ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_ctrl_key , & mut __stack ) ; let a_alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_alt_key , & mut __stack ) ; let a_shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_shift_key , & mut __stack ) ; let a_meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_meta_key , & mut __stack ) ; let a_button = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_button , & mut __stack ) ; let a_related_target = < Option < & EventTarget > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_related_target , & mut __stack ) ; let a_data_transfer = < Option < & DataTransfer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_data_transfer , & mut __stack ) ; __widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target_and_a_data_transfer_DragEvent ( self_ , type_ , can_bubble , cancelable , a_view , a_detail , a_screen_x , a_screen_y , a_client_x , a_client_y , a_ctrl_key , a_alt_key , a_shift_key , a_meta_key , a_button , a_related_target , a_data_transfer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDragEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/initDragEvent)\n\n*This API requires the following crate features to be activated: `DataTransfer`, `DragEvent`, `EventTarget`, `Window`*" ] pub fn init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target_and_a_data_transfer ( & self , type_ : & str , can_bubble : bool , cancelable : bool , a_view : Option < & Window > , a_detail : i32 , a_screen_x : i32 , a_screen_y : i32 , a_client_x : i32 , a_client_y : i32 , a_ctrl_key : bool , a_alt_key : bool , a_shift_key : bool , a_meta_key : bool , a_button : u16 , a_related_target : Option < & EventTarget > , a_data_transfer : Option < & DataTransfer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_data_transfer_DragEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DragEvent as WasmDescribe > :: describe ( ) ; < Option < DataTransfer > as WasmDescribe > :: describe ( ) ; } impl DragEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dataTransfer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/dataTransfer)\n\n*This API requires the following crate features to be activated: `DataTransfer`, `DragEvent`*" ] pub fn data_transfer ( & self , ) -> Option < DataTransfer > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_data_transfer_DragEvent ( self_ : < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < DataTransfer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DragEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_data_transfer_DragEvent ( self_ ) } ; < Option < DataTransfer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dataTransfer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent/dataTransfer)\n\n*This API requires the following crate features to be activated: `DataTransfer`, `DragEvent`*" ] pub fn data_transfer ( & self , ) -> Option < DataTransfer > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `DynamicsCompressorNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode)\n\n*This API requires the following crate features to be activated: `DynamicsCompressorNode`*" ] # [ repr ( transparent ) ] pub struct DynamicsCompressorNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_DynamicsCompressorNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for DynamicsCompressorNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for DynamicsCompressorNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for DynamicsCompressorNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a DynamicsCompressorNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for DynamicsCompressorNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { DynamicsCompressorNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for DynamicsCompressorNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a DynamicsCompressorNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for DynamicsCompressorNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < DynamicsCompressorNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( DynamicsCompressorNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for DynamicsCompressorNode { # [ inline ] fn from ( obj : JsValue ) -> DynamicsCompressorNode { DynamicsCompressorNode { obj } } } impl AsRef < JsValue > for DynamicsCompressorNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < DynamicsCompressorNode > for JsValue { # [ inline ] fn from ( obj : DynamicsCompressorNode ) -> JsValue { obj . obj } } impl JsCast for DynamicsCompressorNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_DynamicsCompressorNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_DynamicsCompressorNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DynamicsCompressorNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DynamicsCompressorNode ) } } } ( ) } ; impl core :: ops :: Deref for DynamicsCompressorNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < DynamicsCompressorNode > for AudioNode { # [ inline ] fn from ( obj : DynamicsCompressorNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for DynamicsCompressorNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DynamicsCompressorNode > for EventTarget { # [ inline ] fn from ( obj : DynamicsCompressorNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for DynamicsCompressorNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < DynamicsCompressorNode > for Object { # [ inline ] fn from ( obj : DynamicsCompressorNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for DynamicsCompressorNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_DynamicsCompressorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < DynamicsCompressorNode as WasmDescribe > :: describe ( ) ; } impl DynamicsCompressorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DynamicsCompressorNode(..)` constructor, creating a new instance of `DynamicsCompressorNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/DynamicsCompressorNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DynamicsCompressorNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < DynamicsCompressorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_DynamicsCompressorNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DynamicsCompressorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_DynamicsCompressorNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DynamicsCompressorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DynamicsCompressorNode(..)` constructor, creating a new instance of `DynamicsCompressorNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/DynamicsCompressorNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DynamicsCompressorNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < DynamicsCompressorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_DynamicsCompressorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & DynamicsCompressorOptions as WasmDescribe > :: describe ( ) ; < DynamicsCompressorNode as WasmDescribe > :: describe ( ) ; } impl DynamicsCompressorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new DynamicsCompressorNode(..)` constructor, creating a new instance of `DynamicsCompressorNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/DynamicsCompressorNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DynamicsCompressorNode`, `DynamicsCompressorOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & DynamicsCompressorOptions ) -> Result < DynamicsCompressorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_DynamicsCompressorNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & DynamicsCompressorOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DynamicsCompressorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & DynamicsCompressorOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_DynamicsCompressorNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DynamicsCompressorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new DynamicsCompressorNode(..)` constructor, creating a new instance of `DynamicsCompressorNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/DynamicsCompressorNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `DynamicsCompressorNode`, `DynamicsCompressorOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & DynamicsCompressorOptions ) -> Result < DynamicsCompressorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_threshold_DynamicsCompressorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DynamicsCompressorNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl DynamicsCompressorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `threshold` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/threshold)\n\n*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*" ] pub fn threshold ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_threshold_DynamicsCompressorNode ( self_ : < & DynamicsCompressorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DynamicsCompressorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_threshold_DynamicsCompressorNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `threshold` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/threshold)\n\n*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*" ] pub fn threshold ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_knee_DynamicsCompressorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DynamicsCompressorNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl DynamicsCompressorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `knee` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/knee)\n\n*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*" ] pub fn knee ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_knee_DynamicsCompressorNode ( self_ : < & DynamicsCompressorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DynamicsCompressorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_knee_DynamicsCompressorNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `knee` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/knee)\n\n*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*" ] pub fn knee ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ratio_DynamicsCompressorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DynamicsCompressorNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl DynamicsCompressorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ratio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/ratio)\n\n*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*" ] pub fn ratio ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ratio_DynamicsCompressorNode ( self_ : < & DynamicsCompressorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DynamicsCompressorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ratio_DynamicsCompressorNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ratio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/ratio)\n\n*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*" ] pub fn ratio ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reduction_DynamicsCompressorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DynamicsCompressorNode as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl DynamicsCompressorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reduction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/reduction)\n\n*This API requires the following crate features to be activated: `DynamicsCompressorNode`*" ] pub fn reduction ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reduction_DynamicsCompressorNode ( self_ : < & DynamicsCompressorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DynamicsCompressorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reduction_DynamicsCompressorNode ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reduction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/reduction)\n\n*This API requires the following crate features to be activated: `DynamicsCompressorNode`*" ] pub fn reduction ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_attack_DynamicsCompressorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DynamicsCompressorNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl DynamicsCompressorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `attack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/attack)\n\n*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*" ] pub fn attack ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_attack_DynamicsCompressorNode ( self_ : < & DynamicsCompressorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DynamicsCompressorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_attack_DynamicsCompressorNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `attack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/attack)\n\n*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*" ] pub fn attack ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_release_DynamicsCompressorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & DynamicsCompressorNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl DynamicsCompressorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `release` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/release)\n\n*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*" ] pub fn release ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_release_DynamicsCompressorNode ( self_ : < & DynamicsCompressorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & DynamicsCompressorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_release_DynamicsCompressorNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `release` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/release)\n\n*This API requires the following crate features to be activated: `AudioParam`, `DynamicsCompressorNode`*" ] pub fn release ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Element` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element)\n\n*This API requires the following crate features to be activated: `Element`*" ] # [ repr ( transparent ) ] pub struct Element { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Element : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Element { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Element { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Element { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Element { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Element { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Element { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Element { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Element { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Element { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Element > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Element { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Element { # [ inline ] fn from ( obj : JsValue ) -> Element { Element { obj } } } impl AsRef < JsValue > for Element { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Element > for JsValue { # [ inline ] fn from ( obj : Element ) -> JsValue { obj . obj } } impl JsCast for Element { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Element ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Element ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Element { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Element ) } } } ( ) } ; impl core :: ops :: Deref for Element { type Target = Node ; # [ inline ] fn deref ( & self ) -> & Node { self . as_ref ( ) } } impl From < Element > for Node { # [ inline ] fn from ( obj : Element ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for Element { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Element > for EventTarget { # [ inline ] fn from ( obj : Element ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for Element { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Element > for Object { # [ inline ] fn from ( obj : Element ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Element { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_attach_shadow_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ShadowRootInit as WasmDescribe > :: describe ( ) ; < ShadowRoot as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `attachShadow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`, `ShadowRootInit`*" ] pub fn attach_shadow ( & self , shadow_root_init_dict : & ShadowRootInit ) -> Result < ShadowRoot , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_attach_shadow_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shadow_root_init_dict : < & ShadowRootInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ShadowRoot as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shadow_root_init_dict = < & ShadowRootInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shadow_root_init_dict , & mut __stack ) ; __widl_f_attach_shadow_Element ( self_ , shadow_root_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ShadowRoot as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `attachShadow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`, `ShadowRootInit`*" ] pub fn attach_shadow ( & self , shadow_root_init_dict : & ShadowRootInit ) -> Result < ShadowRoot , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_closest_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `closest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/closest)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn closest ( & self , selector : & str ) -> Result < Option < Element > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_closest_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selector : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selector = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selector , & mut __stack ) ; __widl_f_closest_Element ( self_ , selector , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `closest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/closest)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn closest ( & self , selector : & str ) -> Result < Option < Element > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_attribute_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttribute)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn get_attribute ( & self , name : & str ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_attribute_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_attribute_Element ( self_ , name ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttribute)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn get_attribute ( & self , name : & str ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_attribute_ns_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAttributeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNS)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn get_attribute_ns ( & self , namespace : Option < & str > , local_name : & str ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_attribute_ns_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; __widl_f_get_attribute_ns_Element ( self_ , namespace , local_name ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAttributeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNS)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn get_attribute_ns ( & self , namespace : Option < & str > , local_name : & str ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_attribute_node_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Attr > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAttributeNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNode)\n\n*This API requires the following crate features to be activated: `Attr`, `Element`*" ] pub fn get_attribute_node ( & self , name : & str ) -> Option < Attr > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_attribute_node_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_attribute_node_Element ( self_ , name ) } ; < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAttributeNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNode)\n\n*This API requires the following crate features to be activated: `Attr`, `Element`*" ] pub fn get_attribute_node ( & self , name : & str ) -> Option < Attr > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_attribute_node_ns_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Attr > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAttributeNodeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNodeNS)\n\n*This API requires the following crate features to be activated: `Attr`, `Element`*" ] pub fn get_attribute_node_ns ( & self , namespace_uri : Option < & str > , local_name : & str ) -> Option < Attr > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_attribute_node_ns_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace_uri : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace_uri = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace_uri , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; __widl_f_get_attribute_node_ns_Element ( self_ , namespace_uri , local_name ) } ; < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAttributeNodeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNodeNS)\n\n*This API requires the following crate features to be activated: `Attr`, `Element`*" ] pub fn get_attribute_node_ns ( & self , namespace_uri : Option < & str > , local_name : & str ) -> Option < Attr > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_bounding_client_rect_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < DomRect as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBoundingClientRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect)\n\n*This API requires the following crate features to be activated: `DomRect`, `Element`*" ] pub fn get_bounding_client_rect ( & self , ) -> DomRect { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_bounding_client_rect_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_bounding_client_rect_Element ( self_ ) } ; < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBoundingClientRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect)\n\n*This API requires the following crate features to be activated: `DomRect`, `Element`*" ] pub fn get_bounding_client_rect ( & self , ) -> DomRect { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_client_rects_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < DomRectList as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getClientRects()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getClientRects)\n\n*This API requires the following crate features to be activated: `DomRectList`, `Element`*" ] pub fn get_client_rects ( & self , ) -> DomRectList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_client_rects_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomRectList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_client_rects_Element ( self_ ) } ; < DomRectList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getClientRects()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getClientRects)\n\n*This API requires the following crate features to be activated: `DomRectList`, `Element`*" ] pub fn get_client_rects ( & self , ) -> DomRectList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_attribute_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn has_attribute ( & self , name : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_attribute_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_has_attribute_Element ( self_ , name ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn has_attribute ( & self , name : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_attribute_ns_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasAttributeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributeNS)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn has_attribute_ns ( & self , namespace : Option < & str > , local_name : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_attribute_ns_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; __widl_f_has_attribute_ns_Element ( self_ , namespace , local_name ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasAttributeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributeNS)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn has_attribute_ns ( & self , namespace : Option < & str > , local_name : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_attributes_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasAttributes()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributes)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn has_attributes ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_attributes_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_has_attributes_Element ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasAttributes()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributes)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn has_attributes ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_pointer_capture_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasPointerCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasPointerCapture)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn has_pointer_capture ( & self , pointer_id : i32 ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_pointer_capture_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pointer_id : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pointer_id = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pointer_id , & mut __stack ) ; __widl_f_has_pointer_capture_Element ( self_ , pointer_id ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasPointerCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasPointerCapture)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn has_pointer_capture ( & self , pointer_id : i32 ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_adjacent_element_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertAdjacentElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentElement)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn insert_adjacent_element ( & self , where_ : & str , element : & Element ) -> Result < Option < Element > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_adjacent_element_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , where_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let where_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( where_ , & mut __stack ) ; let element = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; __widl_f_insert_adjacent_element_Element ( self_ , where_ , element , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertAdjacentElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentElement)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn insert_adjacent_element ( & self , where_ : & str , element : & Element ) -> Result < Option < Element > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_adjacent_html_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertAdjacentHTML()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentHTML)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn insert_adjacent_html ( & self , position : & str , text : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_adjacent_html_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , position : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let position = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( position , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_insert_adjacent_html_Element ( self_ , position , text , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertAdjacentHTML()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentHTML)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn insert_adjacent_html ( & self , position : & str , text : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_adjacent_text_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertAdjacentText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentText)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn insert_adjacent_text ( & self , where_ : & str , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_adjacent_text_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , where_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let where_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( where_ , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_insert_adjacent_text_Element ( self_ , where_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertAdjacentText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentText)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn insert_adjacent_text ( & self , where_ : & str , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_matches_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `matches()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/matches)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn matches ( & self , selector : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_matches_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selector : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selector = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selector , & mut __stack ) ; __widl_f_matches_Element ( self_ , selector , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `matches()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/matches)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn matches ( & self , selector : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_query_selector_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `querySelector()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn query_selector ( & self , selectors : & str ) -> Result < Option < Element > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_query_selector_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selectors : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selectors = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selectors , & mut __stack ) ; __widl_f_query_selector_Element ( self_ , selectors , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `querySelector()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn query_selector ( & self , selectors : & str ) -> Result < Option < Element > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_query_selector_all_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < NodeList as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `querySelectorAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelectorAll)\n\n*This API requires the following crate features to be activated: `Element`, `NodeList`*" ] pub fn query_selector_all ( & self , selectors : & str ) -> Result < NodeList , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_query_selector_all_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selectors : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selectors = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selectors , & mut __stack ) ; __widl_f_query_selector_all_Element ( self_ , selectors , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `querySelectorAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelectorAll)\n\n*This API requires the following crate features to be activated: `Element`, `NodeList`*" ] pub fn query_selector_all ( & self , selectors : & str ) -> Result < NodeList , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_release_capture_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `releaseCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/releaseCapture)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn release_capture ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_release_capture_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_release_capture_Element ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `releaseCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/releaseCapture)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn release_capture ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_release_pointer_capture_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `releasePointerCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/releasePointerCapture)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn release_pointer_capture ( & self , pointer_id : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_release_pointer_capture_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pointer_id : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pointer_id = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pointer_id , & mut __stack ) ; __widl_f_release_pointer_capture_Element ( self_ , pointer_id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `releasePointerCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/releasePointerCapture)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn release_pointer_capture ( & self , pointer_id : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_attribute_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn remove_attribute ( & self , name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_attribute_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_remove_attribute_Element ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn remove_attribute ( & self , name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_attribute_ns_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeAttributeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNS)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn remove_attribute_ns ( & self , namespace : Option < & str > , local_name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_attribute_ns_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; __widl_f_remove_attribute_ns_Element ( self_ , namespace , local_name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeAttributeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNS)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn remove_attribute_ns ( & self , namespace : Option < & str > , local_name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_attribute_node_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Attr as WasmDescribe > :: describe ( ) ; < Option < Attr > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeAttributeNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNode)\n\n*This API requires the following crate features to be activated: `Attr`, `Element`*" ] pub fn remove_attribute_node ( & self , old_attr : & Attr ) -> Result < Option < Attr > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_attribute_node_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , old_attr : < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let old_attr = < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( old_attr , & mut __stack ) ; __widl_f_remove_attribute_node_Element ( self_ , old_attr , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeAttributeNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNode)\n\n*This API requires the following crate features to be activated: `Attr`, `Element`*" ] pub fn remove_attribute_node ( & self , old_attr : & Attr ) -> Result < Option < Attr > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_fullscreen_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestFullscreen()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn request_fullscreen ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_fullscreen_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_request_fullscreen_Element ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestFullscreen()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn request_fullscreen ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_pointer_lock_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestPointerLock()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestPointerLock)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn request_pointer_lock ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_pointer_lock_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_request_pointer_lock_Element ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestPointerLock()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestPointerLock)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn request_pointer_lock ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_with_x_and_y_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scroll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_with_x_and_y ( & self , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_with_x_and_y_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_scroll_with_x_and_y_Element ( self_ , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scroll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_with_x_and_y ( & self , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scroll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_Element ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scroll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_with_scroll_to_options_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ScrollToOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scroll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)\n\n*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*" ] pub fn scroll_with_scroll_to_options ( & self , options : & ScrollToOptions ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_with_scroll_to_options_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ScrollToOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & ScrollToOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_scroll_with_scroll_to_options_Element ( self_ , options ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scroll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)\n\n*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*" ] pub fn scroll_with_scroll_to_options ( & self , options : & ScrollToOptions ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_by_with_x_and_y_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_by_with_x_and_y ( & self , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_by_with_x_and_y_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_scroll_by_with_x_and_y_Element ( self_ , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_by_with_x_and_y ( & self , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_by_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_by ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_by_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_by_Element ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_by ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_by_with_scroll_to_options_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ScrollToOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)\n\n*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*" ] pub fn scroll_by_with_scroll_to_options ( & self , options : & ScrollToOptions ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_by_with_scroll_to_options_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ScrollToOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & ScrollToOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_scroll_by_with_scroll_to_options_Element ( self_ , options ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)\n\n*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*" ] pub fn scroll_by_with_scroll_to_options ( & self , options : & ScrollToOptions ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_into_view_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollIntoView()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_into_view ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_into_view_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_into_view_Element ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollIntoView()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_into_view ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_into_view_with_bool_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollIntoView()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_into_view_with_bool ( & self , arg : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_into_view_with_bool_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arg , & mut __stack ) ; __widl_f_scroll_into_view_with_bool_Element ( self_ , arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollIntoView()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_into_view_with_bool ( & self , arg : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_into_view_with_scroll_into_view_options_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ScrollIntoViewOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollIntoView()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)\n\n*This API requires the following crate features to be activated: `Element`, `ScrollIntoViewOptions`*" ] pub fn scroll_into_view_with_scroll_into_view_options ( & self , arg : & ScrollIntoViewOptions ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_into_view_with_scroll_into_view_options_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arg : < & ScrollIntoViewOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let arg = < & ScrollIntoViewOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arg , & mut __stack ) ; __widl_f_scroll_into_view_with_scroll_into_view_options_Element ( self_ , arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollIntoView()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)\n\n*This API requires the following crate features to be activated: `Element`, `ScrollIntoViewOptions`*" ] pub fn scroll_into_view_with_scroll_into_view_options ( & self , arg : & ScrollIntoViewOptions ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_to_with_x_and_y_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_to_with_x_and_y ( & self , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_to_with_x_and_y_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_scroll_to_with_x_and_y_Element ( self_ , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_to_with_x_and_y ( & self , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_to_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_to ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_to_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_to_Element ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_to ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_to_with_scroll_to_options_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ScrollToOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)\n\n*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*" ] pub fn scroll_to_with_scroll_to_options ( & self , options : & ScrollToOptions ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_to_with_scroll_to_options_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ScrollToOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & ScrollToOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_scroll_to_with_scroll_to_options_Element ( self_ , options ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)\n\n*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*" ] pub fn scroll_to_with_scroll_to_options ( & self , options : & ScrollToOptions ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_attribute_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_attribute ( & self , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_attribute_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_attribute_Element ( self_ , name , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_attribute ( & self , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_attribute_ns_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setAttributeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNS)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_attribute_ns ( & self , namespace : Option < & str > , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_attribute_ns_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_attribute_ns_Element ( self_ , namespace , name , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setAttributeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNS)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_attribute_ns ( & self , namespace : Option < & str > , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_attribute_node_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Attr as WasmDescribe > :: describe ( ) ; < Option < Attr > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setAttributeNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNode)\n\n*This API requires the following crate features to be activated: `Attr`, `Element`*" ] pub fn set_attribute_node ( & self , new_attr : & Attr ) -> Result < Option < Attr > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_attribute_node_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_attr : < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_attr = < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_attr , & mut __stack ) ; __widl_f_set_attribute_node_Element ( self_ , new_attr , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setAttributeNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNode)\n\n*This API requires the following crate features to be activated: `Attr`, `Element`*" ] pub fn set_attribute_node ( & self , new_attr : & Attr ) -> Result < Option < Attr > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_attribute_node_ns_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Attr as WasmDescribe > :: describe ( ) ; < Option < Attr > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setAttributeNodeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNodeNS)\n\n*This API requires the following crate features to be activated: `Attr`, `Element`*" ] pub fn set_attribute_node_ns ( & self , new_attr : & Attr ) -> Result < Option < Attr > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_attribute_node_ns_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_attr : < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_attr = < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_attr , & mut __stack ) ; __widl_f_set_attribute_node_ns_Element ( self_ , new_attr , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setAttributeNodeNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNodeNS)\n\n*This API requires the following crate features to be activated: `Attr`, `Element`*" ] pub fn set_attribute_node_ns ( & self , new_attr : & Attr ) -> Result < Option < Attr > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_capture_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setCapture)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_capture ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_capture_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_set_capture_Element ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setCapture)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_capture ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_capture_with_retarget_to_element_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setCapture)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_capture_with_retarget_to_element ( & self , retarget_to_element : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_capture_with_retarget_to_element_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , retarget_to_element : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let retarget_to_element = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( retarget_to_element , & mut __stack ) ; __widl_f_set_capture_with_retarget_to_element_Element ( self_ , retarget_to_element ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setCapture)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_capture_with_retarget_to_element ( & self , retarget_to_element : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_pointer_capture_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setPointerCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_pointer_capture ( & self , pointer_id : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_pointer_capture_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pointer_id : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pointer_id = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pointer_id , & mut __stack ) ; __widl_f_set_pointer_capture_Element ( self_ , pointer_id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setPointerCapture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_pointer_capture ( & self , pointer_id : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_toggle_attribute_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toggleAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn toggle_attribute ( & self , name : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_toggle_attribute_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_toggle_attribute_Element ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toggleAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn toggle_attribute ( & self , name : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_toggle_attribute_with_force_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toggleAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn toggle_attribute_with_force ( & self , name : & str , force : bool ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_toggle_attribute_with_force_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , force : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let force = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( force , & mut __stack ) ; __widl_f_toggle_attribute_with_force_Element ( self_ , name , force , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toggleAttribute()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn toggle_attribute_with_force ( & self , name : & str , force : bool ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_webkit_matches_selector_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `webkitMatchesSelector()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/webkitMatchesSelector)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn webkit_matches_selector ( & self , selector : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_webkit_matches_selector_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selector : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selector = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selector , & mut __stack ) ; __widl_f_webkit_matches_selector_Element ( self_ , selector , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `webkitMatchesSelector()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/webkitMatchesSelector)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn webkit_matches_selector ( & self , selector : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_namespace_uri_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `namespaceURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/namespaceURI)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn namespace_uri ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_namespace_uri_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_namespace_uri_Element ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `namespaceURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/namespaceURI)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn namespace_uri ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prefix_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prefix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prefix)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prefix ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prefix_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prefix_Element ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prefix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prefix)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prefix ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_local_name_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `localName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/localName)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn local_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_local_name_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_local_name_Element ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `localName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/localName)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn local_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tag_name_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tagName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/tagName)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn tag_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tag_name_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_tag_name_Element ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tagName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/tagName)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn tag_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/id)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_Element ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/id)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_id_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/id)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_id ( & self , id : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_id_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; __widl_f_set_id_Element ( self_ , id ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/id)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_id ( & self , id : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_class_name_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `className` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn class_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_class_name_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_class_name_Element ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `className` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn class_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_class_name_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `className` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_class_name ( & self , class_name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_class_name_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , class_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let class_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( class_name , & mut __stack ) ; __widl_f_set_class_name_Element ( self_ , class_name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `className` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_class_name ( & self , class_name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_class_list_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < DomTokenList as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `classList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/classList)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `Element`*" ] pub fn class_list ( & self , ) -> DomTokenList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_class_list_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_class_list_Element ( self_ ) } ; < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `classList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/classList)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `Element`*" ] pub fn class_list ( & self , ) -> DomTokenList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_attributes_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < NamedNodeMap as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `attributes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes)\n\n*This API requires the following crate features to be activated: `Element`, `NamedNodeMap`*" ] pub fn attributes ( & self , ) -> NamedNodeMap { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_attributes_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < NamedNodeMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_attributes_Element ( self_ ) } ; < NamedNodeMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `attributes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes)\n\n*This API requires the following crate features to be activated: `Element`, `NamedNodeMap`*" ] pub fn attributes ( & self , ) -> NamedNodeMap { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_top_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollTop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_top ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_top_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_top_Element ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollTop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_top ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_scroll_top_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollTop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_scroll_top ( & self , scroll_top : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_scroll_top_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scroll_top : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scroll_top = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scroll_top , & mut __stack ) ; __widl_f_set_scroll_top_Element ( self_ , scroll_top ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollTop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_scroll_top ( & self , scroll_top : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_left_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollLeft` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_left ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_left_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_left_Element ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollLeft` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_left ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_scroll_left_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollLeft` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_scroll_left ( & self , scroll_left : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_scroll_left_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scroll_left : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scroll_left = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scroll_left , & mut __stack ) ; __widl_f_set_scroll_left_Element ( self_ , scroll_left ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollLeft` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_scroll_left ( & self , scroll_left : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_width_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollWidth)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_width ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_width_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_width_Element ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollWidth)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_width ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_height_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_height ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_height_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_height_Element ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn scroll_height ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_client_top_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clientTop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientTop)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn client_top ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_client_top_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_client_top_Element ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clientTop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientTop)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn client_top ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_client_left_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clientLeft` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientLeft)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn client_left ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_client_left_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_client_left_Element ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clientLeft` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientLeft)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn client_left ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_client_width_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clientWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientWidth)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn client_width ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_client_width_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_client_width_Element ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clientWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientWidth)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn client_width ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_client_height_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clientHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientHeight)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn client_height ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_client_height_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_client_height_Element ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clientHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientHeight)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn client_height ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_inner_html_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `innerHTML` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn inner_html ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_inner_html_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_inner_html_Element ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `innerHTML` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn inner_html ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_inner_html_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `innerHTML` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_inner_html ( & self , inner_html : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_inner_html_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , inner_html : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let inner_html = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( inner_html , & mut __stack ) ; __widl_f_set_inner_html_Element ( self_ , inner_html ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `innerHTML` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_inner_html ( & self , inner_html : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_outer_html_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `outerHTML` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn outer_html ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_outer_html_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_outer_html_Element ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `outerHTML` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn outer_html ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_outer_html_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `outerHTML` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_outer_html ( & self , outer_html : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_outer_html_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , outer_html : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let outer_html = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( outer_html , & mut __stack ) ; __widl_f_set_outer_html_Element ( self_ , outer_html ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `outerHTML` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_outer_html ( & self , outer_html : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shadow_root_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < ShadowRoot > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shadowRoot` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/shadowRoot)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn shadow_root ( & self , ) -> Option < ShadowRoot > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shadow_root_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < ShadowRoot > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_shadow_root_Element ( self_ ) } ; < Option < ShadowRoot > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shadowRoot` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/shadowRoot)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn shadow_root ( & self , ) -> Option < ShadowRoot > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_assigned_slot_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < HtmlSlotElement > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `assignedSlot` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/assignedSlot)\n\n*This API requires the following crate features to be activated: `Element`, `HtmlSlotElement`*" ] pub fn assigned_slot ( & self , ) -> Option < HtmlSlotElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_assigned_slot_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlSlotElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_assigned_slot_Element ( self_ ) } ; < Option < HtmlSlotElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `assignedSlot` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/assignedSlot)\n\n*This API requires the following crate features to be activated: `Element`, `HtmlSlotElement`*" ] pub fn assigned_slot ( & self , ) -> Option < HtmlSlotElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_slot_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slot` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/slot)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn slot ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_slot_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_slot_Element ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slot` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/slot)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn slot ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_slot_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slot` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/slot)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_slot ( & self , slot : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_slot_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , slot : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let slot = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( slot , & mut __stack ) ; __widl_f_set_slot_Element ( self_ , slot ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slot` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/slot)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn set_slot ( & self , slot : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_after_with_node_Element ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_0_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_0_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_after_with_node_0_Element ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_1_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_1_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_after_with_node_1_Element ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_2_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_2_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_after_with_node_2_Element ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_3_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_3_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_after_with_node_3_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_4_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_4_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_after_with_node_4_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_5_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_5_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_after_with_node_5_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_6_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_6_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_after_with_node_6_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_node_7_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_node_7_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_after_with_node_7_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn after_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_after_with_str_Element ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_0_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_0_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_after_with_str_0_Element ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_1_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_1_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_after_with_str_1_Element ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_2_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_2_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_after_with_str_2_Element ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_3_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_3_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_after_with_str_3_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_4_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_4_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_after_with_str_4_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_5_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_5_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_after_with_str_5_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_6_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_6_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_after_with_str_6_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_after_with_str_7_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_after_with_str_7_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_after_with_str_7_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `after()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn after_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_before_with_node_Element ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_0_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_0_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_before_with_node_0_Element ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_1_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_1_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_before_with_node_1_Element ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_2_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_2_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_before_with_node_2_Element ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_3_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_3_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_before_with_node_3_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_4_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_4_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_before_with_node_4_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_5_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_5_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_before_with_node_5_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_6_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_6_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_before_with_node_6_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_node_7_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_node_7_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_before_with_node_7_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn before_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_before_with_str_Element ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_0_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_0_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_before_with_str_0_Element ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_1_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_1_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_before_with_str_1_Element ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_2_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_2_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_before_with_str_2_Element ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_3_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_3_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_before_with_str_3_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_4_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_4_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_before_with_str_4_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_5_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_5_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_before_with_str_5_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_6_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_6_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_before_with_str_6_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_before_with_str_7_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_before_with_str_7_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_before_with_str_7_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `before()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn before_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn remove ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_remove_Element ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn remove ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_replace_with_with_node_Element ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_0_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_0_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_replace_with_with_node_0_Element ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_1_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_1_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_replace_with_with_node_1_Element ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_2_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_2_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_replace_with_with_node_2_Element ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_3_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_3_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_replace_with_with_node_3_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_4_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_4_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_replace_with_with_node_4_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_5_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_5_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_replace_with_with_node_5_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_6_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_6_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_replace_with_with_node_6_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_node_7_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_node_7_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_replace_with_with_node_7_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn replace_with_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_replace_with_with_str_Element ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_0_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_0_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_replace_with_with_str_0_Element ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_1_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_1_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_replace_with_with_str_1_Element ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_2_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_2_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_replace_with_with_str_2_Element ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_3_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_3_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_replace_with_with_str_3_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_4_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_4_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_replace_with_with_str_4_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_5_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_5_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_replace_with_with_str_5_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_6_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_6_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_replace_with_with_str_6_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_with_with_str_7_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_with_with_str_7_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_replace_with_with_str_7_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn replace_with_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_text_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Element`, `Text`*" ] pub fn convert_point_from_node_with_text ( & self , point : & DomPointInit , from : & Text ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_text_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_point_from_node_with_text_Element ( self_ , point , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Element`, `Text`*" ] pub fn convert_point_from_node_with_text ( & self , point : & DomPointInit , from : & Text ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_element_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Element`*" ] pub fn convert_point_from_node_with_element ( & self , point : & DomPointInit , from : & Element ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_element_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_point_from_node_with_element_Element ( self_ , point , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Element`*" ] pub fn convert_point_from_node_with_element ( & self , point : & DomPointInit , from : & Element ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_document_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Element`*" ] pub fn convert_point_from_node_with_document ( & self , point : & DomPointInit , from : & Document ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_document_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_point_from_node_with_document_Element ( self_ , point , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Element`*" ] pub fn convert_point_from_node_with_document ( & self , point : & DomPointInit , from : & Document ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_text_and_options_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Element`, `Text`*" ] pub fn convert_point_from_node_with_text_and_options ( & self , point : & DomPointInit , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_text_and_options_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_point_from_node_with_text_and_options_Element ( self_ , point , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Element`, `Text`*" ] pub fn convert_point_from_node_with_text_and_options ( & self , point : & DomPointInit , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_element_and_options_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Element`*" ] pub fn convert_point_from_node_with_element_and_options ( & self , point : & DomPointInit , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_element_and_options_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_point_from_node_with_element_and_options_Element ( self_ , point , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Element`*" ] pub fn convert_point_from_node_with_element_and_options ( & self , point : & DomPointInit , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_document_and_options_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Element`*" ] pub fn convert_point_from_node_with_document_and_options ( & self , point : & DomPointInit , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_document_and_options_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_point_from_node_with_document_and_options_Element ( self_ , point , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Element`*" ] pub fn convert_point_from_node_with_document_and_options ( & self , point : & DomPointInit , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_text_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `Element`, `Text`*" ] pub fn convert_quad_from_node_with_text ( & self , quad : & DomQuad , from : & Text ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_text_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_quad_from_node_with_text_Element ( self_ , quad , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `Element`, `Text`*" ] pub fn convert_quad_from_node_with_text ( & self , quad : & DomQuad , from : & Text ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_element_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `Element`*" ] pub fn convert_quad_from_node_with_element ( & self , quad : & DomQuad , from : & Element ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_element_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_quad_from_node_with_element_Element ( self_ , quad , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `Element`*" ] pub fn convert_quad_from_node_with_element ( & self , quad : & DomQuad , from : & Element ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_document_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Element`*" ] pub fn convert_quad_from_node_with_document ( & self , quad : & DomQuad , from : & Document ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_document_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_quad_from_node_with_document_Element ( self_ , quad , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Element`*" ] pub fn convert_quad_from_node_with_document ( & self , quad : & DomQuad , from : & Document ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_text_and_options_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Element`, `Text`*" ] pub fn convert_quad_from_node_with_text_and_options ( & self , quad : & DomQuad , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_text_and_options_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_quad_from_node_with_text_and_options_Element ( self_ , quad , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Element`, `Text`*" ] pub fn convert_quad_from_node_with_text_and_options ( & self , quad : & DomQuad , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_element_and_options_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Element`*" ] pub fn convert_quad_from_node_with_element_and_options ( & self , quad : & DomQuad , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_element_and_options_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_quad_from_node_with_element_and_options_Element ( self_ , quad , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Element`*" ] pub fn convert_quad_from_node_with_element_and_options ( & self , quad : & DomQuad , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_document_and_options_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Element`*" ] pub fn convert_quad_from_node_with_document_and_options ( & self , quad : & DomQuad , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_document_and_options_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_quad_from_node_with_document_and_options_Element ( self_ , quad , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Element`*" ] pub fn convert_quad_from_node_with_document_and_options ( & self , quad : & DomQuad , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_text_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*" ] pub fn convert_rect_from_node_with_text ( & self , rect : & DomRectReadOnly , from : & Text ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_text_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_rect_from_node_with_text_Element ( self_ , rect , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*" ] pub fn convert_rect_from_node_with_text ( & self , rect : & DomRectReadOnly , from : & Text ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_element_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Element`*" ] pub fn convert_rect_from_node_with_element ( & self , rect : & DomRectReadOnly , from : & Element ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_element_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_rect_from_node_with_element_Element ( self_ , rect , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Element`*" ] pub fn convert_rect_from_node_with_element ( & self , rect : & DomRectReadOnly , from : & Element ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_document_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*" ] pub fn convert_rect_from_node_with_document ( & self , rect : & DomRectReadOnly , from : & Document ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_document_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_rect_from_node_with_document_Element ( self_ , rect , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*" ] pub fn convert_rect_from_node_with_document ( & self , rect : & DomRectReadOnly , from : & Document ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_text_and_options_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*" ] pub fn convert_rect_from_node_with_text_and_options ( & self , rect : & DomRectReadOnly , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_text_and_options_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_rect_from_node_with_text_and_options_Element ( self_ , rect , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*" ] pub fn convert_rect_from_node_with_text_and_options ( & self , rect : & DomRectReadOnly , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_element_and_options_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Element`*" ] pub fn convert_rect_from_node_with_element_and_options ( & self , rect : & DomRectReadOnly , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_element_and_options_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_rect_from_node_with_element_and_options_Element ( self_ , rect , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Element`*" ] pub fn convert_rect_from_node_with_element_and_options ( & self , rect : & DomRectReadOnly , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_document_and_options_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*" ] pub fn convert_rect_from_node_with_document_and_options ( & self , rect : & DomRectReadOnly , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_document_and_options_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_rect_from_node_with_document_and_options_Element ( self_ , rect , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*" ] pub fn convert_rect_from_node_with_document_and_options ( & self , rect : & DomRectReadOnly , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_previous_element_sibling_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `previousElementSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/previousElementSibling)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn previous_element_sibling ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_previous_element_sibling_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_previous_element_sibling_Element ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `previousElementSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/previousElementSibling)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn previous_element_sibling ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_next_element_sibling_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `nextElementSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/nextElementSibling)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn next_element_sibling ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_next_element_sibling_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_next_element_sibling_Element ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `nextElementSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/nextElementSibling)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn next_element_sibling ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_append_with_node_Element ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_0_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_0_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_append_with_node_0_Element ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_1_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_1_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_append_with_node_1_Element ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_2_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_2_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_append_with_node_2_Element ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_3_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_3_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_append_with_node_3_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_4_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_4_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_append_with_node_4_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_5_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_5_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_append_with_node_5_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_6_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_6_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_append_with_node_6_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_node_7_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_node_7_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_append_with_node_7_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn append_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_append_with_str_Element ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_0_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_0_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_append_with_str_0_Element ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_1_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_1_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_append_with_str_1_Element ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_2_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_2_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_append_with_str_2_Element ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_3_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_3_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_append_with_str_3_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_4_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_4_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_append_with_str_4_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_5_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_5_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_append_with_str_5_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_6_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_6_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_append_with_str_6_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_7_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_7_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_append_with_str_7_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn append_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_prepend_with_node_Element ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_node ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_0_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_0_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prepend_with_node_0_Element ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_node_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_1_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_1_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_prepend_with_node_1_Element ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_1 ( & self , nodes_1 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_2_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_2_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_prepend_with_node_2_Element ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_2 ( & self , nodes_1 : & Node , nodes_2 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_3_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_3_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_prepend_with_node_3_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_3 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_4_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_4_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_prepend_with_node_4_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_4 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_5_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_5_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_prepend_with_node_5_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_5 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_6_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_6_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_prepend_with_node_6_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_6 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_node_7_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_node_7_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_prepend_with_node_7_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn prepend_with_node_7 ( & self , nodes_1 : & Node , nodes_2 : & Node , nodes_3 : & Node , nodes_4 : & Node , nodes_5 : & Node , nodes_6 : & Node , nodes_7 : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes , & mut __stack ) ; __widl_f_prepend_with_str_Element ( self_ , nodes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str ( & self , nodes : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_0_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_0_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prepend_with_str_0_Element ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_1_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_1_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; __widl_f_prepend_with_str_1_Element ( self_ , nodes_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_1 ( & self , nodes_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_2_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_2_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; __widl_f_prepend_with_str_2_Element ( self_ , nodes_1 , nodes_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_2 ( & self , nodes_1 : & str , nodes_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_3_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_3_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; __widl_f_prepend_with_str_3_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_3 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_4_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_4_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; __widl_f_prepend_with_str_4_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_4 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_5_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_5_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; __widl_f_prepend_with_str_5_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_5 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_6_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_6_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; __widl_f_prepend_with_str_6_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_6 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prepend_with_str_7_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prepend_with_str_7_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nodes_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let nodes_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_1 , & mut __stack ) ; let nodes_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_2 , & mut __stack ) ; let nodes_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_3 , & mut __stack ) ; let nodes_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_4 , & mut __stack ) ; let nodes_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_5 , & mut __stack ) ; let nodes_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_6 , & mut __stack ) ; let nodes_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nodes_7 , & mut __stack ) ; __widl_f_prepend_with_str_7_Element ( self_ , nodes_1 , nodes_2 , nodes_3 , nodes_4 , nodes_5 , nodes_6 , nodes_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prepend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn prepend_with_str_7 ( & self , nodes_1 : & str , nodes_2 : & str , nodes_3 : & str , nodes_4 : & str , nodes_5 : & str , nodes_6 : & str , nodes_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_children_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `children` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/children)\n\n*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] pub fn children ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_children_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_children_Element ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `children` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/children)\n\n*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] pub fn children ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_first_element_child_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `firstElementChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/firstElementChild)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn first_element_child ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_first_element_child_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_first_element_child_Element ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `firstElementChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/firstElementChild)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn first_element_child ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_last_element_child_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lastElementChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/lastElementChild)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn last_element_child ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_last_element_child_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_last_element_child_Element ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lastElementChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/lastElementChild)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn last_element_child ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_child_element_count_Element ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Element as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Element { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `childElementCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/childElementCount)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn child_element_count ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_child_element_count_Element ( self_ : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_child_element_count_Element ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `childElementCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/childElementCount)\n\n*This API requires the following crate features to be activated: `Element`*" ] pub fn child_element_count ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ErrorEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent)\n\n*This API requires the following crate features to be activated: `ErrorEvent`*" ] # [ repr ( transparent ) ] pub struct ErrorEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ErrorEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ErrorEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ErrorEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ErrorEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ErrorEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ErrorEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ErrorEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ErrorEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ErrorEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ErrorEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ErrorEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ErrorEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ErrorEvent { # [ inline ] fn from ( obj : JsValue ) -> ErrorEvent { ErrorEvent { obj } } } impl AsRef < JsValue > for ErrorEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ErrorEvent > for JsValue { # [ inline ] fn from ( obj : ErrorEvent ) -> JsValue { obj . obj } } impl JsCast for ErrorEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ErrorEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ErrorEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ErrorEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ErrorEvent ) } } } ( ) } ; impl core :: ops :: Deref for ErrorEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < ErrorEvent > for Event { # [ inline ] fn from ( obj : ErrorEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for ErrorEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ErrorEvent > for Object { # [ inline ] fn from ( obj : ErrorEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ErrorEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_ErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < ErrorEvent as WasmDescribe > :: describe ( ) ; } impl ErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ErrorEvent(..)` constructor, creating a new instance of `ErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/ErrorEvent)\n\n*This API requires the following crate features to be activated: `ErrorEvent`*" ] pub fn new ( type_ : & str ) -> Result < ErrorEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_ErrorEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_ErrorEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ErrorEvent(..)` constructor, creating a new instance of `ErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/ErrorEvent)\n\n*This API requires the following crate features to be activated: `ErrorEvent`*" ] pub fn new ( type_ : & str ) -> Result < ErrorEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_ErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & ErrorEventInit as WasmDescribe > :: describe ( ) ; < ErrorEvent as WasmDescribe > :: describe ( ) ; } impl ErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ErrorEvent(..)` constructor, creating a new instance of `ErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/ErrorEvent)\n\n*This API requires the following crate features to be activated: `ErrorEvent`, `ErrorEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & ErrorEventInit ) -> Result < ErrorEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_ErrorEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & ErrorEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & ErrorEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_ErrorEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ErrorEvent(..)` constructor, creating a new instance of `ErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/ErrorEvent)\n\n*This API requires the following crate features to be activated: `ErrorEvent`, `ErrorEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & ErrorEventInit ) -> Result < ErrorEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_message_ErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ErrorEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl ErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/message)\n\n*This API requires the following crate features to be activated: `ErrorEvent`*" ] pub fn message ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_message_ErrorEvent ( self_ : < & ErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_message_ErrorEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/message)\n\n*This API requires the following crate features to be activated: `ErrorEvent`*" ] pub fn message ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_filename_ErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ErrorEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl ErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `filename` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/filename)\n\n*This API requires the following crate features to be activated: `ErrorEvent`*" ] pub fn filename ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_filename_ErrorEvent ( self_ : < & ErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_filename_ErrorEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `filename` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/filename)\n\n*This API requires the following crate features to be activated: `ErrorEvent`*" ] pub fn filename ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lineno_ErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ErrorEvent as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl ErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineno` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/lineno)\n\n*This API requires the following crate features to be activated: `ErrorEvent`*" ] pub fn lineno ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lineno_ErrorEvent ( self_ : < & ErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_lineno_ErrorEvent ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineno` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/lineno)\n\n*This API requires the following crate features to be activated: `ErrorEvent`*" ] pub fn lineno ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_colno_ErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ErrorEvent as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl ErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `colno` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/colno)\n\n*This API requires the following crate features to be activated: `ErrorEvent`*" ] pub fn colno ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_colno_ErrorEvent ( self_ : < & ErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_colno_ErrorEvent ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `colno` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/colno)\n\n*This API requires the following crate features to be activated: `ErrorEvent`*" ] pub fn colno ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_ErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ErrorEvent as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl ErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/error)\n\n*This API requires the following crate features to be activated: `ErrorEvent`*" ] pub fn error ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_ErrorEvent ( self_ : < & ErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_error_ErrorEvent ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent/error)\n\n*This API requires the following crate features to be activated: `ErrorEvent`*" ] pub fn error ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Event` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event)\n\n*This API requires the following crate features to be activated: `Event`*" ] # [ repr ( transparent ) ] pub struct Event { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Event : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Event { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Event { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Event { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Event { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Event { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Event { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Event { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Event { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Event { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Event > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Event { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Event { # [ inline ] fn from ( obj : JsValue ) -> Event { Event { obj } } } impl AsRef < JsValue > for Event { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Event > for JsValue { # [ inline ] fn from ( obj : Event ) -> JsValue { obj . obj } } impl JsCast for Event { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Event ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Event ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Event { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Event ) } } } ( ) } ; impl core :: ops :: Deref for Event { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Event > for Object { # [ inline ] fn from ( obj : Event ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Event { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < Event as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Event(..)` constructor, creating a new instance of `Event`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/Event)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn new ( type_ : & str ) -> Result < Event , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Event ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Event as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_Event ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Event as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Event(..)` constructor, creating a new instance of `Event`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/Event)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn new ( type_ : & str ) -> Result < Event , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & EventInit as WasmDescribe > :: describe ( ) ; < Event as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Event(..)` constructor, creating a new instance of `Event`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/Event)\n\n*This API requires the following crate features to be activated: `Event`, `EventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & EventInit ) -> Result < Event , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_Event ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & EventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Event as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & EventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_Event ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Event as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Event(..)` constructor, creating a new instance of `Event`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/Event)\n\n*This API requires the following crate features to be activated: `Event`, `EventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & EventInit ) -> Result < Event , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_event_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/initEvent)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn init_event ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_event_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_init_event_Event ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/initEvent)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn init_event ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_event_with_bubbles_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/initEvent)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn init_event_with_bubbles ( & self , type_ : & str , bubbles : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_event_with_bubbles_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let bubbles = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles , & mut __stack ) ; __widl_f_init_event_with_bubbles_Event ( self_ , type_ , bubbles ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/initEvent)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn init_event_with_bubbles ( & self , type_ : & str , bubbles : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_event_with_bubbles_and_cancelable_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/initEvent)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn init_event_with_bubbles_and_cancelable ( & self , type_ : & str , bubbles : bool , cancelable : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_event_with_bubbles_and_cancelable_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let bubbles = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; __widl_f_init_event_with_bubbles_and_cancelable_Event ( self_ , type_ , bubbles , cancelable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/initEvent)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn init_event_with_bubbles_and_cancelable ( & self , type_ : & str , bubbles : bool , cancelable : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prevent_default_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preventDefault()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn prevent_default ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prevent_default_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prevent_default_Event ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preventDefault()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn prevent_default ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_immediate_propagation_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stopImmediatePropagation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/stopImmediatePropagation)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn stop_immediate_propagation ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_immediate_propagation_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stop_immediate_propagation_Event ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stopImmediatePropagation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/stopImmediatePropagation)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn stop_immediate_propagation ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_propagation_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stopPropagation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/stopPropagation)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn stop_propagation ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_propagation_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stop_propagation_Event ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stopPropagation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/stopPropagation)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn stop_propagation ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/type)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_Event ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/type)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < Option < EventTarget > as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/target)\n\n*This API requires the following crate features to be activated: `Event`, `EventTarget`*" ] pub fn target ( & self , ) -> Option < EventTarget > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < EventTarget > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_Event ( self_ ) } ; < Option < EventTarget > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/target)\n\n*This API requires the following crate features to be activated: `Event`, `EventTarget`*" ] pub fn target ( & self , ) -> Option < EventTarget > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_target_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < Option < EventTarget > as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentTarget` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget)\n\n*This API requires the following crate features to be activated: `Event`, `EventTarget`*" ] pub fn current_target ( & self , ) -> Option < EventTarget > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_target_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < EventTarget > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_target_Event ( self_ ) } ; < Option < EventTarget > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentTarget` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget)\n\n*This API requires the following crate features to be activated: `Event`, `EventTarget`*" ] pub fn current_target ( & self , ) -> Option < EventTarget > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_event_phase_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `eventPhase` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/eventPhase)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn event_phase ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_event_phase_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_event_phase_Event ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `eventPhase` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/eventPhase)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn event_phase ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bubbles_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bubbles` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/bubbles)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn bubbles ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bubbles_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_bubbles_Event ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bubbles` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/bubbles)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn bubbles ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cancelable_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cancelable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/cancelable)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn cancelable ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cancelable_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cancelable_Event ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cancelable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/cancelable)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn cancelable ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_prevented_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultPrevented` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/defaultPrevented)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn default_prevented ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_prevented_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_prevented_Event ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultPrevented` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/defaultPrevented)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn default_prevented ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_composed_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `composed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/composed)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn composed ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_composed_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_composed_Event ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `composed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/composed)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn composed ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_trusted_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isTrusted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn is_trusted ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_trusted_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_trusted_Event ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isTrusted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn is_trusted ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_stamp_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timeStamp` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/timeStamp)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn time_stamp ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_stamp_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_time_stamp_Event ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timeStamp` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/timeStamp)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn time_stamp ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cancel_bubble_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cancelBubble` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/cancelBubble)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn cancel_bubble ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cancel_bubble_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cancel_bubble_Event ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cancelBubble` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/cancelBubble)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn cancel_bubble ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cancel_bubble_Event ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Event as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Event { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cancelBubble` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/cancelBubble)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn set_cancel_bubble ( & self , cancel_bubble : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cancel_bubble_Event ( self_ : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancel_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cancel_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancel_bubble , & mut __stack ) ; __widl_f_set_cancel_bubble_Event ( self_ , cancel_bubble ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cancelBubble` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/cancelBubble)\n\n*This API requires the following crate features to be activated: `Event`*" ] pub fn set_cancel_bubble ( & self , cancel_bubble : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `EventSource` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] # [ repr ( transparent ) ] pub struct EventSource { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_EventSource : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for EventSource { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for EventSource { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for EventSource { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a EventSource { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for EventSource { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { EventSource { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for EventSource { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a EventSource { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for EventSource { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < EventSource > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( EventSource { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for EventSource { # [ inline ] fn from ( obj : JsValue ) -> EventSource { EventSource { obj } } } impl AsRef < JsValue > for EventSource { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < EventSource > for JsValue { # [ inline ] fn from ( obj : EventSource ) -> JsValue { obj . obj } } impl JsCast for EventSource { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_EventSource ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_EventSource ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { EventSource { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const EventSource ) } } } ( ) } ; impl core :: ops :: Deref for EventSource { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < EventSource > for EventTarget { # [ inline ] fn from ( obj : EventSource ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for EventSource { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < EventSource > for Object { # [ inline ] fn from ( obj : EventSource ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for EventSource { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_EventSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < EventSource as WasmDescribe > :: describe ( ) ; } impl EventSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new EventSource(..)` constructor, creating a new instance of `EventSource`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/EventSource)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn new ( url : & str ) -> Result < EventSource , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_EventSource ( url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < EventSource as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_new_EventSource ( url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < EventSource as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new EventSource(..)` constructor, creating a new instance of `EventSource`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/EventSource)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn new ( url : & str ) -> Result < EventSource , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_source_init_dict_EventSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & EventSourceInit as WasmDescribe > :: describe ( ) ; < EventSource as WasmDescribe > :: describe ( ) ; } impl EventSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new EventSource(..)` constructor, creating a new instance of `EventSource`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/EventSource)\n\n*This API requires the following crate features to be activated: `EventSource`, `EventSourceInit`*" ] pub fn new_with_event_source_init_dict ( url : & str , event_source_init_dict : & EventSourceInit ) -> Result < EventSource , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_source_init_dict_EventSource ( url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_source_init_dict : < & EventSourceInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < EventSource as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let event_source_init_dict = < & EventSourceInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_source_init_dict , & mut __stack ) ; __widl_f_new_with_event_source_init_dict_EventSource ( url , event_source_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < EventSource as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new EventSource(..)` constructor, creating a new instance of `EventSource`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/EventSource)\n\n*This API requires the following crate features to be activated: `EventSource`, `EventSourceInit`*" ] pub fn new_with_event_source_init_dict ( url : & str , event_source_init_dict : & EventSourceInit ) -> Result < EventSource , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_EventSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & EventSource as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/close)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_EventSource ( self_ : < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_EventSource ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/close)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_url_EventSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & EventSource as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl EventSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/url)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn url ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_url_EventSource ( self_ : < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_url_EventSource ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/url)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn url ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_with_credentials_EventSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & EventSource as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl EventSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `withCredentials` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/withCredentials)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn with_credentials ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_with_credentials_EventSource ( self_ : < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_with_credentials_EventSource ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `withCredentials` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/withCredentials)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn with_credentials ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_state_EventSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & EventSource as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl EventSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/readyState)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn ready_state ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_state_EventSource ( self_ : < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_state_EventSource ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/readyState)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn ready_state ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onopen_EventSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & EventSource as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl EventSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onopen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onopen)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn onopen ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onopen_EventSource ( self_ : < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onopen_EventSource ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onopen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onopen)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn onopen ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onopen_EventSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & EventSource as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onopen` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onopen)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn set_onopen ( & self , onopen : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onopen_EventSource ( self_ : < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onopen : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onopen = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onopen , & mut __stack ) ; __widl_f_set_onopen_EventSource ( self_ , onopen ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onopen` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onopen)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn set_onopen ( & self , onopen : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_EventSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & EventSource as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl EventSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onmessage)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_EventSource ( self_ : < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_EventSource ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onmessage)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_EventSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & EventSource as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onmessage)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_EventSource ( self_ : < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_EventSource ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onmessage)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_EventSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & EventSource as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl EventSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onerror)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_EventSource ( self_ : < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_EventSource ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onerror)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_EventSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & EventSource as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onerror)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_EventSource ( self_ : < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_EventSource ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/onerror)\n\n*This API requires the following crate features to be activated: `EventSource`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `EventTarget` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget)\n\n*This API requires the following crate features to be activated: `EventTarget`*" ] # [ repr ( transparent ) ] pub struct EventTarget { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_EventTarget : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for EventTarget { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for EventTarget { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for EventTarget { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a EventTarget { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for EventTarget { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { EventTarget { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for EventTarget { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a EventTarget { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for EventTarget { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < EventTarget > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( EventTarget { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for EventTarget { # [ inline ] fn from ( obj : JsValue ) -> EventTarget { EventTarget { obj } } } impl AsRef < JsValue > for EventTarget { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < EventTarget > for JsValue { # [ inline ] fn from ( obj : EventTarget ) -> JsValue { obj . obj } } impl JsCast for EventTarget { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_EventTarget ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_EventTarget ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { EventTarget { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const EventTarget ) } } } ( ) } ; impl core :: ops :: Deref for EventTarget { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < EventTarget > for Object { # [ inline ] fn from ( obj : EventTarget ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for EventTarget { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < EventTarget as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new EventTarget(..)` constructor, creating a new instance of `EventTarget`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/EventTarget)\n\n*This API requires the following crate features to be activated: `EventTarget`*" ] pub fn new ( ) -> Result < EventTarget , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_EventTarget ( exn_data_ptr : * mut u32 ) -> < EventTarget as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_EventTarget ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < EventTarget as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new EventTarget(..)` constructor, creating a new instance of `EventTarget`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/EventTarget)\n\n*This API requires the following crate features to be activated: `EventTarget`*" ] pub fn new ( ) -> Result < EventTarget , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_event_listener_with_callback_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `EventTarget`*" ] pub fn add_event_listener_with_callback ( & self , type_ : & str , listener : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_event_listener_with_callback_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; __widl_f_add_event_listener_with_callback_EventTarget ( self_ , type_ , listener , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `EventTarget`*" ] pub fn add_event_listener_with_callback ( & self , type_ : & str , listener : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_event_listener_with_event_listener_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & EventListener as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*" ] pub fn add_event_listener_with_event_listener ( & self , type_ : & str , listener : & EventListener ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_event_listener_with_event_listener_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; __widl_f_add_event_listener_with_event_listener_EventTarget ( self_ , type_ , listener , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*" ] pub fn add_event_listener_with_event_listener ( & self , type_ : & str , listener : & EventListener ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_event_listener_with_callback_and_add_event_listener_options_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & AddEventListenerOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `AddEventListenerOptions`, `EventTarget`*" ] pub fn add_event_listener_with_callback_and_add_event_listener_options ( & self , type_ : & str , listener : & :: js_sys :: Function , options : & AddEventListenerOptions ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_event_listener_with_callback_and_add_event_listener_options_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & AddEventListenerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; let options = < & AddEventListenerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_add_event_listener_with_callback_and_add_event_listener_options_EventTarget ( self_ , type_ , listener , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `AddEventListenerOptions`, `EventTarget`*" ] pub fn add_event_listener_with_callback_and_add_event_listener_options ( & self , type_ : & str , listener : & :: js_sys :: Function , options : & AddEventListenerOptions ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_event_listener_with_event_listener_and_add_event_listener_options_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & EventListener as WasmDescribe > :: describe ( ) ; < & AddEventListenerOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `AddEventListenerOptions`, `EventListener`, `EventTarget`*" ] pub fn add_event_listener_with_event_listener_and_add_event_listener_options ( & self , type_ : & str , listener : & EventListener , options : & AddEventListenerOptions ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_event_listener_with_event_listener_and_add_event_listener_options_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & AddEventListenerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; let options = < & AddEventListenerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_add_event_listener_with_event_listener_and_add_event_listener_options_EventTarget ( self_ , type_ , listener , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `AddEventListenerOptions`, `EventListener`, `EventTarget`*" ] pub fn add_event_listener_with_event_listener_and_add_event_listener_options ( & self , type_ : & str , listener : & EventListener , options : & AddEventListenerOptions ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_event_listener_with_callback_and_bool_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `EventTarget`*" ] pub fn add_event_listener_with_callback_and_bool ( & self , type_ : & str , listener : & :: js_sys :: Function , options : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_event_listener_with_callback_and_bool_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; let options = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_add_event_listener_with_callback_and_bool_EventTarget ( self_ , type_ , listener , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `EventTarget`*" ] pub fn add_event_listener_with_callback_and_bool ( & self , type_ : & str , listener : & :: js_sys :: Function , options : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_event_listener_with_event_listener_and_bool_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & EventListener as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*" ] pub fn add_event_listener_with_event_listener_and_bool ( & self , type_ : & str , listener : & EventListener , options : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_event_listener_with_event_listener_and_bool_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; let options = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_add_event_listener_with_event_listener_and_bool_EventTarget ( self_ , type_ , listener , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*" ] pub fn add_event_listener_with_event_listener_and_bool ( & self , type_ : & str , listener : & EventListener , options : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & AddEventListenerOptions as WasmDescribe > :: describe ( ) ; < Option < bool > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `AddEventListenerOptions`, `EventTarget`*" ] pub fn add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted ( & self , type_ : & str , listener : & :: js_sys :: Function , options : & AddEventListenerOptions , wants_untrusted : Option < bool > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & AddEventListenerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , wants_untrusted : < Option < bool > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; let options = < & AddEventListenerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let wants_untrusted = < Option < bool > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( wants_untrusted , & mut __stack ) ; __widl_f_add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted_EventTarget ( self_ , type_ , listener , options , wants_untrusted , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `AddEventListenerOptions`, `EventTarget`*" ] pub fn add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted ( & self , type_ : & str , listener : & :: js_sys :: Function , options : & AddEventListenerOptions , wants_untrusted : Option < bool > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & EventListener as WasmDescribe > :: describe ( ) ; < & AddEventListenerOptions as WasmDescribe > :: describe ( ) ; < Option < bool > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `AddEventListenerOptions`, `EventListener`, `EventTarget`*" ] pub fn add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted ( & self , type_ : & str , listener : & EventListener , options : & AddEventListenerOptions , wants_untrusted : Option < bool > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & AddEventListenerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , wants_untrusted : < Option < bool > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; let options = < & AddEventListenerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let wants_untrusted = < Option < bool > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( wants_untrusted , & mut __stack ) ; __widl_f_add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted_EventTarget ( self_ , type_ , listener , options , wants_untrusted , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `AddEventListenerOptions`, `EventListener`, `EventTarget`*" ] pub fn add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted ( & self , type_ : & str , listener : & EventListener , options : & AddEventListenerOptions , wants_untrusted : Option < bool > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_event_listener_with_callback_and_bool_and_wants_untrusted_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < bool > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `EventTarget`*" ] pub fn add_event_listener_with_callback_and_bool_and_wants_untrusted ( & self , type_ : & str , listener : & :: js_sys :: Function , options : bool , wants_untrusted : Option < bool > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_event_listener_with_callback_and_bool_and_wants_untrusted_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , wants_untrusted : < Option < bool > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; let options = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let wants_untrusted = < Option < bool > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( wants_untrusted , & mut __stack ) ; __widl_f_add_event_listener_with_callback_and_bool_and_wants_untrusted_EventTarget ( self_ , type_ , listener , options , wants_untrusted , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `EventTarget`*" ] pub fn add_event_listener_with_callback_and_bool_and_wants_untrusted ( & self , type_ : & str , listener : & :: js_sys :: Function , options : bool , wants_untrusted : Option < bool > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_event_listener_with_event_listener_and_bool_and_wants_untrusted_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & EventListener as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < bool > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*" ] pub fn add_event_listener_with_event_listener_and_bool_and_wants_untrusted ( & self , type_ : & str , listener : & EventListener , options : bool , wants_untrusted : Option < bool > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_event_listener_with_event_listener_and_bool_and_wants_untrusted_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , wants_untrusted : < Option < bool > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; let options = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let wants_untrusted = < Option < bool > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( wants_untrusted , & mut __stack ) ; __widl_f_add_event_listener_with_event_listener_and_bool_and_wants_untrusted_EventTarget ( self_ , type_ , listener , options , wants_untrusted , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*" ] pub fn add_event_listener_with_event_listener_and_bool_and_wants_untrusted ( & self , type_ : & str , listener : & EventListener , options : bool , wants_untrusted : Option < bool > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dispatch_event_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & Event as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dispatchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent)\n\n*This API requires the following crate features to be activated: `Event`, `EventTarget`*" ] pub fn dispatch_event ( & self , event : & Event ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dispatch_event_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event : < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let event = < & Event as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event , & mut __stack ) ; __widl_f_dispatch_event_EventTarget ( self_ , event , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dispatchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent)\n\n*This API requires the following crate features to be activated: `Event`, `EventTarget`*" ] pub fn dispatch_event ( & self , event : & Event ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_event_listener_with_callback_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)\n\n*This API requires the following crate features to be activated: `EventTarget`*" ] pub fn remove_event_listener_with_callback ( & self , type_ : & str , listener : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_event_listener_with_callback_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; __widl_f_remove_event_listener_with_callback_EventTarget ( self_ , type_ , listener , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)\n\n*This API requires the following crate features to be activated: `EventTarget`*" ] pub fn remove_event_listener_with_callback ( & self , type_ : & str , listener : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_event_listener_with_event_listener_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & EventListener as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*" ] pub fn remove_event_listener_with_event_listener ( & self , type_ : & str , listener : & EventListener ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_event_listener_with_event_listener_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; __widl_f_remove_event_listener_with_event_listener_EventTarget ( self_ , type_ , listener , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*" ] pub fn remove_event_listener_with_event_listener ( & self , type_ : & str , listener : & EventListener ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_event_listener_with_callback_and_event_listener_options_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & EventListenerOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)\n\n*This API requires the following crate features to be activated: `EventListenerOptions`, `EventTarget`*" ] pub fn remove_event_listener_with_callback_and_event_listener_options ( & self , type_ : & str , listener : & :: js_sys :: Function , options : & EventListenerOptions ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_event_listener_with_callback_and_event_listener_options_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & EventListenerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; let options = < & EventListenerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_remove_event_listener_with_callback_and_event_listener_options_EventTarget ( self_ , type_ , listener , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)\n\n*This API requires the following crate features to be activated: `EventListenerOptions`, `EventTarget`*" ] pub fn remove_event_listener_with_callback_and_event_listener_options ( & self , type_ : & str , listener : & :: js_sys :: Function , options : & EventListenerOptions ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_event_listener_with_event_listener_and_event_listener_options_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & EventListener as WasmDescribe > :: describe ( ) ; < & EventListenerOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `EventListenerOptions`, `EventTarget`*" ] pub fn remove_event_listener_with_event_listener_and_event_listener_options ( & self , type_ : & str , listener : & EventListener , options : & EventListenerOptions ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_event_listener_with_event_listener_and_event_listener_options_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & EventListenerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; let options = < & EventListenerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_remove_event_listener_with_event_listener_and_event_listener_options_EventTarget ( self_ , type_ , listener , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `EventListenerOptions`, `EventTarget`*" ] pub fn remove_event_listener_with_event_listener_and_event_listener_options ( & self , type_ : & str , listener : & EventListener , options : & EventListenerOptions ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_event_listener_with_callback_and_bool_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)\n\n*This API requires the following crate features to be activated: `EventTarget`*" ] pub fn remove_event_listener_with_callback_and_bool ( & self , type_ : & str , listener : & :: js_sys :: Function , options : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_event_listener_with_callback_and_bool_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; let options = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_remove_event_listener_with_callback_and_bool_EventTarget ( self_ , type_ , listener , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)\n\n*This API requires the following crate features to be activated: `EventTarget`*" ] pub fn remove_event_listener_with_callback_and_bool ( & self , type_ : & str , listener : & :: js_sys :: Function , options : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_event_listener_with_event_listener_and_bool_EventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & EventTarget as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & EventListener as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl EventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*" ] pub fn remove_event_listener_with_event_listener_and_bool ( & self , type_ : & str , listener : & EventListener , options : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_event_listener_with_event_listener_and_bool_EventTarget ( self_ : < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & EventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let listener = < & EventListener as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; let options = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_remove_event_listener_with_event_listener_and_bool_EventTarget ( self_ , type_ , listener , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeEventListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `EventTarget`*" ] pub fn remove_event_listener_with_event_listener_and_bool ( & self , type_ : & str , listener : & EventListener , options : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ExtendableEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent)\n\n*This API requires the following crate features to be activated: `ExtendableEvent`*" ] # [ repr ( transparent ) ] pub struct ExtendableEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ExtendableEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ExtendableEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ExtendableEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ExtendableEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ExtendableEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ExtendableEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ExtendableEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ExtendableEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ExtendableEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ExtendableEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ExtendableEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ExtendableEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ExtendableEvent { # [ inline ] fn from ( obj : JsValue ) -> ExtendableEvent { ExtendableEvent { obj } } } impl AsRef < JsValue > for ExtendableEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ExtendableEvent > for JsValue { # [ inline ] fn from ( obj : ExtendableEvent ) -> JsValue { obj . obj } } impl JsCast for ExtendableEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ExtendableEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ExtendableEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ExtendableEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ExtendableEvent ) } } } ( ) } ; impl core :: ops :: Deref for ExtendableEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < ExtendableEvent > for Event { # [ inline ] fn from ( obj : ExtendableEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for ExtendableEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ExtendableEvent > for Object { # [ inline ] fn from ( obj : ExtendableEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ExtendableEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_ExtendableEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < ExtendableEvent as WasmDescribe > :: describe ( ) ; } impl ExtendableEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ExtendableEvent(..)` constructor, creating a new instance of `ExtendableEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent/ExtendableEvent)\n\n*This API requires the following crate features to be activated: `ExtendableEvent`*" ] pub fn new ( type_ : & str ) -> Result < ExtendableEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_ExtendableEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ExtendableEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_ExtendableEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ExtendableEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ExtendableEvent(..)` constructor, creating a new instance of `ExtendableEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent/ExtendableEvent)\n\n*This API requires the following crate features to be activated: `ExtendableEvent`*" ] pub fn new ( type_ : & str ) -> Result < ExtendableEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_ExtendableEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & ExtendableEventInit as WasmDescribe > :: describe ( ) ; < ExtendableEvent as WasmDescribe > :: describe ( ) ; } impl ExtendableEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ExtendableEvent(..)` constructor, creating a new instance of `ExtendableEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent/ExtendableEvent)\n\n*This API requires the following crate features to be activated: `ExtendableEvent`, `ExtendableEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & ExtendableEventInit ) -> Result < ExtendableEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_ExtendableEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & ExtendableEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ExtendableEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & ExtendableEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_ExtendableEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ExtendableEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ExtendableEvent(..)` constructor, creating a new instance of `ExtendableEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent/ExtendableEvent)\n\n*This API requires the following crate features to be activated: `ExtendableEvent`, `ExtendableEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & ExtendableEventInit ) -> Result < ExtendableEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_wait_until_ExtendableEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ExtendableEvent as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ExtendableEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `waitUntil()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent/waitUntil)\n\n*This API requires the following crate features to be activated: `ExtendableEvent`*" ] pub fn wait_until ( & self , p : & :: js_sys :: Promise ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_wait_until_ExtendableEvent ( self_ : < & ExtendableEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , p : < & :: js_sys :: Promise as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ExtendableEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let p = < & :: js_sys :: Promise as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( p , & mut __stack ) ; __widl_f_wait_until_ExtendableEvent ( self_ , p , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `waitUntil()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent/waitUntil)\n\n*This API requires the following crate features to be activated: `ExtendableEvent`*" ] pub fn wait_until ( & self , p : & :: js_sys :: Promise ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ExtendableMessageEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent)\n\n*This API requires the following crate features to be activated: `ExtendableMessageEvent`*" ] # [ repr ( transparent ) ] pub struct ExtendableMessageEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ExtendableMessageEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ExtendableMessageEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ExtendableMessageEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ExtendableMessageEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ExtendableMessageEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ExtendableMessageEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ExtendableMessageEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ExtendableMessageEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ExtendableMessageEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ExtendableMessageEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ExtendableMessageEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ExtendableMessageEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ExtendableMessageEvent { # [ inline ] fn from ( obj : JsValue ) -> ExtendableMessageEvent { ExtendableMessageEvent { obj } } } impl AsRef < JsValue > for ExtendableMessageEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ExtendableMessageEvent > for JsValue { # [ inline ] fn from ( obj : ExtendableMessageEvent ) -> JsValue { obj . obj } } impl JsCast for ExtendableMessageEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ExtendableMessageEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ExtendableMessageEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ExtendableMessageEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ExtendableMessageEvent ) } } } ( ) } ; impl core :: ops :: Deref for ExtendableMessageEvent { type Target = ExtendableEvent ; # [ inline ] fn deref ( & self ) -> & ExtendableEvent { self . as_ref ( ) } } impl From < ExtendableMessageEvent > for ExtendableEvent { # [ inline ] fn from ( obj : ExtendableMessageEvent ) -> ExtendableEvent { use wasm_bindgen :: JsCast ; ExtendableEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < ExtendableEvent > for ExtendableMessageEvent { # [ inline ] fn as_ref ( & self ) -> & ExtendableEvent { use wasm_bindgen :: JsCast ; ExtendableEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ExtendableMessageEvent > for Event { # [ inline ] fn from ( obj : ExtendableMessageEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for ExtendableMessageEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ExtendableMessageEvent > for Object { # [ inline ] fn from ( obj : ExtendableMessageEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ExtendableMessageEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_ExtendableMessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < ExtendableMessageEvent as WasmDescribe > :: describe ( ) ; } impl ExtendableMessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ExtendableMessageEvent(..)` constructor, creating a new instance of `ExtendableMessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/ExtendableMessageEvent)\n\n*This API requires the following crate features to be activated: `ExtendableMessageEvent`*" ] pub fn new ( type_ : & str ) -> Result < ExtendableMessageEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_ExtendableMessageEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ExtendableMessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_ExtendableMessageEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ExtendableMessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ExtendableMessageEvent(..)` constructor, creating a new instance of `ExtendableMessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/ExtendableMessageEvent)\n\n*This API requires the following crate features to be activated: `ExtendableMessageEvent`*" ] pub fn new ( type_ : & str ) -> Result < ExtendableMessageEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_ExtendableMessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & ExtendableMessageEventInit as WasmDescribe > :: describe ( ) ; < ExtendableMessageEvent as WasmDescribe > :: describe ( ) ; } impl ExtendableMessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ExtendableMessageEvent(..)` constructor, creating a new instance of `ExtendableMessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/ExtendableMessageEvent)\n\n*This API requires the following crate features to be activated: `ExtendableMessageEvent`, `ExtendableMessageEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & ExtendableMessageEventInit ) -> Result < ExtendableMessageEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_ExtendableMessageEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & ExtendableMessageEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ExtendableMessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & ExtendableMessageEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_ExtendableMessageEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ExtendableMessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ExtendableMessageEvent(..)` constructor, creating a new instance of `ExtendableMessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/ExtendableMessageEvent)\n\n*This API requires the following crate features to be activated: `ExtendableMessageEvent`, `ExtendableMessageEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & ExtendableMessageEventInit ) -> Result < ExtendableMessageEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_data_ExtendableMessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ExtendableMessageEvent as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl ExtendableMessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/data)\n\n*This API requires the following crate features to be activated: `ExtendableMessageEvent`*" ] pub fn data ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_data_ExtendableMessageEvent ( self_ : < & ExtendableMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ExtendableMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_data_ExtendableMessageEvent ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/data)\n\n*This API requires the following crate features to be activated: `ExtendableMessageEvent`*" ] pub fn data ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_origin_ExtendableMessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ExtendableMessageEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl ExtendableMessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/origin)\n\n*This API requires the following crate features to be activated: `ExtendableMessageEvent`*" ] pub fn origin ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_origin_ExtendableMessageEvent ( self_ : < & ExtendableMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ExtendableMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_origin_ExtendableMessageEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/origin)\n\n*This API requires the following crate features to be activated: `ExtendableMessageEvent`*" ] pub fn origin ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_last_event_id_ExtendableMessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ExtendableMessageEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl ExtendableMessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lastEventId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/lastEventId)\n\n*This API requires the following crate features to be activated: `ExtendableMessageEvent`*" ] pub fn last_event_id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_last_event_id_ExtendableMessageEvent ( self_ : < & ExtendableMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ExtendableMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_last_event_id_ExtendableMessageEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lastEventId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/lastEventId)\n\n*This API requires the following crate features to be activated: `ExtendableMessageEvent`*" ] pub fn last_event_id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_source_ExtendableMessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ExtendableMessageEvent as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl ExtendableMessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `source` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/source)\n\n*This API requires the following crate features to be activated: `ExtendableMessageEvent`*" ] pub fn source ( & self , ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_source_ExtendableMessageEvent ( self_ : < & ExtendableMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ExtendableMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_source_ExtendableMessageEvent ( self_ ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `source` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent/source)\n\n*This API requires the following crate features to be activated: `ExtendableMessageEvent`*" ] pub fn source ( & self , ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FetchEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent)\n\n*This API requires the following crate features to be activated: `FetchEvent`*" ] # [ repr ( transparent ) ] pub struct FetchEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FetchEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FetchEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FetchEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FetchEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FetchEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FetchEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FetchEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FetchEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FetchEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FetchEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FetchEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FetchEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FetchEvent { # [ inline ] fn from ( obj : JsValue ) -> FetchEvent { FetchEvent { obj } } } impl AsRef < JsValue > for FetchEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FetchEvent > for JsValue { # [ inline ] fn from ( obj : FetchEvent ) -> JsValue { obj . obj } } impl JsCast for FetchEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FetchEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FetchEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FetchEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FetchEvent ) } } } ( ) } ; impl core :: ops :: Deref for FetchEvent { type Target = ExtendableEvent ; # [ inline ] fn deref ( & self ) -> & ExtendableEvent { self . as_ref ( ) } } impl From < FetchEvent > for ExtendableEvent { # [ inline ] fn from ( obj : FetchEvent ) -> ExtendableEvent { use wasm_bindgen :: JsCast ; ExtendableEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < ExtendableEvent > for FetchEvent { # [ inline ] fn as_ref ( & self ) -> & ExtendableEvent { use wasm_bindgen :: JsCast ; ExtendableEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < FetchEvent > for Event { # [ inline ] fn from ( obj : FetchEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for FetchEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < FetchEvent > for Object { # [ inline ] fn from ( obj : FetchEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FetchEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_FetchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & FetchEventInit as WasmDescribe > :: describe ( ) ; < FetchEvent as WasmDescribe > :: describe ( ) ; } impl FetchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FetchEvent(..)` constructor, creating a new instance of `FetchEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/FetchEvent)\n\n*This API requires the following crate features to be activated: `FetchEvent`, `FetchEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & FetchEventInit ) -> Result < FetchEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_FetchEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & FetchEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FetchEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & FetchEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_FetchEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FetchEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FetchEvent(..)` constructor, creating a new instance of `FetchEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/FetchEvent)\n\n*This API requires the following crate features to be activated: `FetchEvent`, `FetchEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & FetchEventInit ) -> Result < FetchEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_respond_with_FetchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FetchEvent as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FetchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `respondWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/respondWith)\n\n*This API requires the following crate features to be activated: `FetchEvent`*" ] pub fn respond_with ( & self , r : & :: js_sys :: Promise ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_respond_with_FetchEvent ( self_ : < & FetchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , r : < & :: js_sys :: Promise as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FetchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let r = < & :: js_sys :: Promise as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( r , & mut __stack ) ; __widl_f_respond_with_FetchEvent ( self_ , r , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `respondWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/respondWith)\n\n*This API requires the following crate features to be activated: `FetchEvent`*" ] pub fn respond_with ( & self , r : & :: js_sys :: Promise ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_FetchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FetchEvent as WasmDescribe > :: describe ( ) ; < Request as WasmDescribe > :: describe ( ) ; } impl FetchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `request` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/request)\n\n*This API requires the following crate features to be activated: `FetchEvent`, `Request`*" ] pub fn request ( & self , ) -> Request { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_FetchEvent ( self_ : < & FetchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Request as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FetchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_request_FetchEvent ( self_ ) } ; < Request as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `request` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/request)\n\n*This API requires the following crate features to be activated: `FetchEvent`, `Request`*" ] pub fn request ( & self , ) -> Request { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_client_id_FetchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FetchEvent as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl FetchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clientId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/clientId)\n\n*This API requires the following crate features to be activated: `FetchEvent`*" ] pub fn client_id ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_client_id_FetchEvent ( self_ : < & FetchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FetchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_client_id_FetchEvent ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clientId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/clientId)\n\n*This API requires the following crate features to be activated: `FetchEvent`*" ] pub fn client_id ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_reload_FetchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FetchEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl FetchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isReload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/isReload)\n\n*This API requires the following crate features to be activated: `FetchEvent`*" ] pub fn is_reload ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_reload_FetchEvent ( self_ : < & FetchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FetchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_reload_FetchEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isReload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/isReload)\n\n*This API requires the following crate features to be activated: `FetchEvent`*" ] pub fn is_reload ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FetchObserver` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver)\n\n*This API requires the following crate features to be activated: `FetchObserver`*" ] # [ repr ( transparent ) ] pub struct FetchObserver { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FetchObserver : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FetchObserver { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FetchObserver { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FetchObserver { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FetchObserver { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FetchObserver { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FetchObserver { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FetchObserver { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FetchObserver { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FetchObserver { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FetchObserver > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FetchObserver { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FetchObserver { # [ inline ] fn from ( obj : JsValue ) -> FetchObserver { FetchObserver { obj } } } impl AsRef < JsValue > for FetchObserver { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FetchObserver > for JsValue { # [ inline ] fn from ( obj : FetchObserver ) -> JsValue { obj . obj } } impl JsCast for FetchObserver { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FetchObserver ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FetchObserver ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FetchObserver { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FetchObserver ) } } } ( ) } ; impl core :: ops :: Deref for FetchObserver { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < FetchObserver > for EventTarget { # [ inline ] fn from ( obj : FetchObserver ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for FetchObserver { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < FetchObserver > for Object { # [ inline ] fn from ( obj : FetchObserver ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FetchObserver { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_state_FetchObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FetchObserver as WasmDescribe > :: describe ( ) ; < FetchState as WasmDescribe > :: describe ( ) ; } impl FetchObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/state)\n\n*This API requires the following crate features to be activated: `FetchObserver`, `FetchState`*" ] pub fn state ( & self , ) -> FetchState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_state_FetchObserver ( self_ : < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < FetchState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_state_FetchObserver ( self_ ) } ; < FetchState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/state)\n\n*This API requires the following crate features to be activated: `FetchObserver`, `FetchState`*" ] pub fn state ( & self , ) -> FetchState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstatechange_FetchObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FetchObserver as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl FetchObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onstatechange)\n\n*This API requires the following crate features to be activated: `FetchObserver`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstatechange_FetchObserver ( self_ : < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstatechange_FetchObserver ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onstatechange)\n\n*This API requires the following crate features to be activated: `FetchObserver`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstatechange_FetchObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FetchObserver as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FetchObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onstatechange)\n\n*This API requires the following crate features to be activated: `FetchObserver`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstatechange_FetchObserver ( self_ : < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstatechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstatechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstatechange , & mut __stack ) ; __widl_f_set_onstatechange_FetchObserver ( self_ , onstatechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onstatechange)\n\n*This API requires the following crate features to be activated: `FetchObserver`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onrequestprogress_FetchObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FetchObserver as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl FetchObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onrequestprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onrequestprogress)\n\n*This API requires the following crate features to be activated: `FetchObserver`*" ] pub fn onrequestprogress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onrequestprogress_FetchObserver ( self_ : < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onrequestprogress_FetchObserver ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onrequestprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onrequestprogress)\n\n*This API requires the following crate features to be activated: `FetchObserver`*" ] pub fn onrequestprogress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onrequestprogress_FetchObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FetchObserver as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FetchObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onrequestprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onrequestprogress)\n\n*This API requires the following crate features to be activated: `FetchObserver`*" ] pub fn set_onrequestprogress ( & self , onrequestprogress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onrequestprogress_FetchObserver ( self_ : < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onrequestprogress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onrequestprogress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onrequestprogress , & mut __stack ) ; __widl_f_set_onrequestprogress_FetchObserver ( self_ , onrequestprogress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onrequestprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onrequestprogress)\n\n*This API requires the following crate features to be activated: `FetchObserver`*" ] pub fn set_onrequestprogress ( & self , onrequestprogress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onresponseprogress_FetchObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FetchObserver as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl FetchObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresponseprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onresponseprogress)\n\n*This API requires the following crate features to be activated: `FetchObserver`*" ] pub fn onresponseprogress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onresponseprogress_FetchObserver ( self_ : < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onresponseprogress_FetchObserver ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresponseprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onresponseprogress)\n\n*This API requires the following crate features to be activated: `FetchObserver`*" ] pub fn onresponseprogress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onresponseprogress_FetchObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FetchObserver as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FetchObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresponseprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onresponseprogress)\n\n*This API requires the following crate features to be activated: `FetchObserver`*" ] pub fn set_onresponseprogress ( & self , onresponseprogress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onresponseprogress_FetchObserver ( self_ : < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onresponseprogress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FetchObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onresponseprogress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onresponseprogress , & mut __stack ) ; __widl_f_set_onresponseprogress_FetchObserver ( self_ , onresponseprogress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresponseprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FetchObserver/onresponseprogress)\n\n*This API requires the following crate features to be activated: `FetchObserver`*" ] pub fn set_onresponseprogress ( & self , onresponseprogress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `File` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File)\n\n*This API requires the following crate features to be activated: `File`*" ] # [ repr ( transparent ) ] pub struct File { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_File : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for File { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for File { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for File { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a File { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for File { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { File { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for File { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a File { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for File { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < File > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( File { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for File { # [ inline ] fn from ( obj : JsValue ) -> File { File { obj } } } impl AsRef < JsValue > for File { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < File > for JsValue { # [ inline ] fn from ( obj : File ) -> JsValue { obj . obj } } impl JsCast for File { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_File ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_File ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { File { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const File ) } } } ( ) } ; impl core :: ops :: Deref for File { type Target = Blob ; # [ inline ] fn deref ( & self ) -> & Blob { self . as_ref ( ) } } impl From < File > for Blob { # [ inline ] fn from ( obj : File ) -> Blob { use wasm_bindgen :: JsCast ; Blob :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Blob > for File { # [ inline ] fn as_ref ( & self ) -> & Blob { use wasm_bindgen :: JsCast ; Blob :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < File > for Object { # [ inline ] fn from ( obj : File ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for File { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_File ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & File as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl File { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/name)\n\n*This API requires the following crate features to be activated: `File`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_File ( self_ : < & File as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & File as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_File ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/name)\n\n*This API requires the following crate features to be activated: `File`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_last_modified_File ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & File as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl File { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lastModified` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/lastModified)\n\n*This API requires the following crate features to be activated: `File`*" ] pub fn last_modified ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_last_modified_File ( self_ : < & File as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & File as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_last_modified_File ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lastModified` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/File/lastModified)\n\n*This API requires the following crate features to be activated: `File`*" ] pub fn last_modified ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FileList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileList)\n\n*This API requires the following crate features to be activated: `FileList`*" ] # [ repr ( transparent ) ] pub struct FileList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FileList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FileList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FileList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FileList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FileList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FileList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FileList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FileList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FileList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FileList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FileList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FileList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FileList { # [ inline ] fn from ( obj : JsValue ) -> FileList { FileList { obj } } } impl AsRef < JsValue > for FileList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FileList > for JsValue { # [ inline ] fn from ( obj : FileList ) -> JsValue { obj . obj } } impl JsCast for FileList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FileList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FileList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FileList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FileList ) } } } ( ) } ; impl core :: ops :: Deref for FileList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < FileList > for Object { # [ inline ] fn from ( obj : FileList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FileList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_FileList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < File > as WasmDescribe > :: describe ( ) ; } impl FileList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileList/item)\n\n*This API requires the following crate features to be activated: `File`, `FileList`*" ] pub fn item ( & self , index : u32 ) -> Option < File > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_FileList ( self_ : < & FileList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < File > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_FileList ( self_ , index ) } ; < Option < File > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileList/item)\n\n*This API requires the following crate features to be activated: `File`, `FileList`*" ] pub fn item ( & self , index : u32 ) -> Option < File > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_FileList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < File > as WasmDescribe > :: describe ( ) ; } impl FileList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `File`, `FileList`*" ] pub fn get ( & self , index : u32 ) -> Option < File > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_FileList ( self_ : < & FileList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < File > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_FileList ( self_ , index ) } ; < Option < File > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `File`, `FileList`*" ] pub fn get ( & self , index : u32 ) -> Option < File > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_FileList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl FileList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileList/length)\n\n*This API requires the following crate features to be activated: `FileList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_FileList ( self_ : < & FileList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_FileList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileList/length)\n\n*This API requires the following crate features to be activated: `FileList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FileReader` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] # [ repr ( transparent ) ] pub struct FileReader { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FileReader : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FileReader { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FileReader { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FileReader { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FileReader { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FileReader { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FileReader { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FileReader { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FileReader { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FileReader { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FileReader > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FileReader { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FileReader { # [ inline ] fn from ( obj : JsValue ) -> FileReader { FileReader { obj } } } impl AsRef < JsValue > for FileReader { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FileReader > for JsValue { # [ inline ] fn from ( obj : FileReader ) -> JsValue { obj . obj } } impl JsCast for FileReader { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FileReader ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FileReader ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FileReader { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FileReader ) } } } ( ) } ; impl core :: ops :: Deref for FileReader { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < FileReader > for EventTarget { # [ inline ] fn from ( obj : FileReader ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for FileReader { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < FileReader > for Object { # [ inline ] fn from ( obj : FileReader ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FileReader { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < FileReader as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FileReader(..)` constructor, creating a new instance of `FileReader`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/FileReader)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn new ( ) -> Result < FileReader , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_FileReader ( exn_data_ptr : * mut u32 ) -> < FileReader as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_FileReader ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FileReader as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FileReader(..)` constructor, creating a new instance of `FileReader`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/FileReader)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn new ( ) -> Result < FileReader , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_abort_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/abort)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn abort ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_abort_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_abort_FileReader ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/abort)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn abort ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_array_buffer_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsArrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsArrayBuffer)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReader`*" ] pub fn read_as_array_buffer ( & self , blob : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_array_buffer_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blob : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let blob = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blob , & mut __stack ) ; __widl_f_read_as_array_buffer_FileReader ( self_ , blob , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsArrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsArrayBuffer)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReader`*" ] pub fn read_as_array_buffer ( & self , blob : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_binary_string_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsBinaryString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsBinaryString)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReader`*" ] pub fn read_as_binary_string ( & self , filedata : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_binary_string_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , filedata : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let filedata = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( filedata , & mut __stack ) ; __widl_f_read_as_binary_string_FileReader ( self_ , filedata , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsBinaryString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsBinaryString)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReader`*" ] pub fn read_as_binary_string ( & self , filedata : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_data_url_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsDataURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReader`*" ] pub fn read_as_data_url ( & self , blob : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_data_url_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blob : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let blob = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blob , & mut __stack ) ; __widl_f_read_as_data_url_FileReader ( self_ , blob , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsDataURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReader`*" ] pub fn read_as_data_url ( & self , blob : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_text_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReader`*" ] pub fn read_as_text ( & self , blob : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_text_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blob : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let blob = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blob , & mut __stack ) ; __widl_f_read_as_text_FileReader ( self_ , blob , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReader`*" ] pub fn read_as_text ( & self , blob : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_text_with_label_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReader`*" ] pub fn read_as_text_with_label ( & self , blob : & Blob , label : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_text_with_label_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blob : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let blob = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blob , & mut __stack ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_read_as_text_with_label_FileReader ( self_ , blob , label , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReader`*" ] pub fn read_as_text_with_label ( & self , blob : & Blob , label : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_state_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readyState)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn ready_state ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_state_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_state_FileReader ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readyState)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn ready_state ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/result)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn result ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_FileReader ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/result)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn result ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < Option < DomException > as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/error)\n\n*This API requires the following crate features to be activated: `DomException`, `FileReader`*" ] pub fn error ( & self , ) -> Option < DomException > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < DomException > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_error_FileReader ( self_ ) } ; < Option < DomException > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/error)\n\n*This API requires the following crate features to be activated: `DomException`, `FileReader`*" ] pub fn error ( & self , ) -> Option < DomException > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadstart_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onloadstart)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn onloadstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadstart_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadstart_FileReader ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onloadstart)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn onloadstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadstart_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onloadstart)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn set_onloadstart ( & self , onloadstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadstart_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadstart , & mut __stack ) ; __widl_f_set_onloadstart_FileReader ( self_ , onloadstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onloadstart)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn set_onloadstart ( & self , onloadstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onprogress_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onprogress)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onprogress_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onprogress_FileReader ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onprogress)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onprogress_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onprogress)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onprogress_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onprogress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onprogress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onprogress , & mut __stack ) ; __widl_f_set_onprogress_FileReader ( self_ , onprogress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onprogress)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onload_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onload)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn onload ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onload_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onload_FileReader ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onload)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn onload ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onload_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onload)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn set_onload ( & self , onload : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onload_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onload : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onload = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onload , & mut __stack ) ; __widl_f_set_onload_FileReader ( self_ , onload ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onload)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn set_onload ( & self , onload : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onabort_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onabort)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onabort_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onabort_FileReader ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onabort)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onabort_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onabort)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onabort_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onabort : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onabort = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onabort , & mut __stack ) ; __widl_f_set_onabort_FileReader ( self_ , onabort ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onabort)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onerror)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_FileReader ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onerror)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onerror)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_FileReader ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onerror)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadend_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onloadend)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn onloadend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadend_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadend_FileReader ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onloadend)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn onloadend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadend_FileReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReader as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onloadend)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn set_onloadend ( & self , onloadend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadend_FileReader ( self_ : < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadend , & mut __stack ) ; __widl_f_set_onloadend_FileReader ( self_ , onloadend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onloadend)\n\n*This API requires the following crate features to be activated: `FileReader`*" ] pub fn set_onloadend ( & self , onloadend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FileReaderSync` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync)\n\n*This API requires the following crate features to be activated: `FileReaderSync`*" ] # [ repr ( transparent ) ] pub struct FileReaderSync { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FileReaderSync : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FileReaderSync { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FileReaderSync { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FileReaderSync { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FileReaderSync { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FileReaderSync { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FileReaderSync { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FileReaderSync { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FileReaderSync { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FileReaderSync { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FileReaderSync > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FileReaderSync { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FileReaderSync { # [ inline ] fn from ( obj : JsValue ) -> FileReaderSync { FileReaderSync { obj } } } impl AsRef < JsValue > for FileReaderSync { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FileReaderSync > for JsValue { # [ inline ] fn from ( obj : FileReaderSync ) -> JsValue { obj . obj } } impl JsCast for FileReaderSync { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FileReaderSync ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FileReaderSync ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FileReaderSync { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FileReaderSync ) } } } ( ) } ; impl core :: ops :: Deref for FileReaderSync { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < FileReaderSync > for Object { # [ inline ] fn from ( obj : FileReaderSync ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FileReaderSync { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_FileReaderSync ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < FileReaderSync as WasmDescribe > :: describe ( ) ; } impl FileReaderSync { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FileReaderSync(..)` constructor, creating a new instance of `FileReaderSync`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/FileReaderSync)\n\n*This API requires the following crate features to be activated: `FileReaderSync`*" ] pub fn new ( ) -> Result < FileReaderSync , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_FileReaderSync ( exn_data_ptr : * mut u32 ) -> < FileReaderSync as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_FileReaderSync ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FileReaderSync as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FileReaderSync(..)` constructor, creating a new instance of `FileReaderSync`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/FileReaderSync)\n\n*This API requires the following crate features to be activated: `FileReaderSync`*" ] pub fn new ( ) -> Result < FileReaderSync , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_array_buffer_FileReaderSync ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReaderSync as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; } impl FileReaderSync { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsArrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsArrayBuffer)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*" ] pub fn read_as_array_buffer ( & self , blob : & Blob ) -> Result < :: js_sys :: ArrayBuffer , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_array_buffer_FileReaderSync ( self_ : < & FileReaderSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blob : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReaderSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let blob = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blob , & mut __stack ) ; __widl_f_read_as_array_buffer_FileReaderSync ( self_ , blob , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsArrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsArrayBuffer)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*" ] pub fn read_as_array_buffer ( & self , blob : & Blob ) -> Result < :: js_sys :: ArrayBuffer , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_binary_string_FileReaderSync ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReaderSync as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FileReaderSync { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsBinaryString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsBinaryString)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*" ] pub fn read_as_binary_string ( & self , blob : & Blob ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_binary_string_FileReaderSync ( self_ : < & FileReaderSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blob : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReaderSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let blob = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blob , & mut __stack ) ; __widl_f_read_as_binary_string_FileReaderSync ( self_ , blob , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsBinaryString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsBinaryString)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*" ] pub fn read_as_binary_string ( & self , blob : & Blob ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_data_url_FileReaderSync ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReaderSync as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FileReaderSync { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsDataURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsDataURL)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*" ] pub fn read_as_data_url ( & self , blob : & Blob ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_data_url_FileReaderSync ( self_ : < & FileReaderSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blob : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReaderSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let blob = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blob , & mut __stack ) ; __widl_f_read_as_data_url_FileReaderSync ( self_ , blob , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsDataURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsDataURL)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*" ] pub fn read_as_data_url ( & self , blob : & Blob ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_text_FileReaderSync ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileReaderSync as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FileReaderSync { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsText)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*" ] pub fn read_as_text ( & self , blob : & Blob ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_text_FileReaderSync ( self_ : < & FileReaderSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blob : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReaderSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let blob = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blob , & mut __stack ) ; __widl_f_read_as_text_FileReaderSync ( self_ , blob , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsText)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*" ] pub fn read_as_text ( & self , blob : & Blob ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_text_with_encoding_FileReaderSync ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileReaderSync as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FileReaderSync { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsText)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*" ] pub fn read_as_text_with_encoding ( & self , blob : & Blob , encoding : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_text_with_encoding_FileReaderSync ( self_ : < & FileReaderSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blob : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , encoding : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileReaderSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let blob = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blob , & mut __stack ) ; let encoding = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( encoding , & mut __stack ) ; __widl_f_read_as_text_with_encoding_FileReaderSync ( self_ , blob , encoding , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileReaderSync/readAsText)\n\n*This API requires the following crate features to be activated: `Blob`, `FileReaderSync`*" ] pub fn read_as_text_with_encoding ( & self , blob : & Blob , encoding : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FileSystem` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem)\n\n*This API requires the following crate features to be activated: `FileSystem`*" ] # [ repr ( transparent ) ] pub struct FileSystem { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FileSystem : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FileSystem { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FileSystem { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FileSystem { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FileSystem { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FileSystem { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FileSystem { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FileSystem { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FileSystem { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FileSystem { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FileSystem > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FileSystem { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FileSystem { # [ inline ] fn from ( obj : JsValue ) -> FileSystem { FileSystem { obj } } } impl AsRef < JsValue > for FileSystem { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FileSystem > for JsValue { # [ inline ] fn from ( obj : FileSystem ) -> JsValue { obj . obj } } impl JsCast for FileSystem { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FileSystem ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FileSystem ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FileSystem { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FileSystem ) } } } ( ) } ; impl core :: ops :: Deref for FileSystem { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < FileSystem > for Object { # [ inline ] fn from ( obj : FileSystem ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FileSystem { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_FileSystem ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileSystem as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FileSystem { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem/name)\n\n*This API requires the following crate features to be activated: `FileSystem`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_FileSystem ( self_ : < & FileSystem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_FileSystem ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem/name)\n\n*This API requires the following crate features to be activated: `FileSystem`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_root_FileSystem ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileSystem as WasmDescribe > :: describe ( ) ; < FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; } impl FileSystem { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `root` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem/root)\n\n*This API requires the following crate features to be activated: `FileSystem`, `FileSystemDirectoryEntry`*" ] pub fn root ( & self , ) -> FileSystemDirectoryEntry { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_root_FileSystem ( self_ : < & FileSystem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystem as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_root_FileSystem ( self_ ) } ; < FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `root` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem/root)\n\n*This API requires the following crate features to be activated: `FileSystem`, `FileSystemDirectoryEntry`*" ] pub fn root ( & self , ) -> FileSystemDirectoryEntry { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FileSystemDirectoryEntry` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*" ] # [ repr ( transparent ) ] pub struct FileSystemDirectoryEntry { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FileSystemDirectoryEntry : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FileSystemDirectoryEntry { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FileSystemDirectoryEntry { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FileSystemDirectoryEntry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FileSystemDirectoryEntry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FileSystemDirectoryEntry { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FileSystemDirectoryEntry { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FileSystemDirectoryEntry { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FileSystemDirectoryEntry { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FileSystemDirectoryEntry { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FileSystemDirectoryEntry > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FileSystemDirectoryEntry { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FileSystemDirectoryEntry { # [ inline ] fn from ( obj : JsValue ) -> FileSystemDirectoryEntry { FileSystemDirectoryEntry { obj } } } impl AsRef < JsValue > for FileSystemDirectoryEntry { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FileSystemDirectoryEntry > for JsValue { # [ inline ] fn from ( obj : FileSystemDirectoryEntry ) -> JsValue { obj . obj } } impl JsCast for FileSystemDirectoryEntry { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FileSystemDirectoryEntry ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FileSystemDirectoryEntry ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FileSystemDirectoryEntry { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FileSystemDirectoryEntry ) } } } ( ) } ; impl core :: ops :: Deref for FileSystemDirectoryEntry { type Target = FileSystemEntry ; # [ inline ] fn deref ( & self ) -> & FileSystemEntry { self . as_ref ( ) } } impl From < FileSystemDirectoryEntry > for FileSystemEntry { # [ inline ] fn from ( obj : FileSystemDirectoryEntry ) -> FileSystemEntry { use wasm_bindgen :: JsCast ; FileSystemEntry :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < FileSystemEntry > for FileSystemDirectoryEntry { # [ inline ] fn as_ref ( & self ) -> & FileSystemEntry { use wasm_bindgen :: JsCast ; FileSystemEntry :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < FileSystemDirectoryEntry > for Object { # [ inline ] fn from ( obj : FileSystemDirectoryEntry ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FileSystemDirectoryEntry { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_reader_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < FileSystemDirectoryReader as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createReader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/createReader)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemDirectoryReader`*" ] pub fn create_reader ( & self , ) -> FileSystemDirectoryReader { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_reader_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < FileSystemDirectoryReader as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_reader_FileSystemDirectoryEntry ( self_ ) } ; < FileSystemDirectoryReader as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createReader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/createReader)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemDirectoryReader`*" ] pub fn create_reader ( & self , ) -> FileSystemDirectoryReader { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_directory_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*" ] pub fn get_directory ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_directory_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_directory_FileSystemDirectoryEntry ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*" ] pub fn get_directory ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_directory_with_path_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*" ] pub fn get_directory_with_path ( & self , path : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_directory_with_path_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; __widl_f_get_directory_with_path_FileSystemDirectoryEntry ( self_ , path ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*" ] pub fn get_directory_with_path ( & self , path : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_directory_with_path_and_options_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options ( & self , path : Option < & str > , options : & FileSystemFlags ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_directory_with_path_and_options_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_get_directory_with_path_and_options_FileSystemDirectoryEntry ( self_ , path , options ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options ( & self , path : Option < & str > , options : & FileSystemFlags ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_directory_with_path_and_options_and_callback_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options_and_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_directory_with_path_and_options_and_callback_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; __widl_f_get_directory_with_path_and_options_and_callback_FileSystemDirectoryEntry ( self_ , path , options , success_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options_and_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_directory_with_path_and_options_and_file_system_entry_callback_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < & FileSystemEntryCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options_and_file_system_entry_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & FileSystemEntryCallback ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_directory_with_path_and_options_and_file_system_entry_callback_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let success_callback = < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; __widl_f_get_directory_with_path_and_options_and_file_system_entry_callback_FileSystemDirectoryEntry ( self_ , path , options , success_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options_and_file_system_entry_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & FileSystemEntryCallback ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_directory_with_path_and_options_and_callback_and_callback_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options_and_callback_and_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_directory_with_path_and_options_and_callback_and_callback_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_get_directory_with_path_and_options_and_callback_and_callback_FileSystemDirectoryEntry ( self_ , path , options , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options_and_callback_and_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_directory_with_path_and_options_and_file_system_entry_callback_and_callback_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < & FileSystemEntryCallback as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options_and_file_system_entry_callback_and_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & FileSystemEntryCallback , error_callback : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_directory_with_path_and_options_and_file_system_entry_callback_and_callback_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let success_callback = < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_get_directory_with_path_and_options_and_file_system_entry_callback_and_callback_FileSystemDirectoryEntry ( self_ , path , options , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options_and_file_system_entry_callback_and_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & FileSystemEntryCallback , error_callback : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_directory_with_path_and_options_and_callback_and_error_callback_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & ErrorCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options_and_callback_and_error_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & :: js_sys :: Function , error_callback : & ErrorCallback ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_directory_with_path_and_options_and_callback_and_error_callback_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_get_directory_with_path_and_options_and_callback_and_error_callback_FileSystemDirectoryEntry ( self_ , path , options , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options_and_callback_and_error_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & :: js_sys :: Function , error_callback : & ErrorCallback ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_directory_with_path_and_options_and_file_system_entry_callback_and_error_callback_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < & FileSystemEntryCallback as WasmDescribe > :: describe ( ) ; < & ErrorCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options_and_file_system_entry_callback_and_error_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & FileSystemEntryCallback , error_callback : & ErrorCallback ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_directory_with_path_and_options_and_file_system_entry_callback_and_error_callback_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let success_callback = < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_get_directory_with_path_and_options_and_file_system_entry_callback_and_error_callback_FileSystemDirectoryEntry ( self_ , path , options , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getDirectory()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*" ] pub fn get_directory_with_path_and_options_and_file_system_entry_callback_and_error_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & FileSystemEntryCallback , error_callback : & ErrorCallback ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_file_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*" ] pub fn get_file ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_file_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_file_FileSystemDirectoryEntry ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*" ] pub fn get_file ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_file_with_path_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*" ] pub fn get_file_with_path ( & self , path : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_file_with_path_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; __widl_f_get_file_with_path_FileSystemDirectoryEntry ( self_ , path ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`*" ] pub fn get_file_with_path ( & self , path : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_file_with_path_and_options_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options ( & self , path : Option < & str > , options : & FileSystemFlags ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_file_with_path_and_options_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_get_file_with_path_and_options_FileSystemDirectoryEntry ( self_ , path , options ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options ( & self , path : Option < & str > , options : & FileSystemFlags ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_file_with_path_and_options_and_callback_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options_and_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_file_with_path_and_options_and_callback_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; __widl_f_get_file_with_path_and_options_and_callback_FileSystemDirectoryEntry ( self_ , path , options , success_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options_and_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_file_with_path_and_options_and_file_system_entry_callback_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < & FileSystemEntryCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options_and_file_system_entry_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & FileSystemEntryCallback ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_file_with_path_and_options_and_file_system_entry_callback_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let success_callback = < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; __widl_f_get_file_with_path_and_options_and_file_system_entry_callback_FileSystemDirectoryEntry ( self_ , path , options , success_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options_and_file_system_entry_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & FileSystemEntryCallback ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_file_with_path_and_options_and_callback_and_callback_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options_and_callback_and_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_file_with_path_and_options_and_callback_and_callback_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_get_file_with_path_and_options_and_callback_and_callback_FileSystemDirectoryEntry ( self_ , path , options , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options_and_callback_and_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_file_with_path_and_options_and_file_system_entry_callback_and_callback_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < & FileSystemEntryCallback as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options_and_file_system_entry_callback_and_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & FileSystemEntryCallback , error_callback : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_file_with_path_and_options_and_file_system_entry_callback_and_callback_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let success_callback = < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_get_file_with_path_and_options_and_file_system_entry_callback_and_callback_FileSystemDirectoryEntry ( self_ , path , options , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options_and_file_system_entry_callback_and_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & FileSystemEntryCallback , error_callback : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_file_with_path_and_options_and_callback_and_error_callback_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & ErrorCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options_and_callback_and_error_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & :: js_sys :: Function , error_callback : & ErrorCallback ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_file_with_path_and_options_and_callback_and_error_callback_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_get_file_with_path_and_options_and_callback_and_error_callback_FileSystemDirectoryEntry ( self_ , path , options , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryEntry`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options_and_callback_and_error_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & :: js_sys :: Function , error_callback : & ErrorCallback ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_file_with_path_and_options_and_file_system_entry_callback_and_error_callback_FileSystemDirectoryEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & FileSystemDirectoryEntry as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & FileSystemFlags as WasmDescribe > :: describe ( ) ; < & FileSystemEntryCallback as WasmDescribe > :: describe ( ) ; < & ErrorCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options_and_file_system_entry_callback_and_error_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & FileSystemEntryCallback , error_callback : & ErrorCallback ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_file_with_path_and_options_and_file_system_entry_callback_and_error_callback_FileSystemDirectoryEntry ( self_ : < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let options = < & FileSystemFlags as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let success_callback = < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_get_file_with_path_and_options_and_file_system_entry_callback_and_error_callback_FileSystemDirectoryEntry ( self_ , path , options , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/getFile)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryEntry`, `FileSystemEntryCallback`, `FileSystemFlags`*" ] pub fn get_file_with_path_and_options_and_file_system_entry_callback_and_error_callback ( & self , path : Option < & str > , options : & FileSystemFlags , success_callback : & FileSystemEntryCallback , error_callback : & ErrorCallback ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FileSystemDirectoryReader` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryReader`*" ] # [ repr ( transparent ) ] pub struct FileSystemDirectoryReader { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FileSystemDirectoryReader : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FileSystemDirectoryReader { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FileSystemDirectoryReader { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FileSystemDirectoryReader { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FileSystemDirectoryReader { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FileSystemDirectoryReader { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FileSystemDirectoryReader { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FileSystemDirectoryReader { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FileSystemDirectoryReader { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FileSystemDirectoryReader { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FileSystemDirectoryReader > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FileSystemDirectoryReader { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FileSystemDirectoryReader { # [ inline ] fn from ( obj : JsValue ) -> FileSystemDirectoryReader { FileSystemDirectoryReader { obj } } } impl AsRef < JsValue > for FileSystemDirectoryReader { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FileSystemDirectoryReader > for JsValue { # [ inline ] fn from ( obj : FileSystemDirectoryReader ) -> JsValue { obj . obj } } impl JsCast for FileSystemDirectoryReader { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FileSystemDirectoryReader ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FileSystemDirectoryReader ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FileSystemDirectoryReader { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FileSystemDirectoryReader ) } } } ( ) } ; impl core :: ops :: Deref for FileSystemDirectoryReader { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < FileSystemDirectoryReader > for Object { # [ inline ] fn from ( obj : FileSystemDirectoryReader ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FileSystemDirectoryReader { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_entries_with_callback_FileSystemDirectoryReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileSystemDirectoryReader as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readEntries()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryReader`*" ] pub fn read_entries_with_callback ( & self , success_callback : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_entries_with_callback_FileSystemDirectoryReader ( self_ : < & FileSystemDirectoryReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; __widl_f_read_entries_with_callback_FileSystemDirectoryReader ( self_ , success_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readEntries()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryReader`*" ] pub fn read_entries_with_callback ( & self , success_callback : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_entries_with_file_system_entries_callback_FileSystemDirectoryReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileSystemDirectoryReader as WasmDescribe > :: describe ( ) ; < & FileSystemEntriesCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readEntries()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryReader`, `FileSystemEntriesCallback`*" ] pub fn read_entries_with_file_system_entries_callback ( & self , success_callback : & FileSystemEntriesCallback ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_entries_with_file_system_entries_callback_FileSystemDirectoryReader ( self_ : < & FileSystemDirectoryReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileSystemEntriesCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & FileSystemEntriesCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; __widl_f_read_entries_with_file_system_entries_callback_FileSystemDirectoryReader ( self_ , success_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readEntries()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryReader`, `FileSystemEntriesCallback`*" ] pub fn read_entries_with_file_system_entries_callback ( & self , success_callback : & FileSystemEntriesCallback ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_entries_with_callback_and_callback_FileSystemDirectoryReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemDirectoryReader as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readEntries()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryReader`*" ] pub fn read_entries_with_callback_and_callback ( & self , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_entries_with_callback_and_callback_FileSystemDirectoryReader ( self_ : < & FileSystemDirectoryReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_read_entries_with_callback_and_callback_FileSystemDirectoryReader ( self_ , success_callback , error_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readEntries()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryReader`*" ] pub fn read_entries_with_callback_and_callback ( & self , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_entries_with_file_system_entries_callback_and_callback_FileSystemDirectoryReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemDirectoryReader as WasmDescribe > :: describe ( ) ; < & FileSystemEntriesCallback as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readEntries()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryReader`, `FileSystemEntriesCallback`*" ] pub fn read_entries_with_file_system_entries_callback_and_callback ( & self , success_callback : & FileSystemEntriesCallback , error_callback : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_entries_with_file_system_entries_callback_and_callback_FileSystemDirectoryReader ( self_ : < & FileSystemDirectoryReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileSystemEntriesCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & FileSystemEntriesCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_read_entries_with_file_system_entries_callback_and_callback_FileSystemDirectoryReader ( self_ , success_callback , error_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readEntries()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)\n\n*This API requires the following crate features to be activated: `FileSystemDirectoryReader`, `FileSystemEntriesCallback`*" ] pub fn read_entries_with_file_system_entries_callback_and_callback ( & self , success_callback : & FileSystemEntriesCallback , error_callback : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_entries_with_callback_and_error_callback_FileSystemDirectoryReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemDirectoryReader as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & ErrorCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readEntries()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryReader`*" ] pub fn read_entries_with_callback_and_error_callback ( & self , success_callback : & :: js_sys :: Function , error_callback : & ErrorCallback ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_entries_with_callback_and_error_callback_FileSystemDirectoryReader ( self_ : < & FileSystemDirectoryReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_read_entries_with_callback_and_error_callback_FileSystemDirectoryReader ( self_ , success_callback , error_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readEntries()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryReader`*" ] pub fn read_entries_with_callback_and_error_callback ( & self , success_callback : & :: js_sys :: Function , error_callback : & ErrorCallback ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_entries_with_file_system_entries_callback_and_error_callback_FileSystemDirectoryReader ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemDirectoryReader as WasmDescribe > :: describe ( ) ; < & FileSystemEntriesCallback as WasmDescribe > :: describe ( ) ; < & ErrorCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemDirectoryReader { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readEntries()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryReader`, `FileSystemEntriesCallback`*" ] pub fn read_entries_with_file_system_entries_callback_and_error_callback ( & self , success_callback : & FileSystemEntriesCallback , error_callback : & ErrorCallback ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_entries_with_file_system_entries_callback_and_error_callback_FileSystemDirectoryReader ( self_ : < & FileSystemDirectoryReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileSystemEntriesCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemDirectoryReader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & FileSystemEntriesCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_read_entries_with_file_system_entries_callback_and_error_callback_FileSystemDirectoryReader ( self_ , success_callback , error_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readEntries()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryReader`, `FileSystemEntriesCallback`*" ] pub fn read_entries_with_file_system_entries_callback_and_error_callback ( & self , success_callback : & FileSystemEntriesCallback , error_callback : & ErrorCallback ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FileSystemEntry` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] # [ repr ( transparent ) ] pub struct FileSystemEntry { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FileSystemEntry : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FileSystemEntry { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FileSystemEntry { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FileSystemEntry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FileSystemEntry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FileSystemEntry { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FileSystemEntry { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FileSystemEntry { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FileSystemEntry { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FileSystemEntry { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FileSystemEntry > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FileSystemEntry { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FileSystemEntry { # [ inline ] fn from ( obj : JsValue ) -> FileSystemEntry { FileSystemEntry { obj } } } impl AsRef < JsValue > for FileSystemEntry { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FileSystemEntry > for JsValue { # [ inline ] fn from ( obj : FileSystemEntry ) -> JsValue { obj . obj } } impl JsCast for FileSystemEntry { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FileSystemEntry ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FileSystemEntry ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FileSystemEntry { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FileSystemEntry ) } } } ( ) } ; impl core :: ops :: Deref for FileSystemEntry { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < FileSystemEntry > for Object { # [ inline ] fn from ( obj : FileSystemEntry ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FileSystemEntry { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_parent_FileSystemEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileSystemEntry as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn get_parent ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_parent_FileSystemEntry ( self_ : < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_parent_FileSystemEntry ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn get_parent ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_parent_with_callback_FileSystemEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileSystemEntry as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn get_parent_with_callback ( & self , success_callback : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_parent_with_callback_FileSystemEntry ( self_ : < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; __widl_f_get_parent_with_callback_FileSystemEntry ( self_ , success_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn get_parent_with_callback ( & self , success_callback : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_parent_with_file_system_entry_callback_FileSystemEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileSystemEntry as WasmDescribe > :: describe ( ) ; < & FileSystemEntryCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`, `FileSystemEntryCallback`*" ] pub fn get_parent_with_file_system_entry_callback ( & self , success_callback : & FileSystemEntryCallback ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_parent_with_file_system_entry_callback_FileSystemEntry ( self_ : < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; __widl_f_get_parent_with_file_system_entry_callback_FileSystemEntry ( self_ , success_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`, `FileSystemEntryCallback`*" ] pub fn get_parent_with_file_system_entry_callback ( & self , success_callback : & FileSystemEntryCallback ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_parent_with_callback_and_callback_FileSystemEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemEntry as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn get_parent_with_callback_and_callback ( & self , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_parent_with_callback_and_callback_FileSystemEntry ( self_ : < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_get_parent_with_callback_and_callback_FileSystemEntry ( self_ , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn get_parent_with_callback_and_callback ( & self , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_parent_with_file_system_entry_callback_and_callback_FileSystemEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemEntry as WasmDescribe > :: describe ( ) ; < & FileSystemEntryCallback as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`, `FileSystemEntryCallback`*" ] pub fn get_parent_with_file_system_entry_callback_and_callback ( & self , success_callback : & FileSystemEntryCallback , error_callback : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_parent_with_file_system_entry_callback_and_callback_FileSystemEntry ( self_ : < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_get_parent_with_file_system_entry_callback_and_callback_FileSystemEntry ( self_ , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`, `FileSystemEntryCallback`*" ] pub fn get_parent_with_file_system_entry_callback_and_callback ( & self , success_callback : & FileSystemEntryCallback , error_callback : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_parent_with_callback_and_error_callback_FileSystemEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemEntry as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & ErrorCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemEntry`*" ] pub fn get_parent_with_callback_and_error_callback ( & self , success_callback : & :: js_sys :: Function , error_callback : & ErrorCallback ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_parent_with_callback_and_error_callback_FileSystemEntry ( self_ : < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_get_parent_with_callback_and_error_callback_FileSystemEntry ( self_ , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemEntry`*" ] pub fn get_parent_with_callback_and_error_callback ( & self , success_callback : & :: js_sys :: Function , error_callback : & ErrorCallback ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_parent_with_file_system_entry_callback_and_error_callback_FileSystemEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemEntry as WasmDescribe > :: describe ( ) ; < & FileSystemEntryCallback as WasmDescribe > :: describe ( ) ; < & ErrorCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemEntry`, `FileSystemEntryCallback`*" ] pub fn get_parent_with_file_system_entry_callback_and_error_callback ( & self , success_callback : & FileSystemEntryCallback , error_callback : & ErrorCallback ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_parent_with_file_system_entry_callback_and_error_callback_FileSystemEntry ( self_ : < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & FileSystemEntryCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_get_parent_with_file_system_entry_callback_and_error_callback_FileSystemEntry ( self_ , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getParent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemEntry`, `FileSystemEntryCallback`*" ] pub fn get_parent_with_file_system_entry_callback_and_error_callback ( & self , success_callback : & FileSystemEntryCallback , error_callback : & ErrorCallback ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_file_FileSystemEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileSystemEntry as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl FileSystemEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isFile` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isFile)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn is_file ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_file_FileSystemEntry ( self_ : < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_file_FileSystemEntry ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isFile` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isFile)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn is_file ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_directory_FileSystemEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileSystemEntry as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl FileSystemEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isDirectory` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn is_directory ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_directory_FileSystemEntry ( self_ : < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_directory_FileSystemEntry ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isDirectory` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isDirectory)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn is_directory ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_FileSystemEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileSystemEntry as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FileSystemEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/name)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_FileSystemEntry ( self_ : < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_FileSystemEntry ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/name)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_full_path_FileSystemEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileSystemEntry as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FileSystemEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fullPath` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/fullPath)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn full_path ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_full_path_FileSystemEntry ( self_ : < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_full_path_FileSystemEntry ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fullPath` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/fullPath)\n\n*This API requires the following crate features to be activated: `FileSystemEntry`*" ] pub fn full_path ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_filesystem_FileSystemEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FileSystemEntry as WasmDescribe > :: describe ( ) ; < FileSystem as WasmDescribe > :: describe ( ) ; } impl FileSystemEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `filesystem` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/filesystem)\n\n*This API requires the following crate features to be activated: `FileSystem`, `FileSystemEntry`*" ] pub fn filesystem ( & self , ) -> FileSystem { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_filesystem_FileSystemEntry ( self_ : < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < FileSystem as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_filesystem_FileSystemEntry ( self_ ) } ; < FileSystem as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `filesystem` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/filesystem)\n\n*This API requires the following crate features to be activated: `FileSystem`, `FileSystemEntry`*" ] pub fn filesystem ( & self , ) -> FileSystem { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FileSystemFileEntry` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry)\n\n*This API requires the following crate features to be activated: `FileSystemFileEntry`*" ] # [ repr ( transparent ) ] pub struct FileSystemFileEntry { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FileSystemFileEntry : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FileSystemFileEntry { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FileSystemFileEntry { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FileSystemFileEntry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FileSystemFileEntry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FileSystemFileEntry { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FileSystemFileEntry { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FileSystemFileEntry { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FileSystemFileEntry { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FileSystemFileEntry { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FileSystemFileEntry > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FileSystemFileEntry { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FileSystemFileEntry { # [ inline ] fn from ( obj : JsValue ) -> FileSystemFileEntry { FileSystemFileEntry { obj } } } impl AsRef < JsValue > for FileSystemFileEntry { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FileSystemFileEntry > for JsValue { # [ inline ] fn from ( obj : FileSystemFileEntry ) -> JsValue { obj . obj } } impl JsCast for FileSystemFileEntry { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FileSystemFileEntry ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FileSystemFileEntry ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FileSystemFileEntry { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FileSystemFileEntry ) } } } ( ) } ; impl core :: ops :: Deref for FileSystemFileEntry { type Target = FileSystemEntry ; # [ inline ] fn deref ( & self ) -> & FileSystemEntry { self . as_ref ( ) } } impl From < FileSystemFileEntry > for FileSystemEntry { # [ inline ] fn from ( obj : FileSystemFileEntry ) -> FileSystemEntry { use wasm_bindgen :: JsCast ; FileSystemEntry :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < FileSystemEntry > for FileSystemFileEntry { # [ inline ] fn as_ref ( & self ) -> & FileSystemEntry { use wasm_bindgen :: JsCast ; FileSystemEntry :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < FileSystemFileEntry > for Object { # [ inline ] fn from ( obj : FileSystemFileEntry ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FileSystemFileEntry { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_file_with_callback_FileSystemFileEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileSystemFileEntry as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemFileEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `file()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)\n\n*This API requires the following crate features to be activated: `FileSystemFileEntry`*" ] pub fn file_with_callback ( & self , success_callback : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_file_with_callback_FileSystemFileEntry ( self_ : < & FileSystemFileEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemFileEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; __widl_f_file_with_callback_FileSystemFileEntry ( self_ , success_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `file()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)\n\n*This API requires the following crate features to be activated: `FileSystemFileEntry`*" ] pub fn file_with_callback ( & self , success_callback : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_file_with_file_callback_FileSystemFileEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FileSystemFileEntry as WasmDescribe > :: describe ( ) ; < & FileCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemFileEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `file()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)\n\n*This API requires the following crate features to be activated: `FileCallback`, `FileSystemFileEntry`*" ] pub fn file_with_file_callback ( & self , success_callback : & FileCallback ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_file_with_file_callback_FileSystemFileEntry ( self_ : < & FileSystemFileEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemFileEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & FileCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; __widl_f_file_with_file_callback_FileSystemFileEntry ( self_ , success_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `file()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)\n\n*This API requires the following crate features to be activated: `FileCallback`, `FileSystemFileEntry`*" ] pub fn file_with_file_callback ( & self , success_callback : & FileCallback ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_file_with_callback_and_callback_FileSystemFileEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemFileEntry as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemFileEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `file()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)\n\n*This API requires the following crate features to be activated: `FileSystemFileEntry`*" ] pub fn file_with_callback_and_callback ( & self , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_file_with_callback_and_callback_FileSystemFileEntry ( self_ : < & FileSystemFileEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemFileEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_file_with_callback_and_callback_FileSystemFileEntry ( self_ , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `file()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)\n\n*This API requires the following crate features to be activated: `FileSystemFileEntry`*" ] pub fn file_with_callback_and_callback ( & self , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_file_with_file_callback_and_callback_FileSystemFileEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemFileEntry as WasmDescribe > :: describe ( ) ; < & FileCallback as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemFileEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `file()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)\n\n*This API requires the following crate features to be activated: `FileCallback`, `FileSystemFileEntry`*" ] pub fn file_with_file_callback_and_callback ( & self , success_callback : & FileCallback , error_callback : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_file_with_file_callback_and_callback_FileSystemFileEntry ( self_ : < & FileSystemFileEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemFileEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & FileCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_file_with_file_callback_and_callback_FileSystemFileEntry ( self_ , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `file()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)\n\n*This API requires the following crate features to be activated: `FileCallback`, `FileSystemFileEntry`*" ] pub fn file_with_file_callback_and_callback ( & self , success_callback : & FileCallback , error_callback : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_file_with_callback_and_error_callback_FileSystemFileEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemFileEntry as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & ErrorCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemFileEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `file()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemFileEntry`*" ] pub fn file_with_callback_and_error_callback ( & self , success_callback : & :: js_sys :: Function , error_callback : & ErrorCallback ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_file_with_callback_and_error_callback_FileSystemFileEntry ( self_ : < & FileSystemFileEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemFileEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_file_with_callback_and_error_callback_FileSystemFileEntry ( self_ , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `file()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemFileEntry`*" ] pub fn file_with_callback_and_error_callback ( & self , success_callback : & :: js_sys :: Function , error_callback : & ErrorCallback ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_file_with_file_callback_and_error_callback_FileSystemFileEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FileSystemFileEntry as WasmDescribe > :: describe ( ) ; < & FileCallback as WasmDescribe > :: describe ( ) ; < & ErrorCallback as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FileSystemFileEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `file()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileCallback`, `FileSystemFileEntry`*" ] pub fn file_with_file_callback_and_error_callback ( & self , success_callback : & FileCallback , error_callback : & ErrorCallback ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_file_with_file_callback_and_error_callback_FileSystemFileEntry ( self_ : < & FileSystemFileEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & FileCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FileSystemFileEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & FileCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & ErrorCallback as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_file_with_file_callback_and_error_callback_FileSystemFileEntry ( self_ , success_callback , error_callback ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `file()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry/file)\n\n*This API requires the following crate features to be activated: `ErrorCallback`, `FileCallback`, `FileSystemFileEntry`*" ] pub fn file_with_file_callback_and_error_callback ( & self , success_callback : & FileCallback , error_callback : & ErrorCallback ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FocusEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent)\n\n*This API requires the following crate features to be activated: `FocusEvent`*" ] # [ repr ( transparent ) ] pub struct FocusEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FocusEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FocusEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FocusEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FocusEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FocusEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FocusEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FocusEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FocusEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FocusEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FocusEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FocusEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FocusEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FocusEvent { # [ inline ] fn from ( obj : JsValue ) -> FocusEvent { FocusEvent { obj } } } impl AsRef < JsValue > for FocusEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FocusEvent > for JsValue { # [ inline ] fn from ( obj : FocusEvent ) -> JsValue { obj . obj } } impl JsCast for FocusEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FocusEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FocusEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FocusEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FocusEvent ) } } } ( ) } ; impl core :: ops :: Deref for FocusEvent { type Target = UiEvent ; # [ inline ] fn deref ( & self ) -> & UiEvent { self . as_ref ( ) } } impl From < FocusEvent > for UiEvent { # [ inline ] fn from ( obj : FocusEvent ) -> UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < UiEvent > for FocusEvent { # [ inline ] fn as_ref ( & self ) -> & UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < FocusEvent > for Event { # [ inline ] fn from ( obj : FocusEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for FocusEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < FocusEvent > for Object { # [ inline ] fn from ( obj : FocusEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FocusEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_FocusEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < FocusEvent as WasmDescribe > :: describe ( ) ; } impl FocusEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FocusEvent(..)` constructor, creating a new instance of `FocusEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/FocusEvent)\n\n*This API requires the following crate features to be activated: `FocusEvent`*" ] pub fn new ( type_arg : & str ) -> Result < FocusEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_FocusEvent ( type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FocusEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; __widl_f_new_FocusEvent ( type_arg , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FocusEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FocusEvent(..)` constructor, creating a new instance of `FocusEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/FocusEvent)\n\n*This API requires the following crate features to be activated: `FocusEvent`*" ] pub fn new ( type_arg : & str ) -> Result < FocusEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_focus_event_init_dict_FocusEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & FocusEventInit as WasmDescribe > :: describe ( ) ; < FocusEvent as WasmDescribe > :: describe ( ) ; } impl FocusEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FocusEvent(..)` constructor, creating a new instance of `FocusEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/FocusEvent)\n\n*This API requires the following crate features to be activated: `FocusEvent`, `FocusEventInit`*" ] pub fn new_with_focus_event_init_dict ( type_arg : & str , focus_event_init_dict : & FocusEventInit ) -> Result < FocusEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_focus_event_init_dict_FocusEvent ( type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , focus_event_init_dict : < & FocusEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FocusEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let focus_event_init_dict = < & FocusEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( focus_event_init_dict , & mut __stack ) ; __widl_f_new_with_focus_event_init_dict_FocusEvent ( type_arg , focus_event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FocusEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FocusEvent(..)` constructor, creating a new instance of `FocusEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/FocusEvent)\n\n*This API requires the following crate features to be activated: `FocusEvent`, `FocusEventInit`*" ] pub fn new_with_focus_event_init_dict ( type_arg : & str , focus_event_init_dict : & FocusEventInit ) -> Result < FocusEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_related_target_FocusEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FocusEvent as WasmDescribe > :: describe ( ) ; < Option < EventTarget > as WasmDescribe > :: describe ( ) ; } impl FocusEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `relatedTarget` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/relatedTarget)\n\n*This API requires the following crate features to be activated: `EventTarget`, `FocusEvent`*" ] pub fn related_target ( & self , ) -> Option < EventTarget > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_related_target_FocusEvent ( self_ : < & FocusEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < EventTarget > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FocusEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_related_target_FocusEvent ( self_ ) } ; < Option < EventTarget > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `relatedTarget` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/relatedTarget)\n\n*This API requires the following crate features to be activated: `EventTarget`, `FocusEvent`*" ] pub fn related_target ( & self , ) -> Option < EventTarget > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FontFace` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] # [ repr ( transparent ) ] pub struct FontFace { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FontFace : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FontFace { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FontFace { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FontFace { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FontFace { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FontFace { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FontFace { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FontFace { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FontFace { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FontFace { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FontFace > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FontFace { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FontFace { # [ inline ] fn from ( obj : JsValue ) -> FontFace { FontFace { obj } } } impl AsRef < JsValue > for FontFace { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FontFace > for JsValue { # [ inline ] fn from ( obj : FontFace ) -> JsValue { obj . obj } } impl JsCast for FontFace { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FontFace ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FontFace ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FontFace { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FontFace ) } } } ( ) } ; impl core :: ops :: Deref for FontFace { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < FontFace > for Object { # [ inline ] fn from ( obj : FontFace ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FontFace { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_str_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < FontFace as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn new_with_str ( family : & str , source : & str ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_str_FontFace ( family : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let family = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( family , & mut __stack ) ; let source = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_new_with_str_FontFace ( family , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn new_with_str ( family : & str , source : & str ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_array_buffer_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < FontFace as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn new_with_array_buffer ( family : & str , source : & :: js_sys :: ArrayBuffer ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_array_buffer_FontFace ( family : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let family = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( family , & mut __stack ) ; let source = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_new_with_array_buffer_FontFace ( family , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn new_with_array_buffer ( family : & str , source : & :: js_sys :: ArrayBuffer ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_array_buffer_view_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < FontFace as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn new_with_array_buffer_view ( family : & str , source : & :: js_sys :: Object ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_array_buffer_view_FontFace ( family : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let family = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( family , & mut __stack ) ; let source = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_new_with_array_buffer_view_FontFace ( family , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn new_with_array_buffer_view ( family : & str , source : & :: js_sys :: Object ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_u8_array_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < FontFace as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn new_with_u8_array ( family : & str , source : & mut [ u8 ] ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_u8_array_FontFace ( family : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let family = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( family , & mut __stack ) ; let source = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_new_with_u8_array_FontFace ( family , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn new_with_u8_array ( family : & str , source : & mut [ u8 ] ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_str_and_descriptors_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & FontFaceDescriptors as WasmDescribe > :: describe ( ) ; < FontFace as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceDescriptors`*" ] pub fn new_with_str_and_descriptors ( family : & str , source : & str , descriptors : & FontFaceDescriptors ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_str_and_descriptors_FontFace ( family : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptors : < & FontFaceDescriptors as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let family = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( family , & mut __stack ) ; let source = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; let descriptors = < & FontFaceDescriptors as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptors , & mut __stack ) ; __widl_f_new_with_str_and_descriptors_FontFace ( family , source , descriptors , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceDescriptors`*" ] pub fn new_with_str_and_descriptors ( family : & str , source : & str , descriptors : & FontFaceDescriptors ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_array_buffer_and_descriptors_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < & FontFaceDescriptors as WasmDescribe > :: describe ( ) ; < FontFace as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceDescriptors`*" ] pub fn new_with_array_buffer_and_descriptors ( family : & str , source : & :: js_sys :: ArrayBuffer , descriptors : & FontFaceDescriptors ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_array_buffer_and_descriptors_FontFace ( family : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptors : < & FontFaceDescriptors as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let family = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( family , & mut __stack ) ; let source = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; let descriptors = < & FontFaceDescriptors as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptors , & mut __stack ) ; __widl_f_new_with_array_buffer_and_descriptors_FontFace ( family , source , descriptors , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceDescriptors`*" ] pub fn new_with_array_buffer_and_descriptors ( family : & str , source : & :: js_sys :: ArrayBuffer , descriptors : & FontFaceDescriptors ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_array_buffer_view_and_descriptors_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & FontFaceDescriptors as WasmDescribe > :: describe ( ) ; < FontFace as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceDescriptors`*" ] pub fn new_with_array_buffer_view_and_descriptors ( family : & str , source : & :: js_sys :: Object , descriptors : & FontFaceDescriptors ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_array_buffer_view_and_descriptors_FontFace ( family : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptors : < & FontFaceDescriptors as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let family = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( family , & mut __stack ) ; let source = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; let descriptors = < & FontFaceDescriptors as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptors , & mut __stack ) ; __widl_f_new_with_array_buffer_view_and_descriptors_FontFace ( family , source , descriptors , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceDescriptors`*" ] pub fn new_with_array_buffer_view_and_descriptors ( family : & str , source : & :: js_sys :: Object , descriptors : & FontFaceDescriptors ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_u8_array_and_descriptors_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < & FontFaceDescriptors as WasmDescribe > :: describe ( ) ; < FontFace as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceDescriptors`*" ] pub fn new_with_u8_array_and_descriptors ( family : & str , source : & mut [ u8 ] , descriptors : & FontFaceDescriptors ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_u8_array_and_descriptors_FontFace ( family : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptors : < & FontFaceDescriptors as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let family = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( family , & mut __stack ) ; let source = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; let descriptors = < & FontFaceDescriptors as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptors , & mut __stack ) ; __widl_f_new_with_u8_array_and_descriptors_FontFace ( family , source , descriptors , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FontFace as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FontFace(..)` constructor, creating a new instance of `FontFace`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceDescriptors`*" ] pub fn new_with_u8_array_and_descriptors ( family : & str , source : & mut [ u8 ] , descriptors : & FontFaceDescriptors ) -> Result < FontFace , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_load_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `load()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/load)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn load ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_load_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_load_FontFace ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `load()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/load)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn load ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_family_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `family` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/family)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn family ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_family_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_family_FontFace ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `family` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/family)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn family ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_family_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `family` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/family)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_family ( & self , family : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_family_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , family : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let family = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( family , & mut __stack ) ; __widl_f_set_family_FontFace ( self_ , family ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `family` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/family)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_family ( & self , family : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_style_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/style)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn style ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_style_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_style_FontFace ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/style)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn style ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_style_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `style` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/style)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_style ( & self , style : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_style_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , style : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let style = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( style , & mut __stack ) ; __widl_f_set_style_FontFace ( self_ , style ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `style` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/style)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_style ( & self , style : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_weight_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `weight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/weight)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn weight ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_weight_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_weight_FontFace ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `weight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/weight)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn weight ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_weight_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `weight` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/weight)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_weight ( & self , weight : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_weight_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , weight : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let weight = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( weight , & mut __stack ) ; __widl_f_set_weight_FontFace ( self_ , weight ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `weight` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/weight)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_weight ( & self , weight : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stretch_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stretch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/stretch)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn stretch ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stretch_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stretch_FontFace ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stretch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/stretch)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn stretch ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_stretch_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stretch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/stretch)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_stretch ( & self , stretch : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_stretch_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stretch : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let stretch = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stretch , & mut __stack ) ; __widl_f_set_stretch_FontFace ( self_ , stretch ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stretch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/stretch)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_stretch ( & self , stretch : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unicode_range_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unicodeRange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/unicodeRange)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn unicode_range ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unicode_range_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unicode_range_FontFace ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unicodeRange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/unicodeRange)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn unicode_range ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_unicode_range_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unicodeRange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/unicodeRange)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_unicode_range ( & self , unicode_range : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_unicode_range_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unicode_range : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let unicode_range = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unicode_range , & mut __stack ) ; __widl_f_set_unicode_range_FontFace ( self_ , unicode_range ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unicodeRange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/unicodeRange)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_unicode_range ( & self , unicode_range : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_variant_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `variant` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/variant)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn variant ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_variant_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_variant_FontFace ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `variant` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/variant)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn variant ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_variant_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `variant` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/variant)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_variant ( & self , variant : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_variant_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , variant : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let variant = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( variant , & mut __stack ) ; __widl_f_set_variant_FontFace ( self_ , variant ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `variant` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/variant)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_variant ( & self , variant : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_feature_settings_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `featureSettings` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/featureSettings)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn feature_settings ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_feature_settings_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_feature_settings_FontFace ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `featureSettings` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/featureSettings)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn feature_settings ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_feature_settings_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `featureSettings` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/featureSettings)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_feature_settings ( & self , feature_settings : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_feature_settings_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , feature_settings : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let feature_settings = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( feature_settings , & mut __stack ) ; __widl_f_set_feature_settings_FontFace ( self_ , feature_settings ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `featureSettings` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/featureSettings)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_feature_settings ( & self , feature_settings : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_variation_settings_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `variationSettings` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/variationSettings)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn variation_settings ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_variation_settings_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_variation_settings_FontFace ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `variationSettings` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/variationSettings)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn variation_settings ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_variation_settings_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `variationSettings` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/variationSettings)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_variation_settings ( & self , variation_settings : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_variation_settings_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , variation_settings : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let variation_settings = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( variation_settings , & mut __stack ) ; __widl_f_set_variation_settings_FontFace ( self_ , variation_settings ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `variationSettings` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/variationSettings)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_variation_settings ( & self , variation_settings : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_display_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `display` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/display)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn display ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_display_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_display_FontFace ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `display` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/display)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn display ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_display_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `display` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/display)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_display ( & self , display : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_display_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , display : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let display = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( display , & mut __stack ) ; __widl_f_set_display_FontFace ( self_ , display ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `display` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/display)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn set_display ( & self , display : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_status_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < FontFaceLoadStatus as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `status` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/status)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceLoadStatus`*" ] pub fn status ( & self , ) -> FontFaceLoadStatus { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_status_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < FontFaceLoadStatus as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_status_FontFace ( self_ ) } ; < FontFaceLoadStatus as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `status` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/status)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceLoadStatus`*" ] pub fn status ( & self , ) -> FontFaceLoadStatus { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_loaded_FontFace ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl FontFace { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loaded` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/loaded)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn loaded ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_loaded_FontFace ( self_ : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_loaded_FontFace ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loaded` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/loaded)\n\n*This API requires the following crate features to be activated: `FontFace`*" ] pub fn loaded ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FontFaceSet` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] # [ repr ( transparent ) ] pub struct FontFaceSet { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FontFaceSet : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FontFaceSet { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FontFaceSet { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FontFaceSet { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FontFaceSet { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FontFaceSet { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FontFaceSet { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FontFaceSet { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FontFaceSet { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FontFaceSet { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FontFaceSet > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FontFaceSet { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FontFaceSet { # [ inline ] fn from ( obj : JsValue ) -> FontFaceSet { FontFaceSet { obj } } } impl AsRef < JsValue > for FontFaceSet { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FontFaceSet > for JsValue { # [ inline ] fn from ( obj : FontFaceSet ) -> JsValue { obj . obj } } impl JsCast for FontFaceSet { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FontFaceSet ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FontFaceSet ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FontFaceSet { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FontFaceSet ) } } } ( ) } ; impl core :: ops :: Deref for FontFaceSet { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < FontFaceSet > for EventTarget { # [ inline ] fn from ( obj : FontFaceSet ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for FontFaceSet { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < FontFaceSet > for Object { # [ inline ] fn from ( obj : FontFaceSet ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FontFaceSet { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/add)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceSet`*" ] pub fn add ( & self , font : & FontFace ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , font : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let font = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( font , & mut __stack ) ; __widl_f_add_FontFaceSet ( self_ , font , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/add)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceSet`*" ] pub fn add ( & self , font : & FontFace ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_check_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `check()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/check)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn check ( & self , font : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_check_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , font : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let font = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( font , & mut __stack ) ; __widl_f_check_FontFaceSet ( self_ , font , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `check()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/check)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn check ( & self , font : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_check_with_text_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `check()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/check)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn check_with_text ( & self , font : & str , text : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_check_with_text_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , font : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let font = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( font , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_check_with_text_FontFaceSet ( self_ , font , text , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `check()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/check)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn check_with_text ( & self , font : & str , text : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/clear)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn clear ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_FontFaceSet ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/clear)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn clear ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/delete)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceSet`*" ] pub fn delete ( & self , font : & FontFace ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , font : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let font = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( font , & mut __stack ) ; __widl_f_delete_FontFaceSet ( self_ , font ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/delete)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceSet`*" ] pub fn delete ( & self , font : & FontFace ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_for_each_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `forEach()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/forEach)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn for_each ( & self , cb : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_for_each_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cb : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cb = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cb , & mut __stack ) ; __widl_f_for_each_FontFaceSet ( self_ , cb , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `forEach()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/forEach)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn for_each ( & self , cb : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_for_each_with_this_arg_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `forEach()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/forEach)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn for_each_with_this_arg ( & self , cb : & :: js_sys :: Function , this_arg : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_for_each_with_this_arg_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cb : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , this_arg : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cb = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cb , & mut __stack ) ; let this_arg = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( this_arg , & mut __stack ) ; __widl_f_for_each_with_this_arg_FontFaceSet ( self_ , cb , this_arg , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `forEach()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/forEach)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn for_each_with_this_arg ( & self , cb : & :: js_sys :: Function , this_arg : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < & FontFace as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/has)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceSet`*" ] pub fn has ( & self , font : & FontFace ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , font : < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let font = < & FontFace as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( font , & mut __stack ) ; __widl_f_has_FontFaceSet ( self_ , font ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/has)\n\n*This API requires the following crate features to be activated: `FontFace`, `FontFaceSet`*" ] pub fn has ( & self , font : & FontFace ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_load_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `load()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/load)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn load ( & self , font : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_load_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , font : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let font = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( font , & mut __stack ) ; __widl_f_load_FontFaceSet ( self_ , font ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `load()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/load)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn load ( & self , font : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_load_with_text_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `load()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/load)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn load_with_text ( & self , font : & str , text : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_load_with_text_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , font : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let font = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( font , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_load_with_text_FontFaceSet ( self_ , font , text ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `load()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/load)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn load_with_text ( & self , font : & str , text : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_size_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/size)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn size ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_size_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_size_FontFaceSet ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/size)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn size ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloading_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloading` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloading)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn onloading ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloading_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloading_FontFaceSet ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloading` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloading)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn onloading ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloading_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloading` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloading)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn set_onloading ( & self , onloading : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloading_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloading : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloading = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloading , & mut __stack ) ; __widl_f_set_onloading_FontFaceSet ( self_ , onloading ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloading` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloading)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn set_onloading ( & self , onloading : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadingdone_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadingdone` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloadingdone)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn onloadingdone ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadingdone_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadingdone_FontFaceSet ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadingdone` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloadingdone)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn onloadingdone ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadingdone_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadingdone` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloadingdone)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn set_onloadingdone ( & self , onloadingdone : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadingdone_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadingdone : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadingdone = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadingdone , & mut __stack ) ; __widl_f_set_onloadingdone_FontFaceSet ( self_ , onloadingdone ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadingdone` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloadingdone)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn set_onloadingdone ( & self , onloadingdone : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadingerror_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadingerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloadingerror)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn onloadingerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadingerror_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadingerror_FontFaceSet ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadingerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloadingerror)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn onloadingerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadingerror_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadingerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloadingerror)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn set_onloadingerror ( & self , onloadingerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadingerror_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadingerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadingerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadingerror , & mut __stack ) ; __widl_f_set_onloadingerror_FontFaceSet ( self_ , onloadingerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadingerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/onloadingerror)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn set_onloadingerror ( & self , onloadingerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ready` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/ready)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn ready ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_FontFaceSet ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ready` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/ready)\n\n*This API requires the following crate features to be activated: `FontFaceSet`*" ] pub fn ready ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_status_FontFaceSet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & FontFaceSet as WasmDescribe > :: describe ( ) ; < FontFaceSetLoadStatus as WasmDescribe > :: describe ( ) ; } impl FontFaceSet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `status` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/status)\n\n*This API requires the following crate features to be activated: `FontFaceSet`, `FontFaceSetLoadStatus`*" ] pub fn status ( & self , ) -> FontFaceSetLoadStatus { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_status_FontFaceSet ( self_ : < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < FontFaceSetLoadStatus as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FontFaceSet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_status_FontFaceSet ( self_ ) } ; < FontFaceSetLoadStatus as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `status` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/status)\n\n*This API requires the following crate features to be activated: `FontFaceSet`, `FontFaceSetLoadStatus`*" ] pub fn status ( & self , ) -> FontFaceSetLoadStatus { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FontFaceSetLoadEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetLoadEvent)\n\n*This API requires the following crate features to be activated: `FontFaceSetLoadEvent`*" ] # [ repr ( transparent ) ] pub struct FontFaceSetLoadEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FontFaceSetLoadEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FontFaceSetLoadEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FontFaceSetLoadEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FontFaceSetLoadEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FontFaceSetLoadEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FontFaceSetLoadEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FontFaceSetLoadEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FontFaceSetLoadEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FontFaceSetLoadEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FontFaceSetLoadEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FontFaceSetLoadEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FontFaceSetLoadEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FontFaceSetLoadEvent { # [ inline ] fn from ( obj : JsValue ) -> FontFaceSetLoadEvent { FontFaceSetLoadEvent { obj } } } impl AsRef < JsValue > for FontFaceSetLoadEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FontFaceSetLoadEvent > for JsValue { # [ inline ] fn from ( obj : FontFaceSetLoadEvent ) -> JsValue { obj . obj } } impl JsCast for FontFaceSetLoadEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FontFaceSetLoadEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FontFaceSetLoadEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FontFaceSetLoadEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FontFaceSetLoadEvent ) } } } ( ) } ; impl core :: ops :: Deref for FontFaceSetLoadEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < FontFaceSetLoadEvent > for Event { # [ inline ] fn from ( obj : FontFaceSetLoadEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for FontFaceSetLoadEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < FontFaceSetLoadEvent > for Object { # [ inline ] fn from ( obj : FontFaceSetLoadEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FontFaceSetLoadEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_FontFaceSetLoadEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < FontFaceSetLoadEvent as WasmDescribe > :: describe ( ) ; } impl FontFaceSetLoadEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FontFaceSetLoadEvent(..)` constructor, creating a new instance of `FontFaceSetLoadEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetLoadEvent/FontFaceSetLoadEvent)\n\n*This API requires the following crate features to be activated: `FontFaceSetLoadEvent`*" ] pub fn new ( type_ : & str ) -> Result < FontFaceSetLoadEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_FontFaceSetLoadEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FontFaceSetLoadEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_FontFaceSetLoadEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FontFaceSetLoadEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FontFaceSetLoadEvent(..)` constructor, creating a new instance of `FontFaceSetLoadEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetLoadEvent/FontFaceSetLoadEvent)\n\n*This API requires the following crate features to be activated: `FontFaceSetLoadEvent`*" ] pub fn new ( type_ : & str ) -> Result < FontFaceSetLoadEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_FontFaceSetLoadEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & FontFaceSetLoadEventInit as WasmDescribe > :: describe ( ) ; < FontFaceSetLoadEvent as WasmDescribe > :: describe ( ) ; } impl FontFaceSetLoadEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FontFaceSetLoadEvent(..)` constructor, creating a new instance of `FontFaceSetLoadEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetLoadEvent/FontFaceSetLoadEvent)\n\n*This API requires the following crate features to be activated: `FontFaceSetLoadEvent`, `FontFaceSetLoadEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & FontFaceSetLoadEventInit ) -> Result < FontFaceSetLoadEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_FontFaceSetLoadEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & FontFaceSetLoadEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FontFaceSetLoadEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & FontFaceSetLoadEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_FontFaceSetLoadEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FontFaceSetLoadEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FontFaceSetLoadEvent(..)` constructor, creating a new instance of `FontFaceSetLoadEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetLoadEvent/FontFaceSetLoadEvent)\n\n*This API requires the following crate features to be activated: `FontFaceSetLoadEvent`, `FontFaceSetLoadEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & FontFaceSetLoadEventInit ) -> Result < FontFaceSetLoadEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FormData` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData)\n\n*This API requires the following crate features to be activated: `FormData`*" ] # [ repr ( transparent ) ] pub struct FormData { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FormData : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FormData { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FormData { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FormData { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FormData { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FormData { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FormData { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FormData { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FormData { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FormData { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FormData > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FormData { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FormData { # [ inline ] fn from ( obj : JsValue ) -> FormData { FormData { obj } } } impl AsRef < JsValue > for FormData { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FormData > for JsValue { # [ inline ] fn from ( obj : FormData ) -> JsValue { obj . obj } } impl JsCast for FormData { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FormData ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FormData ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FormData { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FormData ) } } } ( ) } ; impl core :: ops :: Deref for FormData { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < FormData > for Object { # [ inline ] fn from ( obj : FormData ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FormData { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_FormData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < FormData as WasmDescribe > :: describe ( ) ; } impl FormData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FormData(..)` constructor, creating a new instance of `FormData`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData)\n\n*This API requires the following crate features to be activated: `FormData`*" ] pub fn new ( ) -> Result < FormData , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_FormData ( exn_data_ptr : * mut u32 ) -> < FormData as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_FormData ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FormData as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FormData(..)` constructor, creating a new instance of `FormData`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData)\n\n*This API requires the following crate features to be activated: `FormData`*" ] pub fn new ( ) -> Result < FormData , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_form_FormData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < FormData as WasmDescribe > :: describe ( ) ; } impl FormData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new FormData(..)` constructor, creating a new instance of `FormData`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData)\n\n*This API requires the following crate features to be activated: `FormData`, `HtmlFormElement`*" ] pub fn new_with_form ( form : & HtmlFormElement ) -> Result < FormData , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_form_FormData ( form : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < FormData as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let form = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( form , & mut __stack ) ; __widl_f_new_with_form_FormData ( form , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < FormData as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new FormData(..)` constructor, creating a new instance of `FormData`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData)\n\n*This API requires the following crate features to be activated: `FormData`, `HtmlFormElement`*" ] pub fn new_with_form ( form : & HtmlFormElement ) -> Result < FormData , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_blob_FormData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FormData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FormData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/append)\n\n*This API requires the following crate features to be activated: `Blob`, `FormData`*" ] pub fn append_with_blob ( & self , name : & str , value : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_blob_FormData ( self_ : < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let value = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_append_with_blob_FormData ( self_ , name , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/append)\n\n*This API requires the following crate features to be activated: `Blob`, `FormData`*" ] pub fn append_with_blob ( & self , name : & str , value : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_blob_and_filename_FormData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & FormData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FormData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/append)\n\n*This API requires the following crate features to be activated: `Blob`, `FormData`*" ] pub fn append_with_blob_and_filename ( & self , name : & str , value : & Blob , filename : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_blob_and_filename_FormData ( self_ : < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , filename : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let value = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; let filename = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( filename , & mut __stack ) ; __widl_f_append_with_blob_and_filename_FormData ( self_ , name , value , filename , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/append)\n\n*This API requires the following crate features to be activated: `Blob`, `FormData`*" ] pub fn append_with_blob_and_filename ( & self , name : & str , value : & Blob , filename : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_FormData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FormData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FormData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/append)\n\n*This API requires the following crate features to be activated: `FormData`*" ] pub fn append_with_str ( & self , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_FormData ( self_ : < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_append_with_str_FormData ( self_ , name , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/append)\n\n*This API requires the following crate features to be activated: `FormData`*" ] pub fn append_with_str ( & self , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_FormData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FormData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FormData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/delete)\n\n*This API requires the following crate features to be activated: `FormData`*" ] pub fn delete ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_FormData ( self_ : < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_delete_FormData ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/delete)\n\n*This API requires the following crate features to be activated: `FormData`*" ] pub fn delete ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_FormData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FormData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl FormData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/get)\n\n*This API requires the following crate features to be activated: `FormData`*" ] pub fn get ( & self , name : & str ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_FormData ( self_ : < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_FormData ( self_ , name ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/get)\n\n*This API requires the following crate features to be activated: `FormData`*" ] pub fn get ( & self , name : & str ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_FormData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & FormData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl FormData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/has)\n\n*This API requires the following crate features to be activated: `FormData`*" ] pub fn has ( & self , name : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_FormData ( self_ : < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_has_FormData ( self_ , name ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/has)\n\n*This API requires the following crate features to be activated: `FormData`*" ] pub fn has ( & self , name : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_with_blob_FormData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FormData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FormData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `set()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/set)\n\n*This API requires the following crate features to be activated: `Blob`, `FormData`*" ] pub fn set_with_blob ( & self , name : & str , value : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_with_blob_FormData ( self_ : < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let value = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_with_blob_FormData ( self_ , name , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `set()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/set)\n\n*This API requires the following crate features to be activated: `Blob`, `FormData`*" ] pub fn set_with_blob ( & self , name : & str , value : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_with_blob_and_filename_FormData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & FormData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FormData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `set()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/set)\n\n*This API requires the following crate features to be activated: `Blob`, `FormData`*" ] pub fn set_with_blob_and_filename ( & self , name : & str , value : & Blob , filename : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_with_blob_and_filename_FormData ( self_ : < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , filename : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let value = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; let filename = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( filename , & mut __stack ) ; __widl_f_set_with_blob_and_filename_FormData ( self_ , name , value , filename , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `set()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/set)\n\n*This API requires the following crate features to be activated: `Blob`, `FormData`*" ] pub fn set_with_blob_and_filename ( & self , name : & str , value : & Blob , filename : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_with_str_FormData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & FormData as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FormData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `set()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/set)\n\n*This API requires the following crate features to be activated: `FormData`*" ] pub fn set_with_str ( & self , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_with_str_FormData ( self_ : < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & FormData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_with_str_FormData ( self_ , name , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `set()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/set)\n\n*This API requires the following crate features to be activated: `FormData`*" ] pub fn set_with_str ( & self , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `FuzzingFunctions` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions)\n\n*This API requires the following crate features to be activated: `FuzzingFunctions`*" ] # [ repr ( transparent ) ] pub struct FuzzingFunctions { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_FuzzingFunctions : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for FuzzingFunctions { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for FuzzingFunctions { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for FuzzingFunctions { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a FuzzingFunctions { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for FuzzingFunctions { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { FuzzingFunctions { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for FuzzingFunctions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a FuzzingFunctions { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for FuzzingFunctions { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < FuzzingFunctions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( FuzzingFunctions { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for FuzzingFunctions { # [ inline ] fn from ( obj : JsValue ) -> FuzzingFunctions { FuzzingFunctions { obj } } } impl AsRef < JsValue > for FuzzingFunctions { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < FuzzingFunctions > for JsValue { # [ inline ] fn from ( obj : FuzzingFunctions ) -> JsValue { obj . obj } } impl JsCast for FuzzingFunctions { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_FuzzingFunctions ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_FuzzingFunctions ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FuzzingFunctions { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FuzzingFunctions ) } } } ( ) } ; impl core :: ops :: Deref for FuzzingFunctions { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < FuzzingFunctions > for Object { # [ inline ] fn from ( obj : FuzzingFunctions ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for FuzzingFunctions { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cycle_collect_FuzzingFunctions ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FuzzingFunctions { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cycleCollect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions/cycleCollect)\n\n*This API requires the following crate features to be activated: `FuzzingFunctions`*" ] pub fn cycle_collect ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cycle_collect_FuzzingFunctions ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_cycle_collect_FuzzingFunctions ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cycleCollect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions/cycleCollect)\n\n*This API requires the following crate features to be activated: `FuzzingFunctions`*" ] pub fn cycle_collect ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_enable_accessibility_FuzzingFunctions ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FuzzingFunctions { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enableAccessibility()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions/enableAccessibility)\n\n*This API requires the following crate features to be activated: `FuzzingFunctions`*" ] pub fn enable_accessibility ( ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_enable_accessibility_FuzzingFunctions ( exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_enable_accessibility_FuzzingFunctions ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enableAccessibility()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions/enableAccessibility)\n\n*This API requires the following crate features to be activated: `FuzzingFunctions`*" ] pub fn enable_accessibility ( ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_garbage_collect_FuzzingFunctions ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl FuzzingFunctions { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `garbageCollect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions/garbageCollect)\n\n*This API requires the following crate features to be activated: `FuzzingFunctions`*" ] pub fn garbage_collect ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_garbage_collect_FuzzingFunctions ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_garbage_collect_FuzzingFunctions ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `garbageCollect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FuzzingFunctions/garbageCollect)\n\n*This API requires the following crate features to be activated: `FuzzingFunctions`*" ] pub fn garbage_collect ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `GainNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GainNode)\n\n*This API requires the following crate features to be activated: `GainNode`*" ] # [ repr ( transparent ) ] pub struct GainNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_GainNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for GainNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for GainNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for GainNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a GainNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for GainNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { GainNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for GainNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a GainNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for GainNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < GainNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( GainNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for GainNode { # [ inline ] fn from ( obj : JsValue ) -> GainNode { GainNode { obj } } } impl AsRef < JsValue > for GainNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < GainNode > for JsValue { # [ inline ] fn from ( obj : GainNode ) -> JsValue { obj . obj } } impl JsCast for GainNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_GainNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_GainNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GainNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GainNode ) } } } ( ) } ; impl core :: ops :: Deref for GainNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < GainNode > for AudioNode { # [ inline ] fn from ( obj : GainNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for GainNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < GainNode > for EventTarget { # [ inline ] fn from ( obj : GainNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for GainNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < GainNode > for Object { # [ inline ] fn from ( obj : GainNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for GainNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_GainNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < GainNode as WasmDescribe > :: describe ( ) ; } impl GainNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new GainNode(..)` constructor, creating a new instance of `GainNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GainNode/GainNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `GainNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < GainNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_GainNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < GainNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_GainNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < GainNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new GainNode(..)` constructor, creating a new instance of `GainNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GainNode/GainNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `GainNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < GainNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_GainNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & GainOptions as WasmDescribe > :: describe ( ) ; < GainNode as WasmDescribe > :: describe ( ) ; } impl GainNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new GainNode(..)` constructor, creating a new instance of `GainNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GainNode/GainNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `GainNode`, `GainOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & GainOptions ) -> Result < GainNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_GainNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & GainOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < GainNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & GainOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_GainNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < GainNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new GainNode(..)` constructor, creating a new instance of `GainNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GainNode/GainNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `GainNode`, `GainOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & GainOptions ) -> Result < GainNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_gain_GainNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GainNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl GainNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `gain` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GainNode/gain)\n\n*This API requires the following crate features to be activated: `AudioParam`, `GainNode`*" ] pub fn gain ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_gain_GainNode ( self_ : < & GainNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GainNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_gain_GainNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `gain` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GainNode/gain)\n\n*This API requires the following crate features to be activated: `AudioParam`, `GainNode`*" ] pub fn gain ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Gamepad` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad)\n\n*This API requires the following crate features to be activated: `Gamepad`*" ] # [ repr ( transparent ) ] pub struct Gamepad { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Gamepad : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Gamepad { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Gamepad { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Gamepad { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Gamepad { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Gamepad { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Gamepad { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Gamepad { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Gamepad { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Gamepad { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Gamepad > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Gamepad { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Gamepad { # [ inline ] fn from ( obj : JsValue ) -> Gamepad { Gamepad { obj } } } impl AsRef < JsValue > for Gamepad { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Gamepad > for JsValue { # [ inline ] fn from ( obj : Gamepad ) -> JsValue { obj . obj } } impl JsCast for Gamepad { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Gamepad ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Gamepad ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Gamepad { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Gamepad ) } } } ( ) } ; impl core :: ops :: Deref for Gamepad { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Gamepad > for Object { # [ inline ] fn from ( obj : Gamepad ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Gamepad { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_Gamepad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Gamepad as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Gamepad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/id)\n\n*This API requires the following crate features to be activated: `Gamepad`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_Gamepad ( self_ : < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_Gamepad ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/id)\n\n*This API requires the following crate features to be activated: `Gamepad`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_index_Gamepad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Gamepad as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Gamepad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `index` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/index)\n\n*This API requires the following crate features to be activated: `Gamepad`*" ] pub fn index ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_index_Gamepad ( self_ : < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_index_Gamepad ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `index` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/index)\n\n*This API requires the following crate features to be activated: `Gamepad`*" ] pub fn index ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mapping_Gamepad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Gamepad as WasmDescribe > :: describe ( ) ; < GamepadMappingType as WasmDescribe > :: describe ( ) ; } impl Gamepad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mapping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/mapping)\n\n*This API requires the following crate features to be activated: `Gamepad`, `GamepadMappingType`*" ] pub fn mapping ( & self , ) -> GamepadMappingType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mapping_Gamepad ( self_ : < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < GamepadMappingType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_mapping_Gamepad ( self_ ) } ; < GamepadMappingType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mapping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/mapping)\n\n*This API requires the following crate features to be activated: `Gamepad`, `GamepadMappingType`*" ] pub fn mapping ( & self , ) -> GamepadMappingType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hand_Gamepad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Gamepad as WasmDescribe > :: describe ( ) ; < GamepadHand as WasmDescribe > :: describe ( ) ; } impl Gamepad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hand` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/hand)\n\n*This API requires the following crate features to be activated: `Gamepad`, `GamepadHand`*" ] pub fn hand ( & self , ) -> GamepadHand { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hand_Gamepad ( self_ : < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < GamepadHand as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hand_Gamepad ( self_ ) } ; < GamepadHand as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hand` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/hand)\n\n*This API requires the following crate features to be activated: `Gamepad`, `GamepadHand`*" ] pub fn hand ( & self , ) -> GamepadHand { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_display_id_Gamepad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Gamepad as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Gamepad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `displayId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/displayId)\n\n*This API requires the following crate features to be activated: `Gamepad`*" ] pub fn display_id ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_display_id_Gamepad ( self_ : < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_display_id_Gamepad ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `displayId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/displayId)\n\n*This API requires the following crate features to be activated: `Gamepad`*" ] pub fn display_id ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connected_Gamepad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Gamepad as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Gamepad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/connected)\n\n*This API requires the following crate features to be activated: `Gamepad`*" ] pub fn connected ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connected_Gamepad ( self_ : < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_connected_Gamepad ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/connected)\n\n*This API requires the following crate features to be activated: `Gamepad`*" ] pub fn connected ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_timestamp_Gamepad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Gamepad as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl Gamepad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timestamp` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/timestamp)\n\n*This API requires the following crate features to be activated: `Gamepad`*" ] pub fn timestamp ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_timestamp_Gamepad ( self_ : < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_timestamp_Gamepad ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timestamp` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/timestamp)\n\n*This API requires the following crate features to be activated: `Gamepad`*" ] pub fn timestamp ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pose_Gamepad ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Gamepad as WasmDescribe > :: describe ( ) ; < Option < GamepadPose > as WasmDescribe > :: describe ( ) ; } impl Gamepad { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/pose)\n\n*This API requires the following crate features to be activated: `Gamepad`, `GamepadPose`*" ] pub fn pose ( & self , ) -> Option < GamepadPose > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pose_Gamepad ( self_ : < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < GamepadPose > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Gamepad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pose_Gamepad ( self_ ) } ; < Option < GamepadPose > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad/pose)\n\n*This API requires the following crate features to be activated: `Gamepad`, `GamepadPose`*" ] pub fn pose ( & self , ) -> Option < GamepadPose > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `GamepadAxisMoveEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent)\n\n*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`*" ] # [ repr ( transparent ) ] pub struct GamepadAxisMoveEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_GamepadAxisMoveEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for GamepadAxisMoveEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for GamepadAxisMoveEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for GamepadAxisMoveEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a GamepadAxisMoveEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for GamepadAxisMoveEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { GamepadAxisMoveEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for GamepadAxisMoveEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a GamepadAxisMoveEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for GamepadAxisMoveEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < GamepadAxisMoveEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( GamepadAxisMoveEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for GamepadAxisMoveEvent { # [ inline ] fn from ( obj : JsValue ) -> GamepadAxisMoveEvent { GamepadAxisMoveEvent { obj } } } impl AsRef < JsValue > for GamepadAxisMoveEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < GamepadAxisMoveEvent > for JsValue { # [ inline ] fn from ( obj : GamepadAxisMoveEvent ) -> JsValue { obj . obj } } impl JsCast for GamepadAxisMoveEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_GamepadAxisMoveEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_GamepadAxisMoveEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GamepadAxisMoveEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GamepadAxisMoveEvent ) } } } ( ) } ; impl core :: ops :: Deref for GamepadAxisMoveEvent { type Target = GamepadEvent ; # [ inline ] fn deref ( & self ) -> & GamepadEvent { self . as_ref ( ) } } impl From < GamepadAxisMoveEvent > for GamepadEvent { # [ inline ] fn from ( obj : GamepadAxisMoveEvent ) -> GamepadEvent { use wasm_bindgen :: JsCast ; GamepadEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < GamepadEvent > for GamepadAxisMoveEvent { # [ inline ] fn as_ref ( & self ) -> & GamepadEvent { use wasm_bindgen :: JsCast ; GamepadEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < GamepadAxisMoveEvent > for Event { # [ inline ] fn from ( obj : GamepadAxisMoveEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for GamepadAxisMoveEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < GamepadAxisMoveEvent > for Object { # [ inline ] fn from ( obj : GamepadAxisMoveEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for GamepadAxisMoveEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_GamepadAxisMoveEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < GamepadAxisMoveEvent as WasmDescribe > :: describe ( ) ; } impl GamepadAxisMoveEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new GamepadAxisMoveEvent(..)` constructor, creating a new instance of `GamepadAxisMoveEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent/GamepadAxisMoveEvent)\n\n*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`*" ] pub fn new ( type_ : & str ) -> Result < GamepadAxisMoveEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_GamepadAxisMoveEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < GamepadAxisMoveEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_GamepadAxisMoveEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < GamepadAxisMoveEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new GamepadAxisMoveEvent(..)` constructor, creating a new instance of `GamepadAxisMoveEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent/GamepadAxisMoveEvent)\n\n*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`*" ] pub fn new ( type_ : & str ) -> Result < GamepadAxisMoveEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_GamepadAxisMoveEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & GamepadAxisMoveEventInit as WasmDescribe > :: describe ( ) ; < GamepadAxisMoveEvent as WasmDescribe > :: describe ( ) ; } impl GamepadAxisMoveEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new GamepadAxisMoveEvent(..)` constructor, creating a new instance of `GamepadAxisMoveEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent/GamepadAxisMoveEvent)\n\n*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`, `GamepadAxisMoveEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & GamepadAxisMoveEventInit ) -> Result < GamepadAxisMoveEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_GamepadAxisMoveEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & GamepadAxisMoveEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < GamepadAxisMoveEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & GamepadAxisMoveEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_GamepadAxisMoveEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < GamepadAxisMoveEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new GamepadAxisMoveEvent(..)` constructor, creating a new instance of `GamepadAxisMoveEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent/GamepadAxisMoveEvent)\n\n*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`, `GamepadAxisMoveEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & GamepadAxisMoveEventInit ) -> Result < GamepadAxisMoveEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_axis_GamepadAxisMoveEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadAxisMoveEvent as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl GamepadAxisMoveEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `axis` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent/axis)\n\n*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`*" ] pub fn axis ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_axis_GamepadAxisMoveEvent ( self_ : < & GamepadAxisMoveEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadAxisMoveEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_axis_GamepadAxisMoveEvent ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `axis` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent/axis)\n\n*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`*" ] pub fn axis ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_GamepadAxisMoveEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadAxisMoveEvent as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl GamepadAxisMoveEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent/value)\n\n*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`*" ] pub fn value ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_GamepadAxisMoveEvent ( self_ : < & GamepadAxisMoveEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadAxisMoveEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_GamepadAxisMoveEvent ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadAxisMoveEvent/value)\n\n*This API requires the following crate features to be activated: `GamepadAxisMoveEvent`*" ] pub fn value ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `GamepadButton` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton)\n\n*This API requires the following crate features to be activated: `GamepadButton`*" ] # [ repr ( transparent ) ] pub struct GamepadButton { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_GamepadButton : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for GamepadButton { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for GamepadButton { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for GamepadButton { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a GamepadButton { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for GamepadButton { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { GamepadButton { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for GamepadButton { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a GamepadButton { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for GamepadButton { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < GamepadButton > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( GamepadButton { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for GamepadButton { # [ inline ] fn from ( obj : JsValue ) -> GamepadButton { GamepadButton { obj } } } impl AsRef < JsValue > for GamepadButton { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < GamepadButton > for JsValue { # [ inline ] fn from ( obj : GamepadButton ) -> JsValue { obj . obj } } impl JsCast for GamepadButton { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_GamepadButton ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_GamepadButton ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GamepadButton { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GamepadButton ) } } } ( ) } ; impl core :: ops :: Deref for GamepadButton { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < GamepadButton > for Object { # [ inline ] fn from ( obj : GamepadButton ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for GamepadButton { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pressed_GamepadButton ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadButton as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl GamepadButton { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pressed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton/pressed)\n\n*This API requires the following crate features to be activated: `GamepadButton`*" ] pub fn pressed ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pressed_GamepadButton ( self_ : < & GamepadButton as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadButton as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pressed_GamepadButton ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pressed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton/pressed)\n\n*This API requires the following crate features to be activated: `GamepadButton`*" ] pub fn pressed ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_touched_GamepadButton ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadButton as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl GamepadButton { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `touched` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton/touched)\n\n*This API requires the following crate features to be activated: `GamepadButton`*" ] pub fn touched ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_touched_GamepadButton ( self_ : < & GamepadButton as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadButton as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_touched_GamepadButton ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `touched` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton/touched)\n\n*This API requires the following crate features to be activated: `GamepadButton`*" ] pub fn touched ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_GamepadButton ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadButton as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl GamepadButton { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton/value)\n\n*This API requires the following crate features to be activated: `GamepadButton`*" ] pub fn value ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_GamepadButton ( self_ : < & GamepadButton as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadButton as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_GamepadButton ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton/value)\n\n*This API requires the following crate features to be activated: `GamepadButton`*" ] pub fn value ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `GamepadButtonEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButtonEvent)\n\n*This API requires the following crate features to be activated: `GamepadButtonEvent`*" ] # [ repr ( transparent ) ] pub struct GamepadButtonEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_GamepadButtonEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for GamepadButtonEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for GamepadButtonEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for GamepadButtonEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a GamepadButtonEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for GamepadButtonEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { GamepadButtonEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for GamepadButtonEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a GamepadButtonEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for GamepadButtonEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < GamepadButtonEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( GamepadButtonEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for GamepadButtonEvent { # [ inline ] fn from ( obj : JsValue ) -> GamepadButtonEvent { GamepadButtonEvent { obj } } } impl AsRef < JsValue > for GamepadButtonEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < GamepadButtonEvent > for JsValue { # [ inline ] fn from ( obj : GamepadButtonEvent ) -> JsValue { obj . obj } } impl JsCast for GamepadButtonEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_GamepadButtonEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_GamepadButtonEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GamepadButtonEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GamepadButtonEvent ) } } } ( ) } ; impl core :: ops :: Deref for GamepadButtonEvent { type Target = GamepadEvent ; # [ inline ] fn deref ( & self ) -> & GamepadEvent { self . as_ref ( ) } } impl From < GamepadButtonEvent > for GamepadEvent { # [ inline ] fn from ( obj : GamepadButtonEvent ) -> GamepadEvent { use wasm_bindgen :: JsCast ; GamepadEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < GamepadEvent > for GamepadButtonEvent { # [ inline ] fn as_ref ( & self ) -> & GamepadEvent { use wasm_bindgen :: JsCast ; GamepadEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < GamepadButtonEvent > for Event { # [ inline ] fn from ( obj : GamepadButtonEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for GamepadButtonEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < GamepadButtonEvent > for Object { # [ inline ] fn from ( obj : GamepadButtonEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for GamepadButtonEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_GamepadButtonEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < GamepadButtonEvent as WasmDescribe > :: describe ( ) ; } impl GamepadButtonEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new GamepadButtonEvent(..)` constructor, creating a new instance of `GamepadButtonEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButtonEvent/GamepadButtonEvent)\n\n*This API requires the following crate features to be activated: `GamepadButtonEvent`*" ] pub fn new ( type_ : & str ) -> Result < GamepadButtonEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_GamepadButtonEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < GamepadButtonEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_GamepadButtonEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < GamepadButtonEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new GamepadButtonEvent(..)` constructor, creating a new instance of `GamepadButtonEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButtonEvent/GamepadButtonEvent)\n\n*This API requires the following crate features to be activated: `GamepadButtonEvent`*" ] pub fn new ( type_ : & str ) -> Result < GamepadButtonEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_GamepadButtonEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & GamepadButtonEventInit as WasmDescribe > :: describe ( ) ; < GamepadButtonEvent as WasmDescribe > :: describe ( ) ; } impl GamepadButtonEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new GamepadButtonEvent(..)` constructor, creating a new instance of `GamepadButtonEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButtonEvent/GamepadButtonEvent)\n\n*This API requires the following crate features to be activated: `GamepadButtonEvent`, `GamepadButtonEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & GamepadButtonEventInit ) -> Result < GamepadButtonEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_GamepadButtonEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & GamepadButtonEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < GamepadButtonEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & GamepadButtonEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_GamepadButtonEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < GamepadButtonEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new GamepadButtonEvent(..)` constructor, creating a new instance of `GamepadButtonEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButtonEvent/GamepadButtonEvent)\n\n*This API requires the following crate features to be activated: `GamepadButtonEvent`, `GamepadButtonEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & GamepadButtonEventInit ) -> Result < GamepadButtonEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_button_GamepadButtonEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadButtonEvent as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl GamepadButtonEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `button` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButtonEvent/button)\n\n*This API requires the following crate features to be activated: `GamepadButtonEvent`*" ] pub fn button ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_button_GamepadButtonEvent ( self_ : < & GamepadButtonEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadButtonEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_button_GamepadButtonEvent ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `button` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButtonEvent/button)\n\n*This API requires the following crate features to be activated: `GamepadButtonEvent`*" ] pub fn button ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `GamepadEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadEvent)\n\n*This API requires the following crate features to be activated: `GamepadEvent`*" ] # [ repr ( transparent ) ] pub struct GamepadEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_GamepadEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for GamepadEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for GamepadEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for GamepadEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a GamepadEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for GamepadEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { GamepadEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for GamepadEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a GamepadEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for GamepadEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < GamepadEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( GamepadEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for GamepadEvent { # [ inline ] fn from ( obj : JsValue ) -> GamepadEvent { GamepadEvent { obj } } } impl AsRef < JsValue > for GamepadEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < GamepadEvent > for JsValue { # [ inline ] fn from ( obj : GamepadEvent ) -> JsValue { obj . obj } } impl JsCast for GamepadEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_GamepadEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_GamepadEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GamepadEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GamepadEvent ) } } } ( ) } ; impl core :: ops :: Deref for GamepadEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < GamepadEvent > for Event { # [ inline ] fn from ( obj : GamepadEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for GamepadEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < GamepadEvent > for Object { # [ inline ] fn from ( obj : GamepadEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for GamepadEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_GamepadEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < GamepadEvent as WasmDescribe > :: describe ( ) ; } impl GamepadEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new GamepadEvent(..)` constructor, creating a new instance of `GamepadEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadEvent/GamepadEvent)\n\n*This API requires the following crate features to be activated: `GamepadEvent`*" ] pub fn new ( type_ : & str ) -> Result < GamepadEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_GamepadEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < GamepadEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_GamepadEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < GamepadEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new GamepadEvent(..)` constructor, creating a new instance of `GamepadEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadEvent/GamepadEvent)\n\n*This API requires the following crate features to be activated: `GamepadEvent`*" ] pub fn new ( type_ : & str ) -> Result < GamepadEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_GamepadEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & GamepadEventInit as WasmDescribe > :: describe ( ) ; < GamepadEvent as WasmDescribe > :: describe ( ) ; } impl GamepadEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new GamepadEvent(..)` constructor, creating a new instance of `GamepadEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadEvent/GamepadEvent)\n\n*This API requires the following crate features to be activated: `GamepadEvent`, `GamepadEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & GamepadEventInit ) -> Result < GamepadEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_GamepadEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & GamepadEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < GamepadEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & GamepadEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_GamepadEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < GamepadEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new GamepadEvent(..)` constructor, creating a new instance of `GamepadEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadEvent/GamepadEvent)\n\n*This API requires the following crate features to be activated: `GamepadEvent`, `GamepadEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & GamepadEventInit ) -> Result < GamepadEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_gamepad_GamepadEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadEvent as WasmDescribe > :: describe ( ) ; < Option < Gamepad > as WasmDescribe > :: describe ( ) ; } impl GamepadEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `gamepad` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadEvent/gamepad)\n\n*This API requires the following crate features to be activated: `Gamepad`, `GamepadEvent`*" ] pub fn gamepad ( & self , ) -> Option < Gamepad > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_gamepad_GamepadEvent ( self_ : < & GamepadEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Gamepad > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_gamepad_GamepadEvent ( self_ ) } ; < Option < Gamepad > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `gamepad` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadEvent/gamepad)\n\n*This API requires the following crate features to be activated: `Gamepad`, `GamepadEvent`*" ] pub fn gamepad ( & self , ) -> Option < Gamepad > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `GamepadHapticActuator` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator)\n\n*This API requires the following crate features to be activated: `GamepadHapticActuator`*" ] # [ repr ( transparent ) ] pub struct GamepadHapticActuator { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_GamepadHapticActuator : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for GamepadHapticActuator { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for GamepadHapticActuator { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for GamepadHapticActuator { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a GamepadHapticActuator { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for GamepadHapticActuator { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { GamepadHapticActuator { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for GamepadHapticActuator { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a GamepadHapticActuator { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for GamepadHapticActuator { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < GamepadHapticActuator > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( GamepadHapticActuator { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for GamepadHapticActuator { # [ inline ] fn from ( obj : JsValue ) -> GamepadHapticActuator { GamepadHapticActuator { obj } } } impl AsRef < JsValue > for GamepadHapticActuator { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < GamepadHapticActuator > for JsValue { # [ inline ] fn from ( obj : GamepadHapticActuator ) -> JsValue { obj . obj } } impl JsCast for GamepadHapticActuator { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_GamepadHapticActuator ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_GamepadHapticActuator ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GamepadHapticActuator { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GamepadHapticActuator ) } } } ( ) } ; impl core :: ops :: Deref for GamepadHapticActuator { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < GamepadHapticActuator > for Object { # [ inline ] fn from ( obj : GamepadHapticActuator ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for GamepadHapticActuator { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pulse_GamepadHapticActuator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & GamepadHapticActuator as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl GamepadHapticActuator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pulse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator/pulse)\n\n*This API requires the following crate features to be activated: `GamepadHapticActuator`*" ] pub fn pulse ( & self , value : f64 , duration : f64 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pulse_GamepadHapticActuator ( self_ : < & GamepadHapticActuator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , duration : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadHapticActuator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; let duration = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( duration , & mut __stack ) ; __widl_f_pulse_GamepadHapticActuator ( self_ , value , duration , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pulse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator/pulse)\n\n*This API requires the following crate features to be activated: `GamepadHapticActuator`*" ] pub fn pulse ( & self , value : f64 , duration : f64 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_GamepadHapticActuator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadHapticActuator as WasmDescribe > :: describe ( ) ; < GamepadHapticActuatorType as WasmDescribe > :: describe ( ) ; } impl GamepadHapticActuator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator/type)\n\n*This API requires the following crate features to be activated: `GamepadHapticActuator`, `GamepadHapticActuatorType`*" ] pub fn type_ ( & self , ) -> GamepadHapticActuatorType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_GamepadHapticActuator ( self_ : < & GamepadHapticActuator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < GamepadHapticActuatorType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadHapticActuator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_GamepadHapticActuator ( self_ ) } ; < GamepadHapticActuatorType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator/type)\n\n*This API requires the following crate features to be activated: `GamepadHapticActuator`, `GamepadHapticActuatorType`*" ] pub fn type_ ( & self , ) -> GamepadHapticActuatorType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `GamepadPose` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] # [ repr ( transparent ) ] pub struct GamepadPose { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_GamepadPose : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for GamepadPose { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for GamepadPose { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for GamepadPose { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a GamepadPose { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for GamepadPose { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { GamepadPose { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for GamepadPose { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a GamepadPose { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for GamepadPose { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < GamepadPose > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( GamepadPose { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for GamepadPose { # [ inline ] fn from ( obj : JsValue ) -> GamepadPose { GamepadPose { obj } } } impl AsRef < JsValue > for GamepadPose { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < GamepadPose > for JsValue { # [ inline ] fn from ( obj : GamepadPose ) -> JsValue { obj . obj } } impl JsCast for GamepadPose { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_GamepadPose ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_GamepadPose ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GamepadPose { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GamepadPose ) } } } ( ) } ; impl core :: ops :: Deref for GamepadPose { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < GamepadPose > for Object { # [ inline ] fn from ( obj : GamepadPose ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for GamepadPose { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_orientation_GamepadPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadPose as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl GamepadPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasOrientation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasOrientation)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn has_orientation ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_orientation_GamepadPose ( self_ : < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_has_orientation_GamepadPose ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasOrientation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasOrientation)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn has_orientation ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_position_GamepadPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadPose as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl GamepadPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasPosition` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasPosition)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn has_position ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_position_GamepadPose ( self_ : < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_has_position_GamepadPose ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasPosition` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/hasPosition)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn has_position ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_position_GamepadPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadPose as WasmDescribe > :: describe ( ) ; < Option < Vec < f32 > > as WasmDescribe > :: describe ( ) ; } impl GamepadPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `position` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/position)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn position ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_position_GamepadPose ( self_ : < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_position_GamepadPose ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `position` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/position)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn position ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_linear_velocity_GamepadPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadPose as WasmDescribe > :: describe ( ) ; < Option < Vec < f32 > > as WasmDescribe > :: describe ( ) ; } impl GamepadPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `linearVelocity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearVelocity)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn linear_velocity ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_linear_velocity_GamepadPose ( self_ : < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_linear_velocity_GamepadPose ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `linearVelocity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearVelocity)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn linear_velocity ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_linear_acceleration_GamepadPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadPose as WasmDescribe > :: describe ( ) ; < Option < Vec < f32 > > as WasmDescribe > :: describe ( ) ; } impl GamepadPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `linearAcceleration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearAcceleration)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn linear_acceleration ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_linear_acceleration_GamepadPose ( self_ : < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_linear_acceleration_GamepadPose ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `linearAcceleration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/linearAcceleration)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn linear_acceleration ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_orientation_GamepadPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadPose as WasmDescribe > :: describe ( ) ; < Option < Vec < f32 > > as WasmDescribe > :: describe ( ) ; } impl GamepadPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `orientation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/orientation)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn orientation ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_orientation_GamepadPose ( self_ : < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_orientation_GamepadPose ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `orientation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/orientation)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn orientation ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_angular_velocity_GamepadPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadPose as WasmDescribe > :: describe ( ) ; < Option < Vec < f32 > > as WasmDescribe > :: describe ( ) ; } impl GamepadPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `angularVelocity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularVelocity)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn angular_velocity ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_angular_velocity_GamepadPose ( self_ : < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_angular_velocity_GamepadPose ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `angularVelocity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularVelocity)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn angular_velocity ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_angular_acceleration_GamepadPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadPose as WasmDescribe > :: describe ( ) ; < Option < Vec < f32 > > as WasmDescribe > :: describe ( ) ; } impl GamepadPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `angularAcceleration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularAcceleration)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn angular_acceleration ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_angular_acceleration_GamepadPose ( self_ : < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_angular_acceleration_GamepadPose ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `angularAcceleration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadPose/angularAcceleration)\n\n*This API requires the following crate features to be activated: `GamepadPose`*" ] pub fn angular_acceleration ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `GamepadServiceTest` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest)\n\n*This API requires the following crate features to be activated: `GamepadServiceTest`*" ] # [ repr ( transparent ) ] pub struct GamepadServiceTest { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_GamepadServiceTest : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for GamepadServiceTest { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for GamepadServiceTest { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for GamepadServiceTest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a GamepadServiceTest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for GamepadServiceTest { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { GamepadServiceTest { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for GamepadServiceTest { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a GamepadServiceTest { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for GamepadServiceTest { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < GamepadServiceTest > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( GamepadServiceTest { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for GamepadServiceTest { # [ inline ] fn from ( obj : JsValue ) -> GamepadServiceTest { GamepadServiceTest { obj } } } impl AsRef < JsValue > for GamepadServiceTest { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < GamepadServiceTest > for JsValue { # [ inline ] fn from ( obj : GamepadServiceTest ) -> JsValue { obj . obj } } impl JsCast for GamepadServiceTest { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_GamepadServiceTest ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_GamepadServiceTest ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GamepadServiceTest { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GamepadServiceTest ) } } } ( ) } ; impl core :: ops :: Deref for GamepadServiceTest { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < GamepadServiceTest > for Object { # [ inline ] fn from ( obj : GamepadServiceTest ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for GamepadServiceTest { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_gamepad_GamepadServiceTest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & GamepadServiceTest as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < GamepadMappingType as WasmDescribe > :: describe ( ) ; < GamepadHand as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl GamepadServiceTest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addGamepad()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/addGamepad)\n\n*This API requires the following crate features to be activated: `GamepadHand`, `GamepadMappingType`, `GamepadServiceTest`*" ] pub fn add_gamepad ( & self , id : & str , mapping : GamepadMappingType , hand : GamepadHand , num_buttons : u32 , num_axes : u32 , num_haptics : u32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_gamepad_GamepadServiceTest ( self_ : < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mapping : < GamepadMappingType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , hand : < GamepadHand as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , num_buttons : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , num_axes : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , num_haptics : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; let mapping = < GamepadMappingType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mapping , & mut __stack ) ; let hand = < GamepadHand as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( hand , & mut __stack ) ; let num_buttons = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( num_buttons , & mut __stack ) ; let num_axes = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( num_axes , & mut __stack ) ; let num_haptics = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( num_haptics , & mut __stack ) ; __widl_f_add_gamepad_GamepadServiceTest ( self_ , id , mapping , hand , num_buttons , num_axes , num_haptics , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addGamepad()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/addGamepad)\n\n*This API requires the following crate features to be activated: `GamepadHand`, `GamepadMappingType`, `GamepadServiceTest`*" ] pub fn add_gamepad ( & self , id : & str , mapping : GamepadMappingType , hand : GamepadHand , num_buttons : u32 , num_axes : u32 , num_haptics : u32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_axis_move_event_GamepadServiceTest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & GamepadServiceTest as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl GamepadServiceTest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `newAxisMoveEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newAxisMoveEvent)\n\n*This API requires the following crate features to be activated: `GamepadServiceTest`*" ] pub fn new_axis_move_event ( & self , index : u32 , axis : u32 , value : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_axis_move_event_GamepadServiceTest ( self_ : < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , axis : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let axis = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( axis , & mut __stack ) ; let value = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_new_axis_move_event_GamepadServiceTest ( self_ , index , axis , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `newAxisMoveEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newAxisMoveEvent)\n\n*This API requires the following crate features to be activated: `GamepadServiceTest`*" ] pub fn new_axis_move_event ( & self , index : u32 , axis : u32 , value : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_button_event_GamepadServiceTest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & GamepadServiceTest as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl GamepadServiceTest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `newButtonEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newButtonEvent)\n\n*This API requires the following crate features to be activated: `GamepadServiceTest`*" ] pub fn new_button_event ( & self , index : u32 , button : u32 , pressed : bool , touched : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_button_event_GamepadServiceTest ( self_ : < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , button : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pressed : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , touched : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let button = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( button , & mut __stack ) ; let pressed = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pressed , & mut __stack ) ; let touched = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( touched , & mut __stack ) ; __widl_f_new_button_event_GamepadServiceTest ( self_ , index , button , pressed , touched ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `newButtonEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newButtonEvent)\n\n*This API requires the following crate features to be activated: `GamepadServiceTest`*" ] pub fn new_button_event ( & self , index : u32 , button : u32 , pressed : bool , touched : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_button_value_event_GamepadServiceTest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & GamepadServiceTest as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl GamepadServiceTest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `newButtonValueEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newButtonValueEvent)\n\n*This API requires the following crate features to be activated: `GamepadServiceTest`*" ] pub fn new_button_value_event ( & self , index : u32 , button : u32 , pressed : bool , touched : bool , value : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_button_value_event_GamepadServiceTest ( self_ : < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , button : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pressed : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , touched : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let button = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( button , & mut __stack ) ; let pressed = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pressed , & mut __stack ) ; let touched = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( touched , & mut __stack ) ; let value = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_new_button_value_event_GamepadServiceTest ( self_ , index , button , pressed , touched , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `newButtonValueEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newButtonValueEvent)\n\n*This API requires the following crate features to be activated: `GamepadServiceTest`*" ] pub fn new_button_value_event ( & self , index : u32 , button : u32 , pressed : bool , touched : bool , value : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_pose_move_GamepadServiceTest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & GamepadServiceTest as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl GamepadServiceTest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `newPoseMove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newPoseMove)\n\n*This API requires the following crate features to be activated: `GamepadServiceTest`*" ] pub fn new_pose_move ( & self , index : u32 , orient : Option < & mut [ f32 ] > , pos : Option < & mut [ f32 ] > , ang_velocity : Option < & mut [ f32 ] > , ang_acceleration : Option < & mut [ f32 ] > , lin_velocity : Option < & mut [ f32 ] > , lin_acceleration : Option < & mut [ f32 ] > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_pose_move_GamepadServiceTest ( self_ : < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , orient : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pos : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ang_velocity : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ang_acceleration : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , lin_velocity : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , lin_acceleration : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let orient = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( orient , & mut __stack ) ; let pos = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pos , & mut __stack ) ; let ang_velocity = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ang_velocity , & mut __stack ) ; let ang_acceleration = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ang_acceleration , & mut __stack ) ; let lin_velocity = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lin_velocity , & mut __stack ) ; let lin_acceleration = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lin_acceleration , & mut __stack ) ; __widl_f_new_pose_move_GamepadServiceTest ( self_ , index , orient , pos , ang_velocity , ang_acceleration , lin_velocity , lin_acceleration ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `newPoseMove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newPoseMove)\n\n*This API requires the following crate features to be activated: `GamepadServiceTest`*" ] pub fn new_pose_move ( & self , index : u32 , orient : Option < & mut [ f32 ] > , pos : Option < & mut [ f32 ] > , ang_velocity : Option < & mut [ f32 ] > , ang_acceleration : Option < & mut [ f32 ] > , lin_velocity : Option < & mut [ f32 ] > , lin_acceleration : Option < & mut [ f32 ] > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_gamepad_GamepadServiceTest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & GamepadServiceTest as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl GamepadServiceTest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeGamepad()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/removeGamepad)\n\n*This API requires the following crate features to be activated: `GamepadServiceTest`*" ] pub fn remove_gamepad ( & self , index : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_gamepad_GamepadServiceTest ( self_ : < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_remove_gamepad_GamepadServiceTest ( self_ , index ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeGamepad()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/removeGamepad)\n\n*This API requires the following crate features to be activated: `GamepadServiceTest`*" ] pub fn remove_gamepad ( & self , index : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_no_mapping_GamepadServiceTest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadServiceTest as WasmDescribe > :: describe ( ) ; < GamepadMappingType as WasmDescribe > :: describe ( ) ; } impl GamepadServiceTest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noMapping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/noMapping)\n\n*This API requires the following crate features to be activated: `GamepadMappingType`, `GamepadServiceTest`*" ] pub fn no_mapping ( & self , ) -> GamepadMappingType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_no_mapping_GamepadServiceTest ( self_ : < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < GamepadMappingType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_no_mapping_GamepadServiceTest ( self_ ) } ; < GamepadMappingType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noMapping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/noMapping)\n\n*This API requires the following crate features to be activated: `GamepadMappingType`, `GamepadServiceTest`*" ] pub fn no_mapping ( & self , ) -> GamepadMappingType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_standard_mapping_GamepadServiceTest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadServiceTest as WasmDescribe > :: describe ( ) ; < GamepadMappingType as WasmDescribe > :: describe ( ) ; } impl GamepadServiceTest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `standardMapping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/standardMapping)\n\n*This API requires the following crate features to be activated: `GamepadMappingType`, `GamepadServiceTest`*" ] pub fn standard_mapping ( & self , ) -> GamepadMappingType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_standard_mapping_GamepadServiceTest ( self_ : < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < GamepadMappingType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_standard_mapping_GamepadServiceTest ( self_ ) } ; < GamepadMappingType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `standardMapping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/standardMapping)\n\n*This API requires the following crate features to be activated: `GamepadMappingType`, `GamepadServiceTest`*" ] pub fn standard_mapping ( & self , ) -> GamepadMappingType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_no_hand_GamepadServiceTest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadServiceTest as WasmDescribe > :: describe ( ) ; < GamepadHand as WasmDescribe > :: describe ( ) ; } impl GamepadServiceTest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noHand` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/noHand)\n\n*This API requires the following crate features to be activated: `GamepadHand`, `GamepadServiceTest`*" ] pub fn no_hand ( & self , ) -> GamepadHand { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_no_hand_GamepadServiceTest ( self_ : < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < GamepadHand as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_no_hand_GamepadServiceTest ( self_ ) } ; < GamepadHand as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noHand` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/noHand)\n\n*This API requires the following crate features to be activated: `GamepadHand`, `GamepadServiceTest`*" ] pub fn no_hand ( & self , ) -> GamepadHand { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_left_hand_GamepadServiceTest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadServiceTest as WasmDescribe > :: describe ( ) ; < GamepadHand as WasmDescribe > :: describe ( ) ; } impl GamepadServiceTest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `leftHand` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/leftHand)\n\n*This API requires the following crate features to be activated: `GamepadHand`, `GamepadServiceTest`*" ] pub fn left_hand ( & self , ) -> GamepadHand { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_left_hand_GamepadServiceTest ( self_ : < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < GamepadHand as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_left_hand_GamepadServiceTest ( self_ ) } ; < GamepadHand as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `leftHand` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/leftHand)\n\n*This API requires the following crate features to be activated: `GamepadHand`, `GamepadServiceTest`*" ] pub fn left_hand ( & self , ) -> GamepadHand { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_right_hand_GamepadServiceTest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GamepadServiceTest as WasmDescribe > :: describe ( ) ; < GamepadHand as WasmDescribe > :: describe ( ) ; } impl GamepadServiceTest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rightHand` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/rightHand)\n\n*This API requires the following crate features to be activated: `GamepadHand`, `GamepadServiceTest`*" ] pub fn right_hand ( & self , ) -> GamepadHand { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_right_hand_GamepadServiceTest ( self_ : < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < GamepadHand as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & GamepadServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_right_hand_GamepadServiceTest ( self_ ) } ; < GamepadHand as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rightHand` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/rightHand)\n\n*This API requires the following crate features to be activated: `GamepadHand`, `GamepadServiceTest`*" ] pub fn right_hand ( & self , ) -> GamepadHand { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLAllCollection` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection)\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`*" ] # [ repr ( transparent ) ] pub struct HtmlAllCollection { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlAllCollection : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlAllCollection { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlAllCollection { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlAllCollection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlAllCollection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlAllCollection { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlAllCollection { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlAllCollection { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlAllCollection { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlAllCollection { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlAllCollection > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlAllCollection { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlAllCollection { # [ inline ] fn from ( obj : JsValue ) -> HtmlAllCollection { HtmlAllCollection { obj } } } impl AsRef < JsValue > for HtmlAllCollection { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlAllCollection > for JsValue { # [ inline ] fn from ( obj : HtmlAllCollection ) -> JsValue { obj . obj } } impl JsCast for HtmlAllCollection { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLAllCollection ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLAllCollection ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlAllCollection { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlAllCollection ) } } } ( ) } ; impl core :: ops :: Deref for HtmlAllCollection { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < HtmlAllCollection > for Object { # [ inline ] fn from ( obj : HtmlAllCollection ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlAllCollection { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_with_index_HTMLAllCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAllCollection as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl HtmlAllCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection/item)\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`, `Node`*" ] pub fn item_with_index ( & self , index : u32 ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_with_index_HTMLAllCollection ( self_ : < & HtmlAllCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAllCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_with_index_HTMLAllCollection ( self_ , index ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection/item)\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`, `Node`*" ] pub fn item_with_index ( & self , index : u32 ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_with_name_HTMLAllCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAllCollection as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl HtmlAllCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection/item)\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`*" ] pub fn item_with_name ( & self , name : & str ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_with_name_HTMLAllCollection ( self_ : < & HtmlAllCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAllCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_item_with_name_HTMLAllCollection ( self_ , name ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection/item)\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`*" ] pub fn item_with_name ( & self , name : & str ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_named_item_HTMLAllCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAllCollection as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl HtmlAllCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection/namedItem)\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`*" ] pub fn named_item ( & self , name : & str ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_named_item_HTMLAllCollection ( self_ : < & HtmlAllCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAllCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_named_item_HTMLAllCollection ( self_ , name ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection/namedItem)\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`*" ] pub fn named_item ( & self , name : & str ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_index_HTMLAllCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAllCollection as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl HtmlAllCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`, `Node`*" ] pub fn get_with_index ( & self , index : u32 ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_index_HTMLAllCollection ( self_ : < & HtmlAllCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAllCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_with_index_HTMLAllCollection ( self_ , index ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`, `Node`*" ] pub fn get_with_index ( & self , index : u32 ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_name_HTMLAllCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAllCollection as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl HtmlAllCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`*" ] pub fn get_with_name ( & self , name : & str ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_name_HTMLAllCollection ( self_ : < & HtmlAllCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAllCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_with_name_HTMLAllCollection ( self_ , name ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`*" ] pub fn get_with_name ( & self , name : & str ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_HTMLAllCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAllCollection as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlAllCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection/length)\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_HTMLAllCollection ( self_ : < & HtmlAllCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAllCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_HTMLAllCollection ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAllCollection/length)\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLAnchorElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] # [ repr ( transparent ) ] pub struct HtmlAnchorElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlAnchorElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlAnchorElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlAnchorElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlAnchorElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlAnchorElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlAnchorElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlAnchorElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlAnchorElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlAnchorElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlAnchorElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlAnchorElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlAnchorElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlAnchorElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlAnchorElement { HtmlAnchorElement { obj } } } impl AsRef < JsValue > for HtmlAnchorElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlAnchorElement > for JsValue { # [ inline ] fn from ( obj : HtmlAnchorElement ) -> JsValue { obj . obj } } impl JsCast for HtmlAnchorElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLAnchorElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLAnchorElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlAnchorElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlAnchorElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlAnchorElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlAnchorElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlAnchorElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlAnchorElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlAnchorElement > for Element { # [ inline ] fn from ( obj : HtmlAnchorElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlAnchorElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlAnchorElement > for Node { # [ inline ] fn from ( obj : HtmlAnchorElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlAnchorElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlAnchorElement > for EventTarget { # [ inline ] fn from ( obj : HtmlAnchorElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlAnchorElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlAnchorElement > for Object { # [ inline ] fn from ( obj : HtmlAnchorElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlAnchorElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/target)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn target ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_HTMLAnchorElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/target)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn target ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_target_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/target)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_target ( & self , target : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_target_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_set_target_HTMLAnchorElement ( self_ , target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/target)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_target ( & self , target : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_download_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `download` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn download ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_download_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_download_HTMLAnchorElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `download` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn download ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_download_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `download` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_download ( & self , download : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_download_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , download : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let download = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( download , & mut __stack ) ; __widl_f_set_download_HTMLAnchorElement ( self_ , download ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `download` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_download ( & self , download : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ping_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/ping)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn ping ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ping_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ping_HTMLAnchorElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/ping)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn ping ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ping_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ping` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/ping)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_ping ( & self , ping : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ping_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ping : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ping = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ping , & mut __stack ) ; __widl_f_set_ping_HTMLAnchorElement ( self_ , ping ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ping` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/ping)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_ping ( & self , ping : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rel_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn rel ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rel_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rel_HTMLAnchorElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn rel ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_rel_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_rel ( & self , rel : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_rel_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rel : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rel = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rel , & mut __stack ) ; __widl_f_set_rel_HTMLAnchorElement ( self_ , rel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_rel ( & self , rel : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_referrer_policy_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn referrer_policy ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_referrer_policy_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_referrer_policy_HTMLAnchorElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn referrer_policy ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_referrer_policy_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrerPolicy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_referrer_policy ( & self , referrer_policy : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_referrer_policy_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , referrer_policy : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let referrer_policy = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( referrer_policy , & mut __stack ) ; __widl_f_set_referrer_policy_HTMLAnchorElement ( self_ , referrer_policy ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrerPolicy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_referrer_policy ( & self , referrer_policy : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rel_list_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < DomTokenList as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `relList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/relList)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `HtmlAnchorElement`*" ] pub fn rel_list ( & self , ) -> DomTokenList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rel_list_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rel_list_HTMLAnchorElement ( self_ ) } ; < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `relList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/relList)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `HtmlAnchorElement`*" ] pub fn rel_list ( & self , ) -> DomTokenList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hreflang_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hreflang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hreflang)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn hreflang ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hreflang_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hreflang_HTMLAnchorElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hreflang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hreflang)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn hreflang ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_hreflang_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hreflang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hreflang)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_hreflang ( & self , hreflang : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_hreflang_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , hreflang : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let hreflang = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( hreflang , & mut __stack ) ; __widl_f_set_hreflang_HTMLAnchorElement ( self_ , hreflang ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hreflang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hreflang)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_hreflang ( & self , hreflang : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/type)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLAnchorElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/type)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/type)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLAnchorElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/type)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/text)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn text ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_HTMLAnchorElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/text)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn text ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_text_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/text)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_text ( & self , text : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_text_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_set_text_HTMLAnchorElement ( self_ , text , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/text)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_text ( & self , text : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_coords_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `coords` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/coords)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn coords ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_coords_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_coords_HTMLAnchorElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `coords` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/coords)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn coords ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_coords_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `coords` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/coords)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_coords ( & self , coords : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_coords_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , coords : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let coords = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( coords , & mut __stack ) ; __widl_f_set_coords_HTMLAnchorElement ( self_ , coords ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `coords` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/coords)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_coords ( & self , coords : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_charset_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `charset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/charset)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn charset ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_charset_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_charset_HTMLAnchorElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `charset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/charset)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn charset ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_charset_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `charset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/charset)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_charset ( & self , charset : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_charset_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , charset : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let charset = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( charset , & mut __stack ) ; __widl_f_set_charset_HTMLAnchorElement ( self_ , charset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `charset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/charset)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_charset ( & self , charset : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/name)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLAnchorElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/name)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/name)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLAnchorElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/name)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rev_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rev` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rev)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn rev ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rev_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rev_HTMLAnchorElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rev` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rev)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn rev ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_rev_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rev` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rev)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_rev ( & self , rev : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_rev_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rev : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rev = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rev , & mut __stack ) ; __widl_f_set_rev_HTMLAnchorElement ( self_ , rev ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rev` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rev)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_rev ( & self , rev : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shape_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shape` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/shape)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn shape ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shape_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_shape_HTMLAnchorElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shape` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/shape)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn shape ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_shape_HTMLAnchorElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAnchorElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAnchorElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shape` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/shape)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_shape ( & self , shape : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_shape_HTMLAnchorElement ( self_ : < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shape : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAnchorElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shape = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shape , & mut __stack ) ; __widl_f_set_shape_HTMLAnchorElement ( self_ , shape ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shape` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/shape)\n\n*This API requires the following crate features to be activated: `HtmlAnchorElement`*" ] pub fn set_shape ( & self , shape : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLAreaElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] # [ repr ( transparent ) ] pub struct HtmlAreaElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlAreaElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlAreaElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlAreaElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlAreaElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlAreaElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlAreaElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlAreaElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlAreaElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlAreaElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlAreaElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlAreaElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlAreaElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlAreaElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlAreaElement { HtmlAreaElement { obj } } } impl AsRef < JsValue > for HtmlAreaElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlAreaElement > for JsValue { # [ inline ] fn from ( obj : HtmlAreaElement ) -> JsValue { obj . obj } } impl JsCast for HtmlAreaElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLAreaElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLAreaElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlAreaElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlAreaElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlAreaElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlAreaElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlAreaElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlAreaElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlAreaElement > for Element { # [ inline ] fn from ( obj : HtmlAreaElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlAreaElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlAreaElement > for Node { # [ inline ] fn from ( obj : HtmlAreaElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlAreaElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlAreaElement > for EventTarget { # [ inline ] fn from ( obj : HtmlAreaElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlAreaElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlAreaElement > for Object { # [ inline ] fn from ( obj : HtmlAreaElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlAreaElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_alt_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `alt` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/alt)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn alt ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_alt_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_alt_HTMLAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `alt` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/alt)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn alt ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_alt_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `alt` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/alt)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_alt ( & self , alt : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_alt_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let alt = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt , & mut __stack ) ; __widl_f_set_alt_HTMLAreaElement ( self_ , alt ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `alt` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/alt)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_alt ( & self , alt : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_coords_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `coords` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/coords)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn coords ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_coords_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_coords_HTMLAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `coords` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/coords)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn coords ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_coords_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `coords` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/coords)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_coords ( & self , coords : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_coords_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , coords : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let coords = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( coords , & mut __stack ) ; __widl_f_set_coords_HTMLAreaElement ( self_ , coords ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `coords` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/coords)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_coords ( & self , coords : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shape_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shape` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/shape)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn shape ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shape_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_shape_HTMLAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shape` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/shape)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn shape ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_shape_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shape` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/shape)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_shape ( & self , shape : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_shape_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shape : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shape = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shape , & mut __stack ) ; __widl_f_set_shape_HTMLAreaElement ( self_ , shape ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shape` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/shape)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_shape ( & self , shape : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/target)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn target ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_HTMLAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/target)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn target ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_target_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/target)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_target ( & self , target : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_target_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_set_target_HTMLAreaElement ( self_ , target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/target)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_target ( & self , target : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_download_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `download` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/download)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn download ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_download_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_download_HTMLAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `download` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/download)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn download ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_download_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `download` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/download)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_download ( & self , download : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_download_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , download : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let download = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( download , & mut __stack ) ; __widl_f_set_download_HTMLAreaElement ( self_ , download ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `download` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/download)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_download ( & self , download : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ping_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/ping)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn ping ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ping_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ping_HTMLAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/ping)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn ping ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ping_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ping` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/ping)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_ping ( & self , ping : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ping_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ping : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ping = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ping , & mut __stack ) ; __widl_f_set_ping_HTMLAreaElement ( self_ , ping ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ping` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/ping)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_ping ( & self , ping : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rel_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/rel)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn rel ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rel_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rel_HTMLAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/rel)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn rel ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_rel_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/rel)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_rel ( & self , rel : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_rel_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rel : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rel = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rel , & mut __stack ) ; __widl_f_set_rel_HTMLAreaElement ( self_ , rel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/rel)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_rel ( & self , rel : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_referrer_policy_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn referrer_policy ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_referrer_policy_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_referrer_policy_HTMLAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn referrer_policy ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_referrer_policy_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrerPolicy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_referrer_policy ( & self , referrer_policy : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_referrer_policy_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , referrer_policy : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let referrer_policy = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( referrer_policy , & mut __stack ) ; __widl_f_set_referrer_policy_HTMLAreaElement ( self_ , referrer_policy ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrerPolicy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_referrer_policy ( & self , referrer_policy : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rel_list_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < DomTokenList as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `relList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/relList)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `HtmlAreaElement`*" ] pub fn rel_list ( & self , ) -> DomTokenList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rel_list_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rel_list_HTMLAreaElement ( self_ ) } ; < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `relList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/relList)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `HtmlAreaElement`*" ] pub fn rel_list ( & self , ) -> DomTokenList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_no_href_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noHref` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/noHref)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn no_href ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_no_href_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_no_href_HTMLAreaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noHref` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/noHref)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn no_href ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_no_href_HTMLAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlAreaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noHref` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/noHref)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_no_href ( & self , no_href : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_no_href_HTMLAreaElement ( self_ : < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , no_href : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let no_href = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( no_href , & mut __stack ) ; __widl_f_set_no_href_HTMLAreaElement ( self_ , no_href ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noHref` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/noHref)\n\n*This API requires the following crate features to be activated: `HtmlAreaElement`*" ] pub fn set_no_href ( & self , no_href : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLAudioElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement)\n\n*This API requires the following crate features to be activated: `HtmlAudioElement`*" ] # [ repr ( transparent ) ] pub struct HtmlAudioElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlAudioElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlAudioElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlAudioElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlAudioElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlAudioElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlAudioElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlAudioElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlAudioElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlAudioElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlAudioElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlAudioElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlAudioElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlAudioElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlAudioElement { HtmlAudioElement { obj } } } impl AsRef < JsValue > for HtmlAudioElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlAudioElement > for JsValue { # [ inline ] fn from ( obj : HtmlAudioElement ) -> JsValue { obj . obj } } impl JsCast for HtmlAudioElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLAudioElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLAudioElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlAudioElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlAudioElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlAudioElement { type Target = HtmlMediaElement ; # [ inline ] fn deref ( & self ) -> & HtmlMediaElement { self . as_ref ( ) } } impl From < HtmlAudioElement > for HtmlMediaElement { # [ inline ] fn from ( obj : HtmlAudioElement ) -> HtmlMediaElement { use wasm_bindgen :: JsCast ; HtmlMediaElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlMediaElement > for HtmlAudioElement { # [ inline ] fn as_ref ( & self ) -> & HtmlMediaElement { use wasm_bindgen :: JsCast ; HtmlMediaElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlAudioElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlAudioElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlAudioElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlAudioElement > for Element { # [ inline ] fn from ( obj : HtmlAudioElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlAudioElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlAudioElement > for Node { # [ inline ] fn from ( obj : HtmlAudioElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlAudioElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlAudioElement > for EventTarget { # [ inline ] fn from ( obj : HtmlAudioElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlAudioElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlAudioElement > for Object { # [ inline ] fn from ( obj : HtmlAudioElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlAudioElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Audio ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < HtmlAudioElement as WasmDescribe > :: describe ( ) ; } impl HtmlAudioElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new HTMLAudioElement(..)` constructor, creating a new instance of `HTMLAudioElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/HTMLAudioElement)\n\n*This API requires the following crate features to be activated: `HtmlAudioElement`*" ] pub fn new ( ) -> Result < HtmlAudioElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Audio ( exn_data_ptr : * mut u32 ) -> < HtmlAudioElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_Audio ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlAudioElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new HTMLAudioElement(..)` constructor, creating a new instance of `HTMLAudioElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/HTMLAudioElement)\n\n*This API requires the following crate features to be activated: `HtmlAudioElement`*" ] pub fn new ( ) -> Result < HtmlAudioElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_src_Audio ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < HtmlAudioElement as WasmDescribe > :: describe ( ) ; } impl HtmlAudioElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new HTMLAudioElement(..)` constructor, creating a new instance of `HTMLAudioElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/HTMLAudioElement)\n\n*This API requires the following crate features to be activated: `HtmlAudioElement`*" ] pub fn new_with_src ( src : & str ) -> Result < HtmlAudioElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_src_Audio ( src : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlAudioElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let src = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; __widl_f_new_with_src_Audio ( src , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlAudioElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new HTMLAudioElement(..)` constructor, creating a new instance of `HTMLAudioElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/HTMLAudioElement)\n\n*This API requires the following crate features to be activated: `HtmlAudioElement`*" ] pub fn new_with_src ( src : & str ) -> Result < HtmlAudioElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLBRElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement)\n\n*This API requires the following crate features to be activated: `HtmlBrElement`*" ] # [ repr ( transparent ) ] pub struct HtmlBrElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlBrElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlBrElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlBrElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlBrElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlBrElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlBrElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlBrElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlBrElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlBrElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlBrElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlBrElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlBrElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlBrElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlBrElement { HtmlBrElement { obj } } } impl AsRef < JsValue > for HtmlBrElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlBrElement > for JsValue { # [ inline ] fn from ( obj : HtmlBrElement ) -> JsValue { obj . obj } } impl JsCast for HtmlBrElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLBRElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLBRElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlBrElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlBrElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlBrElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlBrElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlBrElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlBrElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlBrElement > for Element { # [ inline ] fn from ( obj : HtmlBrElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlBrElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlBrElement > for Node { # [ inline ] fn from ( obj : HtmlBrElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlBrElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlBrElement > for EventTarget { # [ inline ] fn from ( obj : HtmlBrElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlBrElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlBrElement > for Object { # [ inline ] fn from ( obj : HtmlBrElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlBrElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_HTMLBRElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBrElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlBrElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement/clear)\n\n*This API requires the following crate features to be activated: `HtmlBrElement`*" ] pub fn clear ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_HTMLBRElement ( self_ : < & HtmlBrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_HTMLBRElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement/clear)\n\n*This API requires the following crate features to be activated: `HtmlBrElement`*" ] pub fn clear ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_clear_HTMLBRElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBrElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBrElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement/clear)\n\n*This API requires the following crate features to be activated: `HtmlBrElement`*" ] pub fn set_clear ( & self , clear : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_clear_HTMLBRElement ( self_ : < & HtmlBrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , clear : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let clear = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( clear , & mut __stack ) ; __widl_f_set_clear_HTMLBRElement ( self_ , clear ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement/clear)\n\n*This API requires the following crate features to be activated: `HtmlBrElement`*" ] pub fn set_clear ( & self , clear : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLBaseElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement)\n\n*This API requires the following crate features to be activated: `HtmlBaseElement`*" ] # [ repr ( transparent ) ] pub struct HtmlBaseElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlBaseElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlBaseElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlBaseElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlBaseElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlBaseElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlBaseElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlBaseElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlBaseElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlBaseElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlBaseElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlBaseElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlBaseElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlBaseElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlBaseElement { HtmlBaseElement { obj } } } impl AsRef < JsValue > for HtmlBaseElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlBaseElement > for JsValue { # [ inline ] fn from ( obj : HtmlBaseElement ) -> JsValue { obj . obj } } impl JsCast for HtmlBaseElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLBaseElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLBaseElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlBaseElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlBaseElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlBaseElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlBaseElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlBaseElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlBaseElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlBaseElement > for Element { # [ inline ] fn from ( obj : HtmlBaseElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlBaseElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlBaseElement > for Node { # [ inline ] fn from ( obj : HtmlBaseElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlBaseElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlBaseElement > for EventTarget { # [ inline ] fn from ( obj : HtmlBaseElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlBaseElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlBaseElement > for Object { # [ inline ] fn from ( obj : HtmlBaseElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlBaseElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_HTMLBaseElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBaseElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlBaseElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/href)\n\n*This API requires the following crate features to be activated: `HtmlBaseElement`*" ] pub fn href ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_HTMLBaseElement ( self_ : < & HtmlBaseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBaseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_HTMLBaseElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/href)\n\n*This API requires the following crate features to be activated: `HtmlBaseElement`*" ] pub fn href ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_href_HTMLBaseElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBaseElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBaseElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/href)\n\n*This API requires the following crate features to be activated: `HtmlBaseElement`*" ] pub fn set_href ( & self , href : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_href_HTMLBaseElement ( self_ : < & HtmlBaseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , href : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBaseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let href = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( href , & mut __stack ) ; __widl_f_set_href_HTMLBaseElement ( self_ , href ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/href)\n\n*This API requires the following crate features to be activated: `HtmlBaseElement`*" ] pub fn set_href ( & self , href : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_HTMLBaseElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBaseElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlBaseElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/target)\n\n*This API requires the following crate features to be activated: `HtmlBaseElement`*" ] pub fn target ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_HTMLBaseElement ( self_ : < & HtmlBaseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBaseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_HTMLBaseElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/target)\n\n*This API requires the following crate features to be activated: `HtmlBaseElement`*" ] pub fn target ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_target_HTMLBaseElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBaseElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBaseElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/target)\n\n*This API requires the following crate features to be activated: `HtmlBaseElement`*" ] pub fn set_target ( & self , target : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_target_HTMLBaseElement ( self_ : < & HtmlBaseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBaseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_set_target_HTMLBaseElement ( self_ , target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/target)\n\n*This API requires the following crate features to be activated: `HtmlBaseElement`*" ] pub fn set_target ( & self , target : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLBodyElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] # [ repr ( transparent ) ] pub struct HtmlBodyElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlBodyElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlBodyElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlBodyElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlBodyElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlBodyElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlBodyElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlBodyElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlBodyElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlBodyElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlBodyElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlBodyElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlBodyElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlBodyElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlBodyElement { HtmlBodyElement { obj } } } impl AsRef < JsValue > for HtmlBodyElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlBodyElement > for JsValue { # [ inline ] fn from ( obj : HtmlBodyElement ) -> JsValue { obj . obj } } impl JsCast for HtmlBodyElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLBodyElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLBodyElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlBodyElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlBodyElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlBodyElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlBodyElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlBodyElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlBodyElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlBodyElement > for Element { # [ inline ] fn from ( obj : HtmlBodyElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlBodyElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlBodyElement > for Node { # [ inline ] fn from ( obj : HtmlBodyElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlBodyElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlBodyElement > for EventTarget { # [ inline ] fn from ( obj : HtmlBodyElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlBodyElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlBodyElement > for Object { # [ inline ] fn from ( obj : HtmlBodyElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlBodyElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/text)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_HTMLBodyElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/text)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_text_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/text)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_text ( & self , text : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_text_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_set_text_HTMLBodyElement ( self_ , text ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/text)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_text ( & self , text : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_link_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `link` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/link)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn link ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_link_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_link_HTMLBodyElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `link` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/link)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn link ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_link_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `link` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/link)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_link ( & self , link : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_link_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , link : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let link = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( link , & mut __stack ) ; __widl_f_set_link_HTMLBodyElement ( self_ , link ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `link` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/link)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_link ( & self , link : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_v_link_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vLink` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/vLink)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn v_link ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_v_link_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_v_link_HTMLBodyElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vLink` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/vLink)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn v_link ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_v_link_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vLink` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/vLink)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_v_link ( & self , v_link : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_v_link_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v_link : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let v_link = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v_link , & mut __stack ) ; __widl_f_set_v_link_HTMLBodyElement ( self_ , v_link ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vLink` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/vLink)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_v_link ( & self , v_link : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_a_link_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `aLink` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/aLink)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn a_link ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_a_link_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_a_link_HTMLBodyElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `aLink` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/aLink)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn a_link ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_a_link_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `aLink` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/aLink)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_a_link ( & self , a_link : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_a_link_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_link : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_link = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_link , & mut __stack ) ; __widl_f_set_a_link_HTMLBodyElement ( self_ , a_link ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `aLink` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/aLink)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_a_link ( & self , a_link : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bg_color_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bgColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn bg_color ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bg_color_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_bg_color_HTMLBodyElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bgColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn bg_color ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_bg_color_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bgColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_bg_color ( & self , bg_color : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_bg_color_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bg_color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let bg_color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bg_color , & mut __stack ) ; __widl_f_set_bg_color_HTMLBodyElement ( self_ , bg_color ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bgColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_bg_color ( & self , bg_color : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_background_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `background` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/background)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn background ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_background_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_background_HTMLBodyElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `background` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/background)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn background ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_background_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `background` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/background)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_background ( & self , background : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_background_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , background : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let background = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( background , & mut __stack ) ; __widl_f_set_background_HTMLBodyElement ( self_ , background ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `background` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/background)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_background ( & self , background : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onafterprint_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onafterprint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onafterprint)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onafterprint ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onafterprint_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onafterprint_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onafterprint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onafterprint)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onafterprint ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onafterprint_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onafterprint` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onafterprint)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onafterprint ( & self , onafterprint : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onafterprint_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onafterprint : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onafterprint = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onafterprint , & mut __stack ) ; __widl_f_set_onafterprint_HTMLBodyElement ( self_ , onafterprint ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onafterprint` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onafterprint)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onafterprint ( & self , onafterprint : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onbeforeprint_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforeprint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeprint)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onbeforeprint ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onbeforeprint_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onbeforeprint_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforeprint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeprint)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onbeforeprint ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onbeforeprint_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforeprint` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeprint)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onbeforeprint ( & self , onbeforeprint : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onbeforeprint_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onbeforeprint : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onbeforeprint = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onbeforeprint , & mut __stack ) ; __widl_f_set_onbeforeprint_HTMLBodyElement ( self_ , onbeforeprint ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforeprint` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeprint)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onbeforeprint ( & self , onbeforeprint : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onbeforeunload_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforeunload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeunload)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onbeforeunload ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onbeforeunload_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onbeforeunload_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforeunload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeunload)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onbeforeunload ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onbeforeunload_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforeunload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeunload)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onbeforeunload ( & self , onbeforeunload : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onbeforeunload_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onbeforeunload : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onbeforeunload = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onbeforeunload , & mut __stack ) ; __widl_f_set_onbeforeunload_HTMLBodyElement ( self_ , onbeforeunload ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforeunload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeunload)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onbeforeunload ( & self , onbeforeunload : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onhashchange_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onhashchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onhashchange)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onhashchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onhashchange_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onhashchange_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onhashchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onhashchange)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onhashchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onhashchange_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onhashchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onhashchange)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onhashchange ( & self , onhashchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onhashchange_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onhashchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onhashchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onhashchange , & mut __stack ) ; __widl_f_set_onhashchange_HTMLBodyElement ( self_ , onhashchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onhashchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onhashchange)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onhashchange ( & self , onhashchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onlanguagechange_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlanguagechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onlanguagechange)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onlanguagechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onlanguagechange_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onlanguagechange_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlanguagechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onlanguagechange)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onlanguagechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onlanguagechange_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlanguagechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onlanguagechange)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onlanguagechange ( & self , onlanguagechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onlanguagechange_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onlanguagechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onlanguagechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onlanguagechange , & mut __stack ) ; __widl_f_set_onlanguagechange_HTMLBodyElement ( self_ , onlanguagechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlanguagechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onlanguagechange)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onlanguagechange ( & self , onlanguagechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessage)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessage)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessage)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_HTMLBodyElement ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessage)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessageerror_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessageerror)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessageerror_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessageerror_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessageerror)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessageerror_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessageerror)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessageerror_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessageerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessageerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessageerror , & mut __stack ) ; __widl_f_set_onmessageerror_HTMLBodyElement ( self_ , onmessageerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessageerror)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onoffline_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onoffline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onoffline)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onoffline ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onoffline_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onoffline_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onoffline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onoffline)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onoffline ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onoffline_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onoffline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onoffline)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onoffline ( & self , onoffline : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onoffline_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onoffline : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onoffline = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onoffline , & mut __stack ) ; __widl_f_set_onoffline_HTMLBodyElement ( self_ , onoffline ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onoffline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onoffline)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onoffline ( & self , onoffline : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ononline_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ononline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/ononline)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn ononline ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ononline_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ononline_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ononline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/ononline)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn ononline ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ononline_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ononline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/ononline)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_ononline ( & self , ononline : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ononline_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ononline : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ononline = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ononline , & mut __stack ) ; __widl_f_set_ononline_HTMLBodyElement ( self_ , ononline ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ononline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/ononline)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_ononline ( & self , ononline : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpagehide_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpagehide` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpagehide)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onpagehide ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpagehide_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpagehide_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpagehide` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpagehide)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onpagehide ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpagehide_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpagehide` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpagehide)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onpagehide ( & self , onpagehide : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpagehide_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpagehide : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpagehide = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpagehide , & mut __stack ) ; __widl_f_set_onpagehide_HTMLBodyElement ( self_ , onpagehide ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpagehide` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpagehide)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onpagehide ( & self , onpagehide : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpageshow_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpageshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpageshow)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onpageshow ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpageshow_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpageshow_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpageshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpageshow)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onpageshow ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpageshow_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpageshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpageshow)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onpageshow ( & self , onpageshow : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpageshow_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpageshow : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpageshow = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpageshow , & mut __stack ) ; __widl_f_set_onpageshow_HTMLBodyElement ( self_ , onpageshow ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpageshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpageshow)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onpageshow ( & self , onpageshow : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpopstate_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpopstate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpopstate)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onpopstate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpopstate_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpopstate_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpopstate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpopstate)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onpopstate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpopstate_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpopstate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpopstate)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onpopstate ( & self , onpopstate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpopstate_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpopstate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpopstate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpopstate , & mut __stack ) ; __widl_f_set_onpopstate_HTMLBodyElement ( self_ , onpopstate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpopstate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpopstate)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onpopstate ( & self , onpopstate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstorage_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstorage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onstorage)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onstorage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstorage_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstorage_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstorage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onstorage)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onstorage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstorage_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstorage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onstorage)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onstorage ( & self , onstorage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstorage_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstorage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstorage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstorage , & mut __stack ) ; __widl_f_set_onstorage_HTMLBodyElement ( self_ , onstorage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstorage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onstorage)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onstorage ( & self , onstorage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onunload_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onunload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onunload)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onunload ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onunload_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onunload_HTMLBodyElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onunload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onunload)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn onunload ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onunload_HTMLBodyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlBodyElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlBodyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onunload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onunload)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onunload ( & self , onunload : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onunload_HTMLBodyElement ( self_ : < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onunload : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlBodyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onunload = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onunload , & mut __stack ) ; __widl_f_set_onunload_HTMLBodyElement ( self_ , onunload ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onunload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onunload)\n\n*This API requires the following crate features to be activated: `HtmlBodyElement`*" ] pub fn set_onunload ( & self , onunload : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLButtonElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] # [ repr ( transparent ) ] pub struct HtmlButtonElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlButtonElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlButtonElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlButtonElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlButtonElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlButtonElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlButtonElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlButtonElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlButtonElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlButtonElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlButtonElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlButtonElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlButtonElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlButtonElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlButtonElement { HtmlButtonElement { obj } } } impl AsRef < JsValue > for HtmlButtonElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlButtonElement > for JsValue { # [ inline ] fn from ( obj : HtmlButtonElement ) -> JsValue { obj . obj } } impl JsCast for HtmlButtonElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLButtonElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLButtonElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlButtonElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlButtonElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlButtonElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlButtonElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlButtonElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlButtonElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlButtonElement > for Element { # [ inline ] fn from ( obj : HtmlButtonElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlButtonElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlButtonElement > for Node { # [ inline ] fn from ( obj : HtmlButtonElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlButtonElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlButtonElement > for EventTarget { # [ inline ] fn from ( obj : HtmlButtonElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlButtonElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlButtonElement > for Object { # [ inline ] fn from ( obj : HtmlButtonElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlButtonElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_check_validity_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn check_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_check_validity_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_check_validity_HTMLButtonElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn check_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_report_validity_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn report_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_report_validity_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_report_validity_HTMLButtonElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn report_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_custom_validity_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_custom_validity_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let error = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error , & mut __stack ) ; __widl_f_set_custom_validity_HTMLButtonElement ( self_ , error ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_autofocus_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autofocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn autofocus ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_autofocus_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_autofocus_HTMLButtonElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autofocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn autofocus ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_autofocus_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autofocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_autofocus ( & self , autofocus : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_autofocus_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , autofocus : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let autofocus = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( autofocus , & mut __stack ) ; __widl_f_set_autofocus_HTMLButtonElement ( self_ , autofocus ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autofocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_autofocus ( & self , autofocus : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disabled_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn disabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disabled_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disabled_HTMLButtonElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn disabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_disabled_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_disabled_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , disabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let disabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( disabled , & mut __stack ) ; __widl_f_set_disabled_HTMLButtonElement ( self_ , disabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < Option < HtmlFormElement > as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/form)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`, `HtmlFormElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_HTMLButtonElement ( self_ ) } ; < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/form)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`, `HtmlFormElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_action_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formAction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formAction)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn form_action ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_action_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_action_HTMLButtonElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formAction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formAction)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn form_action ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_form_action_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formAction` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formAction)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_form_action ( & self , form_action : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_form_action_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , form_action : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let form_action = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( form_action , & mut __stack ) ; __widl_f_set_form_action_HTMLButtonElement ( self_ , form_action ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formAction` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formAction)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_form_action ( & self , form_action : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_enctype_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formEnctype` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formEnctype)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn form_enctype ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_enctype_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_enctype_HTMLButtonElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formEnctype` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formEnctype)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn form_enctype ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_form_enctype_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formEnctype` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formEnctype)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_form_enctype ( & self , form_enctype : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_form_enctype_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , form_enctype : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let form_enctype = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( form_enctype , & mut __stack ) ; __widl_f_set_form_enctype_HTMLButtonElement ( self_ , form_enctype ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formEnctype` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formEnctype)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_form_enctype ( & self , form_enctype : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_method_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formMethod` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formMethod)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn form_method ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_method_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_method_HTMLButtonElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formMethod` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formMethod)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn form_method ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_form_method_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formMethod` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formMethod)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_form_method ( & self , form_method : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_form_method_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , form_method : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let form_method = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( form_method , & mut __stack ) ; __widl_f_set_form_method_HTMLButtonElement ( self_ , form_method ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formMethod` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formMethod)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_form_method ( & self , form_method : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_no_validate_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formNoValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formNoValidate)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn form_no_validate ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_no_validate_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_no_validate_HTMLButtonElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formNoValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formNoValidate)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn form_no_validate ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_form_no_validate_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formNoValidate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formNoValidate)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_form_no_validate ( & self , form_no_validate : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_form_no_validate_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , form_no_validate : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let form_no_validate = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( form_no_validate , & mut __stack ) ; __widl_f_set_form_no_validate_HTMLButtonElement ( self_ , form_no_validate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formNoValidate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formNoValidate)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_form_no_validate ( & self , form_no_validate : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_target_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formTarget` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formTarget)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn form_target ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_target_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_target_HTMLButtonElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formTarget` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formTarget)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn form_target ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_form_target_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formTarget` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formTarget)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_form_target ( & self , form_target : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_form_target_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , form_target : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let form_target = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( form_target , & mut __stack ) ; __widl_f_set_form_target_HTMLButtonElement ( self_ , form_target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formTarget` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/formTarget)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_form_target ( & self , form_target : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/name)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLButtonElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/name)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/name)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLButtonElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/name)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/type)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLButtonElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/type)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/type)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLButtonElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/type)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/value)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_HTMLButtonElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/value)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/value)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_value ( & self , value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_HTMLButtonElement ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/value)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn set_value ( & self , value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_will_validate_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn will_validate ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_will_validate_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_will_validate_HTMLButtonElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn will_validate ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validity_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < ValidityState as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validity_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validity_HTMLButtonElement ( self_ ) } ; < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validation_message_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validation_message_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validation_message_HTMLButtonElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_labels_HTMLButtonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlButtonElement as WasmDescribe > :: describe ( ) ; < NodeList as WasmDescribe > :: describe ( ) ; } impl HtmlButtonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`, `NodeList`*" ] pub fn labels ( & self , ) -> NodeList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_labels_HTMLButtonElement ( self_ : < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlButtonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_labels_HTMLButtonElement ( self_ ) } ; < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlButtonElement`, `NodeList`*" ] pub fn labels ( & self , ) -> NodeList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLCanvasElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] # [ repr ( transparent ) ] pub struct HtmlCanvasElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlCanvasElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlCanvasElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlCanvasElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlCanvasElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlCanvasElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlCanvasElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlCanvasElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlCanvasElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlCanvasElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlCanvasElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlCanvasElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlCanvasElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlCanvasElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlCanvasElement { HtmlCanvasElement { obj } } } impl AsRef < JsValue > for HtmlCanvasElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlCanvasElement > for JsValue { # [ inline ] fn from ( obj : HtmlCanvasElement ) -> JsValue { obj . obj } } impl JsCast for HtmlCanvasElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLCanvasElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLCanvasElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlCanvasElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlCanvasElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlCanvasElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlCanvasElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlCanvasElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlCanvasElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlCanvasElement > for Element { # [ inline ] fn from ( obj : HtmlCanvasElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlCanvasElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlCanvasElement > for Node { # [ inline ] fn from ( obj : HtmlCanvasElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlCanvasElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlCanvasElement > for EventTarget { # [ inline ] fn from ( obj : HtmlCanvasElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlCanvasElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlCanvasElement > for Object { # [ inline ] fn from ( obj : HtmlCanvasElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlCanvasElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_context_HTMLCanvasElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl HtmlCanvasElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getContext()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn get_context ( & self , context_id : & str ) -> Result < Option < :: js_sys :: Object > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_context_HTMLCanvasElement ( self_ : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let context_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_id , & mut __stack ) ; __widl_f_get_context_HTMLCanvasElement ( self_ , context_id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getContext()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn get_context ( & self , context_id : & str ) -> Result < Option < :: js_sys :: Object > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_context_with_context_options_HTMLCanvasElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl HtmlCanvasElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getContext()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn get_context_with_context_options ( & self , context_id : & str , context_options : & :: wasm_bindgen :: JsValue ) -> Result < Option < :: js_sys :: Object > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_context_with_context_options_HTMLCanvasElement ( self_ : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_options : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let context_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_id , & mut __stack ) ; let context_options = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_options , & mut __stack ) ; __widl_f_get_context_with_context_options_HTMLCanvasElement ( self_ , context_id , context_options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getContext()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn get_context_with_context_options ( & self , context_id : & str , context_options : & :: wasm_bindgen :: JsValue ) -> Result < Option < :: js_sys :: Object > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_blob_HTMLCanvasElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlCanvasElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toBlob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn to_blob ( & self , callback : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_blob_HTMLCanvasElement ( self_ : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( callback , & mut __stack ) ; __widl_f_to_blob_HTMLCanvasElement ( self_ , callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toBlob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn to_blob ( & self , callback : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_blob_with_type_HTMLCanvasElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlCanvasElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toBlob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn to_blob_with_type ( & self , callback : & :: js_sys :: Function , type_ : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_blob_with_type_HTMLCanvasElement ( self_ : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( callback , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_to_blob_with_type_HTMLCanvasElement ( self_ , callback , type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toBlob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn to_blob_with_type ( & self , callback : & :: js_sys :: Function , type_ : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_blob_with_type_and_encoder_options_HTMLCanvasElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlCanvasElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toBlob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn to_blob_with_type_and_encoder_options ( & self , callback : & :: js_sys :: Function , type_ : & str , encoder_options : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_blob_with_type_and_encoder_options_HTMLCanvasElement ( self_ : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , encoder_options : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( callback , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let encoder_options = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( encoder_options , & mut __stack ) ; __widl_f_to_blob_with_type_and_encoder_options_HTMLCanvasElement ( self_ , callback , type_ , encoder_options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toBlob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn to_blob_with_type_and_encoder_options ( & self , callback : & :: js_sys :: Function , type_ : & str , encoder_options : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_data_url_HTMLCanvasElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlCanvasElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toDataURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn to_data_url ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_data_url_HTMLCanvasElement ( self_ : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_data_url_HTMLCanvasElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toDataURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn to_data_url ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_data_url_with_type_HTMLCanvasElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlCanvasElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toDataURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn to_data_url_with_type ( & self , type_ : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_data_url_with_type_HTMLCanvasElement ( self_ : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_to_data_url_with_type_HTMLCanvasElement ( self_ , type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toDataURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn to_data_url_with_type ( & self , type_ : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_data_url_with_type_and_encoder_options_HTMLCanvasElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlCanvasElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toDataURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn to_data_url_with_type_and_encoder_options ( & self , type_ : & str , encoder_options : & :: wasm_bindgen :: JsValue ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_data_url_with_type_and_encoder_options_HTMLCanvasElement ( self_ : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , encoder_options : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let encoder_options = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( encoder_options , & mut __stack ) ; __widl_f_to_data_url_with_type_and_encoder_options_HTMLCanvasElement ( self_ , type_ , encoder_options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toDataURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn to_data_url_with_type_and_encoder_options ( & self , type_ : & str , encoder_options : & :: wasm_bindgen :: JsValue ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transfer_control_to_offscreen_HTMLCanvasElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < OffscreenCanvas as WasmDescribe > :: describe ( ) ; } impl HtmlCanvasElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transferControlToOffscreen()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/transferControlToOffscreen)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `OffscreenCanvas`*" ] pub fn transfer_control_to_offscreen ( & self , ) -> Result < OffscreenCanvas , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transfer_control_to_offscreen_HTMLCanvasElement ( self_ : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < OffscreenCanvas as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_transfer_control_to_offscreen_HTMLCanvasElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < OffscreenCanvas as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transferControlToOffscreen()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/transferControlToOffscreen)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `OffscreenCanvas`*" ] pub fn transfer_control_to_offscreen ( & self , ) -> Result < OffscreenCanvas , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_HTMLCanvasElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlCanvasElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/width)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn width ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_HTMLCanvasElement ( self_ : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_HTMLCanvasElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/width)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn width ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_HTMLCanvasElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlCanvasElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/width)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn set_width ( & self , width : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_HTMLCanvasElement ( self_ : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_HTMLCanvasElement ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/width)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn set_width ( & self , width : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_HTMLCanvasElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlCanvasElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/height)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn height ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_HTMLCanvasElement ( self_ : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_HTMLCanvasElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/height)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn height ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_height_HTMLCanvasElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlCanvasElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/height)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn set_height ( & self , height : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_height_HTMLCanvasElement ( self_ : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let height = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_set_height_HTMLCanvasElement ( self_ , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/height)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`*" ] pub fn set_height ( & self , height : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLCollection` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection)\n\n*This API requires the following crate features to be activated: `HtmlCollection`*" ] # [ repr ( transparent ) ] pub struct HtmlCollection { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlCollection : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlCollection { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlCollection { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlCollection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlCollection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlCollection { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlCollection { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlCollection { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlCollection { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlCollection { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlCollection > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlCollection { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlCollection { # [ inline ] fn from ( obj : JsValue ) -> HtmlCollection { HtmlCollection { obj } } } impl AsRef < JsValue > for HtmlCollection { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlCollection > for JsValue { # [ inline ] fn from ( obj : HtmlCollection ) -> JsValue { obj . obj } } impl JsCast for HtmlCollection { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLCollection ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLCollection ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlCollection { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlCollection ) } } } ( ) } ; impl core :: ops :: Deref for HtmlCollection { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < HtmlCollection > for Object { # [ inline ] fn from ( obj : HtmlCollection ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlCollection { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_HTMLCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlCollection as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl HtmlCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/item)\n\n*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] pub fn item ( & self , index : u32 ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_HTMLCollection ( self_ : < & HtmlCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_HTMLCollection ( self_ , index ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/item)\n\n*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] pub fn item ( & self , index : u32 ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_named_item_HTMLCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlCollection as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl HtmlCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/namedItem)\n\n*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] pub fn named_item ( & self , name : & str ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_named_item_HTMLCollection ( self_ : < & HtmlCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_named_item_HTMLCollection ( self_ , name ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/namedItem)\n\n*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] pub fn named_item ( & self , name : & str ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_index_HTMLCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlCollection as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl HtmlCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] pub fn get_with_index ( & self , index : u32 ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_index_HTMLCollection ( self_ : < & HtmlCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_with_index_HTMLCollection ( self_ , index ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] pub fn get_with_index ( & self , index : u32 ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_name_HTMLCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlCollection as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl HtmlCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] pub fn get_with_name ( & self , name : & str ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_name_HTMLCollection ( self_ : < & HtmlCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_with_name_HTMLCollection ( self_ , name ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] pub fn get_with_name ( & self , name : & str ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_HTMLCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlCollection as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/length)\n\n*This API requires the following crate features to be activated: `HtmlCollection`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_HTMLCollection ( self_ : < & HtmlCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_HTMLCollection ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/length)\n\n*This API requires the following crate features to be activated: `HtmlCollection`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLDListElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement)\n\n*This API requires the following crate features to be activated: `HtmlDListElement`*" ] # [ repr ( transparent ) ] pub struct HtmlDListElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlDListElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlDListElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlDListElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlDListElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlDListElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlDListElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlDListElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlDListElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlDListElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlDListElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlDListElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlDListElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlDListElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlDListElement { HtmlDListElement { obj } } } impl AsRef < JsValue > for HtmlDListElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlDListElement > for JsValue { # [ inline ] fn from ( obj : HtmlDListElement ) -> JsValue { obj . obj } } impl JsCast for HtmlDListElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLDListElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLDListElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlDListElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlDListElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlDListElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlDListElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlDListElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlDListElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDListElement > for Element { # [ inline ] fn from ( obj : HtmlDListElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlDListElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDListElement > for Node { # [ inline ] fn from ( obj : HtmlDListElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlDListElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDListElement > for EventTarget { # [ inline ] fn from ( obj : HtmlDListElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlDListElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDListElement > for Object { # [ inline ] fn from ( obj : HtmlDListElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlDListElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compact_HTMLDListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDListElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlDListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compact` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlDListElement`*" ] pub fn compact ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compact_HTMLDListElement ( self_ : < & HtmlDListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_compact_HTMLDListElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compact` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlDListElement`*" ] pub fn compact ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_compact_HTMLDListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDListElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compact` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlDListElement`*" ] pub fn set_compact ( & self , compact : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_compact_HTMLDListElement ( self_ : < & HtmlDListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , compact : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let compact = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( compact , & mut __stack ) ; __widl_f_set_compact_HTMLDListElement ( self_ , compact ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compact` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlDListElement`*" ] pub fn set_compact ( & self , compact : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLDataElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement)\n\n*This API requires the following crate features to be activated: `HtmlDataElement`*" ] # [ repr ( transparent ) ] pub struct HtmlDataElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlDataElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlDataElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlDataElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlDataElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlDataElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlDataElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlDataElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlDataElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlDataElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlDataElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlDataElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlDataElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlDataElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlDataElement { HtmlDataElement { obj } } } impl AsRef < JsValue > for HtmlDataElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlDataElement > for JsValue { # [ inline ] fn from ( obj : HtmlDataElement ) -> JsValue { obj . obj } } impl JsCast for HtmlDataElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLDataElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLDataElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlDataElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlDataElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlDataElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlDataElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlDataElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlDataElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDataElement > for Element { # [ inline ] fn from ( obj : HtmlDataElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlDataElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDataElement > for Node { # [ inline ] fn from ( obj : HtmlDataElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlDataElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDataElement > for EventTarget { # [ inline ] fn from ( obj : HtmlDataElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlDataElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDataElement > for Object { # [ inline ] fn from ( obj : HtmlDataElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlDataElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_HTMLDataElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDataElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlDataElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement/value)\n\n*This API requires the following crate features to be activated: `HtmlDataElement`*" ] pub fn value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_HTMLDataElement ( self_ : < & HtmlDataElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDataElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_HTMLDataElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement/value)\n\n*This API requires the following crate features to be activated: `HtmlDataElement`*" ] pub fn value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_HTMLDataElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDataElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDataElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement/value)\n\n*This API requires the following crate features to be activated: `HtmlDataElement`*" ] pub fn set_value ( & self , value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_HTMLDataElement ( self_ : < & HtmlDataElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDataElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_HTMLDataElement ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement/value)\n\n*This API requires the following crate features to be activated: `HtmlDataElement`*" ] pub fn set_value ( & self , value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLDataListElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement)\n\n*This API requires the following crate features to be activated: `HtmlDataListElement`*" ] # [ repr ( transparent ) ] pub struct HtmlDataListElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlDataListElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlDataListElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlDataListElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlDataListElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlDataListElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlDataListElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlDataListElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlDataListElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlDataListElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlDataListElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlDataListElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlDataListElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlDataListElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlDataListElement { HtmlDataListElement { obj } } } impl AsRef < JsValue > for HtmlDataListElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlDataListElement > for JsValue { # [ inline ] fn from ( obj : HtmlDataListElement ) -> JsValue { obj . obj } } impl JsCast for HtmlDataListElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLDataListElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLDataListElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlDataListElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlDataListElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlDataListElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlDataListElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlDataListElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlDataListElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDataListElement > for Element { # [ inline ] fn from ( obj : HtmlDataListElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlDataListElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDataListElement > for Node { # [ inline ] fn from ( obj : HtmlDataListElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlDataListElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDataListElement > for EventTarget { # [ inline ] fn from ( obj : HtmlDataListElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlDataListElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDataListElement > for Object { # [ inline ] fn from ( obj : HtmlDataListElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlDataListElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_options_HTMLDataListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDataListElement as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl HtmlDataListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `options` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement/options)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlDataListElement`*" ] pub fn options ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_options_HTMLDataListElement ( self_ : < & HtmlDataListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDataListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_options_HTMLDataListElement ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `options` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement/options)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlDataListElement`*" ] pub fn options ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLDetailsElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement)\n\n*This API requires the following crate features to be activated: `HtmlDetailsElement`*" ] # [ repr ( transparent ) ] pub struct HtmlDetailsElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlDetailsElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlDetailsElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlDetailsElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlDetailsElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlDetailsElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlDetailsElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlDetailsElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlDetailsElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlDetailsElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlDetailsElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlDetailsElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlDetailsElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlDetailsElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlDetailsElement { HtmlDetailsElement { obj } } } impl AsRef < JsValue > for HtmlDetailsElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlDetailsElement > for JsValue { # [ inline ] fn from ( obj : HtmlDetailsElement ) -> JsValue { obj . obj } } impl JsCast for HtmlDetailsElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLDetailsElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLDetailsElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlDetailsElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlDetailsElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlDetailsElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlDetailsElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlDetailsElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlDetailsElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDetailsElement > for Element { # [ inline ] fn from ( obj : HtmlDetailsElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlDetailsElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDetailsElement > for Node { # [ inline ] fn from ( obj : HtmlDetailsElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlDetailsElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDetailsElement > for EventTarget { # [ inline ] fn from ( obj : HtmlDetailsElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlDetailsElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDetailsElement > for Object { # [ inline ] fn from ( obj : HtmlDetailsElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlDetailsElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_HTMLDetailsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDetailsElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlDetailsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement/open)\n\n*This API requires the following crate features to be activated: `HtmlDetailsElement`*" ] pub fn open ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_HTMLDetailsElement ( self_ : < & HtmlDetailsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDetailsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_open_HTMLDetailsElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement/open)\n\n*This API requires the following crate features to be activated: `HtmlDetailsElement`*" ] pub fn open ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_open_HTMLDetailsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDetailsElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDetailsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement/open)\n\n*This API requires the following crate features to be activated: `HtmlDetailsElement`*" ] pub fn set_open ( & self , open : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_open_HTMLDetailsElement ( self_ : < & HtmlDetailsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , open : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDetailsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let open = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( open , & mut __stack ) ; __widl_f_set_open_HTMLDetailsElement ( self_ , open ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement/open)\n\n*This API requires the following crate features to be activated: `HtmlDetailsElement`*" ] pub fn set_open ( & self , open : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLDialogElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] # [ repr ( transparent ) ] pub struct HtmlDialogElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlDialogElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlDialogElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlDialogElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlDialogElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlDialogElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlDialogElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlDialogElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlDialogElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlDialogElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlDialogElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlDialogElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlDialogElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlDialogElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlDialogElement { HtmlDialogElement { obj } } } impl AsRef < JsValue > for HtmlDialogElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlDialogElement > for JsValue { # [ inline ] fn from ( obj : HtmlDialogElement ) -> JsValue { obj . obj } } impl JsCast for HtmlDialogElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLDialogElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLDialogElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlDialogElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlDialogElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlDialogElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlDialogElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlDialogElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlDialogElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDialogElement > for Element { # [ inline ] fn from ( obj : HtmlDialogElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlDialogElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDialogElement > for Node { # [ inline ] fn from ( obj : HtmlDialogElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlDialogElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDialogElement > for EventTarget { # [ inline ] fn from ( obj : HtmlDialogElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlDialogElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDialogElement > for Object { # [ inline ] fn from ( obj : HtmlDialogElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlDialogElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_HTMLDialogElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDialogElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDialogElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/close)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_HTMLDialogElement ( self_ : < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_HTMLDialogElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/close)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_with_return_value_HTMLDialogElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDialogElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDialogElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/close)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn close_with_return_value ( & self , return_value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_with_return_value_HTMLDialogElement ( self_ : < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , return_value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let return_value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( return_value , & mut __stack ) ; __widl_f_close_with_return_value_HTMLDialogElement ( self_ , return_value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/close)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn close_with_return_value ( & self , return_value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_show_HTMLDialogElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDialogElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDialogElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `show()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/show)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn show ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_show_HTMLDialogElement ( self_ : < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_show_HTMLDialogElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `show()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/show)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn show ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_show_modal_HTMLDialogElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDialogElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDialogElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `showModal()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/showModal)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn show_modal ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_show_modal_HTMLDialogElement ( self_ : < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_show_modal_HTMLDialogElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `showModal()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/showModal)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn show_modal ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_HTMLDialogElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDialogElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlDialogElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/open)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn open ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_HTMLDialogElement ( self_ : < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_open_HTMLDialogElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/open)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn open ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_open_HTMLDialogElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDialogElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDialogElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/open)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn set_open ( & self , open : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_open_HTMLDialogElement ( self_ : < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , open : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let open = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( open , & mut __stack ) ; __widl_f_set_open_HTMLDialogElement ( self_ , open ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/open)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn set_open ( & self , open : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_return_value_HTMLDialogElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDialogElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlDialogElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `returnValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/returnValue)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn return_value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_return_value_HTMLDialogElement ( self_ : < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_return_value_HTMLDialogElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `returnValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/returnValue)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn return_value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_return_value_HTMLDialogElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDialogElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDialogElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `returnValue` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/returnValue)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn set_return_value ( & self , return_value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_return_value_HTMLDialogElement ( self_ : < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , return_value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDialogElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let return_value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( return_value , & mut __stack ) ; __widl_f_set_return_value_HTMLDialogElement ( self_ , return_value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `returnValue` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/returnValue)\n\n*This API requires the following crate features to be activated: `HtmlDialogElement`*" ] pub fn set_return_value ( & self , return_value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLDirectoryElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDirectoryElement)\n\n*This API requires the following crate features to be activated: `HtmlDirectoryElement`*" ] # [ repr ( transparent ) ] pub struct HtmlDirectoryElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlDirectoryElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlDirectoryElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlDirectoryElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlDirectoryElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlDirectoryElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlDirectoryElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlDirectoryElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlDirectoryElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlDirectoryElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlDirectoryElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlDirectoryElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlDirectoryElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlDirectoryElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlDirectoryElement { HtmlDirectoryElement { obj } } } impl AsRef < JsValue > for HtmlDirectoryElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlDirectoryElement > for JsValue { # [ inline ] fn from ( obj : HtmlDirectoryElement ) -> JsValue { obj . obj } } impl JsCast for HtmlDirectoryElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLDirectoryElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLDirectoryElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlDirectoryElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlDirectoryElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlDirectoryElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlDirectoryElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlDirectoryElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlDirectoryElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDirectoryElement > for Element { # [ inline ] fn from ( obj : HtmlDirectoryElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlDirectoryElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDirectoryElement > for Node { # [ inline ] fn from ( obj : HtmlDirectoryElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlDirectoryElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDirectoryElement > for EventTarget { # [ inline ] fn from ( obj : HtmlDirectoryElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlDirectoryElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDirectoryElement > for Object { # [ inline ] fn from ( obj : HtmlDirectoryElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlDirectoryElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compact_HTMLDirectoryElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDirectoryElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlDirectoryElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compact` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDirectoryElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlDirectoryElement`*" ] pub fn compact ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compact_HTMLDirectoryElement ( self_ : < & HtmlDirectoryElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDirectoryElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_compact_HTMLDirectoryElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compact` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDirectoryElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlDirectoryElement`*" ] pub fn compact ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_compact_HTMLDirectoryElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDirectoryElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDirectoryElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compact` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDirectoryElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlDirectoryElement`*" ] pub fn set_compact ( & self , compact : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_compact_HTMLDirectoryElement ( self_ : < & HtmlDirectoryElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , compact : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDirectoryElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let compact = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( compact , & mut __stack ) ; __widl_f_set_compact_HTMLDirectoryElement ( self_ , compact ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compact` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDirectoryElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlDirectoryElement`*" ] pub fn set_compact ( & self , compact : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLDivElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement)\n\n*This API requires the following crate features to be activated: `HtmlDivElement`*" ] # [ repr ( transparent ) ] pub struct HtmlDivElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlDivElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlDivElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlDivElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlDivElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlDivElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlDivElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlDivElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlDivElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlDivElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlDivElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlDivElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlDivElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlDivElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlDivElement { HtmlDivElement { obj } } } impl AsRef < JsValue > for HtmlDivElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlDivElement > for JsValue { # [ inline ] fn from ( obj : HtmlDivElement ) -> JsValue { obj . obj } } impl JsCast for HtmlDivElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLDivElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLDivElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlDivElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlDivElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlDivElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlDivElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlDivElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlDivElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDivElement > for Element { # [ inline ] fn from ( obj : HtmlDivElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlDivElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDivElement > for Node { # [ inline ] fn from ( obj : HtmlDivElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlDivElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDivElement > for EventTarget { # [ inline ] fn from ( obj : HtmlDivElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlDivElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDivElement > for Object { # [ inline ] fn from ( obj : HtmlDivElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlDivElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLDivElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDivElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlDivElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement/align)\n\n*This API requires the following crate features to be activated: `HtmlDivElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLDivElement ( self_ : < & HtmlDivElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDivElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLDivElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement/align)\n\n*This API requires the following crate features to be activated: `HtmlDivElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLDivElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDivElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDivElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement/align)\n\n*This API requires the following crate features to be activated: `HtmlDivElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLDivElement ( self_ : < & HtmlDivElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDivElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLDivElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement/align)\n\n*This API requires the following crate features to be activated: `HtmlDivElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLDocument` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] # [ repr ( transparent ) ] pub struct HtmlDocument { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlDocument : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlDocument { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlDocument { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlDocument { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlDocument { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlDocument { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlDocument { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlDocument { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlDocument { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlDocument { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlDocument > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlDocument { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlDocument { # [ inline ] fn from ( obj : JsValue ) -> HtmlDocument { HtmlDocument { obj } } } impl AsRef < JsValue > for HtmlDocument { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlDocument > for JsValue { # [ inline ] fn from ( obj : HtmlDocument ) -> JsValue { obj . obj } } impl JsCast for HtmlDocument { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLDocument ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLDocument ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlDocument { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlDocument ) } } } ( ) } ; impl core :: ops :: Deref for HtmlDocument { type Target = Document ; # [ inline ] fn deref ( & self ) -> & Document { self . as_ref ( ) } } impl From < HtmlDocument > for Document { # [ inline ] fn from ( obj : HtmlDocument ) -> Document { use wasm_bindgen :: JsCast ; Document :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Document > for HtmlDocument { # [ inline ] fn as_ref ( & self ) -> & Document { use wasm_bindgen :: JsCast ; Document :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDocument > for Node { # [ inline ] fn from ( obj : HtmlDocument ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlDocument { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDocument > for EventTarget { # [ inline ] fn from ( obj : HtmlDocument ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlDocument { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlDocument > for Object { # [ inline ] fn from ( obj : HtmlDocument ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlDocument { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_capture_events_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `captureEvents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/captureEvents)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn capture_events ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_capture_events_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_capture_events_HTMLDocument ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `captureEvents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/captureEvents)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn capture_events ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/clear)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn clear ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_HTMLDocument ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/clear)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn clear ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/close)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn close ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_HTMLDocument ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/close)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn close ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exec_command_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `execCommand()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/execCommand)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn exec_command ( & self , command_id : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exec_command_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , command_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let command_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( command_id , & mut __stack ) ; __widl_f_exec_command_HTMLDocument ( self_ , command_id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `execCommand()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/execCommand)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn exec_command ( & self , command_id : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exec_command_with_show_ui_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `execCommand()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/execCommand)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn exec_command_with_show_ui ( & self , command_id : & str , show_ui : bool ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exec_command_with_show_ui_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , command_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , show_ui : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let command_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( command_id , & mut __stack ) ; let show_ui = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( show_ui , & mut __stack ) ; __widl_f_exec_command_with_show_ui_HTMLDocument ( self_ , command_id , show_ui , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `execCommand()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/execCommand)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn exec_command_with_show_ui ( & self , command_id : & str , show_ui : bool ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exec_command_with_show_ui_and_value_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `execCommand()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/execCommand)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn exec_command_with_show_ui_and_value ( & self , command_id : & str , show_ui : bool , value : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exec_command_with_show_ui_and_value_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , command_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , show_ui : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let command_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( command_id , & mut __stack ) ; let show_ui = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( show_ui , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_exec_command_with_show_ui_and_value_HTMLDocument ( self_ , command_id , show_ui , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `execCommand()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/execCommand)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn exec_command_with_show_ui_and_value ( & self , command_id : & str , show_ui : bool , value : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < Document as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlDocument`*" ] pub fn open ( & self , ) -> Result < Document , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_open_HTMLDocument ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlDocument`*" ] pub fn open ( & self , ) -> Result < Document , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_with_type_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Document as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlDocument`*" ] pub fn open_with_type ( & self , type_ : & str ) -> Result < Document , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_with_type_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_open_with_type_HTMLDocument ( self_ , type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlDocument`*" ] pub fn open_with_type ( & self , type_ : & str ) -> Result < Document , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_with_type_and_replace_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Document as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlDocument`*" ] pub fn open_with_type_and_replace ( & self , type_ : & str , replace : & str ) -> Result < Document , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_with_type_and_replace_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , replace : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let replace = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( replace , & mut __stack ) ; __widl_f_open_with_type_and_replace_HTMLDocument ( self_ , type_ , replace , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlDocument`*" ] pub fn open_with_type_and_replace ( & self , type_ : & str , replace : & str ) -> Result < Document , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_with_url_and_name_and_features_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)\n\n*This API requires the following crate features to be activated: `HtmlDocument`, `Window`*" ] pub fn open_with_url_and_name_and_features ( & self , url : & str , name : & str , features : & str ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_with_url_and_name_and_features_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , features : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let features = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( features , & mut __stack ) ; __widl_f_open_with_url_and_name_and_features_HTMLDocument ( self_ , url , name , features , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)\n\n*This API requires the following crate features to be activated: `HtmlDocument`, `Window`*" ] pub fn open_with_url_and_name_and_features ( & self , url : & str , name : & str , features : & str ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_with_url_and_name_and_features_and_replace_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)\n\n*This API requires the following crate features to be activated: `HtmlDocument`, `Window`*" ] pub fn open_with_url_and_name_and_features_and_replace ( & self , url : & str , name : & str , features : & str , replace : bool ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_with_url_and_name_and_features_and_replace_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , features : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , replace : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let features = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( features , & mut __stack ) ; let replace = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( replace , & mut __stack ) ; __widl_f_open_with_url_and_name_and_features_and_replace_HTMLDocument ( self_ , url , name , features , replace , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)\n\n*This API requires the following crate features to be activated: `HtmlDocument`, `Window`*" ] pub fn open_with_url_and_name_and_features_and_replace ( & self , url : & str , name : & str , features : & str , replace : bool ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_query_command_enabled_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `queryCommandEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandEnabled)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn query_command_enabled ( & self , command_id : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_query_command_enabled_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , command_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let command_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( command_id , & mut __stack ) ; __widl_f_query_command_enabled_HTMLDocument ( self_ , command_id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `queryCommandEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandEnabled)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn query_command_enabled ( & self , command_id : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_query_command_indeterm_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `queryCommandIndeterm()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandIndeterm)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn query_command_indeterm ( & self , command_id : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_query_command_indeterm_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , command_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let command_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( command_id , & mut __stack ) ; __widl_f_query_command_indeterm_HTMLDocument ( self_ , command_id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `queryCommandIndeterm()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandIndeterm)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn query_command_indeterm ( & self , command_id : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_query_command_state_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `queryCommandState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandState)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn query_command_state ( & self , command_id : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_query_command_state_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , command_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let command_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( command_id , & mut __stack ) ; __widl_f_query_command_state_HTMLDocument ( self_ , command_id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `queryCommandState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandState)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn query_command_state ( & self , command_id : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_query_command_supported_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `queryCommandSupported()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandSupported)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn query_command_supported ( & self , command_id : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_query_command_supported_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , command_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let command_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( command_id , & mut __stack ) ; __widl_f_query_command_supported_HTMLDocument ( self_ , command_id ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `queryCommandSupported()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandSupported)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn query_command_supported ( & self , command_id : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_query_command_value_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `queryCommandValue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandValue)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn query_command_value ( & self , command_id : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_query_command_value_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , command_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let command_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( command_id , & mut __stack ) ; __widl_f_query_command_value_HTMLDocument ( self_ , command_id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `queryCommandValue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandValue)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn query_command_value ( & self , command_id : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_release_events_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `releaseEvents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/releaseEvents)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn release_events ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_release_events_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_release_events_HTMLDocument ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `releaseEvents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/releaseEvents)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn release_events ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write ( & self , text : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_write_HTMLDocument ( self_ , text , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write ( & self , text : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_0_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_0_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_write_0_HTMLDocument ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_1_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_1 ( & self , text_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_1_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; __widl_f_write_1_HTMLDocument ( self_ , text_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_1 ( & self , text_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_2_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_2 ( & self , text_1 : & str , text_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_2_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; let text_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_2 , & mut __stack ) ; __widl_f_write_2_HTMLDocument ( self_ , text_1 , text_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_2 ( & self , text_1 : & str , text_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_3_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_3 ( & self , text_1 : & str , text_2 : & str , text_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_3_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; let text_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_2 , & mut __stack ) ; let text_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_3 , & mut __stack ) ; __widl_f_write_3_HTMLDocument ( self_ , text_1 , text_2 , text_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_3 ( & self , text_1 : & str , text_2 : & str , text_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_4_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_4 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_4_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; let text_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_2 , & mut __stack ) ; let text_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_3 , & mut __stack ) ; let text_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_4 , & mut __stack ) ; __widl_f_write_4_HTMLDocument ( self_ , text_1 , text_2 , text_3 , text_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_4 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_5_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_5 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str , text_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_5_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; let text_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_2 , & mut __stack ) ; let text_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_3 , & mut __stack ) ; let text_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_4 , & mut __stack ) ; let text_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_5 , & mut __stack ) ; __widl_f_write_5_HTMLDocument ( self_ , text_1 , text_2 , text_3 , text_4 , text_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_5 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str , text_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_6_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_6 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str , text_5 : & str , text_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_6_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; let text_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_2 , & mut __stack ) ; let text_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_3 , & mut __stack ) ; let text_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_4 , & mut __stack ) ; let text_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_5 , & mut __stack ) ; let text_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_6 , & mut __stack ) ; __widl_f_write_6_HTMLDocument ( self_ , text_1 , text_2 , text_3 , text_4 , text_5 , text_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_6 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str , text_5 : & str , text_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_7_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_7 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str , text_5 : & str , text_6 : & str , text_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_7_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; let text_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_2 , & mut __stack ) ; let text_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_3 , & mut __stack ) ; let text_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_4 , & mut __stack ) ; let text_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_5 , & mut __stack ) ; let text_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_6 , & mut __stack ) ; let text_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_7 , & mut __stack ) ; __widl_f_write_7_HTMLDocument ( self_ , text_1 , text_2 , text_3 , text_4 , text_5 , text_6 , text_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn write_7 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str , text_5 : & str , text_6 : & str , text_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_writeln_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln ( & self , text : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_writeln_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_writeln_HTMLDocument ( self_ , text , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln ( & self , text : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_writeln_0_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_writeln_0_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_writeln_0_HTMLDocument ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_writeln_1_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_1 ( & self , text_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_writeln_1_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; __widl_f_writeln_1_HTMLDocument ( self_ , text_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_1 ( & self , text_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_writeln_2_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_2 ( & self , text_1 : & str , text_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_writeln_2_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; let text_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_2 , & mut __stack ) ; __widl_f_writeln_2_HTMLDocument ( self_ , text_1 , text_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_2 ( & self , text_1 : & str , text_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_writeln_3_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_3 ( & self , text_1 : & str , text_2 : & str , text_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_writeln_3_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; let text_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_2 , & mut __stack ) ; let text_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_3 , & mut __stack ) ; __widl_f_writeln_3_HTMLDocument ( self_ , text_1 , text_2 , text_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_3 ( & self , text_1 : & str , text_2 : & str , text_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_writeln_4_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_4 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_writeln_4_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; let text_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_2 , & mut __stack ) ; let text_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_3 , & mut __stack ) ; let text_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_4 , & mut __stack ) ; __widl_f_writeln_4_HTMLDocument ( self_ , text_1 , text_2 , text_3 , text_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_4 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_writeln_5_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_5 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str , text_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_writeln_5_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; let text_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_2 , & mut __stack ) ; let text_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_3 , & mut __stack ) ; let text_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_4 , & mut __stack ) ; let text_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_5 , & mut __stack ) ; __widl_f_writeln_5_HTMLDocument ( self_ , text_1 , text_2 , text_3 , text_4 , text_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_5 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str , text_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_writeln_6_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_6 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str , text_5 : & str , text_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_writeln_6_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; let text_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_2 , & mut __stack ) ; let text_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_3 , & mut __stack ) ; let text_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_4 , & mut __stack ) ; let text_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_5 , & mut __stack ) ; let text_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_6 , & mut __stack ) ; __widl_f_writeln_6_HTMLDocument ( self_ , text_1 , text_2 , text_3 , text_4 , text_5 , text_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_6 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str , text_5 : & str , text_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_writeln_7_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_7 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str , text_5 : & str , text_6 : & str , text_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_writeln_7_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_1 , & mut __stack ) ; let text_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_2 , & mut __stack ) ; let text_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_3 , & mut __stack ) ; let text_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_4 , & mut __stack ) ; let text_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_5 , & mut __stack ) ; let text_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_6 , & mut __stack ) ; let text_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_7 , & mut __stack ) ; __widl_f_writeln_7_HTMLDocument ( self_ , text_1 , text_2 , text_3 , text_4 , text_5 , text_6 , text_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `writeln()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn writeln_7 ( & self , text_1 : & str , text_2 : & str , text_3 : & str , text_4 : & str , text_5 : & str , text_6 : & str , text_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn get ( & self , name : & str ) -> Result < :: js_sys :: Object , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_HTMLDocument ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn get ( & self , name : & str ) -> Result < :: js_sys :: Object , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_domain_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domain` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/domain)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn domain ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_domain_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_domain_HTMLDocument ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domain` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/domain)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn domain ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_domain_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domain` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/domain)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_domain ( & self , domain : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_domain_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , domain : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let domain = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( domain , & mut __stack ) ; __widl_f_set_domain_HTMLDocument ( self_ , domain ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domain` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/domain)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_domain ( & self , domain : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cookie_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cookie` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/cookie)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn cookie ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cookie_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cookie_HTMLDocument ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cookie` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/cookie)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn cookie ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cookie_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cookie` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/cookie)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_cookie ( & self , cookie : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cookie_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cookie : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cookie = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cookie , & mut __stack ) ; __widl_f_set_cookie_HTMLDocument ( self_ , cookie , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cookie` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/cookie)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_cookie ( & self , cookie : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_design_mode_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `designMode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/designMode)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn design_mode ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_design_mode_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_design_mode_HTMLDocument ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `designMode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/designMode)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn design_mode ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_design_mode_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `designMode` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/designMode)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_design_mode ( & self , design_mode : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_design_mode_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , design_mode : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let design_mode = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( design_mode , & mut __stack ) ; __widl_f_set_design_mode_HTMLDocument ( self_ , design_mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `designMode` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/designMode)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_design_mode ( & self , design_mode : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fg_color_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fgColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/fgColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn fg_color ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fg_color_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fg_color_HTMLDocument ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fgColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/fgColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn fg_color ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_fg_color_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fgColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/fgColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_fg_color ( & self , fg_color : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_fg_color_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , fg_color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let fg_color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( fg_color , & mut __stack ) ; __widl_f_set_fg_color_HTMLDocument ( self_ , fg_color ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fgColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/fgColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_fg_color ( & self , fg_color : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_link_color_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `linkColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/linkColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn link_color ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_link_color_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_link_color_HTMLDocument ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `linkColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/linkColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn link_color ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_link_color_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `linkColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/linkColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_link_color ( & self , link_color : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_link_color_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , link_color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let link_color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( link_color , & mut __stack ) ; __widl_f_set_link_color_HTMLDocument ( self_ , link_color ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `linkColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/linkColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_link_color ( & self , link_color : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vlink_color_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vlinkColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/vlinkColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn vlink_color ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vlink_color_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_vlink_color_HTMLDocument ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vlinkColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/vlinkColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn vlink_color ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_vlink_color_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vlinkColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/vlinkColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_vlink_color ( & self , vlink_color : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_vlink_color_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , vlink_color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let vlink_color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( vlink_color , & mut __stack ) ; __widl_f_set_vlink_color_HTMLDocument ( self_ , vlink_color ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vlinkColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/vlinkColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_vlink_color ( & self , vlink_color : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_alink_color_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `alinkColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/alinkColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn alink_color ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_alink_color_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_alink_color_HTMLDocument ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `alinkColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/alinkColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn alink_color ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_alink_color_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `alinkColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/alinkColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_alink_color ( & self , alink_color : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_alink_color_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alink_color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let alink_color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alink_color , & mut __stack ) ; __widl_f_set_alink_color_HTMLDocument ( self_ , alink_color ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `alinkColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/alinkColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_alink_color ( & self , alink_color : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bg_color_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bgColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn bg_color ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bg_color_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_bg_color_HTMLDocument ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bgColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn bg_color ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_bg_color_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bgColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_bg_color ( & self , bg_color : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_bg_color_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bg_color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let bg_color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bg_color , & mut __stack ) ; __widl_f_set_bg_color_HTMLDocument ( self_ , bg_color ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bgColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlDocument`*" ] pub fn set_bg_color ( & self , bg_color : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_all_HTMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlDocument as WasmDescribe > :: describe ( ) ; < HtmlAllCollection as WasmDescribe > :: describe ( ) ; } impl HtmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `all` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/all)\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`, `HtmlDocument`*" ] pub fn all ( & self , ) -> HtmlAllCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_all_HTMLDocument ( self_ : < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlAllCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_all_HTMLDocument ( self_ ) } ; < HtmlAllCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `all` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/all)\n\n*This API requires the following crate features to be activated: `HtmlAllCollection`, `HtmlDocument`*" ] pub fn all ( & self , ) -> HtmlAllCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] # [ repr ( transparent ) ] pub struct HtmlElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlElement { HtmlElement { obj } } } impl AsRef < JsValue > for HtmlElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlElement > for JsValue { # [ inline ] fn from ( obj : HtmlElement ) -> JsValue { obj . obj } } impl JsCast for HtmlElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlElement { type Target = Element ; # [ inline ] fn deref ( & self ) -> & Element { self . as_ref ( ) } } impl From < HtmlElement > for Element { # [ inline ] fn from ( obj : HtmlElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlElement > for Node { # [ inline ] fn from ( obj : HtmlElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlElement > for EventTarget { # [ inline ] fn from ( obj : HtmlElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlElement > for Object { # [ inline ] fn from ( obj : HtmlElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blur_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blur()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/blur)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn blur ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blur_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_blur_HTMLElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blur()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/blur)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn blur ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_click_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `click()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn click ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_click_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_click_HTMLElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `click()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn click ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_focus_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `focus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn focus ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_focus_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_focus_HTMLElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `focus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn focus ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_title_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `title` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/title)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn title ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_title_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_title_HTMLElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `title` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/title)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn title ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_title_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `title` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/title)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_title ( & self , title : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_title_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; __widl_f_set_title_HTMLElement ( self_ , title ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `title` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/title)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_title ( & self , title : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lang_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn lang ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lang_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_lang_HTMLElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn lang ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_lang_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_lang ( & self , lang : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_lang_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , lang : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let lang = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lang , & mut __stack ) ; __widl_f_set_lang_HTMLElement ( self_ , lang ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_lang ( & self , lang : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dir_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dir` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dir)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn dir ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dir_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dir_HTMLElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dir` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dir)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn dir ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_dir_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dir` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dir)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_dir ( & self , dir : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_dir_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dir : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let dir = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dir , & mut __stack ) ; __widl_f_set_dir_HTMLElement ( self_ , dir ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dir` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dir)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_dir ( & self , dir : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dataset_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < DomStringMap as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dataset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset)\n\n*This API requires the following crate features to be activated: `DomStringMap`, `HtmlElement`*" ] pub fn dataset ( & self , ) -> DomStringMap { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dataset_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomStringMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dataset_HTMLElement ( self_ ) } ; < DomStringMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dataset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset)\n\n*This API requires the following crate features to be activated: `DomStringMap`, `HtmlElement`*" ] pub fn dataset ( & self , ) -> DomStringMap { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_inner_text_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `innerText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn inner_text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_inner_text_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_inner_text_HTMLElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `innerText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn inner_text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_inner_text_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `innerText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_inner_text ( & self , inner_text : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_inner_text_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , inner_text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let inner_text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( inner_text , & mut __stack ) ; __widl_f_set_inner_text_HTMLElement ( self_ , inner_text ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `innerText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_inner_text ( & self , inner_text : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hidden_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hidden` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidden)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn hidden ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hidden_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hidden_HTMLElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hidden` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidden)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn hidden ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_hidden_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hidden` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidden)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_hidden ( & self , hidden : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_hidden_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , hidden : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let hidden = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( hidden , & mut __stack ) ; __widl_f_set_hidden_HTMLElement ( self_ , hidden ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hidden` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidden)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_hidden ( & self , hidden : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tab_index_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tabIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn tab_index ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tab_index_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_tab_index_HTMLElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tabIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn tab_index ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_tab_index_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tabIndex` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_tab_index ( & self , tab_index : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_tab_index_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tab_index : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tab_index = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tab_index , & mut __stack ) ; __widl_f_set_tab_index_HTMLElement ( self_ , tab_index ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tabIndex` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_tab_index ( & self , tab_index : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_access_key_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `accessKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKey)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn access_key ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_access_key_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_access_key_HTMLElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `accessKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKey)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn access_key ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_access_key_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `accessKey` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKey)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_access_key ( & self , access_key : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_access_key_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , access_key : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let access_key = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( access_key , & mut __stack ) ; __widl_f_set_access_key_HTMLElement ( self_ , access_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `accessKey` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKey)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_access_key ( & self , access_key : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_access_key_label_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `accessKeyLabel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKeyLabel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn access_key_label ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_access_key_label_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_access_key_label_HTMLElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `accessKeyLabel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKeyLabel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn access_key_label ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draggable_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `draggable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/draggable)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn draggable ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draggable_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_draggable_HTMLElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `draggable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/draggable)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn draggable ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_draggable_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `draggable` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/draggable)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_draggable ( & self , draggable : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_draggable_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , draggable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let draggable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( draggable , & mut __stack ) ; __widl_f_set_draggable_HTMLElement ( self_ , draggable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `draggable` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/draggable)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_draggable ( & self , draggable : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_content_editable_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `contentEditable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contentEditable)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn content_editable ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_content_editable_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_content_editable_HTMLElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `contentEditable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contentEditable)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn content_editable ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_content_editable_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `contentEditable` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contentEditable)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_content_editable ( & self , content_editable : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_content_editable_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , content_editable : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let content_editable = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( content_editable , & mut __stack ) ; __widl_f_set_content_editable_HTMLElement ( self_ , content_editable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `contentEditable` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contentEditable)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_content_editable ( & self , content_editable : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_content_editable_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isContentEditable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/isContentEditable)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn is_content_editable ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_content_editable_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_content_editable_HTMLElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isContentEditable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/isContentEditable)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn is_content_editable ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_spellcheck_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `spellcheck` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/spellcheck)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn spellcheck ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_spellcheck_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_spellcheck_HTMLElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `spellcheck` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/spellcheck)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn spellcheck ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_spellcheck_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `spellcheck` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/spellcheck)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_spellcheck ( & self , spellcheck : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_spellcheck_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , spellcheck : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let spellcheck = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( spellcheck , & mut __stack ) ; __widl_f_set_spellcheck_HTMLElement ( self_ , spellcheck ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `spellcheck` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/spellcheck)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_spellcheck ( & self , spellcheck : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_style_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < CssStyleDeclaration as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`, `HtmlElement`*" ] pub fn style ( & self , ) -> CssStyleDeclaration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_style_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < CssStyleDeclaration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_style_HTMLElement ( self_ ) } ; < CssStyleDeclaration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`, `HtmlElement`*" ] pub fn style ( & self , ) -> CssStyleDeclaration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_offset_parent_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `offsetParent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent)\n\n*This API requires the following crate features to be activated: `Element`, `HtmlElement`*" ] pub fn offset_parent ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_offset_parent_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_offset_parent_HTMLElement ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `offsetParent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent)\n\n*This API requires the following crate features to be activated: `Element`, `HtmlElement`*" ] pub fn offset_parent ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_offset_top_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `offsetTop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetTop)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn offset_top ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_offset_top_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_offset_top_HTMLElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `offsetTop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetTop)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn offset_top ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_offset_left_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `offsetLeft` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetLeft)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn offset_left ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_offset_left_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_offset_left_HTMLElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `offsetLeft` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetLeft)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn offset_left ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_offset_width_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `offsetWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetWidth)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn offset_width ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_offset_width_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_offset_width_HTMLElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `offsetWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetWidth)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn offset_width ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_offset_height_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `offsetHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetHeight)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn offset_height ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_offset_height_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_offset_height_HTMLElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `offsetHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetHeight)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn offset_height ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncopy_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncopy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncopy)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oncopy ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncopy_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncopy_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncopy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncopy)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oncopy ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncopy_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncopy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncopy)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oncopy ( & self , oncopy : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncopy_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncopy : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncopy = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncopy , & mut __stack ) ; __widl_f_set_oncopy_HTMLElement ( self_ , oncopy ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncopy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncopy)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oncopy ( & self , oncopy : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncut_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncut` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncut)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oncut ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncut_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncut_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncut` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncut)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oncut ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncut_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncut` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncut)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oncut ( & self , oncut : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncut_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncut : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncut = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncut , & mut __stack ) ; __widl_f_set_oncut_HTMLElement ( self_ , oncut ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncut` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncut)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oncut ( & self , oncut : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpaste_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpaste` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpaste)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpaste ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpaste_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpaste_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpaste` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpaste)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpaste ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpaste_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpaste` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpaste)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpaste ( & self , onpaste : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpaste_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpaste : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpaste = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpaste , & mut __stack ) ; __widl_f_set_onpaste_HTMLElement ( self_ , onpaste ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpaste` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpaste)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpaste ( & self , onpaste : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onabort_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onabort)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onabort_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onabort_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onabort)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onabort_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onabort)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onabort_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onabort : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onabort = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onabort , & mut __stack ) ; __widl_f_set_onabort_HTMLElement ( self_ , onabort ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onabort)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onblur_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onblur` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onblur)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onblur ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onblur_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onblur_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onblur` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onblur)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onblur ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onblur_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onblur` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onblur)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onblur ( & self , onblur : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onblur_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onblur : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onblur = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onblur , & mut __stack ) ; __widl_f_set_onblur_HTMLElement ( self_ , onblur ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onblur` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onblur)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onblur ( & self , onblur : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onfocus_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onfocus)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onfocus ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onfocus_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onfocus_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onfocus)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onfocus ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onfocus_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onfocus)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onfocus ( & self , onfocus : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onfocus_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onfocus : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onfocus = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onfocus , & mut __stack ) ; __widl_f_set_onfocus_HTMLElement ( self_ , onfocus ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onfocus)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onfocus ( & self , onfocus : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onauxclick_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onauxclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onauxclick)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onauxclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onauxclick_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onauxclick_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onauxclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onauxclick)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onauxclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onauxclick_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onauxclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onauxclick)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onauxclick ( & self , onauxclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onauxclick_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onauxclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onauxclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onauxclick , & mut __stack ) ; __widl_f_set_onauxclick_HTMLElement ( self_ , onauxclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onauxclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onauxclick)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onauxclick ( & self , onauxclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncanplay_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplay)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oncanplay ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncanplay_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncanplay_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplay)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oncanplay ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncanplay_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplay)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oncanplay ( & self , oncanplay : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncanplay_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncanplay : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncanplay = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncanplay , & mut __stack ) ; __widl_f_set_oncanplay_HTMLElement ( self_ , oncanplay ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplay)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oncanplay ( & self , oncanplay : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncanplaythrough_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplaythrough` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oncanplaythrough ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncanplaythrough_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncanplaythrough_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplaythrough` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oncanplaythrough ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncanplaythrough_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplaythrough` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oncanplaythrough ( & self , oncanplaythrough : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncanplaythrough_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncanplaythrough : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncanplaythrough = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncanplaythrough , & mut __stack ) ; __widl_f_set_oncanplaythrough_HTMLElement ( self_ , oncanplaythrough ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplaythrough` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oncanplaythrough ( & self , oncanplaythrough : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchange_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onchange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchange_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchange_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onchange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchange_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onchange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchange_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchange , & mut __stack ) ; __widl_f_set_onchange_HTMLElement ( self_ , onchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onchange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclick_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclick)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclick_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclick_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclick)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclick_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclick)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onclick ( & self , onclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclick_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclick , & mut __stack ) ; __widl_f_set_onclick_HTMLElement ( self_ , onclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclick)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onclick ( & self , onclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclose_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclose)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclose_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclose_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclose)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclose_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclose)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclose_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclose : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclose = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclose , & mut __stack ) ; __widl_f_set_onclose_HTMLElement ( self_ , onclose ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclose)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncontextmenu_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncontextmenu` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncontextmenu)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oncontextmenu ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncontextmenu_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncontextmenu_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncontextmenu` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncontextmenu)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oncontextmenu ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncontextmenu_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncontextmenu` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncontextmenu)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oncontextmenu ( & self , oncontextmenu : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncontextmenu_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncontextmenu : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncontextmenu = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncontextmenu , & mut __stack ) ; __widl_f_set_oncontextmenu_HTMLElement ( self_ , oncontextmenu ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncontextmenu` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncontextmenu)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oncontextmenu ( & self , oncontextmenu : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondblclick_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondblclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondblclick)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondblclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondblclick_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondblclick_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondblclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondblclick)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondblclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondblclick_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondblclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondblclick)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondblclick ( & self , ondblclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondblclick_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondblclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondblclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondblclick , & mut __stack ) ; __widl_f_set_ondblclick_HTMLElement ( self_ , ondblclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondblclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondblclick)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondblclick ( & self , ondblclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondrag_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrag` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrag)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondrag ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondrag_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondrag_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrag` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrag)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondrag ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondrag_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrag` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrag)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondrag ( & self , ondrag : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondrag_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondrag : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondrag = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondrag , & mut __stack ) ; __widl_f_set_ondrag_HTMLElement ( self_ , ondrag ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrag` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrag)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondrag ( & self , ondrag : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondragend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragend_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondragend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondragend ( & self , ondragend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragend , & mut __stack ) ; __widl_f_set_ondragend_HTMLElement ( self_ , ondragend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondragend ( & self , ondragend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragenter_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragenter)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondragenter ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragenter_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragenter_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragenter)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondragenter ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragenter_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragenter)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondragenter ( & self , ondragenter : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragenter_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragenter : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragenter = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragenter , & mut __stack ) ; __widl_f_set_ondragenter_HTMLElement ( self_ , ondragenter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragenter)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondragenter ( & self , ondragenter : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragexit_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragexit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragexit)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondragexit ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragexit_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragexit_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragexit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragexit)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondragexit ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragexit_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragexit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragexit)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondragexit ( & self , ondragexit : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragexit_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragexit : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragexit = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragexit , & mut __stack ) ; __widl_f_set_ondragexit_HTMLElement ( self_ , ondragexit ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragexit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragexit)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondragexit ( & self , ondragexit : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragleave_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragleave)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondragleave ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragleave_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragleave_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragleave)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondragleave ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragleave_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragleave)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondragleave ( & self , ondragleave : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragleave_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragleave : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragleave = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragleave , & mut __stack ) ; __widl_f_set_ondragleave_HTMLElement ( self_ , ondragleave ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragleave)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondragleave ( & self , ondragleave : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragover_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragover)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondragover ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragover_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragover_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragover)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondragover ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragover_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragover)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondragover ( & self , ondragover : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragover_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragover : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragover = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragover , & mut __stack ) ; __widl_f_set_ondragover_HTMLElement ( self_ , ondragover ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragover)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondragover ( & self , ondragover : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondragstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragstart_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondragstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondragstart ( & self , ondragstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragstart , & mut __stack ) ; __widl_f_set_ondragstart_HTMLElement ( self_ , ondragstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondragstart ( & self , ondragstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondrop_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrop)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondrop ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondrop_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondrop_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrop)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondrop ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondrop_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrop)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondrop ( & self , ondrop : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondrop_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondrop : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondrop = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondrop , & mut __stack ) ; __widl_f_set_ondrop_HTMLElement ( self_ , ondrop ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrop)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondrop ( & self , ondrop : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondurationchange_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondurationchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondurationchange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondurationchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondurationchange_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondurationchange_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondurationchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondurationchange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ondurationchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondurationchange_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondurationchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondurationchange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondurationchange ( & self , ondurationchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondurationchange_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondurationchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondurationchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondurationchange , & mut __stack ) ; __widl_f_set_ondurationchange_HTMLElement ( self_ , ondurationchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondurationchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondurationchange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ondurationchange ( & self , ondurationchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onemptied_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onemptied` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onemptied)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onemptied ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onemptied_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onemptied_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onemptied` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onemptied)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onemptied ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onemptied_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onemptied` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onemptied)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onemptied ( & self , onemptied : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onemptied_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onemptied : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onemptied = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onemptied , & mut __stack ) ; __widl_f_set_onemptied_HTMLElement ( self_ , onemptied ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onemptied` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onemptied)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onemptied ( & self , onemptied : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onended_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onended)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onended_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onended_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onended)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onended_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onended)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onended_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onended : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onended = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onended , & mut __stack ) ; __widl_f_set_onended_HTMLElement ( self_ , onended ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onended)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oninput_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninput` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninput)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oninput ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oninput_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oninput_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninput` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninput)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oninput ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oninput_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninput` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninput)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oninput ( & self , oninput : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oninput_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oninput : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oninput = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oninput , & mut __stack ) ; __widl_f_set_oninput_HTMLElement ( self_ , oninput ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninput` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninput)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oninput ( & self , oninput : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oninvalid_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninvalid` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninvalid)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oninvalid ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oninvalid_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oninvalid_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninvalid` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninvalid)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn oninvalid ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oninvalid_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninvalid` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninvalid)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oninvalid ( & self , oninvalid : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oninvalid_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oninvalid : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oninvalid = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oninvalid , & mut __stack ) ; __widl_f_set_oninvalid_HTMLElement ( self_ , oninvalid ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninvalid` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninvalid)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_oninvalid ( & self , oninvalid : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onkeydown_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeydown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeydown)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onkeydown ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onkeydown_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onkeydown_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeydown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeydown)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onkeydown ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onkeydown_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeydown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeydown)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onkeydown ( & self , onkeydown : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onkeydown_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onkeydown : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onkeydown = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onkeydown , & mut __stack ) ; __widl_f_set_onkeydown_HTMLElement ( self_ , onkeydown ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeydown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeydown)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onkeydown ( & self , onkeydown : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onkeypress_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeypress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeypress)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onkeypress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onkeypress_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onkeypress_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeypress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeypress)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onkeypress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onkeypress_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeypress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeypress)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onkeypress ( & self , onkeypress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onkeypress_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onkeypress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onkeypress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onkeypress , & mut __stack ) ; __widl_f_set_onkeypress_HTMLElement ( self_ , onkeypress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeypress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeypress)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onkeypress ( & self , onkeypress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onkeyup_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeyup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeyup)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onkeyup ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onkeyup_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onkeyup_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeyup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeyup)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onkeyup ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onkeyup_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeyup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeyup)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onkeyup ( & self , onkeyup : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onkeyup_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onkeyup : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onkeyup = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onkeyup , & mut __stack ) ; __widl_f_set_onkeyup_HTMLElement ( self_ , onkeyup ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeyup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeyup)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onkeyup ( & self , onkeyup : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onload_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onload)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onload ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onload_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onload_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onload)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onload ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onload_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onload)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onload ( & self , onload : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onload_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onload : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onload = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onload , & mut __stack ) ; __widl_f_set_onload_HTMLElement ( self_ , onload ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onload)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onload ( & self , onload : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadeddata_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadeddata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadeddata)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onloadeddata ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadeddata_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadeddata_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadeddata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadeddata)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onloadeddata ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadeddata_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadeddata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadeddata)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onloadeddata ( & self , onloadeddata : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadeddata_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadeddata : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadeddata = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadeddata , & mut __stack ) ; __widl_f_set_onloadeddata_HTMLElement ( self_ , onloadeddata ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadeddata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadeddata)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onloadeddata ( & self , onloadeddata : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadedmetadata_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadedmetadata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onloadedmetadata ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadedmetadata_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadedmetadata_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadedmetadata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onloadedmetadata ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadedmetadata_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadedmetadata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onloadedmetadata ( & self , onloadedmetadata : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadedmetadata_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadedmetadata : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadedmetadata = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadedmetadata , & mut __stack ) ; __widl_f_set_onloadedmetadata_HTMLElement ( self_ , onloadedmetadata ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadedmetadata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onloadedmetadata ( & self , onloadedmetadata : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onloadend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadend_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onloadend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onloadend ( & self , onloadend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadend , & mut __stack ) ; __widl_f_set_onloadend_HTMLElement ( self_ , onloadend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onloadend ( & self , onloadend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onloadstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadstart_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onloadstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onloadstart ( & self , onloadstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadstart , & mut __stack ) ; __widl_f_set_onloadstart_HTMLElement ( self_ , onloadstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onloadstart ( & self , onloadstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmousedown_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousedown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousedown)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmousedown ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmousedown_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmousedown_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousedown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousedown)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmousedown ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmousedown_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousedown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousedown)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmousedown ( & self , onmousedown : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmousedown_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmousedown : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmousedown = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmousedown , & mut __stack ) ; __widl_f_set_onmousedown_HTMLElement ( self_ , onmousedown ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousedown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousedown)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmousedown ( & self , onmousedown : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseenter_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseenter)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmouseenter ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseenter_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseenter_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseenter)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmouseenter ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseenter_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseenter)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmouseenter ( & self , onmouseenter : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseenter_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseenter : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseenter = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseenter , & mut __stack ) ; __widl_f_set_onmouseenter_HTMLElement ( self_ , onmouseenter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseenter)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmouseenter ( & self , onmouseenter : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseleave_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseleave)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmouseleave ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseleave_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseleave_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseleave)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmouseleave ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseleave_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseleave)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmouseleave ( & self , onmouseleave : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseleave_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseleave : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseleave = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseleave , & mut __stack ) ; __widl_f_set_onmouseleave_HTMLElement ( self_ , onmouseleave ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseleave)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmouseleave ( & self , onmouseleave : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmousemove_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousemove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousemove)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmousemove ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmousemove_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmousemove_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousemove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousemove)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmousemove ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmousemove_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousemove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousemove)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmousemove ( & self , onmousemove : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmousemove_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmousemove : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmousemove = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmousemove , & mut __stack ) ; __widl_f_set_onmousemove_HTMLElement ( self_ , onmousemove ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousemove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousemove)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmousemove ( & self , onmousemove : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseout_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseout)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmouseout ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseout_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseout_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseout)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmouseout ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseout_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseout)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmouseout ( & self , onmouseout : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseout_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseout : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseout = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseout , & mut __stack ) ; __widl_f_set_onmouseout_HTMLElement ( self_ , onmouseout ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseout)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmouseout ( & self , onmouseout : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseover_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseover)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmouseover ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseover_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseover_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseover)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmouseover ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseover_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseover)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmouseover ( & self , onmouseover : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseover_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseover : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseover = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseover , & mut __stack ) ; __widl_f_set_onmouseover_HTMLElement ( self_ , onmouseover ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseover)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmouseover ( & self , onmouseover : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseup_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseup)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmouseup ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseup_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseup_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseup)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onmouseup ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseup_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseup)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmouseup ( & self , onmouseup : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseup_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseup : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseup = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseup , & mut __stack ) ; __widl_f_set_onmouseup_HTMLElement ( self_ , onmouseup ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseup)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onmouseup ( & self , onmouseup : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwheel_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwheel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwheel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onwheel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwheel_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwheel_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwheel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwheel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onwheel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwheel_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwheel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwheel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onwheel ( & self , onwheel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwheel_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwheel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwheel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwheel , & mut __stack ) ; __widl_f_set_onwheel_HTMLElement ( self_ , onwheel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwheel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwheel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onwheel ( & self , onwheel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpause_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpause` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpause)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpause ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpause_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpause_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpause` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpause)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpause ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpause_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpause` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpause)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpause ( & self , onpause : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpause_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpause : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpause = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpause , & mut __stack ) ; __widl_f_set_onpause_HTMLElement ( self_ , onpause ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpause` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpause)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpause ( & self , onpause : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onplay_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplay)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onplay ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onplay_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onplay_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplay)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onplay ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onplay_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplay)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onplay ( & self , onplay : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onplay_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onplay : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onplay = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onplay , & mut __stack ) ; __widl_f_set_onplay_HTMLElement ( self_ , onplay ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplay)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onplay ( & self , onplay : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onplaying_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplaying` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplaying)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onplaying ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onplaying_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onplaying_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplaying` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplaying)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onplaying ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onplaying_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplaying` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplaying)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onplaying ( & self , onplaying : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onplaying_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onplaying : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onplaying = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onplaying , & mut __stack ) ; __widl_f_set_onplaying_HTMLElement ( self_ , onplaying ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplaying` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplaying)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onplaying ( & self , onplaying : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onprogress_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onprogress)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onprogress_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onprogress_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onprogress)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onprogress_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onprogress)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onprogress_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onprogress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onprogress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onprogress , & mut __stack ) ; __widl_f_set_onprogress_HTMLElement ( self_ , onprogress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onprogress)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onratechange_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onratechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onratechange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onratechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onratechange_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onratechange_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onratechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onratechange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onratechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onratechange_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onratechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onratechange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onratechange ( & self , onratechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onratechange_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onratechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onratechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onratechange , & mut __stack ) ; __widl_f_set_onratechange_HTMLElement ( self_ , onratechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onratechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onratechange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onratechange ( & self , onratechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onreset_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onreset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onreset)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onreset ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onreset_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onreset_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onreset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onreset)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onreset ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onreset_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onreset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onreset)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onreset ( & self , onreset : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onreset_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onreset : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onreset = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onreset , & mut __stack ) ; __widl_f_set_onreset_HTMLElement ( self_ , onreset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onreset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onreset)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onreset ( & self , onreset : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onresize_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onresize)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onresize ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onresize_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onresize_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onresize)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onresize ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onresize_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onresize)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onresize ( & self , onresize : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onresize_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onresize : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onresize = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onresize , & mut __stack ) ; __widl_f_set_onresize_HTMLElement ( self_ , onresize ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onresize)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onresize ( & self , onresize : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onscroll_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onscroll` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onscroll)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onscroll ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onscroll_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onscroll_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onscroll` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onscroll)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onscroll ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onscroll_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onscroll` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onscroll)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onscroll ( & self , onscroll : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onscroll_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onscroll : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onscroll = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onscroll , & mut __stack ) ; __widl_f_set_onscroll_HTMLElement ( self_ , onscroll ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onscroll` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onscroll)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onscroll ( & self , onscroll : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onseeked_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeked)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onseeked ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onseeked_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onseeked_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeked)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onseeked ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onseeked_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeked)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onseeked ( & self , onseeked : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onseeked_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onseeked : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onseeked = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onseeked , & mut __stack ) ; __widl_f_set_onseeked_HTMLElement ( self_ , onseeked ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeked)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onseeked ( & self , onseeked : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onseeking_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeking)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onseeking ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onseeking_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onseeking_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeking)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onseeking ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onseeking_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeking` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeking)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onseeking ( & self , onseeking : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onseeking_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onseeking : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onseeking = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onseeking , & mut __stack ) ; __widl_f_set_onseeking_HTMLElement ( self_ , onseeking ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeking` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeking)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onseeking ( & self , onseeking : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onselect_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselect)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onselect ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onselect_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onselect_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselect)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onselect ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onselect_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselect)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onselect ( & self , onselect : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onselect_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onselect : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onselect = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onselect , & mut __stack ) ; __widl_f_set_onselect_HTMLElement ( self_ , onselect ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselect)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onselect ( & self , onselect : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onshow_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onshow)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onshow ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onshow_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onshow_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onshow)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onshow ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onshow_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onshow)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onshow ( & self , onshow : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onshow_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onshow : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onshow = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onshow , & mut __stack ) ; __widl_f_set_onshow_HTMLElement ( self_ , onshow ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onshow)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onshow ( & self , onshow : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstalled_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstalled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onstalled)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onstalled ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstalled_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstalled_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstalled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onstalled)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onstalled ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstalled_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstalled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onstalled)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onstalled ( & self , onstalled : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstalled_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstalled : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstalled = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstalled , & mut __stack ) ; __widl_f_set_onstalled_HTMLElement ( self_ , onstalled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstalled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onstalled)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onstalled ( & self , onstalled : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsubmit_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsubmit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsubmit)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onsubmit ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsubmit_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsubmit_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsubmit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsubmit)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onsubmit ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsubmit_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsubmit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsubmit)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onsubmit ( & self , onsubmit : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsubmit_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsubmit : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsubmit = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsubmit , & mut __stack ) ; __widl_f_set_onsubmit_HTMLElement ( self_ , onsubmit ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsubmit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsubmit)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onsubmit ( & self , onsubmit : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsuspend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsuspend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsuspend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onsuspend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsuspend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsuspend_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsuspend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsuspend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onsuspend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsuspend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsuspend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsuspend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onsuspend ( & self , onsuspend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsuspend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsuspend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsuspend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsuspend , & mut __stack ) ; __widl_f_set_onsuspend_HTMLElement ( self_ , onsuspend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsuspend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsuspend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onsuspend ( & self , onsuspend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontimeupdate_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontimeupdate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontimeupdate)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontimeupdate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontimeupdate_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontimeupdate_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontimeupdate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontimeupdate)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontimeupdate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontimeupdate_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontimeupdate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontimeupdate)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontimeupdate ( & self , ontimeupdate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontimeupdate_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontimeupdate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontimeupdate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontimeupdate , & mut __stack ) ; __widl_f_set_ontimeupdate_HTMLElement ( self_ , ontimeupdate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontimeupdate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontimeupdate)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontimeupdate ( & self , ontimeupdate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onvolumechange_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvolumechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onvolumechange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onvolumechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onvolumechange_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onvolumechange_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvolumechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onvolumechange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onvolumechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onvolumechange_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvolumechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onvolumechange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onvolumechange ( & self , onvolumechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onvolumechange_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onvolumechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onvolumechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onvolumechange , & mut __stack ) ; __widl_f_set_onvolumechange_HTMLElement ( self_ , onvolumechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvolumechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onvolumechange)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onvolumechange ( & self , onvolumechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwaiting_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwaiting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwaiting)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onwaiting ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwaiting_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwaiting_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwaiting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwaiting)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onwaiting ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwaiting_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwaiting` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwaiting)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onwaiting ( & self , onwaiting : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwaiting_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwaiting : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwaiting = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwaiting , & mut __stack ) ; __widl_f_set_onwaiting_HTMLElement ( self_ , onwaiting ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwaiting` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwaiting)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onwaiting ( & self , onwaiting : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onselectstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselectstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselectstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onselectstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onselectstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onselectstart_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselectstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselectstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onselectstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onselectstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselectstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselectstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onselectstart ( & self , onselectstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onselectstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onselectstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onselectstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onselectstart , & mut __stack ) ; __widl_f_set_onselectstart_HTMLElement ( self_ , onselectstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselectstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselectstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onselectstart ( & self , onselectstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontoggle_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontoggle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontoggle)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontoggle ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontoggle_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontoggle_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontoggle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontoggle)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontoggle ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontoggle_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontoggle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontoggle)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontoggle ( & self , ontoggle : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontoggle_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontoggle : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontoggle = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontoggle , & mut __stack ) ; __widl_f_set_ontoggle_HTMLElement ( self_ , ontoggle ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontoggle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontoggle)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontoggle ( & self , ontoggle : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointercancel_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointercancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointercancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointercancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointercancel_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointercancel_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointercancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointercancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointercancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointercancel_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointercancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointercancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointercancel ( & self , onpointercancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointercancel_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointercancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointercancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointercancel , & mut __stack ) ; __widl_f_set_onpointercancel_HTMLElement ( self_ , onpointercancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointercancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointercancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointercancel ( & self , onpointercancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerdown_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerdown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerdown)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointerdown ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerdown_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerdown_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerdown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerdown)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointerdown ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerdown_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerdown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerdown)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointerdown ( & self , onpointerdown : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerdown_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerdown : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerdown = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerdown , & mut __stack ) ; __widl_f_set_onpointerdown_HTMLElement ( self_ , onpointerdown ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerdown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerdown)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointerdown ( & self , onpointerdown : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerup_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerup)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointerup ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerup_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerup_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerup)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointerup ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerup_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerup)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointerup ( & self , onpointerup : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerup_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerup : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerup = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerup , & mut __stack ) ; __widl_f_set_onpointerup_HTMLElement ( self_ , onpointerup ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerup)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointerup ( & self , onpointerup : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointermove_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointermove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointermove)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointermove ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointermove_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointermove_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointermove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointermove)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointermove ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointermove_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointermove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointermove)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointermove ( & self , onpointermove : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointermove_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointermove : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointermove = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointermove , & mut __stack ) ; __widl_f_set_onpointermove_HTMLElement ( self_ , onpointermove ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointermove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointermove)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointermove ( & self , onpointermove : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerout_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerout)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointerout ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerout_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerout_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerout)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointerout ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerout_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerout)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointerout ( & self , onpointerout : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerout_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerout : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerout = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerout , & mut __stack ) ; __widl_f_set_onpointerout_HTMLElement ( self_ , onpointerout ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerout)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointerout ( & self , onpointerout : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerover_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerover)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointerover ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerover_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerover_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerover)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointerover ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerover_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerover)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointerover ( & self , onpointerover : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerover_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerover : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerover = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerover , & mut __stack ) ; __widl_f_set_onpointerover_HTMLElement ( self_ , onpointerover ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerover)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointerover ( & self , onpointerover : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerenter_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerenter)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointerenter ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerenter_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerenter_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerenter)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointerenter ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerenter_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerenter)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointerenter ( & self , onpointerenter : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerenter_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerenter : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerenter = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerenter , & mut __stack ) ; __widl_f_set_onpointerenter_HTMLElement ( self_ , onpointerenter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerenter)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointerenter ( & self , onpointerenter : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerleave_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerleave)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointerleave ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerleave_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerleave_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerleave)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onpointerleave ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerleave_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerleave)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointerleave ( & self , onpointerleave : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerleave_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerleave : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerleave = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerleave , & mut __stack ) ; __widl_f_set_onpointerleave_HTMLElement ( self_ , onpointerleave ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerleave)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onpointerleave ( & self , onpointerleave : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ongotpointercapture_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ongotpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ongotpointercapture ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ongotpointercapture_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ongotpointercapture_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ongotpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ongotpointercapture ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ongotpointercapture_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ongotpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ongotpointercapture ( & self , ongotpointercapture : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ongotpointercapture_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ongotpointercapture : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ongotpointercapture = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ongotpointercapture , & mut __stack ) ; __widl_f_set_ongotpointercapture_HTMLElement ( self_ , ongotpointercapture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ongotpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ongotpointercapture ( & self , ongotpointercapture : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onlostpointercapture_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlostpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onlostpointercapture ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onlostpointercapture_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onlostpointercapture_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlostpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onlostpointercapture ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onlostpointercapture_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlostpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onlostpointercapture ( & self , onlostpointercapture : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onlostpointercapture_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onlostpointercapture : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onlostpointercapture = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onlostpointercapture , & mut __stack ) ; __widl_f_set_onlostpointercapture_HTMLElement ( self_ , onlostpointercapture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlostpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onlostpointercapture ( & self , onlostpointercapture : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationcancel_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationcancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onanimationcancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationcancel_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationcancel_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationcancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onanimationcancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationcancel_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationcancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onanimationcancel ( & self , onanimationcancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationcancel_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationcancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationcancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationcancel , & mut __stack ) ; __widl_f_set_onanimationcancel_HTMLElement ( self_ , onanimationcancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationcancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onanimationcancel ( & self , onanimationcancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onanimationend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationend_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onanimationend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onanimationend ( & self , onanimationend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationend , & mut __stack ) ; __widl_f_set_onanimationend_HTMLElement ( self_ , onanimationend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onanimationend ( & self , onanimationend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationiteration_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationiteration)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationiteration_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationiteration_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationiteration)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationiteration_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationiteration)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onanimationiteration ( & self , onanimationiteration : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationiteration_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationiteration : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationiteration = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationiteration , & mut __stack ) ; __widl_f_set_onanimationiteration_HTMLElement ( self_ , onanimationiteration ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationiteration)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onanimationiteration ( & self , onanimationiteration : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onanimationstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationstart_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onanimationstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onanimationstart ( & self , onanimationstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationstart , & mut __stack ) ; __widl_f_set_onanimationstart_HTMLElement ( self_ , onanimationstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onanimationstart ( & self , onanimationstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitioncancel_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitioncancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontransitioncancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitioncancel_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitioncancel_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitioncancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontransitioncancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitioncancel_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitioncancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontransitioncancel ( & self , ontransitioncancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitioncancel_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitioncancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitioncancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitioncancel , & mut __stack ) ; __widl_f_set_ontransitioncancel_HTMLElement ( self_ , ontransitioncancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitioncancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontransitioncancel ( & self , ontransitioncancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitionend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontransitionend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitionend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitionend_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontransitionend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitionend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontransitionend ( & self , ontransitionend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitionend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitionend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitionend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitionend , & mut __stack ) ; __widl_f_set_ontransitionend_HTMLElement ( self_ , ontransitionend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontransitionend ( & self , ontransitionend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitionrun_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionrun` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionrun)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontransitionrun ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitionrun_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitionrun_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionrun` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionrun)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontransitionrun ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitionrun_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionrun` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionrun)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontransitionrun ( & self , ontransitionrun : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitionrun_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitionrun : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitionrun = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitionrun , & mut __stack ) ; __widl_f_set_ontransitionrun_HTMLElement ( self_ , ontransitionrun ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionrun` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionrun)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontransitionrun ( & self , ontransitionrun : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitionstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontransitionstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitionstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitionstart_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontransitionstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitionstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontransitionstart ( & self , ontransitionstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitionstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitionstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitionstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitionstart , & mut __stack ) ; __widl_f_set_ontransitionstart_HTMLElement ( self_ , ontransitionstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontransitionstart ( & self , ontransitionstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkitanimationend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onwebkitanimationend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkitanimationend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkitanimationend_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onwebkitanimationend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkitanimationend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onwebkitanimationend ( & self , onwebkitanimationend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkitanimationend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkitanimationend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkitanimationend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkitanimationend , & mut __stack ) ; __widl_f_set_onwebkitanimationend_HTMLElement ( self_ , onwebkitanimationend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onwebkitanimationend ( & self , onwebkitanimationend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkitanimationiteration_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onwebkitanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkitanimationiteration_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkitanimationiteration_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onwebkitanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkitanimationiteration_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onwebkitanimationiteration ( & self , onwebkitanimationiteration : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkitanimationiteration_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkitanimationiteration : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkitanimationiteration = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkitanimationiteration , & mut __stack ) ; __widl_f_set_onwebkitanimationiteration_HTMLElement ( self_ , onwebkitanimationiteration ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onwebkitanimationiteration ( & self , onwebkitanimationiteration : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkitanimationstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onwebkitanimationstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkitanimationstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkitanimationstart_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onwebkitanimationstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkitanimationstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onwebkitanimationstart ( & self , onwebkitanimationstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkitanimationstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkitanimationstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkitanimationstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkitanimationstart , & mut __stack ) ; __widl_f_set_onwebkitanimationstart_HTMLElement ( self_ , onwebkitanimationstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onwebkitanimationstart ( & self , onwebkitanimationstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkittransitionend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkittransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onwebkittransitionend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkittransitionend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkittransitionend_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkittransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onwebkittransitionend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkittransitionend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkittransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onwebkittransitionend ( & self , onwebkittransitionend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkittransitionend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkittransitionend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkittransitionend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkittransitionend , & mut __stack ) ; __widl_f_set_onwebkittransitionend_HTMLElement ( self_ , onwebkittransitionend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkittransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onwebkittransitionend ( & self , onwebkittransitionend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onerror)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onerror)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onerror)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_HTMLElement ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onerror)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontouchstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchstart_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontouchstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchstart_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontouchstart ( & self , ontouchstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchstart_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchstart , & mut __stack ) ; __widl_f_set_ontouchstart_HTMLElement ( self_ , ontouchstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchstart)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontouchstart ( & self , ontouchstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontouchend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchend_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontouchend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchend_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontouchend ( & self , ontouchend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchend_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchend , & mut __stack ) ; __widl_f_set_ontouchend_HTMLElement ( self_ , ontouchend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchend)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontouchend ( & self , ontouchend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchmove_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchmove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchmove)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontouchmove ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchmove_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchmove_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchmove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchmove)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontouchmove ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchmove_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchmove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchmove)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontouchmove ( & self , ontouchmove : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchmove_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchmove : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchmove = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchmove , & mut __stack ) ; __widl_f_set_ontouchmove_HTMLElement ( self_ , ontouchmove ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchmove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchmove)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontouchmove ( & self , ontouchmove : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchcancel_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchcancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontouchcancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchcancel_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchcancel_HTMLElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchcancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn ontouchcancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchcancel_HTMLElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchcancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontouchcancel ( & self , ontouchcancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchcancel_HTMLElement ( self_ : < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchcancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchcancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchcancel , & mut __stack ) ; __widl_f_set_ontouchcancel_HTMLElement ( self_ , ontouchcancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchcancel)\n\n*This API requires the following crate features to be activated: `HtmlElement`*" ] pub fn set_ontouchcancel ( & self , ontouchcancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLEmbedElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] # [ repr ( transparent ) ] pub struct HtmlEmbedElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlEmbedElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlEmbedElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlEmbedElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlEmbedElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlEmbedElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlEmbedElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlEmbedElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlEmbedElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlEmbedElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlEmbedElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlEmbedElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlEmbedElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlEmbedElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlEmbedElement { HtmlEmbedElement { obj } } } impl AsRef < JsValue > for HtmlEmbedElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlEmbedElement > for JsValue { # [ inline ] fn from ( obj : HtmlEmbedElement ) -> JsValue { obj . obj } } impl JsCast for HtmlEmbedElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLEmbedElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLEmbedElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlEmbedElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlEmbedElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlEmbedElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlEmbedElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlEmbedElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlEmbedElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlEmbedElement > for Element { # [ inline ] fn from ( obj : HtmlEmbedElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlEmbedElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlEmbedElement > for Node { # [ inline ] fn from ( obj : HtmlEmbedElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlEmbedElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlEmbedElement > for EventTarget { # [ inline ] fn from ( obj : HtmlEmbedElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlEmbedElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlEmbedElement > for Object { # [ inline ] fn from ( obj : HtmlEmbedElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlEmbedElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_svg_document_HTMLEmbedElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlEmbedElement as WasmDescribe > :: describe ( ) ; < Option < Document > as WasmDescribe > :: describe ( ) ; } impl HtmlEmbedElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getSVGDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/getSVGDocument)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlEmbedElement`*" ] pub fn get_svg_document ( & self , ) -> Option < Document > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_svg_document_HTMLEmbedElement ( self_ : < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_svg_document_HTMLEmbedElement ( self_ ) } ; < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getSVGDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/getSVGDocument)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlEmbedElement`*" ] pub fn get_svg_document ( & self , ) -> Option < Document > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_src_HTMLEmbedElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlEmbedElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlEmbedElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/src)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn src ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_src_HTMLEmbedElement ( self_ : < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_src_HTMLEmbedElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/src)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn src ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_src_HTMLEmbedElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlEmbedElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlEmbedElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/src)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn set_src ( & self , src : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_src_HTMLEmbedElement ( self_ : < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; __widl_f_set_src_HTMLEmbedElement ( self_ , src ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/src)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn set_src ( & self , src : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLEmbedElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlEmbedElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlEmbedElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/type)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLEmbedElement ( self_ : < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLEmbedElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/type)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLEmbedElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlEmbedElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlEmbedElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/type)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLEmbedElement ( self_ : < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLEmbedElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/type)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_HTMLEmbedElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlEmbedElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlEmbedElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/width)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn width ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_HTMLEmbedElement ( self_ : < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_HTMLEmbedElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/width)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn width ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_HTMLEmbedElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlEmbedElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlEmbedElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/width)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn set_width ( & self , width : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_HTMLEmbedElement ( self_ : < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_HTMLEmbedElement ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/width)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn set_width ( & self , width : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_HTMLEmbedElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlEmbedElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlEmbedElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/height)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn height ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_HTMLEmbedElement ( self_ : < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_HTMLEmbedElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/height)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn height ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_height_HTMLEmbedElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlEmbedElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlEmbedElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/height)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn set_height ( & self , height : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_height_HTMLEmbedElement ( self_ : < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let height = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_set_height_HTMLEmbedElement ( self_ , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/height)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn set_height ( & self , height : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLEmbedElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlEmbedElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlEmbedElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/align)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLEmbedElement ( self_ : < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLEmbedElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/align)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLEmbedElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlEmbedElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlEmbedElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/align)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLEmbedElement ( self_ : < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLEmbedElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/align)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLEmbedElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlEmbedElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlEmbedElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/name)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLEmbedElement ( self_ : < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLEmbedElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/name)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLEmbedElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlEmbedElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlEmbedElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/name)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLEmbedElement ( self_ : < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlEmbedElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLEmbedElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/name)\n\n*This API requires the following crate features to be activated: `HtmlEmbedElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLFieldSetElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] # [ repr ( transparent ) ] pub struct HtmlFieldSetElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlFieldSetElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlFieldSetElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlFieldSetElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlFieldSetElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlFieldSetElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlFieldSetElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlFieldSetElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlFieldSetElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlFieldSetElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlFieldSetElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlFieldSetElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlFieldSetElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlFieldSetElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlFieldSetElement { HtmlFieldSetElement { obj } } } impl AsRef < JsValue > for HtmlFieldSetElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlFieldSetElement > for JsValue { # [ inline ] fn from ( obj : HtmlFieldSetElement ) -> JsValue { obj . obj } } impl JsCast for HtmlFieldSetElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLFieldSetElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLFieldSetElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlFieldSetElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlFieldSetElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlFieldSetElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlFieldSetElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlFieldSetElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlFieldSetElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFieldSetElement > for Element { # [ inline ] fn from ( obj : HtmlFieldSetElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlFieldSetElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFieldSetElement > for Node { # [ inline ] fn from ( obj : HtmlFieldSetElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlFieldSetElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFieldSetElement > for EventTarget { # [ inline ] fn from ( obj : HtmlFieldSetElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlFieldSetElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFieldSetElement > for Object { # [ inline ] fn from ( obj : HtmlFieldSetElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlFieldSetElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_check_validity_HTMLFieldSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFieldSetElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlFieldSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn check_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_check_validity_HTMLFieldSetElement ( self_ : < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_check_validity_HTMLFieldSetElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn check_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_report_validity_HTMLFieldSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFieldSetElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlFieldSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn report_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_report_validity_HTMLFieldSetElement ( self_ : < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_report_validity_HTMLFieldSetElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn report_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_custom_validity_HTMLFieldSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFieldSetElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFieldSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_custom_validity_HTMLFieldSetElement ( self_ : < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let error = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error , & mut __stack ) ; __widl_f_set_custom_validity_HTMLFieldSetElement ( self_ , error ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disabled_HTMLFieldSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFieldSetElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlFieldSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn disabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disabled_HTMLFieldSetElement ( self_ : < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disabled_HTMLFieldSetElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn disabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_disabled_HTMLFieldSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFieldSetElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFieldSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_disabled_HTMLFieldSetElement ( self_ : < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , disabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let disabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( disabled , & mut __stack ) ; __widl_f_set_disabled_HTMLFieldSetElement ( self_ , disabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_HTMLFieldSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFieldSetElement as WasmDescribe > :: describe ( ) ; < Option < HtmlFormElement > as WasmDescribe > :: describe ( ) ; } impl HtmlFieldSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`, `HtmlFormElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_HTMLFieldSetElement ( self_ : < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_HTMLFieldSetElement ( self_ ) } ; < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`, `HtmlFormElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLFieldSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFieldSetElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFieldSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/name)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLFieldSetElement ( self_ : < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLFieldSetElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/name)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLFieldSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFieldSetElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFieldSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/name)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLFieldSetElement ( self_ : < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLFieldSetElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/name)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLFieldSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFieldSetElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFieldSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/type)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLFieldSetElement ( self_ : < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLFieldSetElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/type)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_elements_HTMLFieldSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFieldSetElement as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl HtmlFieldSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `elements` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/elements)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlFieldSetElement`*" ] pub fn elements ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_elements_HTMLFieldSetElement ( self_ : < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_elements_HTMLFieldSetElement ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `elements` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/elements)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlFieldSetElement`*" ] pub fn elements ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_will_validate_HTMLFieldSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFieldSetElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlFieldSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn will_validate ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_will_validate_HTMLFieldSetElement ( self_ : < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_will_validate_HTMLFieldSetElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn will_validate ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validity_HTMLFieldSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFieldSetElement as WasmDescribe > :: describe ( ) ; < ValidityState as WasmDescribe > :: describe ( ) ; } impl HtmlFieldSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validity_HTMLFieldSetElement ( self_ : < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validity_HTMLFieldSetElement ( self_ ) } ; < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validation_message_HTMLFieldSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFieldSetElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFieldSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validation_message_HTMLFieldSetElement ( self_ : < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFieldSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validation_message_HTMLFieldSetElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlFieldSetElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLFontElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement)\n\n*This API requires the following crate features to be activated: `HtmlFontElement`*" ] # [ repr ( transparent ) ] pub struct HtmlFontElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlFontElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlFontElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlFontElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlFontElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlFontElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlFontElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlFontElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlFontElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlFontElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlFontElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlFontElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlFontElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlFontElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlFontElement { HtmlFontElement { obj } } } impl AsRef < JsValue > for HtmlFontElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlFontElement > for JsValue { # [ inline ] fn from ( obj : HtmlFontElement ) -> JsValue { obj . obj } } impl JsCast for HtmlFontElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLFontElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLFontElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlFontElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlFontElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlFontElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlFontElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlFontElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlFontElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFontElement > for Element { # [ inline ] fn from ( obj : HtmlFontElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlFontElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFontElement > for Node { # [ inline ] fn from ( obj : HtmlFontElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlFontElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFontElement > for EventTarget { # [ inline ] fn from ( obj : HtmlFontElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlFontElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFontElement > for Object { # [ inline ] fn from ( obj : HtmlFontElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlFontElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_color_HTMLFontElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFontElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFontElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `color` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/color)\n\n*This API requires the following crate features to be activated: `HtmlFontElement`*" ] pub fn color ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_color_HTMLFontElement ( self_ : < & HtmlFontElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFontElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_color_HTMLFontElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `color` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/color)\n\n*This API requires the following crate features to be activated: `HtmlFontElement`*" ] pub fn color ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_color_HTMLFontElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFontElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFontElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `color` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/color)\n\n*This API requires the following crate features to be activated: `HtmlFontElement`*" ] pub fn set_color ( & self , color : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_color_HTMLFontElement ( self_ : < & HtmlFontElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFontElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( color , & mut __stack ) ; __widl_f_set_color_HTMLFontElement ( self_ , color ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `color` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/color)\n\n*This API requires the following crate features to be activated: `HtmlFontElement`*" ] pub fn set_color ( & self , color : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_face_HTMLFontElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFontElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFontElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `face` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/face)\n\n*This API requires the following crate features to be activated: `HtmlFontElement`*" ] pub fn face ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_face_HTMLFontElement ( self_ : < & HtmlFontElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFontElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_face_HTMLFontElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `face` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/face)\n\n*This API requires the following crate features to be activated: `HtmlFontElement`*" ] pub fn face ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_face_HTMLFontElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFontElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFontElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `face` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/face)\n\n*This API requires the following crate features to be activated: `HtmlFontElement`*" ] pub fn set_face ( & self , face : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_face_HTMLFontElement ( self_ : < & HtmlFontElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , face : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFontElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let face = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( face , & mut __stack ) ; __widl_f_set_face_HTMLFontElement ( self_ , face ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `face` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/face)\n\n*This API requires the following crate features to be activated: `HtmlFontElement`*" ] pub fn set_face ( & self , face : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_size_HTMLFontElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFontElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFontElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/size)\n\n*This API requires the following crate features to be activated: `HtmlFontElement`*" ] pub fn size ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_size_HTMLFontElement ( self_ : < & HtmlFontElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFontElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_size_HTMLFontElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/size)\n\n*This API requires the following crate features to be activated: `HtmlFontElement`*" ] pub fn size ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_size_HTMLFontElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFontElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFontElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/size)\n\n*This API requires the following crate features to be activated: `HtmlFontElement`*" ] pub fn set_size ( & self , size : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_size_HTMLFontElement ( self_ : < & HtmlFontElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFontElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let size = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_set_size_HTMLFontElement ( self_ , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/size)\n\n*This API requires the following crate features to be activated: `HtmlFontElement`*" ] pub fn set_size ( & self , size : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLFormControlsCollection` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormControlsCollection)\n\n*This API requires the following crate features to be activated: `HtmlFormControlsCollection`*" ] # [ repr ( transparent ) ] pub struct HtmlFormControlsCollection { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlFormControlsCollection : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlFormControlsCollection { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlFormControlsCollection { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlFormControlsCollection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlFormControlsCollection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlFormControlsCollection { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlFormControlsCollection { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlFormControlsCollection { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlFormControlsCollection { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlFormControlsCollection { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlFormControlsCollection > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlFormControlsCollection { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlFormControlsCollection { # [ inline ] fn from ( obj : JsValue ) -> HtmlFormControlsCollection { HtmlFormControlsCollection { obj } } } impl AsRef < JsValue > for HtmlFormControlsCollection { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlFormControlsCollection > for JsValue { # [ inline ] fn from ( obj : HtmlFormControlsCollection ) -> JsValue { obj . obj } } impl JsCast for HtmlFormControlsCollection { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLFormControlsCollection ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLFormControlsCollection ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlFormControlsCollection { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlFormControlsCollection ) } } } ( ) } ; impl core :: ops :: Deref for HtmlFormControlsCollection { type Target = HtmlCollection ; # [ inline ] fn deref ( & self ) -> & HtmlCollection { self . as_ref ( ) } } impl From < HtmlFormControlsCollection > for HtmlCollection { # [ inline ] fn from ( obj : HtmlFormControlsCollection ) -> HtmlCollection { use wasm_bindgen :: JsCast ; HtmlCollection :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlCollection > for HtmlFormControlsCollection { # [ inline ] fn as_ref ( & self ) -> & HtmlCollection { use wasm_bindgen :: JsCast ; HtmlCollection :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFormControlsCollection > for Object { # [ inline ] fn from ( obj : HtmlFormControlsCollection ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlFormControlsCollection { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_named_item_HTMLFormControlsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFormControlsCollection as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl HtmlFormControlsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormControlsCollection/namedItem)\n\n*This API requires the following crate features to be activated: `HtmlFormControlsCollection`*" ] pub fn named_item ( & self , name : & str ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_named_item_HTMLFormControlsCollection ( self_ : < & HtmlFormControlsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormControlsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_named_item_HTMLFormControlsCollection ( self_ , name ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormControlsCollection/namedItem)\n\n*This API requires the following crate features to be activated: `HtmlFormControlsCollection`*" ] pub fn named_item ( & self , name : & str ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_HTMLFormControlsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFormControlsCollection as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl HtmlFormControlsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `HtmlFormControlsCollection`*" ] pub fn get ( & self , name : & str ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_HTMLFormControlsCollection ( self_ : < & HtmlFormControlsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormControlsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_HTMLFormControlsCollection ( self_ , name ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `HtmlFormControlsCollection`*" ] pub fn get ( & self , name : & str ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLFormElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] # [ repr ( transparent ) ] pub struct HtmlFormElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlFormElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlFormElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlFormElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlFormElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlFormElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlFormElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlFormElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlFormElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlFormElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlFormElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlFormElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlFormElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlFormElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlFormElement { HtmlFormElement { obj } } } impl AsRef < JsValue > for HtmlFormElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlFormElement > for JsValue { # [ inline ] fn from ( obj : HtmlFormElement ) -> JsValue { obj . obj } } impl JsCast for HtmlFormElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLFormElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLFormElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlFormElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlFormElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlFormElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlFormElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlFormElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlFormElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFormElement > for Element { # [ inline ] fn from ( obj : HtmlFormElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlFormElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFormElement > for Node { # [ inline ] fn from ( obj : HtmlFormElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlFormElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFormElement > for EventTarget { # [ inline ] fn from ( obj : HtmlFormElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlFormElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFormElement > for Object { # [ inline ] fn from ( obj : HtmlFormElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlFormElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_check_validity_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn check_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_check_validity_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_check_validity_HTMLFormElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn check_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_report_validity_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn report_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_report_validity_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_report_validity_HTMLFormElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn report_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reset_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reset()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/reset)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn reset ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reset_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reset_HTMLFormElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reset()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/reset)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn reset ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_submit_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `submit()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn submit ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_submit_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_submit_HTMLFormElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `submit()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn submit ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_index_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Element as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Element`, `HtmlFormElement`*" ] pub fn get_with_index ( & self , index : u32 ) -> Element { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_index_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_with_index_HTMLFormElement ( self_ , index ) } ; < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Element`, `HtmlFormElement`*" ] pub fn get_with_index ( & self , index : u32 ) -> Element { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_name_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn get_with_name ( & self , name : & str ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_name_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_with_name_HTMLFormElement ( self_ , name ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn get_with_name ( & self , name : & str ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_accept_charset_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `acceptCharset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/acceptCharset)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn accept_charset ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_accept_charset_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_accept_charset_HTMLFormElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `acceptCharset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/acceptCharset)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn accept_charset ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_accept_charset_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `acceptCharset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/acceptCharset)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_accept_charset ( & self , accept_charset : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_accept_charset_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , accept_charset : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let accept_charset = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( accept_charset , & mut __stack ) ; __widl_f_set_accept_charset_HTMLFormElement ( self_ , accept_charset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `acceptCharset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/acceptCharset)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_accept_charset ( & self , accept_charset : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_action_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `action` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/action)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn action ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_action_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_action_HTMLFormElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `action` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/action)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn action ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_action_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `action` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/action)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_action ( & self , action : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_action_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , action : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let action = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( action , & mut __stack ) ; __widl_f_set_action_HTMLFormElement ( self_ , action ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `action` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/action)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_action ( & self , action : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_autocomplete_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autocomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn autocomplete ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_autocomplete_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_autocomplete_HTMLFormElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autocomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn autocomplete ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_autocomplete_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autocomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_autocomplete ( & self , autocomplete : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_autocomplete_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , autocomplete : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let autocomplete = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( autocomplete , & mut __stack ) ; __widl_f_set_autocomplete_HTMLFormElement ( self_ , autocomplete ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autocomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_autocomplete ( & self , autocomplete : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_enctype_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enctype` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/enctype)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn enctype ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_enctype_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_enctype_HTMLFormElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enctype` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/enctype)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn enctype ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_enctype_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enctype` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/enctype)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_enctype ( & self , enctype : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_enctype_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , enctype : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let enctype = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( enctype , & mut __stack ) ; __widl_f_set_enctype_HTMLFormElement ( self_ , enctype ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enctype` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/enctype)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_enctype ( & self , enctype : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_encoding_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `encoding` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/encoding)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn encoding ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_encoding_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_encoding_HTMLFormElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `encoding` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/encoding)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn encoding ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_encoding_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `encoding` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/encoding)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_encoding ( & self , encoding : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_encoding_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , encoding : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let encoding = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( encoding , & mut __stack ) ; __widl_f_set_encoding_HTMLFormElement ( self_ , encoding ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `encoding` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/encoding)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_encoding ( & self , encoding : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_method_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `method` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/method)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn method ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_method_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_method_HTMLFormElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `method` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/method)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn method ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_method_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `method` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/method)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_method ( & self , method : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_method_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , method : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let method = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( method , & mut __stack ) ; __widl_f_set_method_HTMLFormElement ( self_ , method ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `method` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/method)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_method ( & self , method : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/name)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLFormElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/name)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/name)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLFormElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/name)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_no_validate_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/noValidate)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn no_validate ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_no_validate_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_no_validate_HTMLFormElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/noValidate)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn no_validate ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_no_validate_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noValidate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/noValidate)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_no_validate ( & self , no_validate : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_no_validate_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , no_validate : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let no_validate = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( no_validate , & mut __stack ) ; __widl_f_set_no_validate_HTMLFormElement ( self_ , no_validate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noValidate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/noValidate)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_no_validate ( & self , no_validate : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/target)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn target ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_HTMLFormElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/target)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn target ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_target_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/target)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_target ( & self , target : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_target_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_set_target_HTMLFormElement ( self_ , target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/target)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn set_target ( & self , target : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_elements_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `elements` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlFormElement`*" ] pub fn elements ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_elements_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_elements_HTMLFormElement ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `elements` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlFormElement`*" ] pub fn elements ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_HTMLFormElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFormElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlFormElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/length)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn length ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_HTMLFormElement ( self_ : < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFormElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_HTMLFormElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/length)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`*" ] pub fn length ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLFrameElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] # [ repr ( transparent ) ] pub struct HtmlFrameElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlFrameElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlFrameElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlFrameElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlFrameElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlFrameElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlFrameElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlFrameElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlFrameElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlFrameElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlFrameElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlFrameElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlFrameElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlFrameElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlFrameElement { HtmlFrameElement { obj } } } impl AsRef < JsValue > for HtmlFrameElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlFrameElement > for JsValue { # [ inline ] fn from ( obj : HtmlFrameElement ) -> JsValue { obj . obj } } impl JsCast for HtmlFrameElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLFrameElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLFrameElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlFrameElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlFrameElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlFrameElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlFrameElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlFrameElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlFrameElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFrameElement > for Element { # [ inline ] fn from ( obj : HtmlFrameElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlFrameElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFrameElement > for Node { # [ inline ] fn from ( obj : HtmlFrameElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlFrameElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFrameElement > for EventTarget { # [ inline ] fn from ( obj : HtmlFrameElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlFrameElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFrameElement > for Object { # [ inline ] fn from ( obj : HtmlFrameElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlFrameElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/name)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/name)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/name)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLFrameElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/name)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scrolling_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrolling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/scrolling)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn scrolling ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scrolling_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scrolling_HTMLFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrolling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/scrolling)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn scrolling ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_scrolling_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrolling` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/scrolling)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_scrolling ( & self , scrolling : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_scrolling_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scrolling : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scrolling = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scrolling , & mut __stack ) ; __widl_f_set_scrolling_HTMLFrameElement ( self_ , scrolling ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrolling` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/scrolling)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_scrolling ( & self , scrolling : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_src_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/src)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn src ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_src_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_src_HTMLFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/src)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn src ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_src_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/src)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_src ( & self , src : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_src_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; __widl_f_set_src_HTMLFrameElement ( self_ , src ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/src)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_src ( & self , src : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_frame_border_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frameBorder` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/frameBorder)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn frame_border ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_frame_border_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_frame_border_HTMLFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frameBorder` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/frameBorder)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn frame_border ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_frame_border_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frameBorder` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/frameBorder)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_frame_border ( & self , frame_border : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_frame_border_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , frame_border : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let frame_border = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( frame_border , & mut __stack ) ; __widl_f_set_frame_border_HTMLFrameElement ( self_ , frame_border ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frameBorder` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/frameBorder)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_frame_border ( & self , frame_border : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_long_desc_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `longDesc` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/longDesc)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn long_desc ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_long_desc_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_long_desc_HTMLFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `longDesc` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/longDesc)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn long_desc ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_long_desc_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `longDesc` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/longDesc)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_long_desc ( & self , long_desc : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_long_desc_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , long_desc : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let long_desc = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( long_desc , & mut __stack ) ; __widl_f_set_long_desc_HTMLFrameElement ( self_ , long_desc ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `longDesc` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/longDesc)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_long_desc ( & self , long_desc : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_no_resize_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noResize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/noResize)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn no_resize ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_no_resize_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_no_resize_HTMLFrameElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noResize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/noResize)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn no_resize ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_no_resize_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noResize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/noResize)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_no_resize ( & self , no_resize : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_no_resize_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , no_resize : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let no_resize = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( no_resize , & mut __stack ) ; __widl_f_set_no_resize_HTMLFrameElement ( self_ , no_resize ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noResize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/noResize)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_no_resize ( & self , no_resize : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_content_document_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < Option < Document > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `contentDocument` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/contentDocument)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlFrameElement`*" ] pub fn content_document ( & self , ) -> Option < Document > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_content_document_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_content_document_HTMLFrameElement ( self_ ) } ; < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `contentDocument` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/contentDocument)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlFrameElement`*" ] pub fn content_document ( & self , ) -> Option < Document > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_content_window_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `contentWindow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/contentWindow)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`, `Window`*" ] pub fn content_window ( & self , ) -> Option < Window > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_content_window_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_content_window_HTMLFrameElement ( self_ ) } ; < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `contentWindow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/contentWindow)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`, `Window`*" ] pub fn content_window ( & self , ) -> Option < Window > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_margin_height_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `marginHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginHeight)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn margin_height ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_margin_height_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_margin_height_HTMLFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `marginHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginHeight)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn margin_height ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_margin_height_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `marginHeight` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginHeight)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_margin_height ( & self , margin_height : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_margin_height_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , margin_height : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let margin_height = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( margin_height , & mut __stack ) ; __widl_f_set_margin_height_HTMLFrameElement ( self_ , margin_height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `marginHeight` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginHeight)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_margin_height ( & self , margin_height : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_margin_width_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `marginWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginWidth)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn margin_width ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_margin_width_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_margin_width_HTMLFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `marginWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginWidth)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn margin_width ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_margin_width_HTMLFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `marginWidth` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginWidth)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_margin_width ( & self , margin_width : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_margin_width_HTMLFrameElement ( self_ : < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , margin_width : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let margin_width = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( margin_width , & mut __stack ) ; __widl_f_set_margin_width_HTMLFrameElement ( self_ , margin_width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `marginWidth` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginWidth)\n\n*This API requires the following crate features to be activated: `HtmlFrameElement`*" ] pub fn set_margin_width ( & self , margin_width : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLFrameSetElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] # [ repr ( transparent ) ] pub struct HtmlFrameSetElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlFrameSetElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlFrameSetElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlFrameSetElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlFrameSetElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlFrameSetElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlFrameSetElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlFrameSetElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlFrameSetElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlFrameSetElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlFrameSetElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlFrameSetElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlFrameSetElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlFrameSetElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlFrameSetElement { HtmlFrameSetElement { obj } } } impl AsRef < JsValue > for HtmlFrameSetElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlFrameSetElement > for JsValue { # [ inline ] fn from ( obj : HtmlFrameSetElement ) -> JsValue { obj . obj } } impl JsCast for HtmlFrameSetElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLFrameSetElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLFrameSetElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlFrameSetElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlFrameSetElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlFrameSetElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlFrameSetElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlFrameSetElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlFrameSetElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFrameSetElement > for Element { # [ inline ] fn from ( obj : HtmlFrameSetElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlFrameSetElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFrameSetElement > for Node { # [ inline ] fn from ( obj : HtmlFrameSetElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlFrameSetElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFrameSetElement > for EventTarget { # [ inline ] fn from ( obj : HtmlFrameSetElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlFrameSetElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlFrameSetElement > for Object { # [ inline ] fn from ( obj : HtmlFrameSetElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlFrameSetElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cols_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cols` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/cols)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn cols ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cols_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cols_HTMLFrameSetElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cols` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/cols)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn cols ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cols_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cols` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/cols)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_cols ( & self , cols : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cols_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cols : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cols = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cols , & mut __stack ) ; __widl_f_set_cols_HTMLFrameSetElement ( self_ , cols ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cols` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/cols)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_cols ( & self , cols : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rows_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rows` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/rows)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn rows ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rows_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rows_HTMLFrameSetElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rows` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/rows)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn rows ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_rows_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rows` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/rows)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_rows ( & self , rows : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_rows_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rows : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rows = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rows , & mut __stack ) ; __widl_f_set_rows_HTMLFrameSetElement ( self_ , rows ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rows` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/rows)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_rows ( & self , rows : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onafterprint_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onafterprint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onafterprint)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onafterprint ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onafterprint_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onafterprint_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onafterprint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onafterprint)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onafterprint ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onafterprint_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onafterprint` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onafterprint)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onafterprint ( & self , onafterprint : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onafterprint_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onafterprint : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onafterprint = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onafterprint , & mut __stack ) ; __widl_f_set_onafterprint_HTMLFrameSetElement ( self_ , onafterprint ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onafterprint` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onafterprint)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onafterprint ( & self , onafterprint : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onbeforeprint_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforeprint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onbeforeprint)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onbeforeprint ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onbeforeprint_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onbeforeprint_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforeprint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onbeforeprint)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onbeforeprint ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onbeforeprint_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforeprint` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onbeforeprint)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onbeforeprint ( & self , onbeforeprint : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onbeforeprint_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onbeforeprint : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onbeforeprint = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onbeforeprint , & mut __stack ) ; __widl_f_set_onbeforeprint_HTMLFrameSetElement ( self_ , onbeforeprint ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforeprint` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onbeforeprint)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onbeforeprint ( & self , onbeforeprint : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onbeforeunload_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforeunload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onbeforeunload)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onbeforeunload ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onbeforeunload_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onbeforeunload_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforeunload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onbeforeunload)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onbeforeunload ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onbeforeunload_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforeunload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onbeforeunload)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onbeforeunload ( & self , onbeforeunload : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onbeforeunload_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onbeforeunload : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onbeforeunload = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onbeforeunload , & mut __stack ) ; __widl_f_set_onbeforeunload_HTMLFrameSetElement ( self_ , onbeforeunload ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforeunload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onbeforeunload)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onbeforeunload ( & self , onbeforeunload : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onhashchange_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onhashchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onhashchange)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onhashchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onhashchange_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onhashchange_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onhashchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onhashchange)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onhashchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onhashchange_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onhashchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onhashchange)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onhashchange ( & self , onhashchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onhashchange_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onhashchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onhashchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onhashchange , & mut __stack ) ; __widl_f_set_onhashchange_HTMLFrameSetElement ( self_ , onhashchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onhashchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onhashchange)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onhashchange ( & self , onhashchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onlanguagechange_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlanguagechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onlanguagechange)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onlanguagechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onlanguagechange_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onlanguagechange_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlanguagechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onlanguagechange)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onlanguagechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onlanguagechange_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlanguagechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onlanguagechange)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onlanguagechange ( & self , onlanguagechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onlanguagechange_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onlanguagechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onlanguagechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onlanguagechange , & mut __stack ) ; __widl_f_set_onlanguagechange_HTMLFrameSetElement ( self_ , onlanguagechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlanguagechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onlanguagechange)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onlanguagechange ( & self , onlanguagechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onmessage)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onmessage)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onmessage)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_HTMLFrameSetElement ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onmessage)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessageerror_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onmessageerror)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessageerror_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessageerror_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onmessageerror)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessageerror_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onmessageerror)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessageerror_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessageerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessageerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessageerror , & mut __stack ) ; __widl_f_set_onmessageerror_HTMLFrameSetElement ( self_ , onmessageerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onmessageerror)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onoffline_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onoffline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onoffline)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onoffline ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onoffline_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onoffline_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onoffline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onoffline)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onoffline ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onoffline_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onoffline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onoffline)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onoffline ( & self , onoffline : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onoffline_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onoffline : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onoffline = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onoffline , & mut __stack ) ; __widl_f_set_onoffline_HTMLFrameSetElement ( self_ , onoffline ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onoffline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onoffline)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onoffline ( & self , onoffline : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ononline_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ononline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/ononline)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn ononline ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ononline_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ononline_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ononline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/ononline)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn ononline ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ononline_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ononline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/ononline)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_ononline ( & self , ononline : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ononline_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ononline : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ononline = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ononline , & mut __stack ) ; __widl_f_set_ononline_HTMLFrameSetElement ( self_ , ononline ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ononline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/ononline)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_ononline ( & self , ononline : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpagehide_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpagehide` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpagehide)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onpagehide ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpagehide_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpagehide_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpagehide` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpagehide)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onpagehide ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpagehide_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpagehide` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpagehide)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onpagehide ( & self , onpagehide : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpagehide_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpagehide : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpagehide = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpagehide , & mut __stack ) ; __widl_f_set_onpagehide_HTMLFrameSetElement ( self_ , onpagehide ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpagehide` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpagehide)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onpagehide ( & self , onpagehide : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpageshow_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpageshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpageshow)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onpageshow ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpageshow_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpageshow_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpageshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpageshow)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onpageshow ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpageshow_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpageshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpageshow)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onpageshow ( & self , onpageshow : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpageshow_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpageshow : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpageshow = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpageshow , & mut __stack ) ; __widl_f_set_onpageshow_HTMLFrameSetElement ( self_ , onpageshow ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpageshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpageshow)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onpageshow ( & self , onpageshow : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpopstate_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpopstate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpopstate)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onpopstate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpopstate_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpopstate_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpopstate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpopstate)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onpopstate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpopstate_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpopstate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpopstate)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onpopstate ( & self , onpopstate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpopstate_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpopstate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpopstate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpopstate , & mut __stack ) ; __widl_f_set_onpopstate_HTMLFrameSetElement ( self_ , onpopstate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpopstate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onpopstate)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onpopstate ( & self , onpopstate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstorage_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstorage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onstorage)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onstorage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstorage_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstorage_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstorage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onstorage)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onstorage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstorage_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstorage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onstorage)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onstorage ( & self , onstorage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstorage_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstorage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstorage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstorage , & mut __stack ) ; __widl_f_set_onstorage_HTMLFrameSetElement ( self_ , onstorage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstorage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onstorage)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onstorage ( & self , onstorage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onunload_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onunload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onunload)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onunload ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onunload_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onunload_HTMLFrameSetElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onunload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onunload)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn onunload ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onunload_HTMLFrameSetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlFrameSetElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlFrameSetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onunload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onunload)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onunload ( & self , onunload : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onunload_HTMLFrameSetElement ( self_ : < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onunload : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlFrameSetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onunload = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onunload , & mut __stack ) ; __widl_f_set_onunload_HTMLFrameSetElement ( self_ , onunload ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onunload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement/onunload)\n\n*This API requires the following crate features to be activated: `HtmlFrameSetElement`*" ] pub fn set_onunload ( & self , onunload : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLHRElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] # [ repr ( transparent ) ] pub struct HtmlHrElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlHrElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlHrElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlHrElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlHrElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlHrElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlHrElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlHrElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlHrElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlHrElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlHrElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlHrElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlHrElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlHrElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlHrElement { HtmlHrElement { obj } } } impl AsRef < JsValue > for HtmlHrElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlHrElement > for JsValue { # [ inline ] fn from ( obj : HtmlHrElement ) -> JsValue { obj . obj } } impl JsCast for HtmlHrElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLHRElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLHRElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlHrElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlHrElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlHrElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlHrElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlHrElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlHrElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHrElement > for Element { # [ inline ] fn from ( obj : HtmlHrElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlHrElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHrElement > for Node { # [ inline ] fn from ( obj : HtmlHrElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlHrElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHrElement > for EventTarget { # [ inline ] fn from ( obj : HtmlHrElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlHrElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHrElement > for Object { # [ inline ] fn from ( obj : HtmlHrElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlHrElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLHRElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlHrElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlHrElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/align)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLHRElement ( self_ : < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLHRElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/align)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLHRElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlHrElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlHrElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/align)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLHRElement ( self_ : < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLHRElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/align)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_color_HTMLHRElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlHrElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlHrElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `color` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/color)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn color ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_color_HTMLHRElement ( self_ : < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_color_HTMLHRElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `color` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/color)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn color ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_color_HTMLHRElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlHrElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlHrElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `color` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/color)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn set_color ( & self , color : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_color_HTMLHRElement ( self_ : < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( color , & mut __stack ) ; __widl_f_set_color_HTMLHRElement ( self_ , color ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `color` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/color)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn set_color ( & self , color : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_no_shade_HTMLHRElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlHrElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlHrElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noShade` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/noShade)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn no_shade ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_no_shade_HTMLHRElement ( self_ : < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_no_shade_HTMLHRElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noShade` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/noShade)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn no_shade ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_no_shade_HTMLHRElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlHrElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlHrElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noShade` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/noShade)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn set_no_shade ( & self , no_shade : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_no_shade_HTMLHRElement ( self_ : < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , no_shade : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let no_shade = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( no_shade , & mut __stack ) ; __widl_f_set_no_shade_HTMLHRElement ( self_ , no_shade ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noShade` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/noShade)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn set_no_shade ( & self , no_shade : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_size_HTMLHRElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlHrElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlHrElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/size)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn size ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_size_HTMLHRElement ( self_ : < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_size_HTMLHRElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/size)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn size ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_size_HTMLHRElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlHrElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlHrElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/size)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn set_size ( & self , size : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_size_HTMLHRElement ( self_ : < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let size = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_set_size_HTMLHRElement ( self_ , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/size)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn set_size ( & self , size : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_HTMLHRElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlHrElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlHrElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/width)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn width ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_HTMLHRElement ( self_ : < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_HTMLHRElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/width)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn width ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_HTMLHRElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlHrElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlHrElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/width)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn set_width ( & self , width : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_HTMLHRElement ( self_ : < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHrElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_HTMLHRElement ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/width)\n\n*This API requires the following crate features to be activated: `HtmlHrElement`*" ] pub fn set_width ( & self , width : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLHeadElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadElement)\n\n*This API requires the following crate features to be activated: `HtmlHeadElement`*" ] # [ repr ( transparent ) ] pub struct HtmlHeadElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlHeadElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlHeadElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlHeadElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlHeadElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlHeadElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlHeadElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlHeadElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlHeadElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlHeadElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlHeadElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlHeadElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlHeadElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlHeadElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlHeadElement { HtmlHeadElement { obj } } } impl AsRef < JsValue > for HtmlHeadElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlHeadElement > for JsValue { # [ inline ] fn from ( obj : HtmlHeadElement ) -> JsValue { obj . obj } } impl JsCast for HtmlHeadElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLHeadElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLHeadElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlHeadElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlHeadElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlHeadElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlHeadElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlHeadElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlHeadElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHeadElement > for Element { # [ inline ] fn from ( obj : HtmlHeadElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlHeadElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHeadElement > for Node { # [ inline ] fn from ( obj : HtmlHeadElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlHeadElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHeadElement > for EventTarget { # [ inline ] fn from ( obj : HtmlHeadElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlHeadElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHeadElement > for Object { # [ inline ] fn from ( obj : HtmlHeadElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlHeadElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLHeadingElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement)\n\n*This API requires the following crate features to be activated: `HtmlHeadingElement`*" ] # [ repr ( transparent ) ] pub struct HtmlHeadingElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlHeadingElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlHeadingElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlHeadingElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlHeadingElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlHeadingElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlHeadingElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlHeadingElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlHeadingElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlHeadingElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlHeadingElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlHeadingElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlHeadingElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlHeadingElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlHeadingElement { HtmlHeadingElement { obj } } } impl AsRef < JsValue > for HtmlHeadingElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlHeadingElement > for JsValue { # [ inline ] fn from ( obj : HtmlHeadingElement ) -> JsValue { obj . obj } } impl JsCast for HtmlHeadingElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLHeadingElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLHeadingElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlHeadingElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlHeadingElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlHeadingElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlHeadingElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlHeadingElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlHeadingElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHeadingElement > for Element { # [ inline ] fn from ( obj : HtmlHeadingElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlHeadingElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHeadingElement > for Node { # [ inline ] fn from ( obj : HtmlHeadingElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlHeadingElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHeadingElement > for EventTarget { # [ inline ] fn from ( obj : HtmlHeadingElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlHeadingElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHeadingElement > for Object { # [ inline ] fn from ( obj : HtmlHeadingElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlHeadingElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLHeadingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlHeadingElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlHeadingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement/align)\n\n*This API requires the following crate features to be activated: `HtmlHeadingElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLHeadingElement ( self_ : < & HtmlHeadingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHeadingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLHeadingElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement/align)\n\n*This API requires the following crate features to be activated: `HtmlHeadingElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLHeadingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlHeadingElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlHeadingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement/align)\n\n*This API requires the following crate features to be activated: `HtmlHeadingElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLHeadingElement ( self_ : < & HtmlHeadingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHeadingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLHeadingElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement/align)\n\n*This API requires the following crate features to be activated: `HtmlHeadingElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLHtmlElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement)\n\n*This API requires the following crate features to be activated: `HtmlHtmlElement`*" ] # [ repr ( transparent ) ] pub struct HtmlHtmlElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlHtmlElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlHtmlElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlHtmlElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlHtmlElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlHtmlElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlHtmlElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlHtmlElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlHtmlElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlHtmlElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlHtmlElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlHtmlElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlHtmlElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlHtmlElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlHtmlElement { HtmlHtmlElement { obj } } } impl AsRef < JsValue > for HtmlHtmlElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlHtmlElement > for JsValue { # [ inline ] fn from ( obj : HtmlHtmlElement ) -> JsValue { obj . obj } } impl JsCast for HtmlHtmlElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLHtmlElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLHtmlElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlHtmlElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlHtmlElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlHtmlElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlHtmlElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlHtmlElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlHtmlElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHtmlElement > for Element { # [ inline ] fn from ( obj : HtmlHtmlElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlHtmlElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHtmlElement > for Node { # [ inline ] fn from ( obj : HtmlHtmlElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlHtmlElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHtmlElement > for EventTarget { # [ inline ] fn from ( obj : HtmlHtmlElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlHtmlElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlHtmlElement > for Object { # [ inline ] fn from ( obj : HtmlHtmlElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlHtmlElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_version_HTMLHtmlElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlHtmlElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlHtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `version` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement/version)\n\n*This API requires the following crate features to be activated: `HtmlHtmlElement`*" ] pub fn version ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_version_HTMLHtmlElement ( self_ : < & HtmlHtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_version_HTMLHtmlElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `version` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement/version)\n\n*This API requires the following crate features to be activated: `HtmlHtmlElement`*" ] pub fn version ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_version_HTMLHtmlElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlHtmlElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlHtmlElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `version` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement/version)\n\n*This API requires the following crate features to be activated: `HtmlHtmlElement`*" ] pub fn set_version ( & self , version : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_version_HTMLHtmlElement ( self_ : < & HtmlHtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , version : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlHtmlElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let version = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( version , & mut __stack ) ; __widl_f_set_version_HTMLHtmlElement ( self_ , version ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `version` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement/version)\n\n*This API requires the following crate features to be activated: `HtmlHtmlElement`*" ] pub fn set_version ( & self , version : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLIFrameElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] # [ repr ( transparent ) ] pub struct HtmlIFrameElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlIFrameElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlIFrameElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlIFrameElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlIFrameElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlIFrameElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlIFrameElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlIFrameElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlIFrameElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlIFrameElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlIFrameElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlIFrameElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlIFrameElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlIFrameElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlIFrameElement { HtmlIFrameElement { obj } } } impl AsRef < JsValue > for HtmlIFrameElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlIFrameElement > for JsValue { # [ inline ] fn from ( obj : HtmlIFrameElement ) -> JsValue { obj . obj } } impl JsCast for HtmlIFrameElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLIFrameElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLIFrameElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlIFrameElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlIFrameElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlIFrameElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlIFrameElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlIFrameElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlIFrameElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlIFrameElement > for Element { # [ inline ] fn from ( obj : HtmlIFrameElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlIFrameElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlIFrameElement > for Node { # [ inline ] fn from ( obj : HtmlIFrameElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlIFrameElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlIFrameElement > for EventTarget { # [ inline ] fn from ( obj : HtmlIFrameElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlIFrameElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlIFrameElement > for Object { # [ inline ] fn from ( obj : HtmlIFrameElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlIFrameElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_svg_document_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < Option < Document > as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getSVGDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/getSVGDocument)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlIFrameElement`*" ] pub fn get_svg_document ( & self , ) -> Option < Document > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_svg_document_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_svg_document_HTMLIFrameElement ( self_ ) } ; < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getSVGDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/getSVGDocument)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlIFrameElement`*" ] pub fn get_svg_document ( & self , ) -> Option < Document > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_src_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/src)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn src ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_src_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_src_HTMLIFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/src)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn src ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_src_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/src)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_src ( & self , src : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_src_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; __widl_f_set_src_HTMLIFrameElement ( self_ , src ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/src)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_src ( & self , src : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_srcdoc_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `srcdoc` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/srcdoc)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn srcdoc ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_srcdoc_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_srcdoc_HTMLIFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `srcdoc` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/srcdoc)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn srcdoc ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_srcdoc_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `srcdoc` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/srcdoc)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_srcdoc ( & self , srcdoc : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_srcdoc_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , srcdoc : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let srcdoc = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( srcdoc , & mut __stack ) ; __widl_f_set_srcdoc_HTMLIFrameElement ( self_ , srcdoc ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `srcdoc` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/srcdoc)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_srcdoc ( & self , srcdoc : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/name)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLIFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/name)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/name)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLIFrameElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/name)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sandbox_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < DomTokenList as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sandbox` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/sandbox)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `HtmlIFrameElement`*" ] pub fn sandbox ( & self , ) -> DomTokenList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sandbox_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sandbox_HTMLIFrameElement ( self_ ) } ; < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sandbox` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/sandbox)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `HtmlIFrameElement`*" ] pub fn sandbox ( & self , ) -> DomTokenList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_allow_fullscreen_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `allowFullscreen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowFullscreen)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn allow_fullscreen ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_allow_fullscreen_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_allow_fullscreen_HTMLIFrameElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `allowFullscreen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowFullscreen)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn allow_fullscreen ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_allow_fullscreen_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `allowFullscreen` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowFullscreen)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_allow_fullscreen ( & self , allow_fullscreen : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_allow_fullscreen_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , allow_fullscreen : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let allow_fullscreen = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( allow_fullscreen , & mut __stack ) ; __widl_f_set_allow_fullscreen_HTMLIFrameElement ( self_ , allow_fullscreen ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `allowFullscreen` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowFullscreen)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_allow_fullscreen ( & self , allow_fullscreen : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_allow_payment_request_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `allowPaymentRequest` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowPaymentRequest)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn allow_payment_request ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_allow_payment_request_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_allow_payment_request_HTMLIFrameElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `allowPaymentRequest` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowPaymentRequest)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn allow_payment_request ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_allow_payment_request_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `allowPaymentRequest` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowPaymentRequest)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_allow_payment_request ( & self , allow_payment_request : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_allow_payment_request_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , allow_payment_request : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let allow_payment_request = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( allow_payment_request , & mut __stack ) ; __widl_f_set_allow_payment_request_HTMLIFrameElement ( self_ , allow_payment_request ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `allowPaymentRequest` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowPaymentRequest)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_allow_payment_request ( & self , allow_payment_request : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/width)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn width ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_HTMLIFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/width)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn width ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/width)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_width ( & self , width : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_HTMLIFrameElement ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/width)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_width ( & self , width : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/height)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn height ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_HTMLIFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/height)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn height ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_height_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/height)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_height ( & self , height : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_height_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let height = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_set_height_HTMLIFrameElement ( self_ , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/height)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_height ( & self , height : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_referrer_policy_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn referrer_policy ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_referrer_policy_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_referrer_policy_HTMLIFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn referrer_policy ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_referrer_policy_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrerPolicy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_referrer_policy ( & self , referrer_policy : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_referrer_policy_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , referrer_policy : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let referrer_policy = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( referrer_policy , & mut __stack ) ; __widl_f_set_referrer_policy_HTMLIFrameElement ( self_ , referrer_policy ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrerPolicy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_referrer_policy ( & self , referrer_policy : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_content_document_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < Option < Document > as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `contentDocument` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/contentDocument)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlIFrameElement`*" ] pub fn content_document ( & self , ) -> Option < Document > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_content_document_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_content_document_HTMLIFrameElement ( self_ ) } ; < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `contentDocument` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/contentDocument)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlIFrameElement`*" ] pub fn content_document ( & self , ) -> Option < Document > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_content_window_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `contentWindow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/contentWindow)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`, `Window`*" ] pub fn content_window ( & self , ) -> Option < Window > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_content_window_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_content_window_HTMLIFrameElement ( self_ ) } ; < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `contentWindow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/contentWindow)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`, `Window`*" ] pub fn content_window ( & self , ) -> Option < Window > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/align)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLIFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/align)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/align)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLIFrameElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/align)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scrolling_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrolling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/scrolling)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn scrolling ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scrolling_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scrolling_HTMLIFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrolling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/scrolling)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn scrolling ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_scrolling_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrolling` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/scrolling)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_scrolling ( & self , scrolling : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_scrolling_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scrolling : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scrolling = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scrolling , & mut __stack ) ; __widl_f_set_scrolling_HTMLIFrameElement ( self_ , scrolling ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrolling` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/scrolling)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_scrolling ( & self , scrolling : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_frame_border_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frameBorder` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/frameBorder)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn frame_border ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_frame_border_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_frame_border_HTMLIFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frameBorder` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/frameBorder)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn frame_border ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_frame_border_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frameBorder` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/frameBorder)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_frame_border ( & self , frame_border : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_frame_border_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , frame_border : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let frame_border = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( frame_border , & mut __stack ) ; __widl_f_set_frame_border_HTMLIFrameElement ( self_ , frame_border ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frameBorder` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/frameBorder)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_frame_border ( & self , frame_border : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_long_desc_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `longDesc` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/longDesc)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn long_desc ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_long_desc_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_long_desc_HTMLIFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `longDesc` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/longDesc)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn long_desc ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_long_desc_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `longDesc` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/longDesc)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_long_desc ( & self , long_desc : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_long_desc_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , long_desc : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let long_desc = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( long_desc , & mut __stack ) ; __widl_f_set_long_desc_HTMLIFrameElement ( self_ , long_desc ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `longDesc` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/longDesc)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_long_desc ( & self , long_desc : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_margin_height_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `marginHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/marginHeight)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn margin_height ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_margin_height_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_margin_height_HTMLIFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `marginHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/marginHeight)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn margin_height ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_margin_height_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `marginHeight` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/marginHeight)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_margin_height ( & self , margin_height : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_margin_height_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , margin_height : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let margin_height = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( margin_height , & mut __stack ) ; __widl_f_set_margin_height_HTMLIFrameElement ( self_ , margin_height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `marginHeight` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/marginHeight)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_margin_height ( & self , margin_height : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_margin_width_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `marginWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/marginWidth)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn margin_width ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_margin_width_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_margin_width_HTMLIFrameElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `marginWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/marginWidth)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn margin_width ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_margin_width_HTMLIFrameElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlIFrameElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlIFrameElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `marginWidth` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/marginWidth)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_margin_width ( & self , margin_width : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_margin_width_HTMLIFrameElement ( self_ : < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , margin_width : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlIFrameElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let margin_width = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( margin_width , & mut __stack ) ; __widl_f_set_margin_width_HTMLIFrameElement ( self_ , margin_width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `marginWidth` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/marginWidth)\n\n*This API requires the following crate features to be activated: `HtmlIFrameElement`*" ] pub fn set_margin_width ( & self , margin_width : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLImageElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] # [ repr ( transparent ) ] pub struct HtmlImageElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlImageElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlImageElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlImageElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlImageElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlImageElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlImageElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlImageElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlImageElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlImageElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlImageElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlImageElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlImageElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlImageElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlImageElement { HtmlImageElement { obj } } } impl AsRef < JsValue > for HtmlImageElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlImageElement > for JsValue { # [ inline ] fn from ( obj : HtmlImageElement ) -> JsValue { obj . obj } } impl JsCast for HtmlImageElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLImageElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLImageElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlImageElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlImageElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlImageElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlImageElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlImageElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlImageElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlImageElement > for Element { # [ inline ] fn from ( obj : HtmlImageElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlImageElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlImageElement > for Node { # [ inline ] fn from ( obj : HtmlImageElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlImageElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlImageElement > for EventTarget { # [ inline ] fn from ( obj : HtmlImageElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlImageElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlImageElement > for Object { # [ inline ] fn from ( obj : HtmlImageElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlImageElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Image ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < HtmlImageElement as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new HTMLImageElement(..)` constructor, creating a new instance of `HTMLImageElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/HTMLImageElement)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn new ( ) -> Result < HtmlImageElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Image ( exn_data_ptr : * mut u32 ) -> < HtmlImageElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_Image ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlImageElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new HTMLImageElement(..)` constructor, creating a new instance of `HTMLImageElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/HTMLImageElement)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn new ( ) -> Result < HtmlImageElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_width_Image ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < u32 as WasmDescribe > :: describe ( ) ; < HtmlImageElement as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new HTMLImageElement(..)` constructor, creating a new instance of `HTMLImageElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/HTMLImageElement)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn new_with_width ( width : u32 ) -> Result < HtmlImageElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_width_Image ( width : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlImageElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let width = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_new_with_width_Image ( width , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlImageElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new HTMLImageElement(..)` constructor, creating a new instance of `HTMLImageElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/HTMLImageElement)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn new_with_width ( width : u32 ) -> Result < HtmlImageElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_width_and_height_Image ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < HtmlImageElement as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new HTMLImageElement(..)` constructor, creating a new instance of `HTMLImageElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/HTMLImageElement)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn new_with_width_and_height ( width : u32 , height : u32 ) -> Result < HtmlImageElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_width_and_height_Image ( width : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlImageElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let width = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_new_with_width_and_height_Image ( width , height , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlImageElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new HTMLImageElement(..)` constructor, creating a new instance of `HTMLImageElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/HTMLImageElement)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn new_with_width_and_height ( width : u32 , height : u32 ) -> Result < HtmlImageElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_alt_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `alt` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/alt)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn alt ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_alt_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_alt_HTMLImageElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `alt` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/alt)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn alt ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_alt_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `alt` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/alt)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_alt ( & self , alt : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_alt_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let alt = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt , & mut __stack ) ; __widl_f_set_alt_HTMLImageElement ( self_ , alt ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `alt` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/alt)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_alt ( & self , alt : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_src_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/src)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn src ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_src_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_src_HTMLImageElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/src)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn src ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_src_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/src)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_src ( & self , src : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_src_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; __widl_f_set_src_HTMLImageElement ( self_ , src ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/src)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_src ( & self , src : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_srcset_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `srcset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn srcset ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_srcset_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_srcset_HTMLImageElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `srcset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn srcset ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_srcset_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `srcset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_srcset ( & self , srcset : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_srcset_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , srcset : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let srcset = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( srcset , & mut __stack ) ; __widl_f_set_srcset_HTMLImageElement ( self_ , srcset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `srcset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_srcset ( & self , srcset : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cross_origin_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `crossOrigin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn cross_origin ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cross_origin_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cross_origin_HTMLImageElement ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `crossOrigin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn cross_origin ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cross_origin_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `crossOrigin` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_cross_origin ( & self , cross_origin : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cross_origin_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cross_origin : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cross_origin = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cross_origin , & mut __stack ) ; __widl_f_set_cross_origin_HTMLImageElement ( self_ , cross_origin ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `crossOrigin` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_cross_origin ( & self , cross_origin : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_use_map_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `useMap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/useMap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn use_map ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_use_map_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_use_map_HTMLImageElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `useMap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/useMap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn use_map ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_use_map_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `useMap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/useMap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_use_map ( & self , use_map : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_use_map_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , use_map : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let use_map = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( use_map , & mut __stack ) ; __widl_f_set_use_map_HTMLImageElement ( self_ , use_map ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `useMap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/useMap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_use_map ( & self , use_map : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_referrer_policy_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn referrer_policy ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_referrer_policy_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_referrer_policy_HTMLImageElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn referrer_policy ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_referrer_policy_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrerPolicy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_referrer_policy ( & self , referrer_policy : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_referrer_policy_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , referrer_policy : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let referrer_policy = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( referrer_policy , & mut __stack ) ; __widl_f_set_referrer_policy_HTMLImageElement ( self_ , referrer_policy ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrerPolicy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_referrer_policy ( & self , referrer_policy : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_map_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isMap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/isMap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn is_map ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_map_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_map_HTMLImageElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isMap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/isMap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn is_map ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_is_map_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isMap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/isMap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_is_map ( & self , is_map : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_is_map_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , is_map : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let is_map = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( is_map , & mut __stack ) ; __widl_f_set_is_map_HTMLImageElement ( self_ , is_map ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isMap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/isMap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_is_map ( & self , is_map : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/width)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn width ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_HTMLImageElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/width)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn width ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/width)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_width ( & self , width : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_HTMLImageElement ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/width)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_width ( & self , width : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/height)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn height ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_HTMLImageElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/height)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn height ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_height_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/height)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_height ( & self , height : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_height_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let height = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_set_height_HTMLImageElement ( self_ , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/height)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_height ( & self , height : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_natural_width_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `naturalWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/naturalWidth)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn natural_width ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_natural_width_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_natural_width_HTMLImageElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `naturalWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/naturalWidth)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn natural_width ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_natural_height_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `naturalHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/naturalHeight)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn natural_height ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_natural_height_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_natural_height_HTMLImageElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `naturalHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/naturalHeight)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn natural_height ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_complete_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `complete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/complete)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn complete ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_complete_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_complete_HTMLImageElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `complete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/complete)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn complete ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/name)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLImageElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/name)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/name)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLImageElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/name)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/align)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLImageElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/align)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/align)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLImageElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/align)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hspace_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hspace` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/hspace)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn hspace ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hspace_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hspace_HTMLImageElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hspace` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/hspace)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn hspace ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_hspace_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hspace` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/hspace)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_hspace ( & self , hspace : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_hspace_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , hspace : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let hspace = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( hspace , & mut __stack ) ; __widl_f_set_hspace_HTMLImageElement ( self_ , hspace ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hspace` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/hspace)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_hspace ( & self , hspace : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vspace_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vspace` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/vspace)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn vspace ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vspace_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_vspace_HTMLImageElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vspace` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/vspace)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn vspace ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_vspace_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vspace` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/vspace)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_vspace ( & self , vspace : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_vspace_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , vspace : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let vspace = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( vspace , & mut __stack ) ; __widl_f_set_vspace_HTMLImageElement ( self_ , vspace ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vspace` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/vspace)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_vspace ( & self , vspace : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_long_desc_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `longDesc` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/longDesc)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn long_desc ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_long_desc_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_long_desc_HTMLImageElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `longDesc` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/longDesc)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn long_desc ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_long_desc_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `longDesc` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/longDesc)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_long_desc ( & self , long_desc : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_long_desc_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , long_desc : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let long_desc = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( long_desc , & mut __stack ) ; __widl_f_set_long_desc_HTMLImageElement ( self_ , long_desc ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `longDesc` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/longDesc)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_long_desc ( & self , long_desc : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_border_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `border` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/border)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn border ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_border_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_border_HTMLImageElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `border` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/border)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn border ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_border_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `border` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/border)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_border ( & self , border : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_border_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let border = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; __widl_f_set_border_HTMLImageElement ( self_ , border ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `border` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/border)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_border ( & self , border : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sizes_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sizes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/sizes)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn sizes ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sizes_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sizes_HTMLImageElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sizes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/sizes)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn sizes ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_sizes_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sizes` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/sizes)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_sizes ( & self , sizes : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_sizes_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sizes : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sizes = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sizes , & mut __stack ) ; __widl_f_set_sizes_HTMLImageElement ( self_ , sizes ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sizes` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/sizes)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn set_sizes ( & self , sizes : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_src_HTMLImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentSrc` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/currentSrc)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn current_src ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_src_HTMLImageElement ( self_ : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_src_HTMLImageElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentSrc` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/currentSrc)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`*" ] pub fn current_src ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLInputElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] # [ repr ( transparent ) ] pub struct HtmlInputElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlInputElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlInputElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlInputElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlInputElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlInputElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlInputElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlInputElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlInputElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlInputElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlInputElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlInputElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlInputElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlInputElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlInputElement { HtmlInputElement { obj } } } impl AsRef < JsValue > for HtmlInputElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlInputElement > for JsValue { # [ inline ] fn from ( obj : HtmlInputElement ) -> JsValue { obj . obj } } impl JsCast for HtmlInputElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLInputElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLInputElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlInputElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlInputElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlInputElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlInputElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlInputElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlInputElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlInputElement > for Element { # [ inline ] fn from ( obj : HtmlInputElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlInputElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlInputElement > for Node { # [ inline ] fn from ( obj : HtmlInputElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlInputElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlInputElement > for EventTarget { # [ inline ] fn from ( obj : HtmlInputElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlInputElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlInputElement > for Object { # [ inline ] fn from ( obj : HtmlInputElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlInputElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_check_validity_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn check_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_check_validity_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_check_validity_HTMLInputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn check_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_report_validity_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn report_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_report_validity_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_report_validity_HTMLInputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn report_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_select_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `select()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn select ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_select_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_select_HTMLInputElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `select()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn select ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_custom_validity_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_custom_validity_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let error = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error , & mut __stack ) ; __widl_f_set_custom_validity_HTMLInputElement ( self_ , error ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_range_text_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setRangeText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_range_text ( & self , replacement : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_range_text_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , replacement : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let replacement = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( replacement , & mut __stack ) ; __widl_f_set_range_text_HTMLInputElement ( self_ , replacement , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setRangeText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_range_text ( & self , replacement : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_range_text_with_start_and_end_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setRangeText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_range_text_with_start_and_end ( & self , replacement : & str , start : u32 , end : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_range_text_with_start_and_end_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , replacement : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let replacement = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( replacement , & mut __stack ) ; let start = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; __widl_f_set_range_text_with_start_and_end_HTMLInputElement ( self_ , replacement , start , end , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setRangeText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_range_text_with_start_and_end ( & self , replacement : & str , start : u32 , end : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_selection_range_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setSelectionRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_selection_range ( & self , start : u32 , end : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_selection_range_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; __widl_f_set_selection_range_HTMLInputElement ( self_ , start , end , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setSelectionRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_selection_range ( & self , start : u32 , end : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_selection_range_with_direction_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setSelectionRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_selection_range_with_direction ( & self , start : u32 , end : u32 , direction : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_selection_range_with_direction_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , direction : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; let direction = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( direction , & mut __stack ) ; __widl_f_set_selection_range_with_direction_HTMLInputElement ( self_ , start , end , direction , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setSelectionRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_selection_range_with_direction ( & self , start : u32 , end : u32 , direction : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_accept_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `accept` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/accept)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn accept ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_accept_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_accept_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `accept` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/accept)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn accept ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_accept_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `accept` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/accept)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_accept ( & self , accept : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_accept_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , accept : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let accept = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( accept , & mut __stack ) ; __widl_f_set_accept_HTMLInputElement ( self_ , accept ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `accept` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/accept)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_accept ( & self , accept : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_alt_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `alt` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/alt)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn alt ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_alt_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_alt_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `alt` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/alt)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn alt ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_alt_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `alt` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/alt)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_alt ( & self , alt : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_alt_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let alt = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt , & mut __stack ) ; __widl_f_set_alt_HTMLInputElement ( self_ , alt ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `alt` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/alt)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_alt ( & self , alt : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_autocomplete_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autocomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn autocomplete ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_autocomplete_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_autocomplete_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autocomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn autocomplete ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_autocomplete_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autocomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_autocomplete ( & self , autocomplete : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_autocomplete_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , autocomplete : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let autocomplete = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( autocomplete , & mut __stack ) ; __widl_f_set_autocomplete_HTMLInputElement ( self_ , autocomplete ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autocomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_autocomplete ( & self , autocomplete : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_autofocus_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autofocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn autofocus ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_autofocus_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_autofocus_HTMLInputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autofocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn autofocus ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_autofocus_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autofocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_autofocus ( & self , autofocus : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_autofocus_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , autofocus : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let autofocus = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( autofocus , & mut __stack ) ; __widl_f_set_autofocus_HTMLInputElement ( self_ , autofocus ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autofocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_autofocus ( & self , autofocus : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_checked_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultChecked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultChecked)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn default_checked ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_checked_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_checked_HTMLInputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultChecked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultChecked)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn default_checked ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_default_checked_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultChecked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultChecked)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_default_checked ( & self , default_checked : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_default_checked_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , default_checked : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let default_checked = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( default_checked , & mut __stack ) ; __widl_f_set_default_checked_HTMLInputElement ( self_ , default_checked ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultChecked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultChecked)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_default_checked ( & self , default_checked : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_checked_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checked)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn checked ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_checked_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_checked_HTMLInputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checked)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn checked ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_checked_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checked)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_checked ( & self , checked : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_checked_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , checked : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let checked = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( checked , & mut __stack ) ; __widl_f_set_checked_HTMLInputElement ( self_ , checked ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checked)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_checked ( & self , checked : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disabled_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn disabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disabled_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disabled_HTMLInputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn disabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_disabled_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_disabled_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , disabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let disabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( disabled , & mut __stack ) ; __widl_f_set_disabled_HTMLInputElement ( self_ , disabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < Option < HtmlFormElement > as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlInputElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_HTMLInputElement ( self_ ) } ; < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlInputElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_files_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < Option < FileList > as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `files` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)\n\n*This API requires the following crate features to be activated: `FileList`, `HtmlInputElement`*" ] pub fn files ( & self , ) -> Option < FileList > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_files_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < FileList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_files_HTMLInputElement ( self_ ) } ; < Option < FileList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `files` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)\n\n*This API requires the following crate features to be activated: `FileList`, `HtmlInputElement`*" ] pub fn files ( & self , ) -> Option < FileList > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_files_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < Option < & FileList > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `files` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)\n\n*This API requires the following crate features to be activated: `FileList`, `HtmlInputElement`*" ] pub fn set_files ( & self , files : Option < & FileList > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_files_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , files : < Option < & FileList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let files = < Option < & FileList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( files , & mut __stack ) ; __widl_f_set_files_HTMLInputElement ( self_ , files ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `files` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)\n\n*This API requires the following crate features to be activated: `FileList`, `HtmlInputElement`*" ] pub fn set_files ( & self , files : Option < & FileList > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_action_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formAction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formAction)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn form_action ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_action_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_action_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formAction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formAction)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn form_action ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_form_action_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formAction` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formAction)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_form_action ( & self , form_action : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_form_action_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , form_action : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let form_action = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( form_action , & mut __stack ) ; __widl_f_set_form_action_HTMLInputElement ( self_ , form_action ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formAction` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formAction)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_form_action ( & self , form_action : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_enctype_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formEnctype` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formEnctype)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn form_enctype ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_enctype_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_enctype_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formEnctype` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formEnctype)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn form_enctype ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_form_enctype_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formEnctype` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formEnctype)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_form_enctype ( & self , form_enctype : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_form_enctype_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , form_enctype : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let form_enctype = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( form_enctype , & mut __stack ) ; __widl_f_set_form_enctype_HTMLInputElement ( self_ , form_enctype ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formEnctype` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formEnctype)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_form_enctype ( & self , form_enctype : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_method_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formMethod` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formMethod)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn form_method ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_method_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_method_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formMethod` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formMethod)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn form_method ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_form_method_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formMethod` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formMethod)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_form_method ( & self , form_method : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_form_method_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , form_method : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let form_method = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( form_method , & mut __stack ) ; __widl_f_set_form_method_HTMLInputElement ( self_ , form_method ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formMethod` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formMethod)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_form_method ( & self , form_method : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_no_validate_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formNoValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formNoValidate)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn form_no_validate ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_no_validate_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_no_validate_HTMLInputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formNoValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formNoValidate)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn form_no_validate ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_form_no_validate_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formNoValidate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formNoValidate)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_form_no_validate ( & self , form_no_validate : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_form_no_validate_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , form_no_validate : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let form_no_validate = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( form_no_validate , & mut __stack ) ; __widl_f_set_form_no_validate_HTMLInputElement ( self_ , form_no_validate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formNoValidate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formNoValidate)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_form_no_validate ( & self , form_no_validate : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_target_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formTarget` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formTarget)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn form_target ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_target_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_target_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formTarget` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formTarget)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn form_target ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_form_target_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formTarget` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formTarget)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_form_target ( & self , form_target : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_form_target_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , form_target : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let form_target = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( form_target , & mut __stack ) ; __widl_f_set_form_target_HTMLInputElement ( self_ , form_target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formTarget` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formTarget)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_form_target ( & self , form_target : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/height)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn height ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_HTMLInputElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/height)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn height ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_height_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/height)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_height ( & self , height : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_height_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let height = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_set_height_HTMLInputElement ( self_ , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/height)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_height ( & self , height : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_indeterminate_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `indeterminate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn indeterminate ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_indeterminate_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_indeterminate_HTMLInputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `indeterminate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn indeterminate ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_indeterminate_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `indeterminate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_indeterminate ( & self , indeterminate : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_indeterminate_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indeterminate : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indeterminate = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indeterminate , & mut __stack ) ; __widl_f_set_indeterminate_HTMLInputElement ( self_ , indeterminate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `indeterminate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_indeterminate ( & self , indeterminate : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_input_mode_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `inputMode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/inputMode)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn input_mode ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_input_mode_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_input_mode_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `inputMode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/inputMode)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn input_mode ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_input_mode_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `inputMode` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/inputMode)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_input_mode ( & self , input_mode : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_input_mode_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input_mode : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input_mode = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input_mode , & mut __stack ) ; __widl_f_set_input_mode_HTMLInputElement ( self_ , input_mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `inputMode` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/inputMode)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_input_mode ( & self , input_mode : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_list_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < Option < HtmlElement > as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `list` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/list)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlInputElement`*" ] pub fn list ( & self , ) -> Option < HtmlElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_list_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_list_HTMLInputElement ( self_ ) } ; < Option < HtmlElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `list` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/list)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlInputElement`*" ] pub fn list ( & self , ) -> Option < HtmlElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `max` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/max)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn max ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `max` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/max)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn max ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_max_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `max` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/max)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_max ( & self , max : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_max_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let max = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max , & mut __stack ) ; __widl_f_set_max_HTMLInputElement ( self_ , max ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `max` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/max)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_max ( & self , max : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_length_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/maxLength)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn max_length ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_length_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_length_HTMLInputElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/maxLength)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn max_length ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_max_length_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxLength` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/maxLength)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_max_length ( & self , max_length : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_max_length_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max_length : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let max_length = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max_length , & mut __stack ) ; __widl_f_set_max_length_HTMLInputElement ( self_ , max_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxLength` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/maxLength)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_max_length ( & self , max_length : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_min_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `min` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/min)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn min ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_min_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_min_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `min` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/min)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn min ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_min_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `min` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/min)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_min ( & self , min : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_min_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , min : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let min = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( min , & mut __stack ) ; __widl_f_set_min_HTMLInputElement ( self_ , min ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `min` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/min)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_min ( & self , min : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_min_length_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `minLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/minLength)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn min_length ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_min_length_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_min_length_HTMLInputElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `minLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/minLength)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn min_length ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_min_length_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `minLength` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/minLength)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_min_length ( & self , min_length : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_min_length_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , min_length : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let min_length = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( min_length , & mut __stack ) ; __widl_f_set_min_length_HTMLInputElement ( self_ , min_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `minLength` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/minLength)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_min_length ( & self , min_length : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_multiple_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `multiple` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/multiple)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn multiple ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_multiple_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_multiple_HTMLInputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `multiple` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/multiple)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn multiple ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_multiple_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `multiple` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/multiple)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_multiple ( & self , multiple : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_multiple_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , multiple : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let multiple = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( multiple , & mut __stack ) ; __widl_f_set_multiple_HTMLInputElement ( self_ , multiple ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `multiple` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/multiple)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_multiple ( & self , multiple : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/name)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/name)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/name)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLInputElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/name)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pattern_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pattern` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/pattern)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn pattern ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pattern_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pattern_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pattern` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/pattern)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn pattern ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_pattern_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pattern` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/pattern)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_pattern ( & self , pattern : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_pattern_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pattern : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pattern = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pattern , & mut __stack ) ; __widl_f_set_pattern_HTMLInputElement ( self_ , pattern ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pattern` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/pattern)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_pattern ( & self , pattern : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_placeholder_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `placeholder` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/placeholder)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn placeholder ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_placeholder_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_placeholder_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `placeholder` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/placeholder)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn placeholder ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_placeholder_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `placeholder` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/placeholder)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_placeholder ( & self , placeholder : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_placeholder_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , placeholder : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let placeholder = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( placeholder , & mut __stack ) ; __widl_f_set_placeholder_HTMLInputElement ( self_ , placeholder ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `placeholder` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/placeholder)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_placeholder ( & self , placeholder : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_only_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readOnly` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/readOnly)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn read_only ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_only_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_read_only_HTMLInputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readOnly` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/readOnly)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn read_only ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_read_only_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readOnly` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/readOnly)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_read_only ( & self , read_only : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_read_only_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_only : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let read_only = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_only , & mut __stack ) ; __widl_f_set_read_only_HTMLInputElement ( self_ , read_only ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readOnly` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/readOnly)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_read_only ( & self , read_only : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_required_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `required` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/required)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn required ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_required_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_required_HTMLInputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `required` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/required)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn required ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_required_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `required` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/required)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_required ( & self , required : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_required_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , required : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let required = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( required , & mut __stack ) ; __widl_f_set_required_HTMLInputElement ( self_ , required ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `required` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/required)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_required ( & self , required : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_size_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/size)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn size ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_size_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_size_HTMLInputElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/size)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn size ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_size_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/size)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_size ( & self , size : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_size_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_set_size_HTMLInputElement ( self_ , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/size)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_size ( & self , size : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_src_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/src)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn src ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_src_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_src_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/src)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn src ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_src_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/src)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_src ( & self , src : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_src_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; __widl_f_set_src_HTMLInputElement ( self_ , src ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/src)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_src ( & self , src : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_step_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `step` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/step)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn step ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_step_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_step_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `step` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/step)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn step ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_step_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `step` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/step)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_step ( & self , step : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_step_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , step : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let step = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( step , & mut __stack ) ; __widl_f_set_step_HTMLInputElement ( self_ , step ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `step` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/step)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_step ( & self , step : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/type)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/type)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/type)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLInputElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/type)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_value_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultValue)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn default_value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_value_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_value_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultValue)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn default_value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_default_value_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultValue` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultValue)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_default_value ( & self , default_value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_default_value_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , default_value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let default_value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( default_value , & mut __stack ) ; __widl_f_set_default_value_HTMLInputElement ( self_ , default_value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultValue` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultValue)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_default_value ( & self , default_value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/value)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/value)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/value)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_value ( & self , value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_HTMLInputElement ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/value)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_value ( & self , value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_as_number_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueAsNumber` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsNumber)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn value_as_number ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_as_number_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_as_number_HTMLInputElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueAsNumber` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsNumber)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn value_as_number ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_as_number_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueAsNumber` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsNumber)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_value_as_number ( & self , value_as_number : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_as_number_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value_as_number : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value_as_number = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value_as_number , & mut __stack ) ; __widl_f_set_value_as_number_HTMLInputElement ( self_ , value_as_number ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueAsNumber` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsNumber)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_value_as_number ( & self , value_as_number : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/width)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn width ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_HTMLInputElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/width)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn width ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/width)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_width ( & self , width : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_HTMLInputElement ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/width)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_width ( & self , width : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_will_validate_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn will_validate ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_will_validate_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_will_validate_HTMLInputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn will_validate ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validity_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < ValidityState as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validity_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validity_HTMLInputElement ( self_ ) } ; < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validation_message_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validation_message_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validation_message_HTMLInputElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_labels_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < Option < NodeList > as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`, `NodeList`*" ] pub fn labels ( & self , ) -> Option < NodeList > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_labels_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < NodeList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_labels_HTMLInputElement ( self_ ) } ; < Option < NodeList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`, `NodeList`*" ] pub fn labels ( & self , ) -> Option < NodeList > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_selection_direction_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectionDirection` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionDirection)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn selection_direction ( & self , ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_selection_direction_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_selection_direction_HTMLInputElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectionDirection` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionDirection)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn selection_direction ( & self , ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_selection_direction_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectionDirection` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionDirection)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_selection_direction ( & self , selection_direction : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_selection_direction_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selection_direction : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selection_direction = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selection_direction , & mut __stack ) ; __widl_f_set_selection_direction_HTMLInputElement ( self_ , selection_direction , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectionDirection` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionDirection)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_selection_direction ( & self , selection_direction : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLInputElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_use_map_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `useMap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn use_map ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_use_map_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_use_map_HTMLInputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `useMap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn use_map ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_use_map_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `useMap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_use_map ( & self , use_map : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_use_map_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , use_map : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let use_map = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( use_map , & mut __stack ) ; __widl_f_set_use_map_HTMLInputElement ( self_ , use_map ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `useMap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_use_map ( & self , use_map : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_webkitdirectory_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `webkitdirectory` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn webkitdirectory ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_webkitdirectory_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_webkitdirectory_HTMLInputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `webkitdirectory` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn webkitdirectory ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_webkitdirectory_HTMLInputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlInputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlInputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `webkitdirectory` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_webkitdirectory ( & self , webkitdirectory : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_webkitdirectory_HTMLInputElement ( self_ : < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , webkitdirectory : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlInputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let webkitdirectory = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( webkitdirectory , & mut __stack ) ; __widl_f_set_webkitdirectory_HTMLInputElement ( self_ , webkitdirectory ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `webkitdirectory` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)\n\n*This API requires the following crate features to be activated: `HtmlInputElement`*" ] pub fn set_webkitdirectory ( & self , webkitdirectory : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLLIElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement)\n\n*This API requires the following crate features to be activated: `HtmlLiElement`*" ] # [ repr ( transparent ) ] pub struct HtmlLiElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlLiElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlLiElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlLiElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlLiElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlLiElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlLiElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlLiElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlLiElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlLiElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlLiElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlLiElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlLiElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlLiElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlLiElement { HtmlLiElement { obj } } } impl AsRef < JsValue > for HtmlLiElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlLiElement > for JsValue { # [ inline ] fn from ( obj : HtmlLiElement ) -> JsValue { obj . obj } } impl JsCast for HtmlLiElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLLIElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLLIElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlLiElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlLiElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlLiElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlLiElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlLiElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlLiElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLiElement > for Element { # [ inline ] fn from ( obj : HtmlLiElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlLiElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLiElement > for Node { # [ inline ] fn from ( obj : HtmlLiElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlLiElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLiElement > for EventTarget { # [ inline ] fn from ( obj : HtmlLiElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlLiElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLiElement > for Object { # [ inline ] fn from ( obj : HtmlLiElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlLiElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_HTMLLIElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLiElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlLiElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/value)\n\n*This API requires the following crate features to be activated: `HtmlLiElement`*" ] pub fn value ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_HTMLLIElement ( self_ : < & HtmlLiElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLiElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_HTMLLIElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/value)\n\n*This API requires the following crate features to be activated: `HtmlLiElement`*" ] pub fn value ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_HTMLLIElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLiElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLiElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/value)\n\n*This API requires the following crate features to be activated: `HtmlLiElement`*" ] pub fn set_value ( & self , value : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_HTMLLIElement ( self_ : < & HtmlLiElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLiElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_HTMLLIElement ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/value)\n\n*This API requires the following crate features to be activated: `HtmlLiElement`*" ] pub fn set_value ( & self , value : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLLIElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLiElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLiElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/type)\n\n*This API requires the following crate features to be activated: `HtmlLiElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLLIElement ( self_ : < & HtmlLiElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLiElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLLIElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/type)\n\n*This API requires the following crate features to be activated: `HtmlLiElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLLIElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLiElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLiElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/type)\n\n*This API requires the following crate features to be activated: `HtmlLiElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLLIElement ( self_ : < & HtmlLiElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLiElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLLIElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/type)\n\n*This API requires the following crate features to be activated: `HtmlLiElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLLabelElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement)\n\n*This API requires the following crate features to be activated: `HtmlLabelElement`*" ] # [ repr ( transparent ) ] pub struct HtmlLabelElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlLabelElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlLabelElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlLabelElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlLabelElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlLabelElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlLabelElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlLabelElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlLabelElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlLabelElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlLabelElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlLabelElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlLabelElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlLabelElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlLabelElement { HtmlLabelElement { obj } } } impl AsRef < JsValue > for HtmlLabelElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlLabelElement > for JsValue { # [ inline ] fn from ( obj : HtmlLabelElement ) -> JsValue { obj . obj } } impl JsCast for HtmlLabelElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLLabelElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLLabelElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlLabelElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlLabelElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlLabelElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlLabelElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlLabelElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlLabelElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLabelElement > for Element { # [ inline ] fn from ( obj : HtmlLabelElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlLabelElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLabelElement > for Node { # [ inline ] fn from ( obj : HtmlLabelElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlLabelElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLabelElement > for EventTarget { # [ inline ] fn from ( obj : HtmlLabelElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlLabelElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLabelElement > for Object { # [ inline ] fn from ( obj : HtmlLabelElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlLabelElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_HTMLLabelElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLabelElement as WasmDescribe > :: describe ( ) ; < Option < HtmlFormElement > as WasmDescribe > :: describe ( ) ; } impl HtmlLabelElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlLabelElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_HTMLLabelElement ( self_ : < & HtmlLabelElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLabelElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_HTMLLabelElement ( self_ ) } ; < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlLabelElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_html_for_HTMLLabelElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLabelElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLabelElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `htmlFor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/htmlFor)\n\n*This API requires the following crate features to be activated: `HtmlLabelElement`*" ] pub fn html_for ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_html_for_HTMLLabelElement ( self_ : < & HtmlLabelElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLabelElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_html_for_HTMLLabelElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `htmlFor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/htmlFor)\n\n*This API requires the following crate features to be activated: `HtmlLabelElement`*" ] pub fn html_for ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_html_for_HTMLLabelElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLabelElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLabelElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `htmlFor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/htmlFor)\n\n*This API requires the following crate features to be activated: `HtmlLabelElement`*" ] pub fn set_html_for ( & self , html_for : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_html_for_HTMLLabelElement ( self_ : < & HtmlLabelElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , html_for : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLabelElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let html_for = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( html_for , & mut __stack ) ; __widl_f_set_html_for_HTMLLabelElement ( self_ , html_for ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `htmlFor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/htmlFor)\n\n*This API requires the following crate features to be activated: `HtmlLabelElement`*" ] pub fn set_html_for ( & self , html_for : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_control_HTMLLabelElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLabelElement as WasmDescribe > :: describe ( ) ; < Option < HtmlElement > as WasmDescribe > :: describe ( ) ; } impl HtmlLabelElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `control` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlLabelElement`*" ] pub fn control ( & self , ) -> Option < HtmlElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_control_HTMLLabelElement ( self_ : < & HtmlLabelElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLabelElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_control_HTMLLabelElement ( self_ ) } ; < Option < HtmlElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `control` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlLabelElement`*" ] pub fn control ( & self , ) -> Option < HtmlElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLLegendElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement)\n\n*This API requires the following crate features to be activated: `HtmlLegendElement`*" ] # [ repr ( transparent ) ] pub struct HtmlLegendElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlLegendElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlLegendElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlLegendElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlLegendElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlLegendElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlLegendElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlLegendElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlLegendElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlLegendElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlLegendElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlLegendElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlLegendElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlLegendElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlLegendElement { HtmlLegendElement { obj } } } impl AsRef < JsValue > for HtmlLegendElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlLegendElement > for JsValue { # [ inline ] fn from ( obj : HtmlLegendElement ) -> JsValue { obj . obj } } impl JsCast for HtmlLegendElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLLegendElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLLegendElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlLegendElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlLegendElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlLegendElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlLegendElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlLegendElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlLegendElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLegendElement > for Element { # [ inline ] fn from ( obj : HtmlLegendElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlLegendElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLegendElement > for Node { # [ inline ] fn from ( obj : HtmlLegendElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlLegendElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLegendElement > for EventTarget { # [ inline ] fn from ( obj : HtmlLegendElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlLegendElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLegendElement > for Object { # [ inline ] fn from ( obj : HtmlLegendElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlLegendElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_HTMLLegendElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLegendElement as WasmDescribe > :: describe ( ) ; < Option < HtmlFormElement > as WasmDescribe > :: describe ( ) ; } impl HtmlLegendElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlLegendElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_HTMLLegendElement ( self_ : < & HtmlLegendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLegendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_HTMLLegendElement ( self_ ) } ; < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlLegendElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLLegendElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLegendElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLegendElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement/align)\n\n*This API requires the following crate features to be activated: `HtmlLegendElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLLegendElement ( self_ : < & HtmlLegendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLegendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLLegendElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement/align)\n\n*This API requires the following crate features to be activated: `HtmlLegendElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLLegendElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLegendElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLegendElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement/align)\n\n*This API requires the following crate features to be activated: `HtmlLegendElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLLegendElement ( self_ : < & HtmlLegendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLegendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLLegendElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement/align)\n\n*This API requires the following crate features to be activated: `HtmlLegendElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLLinkElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] # [ repr ( transparent ) ] pub struct HtmlLinkElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlLinkElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlLinkElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlLinkElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlLinkElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlLinkElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlLinkElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlLinkElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlLinkElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlLinkElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlLinkElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlLinkElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlLinkElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlLinkElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlLinkElement { HtmlLinkElement { obj } } } impl AsRef < JsValue > for HtmlLinkElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlLinkElement > for JsValue { # [ inline ] fn from ( obj : HtmlLinkElement ) -> JsValue { obj . obj } } impl JsCast for HtmlLinkElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLLinkElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLLinkElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlLinkElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlLinkElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlLinkElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlLinkElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlLinkElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlLinkElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLinkElement > for Element { # [ inline ] fn from ( obj : HtmlLinkElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlLinkElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLinkElement > for Node { # [ inline ] fn from ( obj : HtmlLinkElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlLinkElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLinkElement > for EventTarget { # [ inline ] fn from ( obj : HtmlLinkElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlLinkElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlLinkElement > for Object { # [ inline ] fn from ( obj : HtmlLinkElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlLinkElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disabled_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn disabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disabled_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disabled_HTMLLinkElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn disabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_disabled_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_disabled_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , disabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let disabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( disabled , & mut __stack ) ; __widl_f_set_disabled_HTMLLinkElement ( self_ , disabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/href)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn href ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_HTMLLinkElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/href)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn href ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_href_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/href)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_href ( & self , href : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_href_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , href : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let href = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( href , & mut __stack ) ; __widl_f_set_href_HTMLLinkElement ( self_ , href ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/href)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_href ( & self , href : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cross_origin_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `crossOrigin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn cross_origin ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cross_origin_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cross_origin_HTMLLinkElement ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `crossOrigin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn cross_origin ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cross_origin_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `crossOrigin` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_cross_origin ( & self , cross_origin : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cross_origin_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cross_origin : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cross_origin = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cross_origin , & mut __stack ) ; __widl_f_set_cross_origin_HTMLLinkElement ( self_ , cross_origin ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `crossOrigin` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_cross_origin ( & self , cross_origin : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rel_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rel)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn rel ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rel_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rel_HTMLLinkElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rel)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn rel ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_rel_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rel)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_rel ( & self , rel : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_rel_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rel : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rel = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rel , & mut __stack ) ; __widl_f_set_rel_HTMLLinkElement ( self_ , rel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rel)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_rel ( & self , rel : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rel_list_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < DomTokenList as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `relList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/relList)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `HtmlLinkElement`*" ] pub fn rel_list ( & self , ) -> DomTokenList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rel_list_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rel_list_HTMLLinkElement ( self_ ) } ; < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `relList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/relList)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `HtmlLinkElement`*" ] pub fn rel_list ( & self , ) -> DomTokenList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/media)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn media ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_HTMLLinkElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/media)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn media ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_media_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `media` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/media)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_media ( & self , media : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_media_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , media : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let media = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( media , & mut __stack ) ; __widl_f_set_media_HTMLLinkElement ( self_ , media ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `media` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/media)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_media ( & self , media : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hreflang_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hreflang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/hreflang)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn hreflang ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hreflang_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hreflang_HTMLLinkElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hreflang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/hreflang)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn hreflang ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_hreflang_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hreflang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/hreflang)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_hreflang ( & self , hreflang : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_hreflang_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , hreflang : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let hreflang = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( hreflang , & mut __stack ) ; __widl_f_set_hreflang_HTMLLinkElement ( self_ , hreflang ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hreflang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/hreflang)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_hreflang ( & self , hreflang : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/type)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLLinkElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/type)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/type)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLLinkElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/type)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_referrer_policy_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn referrer_policy ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_referrer_policy_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_referrer_policy_HTMLLinkElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn referrer_policy ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_referrer_policy_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrerPolicy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_referrer_policy ( & self , referrer_policy : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_referrer_policy_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , referrer_policy : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let referrer_policy = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( referrer_policy , & mut __stack ) ; __widl_f_set_referrer_policy_HTMLLinkElement ( self_ , referrer_policy ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrerPolicy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_referrer_policy ( & self , referrer_policy : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sizes_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < DomTokenList as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sizes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/sizes)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `HtmlLinkElement`*" ] pub fn sizes ( & self , ) -> DomTokenList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sizes_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sizes_HTMLLinkElement ( self_ ) } ; < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sizes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/sizes)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `HtmlLinkElement`*" ] pub fn sizes ( & self , ) -> DomTokenList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_charset_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `charset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/charset)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn charset ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_charset_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_charset_HTMLLinkElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `charset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/charset)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn charset ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_charset_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `charset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/charset)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_charset ( & self , charset : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_charset_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , charset : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let charset = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( charset , & mut __stack ) ; __widl_f_set_charset_HTMLLinkElement ( self_ , charset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `charset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/charset)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_charset ( & self , charset : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rev_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rev` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rev)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn rev ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rev_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rev_HTMLLinkElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rev` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rev)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn rev ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_rev_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rev` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rev)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_rev ( & self , rev : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_rev_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rev : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rev = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rev , & mut __stack ) ; __widl_f_set_rev_HTMLLinkElement ( self_ , rev ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rev` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rev)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_rev ( & self , rev : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/target)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn target ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_HTMLLinkElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/target)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn target ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_target_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/target)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_target ( & self , target : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_target_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_set_target_HTMLLinkElement ( self_ , target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/target)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_target ( & self , target : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_integrity_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `integrity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/integrity)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn integrity ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_integrity_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_integrity_HTMLLinkElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `integrity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/integrity)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn integrity ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_integrity_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `integrity` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/integrity)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_integrity ( & self , integrity : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_integrity_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , integrity : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let integrity = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( integrity , & mut __stack ) ; __widl_f_set_integrity_HTMLLinkElement ( self_ , integrity ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `integrity` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/integrity)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_integrity ( & self , integrity : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_as_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `as` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/as)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn as_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_as_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_as_HTMLLinkElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `as` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/as)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn as_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_as_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `as` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/as)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_as ( & self , as_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_as_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , as_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let as_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( as_ , & mut __stack ) ; __widl_f_set_as_HTMLLinkElement ( self_ , as_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `as` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/as)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`*" ] pub fn set_as ( & self , as_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sheet_HTMLLinkElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlLinkElement as WasmDescribe > :: describe ( ) ; < Option < StyleSheet > as WasmDescribe > :: describe ( ) ; } impl HtmlLinkElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/sheet)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`, `StyleSheet`*" ] pub fn sheet ( & self , ) -> Option < StyleSheet > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sheet_HTMLLinkElement ( self_ : < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlLinkElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sheet_HTMLLinkElement ( self_ ) } ; < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/sheet)\n\n*This API requires the following crate features to be activated: `HtmlLinkElement`, `StyleSheet`*" ] pub fn sheet ( & self , ) -> Option < StyleSheet > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLMapElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement)\n\n*This API requires the following crate features to be activated: `HtmlMapElement`*" ] # [ repr ( transparent ) ] pub struct HtmlMapElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlMapElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlMapElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlMapElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlMapElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlMapElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlMapElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlMapElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlMapElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlMapElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlMapElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlMapElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlMapElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlMapElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlMapElement { HtmlMapElement { obj } } } impl AsRef < JsValue > for HtmlMapElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlMapElement > for JsValue { # [ inline ] fn from ( obj : HtmlMapElement ) -> JsValue { obj . obj } } impl JsCast for HtmlMapElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLMapElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLMapElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlMapElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlMapElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlMapElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlMapElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlMapElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlMapElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMapElement > for Element { # [ inline ] fn from ( obj : HtmlMapElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlMapElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMapElement > for Node { # [ inline ] fn from ( obj : HtmlMapElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlMapElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMapElement > for EventTarget { # [ inline ] fn from ( obj : HtmlMapElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlMapElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMapElement > for Object { # [ inline ] fn from ( obj : HtmlMapElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlMapElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLMapElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMapElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMapElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement/name)\n\n*This API requires the following crate features to be activated: `HtmlMapElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLMapElement ( self_ : < & HtmlMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLMapElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement/name)\n\n*This API requires the following crate features to be activated: `HtmlMapElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLMapElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMapElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMapElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement/name)\n\n*This API requires the following crate features to be activated: `HtmlMapElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLMapElement ( self_ : < & HtmlMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLMapElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement/name)\n\n*This API requires the following crate features to be activated: `HtmlMapElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_areas_HTMLMapElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMapElement as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl HtmlMapElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `areas` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement/areas)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlMapElement`*" ] pub fn areas ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_areas_HTMLMapElement ( self_ : < & HtmlMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_areas_HTMLMapElement ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `areas` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement/areas)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlMapElement`*" ] pub fn areas ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLMediaElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] # [ repr ( transparent ) ] pub struct HtmlMediaElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlMediaElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlMediaElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlMediaElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlMediaElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlMediaElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlMediaElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlMediaElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlMediaElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlMediaElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlMediaElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlMediaElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlMediaElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlMediaElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlMediaElement { HtmlMediaElement { obj } } } impl AsRef < JsValue > for HtmlMediaElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlMediaElement > for JsValue { # [ inline ] fn from ( obj : HtmlMediaElement ) -> JsValue { obj . obj } } impl JsCast for HtmlMediaElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLMediaElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLMediaElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlMediaElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlMediaElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlMediaElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlMediaElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlMediaElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlMediaElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMediaElement > for Element { # [ inline ] fn from ( obj : HtmlMediaElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlMediaElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMediaElement > for Node { # [ inline ] fn from ( obj : HtmlMediaElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlMediaElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMediaElement > for EventTarget { # [ inline ] fn from ( obj : HtmlMediaElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlMediaElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMediaElement > for Object { # [ inline ] fn from ( obj : HtmlMediaElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlMediaElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_text_track_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < TextTrackKind as WasmDescribe > :: describe ( ) ; < TextTrack as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addTextTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/addTextTrack)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TextTrack`, `TextTrackKind`*" ] pub fn add_text_track ( & self , kind : TextTrackKind ) -> TextTrack { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_text_track_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , kind : < TextTrackKind as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TextTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let kind = < TextTrackKind as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( kind , & mut __stack ) ; __widl_f_add_text_track_HTMLMediaElement ( self_ , kind ) } ; < TextTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addTextTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/addTextTrack)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TextTrack`, `TextTrackKind`*" ] pub fn add_text_track ( & self , kind : TextTrackKind ) -> TextTrack { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_text_track_with_label_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < TextTrackKind as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < TextTrack as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addTextTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/addTextTrack)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TextTrack`, `TextTrackKind`*" ] pub fn add_text_track_with_label ( & self , kind : TextTrackKind , label : & str ) -> TextTrack { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_text_track_with_label_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , kind : < TextTrackKind as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TextTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let kind = < TextTrackKind as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( kind , & mut __stack ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_add_text_track_with_label_HTMLMediaElement ( self_ , kind , label ) } ; < TextTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addTextTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/addTextTrack)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TextTrack`, `TextTrackKind`*" ] pub fn add_text_track_with_label ( & self , kind : TextTrackKind , label : & str ) -> TextTrack { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_text_track_with_label_and_language_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < TextTrackKind as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < TextTrack as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addTextTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/addTextTrack)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TextTrack`, `TextTrackKind`*" ] pub fn add_text_track_with_label_and_language ( & self , kind : TextTrackKind , label : & str , language : & str ) -> TextTrack { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_text_track_with_label_and_language_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , kind : < TextTrackKind as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , language : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TextTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let kind = < TextTrackKind as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( kind , & mut __stack ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; let language = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( language , & mut __stack ) ; __widl_f_add_text_track_with_label_and_language_HTMLMediaElement ( self_ , kind , label , language ) } ; < TextTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addTextTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/addTextTrack)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TextTrack`, `TextTrackKind`*" ] pub fn add_text_track_with_label_and_language ( & self , kind : TextTrackKind , label : & str , language : & str ) -> TextTrack { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_can_play_type_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `canPlayType()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/canPlayType)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn can_play_type ( & self , type_ : & str ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_can_play_type_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_can_play_type_HTMLMediaElement ( self_ , type_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `canPlayType()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/canPlayType)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn can_play_type ( & self , type_ : & str ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fast_seek_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fastSeek()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/fastSeek)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn fast_seek ( & self , time : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fast_seek_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( time , & mut __stack ) ; __widl_f_fast_seek_HTMLMediaElement ( self_ , time , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fastSeek()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/fastSeek)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn fast_seek ( & self , time : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_suspend_taint_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasSuspendTaint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/hasSuspendTaint)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn has_suspend_taint ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_suspend_taint_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_has_suspend_taint_HTMLMediaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasSuspendTaint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/hasSuspendTaint)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn has_suspend_taint ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_load_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `load()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/load)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn load ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_load_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_load_HTMLMediaElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `load()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/load)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn load ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pause_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pause()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/pause)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn pause ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pause_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pause_HTMLMediaElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pause()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/pause)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn pause ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_play_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `play()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn play ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_play_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_play_HTMLMediaElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `play()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn play ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_seek_to_next_frame_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `seekToNextFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/seekToNextFrame)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn seek_to_next_frame ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_seek_to_next_frame_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_seek_to_next_frame_HTMLMediaElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `seekToNextFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/seekToNextFrame)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn seek_to_next_frame ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_media_keys_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < Option < & MediaKeys > as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setMediaKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/setMediaKeys)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaKeys`*" ] pub fn set_media_keys ( & self , media_keys : Option < & MediaKeys > ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_media_keys_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , media_keys : < Option < & MediaKeys > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let media_keys = < Option < & MediaKeys > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( media_keys , & mut __stack ) ; __widl_f_set_media_keys_HTMLMediaElement ( self_ , media_keys ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setMediaKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/setMediaKeys)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaKeys`*" ] pub fn set_media_keys ( & self , media_keys : Option < & MediaKeys > ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_visible_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setVisible()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/setVisible)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_visible ( & self , a_visible : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_visible_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_visible : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_visible = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_visible , & mut __stack ) ; __widl_f_set_visible_HTMLMediaElement ( self_ , a_visible ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setVisible()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/setVisible)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_visible ( & self , a_visible : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < Option < MediaError > as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/error)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaError`*" ] pub fn error ( & self , ) -> Option < MediaError > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MediaError > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_error_HTMLMediaElement ( self_ ) } ; < Option < MediaError > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/error)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaError`*" ] pub fn error ( & self , ) -> Option < MediaError > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_src_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/src)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn src ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_src_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_src_HTMLMediaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/src)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn src ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_src_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/src)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_src ( & self , src : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_src_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; __widl_f_set_src_HTMLMediaElement ( self_ , src ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/src)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_src ( & self , src : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_src_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentSrc` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/currentSrc)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn current_src ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_src_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_src_HTMLMediaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentSrc` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/currentSrc)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn current_src ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cross_origin_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `crossOrigin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn cross_origin ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cross_origin_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cross_origin_HTMLMediaElement ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `crossOrigin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn cross_origin ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cross_origin_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `crossOrigin` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_cross_origin ( & self , cross_origin : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cross_origin_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cross_origin : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cross_origin = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cross_origin , & mut __stack ) ; __widl_f_set_cross_origin_HTMLMediaElement ( self_ , cross_origin ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `crossOrigin` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_cross_origin ( & self , cross_origin : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_network_state_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `networkState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/networkState)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn network_state ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_network_state_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_network_state_HTMLMediaElement ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `networkState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/networkState)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn network_state ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_preload_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/preload)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn preload ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_preload_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_preload_HTMLMediaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/preload)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn preload ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_preload_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/preload)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_preload ( & self , preload : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_preload_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , preload : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let preload = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( preload , & mut __stack ) ; __widl_f_set_preload_HTMLMediaElement ( self_ , preload ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/preload)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_preload ( & self , preload : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffered_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < TimeRanges as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `buffered` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/buffered)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TimeRanges`*" ] pub fn buffered ( & self , ) -> TimeRanges { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffered_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TimeRanges as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_buffered_HTMLMediaElement ( self_ ) } ; < TimeRanges as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `buffered` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/buffered)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TimeRanges`*" ] pub fn buffered ( & self , ) -> TimeRanges { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_state_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/readyState)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn ready_state ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_state_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_state_HTMLMediaElement ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/readyState)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn ready_state ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_seeking_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `seeking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/seeking)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn seeking ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_seeking_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_seeking_HTMLMediaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `seeking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/seeking)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn seeking ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_time_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/currentTime)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn current_time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_time_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_time_HTMLMediaElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/currentTime)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn current_time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_current_time_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/currentTime)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_current_time ( & self , current_time : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_current_time_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , current_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let current_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( current_time , & mut __stack ) ; __widl_f_set_current_time_HTMLMediaElement ( self_ , current_time ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/currentTime)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_current_time ( & self , current_time : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_duration_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `duration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/duration)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn duration ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_duration_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_duration_HTMLMediaElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `duration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/duration)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn duration ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_paused_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `paused` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/paused)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn paused ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_paused_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_paused_HTMLMediaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `paused` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/paused)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn paused ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_playback_rate_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultPlaybackRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/defaultPlaybackRate)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn default_playback_rate ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_playback_rate_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_playback_rate_HTMLMediaElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultPlaybackRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/defaultPlaybackRate)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn default_playback_rate ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_default_playback_rate_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultPlaybackRate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/defaultPlaybackRate)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_default_playback_rate ( & self , default_playback_rate : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_default_playback_rate_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , default_playback_rate : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let default_playback_rate = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( default_playback_rate , & mut __stack ) ; __widl_f_set_default_playback_rate_HTMLMediaElement ( self_ , default_playback_rate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultPlaybackRate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/defaultPlaybackRate)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_default_playback_rate ( & self , default_playback_rate : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_playback_rate_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `playbackRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/playbackRate)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn playback_rate ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_playback_rate_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_playback_rate_HTMLMediaElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `playbackRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/playbackRate)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn playback_rate ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_playback_rate_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `playbackRate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/playbackRate)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_playback_rate ( & self , playback_rate : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_playback_rate_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , playback_rate : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let playback_rate = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( playback_rate , & mut __stack ) ; __widl_f_set_playback_rate_HTMLMediaElement ( self_ , playback_rate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `playbackRate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/playbackRate)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_playback_rate ( & self , playback_rate : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_played_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < TimeRanges as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `played` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/played)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TimeRanges`*" ] pub fn played ( & self , ) -> TimeRanges { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_played_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TimeRanges as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_played_HTMLMediaElement ( self_ ) } ; < TimeRanges as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `played` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/played)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TimeRanges`*" ] pub fn played ( & self , ) -> TimeRanges { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_seekable_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < TimeRanges as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `seekable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/seekable)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TimeRanges`*" ] pub fn seekable ( & self , ) -> TimeRanges { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_seekable_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TimeRanges as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_seekable_HTMLMediaElement ( self_ ) } ; < TimeRanges as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `seekable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/seekable)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TimeRanges`*" ] pub fn seekable ( & self , ) -> TimeRanges { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ended_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/ended)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn ended ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ended_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ended_HTMLMediaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/ended)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn ended ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_autoplay_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autoplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/autoplay)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn autoplay ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_autoplay_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_autoplay_HTMLMediaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autoplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/autoplay)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn autoplay ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_autoplay_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autoplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/autoplay)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_autoplay ( & self , autoplay : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_autoplay_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , autoplay : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let autoplay = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( autoplay , & mut __stack ) ; __widl_f_set_autoplay_HTMLMediaElement ( self_ , autoplay ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autoplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/autoplay)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_autoplay ( & self , autoplay : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_loop_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/loop)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn loop_ ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_loop_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_loop_HTMLMediaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/loop)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn loop_ ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_loop_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/loop)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_loop ( & self , loop_ : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_loop_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , loop_ : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let loop_ = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( loop_ , & mut __stack ) ; __widl_f_set_loop_HTMLMediaElement ( self_ , loop_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/loop)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_loop ( & self , loop_ : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_controls_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `controls` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/controls)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn controls ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_controls_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_controls_HTMLMediaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `controls` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/controls)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn controls ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_controls_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `controls` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/controls)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_controls ( & self , controls : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_controls_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , controls : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let controls = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( controls , & mut __stack ) ; __widl_f_set_controls_HTMLMediaElement ( self_ , controls ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `controls` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/controls)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_controls ( & self , controls : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_volume_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `volume` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/volume)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn volume ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_volume_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_volume_HTMLMediaElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `volume` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/volume)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn volume ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_volume_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `volume` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/volume)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_volume ( & self , volume : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_volume_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , volume : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let volume = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( volume , & mut __stack ) ; __widl_f_set_volume_HTMLMediaElement ( self_ , volume ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `volume` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/volume)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_volume ( & self , volume : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_muted_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `muted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/muted)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn muted ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_muted_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_muted_HTMLMediaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `muted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/muted)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn muted ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_muted_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `muted` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/muted)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_muted ( & self , muted : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_muted_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , muted : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let muted = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( muted , & mut __stack ) ; __widl_f_set_muted_HTMLMediaElement ( self_ , muted ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `muted` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/muted)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_muted ( & self , muted : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_muted_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultMuted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/defaultMuted)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn default_muted ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_muted_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_muted_HTMLMediaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultMuted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/defaultMuted)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn default_muted ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_default_muted_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultMuted` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/defaultMuted)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_default_muted ( & self , default_muted : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_default_muted_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , default_muted : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let default_muted = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( default_muted , & mut __stack ) ; __widl_f_set_default_muted_HTMLMediaElement ( self_ , default_muted ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultMuted` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/defaultMuted)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_default_muted ( & self , default_muted : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_audio_tracks_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < AudioTrackList as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `audioTracks` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/audioTracks)\n\n*This API requires the following crate features to be activated: `AudioTrackList`, `HtmlMediaElement`*" ] pub fn audio_tracks ( & self , ) -> AudioTrackList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_audio_tracks_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioTrackList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_audio_tracks_HTMLMediaElement ( self_ ) } ; < AudioTrackList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `audioTracks` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/audioTracks)\n\n*This API requires the following crate features to be activated: `AudioTrackList`, `HtmlMediaElement`*" ] pub fn audio_tracks ( & self , ) -> AudioTrackList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_video_tracks_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < VideoTrackList as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `videoTracks` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/videoTracks)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `VideoTrackList`*" ] pub fn video_tracks ( & self , ) -> VideoTrackList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_video_tracks_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < VideoTrackList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_video_tracks_HTMLMediaElement ( self_ ) } ; < VideoTrackList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `videoTracks` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/videoTracks)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `VideoTrackList`*" ] pub fn video_tracks ( & self , ) -> VideoTrackList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_tracks_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < Option < TextTrackList > as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `textTracks` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/textTracks)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TextTrackList`*" ] pub fn text_tracks ( & self , ) -> Option < TextTrackList > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_tracks_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < TextTrackList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_tracks_HTMLMediaElement ( self_ ) } ; < Option < TextTrackList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `textTracks` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/textTracks)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `TextTrackList`*" ] pub fn text_tracks ( & self , ) -> Option < TextTrackList > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_keys_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < Option < MediaKeys > as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mediaKeys` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/mediaKeys)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaKeys`*" ] pub fn media_keys ( & self , ) -> Option < MediaKeys > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_keys_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MediaKeys > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_keys_HTMLMediaElement ( self_ ) } ; < Option < MediaKeys > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mediaKeys` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/mediaKeys)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`, `MediaKeys`*" ] pub fn media_keys ( & self , ) -> Option < MediaKeys > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onencrypted_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onencrypted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/onencrypted)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn onencrypted ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onencrypted_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onencrypted_HTMLMediaElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onencrypted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/onencrypted)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn onencrypted ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onencrypted_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onencrypted` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/onencrypted)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_onencrypted ( & self , onencrypted : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onencrypted_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onencrypted : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onencrypted = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onencrypted , & mut __stack ) ; __widl_f_set_onencrypted_HTMLMediaElement ( self_ , onencrypted ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onencrypted` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/onencrypted)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_onencrypted ( & self , onencrypted : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwaitingforkey_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwaitingforkey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/onwaitingforkey)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn onwaitingforkey ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwaitingforkey_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwaitingforkey_HTMLMediaElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwaitingforkey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/onwaitingforkey)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn onwaitingforkey ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwaitingforkey_HTMLMediaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMediaElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMediaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwaitingforkey` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/onwaitingforkey)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_onwaitingforkey ( & self , onwaitingforkey : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwaitingforkey_HTMLMediaElement ( self_ : < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwaitingforkey : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMediaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwaitingforkey = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwaitingforkey , & mut __stack ) ; __widl_f_set_onwaitingforkey_HTMLMediaElement ( self_ , onwaitingforkey ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwaitingforkey` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/onwaitingforkey)\n\n*This API requires the following crate features to be activated: `HtmlMediaElement`*" ] pub fn set_onwaitingforkey ( & self , onwaitingforkey : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLMenuElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement)\n\n*This API requires the following crate features to be activated: `HtmlMenuElement`*" ] # [ repr ( transparent ) ] pub struct HtmlMenuElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlMenuElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlMenuElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlMenuElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlMenuElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlMenuElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlMenuElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlMenuElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlMenuElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlMenuElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlMenuElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlMenuElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlMenuElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlMenuElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlMenuElement { HtmlMenuElement { obj } } } impl AsRef < JsValue > for HtmlMenuElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlMenuElement > for JsValue { # [ inline ] fn from ( obj : HtmlMenuElement ) -> JsValue { obj . obj } } impl JsCast for HtmlMenuElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLMenuElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLMenuElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlMenuElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlMenuElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlMenuElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlMenuElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlMenuElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlMenuElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMenuElement > for Element { # [ inline ] fn from ( obj : HtmlMenuElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlMenuElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMenuElement > for Node { # [ inline ] fn from ( obj : HtmlMenuElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlMenuElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMenuElement > for EventTarget { # [ inline ] fn from ( obj : HtmlMenuElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlMenuElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMenuElement > for Object { # [ inline ] fn from ( obj : HtmlMenuElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlMenuElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLMenuElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMenuElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMenuElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/type)\n\n*This API requires the following crate features to be activated: `HtmlMenuElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLMenuElement ( self_ : < & HtmlMenuElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLMenuElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/type)\n\n*This API requires the following crate features to be activated: `HtmlMenuElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLMenuElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMenuElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMenuElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/type)\n\n*This API requires the following crate features to be activated: `HtmlMenuElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLMenuElement ( self_ : < & HtmlMenuElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLMenuElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/type)\n\n*This API requires the following crate features to be activated: `HtmlMenuElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_label_HTMLMenuElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMenuElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMenuElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/label)\n\n*This API requires the following crate features to be activated: `HtmlMenuElement`*" ] pub fn label ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_label_HTMLMenuElement ( self_ : < & HtmlMenuElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_label_HTMLMenuElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/label)\n\n*This API requires the following crate features to be activated: `HtmlMenuElement`*" ] pub fn label ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_label_HTMLMenuElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMenuElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMenuElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/label)\n\n*This API requires the following crate features to be activated: `HtmlMenuElement`*" ] pub fn set_label ( & self , label : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_label_HTMLMenuElement ( self_ : < & HtmlMenuElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_set_label_HTMLMenuElement ( self_ , label ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/label)\n\n*This API requires the following crate features to be activated: `HtmlMenuElement`*" ] pub fn set_label ( & self , label : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compact_HTMLMenuElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMenuElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlMenuElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compact` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlMenuElement`*" ] pub fn compact ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compact_HTMLMenuElement ( self_ : < & HtmlMenuElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_compact_HTMLMenuElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compact` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlMenuElement`*" ] pub fn compact ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_compact_HTMLMenuElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMenuElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMenuElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compact` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlMenuElement`*" ] pub fn set_compact ( & self , compact : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_compact_HTMLMenuElement ( self_ : < & HtmlMenuElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , compact : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let compact = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( compact , & mut __stack ) ; __widl_f_set_compact_HTMLMenuElement ( self_ , compact ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compact` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlMenuElement`*" ] pub fn set_compact ( & self , compact : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLMenuItemElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] # [ repr ( transparent ) ] pub struct HtmlMenuItemElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlMenuItemElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlMenuItemElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlMenuItemElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlMenuItemElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlMenuItemElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlMenuItemElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlMenuItemElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlMenuItemElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlMenuItemElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlMenuItemElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlMenuItemElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlMenuItemElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlMenuItemElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlMenuItemElement { HtmlMenuItemElement { obj } } } impl AsRef < JsValue > for HtmlMenuItemElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlMenuItemElement > for JsValue { # [ inline ] fn from ( obj : HtmlMenuItemElement ) -> JsValue { obj . obj } } impl JsCast for HtmlMenuItemElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLMenuItemElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLMenuItemElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlMenuItemElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlMenuItemElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlMenuItemElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlMenuItemElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlMenuItemElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlMenuItemElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMenuItemElement > for Element { # [ inline ] fn from ( obj : HtmlMenuItemElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlMenuItemElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMenuItemElement > for Node { # [ inline ] fn from ( obj : HtmlMenuItemElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlMenuItemElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMenuItemElement > for EventTarget { # [ inline ] fn from ( obj : HtmlMenuItemElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlMenuItemElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMenuItemElement > for Object { # [ inline ] fn from ( obj : HtmlMenuItemElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlMenuItemElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/type)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLMenuItemElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/type)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/type)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLMenuItemElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/type)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_label_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/label)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn label ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_label_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_label_HTMLMenuItemElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/label)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn label ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_label_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/label)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_label ( & self , label : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_label_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_set_label_HTMLMenuItemElement ( self_ , label ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/label)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_label ( & self , label : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_icon_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `icon` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/icon)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn icon ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_icon_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_icon_HTMLMenuItemElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `icon` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/icon)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn icon ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_icon_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `icon` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/icon)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_icon ( & self , icon : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_icon_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , icon : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let icon = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( icon , & mut __stack ) ; __widl_f_set_icon_HTMLMenuItemElement ( self_ , icon ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `icon` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/icon)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_icon ( & self , icon : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disabled_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn disabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disabled_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disabled_HTMLMenuItemElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn disabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_disabled_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_disabled_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , disabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let disabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( disabled , & mut __stack ) ; __widl_f_set_disabled_HTMLMenuItemElement ( self_ , disabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_checked_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/checked)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn checked ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_checked_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_checked_HTMLMenuItemElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/checked)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn checked ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_checked_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/checked)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_checked ( & self , checked : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_checked_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , checked : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let checked = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( checked , & mut __stack ) ; __widl_f_set_checked_HTMLMenuItemElement ( self_ , checked ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/checked)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_checked ( & self , checked : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_radiogroup_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `radiogroup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/radiogroup)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn radiogroup ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_radiogroup_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_radiogroup_HTMLMenuItemElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `radiogroup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/radiogroup)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn radiogroup ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_radiogroup_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `radiogroup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/radiogroup)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_radiogroup ( & self , radiogroup : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_radiogroup_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radiogroup : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let radiogroup = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radiogroup , & mut __stack ) ; __widl_f_set_radiogroup_HTMLMenuItemElement ( self_ , radiogroup ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `radiogroup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/radiogroup)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_radiogroup ( & self , radiogroup : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_checked_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultChecked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/defaultChecked)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn default_checked ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_checked_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_checked_HTMLMenuItemElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultChecked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/defaultChecked)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn default_checked ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_default_checked_HTMLMenuItemElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMenuItemElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMenuItemElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultChecked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/defaultChecked)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_default_checked ( & self , default_checked : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_default_checked_HTMLMenuItemElement ( self_ : < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , default_checked : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMenuItemElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let default_checked = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( default_checked , & mut __stack ) ; __widl_f_set_default_checked_HTMLMenuItemElement ( self_ , default_checked ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultChecked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/defaultChecked)\n\n*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ] pub fn set_default_checked ( & self , default_checked : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLMetaElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] # [ repr ( transparent ) ] pub struct HtmlMetaElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlMetaElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlMetaElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlMetaElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlMetaElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlMetaElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlMetaElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlMetaElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlMetaElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlMetaElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlMetaElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlMetaElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlMetaElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlMetaElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlMetaElement { HtmlMetaElement { obj } } } impl AsRef < JsValue > for HtmlMetaElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlMetaElement > for JsValue { # [ inline ] fn from ( obj : HtmlMetaElement ) -> JsValue { obj . obj } } impl JsCast for HtmlMetaElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLMetaElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLMetaElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlMetaElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlMetaElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlMetaElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlMetaElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlMetaElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlMetaElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMetaElement > for Element { # [ inline ] fn from ( obj : HtmlMetaElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlMetaElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMetaElement > for Node { # [ inline ] fn from ( obj : HtmlMetaElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlMetaElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMetaElement > for EventTarget { # [ inline ] fn from ( obj : HtmlMetaElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlMetaElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMetaElement > for Object { # [ inline ] fn from ( obj : HtmlMetaElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlMetaElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLMetaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMetaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMetaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/name)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLMetaElement ( self_ : < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLMetaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/name)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLMetaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMetaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMetaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/name)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLMetaElement ( self_ : < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLMetaElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/name)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_http_equiv_HTMLMetaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMetaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMetaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `httpEquiv` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/httpEquiv)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn http_equiv ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_http_equiv_HTMLMetaElement ( self_ : < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_http_equiv_HTMLMetaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `httpEquiv` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/httpEquiv)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn http_equiv ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_http_equiv_HTMLMetaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMetaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMetaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `httpEquiv` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/httpEquiv)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn set_http_equiv ( & self , http_equiv : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_http_equiv_HTMLMetaElement ( self_ : < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , http_equiv : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let http_equiv = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( http_equiv , & mut __stack ) ; __widl_f_set_http_equiv_HTMLMetaElement ( self_ , http_equiv ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `httpEquiv` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/httpEquiv)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn set_http_equiv ( & self , http_equiv : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_content_HTMLMetaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMetaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMetaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `content` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/content)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn content ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_content_HTMLMetaElement ( self_ : < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_content_HTMLMetaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `content` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/content)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn content ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_content_HTMLMetaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMetaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMetaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `content` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/content)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn set_content ( & self , content : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_content_HTMLMetaElement ( self_ : < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , content : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let content = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( content , & mut __stack ) ; __widl_f_set_content_HTMLMetaElement ( self_ , content ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `content` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/content)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn set_content ( & self , content : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scheme_HTMLMetaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMetaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlMetaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scheme` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/scheme)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn scheme ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scheme_HTMLMetaElement ( self_ : < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scheme_HTMLMetaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scheme` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/scheme)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn scheme ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_scheme_HTMLMetaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMetaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMetaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scheme` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/scheme)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn set_scheme ( & self , scheme : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_scheme_HTMLMetaElement ( self_ : < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scheme : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMetaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scheme = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scheme , & mut __stack ) ; __widl_f_set_scheme_HTMLMetaElement ( self_ , scheme ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scheme` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement/scheme)\n\n*This API requires the following crate features to be activated: `HtmlMetaElement`*" ] pub fn set_scheme ( & self , scheme : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLMeterElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] # [ repr ( transparent ) ] pub struct HtmlMeterElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlMeterElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlMeterElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlMeterElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlMeterElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlMeterElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlMeterElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlMeterElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlMeterElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlMeterElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlMeterElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlMeterElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlMeterElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlMeterElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlMeterElement { HtmlMeterElement { obj } } } impl AsRef < JsValue > for HtmlMeterElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlMeterElement > for JsValue { # [ inline ] fn from ( obj : HtmlMeterElement ) -> JsValue { obj . obj } } impl JsCast for HtmlMeterElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLMeterElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLMeterElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlMeterElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlMeterElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlMeterElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlMeterElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlMeterElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlMeterElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMeterElement > for Element { # [ inline ] fn from ( obj : HtmlMeterElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlMeterElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMeterElement > for Node { # [ inline ] fn from ( obj : HtmlMeterElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlMeterElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMeterElement > for EventTarget { # [ inline ] fn from ( obj : HtmlMeterElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlMeterElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlMeterElement > for Object { # [ inline ] fn from ( obj : HtmlMeterElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlMeterElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_HTMLMeterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMeterElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlMeterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/value)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn value ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_HTMLMeterElement ( self_ : < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_HTMLMeterElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/value)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn value ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_HTMLMeterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMeterElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMeterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/value)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn set_value ( & self , value : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_HTMLMeterElement ( self_ : < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_HTMLMeterElement ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/value)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn set_value ( & self , value : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_min_HTMLMeterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMeterElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlMeterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `min` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/min)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn min ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_min_HTMLMeterElement ( self_ : < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_min_HTMLMeterElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `min` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/min)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn min ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_min_HTMLMeterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMeterElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMeterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `min` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/min)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn set_min ( & self , min : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_min_HTMLMeterElement ( self_ : < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , min : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let min = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( min , & mut __stack ) ; __widl_f_set_min_HTMLMeterElement ( self_ , min ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `min` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/min)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn set_min ( & self , min : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_HTMLMeterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMeterElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlMeterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `max` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/max)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn max ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_HTMLMeterElement ( self_ : < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_HTMLMeterElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `max` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/max)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn max ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_max_HTMLMeterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMeterElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMeterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `max` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/max)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn set_max ( & self , max : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_max_HTMLMeterElement ( self_ : < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let max = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max , & mut __stack ) ; __widl_f_set_max_HTMLMeterElement ( self_ , max ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `max` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/max)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn set_max ( & self , max : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_low_HTMLMeterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMeterElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlMeterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `low` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/low)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn low ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_low_HTMLMeterElement ( self_ : < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_low_HTMLMeterElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `low` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/low)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn low ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_low_HTMLMeterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMeterElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMeterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `low` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/low)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn set_low ( & self , low : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_low_HTMLMeterElement ( self_ : < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , low : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let low = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( low , & mut __stack ) ; __widl_f_set_low_HTMLMeterElement ( self_ , low ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `low` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/low)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn set_low ( & self , low : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_high_HTMLMeterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMeterElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlMeterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `high` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/high)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn high ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_high_HTMLMeterElement ( self_ : < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_high_HTMLMeterElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `high` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/high)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn high ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_high_HTMLMeterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMeterElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMeterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `high` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/high)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn set_high ( & self , high : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_high_HTMLMeterElement ( self_ : < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , high : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let high = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( high , & mut __stack ) ; __widl_f_set_high_HTMLMeterElement ( self_ , high ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `high` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/high)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn set_high ( & self , high : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_optimum_HTMLMeterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMeterElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlMeterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `optimum` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/optimum)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn optimum ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_optimum_HTMLMeterElement ( self_ : < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_optimum_HTMLMeterElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `optimum` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/optimum)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn optimum ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_optimum_HTMLMeterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlMeterElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlMeterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `optimum` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/optimum)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn set_optimum ( & self , optimum : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_optimum_HTMLMeterElement ( self_ : < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , optimum : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let optimum = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( optimum , & mut __stack ) ; __widl_f_set_optimum_HTMLMeterElement ( self_ , optimum ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `optimum` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/optimum)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`*" ] pub fn set_optimum ( & self , optimum : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_labels_HTMLMeterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlMeterElement as WasmDescribe > :: describe ( ) ; < NodeList as WasmDescribe > :: describe ( ) ; } impl HtmlMeterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`, `NodeList`*" ] pub fn labels ( & self , ) -> NodeList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_labels_HTMLMeterElement ( self_ : < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlMeterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_labels_HTMLMeterElement ( self_ ) } ; < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlMeterElement`, `NodeList`*" ] pub fn labels ( & self , ) -> NodeList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLModElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement)\n\n*This API requires the following crate features to be activated: `HtmlModElement`*" ] # [ repr ( transparent ) ] pub struct HtmlModElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlModElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlModElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlModElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlModElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlModElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlModElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlModElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlModElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlModElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlModElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlModElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlModElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlModElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlModElement { HtmlModElement { obj } } } impl AsRef < JsValue > for HtmlModElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlModElement > for JsValue { # [ inline ] fn from ( obj : HtmlModElement ) -> JsValue { obj . obj } } impl JsCast for HtmlModElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLModElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLModElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlModElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlModElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlModElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlModElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlModElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlModElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlModElement > for Element { # [ inline ] fn from ( obj : HtmlModElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlModElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlModElement > for Node { # [ inline ] fn from ( obj : HtmlModElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlModElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlModElement > for EventTarget { # [ inline ] fn from ( obj : HtmlModElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlModElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlModElement > for Object { # [ inline ] fn from ( obj : HtmlModElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlModElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cite_HTMLModElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlModElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlModElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cite` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement/cite)\n\n*This API requires the following crate features to be activated: `HtmlModElement`*" ] pub fn cite ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cite_HTMLModElement ( self_ : < & HtmlModElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlModElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cite_HTMLModElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cite` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement/cite)\n\n*This API requires the following crate features to be activated: `HtmlModElement`*" ] pub fn cite ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cite_HTMLModElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlModElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlModElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cite` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement/cite)\n\n*This API requires the following crate features to be activated: `HtmlModElement`*" ] pub fn set_cite ( & self , cite : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cite_HTMLModElement ( self_ : < & HtmlModElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cite : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlModElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cite = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cite , & mut __stack ) ; __widl_f_set_cite_HTMLModElement ( self_ , cite ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cite` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement/cite)\n\n*This API requires the following crate features to be activated: `HtmlModElement`*" ] pub fn set_cite ( & self , cite : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_date_time_HTMLModElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlModElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlModElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dateTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement/dateTime)\n\n*This API requires the following crate features to be activated: `HtmlModElement`*" ] pub fn date_time ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_date_time_HTMLModElement ( self_ : < & HtmlModElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlModElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_date_time_HTMLModElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dateTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement/dateTime)\n\n*This API requires the following crate features to be activated: `HtmlModElement`*" ] pub fn date_time ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_date_time_HTMLModElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlModElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlModElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dateTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement/dateTime)\n\n*This API requires the following crate features to be activated: `HtmlModElement`*" ] pub fn set_date_time ( & self , date_time : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_date_time_HTMLModElement ( self_ : < & HtmlModElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , date_time : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlModElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let date_time = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( date_time , & mut __stack ) ; __widl_f_set_date_time_HTMLModElement ( self_ , date_time ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dateTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement/dateTime)\n\n*This API requires the following crate features to be activated: `HtmlModElement`*" ] pub fn set_date_time ( & self , date_time : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLOListElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] # [ repr ( transparent ) ] pub struct HtmlOListElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlOListElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlOListElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlOListElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlOListElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlOListElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlOListElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlOListElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlOListElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlOListElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlOListElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlOListElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlOListElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlOListElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlOListElement { HtmlOListElement { obj } } } impl AsRef < JsValue > for HtmlOListElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlOListElement > for JsValue { # [ inline ] fn from ( obj : HtmlOListElement ) -> JsValue { obj . obj } } impl JsCast for HtmlOListElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLOListElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLOListElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlOListElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlOListElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlOListElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlOListElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlOListElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlOListElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOListElement > for Element { # [ inline ] fn from ( obj : HtmlOListElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlOListElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOListElement > for Node { # [ inline ] fn from ( obj : HtmlOListElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlOListElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOListElement > for EventTarget { # [ inline ] fn from ( obj : HtmlOListElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlOListElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOListElement > for Object { # [ inline ] fn from ( obj : HtmlOListElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlOListElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reversed_HTMLOListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOListElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlOListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reversed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/reversed)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn reversed ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reversed_HTMLOListElement ( self_ : < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reversed_HTMLOListElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reversed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/reversed)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn reversed ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_reversed_HTMLOListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOListElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reversed` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/reversed)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn set_reversed ( & self , reversed : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_reversed_HTMLOListElement ( self_ : < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , reversed : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let reversed = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( reversed , & mut __stack ) ; __widl_f_set_reversed_HTMLOListElement ( self_ , reversed ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reversed` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/reversed)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn set_reversed ( & self , reversed : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_HTMLOListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOListElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlOListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/start)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn start ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_HTMLOListElement ( self_ : < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_HTMLOListElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/start)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn start ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_start_HTMLOListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOListElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/start)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn set_start ( & self , start : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_start_HTMLOListElement ( self_ : < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; __widl_f_set_start_HTMLOListElement ( self_ , start ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/start)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn set_start ( & self , start : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLOListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOListElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlOListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/type)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLOListElement ( self_ : < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLOListElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/type)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLOListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOListElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/type)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLOListElement ( self_ : < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLOListElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/type)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compact_HTMLOListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOListElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlOListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compact` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn compact ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compact_HTMLOListElement ( self_ : < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_compact_HTMLOListElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compact` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn compact ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_compact_HTMLOListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOListElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compact` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn set_compact ( & self , compact : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_compact_HTMLOListElement ( self_ : < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , compact : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let compact = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( compact , & mut __stack ) ; __widl_f_set_compact_HTMLOListElement ( self_ , compact ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compact` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlOListElement`*" ] pub fn set_compact ( & self , compact : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLObjectElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] # [ repr ( transparent ) ] pub struct HtmlObjectElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlObjectElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlObjectElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlObjectElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlObjectElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlObjectElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlObjectElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlObjectElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlObjectElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlObjectElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlObjectElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlObjectElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlObjectElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlObjectElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlObjectElement { HtmlObjectElement { obj } } } impl AsRef < JsValue > for HtmlObjectElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlObjectElement > for JsValue { # [ inline ] fn from ( obj : HtmlObjectElement ) -> JsValue { obj . obj } } impl JsCast for HtmlObjectElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLObjectElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLObjectElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlObjectElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlObjectElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlObjectElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlObjectElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlObjectElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlObjectElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlObjectElement > for Element { # [ inline ] fn from ( obj : HtmlObjectElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlObjectElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlObjectElement > for Node { # [ inline ] fn from ( obj : HtmlObjectElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlObjectElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlObjectElement > for EventTarget { # [ inline ] fn from ( obj : HtmlObjectElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlObjectElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlObjectElement > for Object { # [ inline ] fn from ( obj : HtmlObjectElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlObjectElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_check_validity_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn check_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_check_validity_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_check_validity_HTMLObjectElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn check_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_svg_document_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < Option < Document > as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getSVGDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/getSVGDocument)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlObjectElement`*" ] pub fn get_svg_document ( & self , ) -> Option < Document > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_svg_document_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_svg_document_HTMLObjectElement ( self_ ) } ; < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getSVGDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/getSVGDocument)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlObjectElement`*" ] pub fn get_svg_document ( & self , ) -> Option < Document > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_report_validity_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn report_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_report_validity_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_report_validity_HTMLObjectElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn report_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_custom_validity_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_custom_validity_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let error = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error , & mut __stack ) ; __widl_f_set_custom_validity_HTMLObjectElement ( self_ , error ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_data_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/data)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn data ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_data_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_data_HTMLObjectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/data)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn data ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_data_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/data)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_data ( & self , data : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_data_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_set_data_HTMLObjectElement ( self_ , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/data)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_data ( & self , data : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/type)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLObjectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/type)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/type)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLObjectElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/type)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_must_match_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `typeMustMatch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/typeMustMatch)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn type_must_match ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_must_match_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_must_match_HTMLObjectElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `typeMustMatch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/typeMustMatch)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn type_must_match ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_must_match_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `typeMustMatch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/typeMustMatch)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_type_must_match ( & self , type_must_match : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_must_match_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_must_match : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_must_match = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_must_match , & mut __stack ) ; __widl_f_set_type_must_match_HTMLObjectElement ( self_ , type_must_match ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `typeMustMatch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/typeMustMatch)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_type_must_match ( & self , type_must_match : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/name)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLObjectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/name)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/name)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLObjectElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/name)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_use_map_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `useMap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/useMap)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn use_map ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_use_map_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_use_map_HTMLObjectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `useMap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/useMap)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn use_map ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_use_map_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `useMap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/useMap)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_use_map ( & self , use_map : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_use_map_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , use_map : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let use_map = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( use_map , & mut __stack ) ; __widl_f_set_use_map_HTMLObjectElement ( self_ , use_map ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `useMap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/useMap)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_use_map ( & self , use_map : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < Option < HtmlFormElement > as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlObjectElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_HTMLObjectElement ( self_ ) } ; < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlObjectElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/width)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn width ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_HTMLObjectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/width)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn width ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/width)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_width ( & self , width : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_HTMLObjectElement ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/width)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_width ( & self , width : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/height)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn height ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_HTMLObjectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/height)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn height ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_height_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/height)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_height ( & self , height : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_height_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let height = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_set_height_HTMLObjectElement ( self_ , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/height)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_height ( & self , height : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_content_document_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < Option < Document > as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `contentDocument` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/contentDocument)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlObjectElement`*" ] pub fn content_document ( & self , ) -> Option < Document > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_content_document_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_content_document_HTMLObjectElement ( self_ ) } ; < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `contentDocument` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/contentDocument)\n\n*This API requires the following crate features to be activated: `Document`, `HtmlObjectElement`*" ] pub fn content_document ( & self , ) -> Option < Document > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_content_window_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `contentWindow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/contentWindow)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`, `Window`*" ] pub fn content_window ( & self , ) -> Option < Window > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_content_window_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_content_window_HTMLObjectElement ( self_ ) } ; < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `contentWindow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/contentWindow)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`, `Window`*" ] pub fn content_window ( & self , ) -> Option < Window > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_will_validate_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn will_validate ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_will_validate_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_will_validate_HTMLObjectElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn will_validate ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validity_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < ValidityState as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validity_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validity_HTMLObjectElement ( self_ ) } ; < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validation_message_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validation_message_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validation_message_HTMLObjectElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/align)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLObjectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/align)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/align)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLObjectElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/align)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_archive_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `archive` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/archive)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn archive ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_archive_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_archive_HTMLObjectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `archive` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/archive)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn archive ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_archive_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `archive` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/archive)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_archive ( & self , archive : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_archive_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , archive : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let archive = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( archive , & mut __stack ) ; __widl_f_set_archive_HTMLObjectElement ( self_ , archive ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `archive` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/archive)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_archive ( & self , archive : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_code_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `code` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/code)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn code ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_code_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_code_HTMLObjectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `code` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/code)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn code ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_code_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `code` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/code)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_code ( & self , code : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_code_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , code : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let code = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( code , & mut __stack ) ; __widl_f_set_code_HTMLObjectElement ( self_ , code ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `code` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/code)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_code ( & self , code : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_declare_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `declare` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/declare)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn declare ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_declare_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_declare_HTMLObjectElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `declare` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/declare)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn declare ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_declare_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `declare` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/declare)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_declare ( & self , declare : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_declare_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , declare : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let declare = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( declare , & mut __stack ) ; __widl_f_set_declare_HTMLObjectElement ( self_ , declare ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `declare` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/declare)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_declare ( & self , declare : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hspace_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hspace` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/hspace)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn hspace ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hspace_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hspace_HTMLObjectElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hspace` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/hspace)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn hspace ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_hspace_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hspace` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/hspace)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_hspace ( & self , hspace : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_hspace_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , hspace : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let hspace = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( hspace , & mut __stack ) ; __widl_f_set_hspace_HTMLObjectElement ( self_ , hspace ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hspace` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/hspace)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_hspace ( & self , hspace : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_standby_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `standby` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/standby)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn standby ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_standby_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_standby_HTMLObjectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `standby` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/standby)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn standby ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_standby_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `standby` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/standby)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_standby ( & self , standby : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_standby_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , standby : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let standby = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( standby , & mut __stack ) ; __widl_f_set_standby_HTMLObjectElement ( self_ , standby ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `standby` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/standby)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_standby ( & self , standby : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vspace_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vspace` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/vspace)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn vspace ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vspace_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_vspace_HTMLObjectElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vspace` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/vspace)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn vspace ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_vspace_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vspace` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/vspace)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_vspace ( & self , vspace : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_vspace_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , vspace : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let vspace = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( vspace , & mut __stack ) ; __widl_f_set_vspace_HTMLObjectElement ( self_ , vspace ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vspace` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/vspace)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_vspace ( & self , vspace : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_code_base_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `codeBase` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeBase)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn code_base ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_code_base_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_code_base_HTMLObjectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `codeBase` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeBase)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn code_base ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_code_base_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `codeBase` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeBase)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_code_base ( & self , code_base : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_code_base_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , code_base : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let code_base = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( code_base , & mut __stack ) ; __widl_f_set_code_base_HTMLObjectElement ( self_ , code_base ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `codeBase` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeBase)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_code_base ( & self , code_base : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_code_type_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `codeType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeType)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn code_type ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_code_type_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_code_type_HTMLObjectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `codeType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeType)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn code_type ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_code_type_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `codeType` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeType)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_code_type ( & self , code_type : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_code_type_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , code_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let code_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( code_type , & mut __stack ) ; __widl_f_set_code_type_HTMLObjectElement ( self_ , code_type ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `codeType` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeType)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_code_type ( & self , code_type : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_border_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `border` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/border)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn border ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_border_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_border_HTMLObjectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `border` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/border)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn border ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_border_HTMLObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlObjectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `border` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/border)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_border ( & self , border : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_border_HTMLObjectElement ( self_ : < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let border = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; __widl_f_set_border_HTMLObjectElement ( self_ , border ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `border` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/border)\n\n*This API requires the following crate features to be activated: `HtmlObjectElement`*" ] pub fn set_border ( & self , border : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLOptGroupElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`*" ] # [ repr ( transparent ) ] pub struct HtmlOptGroupElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlOptGroupElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlOptGroupElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlOptGroupElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlOptGroupElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlOptGroupElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlOptGroupElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlOptGroupElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlOptGroupElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlOptGroupElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlOptGroupElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlOptGroupElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlOptGroupElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlOptGroupElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlOptGroupElement { HtmlOptGroupElement { obj } } } impl AsRef < JsValue > for HtmlOptGroupElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlOptGroupElement > for JsValue { # [ inline ] fn from ( obj : HtmlOptGroupElement ) -> JsValue { obj . obj } } impl JsCast for HtmlOptGroupElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLOptGroupElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLOptGroupElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlOptGroupElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlOptGroupElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlOptGroupElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlOptGroupElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlOptGroupElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlOptGroupElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOptGroupElement > for Element { # [ inline ] fn from ( obj : HtmlOptGroupElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlOptGroupElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOptGroupElement > for Node { # [ inline ] fn from ( obj : HtmlOptGroupElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlOptGroupElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOptGroupElement > for EventTarget { # [ inline ] fn from ( obj : HtmlOptGroupElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlOptGroupElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOptGroupElement > for Object { # [ inline ] fn from ( obj : HtmlOptGroupElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlOptGroupElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disabled_HTMLOptGroupElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOptGroupElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlOptGroupElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`*" ] pub fn disabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disabled_HTMLOptGroupElement ( self_ : < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disabled_HTMLOptGroupElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`*" ] pub fn disabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_disabled_HTMLOptGroupElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOptGroupElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptGroupElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_disabled_HTMLOptGroupElement ( self_ : < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , disabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let disabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( disabled , & mut __stack ) ; __widl_f_set_disabled_HTMLOptGroupElement ( self_ , disabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_label_HTMLOptGroupElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOptGroupElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlOptGroupElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement/label)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`*" ] pub fn label ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_label_HTMLOptGroupElement ( self_ : < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_label_HTMLOptGroupElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement/label)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`*" ] pub fn label ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_label_HTMLOptGroupElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOptGroupElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptGroupElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement/label)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`*" ] pub fn set_label ( & self , label : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_label_HTMLOptGroupElement ( self_ : < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_set_label_HTMLOptGroupElement ( self_ , label ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement/label)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`*" ] pub fn set_label ( & self , label : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLOptionElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] # [ repr ( transparent ) ] pub struct HtmlOptionElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlOptionElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlOptionElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlOptionElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlOptionElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlOptionElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlOptionElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlOptionElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlOptionElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlOptionElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlOptionElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlOptionElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlOptionElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlOptionElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlOptionElement { HtmlOptionElement { obj } } } impl AsRef < JsValue > for HtmlOptionElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlOptionElement > for JsValue { # [ inline ] fn from ( obj : HtmlOptionElement ) -> JsValue { obj . obj } } impl JsCast for HtmlOptionElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLOptionElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLOptionElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlOptionElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlOptionElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlOptionElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlOptionElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlOptionElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlOptionElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOptionElement > for Element { # [ inline ] fn from ( obj : HtmlOptionElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlOptionElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOptionElement > for Node { # [ inline ] fn from ( obj : HtmlOptionElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlOptionElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOptionElement > for EventTarget { # [ inline ] fn from ( obj : HtmlOptionElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlOptionElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOptionElement > for Object { # [ inline ] fn from ( obj : HtmlOptionElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlOptionElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Option ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < HtmlOptionElement as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new HTMLOptionElement(..)` constructor, creating a new instance of `HTMLOptionElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn new ( ) -> Result < HtmlOptionElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Option ( exn_data_ptr : * mut u32 ) -> < HtmlOptionElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_Option ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlOptionElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new HTMLOptionElement(..)` constructor, creating a new instance of `HTMLOptionElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn new ( ) -> Result < HtmlOptionElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_text_Option ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < HtmlOptionElement as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new HTMLOptionElement(..)` constructor, creating a new instance of `HTMLOptionElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn new_with_text ( text : & str ) -> Result < HtmlOptionElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_text_Option ( text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlOptionElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_new_with_text_Option ( text , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlOptionElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new HTMLOptionElement(..)` constructor, creating a new instance of `HTMLOptionElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn new_with_text ( text : & str ) -> Result < HtmlOptionElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_text_and_value_Option ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < HtmlOptionElement as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new HTMLOptionElement(..)` constructor, creating a new instance of `HTMLOptionElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn new_with_text_and_value ( text : & str , value : & str ) -> Result < HtmlOptionElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_text_and_value_Option ( text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlOptionElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_new_with_text_and_value_Option ( text , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlOptionElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new HTMLOptionElement(..)` constructor, creating a new instance of `HTMLOptionElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn new_with_text_and_value ( text : & str , value : & str ) -> Result < HtmlOptionElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_text_and_value_and_default_selected_Option ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < HtmlOptionElement as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new HTMLOptionElement(..)` constructor, creating a new instance of `HTMLOptionElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn new_with_text_and_value_and_default_selected ( text : & str , value : & str , default_selected : bool ) -> Result < HtmlOptionElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_text_and_value_and_default_selected_Option ( text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , default_selected : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlOptionElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; let default_selected = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( default_selected , & mut __stack ) ; __widl_f_new_with_text_and_value_and_default_selected_Option ( text , value , default_selected , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlOptionElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new HTMLOptionElement(..)` constructor, creating a new instance of `HTMLOptionElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn new_with_text_and_value_and_default_selected ( text : & str , value : & str , default_selected : bool ) -> Result < HtmlOptionElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_text_and_value_and_default_selected_and_selected_Option ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < HtmlOptionElement as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new HTMLOptionElement(..)` constructor, creating a new instance of `HTMLOptionElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn new_with_text_and_value_and_default_selected_and_selected ( text : & str , value : & str , default_selected : bool , selected : bool ) -> Result < HtmlOptionElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_text_and_value_and_default_selected_and_selected_Option ( text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , default_selected : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selected : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlOptionElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; let default_selected = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( default_selected , & mut __stack ) ; let selected = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selected , & mut __stack ) ; __widl_f_new_with_text_and_value_and_default_selected_and_selected_Option ( text , value , default_selected , selected , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlOptionElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new HTMLOptionElement(..)` constructor, creating a new instance of `HTMLOptionElement`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/HTMLOptionElement)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn new_with_text_and_value_and_default_selected_and_selected ( text : & str , value : & str , default_selected : bool , selected : bool ) -> Result < HtmlOptionElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disabled_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn disabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disabled_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disabled_HTMLOptionElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn disabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_disabled_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_disabled_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , disabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let disabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( disabled , & mut __stack ) ; __widl_f_set_disabled_HTMLOptionElement ( self_ , disabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < Option < HtmlFormElement > as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlOptionElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_HTMLOptionElement ( self_ ) } ; < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlOptionElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_label_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/label)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn label ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_label_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_label_HTMLOptionElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/label)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn label ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_label_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/label)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn set_label ( & self , label : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_label_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_set_label_HTMLOptionElement ( self_ , label ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/label)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn set_label ( & self , label : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_selected_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultSelected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/defaultSelected)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn default_selected ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_selected_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_selected_HTMLOptionElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultSelected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/defaultSelected)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn default_selected ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_default_selected_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultSelected` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/defaultSelected)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn set_default_selected ( & self , default_selected : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_default_selected_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , default_selected : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let default_selected = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( default_selected , & mut __stack ) ; __widl_f_set_default_selected_HTMLOptionElement ( self_ , default_selected ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultSelected` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/defaultSelected)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn set_default_selected ( & self , default_selected : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_selected_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/selected)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn selected ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_selected_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_selected_HTMLOptionElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/selected)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn selected ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_selected_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selected` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/selected)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn set_selected ( & self , selected : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_selected_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selected : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selected = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selected , & mut __stack ) ; __widl_f_set_selected_HTMLOptionElement ( self_ , selected ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selected` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/selected)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn set_selected ( & self , selected : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/value)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_HTMLOptionElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/value)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/value)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn set_value ( & self , value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_HTMLOptionElement ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/value)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn set_value ( & self , value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/text)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_HTMLOptionElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/text)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_text_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/text)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn set_text ( & self , text : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_text_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_set_text_HTMLOptionElement ( self_ , text ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/text)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn set_text ( & self , text : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_index_HTMLOptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlOptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `index` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/index)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn index ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_index_HTMLOptionElement ( self_ : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_index_HTMLOptionElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `index` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement/index)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`*" ] pub fn index ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLOptionsCollection` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection)\n\n*This API requires the following crate features to be activated: `HtmlOptionsCollection`*" ] # [ repr ( transparent ) ] pub struct HtmlOptionsCollection { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlOptionsCollection : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlOptionsCollection { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlOptionsCollection { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlOptionsCollection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlOptionsCollection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlOptionsCollection { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlOptionsCollection { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlOptionsCollection { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlOptionsCollection { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlOptionsCollection { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlOptionsCollection > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlOptionsCollection { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlOptionsCollection { # [ inline ] fn from ( obj : JsValue ) -> HtmlOptionsCollection { HtmlOptionsCollection { obj } } } impl AsRef < JsValue > for HtmlOptionsCollection { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlOptionsCollection > for JsValue { # [ inline ] fn from ( obj : HtmlOptionsCollection ) -> JsValue { obj . obj } } impl JsCast for HtmlOptionsCollection { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLOptionsCollection ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLOptionsCollection ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlOptionsCollection { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlOptionsCollection ) } } } ( ) } ; impl core :: ops :: Deref for HtmlOptionsCollection { type Target = HtmlCollection ; # [ inline ] fn deref ( & self ) -> & HtmlCollection { self . as_ref ( ) } } impl From < HtmlOptionsCollection > for HtmlCollection { # [ inline ] fn from ( obj : HtmlOptionsCollection ) -> HtmlCollection { use wasm_bindgen :: JsCast ; HtmlCollection :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlCollection > for HtmlOptionsCollection { # [ inline ] fn as_ref ( & self ) -> & HtmlCollection { use wasm_bindgen :: JsCast ; HtmlCollection :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOptionsCollection > for Object { # [ inline ] fn from ( obj : HtmlOptionsCollection ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlOptionsCollection { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_html_option_element_HTMLOptionsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOptionsCollection as WasmDescribe > :: describe ( ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlOptionsCollection`*" ] pub fn add_with_html_option_element ( & self , element : & HtmlOptionElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_html_option_element_HTMLOptionsCollection ( self_ : < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; __widl_f_add_with_html_option_element_HTMLOptionsCollection ( self_ , element , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlOptionsCollection`*" ] pub fn add_with_html_option_element ( & self , element : & HtmlOptionElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_html_opt_group_element_HTMLOptionsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOptionsCollection as WasmDescribe > :: describe ( ) ; < & HtmlOptGroupElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`, `HtmlOptionsCollection`*" ] pub fn add_with_html_opt_group_element ( & self , element : & HtmlOptGroupElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_html_opt_group_element_HTMLOptionsCollection ( self_ : < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; __widl_f_add_with_html_opt_group_element_HTMLOptionsCollection ( self_ , element , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`, `HtmlOptionsCollection`*" ] pub fn add_with_html_opt_group_element ( & self , element : & HtmlOptGroupElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_html_option_element_and_opt_html_element_HTMLOptionsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlOptionsCollection as WasmDescribe > :: describe ( ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < Option < & HtmlElement > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlOptionElement`, `HtmlOptionsCollection`*" ] pub fn add_with_html_option_element_and_opt_html_element ( & self , element : & HtmlOptionElement , before : Option < & HtmlElement > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_html_option_element_and_opt_html_element_HTMLOptionsCollection ( self_ : < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , before : < Option < & HtmlElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; let before = < Option < & HtmlElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( before , & mut __stack ) ; __widl_f_add_with_html_option_element_and_opt_html_element_HTMLOptionsCollection ( self_ , element , before , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlOptionElement`, `HtmlOptionsCollection`*" ] pub fn add_with_html_option_element_and_opt_html_element ( & self , element : & HtmlOptionElement , before : Option < & HtmlElement > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_html_opt_group_element_and_opt_html_element_HTMLOptionsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlOptionsCollection as WasmDescribe > :: describe ( ) ; < & HtmlOptGroupElement as WasmDescribe > :: describe ( ) ; < Option < & HtmlElement > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlOptGroupElement`, `HtmlOptionsCollection`*" ] pub fn add_with_html_opt_group_element_and_opt_html_element ( & self , element : & HtmlOptGroupElement , before : Option < & HtmlElement > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_html_opt_group_element_and_opt_html_element_HTMLOptionsCollection ( self_ : < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , before : < Option < & HtmlElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; let before = < Option < & HtmlElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( before , & mut __stack ) ; __widl_f_add_with_html_opt_group_element_and_opt_html_element_HTMLOptionsCollection ( self_ , element , before , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlOptGroupElement`, `HtmlOptionsCollection`*" ] pub fn add_with_html_opt_group_element_and_opt_html_element ( & self , element : & HtmlOptGroupElement , before : Option < & HtmlElement > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_html_option_element_and_opt_i32_HTMLOptionsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlOptionsCollection as WasmDescribe > :: describe ( ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < Option < i32 > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlOptionsCollection`*" ] pub fn add_with_html_option_element_and_opt_i32 ( & self , element : & HtmlOptionElement , before : Option < i32 > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_html_option_element_and_opt_i32_HTMLOptionsCollection ( self_ : < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , before : < Option < i32 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; let before = < Option < i32 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( before , & mut __stack ) ; __widl_f_add_with_html_option_element_and_opt_i32_HTMLOptionsCollection ( self_ , element , before , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlOptionsCollection`*" ] pub fn add_with_html_option_element_and_opt_i32 ( & self , element : & HtmlOptionElement , before : Option < i32 > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_html_opt_group_element_and_opt_i32_HTMLOptionsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlOptionsCollection as WasmDescribe > :: describe ( ) ; < & HtmlOptGroupElement as WasmDescribe > :: describe ( ) ; < Option < i32 > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`, `HtmlOptionsCollection`*" ] pub fn add_with_html_opt_group_element_and_opt_i32 ( & self , element : & HtmlOptGroupElement , before : Option < i32 > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_html_opt_group_element_and_opt_i32_HTMLOptionsCollection ( self_ : < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , before : < Option < i32 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; let before = < Option < i32 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( before , & mut __stack ) ; __widl_f_add_with_html_opt_group_element_and_opt_i32_HTMLOptionsCollection ( self_ , element , before , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/add)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`, `HtmlOptionsCollection`*" ] pub fn add_with_html_opt_group_element_and_opt_i32 ( & self , element : & HtmlOptGroupElement , before : Option < i32 > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_HTMLOptionsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOptionsCollection as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/remove)\n\n*This API requires the following crate features to be activated: `HtmlOptionsCollection`*" ] pub fn remove ( & self , index : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_HTMLOptionsCollection ( self_ : < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_remove_HTMLOptionsCollection ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/remove)\n\n*This API requires the following crate features to be activated: `HtmlOptionsCollection`*" ] pub fn remove ( & self , index : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_HTMLOptionsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlOptionsCollection as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & HtmlOptionElement > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing setter\n\n\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlOptionsCollection`*" ] pub fn set ( & self , index : u32 , option : Option < & HtmlOptionElement > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_HTMLOptionsCollection ( self_ : < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , option : < Option < & HtmlOptionElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let option = < Option < & HtmlOptionElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( option , & mut __stack ) ; __widl_f_set_HTMLOptionsCollection ( self_ , index , option , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing setter\n\n\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlOptionsCollection`*" ] pub fn set ( & self , index : u32 , option : Option < & HtmlOptionElement > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_HTMLOptionsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOptionsCollection as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlOptionsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/length)\n\n*This API requires the following crate features to be activated: `HtmlOptionsCollection`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_HTMLOptionsCollection ( self_ : < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_HTMLOptionsCollection ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/length)\n\n*This API requires the following crate features to be activated: `HtmlOptionsCollection`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_length_HTMLOptionsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOptionsCollection as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/length)\n\n*This API requires the following crate features to be activated: `HtmlOptionsCollection`*" ] pub fn set_length ( & self , length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_length_HTMLOptionsCollection ( self_ : < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_set_length_HTMLOptionsCollection ( self_ , length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/length)\n\n*This API requires the following crate features to be activated: `HtmlOptionsCollection`*" ] pub fn set_length ( & self , length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_selected_index_HTMLOptionsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOptionsCollection as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlOptionsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectedIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/selectedIndex)\n\n*This API requires the following crate features to be activated: `HtmlOptionsCollection`*" ] pub fn selected_index ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_selected_index_HTMLOptionsCollection ( self_ : < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_selected_index_HTMLOptionsCollection ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectedIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/selectedIndex)\n\n*This API requires the following crate features to be activated: `HtmlOptionsCollection`*" ] pub fn selected_index ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_selected_index_HTMLOptionsCollection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOptionsCollection as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOptionsCollection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectedIndex` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/selectedIndex)\n\n*This API requires the following crate features to be activated: `HtmlOptionsCollection`*" ] pub fn set_selected_index ( & self , selected_index : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_selected_index_HTMLOptionsCollection ( self_ : < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selected_index : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOptionsCollection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selected_index = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selected_index , & mut __stack ) ; __widl_f_set_selected_index_HTMLOptionsCollection ( self_ , selected_index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectedIndex` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection/selectedIndex)\n\n*This API requires the following crate features to be activated: `HtmlOptionsCollection`*" ] pub fn set_selected_index ( & self , selected_index : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLOutputElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] # [ repr ( transparent ) ] pub struct HtmlOutputElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlOutputElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlOutputElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlOutputElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlOutputElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlOutputElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlOutputElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlOutputElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlOutputElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlOutputElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlOutputElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlOutputElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlOutputElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlOutputElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlOutputElement { HtmlOutputElement { obj } } } impl AsRef < JsValue > for HtmlOutputElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlOutputElement > for JsValue { # [ inline ] fn from ( obj : HtmlOutputElement ) -> JsValue { obj . obj } } impl JsCast for HtmlOutputElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLOutputElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLOutputElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlOutputElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlOutputElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlOutputElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlOutputElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlOutputElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlOutputElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOutputElement > for Element { # [ inline ] fn from ( obj : HtmlOutputElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlOutputElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOutputElement > for Node { # [ inline ] fn from ( obj : HtmlOutputElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlOutputElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOutputElement > for EventTarget { # [ inline ] fn from ( obj : HtmlOutputElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlOutputElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlOutputElement > for Object { # [ inline ] fn from ( obj : HtmlOutputElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlOutputElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_check_validity_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn check_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_check_validity_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_check_validity_HTMLOutputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn check_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_report_validity_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn report_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_report_validity_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_report_validity_HTMLOutputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn report_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_custom_validity_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_custom_validity_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let error = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error , & mut __stack ) ; __widl_f_set_custom_validity_HTMLOutputElement ( self_ , error ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_html_for_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < DomTokenList as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `htmlFor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/htmlFor)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `HtmlOutputElement`*" ] pub fn html_for ( & self , ) -> DomTokenList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_html_for_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_html_for_HTMLOutputElement ( self_ ) } ; < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `htmlFor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/htmlFor)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `HtmlOutputElement`*" ] pub fn html_for ( & self , ) -> DomTokenList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < Option < HtmlFormElement > as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlOutputElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_HTMLOutputElement ( self_ ) } ; < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlOutputElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/name)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLOutputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/name)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/name)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLOutputElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/name)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/type)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLOutputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/type)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_value_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/defaultValue)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn default_value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_value_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_value_HTMLOutputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/defaultValue)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn default_value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_default_value_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultValue` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/defaultValue)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn set_default_value ( & self , default_value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_default_value_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , default_value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let default_value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( default_value , & mut __stack ) ; __widl_f_set_default_value_HTMLOutputElement ( self_ , default_value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultValue` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/defaultValue)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn set_default_value ( & self , default_value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/value)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_HTMLOutputElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/value)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/value)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn set_value ( & self , value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_HTMLOutputElement ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/value)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn set_value ( & self , value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_will_validate_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn will_validate ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_will_validate_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_will_validate_HTMLOutputElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn will_validate ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validity_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < ValidityState as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validity_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validity_HTMLOutputElement ( self_ ) } ; < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validation_message_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validation_message_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validation_message_HTMLOutputElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_labels_HTMLOutputElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlOutputElement as WasmDescribe > :: describe ( ) ; < NodeList as WasmDescribe > :: describe ( ) ; } impl HtmlOutputElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`, `NodeList`*" ] pub fn labels ( & self , ) -> NodeList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_labels_HTMLOutputElement ( self_ : < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlOutputElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_labels_HTMLOutputElement ( self_ ) } ; < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlOutputElement`, `NodeList`*" ] pub fn labels ( & self , ) -> NodeList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLParagraphElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement)\n\n*This API requires the following crate features to be activated: `HtmlParagraphElement`*" ] # [ repr ( transparent ) ] pub struct HtmlParagraphElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlParagraphElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlParagraphElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlParagraphElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlParagraphElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlParagraphElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlParagraphElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlParagraphElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlParagraphElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlParagraphElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlParagraphElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlParagraphElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlParagraphElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlParagraphElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlParagraphElement { HtmlParagraphElement { obj } } } impl AsRef < JsValue > for HtmlParagraphElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlParagraphElement > for JsValue { # [ inline ] fn from ( obj : HtmlParagraphElement ) -> JsValue { obj . obj } } impl JsCast for HtmlParagraphElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLParagraphElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLParagraphElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlParagraphElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlParagraphElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlParagraphElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlParagraphElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlParagraphElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlParagraphElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlParagraphElement > for Element { # [ inline ] fn from ( obj : HtmlParagraphElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlParagraphElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlParagraphElement > for Node { # [ inline ] fn from ( obj : HtmlParagraphElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlParagraphElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlParagraphElement > for EventTarget { # [ inline ] fn from ( obj : HtmlParagraphElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlParagraphElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlParagraphElement > for Object { # [ inline ] fn from ( obj : HtmlParagraphElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlParagraphElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLParagraphElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlParagraphElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlParagraphElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement/align)\n\n*This API requires the following crate features to be activated: `HtmlParagraphElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLParagraphElement ( self_ : < & HtmlParagraphElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlParagraphElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLParagraphElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement/align)\n\n*This API requires the following crate features to be activated: `HtmlParagraphElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLParagraphElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlParagraphElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlParagraphElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement/align)\n\n*This API requires the following crate features to be activated: `HtmlParagraphElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLParagraphElement ( self_ : < & HtmlParagraphElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlParagraphElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLParagraphElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement/align)\n\n*This API requires the following crate features to be activated: `HtmlParagraphElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLParamElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] # [ repr ( transparent ) ] pub struct HtmlParamElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlParamElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlParamElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlParamElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlParamElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlParamElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlParamElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlParamElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlParamElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlParamElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlParamElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlParamElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlParamElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlParamElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlParamElement { HtmlParamElement { obj } } } impl AsRef < JsValue > for HtmlParamElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlParamElement > for JsValue { # [ inline ] fn from ( obj : HtmlParamElement ) -> JsValue { obj . obj } } impl JsCast for HtmlParamElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLParamElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLParamElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlParamElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlParamElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlParamElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlParamElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlParamElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlParamElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlParamElement > for Element { # [ inline ] fn from ( obj : HtmlParamElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlParamElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlParamElement > for Node { # [ inline ] fn from ( obj : HtmlParamElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlParamElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlParamElement > for EventTarget { # [ inline ] fn from ( obj : HtmlParamElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlParamElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlParamElement > for Object { # [ inline ] fn from ( obj : HtmlParamElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlParamElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLParamElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlParamElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlParamElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/name)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLParamElement ( self_ : < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLParamElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/name)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLParamElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlParamElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlParamElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/name)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLParamElement ( self_ : < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLParamElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/name)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_HTMLParamElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlParamElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlParamElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/value)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_HTMLParamElement ( self_ : < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_HTMLParamElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/value)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_HTMLParamElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlParamElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlParamElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/value)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn set_value ( & self , value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_HTMLParamElement ( self_ : < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_HTMLParamElement ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/value)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn set_value ( & self , value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLParamElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlParamElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlParamElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/type)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLParamElement ( self_ : < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLParamElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/type)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLParamElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlParamElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlParamElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/type)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLParamElement ( self_ : < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLParamElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/type)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_type_HTMLParamElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlParamElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlParamElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/valueType)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn value_type ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_type_HTMLParamElement ( self_ : < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_type_HTMLParamElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/valueType)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn value_type ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_type_HTMLParamElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlParamElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlParamElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueType` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/valueType)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn set_value_type ( & self , value_type : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_type_HTMLParamElement ( self_ : < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlParamElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value_type , & mut __stack ) ; __widl_f_set_value_type_HTMLParamElement ( self_ , value_type ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueType` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/valueType)\n\n*This API requires the following crate features to be activated: `HtmlParamElement`*" ] pub fn set_value_type ( & self , value_type : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLPictureElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLPictureElement)\n\n*This API requires the following crate features to be activated: `HtmlPictureElement`*" ] # [ repr ( transparent ) ] pub struct HtmlPictureElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlPictureElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlPictureElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlPictureElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlPictureElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlPictureElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlPictureElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlPictureElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlPictureElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlPictureElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlPictureElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlPictureElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlPictureElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlPictureElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlPictureElement { HtmlPictureElement { obj } } } impl AsRef < JsValue > for HtmlPictureElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlPictureElement > for JsValue { # [ inline ] fn from ( obj : HtmlPictureElement ) -> JsValue { obj . obj } } impl JsCast for HtmlPictureElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLPictureElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLPictureElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlPictureElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlPictureElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlPictureElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlPictureElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlPictureElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlPictureElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlPictureElement > for Element { # [ inline ] fn from ( obj : HtmlPictureElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlPictureElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlPictureElement > for Node { # [ inline ] fn from ( obj : HtmlPictureElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlPictureElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlPictureElement > for EventTarget { # [ inline ] fn from ( obj : HtmlPictureElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlPictureElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlPictureElement > for Object { # [ inline ] fn from ( obj : HtmlPictureElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlPictureElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLPreElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement)\n\n*This API requires the following crate features to be activated: `HtmlPreElement`*" ] # [ repr ( transparent ) ] pub struct HtmlPreElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlPreElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlPreElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlPreElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlPreElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlPreElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlPreElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlPreElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlPreElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlPreElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlPreElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlPreElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlPreElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlPreElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlPreElement { HtmlPreElement { obj } } } impl AsRef < JsValue > for HtmlPreElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlPreElement > for JsValue { # [ inline ] fn from ( obj : HtmlPreElement ) -> JsValue { obj . obj } } impl JsCast for HtmlPreElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLPreElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLPreElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlPreElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlPreElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlPreElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlPreElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlPreElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlPreElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlPreElement > for Element { # [ inline ] fn from ( obj : HtmlPreElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlPreElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlPreElement > for Node { # [ inline ] fn from ( obj : HtmlPreElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlPreElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlPreElement > for EventTarget { # [ inline ] fn from ( obj : HtmlPreElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlPreElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlPreElement > for Object { # [ inline ] fn from ( obj : HtmlPreElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlPreElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_HTMLPreElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlPreElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlPreElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement/width)\n\n*This API requires the following crate features to be activated: `HtmlPreElement`*" ] pub fn width ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_HTMLPreElement ( self_ : < & HtmlPreElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlPreElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_HTMLPreElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement/width)\n\n*This API requires the following crate features to be activated: `HtmlPreElement`*" ] pub fn width ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_HTMLPreElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlPreElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlPreElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement/width)\n\n*This API requires the following crate features to be activated: `HtmlPreElement`*" ] pub fn set_width ( & self , width : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_HTMLPreElement ( self_ : < & HtmlPreElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlPreElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_HTMLPreElement ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement/width)\n\n*This API requires the following crate features to be activated: `HtmlPreElement`*" ] pub fn set_width ( & self , width : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLProgressElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement)\n\n*This API requires the following crate features to be activated: `HtmlProgressElement`*" ] # [ repr ( transparent ) ] pub struct HtmlProgressElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlProgressElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlProgressElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlProgressElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlProgressElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlProgressElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlProgressElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlProgressElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlProgressElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlProgressElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlProgressElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlProgressElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlProgressElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlProgressElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlProgressElement { HtmlProgressElement { obj } } } impl AsRef < JsValue > for HtmlProgressElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlProgressElement > for JsValue { # [ inline ] fn from ( obj : HtmlProgressElement ) -> JsValue { obj . obj } } impl JsCast for HtmlProgressElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLProgressElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLProgressElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlProgressElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlProgressElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlProgressElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlProgressElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlProgressElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlProgressElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlProgressElement > for Element { # [ inline ] fn from ( obj : HtmlProgressElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlProgressElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlProgressElement > for Node { # [ inline ] fn from ( obj : HtmlProgressElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlProgressElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlProgressElement > for EventTarget { # [ inline ] fn from ( obj : HtmlProgressElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlProgressElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlProgressElement > for Object { # [ inline ] fn from ( obj : HtmlProgressElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlProgressElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_HTMLProgressElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlProgressElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlProgressElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/value)\n\n*This API requires the following crate features to be activated: `HtmlProgressElement`*" ] pub fn value ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_HTMLProgressElement ( self_ : < & HtmlProgressElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlProgressElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_HTMLProgressElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/value)\n\n*This API requires the following crate features to be activated: `HtmlProgressElement`*" ] pub fn value ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_HTMLProgressElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlProgressElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlProgressElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/value)\n\n*This API requires the following crate features to be activated: `HtmlProgressElement`*" ] pub fn set_value ( & self , value : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_HTMLProgressElement ( self_ : < & HtmlProgressElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlProgressElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_HTMLProgressElement ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/value)\n\n*This API requires the following crate features to be activated: `HtmlProgressElement`*" ] pub fn set_value ( & self , value : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_HTMLProgressElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlProgressElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlProgressElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `max` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/max)\n\n*This API requires the following crate features to be activated: `HtmlProgressElement`*" ] pub fn max ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_HTMLProgressElement ( self_ : < & HtmlProgressElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlProgressElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_HTMLProgressElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `max` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/max)\n\n*This API requires the following crate features to be activated: `HtmlProgressElement`*" ] pub fn max ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_max_HTMLProgressElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlProgressElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlProgressElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `max` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/max)\n\n*This API requires the following crate features to be activated: `HtmlProgressElement`*" ] pub fn set_max ( & self , max : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_max_HTMLProgressElement ( self_ : < & HtmlProgressElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlProgressElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let max = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max , & mut __stack ) ; __widl_f_set_max_HTMLProgressElement ( self_ , max ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `max` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/max)\n\n*This API requires the following crate features to be activated: `HtmlProgressElement`*" ] pub fn set_max ( & self , max : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_position_HTMLProgressElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlProgressElement as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl HtmlProgressElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `position` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/position)\n\n*This API requires the following crate features to be activated: `HtmlProgressElement`*" ] pub fn position ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_position_HTMLProgressElement ( self_ : < & HtmlProgressElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlProgressElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_position_HTMLProgressElement ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `position` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/position)\n\n*This API requires the following crate features to be activated: `HtmlProgressElement`*" ] pub fn position ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_labels_HTMLProgressElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlProgressElement as WasmDescribe > :: describe ( ) ; < NodeList as WasmDescribe > :: describe ( ) ; } impl HtmlProgressElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlProgressElement`, `NodeList`*" ] pub fn labels ( & self , ) -> NodeList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_labels_HTMLProgressElement ( self_ : < & HtmlProgressElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlProgressElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_labels_HTMLProgressElement ( self_ ) } ; < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlProgressElement`, `NodeList`*" ] pub fn labels ( & self , ) -> NodeList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLQuoteElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement)\n\n*This API requires the following crate features to be activated: `HtmlQuoteElement`*" ] # [ repr ( transparent ) ] pub struct HtmlQuoteElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlQuoteElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlQuoteElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlQuoteElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlQuoteElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlQuoteElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlQuoteElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlQuoteElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlQuoteElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlQuoteElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlQuoteElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlQuoteElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlQuoteElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlQuoteElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlQuoteElement { HtmlQuoteElement { obj } } } impl AsRef < JsValue > for HtmlQuoteElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlQuoteElement > for JsValue { # [ inline ] fn from ( obj : HtmlQuoteElement ) -> JsValue { obj . obj } } impl JsCast for HtmlQuoteElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLQuoteElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLQuoteElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlQuoteElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlQuoteElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlQuoteElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlQuoteElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlQuoteElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlQuoteElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlQuoteElement > for Element { # [ inline ] fn from ( obj : HtmlQuoteElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlQuoteElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlQuoteElement > for Node { # [ inline ] fn from ( obj : HtmlQuoteElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlQuoteElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlQuoteElement > for EventTarget { # [ inline ] fn from ( obj : HtmlQuoteElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlQuoteElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlQuoteElement > for Object { # [ inline ] fn from ( obj : HtmlQuoteElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlQuoteElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cite_HTMLQuoteElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlQuoteElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlQuoteElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cite` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement/cite)\n\n*This API requires the following crate features to be activated: `HtmlQuoteElement`*" ] pub fn cite ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cite_HTMLQuoteElement ( self_ : < & HtmlQuoteElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlQuoteElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cite_HTMLQuoteElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cite` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement/cite)\n\n*This API requires the following crate features to be activated: `HtmlQuoteElement`*" ] pub fn cite ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cite_HTMLQuoteElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlQuoteElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlQuoteElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cite` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement/cite)\n\n*This API requires the following crate features to be activated: `HtmlQuoteElement`*" ] pub fn set_cite ( & self , cite : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cite_HTMLQuoteElement ( self_ : < & HtmlQuoteElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cite : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlQuoteElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cite = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cite , & mut __stack ) ; __widl_f_set_cite_HTMLQuoteElement ( self_ , cite ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cite` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement/cite)\n\n*This API requires the following crate features to be activated: `HtmlQuoteElement`*" ] pub fn set_cite ( & self , cite : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLScriptElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] # [ repr ( transparent ) ] pub struct HtmlScriptElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlScriptElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlScriptElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlScriptElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlScriptElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlScriptElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlScriptElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlScriptElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlScriptElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlScriptElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlScriptElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlScriptElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlScriptElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlScriptElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlScriptElement { HtmlScriptElement { obj } } } impl AsRef < JsValue > for HtmlScriptElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlScriptElement > for JsValue { # [ inline ] fn from ( obj : HtmlScriptElement ) -> JsValue { obj . obj } } impl JsCast for HtmlScriptElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLScriptElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLScriptElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlScriptElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlScriptElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlScriptElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlScriptElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlScriptElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlScriptElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlScriptElement > for Element { # [ inline ] fn from ( obj : HtmlScriptElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlScriptElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlScriptElement > for Node { # [ inline ] fn from ( obj : HtmlScriptElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlScriptElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlScriptElement > for EventTarget { # [ inline ] fn from ( obj : HtmlScriptElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlScriptElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlScriptElement > for Object { # [ inline ] fn from ( obj : HtmlScriptElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlScriptElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_src_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/src)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn src ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_src_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_src_HTMLScriptElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/src)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn src ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_src_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/src)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_src ( & self , src : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_src_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; __widl_f_set_src_HTMLScriptElement ( self_ , src ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/src)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_src ( & self , src : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/type)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLScriptElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/type)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/type)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLScriptElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/type)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_no_module_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noModule` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/noModule)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn no_module ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_no_module_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_no_module_HTMLScriptElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noModule` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/noModule)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn no_module ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_no_module_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noModule` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/noModule)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_no_module ( & self , no_module : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_no_module_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , no_module : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let no_module = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( no_module , & mut __stack ) ; __widl_f_set_no_module_HTMLScriptElement ( self_ , no_module ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noModule` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/noModule)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_no_module ( & self , no_module : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_charset_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `charset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/charset)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn charset ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_charset_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_charset_HTMLScriptElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `charset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/charset)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn charset ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_charset_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `charset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/charset)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_charset ( & self , charset : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_charset_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , charset : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let charset = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( charset , & mut __stack ) ; __widl_f_set_charset_HTMLScriptElement ( self_ , charset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `charset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/charset)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_charset ( & self , charset : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_async_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `async` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/async)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn async ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_async_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_async_HTMLScriptElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `async` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/async)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn async ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_async_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `async` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/async)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_async ( & self , async : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_async_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , async : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let async = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( async , & mut __stack ) ; __widl_f_set_async_HTMLScriptElement ( self_ , async ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `async` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/async)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_async ( & self , async : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_defer_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/defer)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn defer ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_defer_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_defer_HTMLScriptElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/defer)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn defer ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_defer_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defer` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/defer)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_defer ( & self , defer : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_defer_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , defer : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let defer = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( defer , & mut __stack ) ; __widl_f_set_defer_HTMLScriptElement ( self_ , defer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defer` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/defer)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_defer ( & self , defer : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cross_origin_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `crossOrigin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn cross_origin ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cross_origin_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cross_origin_HTMLScriptElement ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `crossOrigin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn cross_origin ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cross_origin_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `crossOrigin` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_cross_origin ( & self , cross_origin : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cross_origin_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cross_origin : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cross_origin = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cross_origin , & mut __stack ) ; __widl_f_set_cross_origin_HTMLScriptElement ( self_ , cross_origin ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `crossOrigin` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_cross_origin ( & self , cross_origin : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/text)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn text ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_HTMLScriptElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/text)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn text ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_text_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/text)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_text ( & self , text : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_text_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_set_text_HTMLScriptElement ( self_ , text , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/text)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_text ( & self , text : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_event_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `event` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/event)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn event ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_event_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_event_HTMLScriptElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `event` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/event)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn event ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_event_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `event` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/event)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_event ( & self , event : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_event_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let event = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event , & mut __stack ) ; __widl_f_set_event_HTMLScriptElement ( self_ , event ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `event` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/event)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_event ( & self , event : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_html_for_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `htmlFor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/htmlFor)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn html_for ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_html_for_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_html_for_HTMLScriptElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `htmlFor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/htmlFor)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn html_for ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_html_for_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `htmlFor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/htmlFor)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_html_for ( & self , html_for : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_html_for_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , html_for : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let html_for = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( html_for , & mut __stack ) ; __widl_f_set_html_for_HTMLScriptElement ( self_ , html_for ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `htmlFor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/htmlFor)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_html_for ( & self , html_for : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_integrity_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `integrity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/integrity)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn integrity ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_integrity_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_integrity_HTMLScriptElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `integrity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/integrity)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn integrity ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_integrity_HTMLScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlScriptElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `integrity` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/integrity)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_integrity ( & self , integrity : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_integrity_HTMLScriptElement ( self_ : < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , integrity : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let integrity = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( integrity , & mut __stack ) ; __widl_f_set_integrity_HTMLScriptElement ( self_ , integrity ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `integrity` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/integrity)\n\n*This API requires the following crate features to be activated: `HtmlScriptElement`*" ] pub fn set_integrity ( & self , integrity : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLSelectElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] # [ repr ( transparent ) ] pub struct HtmlSelectElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlSelectElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlSelectElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlSelectElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlSelectElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlSelectElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlSelectElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlSelectElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlSelectElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlSelectElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlSelectElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlSelectElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlSelectElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlSelectElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlSelectElement { HtmlSelectElement { obj } } } impl AsRef < JsValue > for HtmlSelectElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlSelectElement > for JsValue { # [ inline ] fn from ( obj : HtmlSelectElement ) -> JsValue { obj . obj } } impl JsCast for HtmlSelectElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLSelectElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLSelectElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlSelectElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlSelectElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlSelectElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlSelectElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlSelectElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlSelectElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSelectElement > for Element { # [ inline ] fn from ( obj : HtmlSelectElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlSelectElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSelectElement > for Node { # [ inline ] fn from ( obj : HtmlSelectElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlSelectElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSelectElement > for EventTarget { # [ inline ] fn from ( obj : HtmlSelectElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlSelectElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSelectElement > for Object { # [ inline ] fn from ( obj : HtmlSelectElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlSelectElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_html_option_element_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlSelectElement`*" ] pub fn add_with_html_option_element ( & self , element : & HtmlOptionElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_html_option_element_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; __widl_f_add_with_html_option_element_HTMLSelectElement ( self_ , element , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlSelectElement`*" ] pub fn add_with_html_option_element ( & self , element : & HtmlOptionElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_html_opt_group_element_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < & HtmlOptGroupElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`, `HtmlSelectElement`*" ] pub fn add_with_html_opt_group_element ( & self , element : & HtmlOptGroupElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_html_opt_group_element_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; __widl_f_add_with_html_opt_group_element_HTMLSelectElement ( self_ , element , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`, `HtmlSelectElement`*" ] pub fn add_with_html_opt_group_element ( & self , element : & HtmlOptGroupElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_html_option_element_and_opt_html_element_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < Option < & HtmlElement > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlOptionElement`, `HtmlSelectElement`*" ] pub fn add_with_html_option_element_and_opt_html_element ( & self , element : & HtmlOptionElement , before : Option < & HtmlElement > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_html_option_element_and_opt_html_element_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , before : < Option < & HtmlElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; let before = < Option < & HtmlElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( before , & mut __stack ) ; __widl_f_add_with_html_option_element_and_opt_html_element_HTMLSelectElement ( self_ , element , before , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlOptionElement`, `HtmlSelectElement`*" ] pub fn add_with_html_option_element_and_opt_html_element ( & self , element : & HtmlOptionElement , before : Option < & HtmlElement > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_html_opt_group_element_and_opt_html_element_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < & HtmlOptGroupElement as WasmDescribe > :: describe ( ) ; < Option < & HtmlElement > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlOptGroupElement`, `HtmlSelectElement`*" ] pub fn add_with_html_opt_group_element_and_opt_html_element ( & self , element : & HtmlOptGroupElement , before : Option < & HtmlElement > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_html_opt_group_element_and_opt_html_element_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , before : < Option < & HtmlElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; let before = < Option < & HtmlElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( before , & mut __stack ) ; __widl_f_add_with_html_opt_group_element_and_opt_html_element_HTMLSelectElement ( self_ , element , before , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlOptGroupElement`, `HtmlSelectElement`*" ] pub fn add_with_html_opt_group_element_and_opt_html_element ( & self , element : & HtmlOptGroupElement , before : Option < & HtmlElement > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_html_option_element_and_opt_i32_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < & HtmlOptionElement as WasmDescribe > :: describe ( ) ; < Option < i32 > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlSelectElement`*" ] pub fn add_with_html_option_element_and_opt_i32 ( & self , element : & HtmlOptionElement , before : Option < i32 > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_html_option_element_and_opt_i32_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , before : < Option < i32 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & HtmlOptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; let before = < Option < i32 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( before , & mut __stack ) ; __widl_f_add_with_html_option_element_and_opt_i32_HTMLSelectElement ( self_ , element , before , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlSelectElement`*" ] pub fn add_with_html_option_element_and_opt_i32 ( & self , element : & HtmlOptionElement , before : Option < i32 > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_html_opt_group_element_and_opt_i32_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < & HtmlOptGroupElement as WasmDescribe > :: describe ( ) ; < Option < i32 > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`, `HtmlSelectElement`*" ] pub fn add_with_html_opt_group_element_and_opt_i32 ( & self , element : & HtmlOptGroupElement , before : Option < i32 > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_html_opt_group_element_and_opt_i32_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , before : < Option < i32 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & HtmlOptGroupElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; let before = < Option < i32 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( before , & mut __stack ) ; __widl_f_add_with_html_opt_group_element_and_opt_i32_HTMLSelectElement ( self_ , element , before , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)\n\n*This API requires the following crate features to be activated: `HtmlOptGroupElement`, `HtmlSelectElement`*" ] pub fn add_with_html_opt_group_element_and_opt_i32 ( & self , element : & HtmlOptGroupElement , before : Option < i32 > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_check_validity_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn check_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_check_validity_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_check_validity_HTMLSelectElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn check_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/item)\n\n*This API requires the following crate features to be activated: `Element`, `HtmlSelectElement`*" ] pub fn item ( & self , index : u32 ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_HTMLSelectElement ( self_ , index ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/item)\n\n*This API requires the following crate features to be activated: `Element`, `HtmlSelectElement`*" ] pub fn item ( & self , index : u32 ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_named_item_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < HtmlOptionElement > as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/namedItem)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlSelectElement`*" ] pub fn named_item ( & self , name : & str ) -> Option < HtmlOptionElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_named_item_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlOptionElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_named_item_HTMLSelectElement ( self_ , name ) } ; < Option < HtmlOptionElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/namedItem)\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlSelectElement`*" ] pub fn named_item ( & self , name : & str ) -> Option < HtmlOptionElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_with_index_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/remove)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn remove_with_index ( & self , index : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_with_index_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_remove_with_index_HTMLSelectElement ( self_ , index ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/remove)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn remove_with_index ( & self , index : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/remove)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn remove ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_remove_HTMLSelectElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/remove)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn remove ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_report_validity_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn report_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_report_validity_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_report_validity_HTMLSelectElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn report_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_custom_validity_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_custom_validity_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let error = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error , & mut __stack ) ; __widl_f_set_custom_validity_HTMLSelectElement ( self_ , error ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Element`, `HtmlSelectElement`*" ] pub fn get ( & self , index : u32 ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_HTMLSelectElement ( self_ , index ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Element`, `HtmlSelectElement`*" ] pub fn get ( & self , index : u32 ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & HtmlOptionElement > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing setter\n\n\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlSelectElement`*" ] pub fn set ( & self , index : u32 , option : Option < & HtmlOptionElement > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , option : < Option < & HtmlOptionElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let option = < Option < & HtmlOptionElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( option , & mut __stack ) ; __widl_f_set_HTMLSelectElement ( self_ , index , option , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing setter\n\n\n\n*This API requires the following crate features to be activated: `HtmlOptionElement`, `HtmlSelectElement`*" ] pub fn set ( & self , index : u32 , option : Option < & HtmlOptionElement > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_autofocus_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autofocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn autofocus ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_autofocus_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_autofocus_HTMLSelectElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autofocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn autofocus ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_autofocus_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autofocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_autofocus ( & self , autofocus : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_autofocus_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , autofocus : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let autofocus = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( autofocus , & mut __stack ) ; __widl_f_set_autofocus_HTMLSelectElement ( self_ , autofocus ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autofocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_autofocus ( & self , autofocus : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_autocomplete_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autocomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn autocomplete ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_autocomplete_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_autocomplete_HTMLSelectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autocomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn autocomplete ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_autocomplete_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autocomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_autocomplete ( & self , autocomplete : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_autocomplete_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , autocomplete : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let autocomplete = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( autocomplete , & mut __stack ) ; __widl_f_set_autocomplete_HTMLSelectElement ( self_ , autocomplete ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autocomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_autocomplete ( & self , autocomplete : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disabled_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn disabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disabled_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disabled_HTMLSelectElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn disabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_disabled_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_disabled_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , disabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let disabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( disabled , & mut __stack ) ; __widl_f_set_disabled_HTMLSelectElement ( self_ , disabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < Option < HtmlFormElement > as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlSelectElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_HTMLSelectElement ( self_ ) } ; < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlSelectElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_multiple_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `multiple` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/multiple)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn multiple ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_multiple_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_multiple_HTMLSelectElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `multiple` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/multiple)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn multiple ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_multiple_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `multiple` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/multiple)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_multiple ( & self , multiple : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_multiple_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , multiple : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let multiple = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( multiple , & mut __stack ) ; __widl_f_set_multiple_HTMLSelectElement ( self_ , multiple ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `multiple` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/multiple)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_multiple ( & self , multiple : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/name)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLSelectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/name)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/name)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLSelectElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/name)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_required_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `required` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/required)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn required ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_required_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_required_HTMLSelectElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `required` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/required)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn required ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_required_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `required` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/required)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_required ( & self , required : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_required_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , required : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let required = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( required , & mut __stack ) ; __widl_f_set_required_HTMLSelectElement ( self_ , required ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `required` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/required)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_required ( & self , required : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_size_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/size)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn size ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_size_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_size_HTMLSelectElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/size)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn size ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_size_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/size)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_size ( & self , size : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_size_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_set_size_HTMLSelectElement ( self_ , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/size)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_size ( & self , size : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/type)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLSelectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/type)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_options_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < HtmlOptionsCollection as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `options` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/options)\n\n*This API requires the following crate features to be activated: `HtmlOptionsCollection`, `HtmlSelectElement`*" ] pub fn options ( & self , ) -> HtmlOptionsCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_options_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlOptionsCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_options_HTMLSelectElement ( self_ ) } ; < HtmlOptionsCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `options` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/options)\n\n*This API requires the following crate features to be activated: `HtmlOptionsCollection`, `HtmlSelectElement`*" ] pub fn options ( & self , ) -> HtmlOptionsCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/length)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_HTMLSelectElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/length)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_length_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/length)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_length ( & self , length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_length_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_set_length_HTMLSelectElement ( self_ , length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/length)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_length ( & self , length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_selected_options_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectedOptions` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedOptions)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlSelectElement`*" ] pub fn selected_options ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_selected_options_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_selected_options_HTMLSelectElement ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectedOptions` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedOptions)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlSelectElement`*" ] pub fn selected_options ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_selected_index_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectedIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedIndex)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn selected_index ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_selected_index_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_selected_index_HTMLSelectElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectedIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedIndex)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn selected_index ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_selected_index_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectedIndex` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedIndex)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_selected_index ( & self , selected_index : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_selected_index_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selected_index : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selected_index = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selected_index , & mut __stack ) ; __widl_f_set_selected_index_HTMLSelectElement ( self_ , selected_index ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectedIndex` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedIndex)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_selected_index ( & self , selected_index : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/value)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_HTMLSelectElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/value)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/value)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_value ( & self , value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_HTMLSelectElement ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/value)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn set_value ( & self , value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_will_validate_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn will_validate ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_will_validate_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_will_validate_HTMLSelectElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn will_validate ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validity_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < ValidityState as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validity_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validity_HTMLSelectElement ( self_ ) } ; < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validation_message_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validation_message_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validation_message_HTMLSelectElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_labels_HTMLSelectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSelectElement as WasmDescribe > :: describe ( ) ; < NodeList as WasmDescribe > :: describe ( ) ; } impl HtmlSelectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`, `NodeList`*" ] pub fn labels ( & self , ) -> NodeList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_labels_HTMLSelectElement ( self_ : < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSelectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_labels_HTMLSelectElement ( self_ ) } ; < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlSelectElement`, `NodeList`*" ] pub fn labels ( & self , ) -> NodeList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLSlotElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement)\n\n*This API requires the following crate features to be activated: `HtmlSlotElement`*" ] # [ repr ( transparent ) ] pub struct HtmlSlotElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlSlotElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlSlotElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlSlotElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlSlotElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlSlotElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlSlotElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlSlotElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlSlotElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlSlotElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlSlotElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlSlotElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlSlotElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlSlotElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlSlotElement { HtmlSlotElement { obj } } } impl AsRef < JsValue > for HtmlSlotElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlSlotElement > for JsValue { # [ inline ] fn from ( obj : HtmlSlotElement ) -> JsValue { obj . obj } } impl JsCast for HtmlSlotElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLSlotElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLSlotElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlSlotElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlSlotElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlSlotElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlSlotElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlSlotElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlSlotElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSlotElement > for Element { # [ inline ] fn from ( obj : HtmlSlotElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlSlotElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSlotElement > for Node { # [ inline ] fn from ( obj : HtmlSlotElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlSlotElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSlotElement > for EventTarget { # [ inline ] fn from ( obj : HtmlSlotElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlSlotElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSlotElement > for Object { # [ inline ] fn from ( obj : HtmlSlotElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlSlotElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLSlotElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSlotElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlSlotElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/name)\n\n*This API requires the following crate features to be activated: `HtmlSlotElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLSlotElement ( self_ : < & HtmlSlotElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSlotElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLSlotElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/name)\n\n*This API requires the following crate features to be activated: `HtmlSlotElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLSlotElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSlotElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSlotElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/name)\n\n*This API requires the following crate features to be activated: `HtmlSlotElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLSlotElement ( self_ : < & HtmlSlotElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSlotElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLSlotElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/name)\n\n*This API requires the following crate features to be activated: `HtmlSlotElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLSourceElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] # [ repr ( transparent ) ] pub struct HtmlSourceElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlSourceElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlSourceElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlSourceElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlSourceElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlSourceElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlSourceElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlSourceElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlSourceElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlSourceElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlSourceElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlSourceElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlSourceElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlSourceElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlSourceElement { HtmlSourceElement { obj } } } impl AsRef < JsValue > for HtmlSourceElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlSourceElement > for JsValue { # [ inline ] fn from ( obj : HtmlSourceElement ) -> JsValue { obj . obj } } impl JsCast for HtmlSourceElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLSourceElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLSourceElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlSourceElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlSourceElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlSourceElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlSourceElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlSourceElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlSourceElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSourceElement > for Element { # [ inline ] fn from ( obj : HtmlSourceElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlSourceElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSourceElement > for Node { # [ inline ] fn from ( obj : HtmlSourceElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlSourceElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSourceElement > for EventTarget { # [ inline ] fn from ( obj : HtmlSourceElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlSourceElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSourceElement > for Object { # [ inline ] fn from ( obj : HtmlSourceElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlSourceElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_src_HTMLSourceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSourceElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlSourceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/src)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn src ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_src_HTMLSourceElement ( self_ : < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_src_HTMLSourceElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/src)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn src ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_src_HTMLSourceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSourceElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSourceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/src)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn set_src ( & self , src : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_src_HTMLSourceElement ( self_ : < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; __widl_f_set_src_HTMLSourceElement ( self_ , src ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/src)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn set_src ( & self , src : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLSourceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSourceElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlSourceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/type)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLSourceElement ( self_ : < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLSourceElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/type)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLSourceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSourceElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSourceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/type)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLSourceElement ( self_ : < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLSourceElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/type)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_srcset_HTMLSourceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSourceElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlSourceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `srcset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/srcset)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn srcset ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_srcset_HTMLSourceElement ( self_ : < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_srcset_HTMLSourceElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `srcset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/srcset)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn srcset ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_srcset_HTMLSourceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSourceElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSourceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `srcset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/srcset)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn set_srcset ( & self , srcset : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_srcset_HTMLSourceElement ( self_ : < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , srcset : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let srcset = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( srcset , & mut __stack ) ; __widl_f_set_srcset_HTMLSourceElement ( self_ , srcset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `srcset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/srcset)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn set_srcset ( & self , srcset : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sizes_HTMLSourceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSourceElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlSourceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sizes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/sizes)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn sizes ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sizes_HTMLSourceElement ( self_ : < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sizes_HTMLSourceElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sizes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/sizes)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn sizes ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_sizes_HTMLSourceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSourceElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSourceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sizes` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/sizes)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn set_sizes ( & self , sizes : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_sizes_HTMLSourceElement ( self_ : < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sizes : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sizes = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sizes , & mut __stack ) ; __widl_f_set_sizes_HTMLSourceElement ( self_ , sizes ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sizes` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/sizes)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn set_sizes ( & self , sizes : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_HTMLSourceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlSourceElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlSourceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/media)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn media ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_HTMLSourceElement ( self_ : < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_HTMLSourceElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/media)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn media ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_media_HTMLSourceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlSourceElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlSourceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `media` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/media)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn set_media ( & self , media : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_media_HTMLSourceElement ( self_ : < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , media : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlSourceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let media = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( media , & mut __stack ) ; __widl_f_set_media_HTMLSourceElement ( self_ , media ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `media` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement/media)\n\n*This API requires the following crate features to be activated: `HtmlSourceElement`*" ] pub fn set_media ( & self , media : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLSpanElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSpanElement)\n\n*This API requires the following crate features to be activated: `HtmlSpanElement`*" ] # [ repr ( transparent ) ] pub struct HtmlSpanElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlSpanElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlSpanElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlSpanElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlSpanElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlSpanElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlSpanElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlSpanElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlSpanElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlSpanElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlSpanElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlSpanElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlSpanElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlSpanElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlSpanElement { HtmlSpanElement { obj } } } impl AsRef < JsValue > for HtmlSpanElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlSpanElement > for JsValue { # [ inline ] fn from ( obj : HtmlSpanElement ) -> JsValue { obj . obj } } impl JsCast for HtmlSpanElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLSpanElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLSpanElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlSpanElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlSpanElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlSpanElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlSpanElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlSpanElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlSpanElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSpanElement > for Element { # [ inline ] fn from ( obj : HtmlSpanElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlSpanElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSpanElement > for Node { # [ inline ] fn from ( obj : HtmlSpanElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlSpanElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSpanElement > for EventTarget { # [ inline ] fn from ( obj : HtmlSpanElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlSpanElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlSpanElement > for Object { # [ inline ] fn from ( obj : HtmlSpanElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlSpanElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLStyleElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`*" ] # [ repr ( transparent ) ] pub struct HtmlStyleElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlStyleElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlStyleElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlStyleElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlStyleElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlStyleElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlStyleElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlStyleElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlStyleElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlStyleElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlStyleElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlStyleElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlStyleElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlStyleElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlStyleElement { HtmlStyleElement { obj } } } impl AsRef < JsValue > for HtmlStyleElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlStyleElement > for JsValue { # [ inline ] fn from ( obj : HtmlStyleElement ) -> JsValue { obj . obj } } impl JsCast for HtmlStyleElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLStyleElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLStyleElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlStyleElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlStyleElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlStyleElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlStyleElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlStyleElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlStyleElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlStyleElement > for Element { # [ inline ] fn from ( obj : HtmlStyleElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlStyleElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlStyleElement > for Node { # [ inline ] fn from ( obj : HtmlStyleElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlStyleElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlStyleElement > for EventTarget { # [ inline ] fn from ( obj : HtmlStyleElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlStyleElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlStyleElement > for Object { # [ inline ] fn from ( obj : HtmlStyleElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlStyleElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disabled_HTMLStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlStyleElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`*" ] pub fn disabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disabled_HTMLStyleElement ( self_ : < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disabled_HTMLStyleElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`*" ] pub fn disabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_disabled_HTMLStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlStyleElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_disabled_HTMLStyleElement ( self_ : < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , disabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let disabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( disabled , & mut __stack ) ; __widl_f_set_disabled_HTMLStyleElement ( self_ , disabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_HTMLStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlStyleElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/media)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`*" ] pub fn media ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_HTMLStyleElement ( self_ : < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_HTMLStyleElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/media)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`*" ] pub fn media ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_media_HTMLStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlStyleElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `media` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/media)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`*" ] pub fn set_media ( & self , media : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_media_HTMLStyleElement ( self_ : < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , media : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let media = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( media , & mut __stack ) ; __widl_f_set_media_HTMLStyleElement ( self_ , media ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `media` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/media)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`*" ] pub fn set_media ( & self , media : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlStyleElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/type)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLStyleElement ( self_ : < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLStyleElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/type)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlStyleElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/type)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLStyleElement ( self_ : < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLStyleElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/type)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sheet_HTMLStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlStyleElement as WasmDescribe > :: describe ( ) ; < Option < StyleSheet > as WasmDescribe > :: describe ( ) ; } impl HtmlStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/sheet)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`, `StyleSheet`*" ] pub fn sheet ( & self , ) -> Option < StyleSheet > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sheet_HTMLStyleElement ( self_ : < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sheet_HTMLStyleElement ( self_ ) } ; < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/sheet)\n\n*This API requires the following crate features to be activated: `HtmlStyleElement`, `StyleSheet`*" ] pub fn sheet ( & self , ) -> Option < StyleSheet > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLTableCaptionElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement)\n\n*This API requires the following crate features to be activated: `HtmlTableCaptionElement`*" ] # [ repr ( transparent ) ] pub struct HtmlTableCaptionElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlTableCaptionElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlTableCaptionElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlTableCaptionElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlTableCaptionElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlTableCaptionElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlTableCaptionElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlTableCaptionElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlTableCaptionElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlTableCaptionElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlTableCaptionElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlTableCaptionElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlTableCaptionElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlTableCaptionElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlTableCaptionElement { HtmlTableCaptionElement { obj } } } impl AsRef < JsValue > for HtmlTableCaptionElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlTableCaptionElement > for JsValue { # [ inline ] fn from ( obj : HtmlTableCaptionElement ) -> JsValue { obj . obj } } impl JsCast for HtmlTableCaptionElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLTableCaptionElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLTableCaptionElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlTableCaptionElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlTableCaptionElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlTableCaptionElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlTableCaptionElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlTableCaptionElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlTableCaptionElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableCaptionElement > for Element { # [ inline ] fn from ( obj : HtmlTableCaptionElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlTableCaptionElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableCaptionElement > for Node { # [ inline ] fn from ( obj : HtmlTableCaptionElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlTableCaptionElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableCaptionElement > for EventTarget { # [ inline ] fn from ( obj : HtmlTableCaptionElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlTableCaptionElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableCaptionElement > for Object { # [ inline ] fn from ( obj : HtmlTableCaptionElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlTableCaptionElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLTableCaptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCaptionElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableCaptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableCaptionElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLTableCaptionElement ( self_ : < & HtmlTableCaptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCaptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLTableCaptionElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableCaptionElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLTableCaptionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableCaptionElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableCaptionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableCaptionElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLTableCaptionElement ( self_ : < & HtmlTableCaptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCaptionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLTableCaptionElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableCaptionElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLTableCellElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] # [ repr ( transparent ) ] pub struct HtmlTableCellElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlTableCellElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlTableCellElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlTableCellElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlTableCellElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlTableCellElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlTableCellElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlTableCellElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlTableCellElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlTableCellElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlTableCellElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlTableCellElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlTableCellElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlTableCellElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlTableCellElement { HtmlTableCellElement { obj } } } impl AsRef < JsValue > for HtmlTableCellElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlTableCellElement > for JsValue { # [ inline ] fn from ( obj : HtmlTableCellElement ) -> JsValue { obj . obj } } impl JsCast for HtmlTableCellElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLTableCellElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLTableCellElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlTableCellElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlTableCellElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlTableCellElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlTableCellElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlTableCellElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlTableCellElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableCellElement > for Element { # [ inline ] fn from ( obj : HtmlTableCellElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlTableCellElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableCellElement > for Node { # [ inline ] fn from ( obj : HtmlTableCellElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlTableCellElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableCellElement > for EventTarget { # [ inline ] fn from ( obj : HtmlTableCellElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlTableCellElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableCellElement > for Object { # [ inline ] fn from ( obj : HtmlTableCellElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlTableCellElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_col_span_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `colSpan` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/colSpan)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn col_span ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_col_span_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_col_span_HTMLTableCellElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `colSpan` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/colSpan)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn col_span ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_col_span_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `colSpan` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/colSpan)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_col_span ( & self , col_span : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_col_span_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , col_span : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let col_span = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( col_span , & mut __stack ) ; __widl_f_set_col_span_HTMLTableCellElement ( self_ , col_span ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `colSpan` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/colSpan)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_col_span ( & self , col_span : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_row_span_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rowSpan` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/rowSpan)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn row_span ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_row_span_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_row_span_HTMLTableCellElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rowSpan` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/rowSpan)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn row_span ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_row_span_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rowSpan` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/rowSpan)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_row_span ( & self , row_span : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_row_span_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , row_span : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let row_span = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( row_span , & mut __stack ) ; __widl_f_set_row_span_HTMLTableCellElement ( self_ , row_span ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rowSpan` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/rowSpan)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_row_span ( & self , row_span : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_headers_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `headers` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/headers)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn headers ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_headers_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_headers_HTMLTableCellElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `headers` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/headers)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn headers ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_headers_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `headers` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/headers)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_headers ( & self , headers : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_headers_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , headers : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let headers = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( headers , & mut __stack ) ; __widl_f_set_headers_HTMLTableCellElement ( self_ , headers ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `headers` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/headers)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_headers ( & self , headers : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cell_index_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cellIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/cellIndex)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn cell_index ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cell_index_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cell_index_HTMLTableCellElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cellIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/cellIndex)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn cell_index ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLTableCellElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLTableCellElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_axis_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `axis` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/axis)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn axis ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_axis_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_axis_HTMLTableCellElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `axis` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/axis)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn axis ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_axis_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `axis` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/axis)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_axis ( & self , axis : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_axis_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , axis : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let axis = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( axis , & mut __stack ) ; __widl_f_set_axis_HTMLTableCellElement ( self_ , axis ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `axis` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/axis)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_axis ( & self , axis : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/height)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn height ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_HTMLTableCellElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/height)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn height ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_height_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/height)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_height ( & self , height : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_height_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let height = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_set_height_HTMLTableCellElement ( self_ , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/height)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_height ( & self , height : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/width)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn width ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_HTMLTableCellElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/width)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn width ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/width)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_width ( & self , width : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_HTMLTableCellElement ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/width)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_width ( & self , width : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ch_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn ch ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ch_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ch_HTMLTableCellElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn ch ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ch_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_ch ( & self , ch : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ch_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ch : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ch = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ch , & mut __stack ) ; __widl_f_set_ch_HTMLTableCellElement ( self_ , ch ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_ch ( & self , ch : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ch_off_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `chOff` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn ch_off ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ch_off_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ch_off_HTMLTableCellElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `chOff` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn ch_off ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ch_off_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `chOff` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_ch_off ( & self , ch_off : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ch_off_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ch_off : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ch_off = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ch_off , & mut __stack ) ; __widl_f_set_ch_off_HTMLTableCellElement ( self_ , ch_off ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `chOff` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_ch_off ( & self , ch_off : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_no_wrap_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noWrap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/noWrap)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn no_wrap ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_no_wrap_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_no_wrap_HTMLTableCellElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noWrap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/noWrap)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn no_wrap ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_no_wrap_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `noWrap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/noWrap)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_no_wrap ( & self , no_wrap : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_no_wrap_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , no_wrap : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let no_wrap = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( no_wrap , & mut __stack ) ; __widl_f_set_no_wrap_HTMLTableCellElement ( self_ , no_wrap ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `noWrap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/noWrap)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_no_wrap ( & self , no_wrap : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_v_align_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn v_align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_v_align_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_v_align_HTMLTableCellElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn v_align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_v_align_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_v_align ( & self , v_align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_v_align_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v_align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let v_align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v_align , & mut __stack ) ; __widl_f_set_v_align_HTMLTableCellElement ( self_ , v_align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_v_align ( & self , v_align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bg_color_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bgColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn bg_color ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bg_color_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_bg_color_HTMLTableCellElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bgColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn bg_color ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_bg_color_HTMLTableCellElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableCellElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableCellElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bgColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_bg_color ( & self , bg_color : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_bg_color_HTMLTableCellElement ( self_ : < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bg_color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableCellElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let bg_color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bg_color , & mut __stack ) ; __widl_f_set_bg_color_HTMLTableCellElement ( self_ , bg_color ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bgColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlTableCellElement`*" ] pub fn set_bg_color ( & self , bg_color : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLTableColElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] # [ repr ( transparent ) ] pub struct HtmlTableColElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlTableColElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlTableColElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlTableColElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlTableColElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlTableColElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlTableColElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlTableColElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlTableColElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlTableColElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlTableColElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlTableColElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlTableColElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlTableColElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlTableColElement { HtmlTableColElement { obj } } } impl AsRef < JsValue > for HtmlTableColElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlTableColElement > for JsValue { # [ inline ] fn from ( obj : HtmlTableColElement ) -> JsValue { obj . obj } } impl JsCast for HtmlTableColElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLTableColElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLTableColElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlTableColElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlTableColElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlTableColElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlTableColElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlTableColElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlTableColElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableColElement > for Element { # [ inline ] fn from ( obj : HtmlTableColElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlTableColElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableColElement > for Node { # [ inline ] fn from ( obj : HtmlTableColElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlTableColElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableColElement > for EventTarget { # [ inline ] fn from ( obj : HtmlTableColElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlTableColElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableColElement > for Object { # [ inline ] fn from ( obj : HtmlTableColElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlTableColElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_span_HTMLTableColElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableColElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlTableColElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `span` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/span)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn span ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_span_HTMLTableColElement ( self_ : < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_span_HTMLTableColElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `span` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/span)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn span ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_span_HTMLTableColElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableColElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableColElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `span` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/span)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn set_span ( & self , span : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_span_HTMLTableColElement ( self_ : < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , span : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let span = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( span , & mut __stack ) ; __widl_f_set_span_HTMLTableColElement ( self_ , span ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `span` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/span)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn set_span ( & self , span : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLTableColElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableColElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableColElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLTableColElement ( self_ : < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLTableColElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLTableColElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableColElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableColElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLTableColElement ( self_ : < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLTableColElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ch_HTMLTableColElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableColElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableColElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn ch ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ch_HTMLTableColElement ( self_ : < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ch_HTMLTableColElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn ch ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ch_HTMLTableColElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableColElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableColElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn set_ch ( & self , ch : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ch_HTMLTableColElement ( self_ : < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ch : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ch = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ch , & mut __stack ) ; __widl_f_set_ch_HTMLTableColElement ( self_ , ch ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn set_ch ( & self , ch : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ch_off_HTMLTableColElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableColElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableColElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `chOff` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn ch_off ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ch_off_HTMLTableColElement ( self_ : < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ch_off_HTMLTableColElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `chOff` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn ch_off ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ch_off_HTMLTableColElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableColElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableColElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `chOff` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn set_ch_off ( & self , ch_off : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ch_off_HTMLTableColElement ( self_ : < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ch_off : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ch_off = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ch_off , & mut __stack ) ; __widl_f_set_ch_off_HTMLTableColElement ( self_ , ch_off ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `chOff` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn set_ch_off ( & self , ch_off : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_v_align_HTMLTableColElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableColElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableColElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn v_align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_v_align_HTMLTableColElement ( self_ : < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_v_align_HTMLTableColElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn v_align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_v_align_HTMLTableColElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableColElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableColElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn set_v_align ( & self , v_align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_v_align_HTMLTableColElement ( self_ : < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v_align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let v_align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v_align , & mut __stack ) ; __widl_f_set_v_align_HTMLTableColElement ( self_ , v_align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn set_v_align ( & self , v_align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_HTMLTableColElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableColElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableColElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/width)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn width ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_HTMLTableColElement ( self_ : < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_HTMLTableColElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/width)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn width ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_HTMLTableColElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableColElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableColElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/width)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn set_width ( & self , width : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_HTMLTableColElement ( self_ : < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableColElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_HTMLTableColElement ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/width)\n\n*This API requires the following crate features to be activated: `HtmlTableColElement`*" ] pub fn set_width ( & self , width : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLTableElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] # [ repr ( transparent ) ] pub struct HtmlTableElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlTableElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlTableElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlTableElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlTableElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlTableElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlTableElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlTableElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlTableElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlTableElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlTableElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlTableElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlTableElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlTableElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlTableElement { HtmlTableElement { obj } } } impl AsRef < JsValue > for HtmlTableElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlTableElement > for JsValue { # [ inline ] fn from ( obj : HtmlTableElement ) -> JsValue { obj . obj } } impl JsCast for HtmlTableElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLTableElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLTableElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlTableElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlTableElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlTableElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlTableElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlTableElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlTableElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableElement > for Element { # [ inline ] fn from ( obj : HtmlTableElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlTableElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableElement > for Node { # [ inline ] fn from ( obj : HtmlTableElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlTableElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableElement > for EventTarget { # [ inline ] fn from ( obj : HtmlTableElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlTableElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableElement > for Object { # [ inline ] fn from ( obj : HtmlTableElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlTableElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_caption_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < HtmlElement as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createCaption()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createCaption)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableElement`*" ] pub fn create_caption ( & self , ) -> HtmlElement { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_caption_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_caption_HTMLTableElement ( self_ ) } ; < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createCaption()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createCaption)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableElement`*" ] pub fn create_caption ( & self , ) -> HtmlElement { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_t_body_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < HtmlElement as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTBody()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createTBody)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableElement`*" ] pub fn create_t_body ( & self , ) -> HtmlElement { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_t_body_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_t_body_HTMLTableElement ( self_ ) } ; < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTBody()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createTBody)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableElement`*" ] pub fn create_t_body ( & self , ) -> HtmlElement { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_t_foot_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < HtmlElement as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTFoot()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createTFoot)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableElement`*" ] pub fn create_t_foot ( & self , ) -> HtmlElement { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_t_foot_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_t_foot_HTMLTableElement ( self_ ) } ; < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTFoot()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createTFoot)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableElement`*" ] pub fn create_t_foot ( & self , ) -> HtmlElement { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_t_head_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < HtmlElement as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTHead()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createTHead)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableElement`*" ] pub fn create_t_head ( & self , ) -> HtmlElement { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_t_head_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_t_head_HTMLTableElement ( self_ ) } ; < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTHead()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createTHead)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableElement`*" ] pub fn create_t_head ( & self , ) -> HtmlElement { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_caption_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteCaption()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteCaption)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn delete_caption ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_caption_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_delete_caption_HTMLTableElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteCaption()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteCaption)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn delete_caption ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_row_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteRow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteRow)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn delete_row ( & self , index : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_row_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_delete_row_HTMLTableElement ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteRow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteRow)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn delete_row ( & self , index : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_t_foot_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteTFoot()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteTFoot)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn delete_t_foot ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_t_foot_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_delete_t_foot_HTMLTableElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteTFoot()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteTFoot)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn delete_t_foot ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_t_head_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteTHead()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteTHead)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn delete_t_head ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_t_head_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_delete_t_head_HTMLTableElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteTHead()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteTHead)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn delete_t_head ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_row_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < HtmlElement as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertRow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/insertRow)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableElement`*" ] pub fn insert_row ( & self , ) -> Result < HtmlElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_row_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_insert_row_HTMLTableElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertRow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/insertRow)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableElement`*" ] pub fn insert_row ( & self , ) -> Result < HtmlElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_row_with_index_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < HtmlElement as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertRow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/insertRow)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableElement`*" ] pub fn insert_row_with_index ( & self , index : i32 ) -> Result < HtmlElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_row_with_index_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_insert_row_with_index_HTMLTableElement ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertRow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/insertRow)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableElement`*" ] pub fn insert_row_with_index ( & self , index : i32 ) -> Result < HtmlElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_caption_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < Option < HtmlTableCaptionElement > as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `caption` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/caption)\n\n*This API requires the following crate features to be activated: `HtmlTableCaptionElement`, `HtmlTableElement`*" ] pub fn caption ( & self , ) -> Option < HtmlTableCaptionElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_caption_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlTableCaptionElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_caption_HTMLTableElement ( self_ ) } ; < Option < HtmlTableCaptionElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `caption` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/caption)\n\n*This API requires the following crate features to be activated: `HtmlTableCaptionElement`, `HtmlTableElement`*" ] pub fn caption ( & self , ) -> Option < HtmlTableCaptionElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_caption_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < Option < & HtmlTableCaptionElement > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `caption` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/caption)\n\n*This API requires the following crate features to be activated: `HtmlTableCaptionElement`, `HtmlTableElement`*" ] pub fn set_caption ( & self , caption : Option < & HtmlTableCaptionElement > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_caption_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , caption : < Option < & HtmlTableCaptionElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let caption = < Option < & HtmlTableCaptionElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( caption , & mut __stack ) ; __widl_f_set_caption_HTMLTableElement ( self_ , caption ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `caption` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/caption)\n\n*This API requires the following crate features to be activated: `HtmlTableCaptionElement`, `HtmlTableElement`*" ] pub fn set_caption ( & self , caption : Option < & HtmlTableCaptionElement > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_t_head_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < Option < HtmlTableSectionElement > as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tHead` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tHead)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*" ] pub fn t_head ( & self , ) -> Option < HtmlTableSectionElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_t_head_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlTableSectionElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_t_head_HTMLTableElement ( self_ ) } ; < Option < HtmlTableSectionElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tHead` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tHead)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*" ] pub fn t_head ( & self , ) -> Option < HtmlTableSectionElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_t_head_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < Option < & HtmlTableSectionElement > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tHead` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tHead)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*" ] pub fn set_t_head ( & self , t_head : Option < & HtmlTableSectionElement > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_t_head_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , t_head : < Option < & HtmlTableSectionElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let t_head = < Option < & HtmlTableSectionElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( t_head , & mut __stack ) ; __widl_f_set_t_head_HTMLTableElement ( self_ , t_head ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tHead` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tHead)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*" ] pub fn set_t_head ( & self , t_head : Option < & HtmlTableSectionElement > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_t_foot_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < Option < HtmlTableSectionElement > as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tFoot` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tFoot)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*" ] pub fn t_foot ( & self , ) -> Option < HtmlTableSectionElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_t_foot_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlTableSectionElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_t_foot_HTMLTableElement ( self_ ) } ; < Option < HtmlTableSectionElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tFoot` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tFoot)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*" ] pub fn t_foot ( & self , ) -> Option < HtmlTableSectionElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_t_foot_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < Option < & HtmlTableSectionElement > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tFoot` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tFoot)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*" ] pub fn set_t_foot ( & self , t_foot : Option < & HtmlTableSectionElement > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_t_foot_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , t_foot : < Option < & HtmlTableSectionElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let t_foot = < Option < & HtmlTableSectionElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( t_foot , & mut __stack ) ; __widl_f_set_t_foot_HTMLTableElement ( self_ , t_foot ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tFoot` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tFoot)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*" ] pub fn set_t_foot ( & self , t_foot : Option < & HtmlTableSectionElement > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_t_bodies_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tBodies` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tBodies)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableElement`*" ] pub fn t_bodies ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_t_bodies_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_t_bodies_HTMLTableElement ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tBodies` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tBodies)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableElement`*" ] pub fn t_bodies ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rows_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rows` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/rows)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableElement`*" ] pub fn rows ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rows_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rows_HTMLTableElement ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rows` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/rows)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableElement`*" ] pub fn rows ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLTableElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLTableElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_border_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `border` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/border)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn border ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_border_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_border_HTMLTableElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `border` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/border)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn border ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_border_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `border` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/border)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_border ( & self , border : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_border_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let border = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; __widl_f_set_border_HTMLTableElement ( self_ , border ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `border` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/border)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_border ( & self , border : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_frame_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frame` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/frame)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn frame ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_frame_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_frame_HTMLTableElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frame` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/frame)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn frame ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_frame_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frame` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/frame)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_frame ( & self , frame : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_frame_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , frame : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let frame = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( frame , & mut __stack ) ; __widl_f_set_frame_HTMLTableElement ( self_ , frame ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frame` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/frame)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_frame ( & self , frame : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rules_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rules` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/rules)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn rules ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rules_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rules_HTMLTableElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rules` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/rules)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn rules ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_rules_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rules` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/rules)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_rules ( & self , rules : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_rules_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rules : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rules = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rules , & mut __stack ) ; __widl_f_set_rules_HTMLTableElement ( self_ , rules ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rules` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/rules)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_rules ( & self , rules : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_summary_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `summary` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/summary)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn summary ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_summary_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_summary_HTMLTableElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `summary` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/summary)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn summary ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_summary_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `summary` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/summary)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_summary ( & self , summary : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_summary_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , summary : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let summary = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( summary , & mut __stack ) ; __widl_f_set_summary_HTMLTableElement ( self_ , summary ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `summary` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/summary)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_summary ( & self , summary : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/width)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn width ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_HTMLTableElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/width)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn width ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/width)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_width ( & self , width : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_HTMLTableElement ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/width)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_width ( & self , width : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bg_color_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bgColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn bg_color ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bg_color_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_bg_color_HTMLTableElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bgColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn bg_color ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_bg_color_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bgColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_bg_color ( & self , bg_color : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_bg_color_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bg_color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let bg_color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bg_color , & mut __stack ) ; __widl_f_set_bg_color_HTMLTableElement ( self_ , bg_color ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bgColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_bg_color ( & self , bg_color : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cell_padding_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cellPadding` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellPadding)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn cell_padding ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cell_padding_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cell_padding_HTMLTableElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cellPadding` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellPadding)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn cell_padding ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cell_padding_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cellPadding` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellPadding)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_cell_padding ( & self , cell_padding : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cell_padding_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cell_padding : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cell_padding = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cell_padding , & mut __stack ) ; __widl_f_set_cell_padding_HTMLTableElement ( self_ , cell_padding ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cellPadding` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellPadding)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_cell_padding ( & self , cell_padding : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cell_spacing_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cellSpacing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellSpacing)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn cell_spacing ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cell_spacing_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cell_spacing_HTMLTableElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cellSpacing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellSpacing)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn cell_spacing ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cell_spacing_HTMLTableElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cellSpacing` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellSpacing)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_cell_spacing ( & self , cell_spacing : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cell_spacing_HTMLTableElement ( self_ : < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cell_spacing : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cell_spacing = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cell_spacing , & mut __stack ) ; __widl_f_set_cell_spacing_HTMLTableElement ( self_ , cell_spacing ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cellSpacing` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellSpacing)\n\n*This API requires the following crate features to be activated: `HtmlTableElement`*" ] pub fn set_cell_spacing ( & self , cell_spacing : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLTableRowElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] # [ repr ( transparent ) ] pub struct HtmlTableRowElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlTableRowElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlTableRowElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlTableRowElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlTableRowElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlTableRowElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlTableRowElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlTableRowElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlTableRowElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlTableRowElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlTableRowElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlTableRowElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlTableRowElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlTableRowElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlTableRowElement { HtmlTableRowElement { obj } } } impl AsRef < JsValue > for HtmlTableRowElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlTableRowElement > for JsValue { # [ inline ] fn from ( obj : HtmlTableRowElement ) -> JsValue { obj . obj } } impl JsCast for HtmlTableRowElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLTableRowElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLTableRowElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlTableRowElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlTableRowElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlTableRowElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlTableRowElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlTableRowElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlTableRowElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableRowElement > for Element { # [ inline ] fn from ( obj : HtmlTableRowElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlTableRowElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableRowElement > for Node { # [ inline ] fn from ( obj : HtmlTableRowElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlTableRowElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableRowElement > for EventTarget { # [ inline ] fn from ( obj : HtmlTableRowElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlTableRowElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableRowElement > for Object { # [ inline ] fn from ( obj : HtmlTableRowElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlTableRowElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_cell_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteCell()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/deleteCell)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn delete_cell ( & self , index : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_cell_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_delete_cell_HTMLTableRowElement ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteCell()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/deleteCell)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn delete_cell ( & self , index : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_cell_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < HtmlElement as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertCell()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/insertCell)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableRowElement`*" ] pub fn insert_cell ( & self , ) -> Result < HtmlElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_cell_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_insert_cell_HTMLTableRowElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertCell()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/insertCell)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableRowElement`*" ] pub fn insert_cell ( & self , ) -> Result < HtmlElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_cell_with_index_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < HtmlElement as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertCell()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/insertCell)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableRowElement`*" ] pub fn insert_cell_with_index ( & self , index : i32 ) -> Result < HtmlElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_cell_with_index_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_insert_cell_with_index_HTMLTableRowElement ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertCell()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/insertCell)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableRowElement`*" ] pub fn insert_cell_with_index ( & self , index : i32 ) -> Result < HtmlElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_row_index_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rowIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/rowIndex)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn row_index ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_row_index_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_row_index_HTMLTableRowElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rowIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/rowIndex)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn row_index ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_section_row_index_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sectionRowIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/sectionRowIndex)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn section_row_index ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_section_row_index_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_section_row_index_HTMLTableRowElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sectionRowIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/sectionRowIndex)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn section_row_index ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cells_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cells` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/cells)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableRowElement`*" ] pub fn cells ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cells_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cells_HTMLTableRowElement ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cells` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/cells)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableRowElement`*" ] pub fn cells ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLTableRowElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLTableRowElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ch_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn ch ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ch_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ch_HTMLTableRowElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn ch ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ch_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn set_ch ( & self , ch : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ch_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ch : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ch = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ch , & mut __stack ) ; __widl_f_set_ch_HTMLTableRowElement ( self_ , ch ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn set_ch ( & self , ch : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ch_off_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `chOff` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn ch_off ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ch_off_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ch_off_HTMLTableRowElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `chOff` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn ch_off ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ch_off_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `chOff` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn set_ch_off ( & self , ch_off : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ch_off_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ch_off : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ch_off = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ch_off , & mut __stack ) ; __widl_f_set_ch_off_HTMLTableRowElement ( self_ , ch_off ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `chOff` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn set_ch_off ( & self , ch_off : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_v_align_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn v_align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_v_align_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_v_align_HTMLTableRowElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn v_align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_v_align_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn set_v_align ( & self , v_align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_v_align_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v_align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let v_align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v_align , & mut __stack ) ; __widl_f_set_v_align_HTMLTableRowElement ( self_ , v_align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn set_v_align ( & self , v_align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bg_color_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bgColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn bg_color ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bg_color_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_bg_color_HTMLTableRowElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bgColor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn bg_color ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_bg_color_HTMLTableRowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableRowElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableRowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bgColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn set_bg_color ( & self , bg_color : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_bg_color_HTMLTableRowElement ( self_ : < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bg_color : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableRowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let bg_color = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bg_color , & mut __stack ) ; __widl_f_set_bg_color_HTMLTableRowElement ( self_ , bg_color ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bgColor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/bgColor)\n\n*This API requires the following crate features to be activated: `HtmlTableRowElement`*" ] pub fn set_bg_color ( & self , bg_color : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLTableSectionElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] # [ repr ( transparent ) ] pub struct HtmlTableSectionElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlTableSectionElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlTableSectionElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlTableSectionElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlTableSectionElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlTableSectionElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlTableSectionElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlTableSectionElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlTableSectionElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlTableSectionElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlTableSectionElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlTableSectionElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlTableSectionElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlTableSectionElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlTableSectionElement { HtmlTableSectionElement { obj } } } impl AsRef < JsValue > for HtmlTableSectionElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlTableSectionElement > for JsValue { # [ inline ] fn from ( obj : HtmlTableSectionElement ) -> JsValue { obj . obj } } impl JsCast for HtmlTableSectionElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLTableSectionElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLTableSectionElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlTableSectionElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlTableSectionElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlTableSectionElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlTableSectionElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlTableSectionElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlTableSectionElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableSectionElement > for Element { # [ inline ] fn from ( obj : HtmlTableSectionElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlTableSectionElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableSectionElement > for Node { # [ inline ] fn from ( obj : HtmlTableSectionElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlTableSectionElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableSectionElement > for EventTarget { # [ inline ] fn from ( obj : HtmlTableSectionElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlTableSectionElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTableSectionElement > for Object { # [ inline ] fn from ( obj : HtmlTableSectionElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlTableSectionElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_row_HTMLTableSectionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableSectionElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableSectionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteRow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/deleteRow)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn delete_row ( & self , index : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_row_HTMLTableSectionElement ( self_ : < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_delete_row_HTMLTableSectionElement ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteRow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/deleteRow)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn delete_row ( & self , index : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_row_HTMLTableSectionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableSectionElement as WasmDescribe > :: describe ( ) ; < HtmlElement as WasmDescribe > :: describe ( ) ; } impl HtmlTableSectionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertRow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/insertRow)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableSectionElement`*" ] pub fn insert_row ( & self , ) -> Result < HtmlElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_row_HTMLTableSectionElement ( self_ : < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_insert_row_HTMLTableSectionElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertRow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/insertRow)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableSectionElement`*" ] pub fn insert_row ( & self , ) -> Result < HtmlElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_row_with_index_HTMLTableSectionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableSectionElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < HtmlElement as WasmDescribe > :: describe ( ) ; } impl HtmlTableSectionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertRow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/insertRow)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableSectionElement`*" ] pub fn insert_row_with_index ( & self , index : i32 ) -> Result < HtmlElement , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_row_with_index_HTMLTableSectionElement ( self_ : < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_insert_row_with_index_HTMLTableSectionElement ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HtmlElement as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertRow()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/insertRow)\n\n*This API requires the following crate features to be activated: `HtmlElement`, `HtmlTableSectionElement`*" ] pub fn insert_row_with_index ( & self , index : i32 ) -> Result < HtmlElement , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rows_HTMLTableSectionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableSectionElement as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl HtmlTableSectionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rows` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/rows)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableSectionElement`*" ] pub fn rows ( & self , ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rows_HTMLTableSectionElement ( self_ : < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rows_HTMLTableSectionElement ( self_ ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rows` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/rows)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableSectionElement`*" ] pub fn rows ( & self , ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_HTMLTableSectionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableSectionElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableSectionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_HTMLTableSectionElement ( self_ : < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_HTMLTableSectionElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_HTMLTableSectionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableSectionElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableSectionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn set_align ( & self , align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_HTMLTableSectionElement ( self_ : < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_HTMLTableSectionElement ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/align)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn set_align ( & self , align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ch_HTMLTableSectionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableSectionElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableSectionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn ch ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ch_HTMLTableSectionElement ( self_ : < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ch_HTMLTableSectionElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn ch ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ch_HTMLTableSectionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableSectionElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableSectionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn set_ch ( & self , ch : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ch_HTMLTableSectionElement ( self_ : < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ch : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ch = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ch , & mut __stack ) ; __widl_f_set_ch_HTMLTableSectionElement ( self_ , ch ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/ch)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn set_ch ( & self , ch : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ch_off_HTMLTableSectionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableSectionElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableSectionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `chOff` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn ch_off ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ch_off_HTMLTableSectionElement ( self_ : < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ch_off_HTMLTableSectionElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `chOff` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn ch_off ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ch_off_HTMLTableSectionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableSectionElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableSectionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `chOff` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn set_ch_off ( & self , ch_off : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ch_off_HTMLTableSectionElement ( self_ : < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ch_off : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ch_off = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ch_off , & mut __stack ) ; __widl_f_set_ch_off_HTMLTableSectionElement ( self_ , ch_off ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `chOff` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/chOff)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn set_ch_off ( & self , ch_off : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_v_align_HTMLTableSectionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTableSectionElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTableSectionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn v_align ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_v_align_HTMLTableSectionElement ( self_ : < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_v_align_HTMLTableSectionElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn v_align ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_v_align_HTMLTableSectionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTableSectionElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTableSectionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn set_v_align ( & self , v_align : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_v_align_HTMLTableSectionElement ( self_ : < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v_align : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTableSectionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let v_align = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v_align , & mut __stack ) ; __widl_f_set_v_align_HTMLTableSectionElement ( self_ , v_align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/vAlign)\n\n*This API requires the following crate features to be activated: `HtmlTableSectionElement`*" ] pub fn set_v_align ( & self , v_align : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLTemplateElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement)\n\n*This API requires the following crate features to be activated: `HtmlTemplateElement`*" ] # [ repr ( transparent ) ] pub struct HtmlTemplateElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlTemplateElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlTemplateElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlTemplateElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlTemplateElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlTemplateElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlTemplateElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlTemplateElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlTemplateElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlTemplateElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlTemplateElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlTemplateElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlTemplateElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlTemplateElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlTemplateElement { HtmlTemplateElement { obj } } } impl AsRef < JsValue > for HtmlTemplateElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlTemplateElement > for JsValue { # [ inline ] fn from ( obj : HtmlTemplateElement ) -> JsValue { obj . obj } } impl JsCast for HtmlTemplateElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLTemplateElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLTemplateElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlTemplateElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlTemplateElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlTemplateElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlTemplateElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlTemplateElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlTemplateElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTemplateElement > for Element { # [ inline ] fn from ( obj : HtmlTemplateElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlTemplateElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTemplateElement > for Node { # [ inline ] fn from ( obj : HtmlTemplateElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlTemplateElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTemplateElement > for EventTarget { # [ inline ] fn from ( obj : HtmlTemplateElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlTemplateElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTemplateElement > for Object { # [ inline ] fn from ( obj : HtmlTemplateElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlTemplateElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_content_HTMLTemplateElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTemplateElement as WasmDescribe > :: describe ( ) ; < DocumentFragment as WasmDescribe > :: describe ( ) ; } impl HtmlTemplateElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `content` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement/content)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `HtmlTemplateElement`*" ] pub fn content ( & self , ) -> DocumentFragment { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_content_HTMLTemplateElement ( self_ : < & HtmlTemplateElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTemplateElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_content_HTMLTemplateElement ( self_ ) } ; < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `content` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement/content)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `HtmlTemplateElement`*" ] pub fn content ( & self , ) -> DocumentFragment { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLTextAreaElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] # [ repr ( transparent ) ] pub struct HtmlTextAreaElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlTextAreaElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlTextAreaElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlTextAreaElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlTextAreaElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlTextAreaElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlTextAreaElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlTextAreaElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlTextAreaElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlTextAreaElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlTextAreaElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlTextAreaElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlTextAreaElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlTextAreaElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlTextAreaElement { HtmlTextAreaElement { obj } } } impl AsRef < JsValue > for HtmlTextAreaElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlTextAreaElement > for JsValue { # [ inline ] fn from ( obj : HtmlTextAreaElement ) -> JsValue { obj . obj } } impl JsCast for HtmlTextAreaElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLTextAreaElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLTextAreaElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlTextAreaElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlTextAreaElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlTextAreaElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlTextAreaElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlTextAreaElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlTextAreaElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTextAreaElement > for Element { # [ inline ] fn from ( obj : HtmlTextAreaElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlTextAreaElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTextAreaElement > for Node { # [ inline ] fn from ( obj : HtmlTextAreaElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlTextAreaElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTextAreaElement > for EventTarget { # [ inline ] fn from ( obj : HtmlTextAreaElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlTextAreaElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTextAreaElement > for Object { # [ inline ] fn from ( obj : HtmlTextAreaElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlTextAreaElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_check_validity_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn check_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_check_validity_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_check_validity_HTMLTextAreaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checkValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/checkValidity)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn check_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_report_validity_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn report_validity ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_report_validity_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_report_validity_HTMLTextAreaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reportValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/reportValidity)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn report_validity ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_select_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `select()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/select)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn select ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_select_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_select_HTMLTextAreaElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `select()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/select)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn select ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_custom_validity_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_custom_validity_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let error = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error , & mut __stack ) ; __widl_f_set_custom_validity_HTMLTextAreaElement ( self_ , error ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setCustomValidity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setCustomValidity)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_custom_validity ( & self , error : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_range_text_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setRangeText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setRangeText)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_range_text ( & self , replacement : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_range_text_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , replacement : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let replacement = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( replacement , & mut __stack ) ; __widl_f_set_range_text_HTMLTextAreaElement ( self_ , replacement , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setRangeText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setRangeText)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_range_text ( & self , replacement : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_range_text_with_start_and_end_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setRangeText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setRangeText)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_range_text_with_start_and_end ( & self , replacement : & str , start : u32 , end : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_range_text_with_start_and_end_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , replacement : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let replacement = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( replacement , & mut __stack ) ; let start = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; __widl_f_set_range_text_with_start_and_end_HTMLTextAreaElement ( self_ , replacement , start , end , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setRangeText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setRangeText)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_range_text_with_start_and_end ( & self , replacement : & str , start : u32 , end : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_selection_range_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setSelectionRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setSelectionRange)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_selection_range ( & self , start : u32 , end : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_selection_range_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; __widl_f_set_selection_range_HTMLTextAreaElement ( self_ , start , end , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setSelectionRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setSelectionRange)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_selection_range ( & self , start : u32 , end : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_selection_range_with_direction_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setSelectionRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setSelectionRange)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_selection_range_with_direction ( & self , start : u32 , end : u32 , direction : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_selection_range_with_direction_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , direction : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; let direction = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( direction , & mut __stack ) ; __widl_f_set_selection_range_with_direction_HTMLTextAreaElement ( self_ , start , end , direction , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setSelectionRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setSelectionRange)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_selection_range_with_direction ( & self , start : u32 , end : u32 , direction : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_autocomplete_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autocomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn autocomplete ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_autocomplete_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_autocomplete_HTMLTextAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autocomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn autocomplete ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_autocomplete_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autocomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_autocomplete ( & self , autocomplete : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_autocomplete_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , autocomplete : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let autocomplete = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( autocomplete , & mut __stack ) ; __widl_f_set_autocomplete_HTMLTextAreaElement ( self_ , autocomplete ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autocomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autocomplete)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_autocomplete ( & self , autocomplete : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_autofocus_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autofocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn autofocus ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_autofocus_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_autofocus_HTMLTextAreaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autofocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn autofocus ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_autofocus_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autofocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_autofocus ( & self , autofocus : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_autofocus_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , autofocus : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let autofocus = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( autofocus , & mut __stack ) ; __widl_f_set_autofocus_HTMLTextAreaElement ( self_ , autofocus ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autofocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autofocus)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_autofocus ( & self , autofocus : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cols_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cols` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/cols)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn cols ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cols_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cols_HTMLTextAreaElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cols` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/cols)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn cols ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cols_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cols` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/cols)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_cols ( & self , cols : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cols_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cols : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cols = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cols , & mut __stack ) ; __widl_f_set_cols_HTMLTextAreaElement ( self_ , cols ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cols` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/cols)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_cols ( & self , cols : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disabled_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn disabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disabled_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disabled_HTMLTextAreaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn disabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_disabled_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_disabled_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , disabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let disabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( disabled , & mut __stack ) ; __widl_f_set_disabled_HTMLTextAreaElement ( self_ , disabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/disabled)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_disabled ( & self , disabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < Option < HtmlFormElement > as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlTextAreaElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_HTMLTextAreaElement ( self_ ) } ; < Option < HtmlFormElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `form` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/form)\n\n*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlTextAreaElement`*" ] pub fn form ( & self , ) -> Option < HtmlFormElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_length_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/maxLength)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn max_length ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_length_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_length_HTMLTextAreaElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/maxLength)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn max_length ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_max_length_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxLength` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/maxLength)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_max_length ( & self , max_length : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_max_length_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max_length : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let max_length = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max_length , & mut __stack ) ; __widl_f_set_max_length_HTMLTextAreaElement ( self_ , max_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxLength` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/maxLength)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_max_length ( & self , max_length : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_min_length_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `minLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/minLength)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn min_length ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_min_length_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_min_length_HTMLTextAreaElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `minLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/minLength)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn min_length ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_min_length_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `minLength` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/minLength)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_min_length ( & self , min_length : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_min_length_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , min_length : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let min_length = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( min_length , & mut __stack ) ; __widl_f_set_min_length_HTMLTextAreaElement ( self_ , min_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `minLength` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/minLength)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_min_length ( & self , min_length : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/name)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_HTMLTextAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/name)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/name)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_HTMLTextAreaElement ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/name)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_placeholder_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `placeholder` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/placeholder)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn placeholder ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_placeholder_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_placeholder_HTMLTextAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `placeholder` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/placeholder)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn placeholder ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_placeholder_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `placeholder` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/placeholder)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_placeholder ( & self , placeholder : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_placeholder_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , placeholder : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let placeholder = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( placeholder , & mut __stack ) ; __widl_f_set_placeholder_HTMLTextAreaElement ( self_ , placeholder ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `placeholder` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/placeholder)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_placeholder ( & self , placeholder : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_only_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readOnly` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/readOnly)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn read_only ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_only_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_read_only_HTMLTextAreaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readOnly` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/readOnly)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn read_only ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_read_only_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readOnly` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/readOnly)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_read_only ( & self , read_only : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_read_only_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_only : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let read_only = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_only , & mut __stack ) ; __widl_f_set_read_only_HTMLTextAreaElement ( self_ , read_only ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readOnly` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/readOnly)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_read_only ( & self , read_only : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_required_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `required` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/required)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn required ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_required_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_required_HTMLTextAreaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `required` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/required)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn required ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_required_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `required` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/required)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_required ( & self , required : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_required_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , required : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let required = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( required , & mut __stack ) ; __widl_f_set_required_HTMLTextAreaElement ( self_ , required ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `required` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/required)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_required ( & self , required : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rows_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rows` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/rows)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn rows ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rows_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rows_HTMLTextAreaElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rows` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/rows)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn rows ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_rows_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rows` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/rows)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_rows ( & self , rows : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_rows_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rows : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rows = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rows , & mut __stack ) ; __widl_f_set_rows_HTMLTextAreaElement ( self_ , rows ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rows` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/rows)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_rows ( & self , rows : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_wrap_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `wrap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/wrap)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn wrap ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_wrap_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_wrap_HTMLTextAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `wrap` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/wrap)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn wrap ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_wrap_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `wrap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/wrap)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_wrap ( & self , wrap : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_wrap_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , wrap : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let wrap = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( wrap , & mut __stack ) ; __widl_f_set_wrap_HTMLTextAreaElement ( self_ , wrap ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `wrap` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/wrap)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_wrap ( & self , wrap : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/type)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLTextAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/type)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_value_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/defaultValue)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn default_value ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_value_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_value_HTMLTextAreaElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/defaultValue)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn default_value ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_default_value_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultValue` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/defaultValue)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_default_value ( & self , default_value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_default_value_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , default_value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let default_value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( default_value , & mut __stack ) ; __widl_f_set_default_value_HTMLTextAreaElement ( self_ , default_value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultValue` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/defaultValue)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_default_value ( & self , default_value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/value)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_HTMLTextAreaElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/value)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/value)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_value ( & self , value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_HTMLTextAreaElement ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/value)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_value ( & self , value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_length_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `textLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/textLength)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn text_length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_length_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_length_HTMLTextAreaElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `textLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/textLength)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn text_length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_will_validate_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn will_validate ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_will_validate_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_will_validate_HTMLTextAreaElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `willValidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/willValidate)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn will_validate ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validity_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < ValidityState as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validity_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validity_HTMLTextAreaElement ( self_ ) } ; < ValidityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/validity)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`, `ValidityState`*" ] pub fn validity ( & self , ) -> ValidityState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validation_message_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validation_message_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_validation_message_HTMLTextAreaElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validationMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/validationMessage)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn validation_message ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_labels_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < NodeList as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`, `NodeList`*" ] pub fn labels ( & self , ) -> NodeList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_labels_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_labels_HTMLTextAreaElement ( self_ ) } ; < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `labels` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/labels)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`, `NodeList`*" ] pub fn labels ( & self , ) -> NodeList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_selection_direction_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectionDirection` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionDirection)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn selection_direction ( & self , ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_selection_direction_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_selection_direction_HTMLTextAreaElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectionDirection` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionDirection)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn selection_direction ( & self , ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_selection_direction_HTMLTextAreaElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTextAreaElement as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTextAreaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectionDirection` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionDirection)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_selection_direction ( & self , selection_direction : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_selection_direction_HTMLTextAreaElement ( self_ : < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selection_direction : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTextAreaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selection_direction = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selection_direction , & mut __stack ) ; __widl_f_set_selection_direction_HTMLTextAreaElement ( self_ , selection_direction , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectionDirection` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionDirection)\n\n*This API requires the following crate features to be activated: `HtmlTextAreaElement`*" ] pub fn set_selection_direction ( & self , selection_direction : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLTimeElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement)\n\n*This API requires the following crate features to be activated: `HtmlTimeElement`*" ] # [ repr ( transparent ) ] pub struct HtmlTimeElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlTimeElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlTimeElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlTimeElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlTimeElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlTimeElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlTimeElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlTimeElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlTimeElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlTimeElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlTimeElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlTimeElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlTimeElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlTimeElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlTimeElement { HtmlTimeElement { obj } } } impl AsRef < JsValue > for HtmlTimeElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlTimeElement > for JsValue { # [ inline ] fn from ( obj : HtmlTimeElement ) -> JsValue { obj . obj } } impl JsCast for HtmlTimeElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLTimeElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLTimeElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlTimeElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlTimeElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlTimeElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlTimeElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlTimeElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlTimeElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTimeElement > for Element { # [ inline ] fn from ( obj : HtmlTimeElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlTimeElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTimeElement > for Node { # [ inline ] fn from ( obj : HtmlTimeElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlTimeElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTimeElement > for EventTarget { # [ inline ] fn from ( obj : HtmlTimeElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlTimeElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTimeElement > for Object { # [ inline ] fn from ( obj : HtmlTimeElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlTimeElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_date_time_HTMLTimeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTimeElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTimeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dateTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement/dateTime)\n\n*This API requires the following crate features to be activated: `HtmlTimeElement`*" ] pub fn date_time ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_date_time_HTMLTimeElement ( self_ : < & HtmlTimeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTimeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_date_time_HTMLTimeElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dateTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement/dateTime)\n\n*This API requires the following crate features to be activated: `HtmlTimeElement`*" ] pub fn date_time ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_date_time_HTMLTimeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTimeElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTimeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dateTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement/dateTime)\n\n*This API requires the following crate features to be activated: `HtmlTimeElement`*" ] pub fn set_date_time ( & self , date_time : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_date_time_HTMLTimeElement ( self_ : < & HtmlTimeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , date_time : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTimeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let date_time = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( date_time , & mut __stack ) ; __widl_f_set_date_time_HTMLTimeElement ( self_ , date_time ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dateTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement/dateTime)\n\n*This API requires the following crate features to be activated: `HtmlTimeElement`*" ] pub fn set_date_time ( & self , date_time : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLTitleElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement)\n\n*This API requires the following crate features to be activated: `HtmlTitleElement`*" ] # [ repr ( transparent ) ] pub struct HtmlTitleElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlTitleElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlTitleElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlTitleElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlTitleElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlTitleElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlTitleElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlTitleElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlTitleElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlTitleElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlTitleElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlTitleElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlTitleElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlTitleElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlTitleElement { HtmlTitleElement { obj } } } impl AsRef < JsValue > for HtmlTitleElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlTitleElement > for JsValue { # [ inline ] fn from ( obj : HtmlTitleElement ) -> JsValue { obj . obj } } impl JsCast for HtmlTitleElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLTitleElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLTitleElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlTitleElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlTitleElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlTitleElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlTitleElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlTitleElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlTitleElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTitleElement > for Element { # [ inline ] fn from ( obj : HtmlTitleElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlTitleElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTitleElement > for Node { # [ inline ] fn from ( obj : HtmlTitleElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlTitleElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTitleElement > for EventTarget { # [ inline ] fn from ( obj : HtmlTitleElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlTitleElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTitleElement > for Object { # [ inline ] fn from ( obj : HtmlTitleElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlTitleElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_HTMLTitleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTitleElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTitleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement/text)\n\n*This API requires the following crate features to be activated: `HtmlTitleElement`*" ] pub fn text ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_HTMLTitleElement ( self_ : < & HtmlTitleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTitleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_HTMLTitleElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement/text)\n\n*This API requires the following crate features to be activated: `HtmlTitleElement`*" ] pub fn text ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_text_HTMLTitleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTitleElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTitleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement/text)\n\n*This API requires the following crate features to be activated: `HtmlTitleElement`*" ] pub fn set_text ( & self , text : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_text_HTMLTitleElement ( self_ : < & HtmlTitleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTitleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_set_text_HTMLTitleElement ( self_ , text , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement/text)\n\n*This API requires the following crate features to be activated: `HtmlTitleElement`*" ] pub fn set_text ( & self , text : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLTrackElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] # [ repr ( transparent ) ] pub struct HtmlTrackElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlTrackElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlTrackElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlTrackElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlTrackElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlTrackElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlTrackElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlTrackElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlTrackElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlTrackElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlTrackElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlTrackElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlTrackElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlTrackElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlTrackElement { HtmlTrackElement { obj } } } impl AsRef < JsValue > for HtmlTrackElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlTrackElement > for JsValue { # [ inline ] fn from ( obj : HtmlTrackElement ) -> JsValue { obj . obj } } impl JsCast for HtmlTrackElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLTrackElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLTrackElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlTrackElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlTrackElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlTrackElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlTrackElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlTrackElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlTrackElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTrackElement > for Element { # [ inline ] fn from ( obj : HtmlTrackElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlTrackElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTrackElement > for Node { # [ inline ] fn from ( obj : HtmlTrackElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlTrackElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTrackElement > for EventTarget { # [ inline ] fn from ( obj : HtmlTrackElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlTrackElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlTrackElement > for Object { # [ inline ] fn from ( obj : HtmlTrackElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlTrackElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kind_HTMLTrackElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTrackElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTrackElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/kind)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn kind ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kind_HTMLTrackElement ( self_ : < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kind_HTMLTrackElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/kind)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn kind ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_kind_HTMLTrackElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTrackElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTrackElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kind` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/kind)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn set_kind ( & self , kind : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_kind_HTMLTrackElement ( self_ : < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , kind : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let kind = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( kind , & mut __stack ) ; __widl_f_set_kind_HTMLTrackElement ( self_ , kind ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kind` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/kind)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn set_kind ( & self , kind : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_src_HTMLTrackElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTrackElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTrackElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/src)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn src ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_src_HTMLTrackElement ( self_ : < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_src_HTMLTrackElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/src)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn src ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_src_HTMLTrackElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTrackElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTrackElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/src)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn set_src ( & self , src : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_src_HTMLTrackElement ( self_ : < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; __widl_f_set_src_HTMLTrackElement ( self_ , src ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/src)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn set_src ( & self , src : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_srclang_HTMLTrackElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTrackElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTrackElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `srclang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/srclang)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn srclang ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_srclang_HTMLTrackElement ( self_ : < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_srclang_HTMLTrackElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `srclang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/srclang)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn srclang ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_srclang_HTMLTrackElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTrackElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTrackElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `srclang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/srclang)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn set_srclang ( & self , srclang : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_srclang_HTMLTrackElement ( self_ : < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , srclang : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let srclang = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( srclang , & mut __stack ) ; __widl_f_set_srclang_HTMLTrackElement ( self_ , srclang ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `srclang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/srclang)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn set_srclang ( & self , srclang : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_label_HTMLTrackElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTrackElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlTrackElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/label)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn label ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_label_HTMLTrackElement ( self_ : < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_label_HTMLTrackElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/label)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn label ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_label_HTMLTrackElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTrackElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTrackElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/label)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn set_label ( & self , label : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_label_HTMLTrackElement ( self_ : < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_set_label_HTMLTrackElement ( self_ , label ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/label)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn set_label ( & self , label : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_HTMLTrackElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTrackElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlTrackElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `default` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/default)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn default ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_HTMLTrackElement ( self_ : < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_HTMLTrackElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `default` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/default)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn default ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_default_HTMLTrackElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlTrackElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlTrackElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `default` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/default)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn set_default ( & self , default : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_default_HTMLTrackElement ( self_ : < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , default : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let default = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( default , & mut __stack ) ; __widl_f_set_default_HTMLTrackElement ( self_ , default ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `default` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/default)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn set_default ( & self , default : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_state_HTMLTrackElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTrackElement as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl HtmlTrackElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/readyState)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn ready_state ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_state_HTMLTrackElement ( self_ : < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_state_HTMLTrackElement ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/readyState)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`*" ] pub fn ready_state ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_track_HTMLTrackElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlTrackElement as WasmDescribe > :: describe ( ) ; < Option < TextTrack > as WasmDescribe > :: describe ( ) ; } impl HtmlTrackElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/track)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`, `TextTrack`*" ] pub fn track ( & self , ) -> Option < TextTrack > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_track_HTMLTrackElement ( self_ : < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < TextTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlTrackElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_track_HTMLTrackElement ( self_ ) } ; < Option < TextTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/track)\n\n*This API requires the following crate features to be activated: `HtmlTrackElement`, `TextTrack`*" ] pub fn track ( & self , ) -> Option < TextTrack > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLUListElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement)\n\n*This API requires the following crate features to be activated: `HtmlUListElement`*" ] # [ repr ( transparent ) ] pub struct HtmlUListElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlUListElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlUListElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlUListElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlUListElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlUListElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlUListElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlUListElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlUListElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlUListElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlUListElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlUListElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlUListElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlUListElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlUListElement { HtmlUListElement { obj } } } impl AsRef < JsValue > for HtmlUListElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlUListElement > for JsValue { # [ inline ] fn from ( obj : HtmlUListElement ) -> JsValue { obj . obj } } impl JsCast for HtmlUListElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLUListElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLUListElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlUListElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlUListElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlUListElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlUListElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlUListElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlUListElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlUListElement > for Element { # [ inline ] fn from ( obj : HtmlUListElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlUListElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlUListElement > for Node { # [ inline ] fn from ( obj : HtmlUListElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlUListElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlUListElement > for EventTarget { # [ inline ] fn from ( obj : HtmlUListElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlUListElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlUListElement > for Object { # [ inline ] fn from ( obj : HtmlUListElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlUListElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compact_HTMLUListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlUListElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl HtmlUListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compact` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlUListElement`*" ] pub fn compact ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compact_HTMLUListElement ( self_ : < & HtmlUListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlUListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_compact_HTMLUListElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compact` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlUListElement`*" ] pub fn compact ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_compact_HTMLUListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlUListElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlUListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compact` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlUListElement`*" ] pub fn set_compact ( & self , compact : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_compact_HTMLUListElement ( self_ : < & HtmlUListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , compact : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlUListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let compact = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( compact , & mut __stack ) ; __widl_f_set_compact_HTMLUListElement ( self_ , compact ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compact` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/compact)\n\n*This API requires the following crate features to be activated: `HtmlUListElement`*" ] pub fn set_compact ( & self , compact : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_HTMLUListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlUListElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlUListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/type)\n\n*This API requires the following crate features to be activated: `HtmlUListElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_HTMLUListElement ( self_ : < & HtmlUListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlUListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_HTMLUListElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/type)\n\n*This API requires the following crate features to be activated: `HtmlUListElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_HTMLUListElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlUListElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlUListElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/type)\n\n*This API requires the following crate features to be activated: `HtmlUListElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_HTMLUListElement ( self_ : < & HtmlUListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlUListElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_HTMLUListElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement/type)\n\n*This API requires the following crate features to be activated: `HtmlUListElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLUnknownElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement)\n\n*This API requires the following crate features to be activated: `HtmlUnknownElement`*" ] # [ repr ( transparent ) ] pub struct HtmlUnknownElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlUnknownElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlUnknownElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlUnknownElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlUnknownElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlUnknownElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlUnknownElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlUnknownElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlUnknownElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlUnknownElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlUnknownElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlUnknownElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlUnknownElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlUnknownElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlUnknownElement { HtmlUnknownElement { obj } } } impl AsRef < JsValue > for HtmlUnknownElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlUnknownElement > for JsValue { # [ inline ] fn from ( obj : HtmlUnknownElement ) -> JsValue { obj . obj } } impl JsCast for HtmlUnknownElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLUnknownElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLUnknownElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlUnknownElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlUnknownElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlUnknownElement { type Target = HtmlElement ; # [ inline ] fn deref ( & self ) -> & HtmlElement { self . as_ref ( ) } } impl From < HtmlUnknownElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlUnknownElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlUnknownElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlUnknownElement > for Element { # [ inline ] fn from ( obj : HtmlUnknownElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlUnknownElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlUnknownElement > for Node { # [ inline ] fn from ( obj : HtmlUnknownElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlUnknownElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlUnknownElement > for EventTarget { # [ inline ] fn from ( obj : HtmlUnknownElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlUnknownElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlUnknownElement > for Object { # [ inline ] fn from ( obj : HtmlUnknownElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlUnknownElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HTMLVideoElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] # [ repr ( transparent ) ] pub struct HtmlVideoElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HtmlVideoElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HtmlVideoElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HtmlVideoElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HtmlVideoElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HtmlVideoElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HtmlVideoElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HtmlVideoElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HtmlVideoElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HtmlVideoElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HtmlVideoElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HtmlVideoElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HtmlVideoElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HtmlVideoElement { # [ inline ] fn from ( obj : JsValue ) -> HtmlVideoElement { HtmlVideoElement { obj } } } impl AsRef < JsValue > for HtmlVideoElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HtmlVideoElement > for JsValue { # [ inline ] fn from ( obj : HtmlVideoElement ) -> JsValue { obj . obj } } impl JsCast for HtmlVideoElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HTMLVideoElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HTMLVideoElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HtmlVideoElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HtmlVideoElement ) } } } ( ) } ; impl core :: ops :: Deref for HtmlVideoElement { type Target = HtmlMediaElement ; # [ inline ] fn deref ( & self ) -> & HtmlMediaElement { self . as_ref ( ) } } impl From < HtmlVideoElement > for HtmlMediaElement { # [ inline ] fn from ( obj : HtmlVideoElement ) -> HtmlMediaElement { use wasm_bindgen :: JsCast ; HtmlMediaElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlMediaElement > for HtmlVideoElement { # [ inline ] fn as_ref ( & self ) -> & HtmlMediaElement { use wasm_bindgen :: JsCast ; HtmlMediaElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlVideoElement > for HtmlElement { # [ inline ] fn from ( obj : HtmlVideoElement ) -> HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < HtmlElement > for HtmlVideoElement { # [ inline ] fn as_ref ( & self ) -> & HtmlElement { use wasm_bindgen :: JsCast ; HtmlElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlVideoElement > for Element { # [ inline ] fn from ( obj : HtmlVideoElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for HtmlVideoElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlVideoElement > for Node { # [ inline ] fn from ( obj : HtmlVideoElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for HtmlVideoElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlVideoElement > for EventTarget { # [ inline ] fn from ( obj : HtmlVideoElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for HtmlVideoElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HtmlVideoElement > for Object { # [ inline ] fn from ( obj : HtmlVideoElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HtmlVideoElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_video_playback_quality_HTMLVideoElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < VideoPlaybackQuality as WasmDescribe > :: describe ( ) ; } impl HtmlVideoElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getVideoPlaybackQuality()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/getVideoPlaybackQuality)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `VideoPlaybackQuality`*" ] pub fn get_video_playback_quality ( & self , ) -> VideoPlaybackQuality { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_video_playback_quality_HTMLVideoElement ( self_ : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < VideoPlaybackQuality as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_video_playback_quality_HTMLVideoElement ( self_ ) } ; < VideoPlaybackQuality as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getVideoPlaybackQuality()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/getVideoPlaybackQuality)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `VideoPlaybackQuality`*" ] pub fn get_video_playback_quality ( & self , ) -> VideoPlaybackQuality { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_HTMLVideoElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlVideoElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/width)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn width ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_HTMLVideoElement ( self_ : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_HTMLVideoElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/width)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn width ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_HTMLVideoElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlVideoElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/width)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn set_width ( & self , width : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_HTMLVideoElement ( self_ : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_HTMLVideoElement ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/width)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn set_width ( & self , width : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_HTMLVideoElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlVideoElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/height)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn height ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_HTMLVideoElement ( self_ : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_HTMLVideoElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/height)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn height ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_height_HTMLVideoElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlVideoElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/height)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn set_height ( & self , height : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_height_HTMLVideoElement ( self_ : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let height = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_set_height_HTMLVideoElement ( self_ , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/height)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn set_height ( & self , height : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_video_width_HTMLVideoElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlVideoElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `videoWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/videoWidth)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn video_width ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_video_width_HTMLVideoElement ( self_ : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_video_width_HTMLVideoElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `videoWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/videoWidth)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn video_width ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_video_height_HTMLVideoElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl HtmlVideoElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `videoHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/videoHeight)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn video_height ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_video_height_HTMLVideoElement ( self_ : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_video_height_HTMLVideoElement ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `videoHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/videoHeight)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn video_height ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_poster_HTMLVideoElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HtmlVideoElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `poster` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/poster)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn poster ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_poster_HTMLVideoElement ( self_ : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_poster_HTMLVideoElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `poster` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/poster)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn poster ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_poster_HTMLVideoElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HtmlVideoElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `poster` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/poster)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn set_poster ( & self , poster : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_poster_HTMLVideoElement ( self_ : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , poster : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let poster = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( poster , & mut __stack ) ; __widl_f_set_poster_HTMLVideoElement ( self_ , poster ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `poster` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/poster)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`*" ] pub fn set_poster ( & self , poster : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `HashChangeEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] # [ repr ( transparent ) ] pub struct HashChangeEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_HashChangeEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for HashChangeEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for HashChangeEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for HashChangeEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a HashChangeEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for HashChangeEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { HashChangeEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for HashChangeEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a HashChangeEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for HashChangeEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < HashChangeEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( HashChangeEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for HashChangeEvent { # [ inline ] fn from ( obj : JsValue ) -> HashChangeEvent { HashChangeEvent { obj } } } impl AsRef < JsValue > for HashChangeEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < HashChangeEvent > for JsValue { # [ inline ] fn from ( obj : HashChangeEvent ) -> JsValue { obj . obj } } impl JsCast for HashChangeEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_HashChangeEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_HashChangeEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HashChangeEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HashChangeEvent ) } } } ( ) } ; impl core :: ops :: Deref for HashChangeEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < HashChangeEvent > for Event { # [ inline ] fn from ( obj : HashChangeEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for HashChangeEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < HashChangeEvent > for Object { # [ inline ] fn from ( obj : HashChangeEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for HashChangeEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_HashChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < HashChangeEvent as WasmDescribe > :: describe ( ) ; } impl HashChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new HashChangeEvent(..)` constructor, creating a new instance of `HashChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/HashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn new ( type_ : & str ) -> Result < HashChangeEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_HashChangeEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HashChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_HashChangeEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HashChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new HashChangeEvent(..)` constructor, creating a new instance of `HashChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/HashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn new ( type_ : & str ) -> Result < HashChangeEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_HashChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & HashChangeEventInit as WasmDescribe > :: describe ( ) ; < HashChangeEvent as WasmDescribe > :: describe ( ) ; } impl HashChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new HashChangeEvent(..)` constructor, creating a new instance of `HashChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/HashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`, `HashChangeEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & HashChangeEventInit ) -> Result < HashChangeEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_HashChangeEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & HashChangeEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < HashChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & HashChangeEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_HashChangeEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < HashChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new HashChangeEvent(..)` constructor, creating a new instance of `HashChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/HashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`, `HashChangeEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & HashChangeEventInit ) -> Result < HashChangeEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_hash_change_event_HashChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & HashChangeEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HashChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initHashChangeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn init_hash_change_event ( & self , type_arg : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_hash_change_event_HashChangeEvent ( self_ : < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; __widl_f_init_hash_change_event_HashChangeEvent ( self_ , type_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initHashChangeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn init_hash_change_event ( & self , type_arg : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_hash_change_event_with_can_bubble_arg_HashChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & HashChangeEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HashChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initHashChangeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn init_hash_change_event_with_can_bubble_arg ( & self , type_arg : & str , can_bubble_arg : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_hash_change_event_with_can_bubble_arg_HashChangeEvent ( self_ : < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; __widl_f_init_hash_change_event_with_can_bubble_arg_HashChangeEvent ( self_ , type_arg , can_bubble_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initHashChangeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn init_hash_change_event_with_can_bubble_arg ( & self , type_arg : & str , can_bubble_arg : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_HashChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & HashChangeEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HashChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initHashChangeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_HashChangeEvent ( self_ : < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; __widl_f_init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_HashChangeEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initHashChangeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg_HashChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & HashChangeEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HashChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initHashChangeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , old_url_arg : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg_HashChangeEvent ( self_ : < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , old_url_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let old_url_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( old_url_arg , & mut __stack ) ; __widl_f_init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg_HashChangeEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , old_url_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initHashChangeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , old_url_arg : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg_and_new_url_arg_HashChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & HashChangeEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl HashChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initHashChangeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg_and_new_url_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , old_url_arg : & str , new_url_arg : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg_and_new_url_arg_HashChangeEvent ( self_ : < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , old_url_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_url_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let old_url_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( old_url_arg , & mut __stack ) ; let new_url_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_url_arg , & mut __stack ) ; __widl_f_init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg_and_new_url_arg_HashChangeEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , old_url_arg , new_url_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initHashChangeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/initHashChangeEvent)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg_and_new_url_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , old_url_arg : & str , new_url_arg : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_old_url_HashChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HashChangeEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HashChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oldURL` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/oldURL)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn old_url ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_old_url_HashChangeEvent ( self_ : < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_old_url_HashChangeEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oldURL` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/oldURL)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn old_url ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_url_HashChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & HashChangeEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl HashChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `newURL` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/newURL)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn new_url ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_url_HashChangeEvent ( self_ : < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & HashChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_new_url_HashChangeEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `newURL` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/newURL)\n\n*This API requires the following crate features to be activated: `HashChangeEvent`*" ] pub fn new_url ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Headers` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers)\n\n*This API requires the following crate features to be activated: `Headers`*" ] # [ repr ( transparent ) ] pub struct Headers { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Headers : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Headers { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Headers { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Headers { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Headers { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Headers { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Headers { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Headers { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Headers { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Headers { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Headers > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Headers { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Headers { # [ inline ] fn from ( obj : JsValue ) -> Headers { Headers { obj } } } impl AsRef < JsValue > for Headers { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Headers > for JsValue { # [ inline ] fn from ( obj : Headers ) -> JsValue { obj . obj } } impl JsCast for Headers { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Headers ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Headers ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Headers { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Headers ) } } } ( ) } ; impl core :: ops :: Deref for Headers { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Headers > for Object { # [ inline ] fn from ( obj : Headers ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Headers { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Headers ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < Headers as WasmDescribe > :: describe ( ) ; } impl Headers { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Headers(..)` constructor, creating a new instance of `Headers`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/Headers)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn new ( ) -> Result < Headers , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Headers ( exn_data_ptr : * mut u32 ) -> < Headers as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_Headers ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Headers as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Headers(..)` constructor, creating a new instance of `Headers`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/Headers)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn new ( ) -> Result < Headers , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_headers_Headers ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Headers as WasmDescribe > :: describe ( ) ; < Headers as WasmDescribe > :: describe ( ) ; } impl Headers { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Headers(..)` constructor, creating a new instance of `Headers`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/Headers)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn new_with_headers ( init : & Headers ) -> Result < Headers , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_headers_Headers ( init : < & Headers as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Headers as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let init = < & Headers as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_new_with_headers_Headers ( init , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Headers as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Headers(..)` constructor, creating a new instance of `Headers`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/Headers)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn new_with_headers ( init : & Headers ) -> Result < Headers , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_Headers ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Headers as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Headers { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/append)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn append ( & self , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_Headers ( self_ : < & Headers as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Headers as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_append_Headers ( self_ , name , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/append)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn append ( & self , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_Headers ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Headers as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Headers { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/delete)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn delete ( & self , name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_Headers ( self_ : < & Headers as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Headers as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_delete_Headers ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/delete)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn delete ( & self , name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_Headers ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Headers as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Headers { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/get)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn get ( & self , name : & str ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_Headers ( self_ : < & Headers as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Headers as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_Headers ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/get)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn get ( & self , name : & str ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_Headers ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Headers as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Headers { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/has)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn has ( & self , name : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_Headers ( self_ : < & Headers as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Headers as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_has_Headers ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/has)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn has ( & self , name : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_Headers ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Headers as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Headers { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `set()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/set)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn set ( & self , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_Headers ( self_ : < & Headers as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Headers as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_Headers ( self_ , name , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `set()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Headers/set)\n\n*This API requires the following crate features to be activated: `Headers`*" ] pub fn set ( & self , name : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `History` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History)\n\n*This API requires the following crate features to be activated: `History`*" ] # [ repr ( transparent ) ] pub struct History { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_History : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for History { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for History { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for History { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a History { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for History { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { History { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for History { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a History { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for History { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < History > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( History { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for History { # [ inline ] fn from ( obj : JsValue ) -> History { History { obj } } } impl AsRef < JsValue > for History { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < History > for JsValue { # [ inline ] fn from ( obj : History ) -> JsValue { obj . obj } } impl JsCast for History { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_History ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_History ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { History { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const History ) } } } ( ) } ; impl core :: ops :: Deref for History { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < History > for Object { # [ inline ] fn from ( obj : History ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for History { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_back_History ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & History as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl History { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `back()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/back)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn back ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_back_History ( self_ : < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_back_History ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `back()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/back)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn back ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_forward_History ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & History as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl History { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `forward()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/forward)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn forward ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_forward_History ( self_ : < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_forward_History ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `forward()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/forward)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn forward ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_go_History ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & History as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl History { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `go()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/go)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn go ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_go_History ( self_ : < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_go_History ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `go()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/go)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn go ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_go_with_delta_History ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & History as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl History { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `go()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/go)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn go_with_delta ( & self , delta : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_go_with_delta_History ( self_ : < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , delta : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let delta = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( delta , & mut __stack ) ; __widl_f_go_with_delta_History ( self_ , delta , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `go()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/go)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn go_with_delta ( & self , delta : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_push_state_History ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & History as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl History { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pushState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/pushState)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn push_state ( & self , data : & :: wasm_bindgen :: JsValue , title : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_push_state_History ( self_ : < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; __widl_f_push_state_History ( self_ , data , title , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pushState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/pushState)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn push_state ( & self , data : & :: wasm_bindgen :: JsValue , title : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_push_state_with_url_History ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & History as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl History { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pushState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/pushState)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn push_state_with_url ( & self , data : & :: wasm_bindgen :: JsValue , title : & str , url : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_push_state_with_url_History ( self_ : < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; let url = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_push_state_with_url_History ( self_ , data , title , url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pushState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/pushState)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn push_state_with_url ( & self , data : & :: wasm_bindgen :: JsValue , title : & str , url : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_state_History ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & History as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl History { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn replace_state ( & self , data : & :: wasm_bindgen :: JsValue , title : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_state_History ( self_ : < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; __widl_f_replace_state_History ( self_ , data , title , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn replace_state ( & self , data : & :: wasm_bindgen :: JsValue , title : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_state_with_url_History ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & History as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl History { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn replace_state_with_url ( & self , data : & :: wasm_bindgen :: JsValue , title : & str , url : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_state_with_url_History ( self_ : < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; let url = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_replace_state_with_url_History ( self_ , data , title , url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn replace_state_with_url ( & self , data : & :: wasm_bindgen :: JsValue , title : & str , url : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_History ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & History as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl History { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/length)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn length ( & self , ) -> Result < u32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_History ( self_ : < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_History ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/length)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn length ( & self , ) -> Result < u32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_restoration_History ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & History as WasmDescribe > :: describe ( ) ; < ScrollRestoration as WasmDescribe > :: describe ( ) ; } impl History { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollRestoration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/scrollRestoration)\n\n*This API requires the following crate features to be activated: `History`, `ScrollRestoration`*" ] pub fn scroll_restoration ( & self , ) -> Result < ScrollRestoration , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_restoration_History ( self_ : < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ScrollRestoration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_restoration_History ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ScrollRestoration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollRestoration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/scrollRestoration)\n\n*This API requires the following crate features to be activated: `History`, `ScrollRestoration`*" ] pub fn scroll_restoration ( & self , ) -> Result < ScrollRestoration , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_scroll_restoration_History ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & History as WasmDescribe > :: describe ( ) ; < ScrollRestoration as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl History { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollRestoration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/scrollRestoration)\n\n*This API requires the following crate features to be activated: `History`, `ScrollRestoration`*" ] pub fn set_scroll_restoration ( & self , scroll_restoration : ScrollRestoration ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_scroll_restoration_History ( self_ : < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scroll_restoration : < ScrollRestoration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scroll_restoration = < ScrollRestoration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scroll_restoration , & mut __stack ) ; __widl_f_set_scroll_restoration_History ( self_ , scroll_restoration , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollRestoration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/scrollRestoration)\n\n*This API requires the following crate features to be activated: `History`, `ScrollRestoration`*" ] pub fn set_scroll_restoration ( & self , scroll_restoration : ScrollRestoration ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_state_History ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & History as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl History { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/state)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn state ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_state_History ( self_ : < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & History as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_state_History ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/History/state)\n\n*This API requires the following crate features to be activated: `History`*" ] pub fn state ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBCursor` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] # [ repr ( transparent ) ] pub struct IdbCursor { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbCursor : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbCursor { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbCursor { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbCursor { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbCursor { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbCursor { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbCursor { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbCursor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbCursor { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbCursor { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbCursor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbCursor { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbCursor { # [ inline ] fn from ( obj : JsValue ) -> IdbCursor { IdbCursor { obj } } } impl AsRef < JsValue > for IdbCursor { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbCursor > for JsValue { # [ inline ] fn from ( obj : IdbCursor ) -> JsValue { obj . obj } } impl JsCast for IdbCursor { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBCursor ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBCursor ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbCursor { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbCursor ) } } } ( ) } ; impl core :: ops :: Deref for IdbCursor { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < IdbCursor > for Object { # [ inline ] fn from ( obj : IdbCursor ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbCursor { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_advance_IDBCursor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbCursor as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbCursor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `advance()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/advance)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn advance ( & self , count : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_advance_IDBCursor ( self_ : < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let count = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; __widl_f_advance_IDBCursor ( self_ , count , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `advance()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/advance)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn advance ( & self , count : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_continue_IDBCursor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbCursor as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbCursor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `continue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continue)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn continue_ ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_continue_IDBCursor ( self_ : < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_continue_IDBCursor ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `continue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continue)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn continue_ ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_continue_with_key_IDBCursor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbCursor as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbCursor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `continue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continue)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn continue_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_continue_with_key_IDBCursor ( self_ : < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_continue_with_key_IDBCursor ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `continue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continue)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn continue_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_continue_primary_key_IDBCursor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbCursor as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbCursor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `continuePrimaryKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continuePrimaryKey)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn continue_primary_key ( & self , key : & :: wasm_bindgen :: JsValue , primary_key : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_continue_primary_key_IDBCursor ( self_ : < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , primary_key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let primary_key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( primary_key , & mut __stack ) ; __widl_f_continue_primary_key_IDBCursor ( self_ , key , primary_key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `continuePrimaryKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continuePrimaryKey)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn continue_primary_key ( & self , key : & :: wasm_bindgen :: JsValue , primary_key : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_IDBCursor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbCursor as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbCursor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/delete)\n\n*This API requires the following crate features to be activated: `IdbCursor`, `IdbRequest`*" ] pub fn delete ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_IDBCursor ( self_ : < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_delete_IDBCursor ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/delete)\n\n*This API requires the following crate features to be activated: `IdbCursor`, `IdbRequest`*" ] pub fn delete ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_update_IDBCursor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbCursor as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbCursor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `update()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/update)\n\n*This API requires the following crate features to be activated: `IdbCursor`, `IdbRequest`*" ] pub fn update ( & self , value : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_update_IDBCursor ( self_ : < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_update_IDBCursor ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `update()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/update)\n\n*This API requires the following crate features to be activated: `IdbCursor`, `IdbRequest`*" ] pub fn update ( & self , value : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_source_IDBCursor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbCursor as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl IdbCursor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `source` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/source)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn source ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_source_IDBCursor ( self_ : < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_source_IDBCursor ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `source` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/source)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn source ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_direction_IDBCursor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbCursor as WasmDescribe > :: describe ( ) ; < IdbCursorDirection as WasmDescribe > :: describe ( ) ; } impl IdbCursor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `direction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/direction)\n\n*This API requires the following crate features to be activated: `IdbCursor`, `IdbCursorDirection`*" ] pub fn direction ( & self , ) -> IdbCursorDirection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_direction_IDBCursor ( self_ : < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < IdbCursorDirection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_direction_IDBCursor ( self_ ) } ; < IdbCursorDirection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `direction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/direction)\n\n*This API requires the following crate features to be activated: `IdbCursor`, `IdbCursorDirection`*" ] pub fn direction ( & self , ) -> IdbCursorDirection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_key_IDBCursor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbCursor as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl IdbCursor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `key` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/key)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn key ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_key_IDBCursor ( self_ : < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_key_IDBCursor ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `key` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/key)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn key ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_primary_key_IDBCursor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbCursor as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl IdbCursor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `primaryKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/primaryKey)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn primary_key ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_primary_key_IDBCursor ( self_ : < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbCursor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_primary_key_IDBCursor ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `primaryKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/primaryKey)\n\n*This API requires the following crate features to be activated: `IdbCursor`*" ] pub fn primary_key ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBCursorWithValue` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursorWithValue)\n\n*This API requires the following crate features to be activated: `IdbCursorWithValue`*" ] # [ repr ( transparent ) ] pub struct IdbCursorWithValue { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbCursorWithValue : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbCursorWithValue { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbCursorWithValue { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbCursorWithValue { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbCursorWithValue { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbCursorWithValue { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbCursorWithValue { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbCursorWithValue { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbCursorWithValue { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbCursorWithValue { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbCursorWithValue > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbCursorWithValue { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbCursorWithValue { # [ inline ] fn from ( obj : JsValue ) -> IdbCursorWithValue { IdbCursorWithValue { obj } } } impl AsRef < JsValue > for IdbCursorWithValue { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbCursorWithValue > for JsValue { # [ inline ] fn from ( obj : IdbCursorWithValue ) -> JsValue { obj . obj } } impl JsCast for IdbCursorWithValue { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBCursorWithValue ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBCursorWithValue ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbCursorWithValue { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbCursorWithValue ) } } } ( ) } ; impl core :: ops :: Deref for IdbCursorWithValue { type Target = IdbCursor ; # [ inline ] fn deref ( & self ) -> & IdbCursor { self . as_ref ( ) } } impl From < IdbCursorWithValue > for IdbCursor { # [ inline ] fn from ( obj : IdbCursorWithValue ) -> IdbCursor { use wasm_bindgen :: JsCast ; IdbCursor :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < IdbCursor > for IdbCursorWithValue { # [ inline ] fn as_ref ( & self ) -> & IdbCursor { use wasm_bindgen :: JsCast ; IdbCursor :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IdbCursorWithValue > for Object { # [ inline ] fn from ( obj : IdbCursorWithValue ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbCursorWithValue { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_IDBCursorWithValue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbCursorWithValue as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl IdbCursorWithValue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursorWithValue/value)\n\n*This API requires the following crate features to be activated: `IdbCursorWithValue`*" ] pub fn value ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_IDBCursorWithValue ( self_ : < & IdbCursorWithValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbCursorWithValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_IDBCursorWithValue ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBCursorWithValue/value)\n\n*This API requires the following crate features to be activated: `IdbCursorWithValue`*" ] pub fn value ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBDatabase` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] # [ repr ( transparent ) ] pub struct IdbDatabase { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbDatabase : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbDatabase { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbDatabase { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbDatabase { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbDatabase { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbDatabase { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbDatabase { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbDatabase { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbDatabase { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbDatabase { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbDatabase > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbDatabase { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbDatabase { # [ inline ] fn from ( obj : JsValue ) -> IdbDatabase { IdbDatabase { obj } } } impl AsRef < JsValue > for IdbDatabase { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbDatabase > for JsValue { # [ inline ] fn from ( obj : IdbDatabase ) -> JsValue { obj . obj } } impl JsCast for IdbDatabase { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBDatabase ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBDatabase ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbDatabase { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbDatabase ) } } } ( ) } ; impl core :: ops :: Deref for IdbDatabase { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < IdbDatabase > for EventTarget { # [ inline ] fn from ( obj : IdbDatabase ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for IdbDatabase { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IdbDatabase > for Object { # [ inline ] fn from ( obj : IdbDatabase ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbDatabase { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/close)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_IDBDatabase ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/close)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_mutable_file_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createMutableFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/createMutableFile)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbRequest`*" ] pub fn create_mutable_file ( & self , name : & str ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_mutable_file_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_create_mutable_file_IDBDatabase ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createMutableFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/createMutableFile)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbRequest`*" ] pub fn create_mutable_file ( & self , name : & str ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_mutable_file_with_type_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createMutableFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/createMutableFile)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbRequest`*" ] pub fn create_mutable_file_with_type ( & self , name : & str , type_ : & str ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_mutable_file_with_type_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_create_mutable_file_with_type_IDBDatabase ( self_ , name , type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createMutableFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/createMutableFile)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbRequest`*" ] pub fn create_mutable_file_with_type ( & self , name : & str , type_ : & str ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_object_store_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < IdbObjectStore as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createObjectStore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/createObjectStore)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbObjectStore`*" ] pub fn create_object_store ( & self , name : & str ) -> Result < IdbObjectStore , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_object_store_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbObjectStore as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_create_object_store_IDBDatabase ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbObjectStore as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createObjectStore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/createObjectStore)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbObjectStore`*" ] pub fn create_object_store ( & self , name : & str ) -> Result < IdbObjectStore , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_object_store_with_optional_parameters_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & IdbObjectStoreParameters as WasmDescribe > :: describe ( ) ; < IdbObjectStore as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createObjectStore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/createObjectStore)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbObjectStore`, `IdbObjectStoreParameters`*" ] pub fn create_object_store_with_optional_parameters ( & self , name : & str , optional_parameters : & IdbObjectStoreParameters ) -> Result < IdbObjectStore , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_object_store_with_optional_parameters_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , optional_parameters : < & IdbObjectStoreParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbObjectStore as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let optional_parameters = < & IdbObjectStoreParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( optional_parameters , & mut __stack ) ; __widl_f_create_object_store_with_optional_parameters_IDBDatabase ( self_ , name , optional_parameters , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbObjectStore as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createObjectStore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/createObjectStore)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbObjectStore`, `IdbObjectStoreParameters`*" ] pub fn create_object_store_with_optional_parameters ( & self , name : & str , optional_parameters : & IdbObjectStoreParameters ) -> Result < IdbObjectStore , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_object_store_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteObjectStore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/deleteObjectStore)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn delete_object_store ( & self , name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_object_store_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_delete_object_store_IDBDatabase ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteObjectStore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/deleteObjectStore)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn delete_object_store ( & self , name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transaction_with_str_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < IdbTransaction as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transaction()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/transaction)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbTransaction`*" ] pub fn transaction_with_str ( & self , store_names : & str ) -> Result < IdbTransaction , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transaction_with_str_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , store_names : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbTransaction as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let store_names = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( store_names , & mut __stack ) ; __widl_f_transaction_with_str_IDBDatabase ( self_ , store_names , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbTransaction as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transaction()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/transaction)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbTransaction`*" ] pub fn transaction_with_str ( & self , store_names : & str ) -> Result < IdbTransaction , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transaction_with_str_and_mode_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < IdbTransactionMode as WasmDescribe > :: describe ( ) ; < IdbTransaction as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transaction()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/transaction)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbTransaction`, `IdbTransactionMode`*" ] pub fn transaction_with_str_and_mode ( & self , store_names : & str , mode : IdbTransactionMode ) -> Result < IdbTransaction , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transaction_with_str_and_mode_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , store_names : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < IdbTransactionMode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbTransaction as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let store_names = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( store_names , & mut __stack ) ; let mode = < IdbTransactionMode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; __widl_f_transaction_with_str_and_mode_IDBDatabase ( self_ , store_names , mode , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbTransaction as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transaction()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/transaction)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbTransaction`, `IdbTransactionMode`*" ] pub fn transaction_with_str_and_mode ( & self , store_names : & str , mode : IdbTransactionMode ) -> Result < IdbTransaction , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/name)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_IDBDatabase ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/name)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_version_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `version` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/version)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn version ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_version_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_version_IDBDatabase ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `version` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/version)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn version ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_object_store_names_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < DomStringList as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `objectStoreNames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/objectStoreNames)\n\n*This API requires the following crate features to be activated: `DomStringList`, `IdbDatabase`*" ] pub fn object_store_names ( & self , ) -> DomStringList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_object_store_names_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_object_store_names_IDBDatabase ( self_ ) } ; < DomStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `objectStoreNames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/objectStoreNames)\n\n*This API requires the following crate features to be activated: `DomStringList`, `IdbDatabase`*" ] pub fn object_store_names ( & self , ) -> DomStringList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onabort_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onabort)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onabort_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onabort_IDBDatabase ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onabort)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onabort_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onabort)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onabort_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onabort : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onabort = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onabort , & mut __stack ) ; __widl_f_set_onabort_IDBDatabase ( self_ , onabort ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onabort)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclose_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onclose)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclose_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclose_IDBDatabase ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onclose)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclose_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onclose)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclose_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclose : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclose = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclose , & mut __stack ) ; __widl_f_set_onclose_IDBDatabase ( self_ , onclose ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onclose)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onerror)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_IDBDatabase ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onerror)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onerror)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_IDBDatabase ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onerror)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onversionchange_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onversionchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onversionchange)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn onversionchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onversionchange_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onversionchange_IDBDatabase ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onversionchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onversionchange)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn onversionchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onversionchange_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onversionchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onversionchange)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn set_onversionchange ( & self , onversionchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onversionchange_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onversionchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onversionchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onversionchange , & mut __stack ) ; __widl_f_set_onversionchange_IDBDatabase ( self_ , onversionchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onversionchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onversionchange)\n\n*This API requires the following crate features to be activated: `IdbDatabase`*" ] pub fn set_onversionchange ( & self , onversionchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_storage_IDBDatabase ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbDatabase as WasmDescribe > :: describe ( ) ; < StorageType as WasmDescribe > :: describe ( ) ; } impl IdbDatabase { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `storage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/storage)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `StorageType`*" ] pub fn storage ( & self , ) -> StorageType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_storage_IDBDatabase ( self_ : < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < StorageType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbDatabase as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_storage_IDBDatabase ( self_ ) } ; < StorageType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `storage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/storage)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `StorageType`*" ] pub fn storage ( & self , ) -> StorageType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBFactory` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory)\n\n*This API requires the following crate features to be activated: `IdbFactory`*" ] # [ repr ( transparent ) ] pub struct IdbFactory { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbFactory : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbFactory { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbFactory { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbFactory { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbFactory { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbFactory { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbFactory { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbFactory { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbFactory { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbFactory { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbFactory > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbFactory { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbFactory { # [ inline ] fn from ( obj : JsValue ) -> IdbFactory { IdbFactory { obj } } } impl AsRef < JsValue > for IdbFactory { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbFactory > for JsValue { # [ inline ] fn from ( obj : IdbFactory ) -> JsValue { obj . obj } } impl JsCast for IdbFactory { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBFactory ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBFactory ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbFactory { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbFactory ) } } } ( ) } ; impl core :: ops :: Deref for IdbFactory { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < IdbFactory > for Object { # [ inline ] fn from ( obj : IdbFactory ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbFactory { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cmp_IDBFactory ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbFactory as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i16 as WasmDescribe > :: describe ( ) ; } impl IdbFactory { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cmp()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/cmp)\n\n*This API requires the following crate features to be activated: `IdbFactory`*" ] pub fn cmp ( & self , first : & :: wasm_bindgen :: JsValue , second : & :: wasm_bindgen :: JsValue ) -> Result < i16 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cmp_IDBFactory ( self_ : < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , first : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , second : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let first = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( first , & mut __stack ) ; let second = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( second , & mut __stack ) ; __widl_f_cmp_IDBFactory ( self_ , first , second , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cmp()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/cmp)\n\n*This API requires the following crate features to be activated: `IdbFactory`*" ] pub fn cmp ( & self , first : & :: wasm_bindgen :: JsValue , second : & :: wasm_bindgen :: JsValue ) -> Result < i16 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_database_IDBFactory ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFactory as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < IdbOpenDbRequest as WasmDescribe > :: describe ( ) ; } impl IdbFactory { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteDatabase()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/deleteDatabase)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*" ] pub fn delete_database ( & self , name : & str ) -> Result < IdbOpenDbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_database_IDBFactory ( self_ : < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbOpenDbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_delete_database_IDBFactory ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbOpenDbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteDatabase()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/deleteDatabase)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*" ] pub fn delete_database ( & self , name : & str ) -> Result < IdbOpenDbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_database_with_options_IDBFactory ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbFactory as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & IdbOpenDbOptions as WasmDescribe > :: describe ( ) ; < IdbOpenDbRequest as WasmDescribe > :: describe ( ) ; } impl IdbFactory { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteDatabase()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/deleteDatabase)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbOptions`, `IdbOpenDbRequest`*" ] pub fn delete_database_with_options ( & self , name : & str , options : & IdbOpenDbOptions ) -> Result < IdbOpenDbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_database_with_options_IDBFactory ( self_ : < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & IdbOpenDbOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbOpenDbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let options = < & IdbOpenDbOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_delete_database_with_options_IDBFactory ( self_ , name , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbOpenDbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteDatabase()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/deleteDatabase)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbOptions`, `IdbOpenDbRequest`*" ] pub fn delete_database_with_options ( & self , name : & str , options : & IdbOpenDbOptions ) -> Result < IdbOpenDbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_with_u32_IDBFactory ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbFactory as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < IdbOpenDbRequest as WasmDescribe > :: describe ( ) ; } impl IdbFactory { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/open)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*" ] pub fn open_with_u32 ( & self , name : & str , version : u32 ) -> Result < IdbOpenDbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_with_u32_IDBFactory ( self_ : < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , version : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbOpenDbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let version = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( version , & mut __stack ) ; __widl_f_open_with_u32_IDBFactory ( self_ , name , version , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbOpenDbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/open)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*" ] pub fn open_with_u32 ( & self , name : & str , version : u32 ) -> Result < IdbOpenDbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_with_f64_IDBFactory ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbFactory as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < IdbOpenDbRequest as WasmDescribe > :: describe ( ) ; } impl IdbFactory { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/open)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*" ] pub fn open_with_f64 ( & self , name : & str , version : f64 ) -> Result < IdbOpenDbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_with_f64_IDBFactory ( self_ : < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , version : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbOpenDbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let version = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( version , & mut __stack ) ; __widl_f_open_with_f64_IDBFactory ( self_ , name , version , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbOpenDbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/open)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*" ] pub fn open_with_f64 ( & self , name : & str , version : f64 ) -> Result < IdbOpenDbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_IDBFactory ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFactory as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < IdbOpenDbRequest as WasmDescribe > :: describe ( ) ; } impl IdbFactory { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/open)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*" ] pub fn open ( & self , name : & str ) -> Result < IdbOpenDbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_IDBFactory ( self_ : < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbOpenDbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_open_IDBFactory ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbOpenDbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/open)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbRequest`*" ] pub fn open ( & self , name : & str ) -> Result < IdbOpenDbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_with_idb_open_db_options_IDBFactory ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbFactory as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & IdbOpenDbOptions as WasmDescribe > :: describe ( ) ; < IdbOpenDbRequest as WasmDescribe > :: describe ( ) ; } impl IdbFactory { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/open)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbOptions`, `IdbOpenDbRequest`*" ] pub fn open_with_idb_open_db_options ( & self , name : & str , options : & IdbOpenDbOptions ) -> Result < IdbOpenDbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_with_idb_open_db_options_IDBFactory ( self_ : < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & IdbOpenDbOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbOpenDbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFactory as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let options = < & IdbOpenDbOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_open_with_idb_open_db_options_IDBFactory ( self_ , name , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbOpenDbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/open)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `IdbOpenDbOptions`, `IdbOpenDbRequest`*" ] pub fn open_with_idb_open_db_options ( & self , name : & str , options : & IdbOpenDbOptions ) -> Result < IdbOpenDbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBFileHandle` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] # [ repr ( transparent ) ] pub struct IdbFileHandle { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbFileHandle : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbFileHandle { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbFileHandle { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbFileHandle { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbFileHandle { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbFileHandle { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbFileHandle { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbFileHandle { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbFileHandle { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbFileHandle { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbFileHandle > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbFileHandle { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbFileHandle { # [ inline ] fn from ( obj : JsValue ) -> IdbFileHandle { IdbFileHandle { obj } } } impl AsRef < JsValue > for IdbFileHandle { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbFileHandle > for JsValue { # [ inline ] fn from ( obj : IdbFileHandle ) -> JsValue { obj . obj } } impl JsCast for IdbFileHandle { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBFileHandle ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBFileHandle ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbFileHandle { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbFileHandle ) } } } ( ) } ; impl core :: ops :: Deref for IdbFileHandle { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < IdbFileHandle > for EventTarget { # [ inline ] fn from ( obj : IdbFileHandle ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for IdbFileHandle { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IdbFileHandle > for Object { # [ inline ] fn from ( obj : IdbFileHandle ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbFileHandle { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_abort_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/abort)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn abort ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_abort_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_abort_IDBFileHandle ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/abort)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn abort ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_str_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn append_with_str ( & self , value : & str ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_str_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_append_with_str_IDBFileHandle ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn append_with_str ( & self , value : & str ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_array_buffer_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn append_with_array_buffer ( & self , value : & :: js_sys :: ArrayBuffer ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_array_buffer_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_append_with_array_buffer_IDBFileHandle ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn append_with_array_buffer ( & self , value : & :: js_sys :: ArrayBuffer ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_array_buffer_view_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn append_with_array_buffer_view ( & self , value : & :: js_sys :: Object ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_array_buffer_view_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_append_with_array_buffer_view_IDBFileHandle ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn append_with_array_buffer_view ( & self , value : & :: js_sys :: Object ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_u8_array_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn append_with_u8_array ( & self , value : & mut [ u8 ] ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_u8_array_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_append_with_u8_array_IDBFileHandle ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn append_with_u8_array ( & self , value : & mut [ u8 ] ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_with_blob_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)\n\n*This API requires the following crate features to be activated: `Blob`, `IdbFileHandle`, `IdbFileRequest`*" ] pub fn append_with_blob ( & self , value : & Blob ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_with_blob_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_append_with_blob_IDBFileHandle ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/append)\n\n*This API requires the following crate features to be activated: `Blob`, `IdbFileHandle`, `IdbFileRequest`*" ] pub fn append_with_blob ( & self , value : & Blob ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_flush_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `flush()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/flush)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn flush ( & self , ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_flush_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_flush_IDBFileHandle ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `flush()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/flush)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn flush ( & self , ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_metadata_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getMetadata()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/getMetadata)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn get_metadata ( & self , ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_metadata_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_metadata_IDBFileHandle ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getMetadata()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/getMetadata)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn get_metadata ( & self , ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_metadata_with_parameters_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < & IdbFileMetadataParameters as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getMetadata()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/getMetadata)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileMetadataParameters`, `IdbFileRequest`*" ] pub fn get_metadata_with_parameters ( & self , parameters : & IdbFileMetadataParameters ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_metadata_with_parameters_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , parameters : < & IdbFileMetadataParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let parameters = < & IdbFileMetadataParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( parameters , & mut __stack ) ; __widl_f_get_metadata_with_parameters_IDBFileHandle ( self_ , parameters , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getMetadata()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/getMetadata)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileMetadataParameters`, `IdbFileRequest`*" ] pub fn get_metadata_with_parameters ( & self , parameters : & IdbFileMetadataParameters ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_array_buffer_with_u32_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsArrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsArrayBuffer)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn read_as_array_buffer_with_u32 ( & self , size : u32 ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_array_buffer_with_u32_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_read_as_array_buffer_with_u32_IDBFileHandle ( self_ , size , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsArrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsArrayBuffer)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn read_as_array_buffer_with_u32 ( & self , size : u32 ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_array_buffer_with_f64_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsArrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsArrayBuffer)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn read_as_array_buffer_with_f64 ( & self , size : f64 ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_array_buffer_with_f64_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let size = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_read_as_array_buffer_with_f64_IDBFileHandle ( self_ , size , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsArrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsArrayBuffer)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn read_as_array_buffer_with_f64 ( & self , size : f64 ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_text_with_u32_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsText)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn read_as_text_with_u32 ( & self , size : u32 ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_text_with_u32_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_read_as_text_with_u32_IDBFileHandle ( self_ , size , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsText)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn read_as_text_with_u32 ( & self , size : u32 ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_text_with_f64_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsText)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn read_as_text_with_f64 ( & self , size : f64 ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_text_with_f64_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let size = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_read_as_text_with_f64_IDBFileHandle ( self_ , size , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsText)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn read_as_text_with_f64 ( & self , size : f64 ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_text_with_u32_and_encoding_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsText)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn read_as_text_with_u32_and_encoding ( & self , size : u32 , encoding : Option < & str > ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_text_with_u32_and_encoding_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , encoding : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; let encoding = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( encoding , & mut __stack ) ; __widl_f_read_as_text_with_u32_and_encoding_IDBFileHandle ( self_ , size , encoding , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsText)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn read_as_text_with_u32_and_encoding ( & self , size : u32 , encoding : Option < & str > ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_as_text_with_f64_and_encoding_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsText)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn read_as_text_with_f64_and_encoding ( & self , size : f64 , encoding : Option < & str > ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_as_text_with_f64_and_encoding_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , encoding : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let size = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; let encoding = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( encoding , & mut __stack ) ; __widl_f_read_as_text_with_f64_and_encoding_IDBFileHandle ( self_ , size , encoding , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readAsText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/readAsText)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn read_as_text_with_f64_and_encoding ( & self , size : f64 , encoding : Option < & str > ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_truncate_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `truncate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/truncate)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn truncate ( & self , ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_truncate_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_truncate_IDBFileHandle ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `truncate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/truncate)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn truncate ( & self , ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_truncate_with_u32_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `truncate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/truncate)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn truncate_with_u32 ( & self , size : u32 ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_truncate_with_u32_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_truncate_with_u32_IDBFileHandle ( self_ , size , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `truncate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/truncate)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn truncate_with_u32 ( & self , size : u32 ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_truncate_with_f64_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `truncate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/truncate)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn truncate_with_f64 ( & self , size : f64 ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_truncate_with_f64_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let size = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_truncate_with_f64_IDBFileHandle ( self_ , size , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `truncate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/truncate)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn truncate_with_f64 ( & self , size : f64 ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_with_str_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn write_with_str ( & self , value : & str ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_with_str_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_write_with_str_IDBFileHandle ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn write_with_str ( & self , value : & str ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_with_array_buffer_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn write_with_array_buffer ( & self , value : & :: js_sys :: ArrayBuffer ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_with_array_buffer_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_write_with_array_buffer_IDBFileHandle ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn write_with_array_buffer ( & self , value : & :: js_sys :: ArrayBuffer ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_with_array_buffer_view_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn write_with_array_buffer_view ( & self , value : & :: js_sys :: Object ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_with_array_buffer_view_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_write_with_array_buffer_view_IDBFileHandle ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn write_with_array_buffer_view ( & self , value : & :: js_sys :: Object ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_with_u8_array_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn write_with_u8_array ( & self , value : & mut [ u8 ] ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_with_u8_array_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_write_with_u8_array_IDBFileHandle ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn write_with_u8_array ( & self , value : & mut [ u8 ] ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_write_with_blob_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < Option < IdbFileRequest > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)\n\n*This API requires the following crate features to be activated: `Blob`, `IdbFileHandle`, `IdbFileRequest`*" ] pub fn write_with_blob ( & self , value : & Blob ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_write_with_blob_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_write_with_blob_IDBFileHandle ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFileRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `write()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/write)\n\n*This API requires the following crate features to be activated: `Blob`, `IdbFileHandle`, `IdbFileRequest`*" ] pub fn write_with_blob ( & self , value : & Blob ) -> Result < Option < IdbFileRequest > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mutable_file_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < Option < IdbMutableFile > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mutableFile` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/mutableFile)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbMutableFile`*" ] pub fn mutable_file ( & self , ) -> Option < IdbMutableFile > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mutable_file_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < IdbMutableFile > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_mutable_file_IDBFileHandle ( self_ ) } ; < Option < IdbMutableFile > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mutableFile` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/mutableFile)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbMutableFile`*" ] pub fn mutable_file ( & self , ) -> Option < IdbMutableFile > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_file_handle_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < Option < IdbMutableFile > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fileHandle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/fileHandle)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbMutableFile`*" ] pub fn file_handle ( & self , ) -> Option < IdbMutableFile > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_file_handle_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < IdbMutableFile > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_file_handle_IDBFileHandle ( self_ ) } ; < Option < IdbMutableFile > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fileHandle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/fileHandle)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbMutableFile`*" ] pub fn file_handle ( & self , ) -> Option < IdbMutableFile > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_active_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `active` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/active)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn active ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_active_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_active_IDBFileHandle ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `active` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/active)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn active ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_location_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `location` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/location)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn location ( & self , ) -> Option < f64 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_location_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_location_IDBFileHandle ( self_ ) } ; < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `location` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/location)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn location ( & self , ) -> Option < f64 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_location_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `location` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/location)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn set_location ( & self , location : Option < f64 > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_location_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < f64 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; __widl_f_set_location_IDBFileHandle ( self_ , location ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `location` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/location)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn set_location ( & self , location : Option < f64 > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncomplete_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/oncomplete)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn oncomplete ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncomplete_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncomplete_IDBFileHandle ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/oncomplete)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn oncomplete ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncomplete_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/oncomplete)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn set_oncomplete ( & self , oncomplete : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncomplete_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncomplete : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncomplete = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncomplete , & mut __stack ) ; __widl_f_set_oncomplete_IDBFileHandle ( self_ , oncomplete ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/oncomplete)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn set_oncomplete ( & self , oncomplete : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onabort_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/onabort)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onabort_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onabort_IDBFileHandle ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/onabort)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onabort_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/onabort)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onabort_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onabort : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onabort = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onabort , & mut __stack ) ; __widl_f_set_onabort_IDBFileHandle ( self_ , onabort ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/onabort)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/onerror)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_IDBFileHandle ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/onerror)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_IDBFileHandle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileHandle as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbFileHandle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/onerror)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_IDBFileHandle ( self_ : < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileHandle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_IDBFileHandle ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileHandle/onerror)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBFileRequest` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest)\n\n*This API requires the following crate features to be activated: `IdbFileRequest`*" ] # [ repr ( transparent ) ] pub struct IdbFileRequest { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbFileRequest : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbFileRequest { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbFileRequest { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbFileRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbFileRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbFileRequest { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbFileRequest { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbFileRequest { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbFileRequest { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbFileRequest { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbFileRequest > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbFileRequest { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbFileRequest { # [ inline ] fn from ( obj : JsValue ) -> IdbFileRequest { IdbFileRequest { obj } } } impl AsRef < JsValue > for IdbFileRequest { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbFileRequest > for JsValue { # [ inline ] fn from ( obj : IdbFileRequest ) -> JsValue { obj . obj } } impl JsCast for IdbFileRequest { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBFileRequest ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBFileRequest ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbFileRequest { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbFileRequest ) } } } ( ) } ; impl core :: ops :: Deref for IdbFileRequest { type Target = DomRequest ; # [ inline ] fn deref ( & self ) -> & DomRequest { self . as_ref ( ) } } impl From < IdbFileRequest > for DomRequest { # [ inline ] fn from ( obj : IdbFileRequest ) -> DomRequest { use wasm_bindgen :: JsCast ; DomRequest :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < DomRequest > for IdbFileRequest { # [ inline ] fn as_ref ( & self ) -> & DomRequest { use wasm_bindgen :: JsCast ; DomRequest :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IdbFileRequest > for EventTarget { # [ inline ] fn from ( obj : IdbFileRequest ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for IdbFileRequest { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IdbFileRequest > for Object { # [ inline ] fn from ( obj : IdbFileRequest ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbFileRequest { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_file_handle_IDBFileRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileRequest as WasmDescribe > :: describe ( ) ; < Option < IdbFileHandle > as WasmDescribe > :: describe ( ) ; } impl IdbFileRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fileHandle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/fileHandle)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn file_handle ( & self , ) -> Option < IdbFileHandle > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_file_handle_IDBFileRequest ( self_ : < & IdbFileRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < IdbFileHandle > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_file_handle_IDBFileRequest ( self_ ) } ; < Option < IdbFileHandle > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fileHandle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/fileHandle)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn file_handle ( & self , ) -> Option < IdbFileHandle > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_locked_file_IDBFileRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileRequest as WasmDescribe > :: describe ( ) ; < Option < IdbFileHandle > as WasmDescribe > :: describe ( ) ; } impl IdbFileRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lockedFile` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/lockedFile)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn locked_file ( & self , ) -> Option < IdbFileHandle > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_locked_file_IDBFileRequest ( self_ : < & IdbFileRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < IdbFileHandle > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_locked_file_IDBFileRequest ( self_ ) } ; < Option < IdbFileHandle > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lockedFile` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/lockedFile)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbFileRequest`*" ] pub fn locked_file ( & self , ) -> Option < IdbFileHandle > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onprogress_IDBFileRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbFileRequest as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbFileRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/onprogress)\n\n*This API requires the following crate features to be activated: `IdbFileRequest`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onprogress_IDBFileRequest ( self_ : < & IdbFileRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onprogress_IDBFileRequest ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/onprogress)\n\n*This API requires the following crate features to be activated: `IdbFileRequest`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onprogress_IDBFileRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbFileRequest as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbFileRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/onprogress)\n\n*This API requires the following crate features to be activated: `IdbFileRequest`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onprogress_IDBFileRequest ( self_ : < & IdbFileRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onprogress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbFileRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onprogress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onprogress , & mut __stack ) ; __widl_f_set_onprogress_IDBFileRequest ( self_ , onprogress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBFileRequest/onprogress)\n\n*This API requires the following crate features to be activated: `IdbFileRequest`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBIndex` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] # [ repr ( transparent ) ] pub struct IdbIndex { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbIndex : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbIndex { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbIndex { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbIndex { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbIndex { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbIndex { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbIndex { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbIndex { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbIndex { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbIndex { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbIndex > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbIndex { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbIndex { # [ inline ] fn from ( obj : JsValue ) -> IdbIndex { IdbIndex { obj } } } impl AsRef < JsValue > for IdbIndex { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbIndex > for JsValue { # [ inline ] fn from ( obj : IdbIndex ) -> JsValue { obj . obj } } impl JsCast for IdbIndex { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBIndex ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBIndex ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbIndex { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbIndex ) } } } ( ) } ; impl core :: ops :: Deref for IdbIndex { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < IdbIndex > for Object { # [ inline ] fn from ( obj : IdbIndex ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbIndex { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_count_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `count()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/count)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn count ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_count_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_count_IDBIndex ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `count()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/count)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn count ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_count_with_key_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `count()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/count)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn count_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_count_with_key_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_count_with_key_IDBIndex ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `count()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/count)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn count_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/get)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_get_IDBIndex ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/get)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_all_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAll)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_all ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_all_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_all_IDBIndex ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAll)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_all ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_all_with_key_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAll)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_all_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_all_with_key_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_get_all_with_key_IDBIndex ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAll)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_all_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_all_with_key_and_limit_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAll)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_all_with_key_and_limit ( & self , key : & :: wasm_bindgen :: JsValue , limit : u32 ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_all_with_key_and_limit_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , limit : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let limit = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( limit , & mut __stack ) ; __widl_f_get_all_with_key_and_limit_IDBIndex ( self_ , key , limit , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAll)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_all_with_key_and_limit ( & self , key : & :: wasm_bindgen :: JsValue , limit : u32 ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_all_keys_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAllKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAllKeys)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_all_keys ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_all_keys_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_all_keys_IDBIndex ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAllKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAllKeys)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_all_keys ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_all_keys_with_key_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAllKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAllKeys)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_all_keys_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_all_keys_with_key_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_get_all_keys_with_key_IDBIndex ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAllKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAllKeys)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_all_keys_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_all_keys_with_key_and_limit_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAllKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAllKeys)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_all_keys_with_key_and_limit ( & self , key : & :: wasm_bindgen :: JsValue , limit : u32 ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_all_keys_with_key_and_limit_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , limit : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let limit = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( limit , & mut __stack ) ; __widl_f_get_all_keys_with_key_and_limit_IDBIndex ( self_ , key , limit , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAllKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAllKeys)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_all_keys_with_key_and_limit ( & self , key : & :: wasm_bindgen :: JsValue , limit : u32 ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_key_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getKey)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_key_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_get_key_IDBIndex ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getKey)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn get_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_cursor_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `openCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openCursor)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn open_cursor ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_cursor_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_open_cursor_IDBIndex ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `openCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openCursor)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn open_cursor ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_cursor_with_range_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `openCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openCursor)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn open_cursor_with_range ( & self , range : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_cursor_with_range_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , range : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let range = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( range , & mut __stack ) ; __widl_f_open_cursor_with_range_IDBIndex ( self_ , range , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `openCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openCursor)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn open_cursor_with_range ( & self , range : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_cursor_with_range_and_direction_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbCursorDirection as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `openCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openCursor)\n\n*This API requires the following crate features to be activated: `IdbCursorDirection`, `IdbIndex`, `IdbRequest`*" ] pub fn open_cursor_with_range_and_direction ( & self , range : & :: wasm_bindgen :: JsValue , direction : IdbCursorDirection ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_cursor_with_range_and_direction_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , range : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , direction : < IdbCursorDirection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let range = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( range , & mut __stack ) ; let direction = < IdbCursorDirection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( direction , & mut __stack ) ; __widl_f_open_cursor_with_range_and_direction_IDBIndex ( self_ , range , direction , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `openCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openCursor)\n\n*This API requires the following crate features to be activated: `IdbCursorDirection`, `IdbIndex`, `IdbRequest`*" ] pub fn open_cursor_with_range_and_direction ( & self , range : & :: wasm_bindgen :: JsValue , direction : IdbCursorDirection ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_key_cursor_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `openKeyCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openKeyCursor)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn open_key_cursor ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_key_cursor_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_open_key_cursor_IDBIndex ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `openKeyCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openKeyCursor)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn open_key_cursor ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_key_cursor_with_range_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `openKeyCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openKeyCursor)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn open_key_cursor_with_range ( & self , range : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_key_cursor_with_range_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , range : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let range = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( range , & mut __stack ) ; __widl_f_open_key_cursor_with_range_IDBIndex ( self_ , range , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `openKeyCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openKeyCursor)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbRequest`*" ] pub fn open_key_cursor_with_range ( & self , range : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_key_cursor_with_range_and_direction_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbCursorDirection as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `openKeyCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openKeyCursor)\n\n*This API requires the following crate features to be activated: `IdbCursorDirection`, `IdbIndex`, `IdbRequest`*" ] pub fn open_key_cursor_with_range_and_direction ( & self , range : & :: wasm_bindgen :: JsValue , direction : IdbCursorDirection ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_key_cursor_with_range_and_direction_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , range : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , direction : < IdbCursorDirection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let range = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( range , & mut __stack ) ; let direction = < IdbCursorDirection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( direction , & mut __stack ) ; __widl_f_open_key_cursor_with_range_and_direction_IDBIndex ( self_ , range , direction , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `openKeyCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openKeyCursor)\n\n*This API requires the following crate features to be activated: `IdbCursorDirection`, `IdbIndex`, `IdbRequest`*" ] pub fn open_key_cursor_with_range_and_direction ( & self , range : & :: wasm_bindgen :: JsValue , direction : IdbCursorDirection ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/name)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_IDBIndex ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/name)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/name)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_IDBIndex ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/name)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_object_store_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < IdbObjectStore as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `objectStore` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/objectStore)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbObjectStore`*" ] pub fn object_store ( & self , ) -> IdbObjectStore { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_object_store_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < IdbObjectStore as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_object_store_IDBIndex ( self_ ) } ; < IdbObjectStore as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `objectStore` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/objectStore)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbObjectStore`*" ] pub fn object_store ( & self , ) -> IdbObjectStore { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_key_path_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keyPath` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/keyPath)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn key_path ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_key_path_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_key_path_IDBIndex ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keyPath` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/keyPath)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn key_path ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_multi_entry_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `multiEntry` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/multiEntry)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn multi_entry ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_multi_entry_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_multi_entry_IDBIndex ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `multiEntry` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/multiEntry)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn multi_entry ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unique_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unique` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/unique)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn unique ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unique_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unique_IDBIndex ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unique` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/unique)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn unique ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_locale_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `locale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/locale)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn locale ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_locale_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_locale_IDBIndex ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `locale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/locale)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn locale ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_auto_locale_IDBIndex ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbIndex as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl IdbIndex { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isAutoLocale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/isAutoLocale)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn is_auto_locale ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_auto_locale_IDBIndex ( self_ : < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbIndex as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_auto_locale_IDBIndex ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isAutoLocale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/isAutoLocale)\n\n*This API requires the following crate features to be activated: `IdbIndex`*" ] pub fn is_auto_locale ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBKeyRange` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] # [ repr ( transparent ) ] pub struct IdbKeyRange { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbKeyRange : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbKeyRange { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbKeyRange { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbKeyRange { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbKeyRange { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbKeyRange { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbKeyRange { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbKeyRange { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbKeyRange { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbKeyRange { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbKeyRange > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbKeyRange { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbKeyRange { # [ inline ] fn from ( obj : JsValue ) -> IdbKeyRange { IdbKeyRange { obj } } } impl AsRef < JsValue > for IdbKeyRange { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbKeyRange > for JsValue { # [ inline ] fn from ( obj : IdbKeyRange ) -> JsValue { obj . obj } } impl JsCast for IdbKeyRange { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBKeyRange ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBKeyRange ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbKeyRange { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbKeyRange ) } } } ( ) } ; impl core :: ops :: Deref for IdbKeyRange { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < IdbKeyRange > for Object { # [ inline ] fn from ( obj : IdbKeyRange ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbKeyRange { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bound_IDBKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbKeyRange as WasmDescribe > :: describe ( ) ; } impl IdbKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/bound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn bound ( lower : & :: wasm_bindgen :: JsValue , upper : & :: wasm_bindgen :: JsValue ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bound_IDBKeyRange ( lower : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , upper : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let lower = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lower , & mut __stack ) ; let upper = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( upper , & mut __stack ) ; __widl_f_bound_IDBKeyRange ( lower , upper , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/bound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn bound ( lower : & :: wasm_bindgen :: JsValue , upper : & :: wasm_bindgen :: JsValue ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bound_with_lower_open_IDBKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < IdbKeyRange as WasmDescribe > :: describe ( ) ; } impl IdbKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/bound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn bound_with_lower_open ( lower : & :: wasm_bindgen :: JsValue , upper : & :: wasm_bindgen :: JsValue , lower_open : bool ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bound_with_lower_open_IDBKeyRange ( lower : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , upper : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , lower_open : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let lower = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lower , & mut __stack ) ; let upper = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( upper , & mut __stack ) ; let lower_open = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lower_open , & mut __stack ) ; __widl_f_bound_with_lower_open_IDBKeyRange ( lower , upper , lower_open , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/bound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn bound_with_lower_open ( lower : & :: wasm_bindgen :: JsValue , upper : & :: wasm_bindgen :: JsValue , lower_open : bool ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bound_with_lower_open_and_upper_open_IDBKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < IdbKeyRange as WasmDescribe > :: describe ( ) ; } impl IdbKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/bound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn bound_with_lower_open_and_upper_open ( lower : & :: wasm_bindgen :: JsValue , upper : & :: wasm_bindgen :: JsValue , lower_open : bool , upper_open : bool ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bound_with_lower_open_and_upper_open_IDBKeyRange ( lower : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , upper : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , lower_open : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , upper_open : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let lower = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lower , & mut __stack ) ; let upper = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( upper , & mut __stack ) ; let lower_open = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lower_open , & mut __stack ) ; let upper_open = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( upper_open , & mut __stack ) ; __widl_f_bound_with_lower_open_and_upper_open_IDBKeyRange ( lower , upper , lower_open , upper_open , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/bound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn bound_with_lower_open_and_upper_open ( lower : & :: wasm_bindgen :: JsValue , upper : & :: wasm_bindgen :: JsValue , lower_open : bool , upper_open : bool ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_includes_IDBKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbKeyRange as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl IdbKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `includes()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/includes)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn includes ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_includes_IDBKeyRange ( self_ : < & IdbKeyRange as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbKeyRange as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_includes_IDBKeyRange ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `includes()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/includes)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn includes ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lower_bound_IDBKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbKeyRange as WasmDescribe > :: describe ( ) ; } impl IdbKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lowerBound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lowerBound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn lower_bound ( lower : & :: wasm_bindgen :: JsValue ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lower_bound_IDBKeyRange ( lower : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let lower = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lower , & mut __stack ) ; __widl_f_lower_bound_IDBKeyRange ( lower , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lowerBound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lowerBound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn lower_bound ( lower : & :: wasm_bindgen :: JsValue ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lower_bound_with_open_IDBKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < IdbKeyRange as WasmDescribe > :: describe ( ) ; } impl IdbKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lowerBound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lowerBound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn lower_bound_with_open ( lower : & :: wasm_bindgen :: JsValue , open : bool ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lower_bound_with_open_IDBKeyRange ( lower : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , open : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let lower = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lower , & mut __stack ) ; let open = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( open , & mut __stack ) ; __widl_f_lower_bound_with_open_IDBKeyRange ( lower , open , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lowerBound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lowerBound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn lower_bound_with_open ( lower : & :: wasm_bindgen :: JsValue , open : bool ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_only_IDBKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbKeyRange as WasmDescribe > :: describe ( ) ; } impl IdbKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `only()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/only)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn only ( value : & :: wasm_bindgen :: JsValue ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_only_IDBKeyRange ( value : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let value = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_only_IDBKeyRange ( value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `only()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/only)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn only ( value : & :: wasm_bindgen :: JsValue ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_upper_bound_IDBKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbKeyRange as WasmDescribe > :: describe ( ) ; } impl IdbKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `upperBound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upperBound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn upper_bound ( upper : & :: wasm_bindgen :: JsValue ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_upper_bound_IDBKeyRange ( upper : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let upper = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( upper , & mut __stack ) ; __widl_f_upper_bound_IDBKeyRange ( upper , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `upperBound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upperBound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn upper_bound ( upper : & :: wasm_bindgen :: JsValue ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_upper_bound_with_open_IDBKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < IdbKeyRange as WasmDescribe > :: describe ( ) ; } impl IdbKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `upperBound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upperBound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn upper_bound_with_open ( upper : & :: wasm_bindgen :: JsValue , open : bool ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_upper_bound_with_open_IDBKeyRange ( upper : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , open : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let upper = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( upper , & mut __stack ) ; let open = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( open , & mut __stack ) ; __widl_f_upper_bound_with_open_IDBKeyRange ( upper , open , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `upperBound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upperBound)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn upper_bound_with_open ( upper : & :: wasm_bindgen :: JsValue , open : bool ) -> Result < IdbKeyRange , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lower_IDBKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbKeyRange as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl IdbKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lower` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lower)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn lower ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lower_IDBKeyRange ( self_ : < & IdbKeyRange as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbKeyRange as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_lower_IDBKeyRange ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lower` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lower)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn lower ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_upper_IDBKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbKeyRange as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl IdbKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `upper` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upper)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn upper ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_upper_IDBKeyRange ( self_ : < & IdbKeyRange as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbKeyRange as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_upper_IDBKeyRange ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `upper` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upper)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn upper ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lower_open_IDBKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbKeyRange as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl IdbKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lowerOpen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lowerOpen)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn lower_open ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lower_open_IDBKeyRange ( self_ : < & IdbKeyRange as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbKeyRange as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_lower_open_IDBKeyRange ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lowerOpen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lowerOpen)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn lower_open ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_upper_open_IDBKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbKeyRange as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl IdbKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `upperOpen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upperOpen)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn upper_open ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_upper_open_IDBKeyRange ( self_ : < & IdbKeyRange as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbKeyRange as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_upper_open_IDBKeyRange ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `upperOpen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upperOpen)\n\n*This API requires the following crate features to be activated: `IdbKeyRange`*" ] pub fn upper_open ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBLocaleAwareKeyRange` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange)\n\n*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*" ] # [ repr ( transparent ) ] pub struct IdbLocaleAwareKeyRange { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbLocaleAwareKeyRange : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbLocaleAwareKeyRange { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbLocaleAwareKeyRange { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbLocaleAwareKeyRange { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbLocaleAwareKeyRange { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbLocaleAwareKeyRange { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbLocaleAwareKeyRange { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbLocaleAwareKeyRange { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbLocaleAwareKeyRange { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbLocaleAwareKeyRange { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbLocaleAwareKeyRange > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbLocaleAwareKeyRange { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbLocaleAwareKeyRange { # [ inline ] fn from ( obj : JsValue ) -> IdbLocaleAwareKeyRange { IdbLocaleAwareKeyRange { obj } } } impl AsRef < JsValue > for IdbLocaleAwareKeyRange { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbLocaleAwareKeyRange > for JsValue { # [ inline ] fn from ( obj : IdbLocaleAwareKeyRange ) -> JsValue { obj . obj } } impl JsCast for IdbLocaleAwareKeyRange { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBLocaleAwareKeyRange ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBLocaleAwareKeyRange ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbLocaleAwareKeyRange { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbLocaleAwareKeyRange ) } } } ( ) } ; impl core :: ops :: Deref for IdbLocaleAwareKeyRange { type Target = IdbKeyRange ; # [ inline ] fn deref ( & self ) -> & IdbKeyRange { self . as_ref ( ) } } impl From < IdbLocaleAwareKeyRange > for IdbKeyRange { # [ inline ] fn from ( obj : IdbLocaleAwareKeyRange ) -> IdbKeyRange { use wasm_bindgen :: JsCast ; IdbKeyRange :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < IdbKeyRange > for IdbLocaleAwareKeyRange { # [ inline ] fn as_ref ( & self ) -> & IdbKeyRange { use wasm_bindgen :: JsCast ; IdbKeyRange :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IdbLocaleAwareKeyRange > for Object { # [ inline ] fn from ( obj : IdbLocaleAwareKeyRange ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbLocaleAwareKeyRange { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bound_IDBLocaleAwareKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbLocaleAwareKeyRange as WasmDescribe > :: describe ( ) ; } impl IdbLocaleAwareKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound)\n\n*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*" ] pub fn bound ( lower : & :: wasm_bindgen :: JsValue , upper : & :: wasm_bindgen :: JsValue ) -> Result < IdbLocaleAwareKeyRange , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bound_IDBLocaleAwareKeyRange ( lower : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , upper : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbLocaleAwareKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let lower = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lower , & mut __stack ) ; let upper = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( upper , & mut __stack ) ; __widl_f_bound_IDBLocaleAwareKeyRange ( lower , upper , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbLocaleAwareKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound)\n\n*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*" ] pub fn bound ( lower : & :: wasm_bindgen :: JsValue , upper : & :: wasm_bindgen :: JsValue ) -> Result < IdbLocaleAwareKeyRange , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bound_with_lower_open_IDBLocaleAwareKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < IdbLocaleAwareKeyRange as WasmDescribe > :: describe ( ) ; } impl IdbLocaleAwareKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound)\n\n*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*" ] pub fn bound_with_lower_open ( lower : & :: wasm_bindgen :: JsValue , upper : & :: wasm_bindgen :: JsValue , lower_open : bool ) -> Result < IdbLocaleAwareKeyRange , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bound_with_lower_open_IDBLocaleAwareKeyRange ( lower : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , upper : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , lower_open : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbLocaleAwareKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let lower = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lower , & mut __stack ) ; let upper = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( upper , & mut __stack ) ; let lower_open = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lower_open , & mut __stack ) ; __widl_f_bound_with_lower_open_IDBLocaleAwareKeyRange ( lower , upper , lower_open , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbLocaleAwareKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound)\n\n*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*" ] pub fn bound_with_lower_open ( lower : & :: wasm_bindgen :: JsValue , upper : & :: wasm_bindgen :: JsValue , lower_open : bool ) -> Result < IdbLocaleAwareKeyRange , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bound_with_lower_open_and_upper_open_IDBLocaleAwareKeyRange ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < IdbLocaleAwareKeyRange as WasmDescribe > :: describe ( ) ; } impl IdbLocaleAwareKeyRange { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound)\n\n*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*" ] pub fn bound_with_lower_open_and_upper_open ( lower : & :: wasm_bindgen :: JsValue , upper : & :: wasm_bindgen :: JsValue , lower_open : bool , upper_open : bool ) -> Result < IdbLocaleAwareKeyRange , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bound_with_lower_open_and_upper_open_IDBLocaleAwareKeyRange ( lower : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , upper : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , lower_open : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , upper_open : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbLocaleAwareKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let lower = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lower , & mut __stack ) ; let upper = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( upper , & mut __stack ) ; let lower_open = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lower_open , & mut __stack ) ; let upper_open = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( upper_open , & mut __stack ) ; __widl_f_bound_with_lower_open_and_upper_open_IDBLocaleAwareKeyRange ( lower , upper , lower_open , upper_open , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbLocaleAwareKeyRange as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bound()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBLocaleAwareKeyRange/bound)\n\n*This API requires the following crate features to be activated: `IdbLocaleAwareKeyRange`*" ] pub fn bound_with_lower_open_and_upper_open ( lower : & :: wasm_bindgen :: JsValue , upper : & :: wasm_bindgen :: JsValue , lower_open : bool , upper_open : bool ) -> Result < IdbLocaleAwareKeyRange , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBMutableFile` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile)\n\n*This API requires the following crate features to be activated: `IdbMutableFile`*" ] # [ repr ( transparent ) ] pub struct IdbMutableFile { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbMutableFile : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbMutableFile { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbMutableFile { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbMutableFile { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbMutableFile { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbMutableFile { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbMutableFile { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbMutableFile { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbMutableFile { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbMutableFile { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbMutableFile > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbMutableFile { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbMutableFile { # [ inline ] fn from ( obj : JsValue ) -> IdbMutableFile { IdbMutableFile { obj } } } impl AsRef < JsValue > for IdbMutableFile { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbMutableFile > for JsValue { # [ inline ] fn from ( obj : IdbMutableFile ) -> JsValue { obj . obj } } impl JsCast for IdbMutableFile { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBMutableFile ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBMutableFile ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbMutableFile { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbMutableFile ) } } } ( ) } ; impl core :: ops :: Deref for IdbMutableFile { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < IdbMutableFile > for EventTarget { # [ inline ] fn from ( obj : IdbMutableFile ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for IdbMutableFile { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IdbMutableFile > for Object { # [ inline ] fn from ( obj : IdbMutableFile ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbMutableFile { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_file_IDBMutableFile ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbMutableFile as WasmDescribe > :: describe ( ) ; < DomRequest as WasmDescribe > :: describe ( ) ; } impl IdbMutableFile { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/getFile)\n\n*This API requires the following crate features to be activated: `DomRequest`, `IdbMutableFile`*" ] pub fn get_file ( & self , ) -> Result < DomRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_file_IDBMutableFile ( self_ : < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_file_IDBMutableFile ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFile()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/getFile)\n\n*This API requires the following crate features to be activated: `DomRequest`, `IdbMutableFile`*" ] pub fn get_file ( & self , ) -> Result < DomRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_IDBMutableFile ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbMutableFile as WasmDescribe > :: describe ( ) ; < IdbFileHandle as WasmDescribe > :: describe ( ) ; } impl IdbMutableFile { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/open)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbMutableFile`*" ] pub fn open ( & self , ) -> Result < IdbFileHandle , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_IDBMutableFile ( self_ : < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbFileHandle as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_open_IDBMutableFile ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbFileHandle as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/open)\n\n*This API requires the following crate features to be activated: `IdbFileHandle`, `IdbMutableFile`*" ] pub fn open ( & self , ) -> Result < IdbFileHandle , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_IDBMutableFile ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbMutableFile as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl IdbMutableFile { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/name)\n\n*This API requires the following crate features to be activated: `IdbMutableFile`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_IDBMutableFile ( self_ : < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_IDBMutableFile ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/name)\n\n*This API requires the following crate features to be activated: `IdbMutableFile`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_IDBMutableFile ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbMutableFile as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl IdbMutableFile { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/type)\n\n*This API requires the following crate features to be activated: `IdbMutableFile`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_IDBMutableFile ( self_ : < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_IDBMutableFile ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/type)\n\n*This API requires the following crate features to be activated: `IdbMutableFile`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_database_IDBMutableFile ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbMutableFile as WasmDescribe > :: describe ( ) ; < IdbDatabase as WasmDescribe > :: describe ( ) ; } impl IdbMutableFile { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `database` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/database)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbMutableFile`*" ] pub fn database ( & self , ) -> IdbDatabase { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_database_IDBMutableFile ( self_ : < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < IdbDatabase as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_database_IDBMutableFile ( self_ ) } ; < IdbDatabase as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `database` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/database)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbMutableFile`*" ] pub fn database ( & self , ) -> IdbDatabase { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onabort_IDBMutableFile ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbMutableFile as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbMutableFile { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onabort)\n\n*This API requires the following crate features to be activated: `IdbMutableFile`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onabort_IDBMutableFile ( self_ : < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onabort_IDBMutableFile ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onabort)\n\n*This API requires the following crate features to be activated: `IdbMutableFile`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onabort_IDBMutableFile ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbMutableFile as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbMutableFile { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onabort)\n\n*This API requires the following crate features to be activated: `IdbMutableFile`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onabort_IDBMutableFile ( self_ : < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onabort : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onabort = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onabort , & mut __stack ) ; __widl_f_set_onabort_IDBMutableFile ( self_ , onabort ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onabort)\n\n*This API requires the following crate features to be activated: `IdbMutableFile`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_IDBMutableFile ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbMutableFile as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbMutableFile { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onerror)\n\n*This API requires the following crate features to be activated: `IdbMutableFile`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_IDBMutableFile ( self_ : < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_IDBMutableFile ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onerror)\n\n*This API requires the following crate features to be activated: `IdbMutableFile`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_IDBMutableFile ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbMutableFile as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbMutableFile { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onerror)\n\n*This API requires the following crate features to be activated: `IdbMutableFile`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_IDBMutableFile ( self_ : < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbMutableFile as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_IDBMutableFile ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBMutableFile/onerror)\n\n*This API requires the following crate features to be activated: `IdbMutableFile`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBObjectStore` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`*" ] # [ repr ( transparent ) ] pub struct IdbObjectStore { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbObjectStore : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbObjectStore { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbObjectStore { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbObjectStore { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbObjectStore { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbObjectStore { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbObjectStore { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbObjectStore { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbObjectStore { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbObjectStore { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbObjectStore > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbObjectStore { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbObjectStore { # [ inline ] fn from ( obj : JsValue ) -> IdbObjectStore { IdbObjectStore { obj } } } impl AsRef < JsValue > for IdbObjectStore { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbObjectStore > for JsValue { # [ inline ] fn from ( obj : IdbObjectStore ) -> JsValue { obj . obj } } impl JsCast for IdbObjectStore { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBObjectStore ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBObjectStore ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbObjectStore { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbObjectStore ) } } } ( ) } ; impl core :: ops :: Deref for IdbObjectStore { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < IdbObjectStore > for Object { # [ inline ] fn from ( obj : IdbObjectStore ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbObjectStore { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/add)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn add ( & self , value : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_add_IDBObjectStore ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/add)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn add ( & self , value : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_with_key_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/add)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn add_with_key ( & self , value : & :: wasm_bindgen :: JsValue , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_with_key_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_add_with_key_IDBObjectStore ( self_ , value , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `add()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/add)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn add_with_key ( & self , value : & :: wasm_bindgen :: JsValue , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/clear)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn clear ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_IDBObjectStore ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/clear)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn clear ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_count_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `count()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/count)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn count ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_count_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_count_IDBObjectStore ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `count()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/count)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn count ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_count_with_key_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `count()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/count)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn count_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_count_with_key_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_count_with_key_IDBObjectStore ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `count()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/count)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn count_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_index_with_str_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < IdbIndex as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createIndex()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/createIndex)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbObjectStore`*" ] pub fn create_index_with_str ( & self , name : & str , key_path : & str ) -> Result < IdbIndex , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_index_with_str_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_path : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbIndex as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let key_path = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_path , & mut __stack ) ; __widl_f_create_index_with_str_IDBObjectStore ( self_ , name , key_path , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbIndex as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createIndex()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/createIndex)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbObjectStore`*" ] pub fn create_index_with_str ( & self , name : & str , key_path : & str ) -> Result < IdbIndex , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_index_with_str_and_optional_parameters_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & IdbIndexParameters as WasmDescribe > :: describe ( ) ; < IdbIndex as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createIndex()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/createIndex)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbIndexParameters`, `IdbObjectStore`*" ] pub fn create_index_with_str_and_optional_parameters ( & self , name : & str , key_path : & str , optional_parameters : & IdbIndexParameters ) -> Result < IdbIndex , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_index_with_str_and_optional_parameters_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_path : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , optional_parameters : < & IdbIndexParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbIndex as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let key_path = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_path , & mut __stack ) ; let optional_parameters = < & IdbIndexParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( optional_parameters , & mut __stack ) ; __widl_f_create_index_with_str_and_optional_parameters_IDBObjectStore ( self_ , name , key_path , optional_parameters , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbIndex as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createIndex()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/createIndex)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbIndexParameters`, `IdbObjectStore`*" ] pub fn create_index_with_str_and_optional_parameters ( & self , name : & str , key_path : & str , optional_parameters : & IdbIndexParameters ) -> Result < IdbIndex , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/delete)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn delete ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_delete_IDBObjectStore ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/delete)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn delete ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_index_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteIndex()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/deleteIndex)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`*" ] pub fn delete_index ( & self , index_name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_index_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index_name , & mut __stack ) ; __widl_f_delete_index_IDBObjectStore ( self_ , index_name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteIndex()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/deleteIndex)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`*" ] pub fn delete_index ( & self , index_name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/get)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_get_IDBObjectStore ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/get)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_all_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAll)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_all ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_all_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_all_IDBObjectStore ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAll)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_all ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_all_with_key_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAll)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_all_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_all_with_key_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_get_all_with_key_IDBObjectStore ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAll)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_all_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_all_with_key_and_limit_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAll)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_all_with_key_and_limit ( & self , key : & :: wasm_bindgen :: JsValue , limit : u32 ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_all_with_key_and_limit_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , limit : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let limit = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( limit , & mut __stack ) ; __widl_f_get_all_with_key_and_limit_IDBObjectStore ( self_ , key , limit , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAll)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_all_with_key_and_limit ( & self , key : & :: wasm_bindgen :: JsValue , limit : u32 ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_all_keys_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAllKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAllKeys)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_all_keys ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_all_keys_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_all_keys_IDBObjectStore ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAllKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAllKeys)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_all_keys ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_all_keys_with_key_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAllKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAllKeys)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_all_keys_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_all_keys_with_key_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_get_all_keys_with_key_IDBObjectStore ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAllKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAllKeys)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_all_keys_with_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_all_keys_with_key_and_limit_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAllKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAllKeys)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_all_keys_with_key_and_limit ( & self , key : & :: wasm_bindgen :: JsValue , limit : u32 ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_all_keys_with_key_and_limit_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , limit : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let limit = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( limit , & mut __stack ) ; __widl_f_get_all_keys_with_key_and_limit_IDBObjectStore ( self_ , key , limit , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAllKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getAllKeys)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_all_keys_with_key_and_limit ( & self , key : & :: wasm_bindgen :: JsValue , limit : u32 ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_key_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getKey)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_key_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_get_key_IDBObjectStore ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getKey)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn get_key ( & self , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_index_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < IdbIndex as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `index()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/index)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbObjectStore`*" ] pub fn index ( & self , name : & str ) -> Result < IdbIndex , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_index_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbIndex as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_index_IDBObjectStore ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbIndex as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `index()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/index)\n\n*This API requires the following crate features to be activated: `IdbIndex`, `IdbObjectStore`*" ] pub fn index ( & self , name : & str ) -> Result < IdbIndex , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_cursor_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `openCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openCursor)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn open_cursor ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_cursor_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_open_cursor_IDBObjectStore ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `openCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openCursor)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn open_cursor ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_cursor_with_range_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `openCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openCursor)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn open_cursor_with_range ( & self , range : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_cursor_with_range_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , range : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let range = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( range , & mut __stack ) ; __widl_f_open_cursor_with_range_IDBObjectStore ( self_ , range , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `openCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openCursor)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn open_cursor_with_range ( & self , range : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_cursor_with_range_and_direction_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbCursorDirection as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `openCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openCursor)\n\n*This API requires the following crate features to be activated: `IdbCursorDirection`, `IdbObjectStore`, `IdbRequest`*" ] pub fn open_cursor_with_range_and_direction ( & self , range : & :: wasm_bindgen :: JsValue , direction : IdbCursorDirection ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_cursor_with_range_and_direction_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , range : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , direction : < IdbCursorDirection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let range = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( range , & mut __stack ) ; let direction = < IdbCursorDirection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( direction , & mut __stack ) ; __widl_f_open_cursor_with_range_and_direction_IDBObjectStore ( self_ , range , direction , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `openCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openCursor)\n\n*This API requires the following crate features to be activated: `IdbCursorDirection`, `IdbObjectStore`, `IdbRequest`*" ] pub fn open_cursor_with_range_and_direction ( & self , range : & :: wasm_bindgen :: JsValue , direction : IdbCursorDirection ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_key_cursor_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `openKeyCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openKeyCursor)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn open_key_cursor ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_key_cursor_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_open_key_cursor_IDBObjectStore ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `openKeyCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openKeyCursor)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn open_key_cursor ( & self , ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_key_cursor_with_range_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `openKeyCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openKeyCursor)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn open_key_cursor_with_range ( & self , range : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_key_cursor_with_range_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , range : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let range = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( range , & mut __stack ) ; __widl_f_open_key_cursor_with_range_IDBObjectStore ( self_ , range , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `openKeyCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openKeyCursor)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn open_key_cursor_with_range ( & self , range : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_key_cursor_with_range_and_direction_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbCursorDirection as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `openKeyCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openKeyCursor)\n\n*This API requires the following crate features to be activated: `IdbCursorDirection`, `IdbObjectStore`, `IdbRequest`*" ] pub fn open_key_cursor_with_range_and_direction ( & self , range : & :: wasm_bindgen :: JsValue , direction : IdbCursorDirection ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_key_cursor_with_range_and_direction_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , range : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , direction : < IdbCursorDirection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let range = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( range , & mut __stack ) ; let direction = < IdbCursorDirection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( direction , & mut __stack ) ; __widl_f_open_key_cursor_with_range_and_direction_IDBObjectStore ( self_ , range , direction , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `openKeyCursor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openKeyCursor)\n\n*This API requires the following crate features to be activated: `IdbCursorDirection`, `IdbObjectStore`, `IdbRequest`*" ] pub fn open_key_cursor_with_range_and_direction ( & self , range : & :: wasm_bindgen :: JsValue , direction : IdbCursorDirection ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_put_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `put()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/put)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn put ( & self , value : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_put_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_put_IDBObjectStore ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `put()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/put)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn put ( & self , value : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_put_with_key_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < IdbRequest as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `put()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/put)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn put_with_key ( & self , value : & :: wasm_bindgen :: JsValue , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_put_with_key_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; let key = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_put_with_key_IDBObjectStore ( self_ , value , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `put()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/put)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbRequest`*" ] pub fn put_with_key ( & self , value : & :: wasm_bindgen :: JsValue , key : & :: wasm_bindgen :: JsValue ) -> Result < IdbRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/name)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_IDBObjectStore ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/name)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/name)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`*" ] pub fn set_name ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_IDBObjectStore ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/name)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`*" ] pub fn set_name ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_key_path_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keyPath` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/keyPath)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`*" ] pub fn key_path ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_key_path_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_key_path_IDBObjectStore ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keyPath` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/keyPath)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`*" ] pub fn key_path ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_index_names_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < DomStringList as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `indexNames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/indexNames)\n\n*This API requires the following crate features to be activated: `DomStringList`, `IdbObjectStore`*" ] pub fn index_names ( & self , ) -> DomStringList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_index_names_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_index_names_IDBObjectStore ( self_ ) } ; < DomStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `indexNames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/indexNames)\n\n*This API requires the following crate features to be activated: `DomStringList`, `IdbObjectStore`*" ] pub fn index_names ( & self , ) -> DomStringList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transaction_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < IdbTransaction as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transaction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/transaction)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbTransaction`*" ] pub fn transaction ( & self , ) -> IdbTransaction { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transaction_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < IdbTransaction as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_transaction_IDBObjectStore ( self_ ) } ; < IdbTransaction as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transaction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/transaction)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbTransaction`*" ] pub fn transaction ( & self , ) -> IdbTransaction { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_auto_increment_IDBObjectStore ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbObjectStore as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl IdbObjectStore { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `autoIncrement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/autoIncrement)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`*" ] pub fn auto_increment ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_auto_increment_IDBObjectStore ( self_ : < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbObjectStore as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_auto_increment_IDBObjectStore ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `autoIncrement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/autoIncrement)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`*" ] pub fn auto_increment ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBOpenDBRequest` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest)\n\n*This API requires the following crate features to be activated: `IdbOpenDbRequest`*" ] # [ repr ( transparent ) ] pub struct IdbOpenDbRequest { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbOpenDbRequest : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbOpenDbRequest { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbOpenDbRequest { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbOpenDbRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbOpenDbRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbOpenDbRequest { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbOpenDbRequest { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbOpenDbRequest { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbOpenDbRequest { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbOpenDbRequest { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbOpenDbRequest > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbOpenDbRequest { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbOpenDbRequest { # [ inline ] fn from ( obj : JsValue ) -> IdbOpenDbRequest { IdbOpenDbRequest { obj } } } impl AsRef < JsValue > for IdbOpenDbRequest { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbOpenDbRequest > for JsValue { # [ inline ] fn from ( obj : IdbOpenDbRequest ) -> JsValue { obj . obj } } impl JsCast for IdbOpenDbRequest { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBOpenDBRequest ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBOpenDBRequest ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbOpenDbRequest { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbOpenDbRequest ) } } } ( ) } ; impl core :: ops :: Deref for IdbOpenDbRequest { type Target = IdbRequest ; # [ inline ] fn deref ( & self ) -> & IdbRequest { self . as_ref ( ) } } impl From < IdbOpenDbRequest > for IdbRequest { # [ inline ] fn from ( obj : IdbOpenDbRequest ) -> IdbRequest { use wasm_bindgen :: JsCast ; IdbRequest :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < IdbRequest > for IdbOpenDbRequest { # [ inline ] fn as_ref ( & self ) -> & IdbRequest { use wasm_bindgen :: JsCast ; IdbRequest :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IdbOpenDbRequest > for EventTarget { # [ inline ] fn from ( obj : IdbOpenDbRequest ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for IdbOpenDbRequest { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IdbOpenDbRequest > for Object { # [ inline ] fn from ( obj : IdbOpenDbRequest ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbOpenDbRequest { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onblocked_IDBOpenDBRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbOpenDbRequest as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbOpenDbRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onblocked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onblocked)\n\n*This API requires the following crate features to be activated: `IdbOpenDbRequest`*" ] pub fn onblocked ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onblocked_IDBOpenDBRequest ( self_ : < & IdbOpenDbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbOpenDbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onblocked_IDBOpenDBRequest ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onblocked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onblocked)\n\n*This API requires the following crate features to be activated: `IdbOpenDbRequest`*" ] pub fn onblocked ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onblocked_IDBOpenDBRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbOpenDbRequest as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbOpenDbRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onblocked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onblocked)\n\n*This API requires the following crate features to be activated: `IdbOpenDbRequest`*" ] pub fn set_onblocked ( & self , onblocked : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onblocked_IDBOpenDBRequest ( self_ : < & IdbOpenDbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onblocked : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbOpenDbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onblocked = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onblocked , & mut __stack ) ; __widl_f_set_onblocked_IDBOpenDBRequest ( self_ , onblocked ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onblocked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onblocked)\n\n*This API requires the following crate features to be activated: `IdbOpenDbRequest`*" ] pub fn set_onblocked ( & self , onblocked : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onupgradeneeded_IDBOpenDBRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbOpenDbRequest as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbOpenDbRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onupgradeneeded` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onupgradeneeded)\n\n*This API requires the following crate features to be activated: `IdbOpenDbRequest`*" ] pub fn onupgradeneeded ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onupgradeneeded_IDBOpenDBRequest ( self_ : < & IdbOpenDbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbOpenDbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onupgradeneeded_IDBOpenDBRequest ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onupgradeneeded` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onupgradeneeded)\n\n*This API requires the following crate features to be activated: `IdbOpenDbRequest`*" ] pub fn onupgradeneeded ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onupgradeneeded_IDBOpenDBRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbOpenDbRequest as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbOpenDbRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onupgradeneeded` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onupgradeneeded)\n\n*This API requires the following crate features to be activated: `IdbOpenDbRequest`*" ] pub fn set_onupgradeneeded ( & self , onupgradeneeded : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onupgradeneeded_IDBOpenDBRequest ( self_ : < & IdbOpenDbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onupgradeneeded : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbOpenDbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onupgradeneeded = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onupgradeneeded , & mut __stack ) ; __widl_f_set_onupgradeneeded_IDBOpenDBRequest ( self_ , onupgradeneeded ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onupgradeneeded` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onupgradeneeded)\n\n*This API requires the following crate features to be activated: `IdbOpenDbRequest`*" ] pub fn set_onupgradeneeded ( & self , onupgradeneeded : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBRequest` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest)\n\n*This API requires the following crate features to be activated: `IdbRequest`*" ] # [ repr ( transparent ) ] pub struct IdbRequest { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbRequest : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbRequest { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbRequest { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbRequest { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbRequest { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbRequest { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbRequest { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbRequest { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbRequest > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbRequest { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbRequest { # [ inline ] fn from ( obj : JsValue ) -> IdbRequest { IdbRequest { obj } } } impl AsRef < JsValue > for IdbRequest { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbRequest > for JsValue { # [ inline ] fn from ( obj : IdbRequest ) -> JsValue { obj . obj } } impl JsCast for IdbRequest { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBRequest ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBRequest ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbRequest { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbRequest ) } } } ( ) } ; impl core :: ops :: Deref for IdbRequest { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < IdbRequest > for EventTarget { # [ inline ] fn from ( obj : IdbRequest ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for IdbRequest { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IdbRequest > for Object { # [ inline ] fn from ( obj : IdbRequest ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbRequest { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_IDBRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbRequest as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl IdbRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/result)\n\n*This API requires the following crate features to be activated: `IdbRequest`*" ] pub fn result ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_IDBRequest ( self_ : < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_IDBRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/result)\n\n*This API requires the following crate features to be activated: `IdbRequest`*" ] pub fn result ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_IDBRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbRequest as WasmDescribe > :: describe ( ) ; < Option < DomException > as WasmDescribe > :: describe ( ) ; } impl IdbRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/error)\n\n*This API requires the following crate features to be activated: `DomException`, `IdbRequest`*" ] pub fn error ( & self , ) -> Result < Option < DomException > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_IDBRequest ( self_ : < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < DomException > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_error_IDBRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < DomException > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/error)\n\n*This API requires the following crate features to be activated: `DomException`, `IdbRequest`*" ] pub fn error ( & self , ) -> Result < Option < DomException > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_source_IDBRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbRequest as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl IdbRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `source` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/source)\n\n*This API requires the following crate features to be activated: `IdbRequest`*" ] pub fn source ( & self , ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_source_IDBRequest ( self_ : < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_source_IDBRequest ( self_ ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `source` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/source)\n\n*This API requires the following crate features to be activated: `IdbRequest`*" ] pub fn source ( & self , ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transaction_IDBRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbRequest as WasmDescribe > :: describe ( ) ; < Option < IdbTransaction > as WasmDescribe > :: describe ( ) ; } impl IdbRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transaction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/transaction)\n\n*This API requires the following crate features to be activated: `IdbRequest`, `IdbTransaction`*" ] pub fn transaction ( & self , ) -> Option < IdbTransaction > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transaction_IDBRequest ( self_ : < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < IdbTransaction > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_transaction_IDBRequest ( self_ ) } ; < Option < IdbTransaction > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transaction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/transaction)\n\n*This API requires the following crate features to be activated: `IdbRequest`, `IdbTransaction`*" ] pub fn transaction ( & self , ) -> Option < IdbTransaction > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_state_IDBRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbRequest as WasmDescribe > :: describe ( ) ; < IdbRequestReadyState as WasmDescribe > :: describe ( ) ; } impl IdbRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/readyState)\n\n*This API requires the following crate features to be activated: `IdbRequest`, `IdbRequestReadyState`*" ] pub fn ready_state ( & self , ) -> IdbRequestReadyState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_state_IDBRequest ( self_ : < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < IdbRequestReadyState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_state_IDBRequest ( self_ ) } ; < IdbRequestReadyState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/readyState)\n\n*This API requires the following crate features to be activated: `IdbRequest`, `IdbRequestReadyState`*" ] pub fn ready_state ( & self , ) -> IdbRequestReadyState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsuccess_IDBRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbRequest as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsuccess` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess)\n\n*This API requires the following crate features to be activated: `IdbRequest`*" ] pub fn onsuccess ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsuccess_IDBRequest ( self_ : < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsuccess_IDBRequest ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsuccess` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess)\n\n*This API requires the following crate features to be activated: `IdbRequest`*" ] pub fn onsuccess ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsuccess_IDBRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbRequest as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsuccess` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess)\n\n*This API requires the following crate features to be activated: `IdbRequest`*" ] pub fn set_onsuccess ( & self , onsuccess : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsuccess_IDBRequest ( self_ : < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsuccess : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsuccess = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsuccess , & mut __stack ) ; __widl_f_set_onsuccess_IDBRequest ( self_ , onsuccess ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsuccess` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess)\n\n*This API requires the following crate features to be activated: `IdbRequest`*" ] pub fn set_onsuccess ( & self , onsuccess : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_IDBRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbRequest as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror)\n\n*This API requires the following crate features to be activated: `IdbRequest`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_IDBRequest ( self_ : < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_IDBRequest ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror)\n\n*This API requires the following crate features to be activated: `IdbRequest`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_IDBRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbRequest as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror)\n\n*This API requires the following crate features to be activated: `IdbRequest`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_IDBRequest ( self_ : < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_IDBRequest ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror)\n\n*This API requires the following crate features to be activated: `IdbRequest`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBTransaction` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] # [ repr ( transparent ) ] pub struct IdbTransaction { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbTransaction : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbTransaction { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbTransaction { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbTransaction { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbTransaction { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbTransaction { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbTransaction { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbTransaction { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbTransaction { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbTransaction { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbTransaction > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbTransaction { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbTransaction { # [ inline ] fn from ( obj : JsValue ) -> IdbTransaction { IdbTransaction { obj } } } impl AsRef < JsValue > for IdbTransaction { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbTransaction > for JsValue { # [ inline ] fn from ( obj : IdbTransaction ) -> JsValue { obj . obj } } impl JsCast for IdbTransaction { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBTransaction ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBTransaction ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbTransaction { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbTransaction ) } } } ( ) } ; impl core :: ops :: Deref for IdbTransaction { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < IdbTransaction > for EventTarget { # [ inline ] fn from ( obj : IdbTransaction ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for IdbTransaction { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IdbTransaction > for Object { # [ inline ] fn from ( obj : IdbTransaction ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbTransaction { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_abort_IDBTransaction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbTransaction as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbTransaction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/abort)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn abort ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_abort_IDBTransaction ( self_ : < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_abort_IDBTransaction ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/abort)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn abort ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_object_store_IDBTransaction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbTransaction as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < IdbObjectStore as WasmDescribe > :: describe ( ) ; } impl IdbTransaction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `objectStore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/objectStore)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbTransaction`*" ] pub fn object_store ( & self , name : & str ) -> Result < IdbObjectStore , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_object_store_IDBTransaction ( self_ : < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbObjectStore as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_object_store_IDBTransaction ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbObjectStore as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `objectStore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/objectStore)\n\n*This API requires the following crate features to be activated: `IdbObjectStore`, `IdbTransaction`*" ] pub fn object_store ( & self , name : & str ) -> Result < IdbObjectStore , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mode_IDBTransaction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbTransaction as WasmDescribe > :: describe ( ) ; < IdbTransactionMode as WasmDescribe > :: describe ( ) ; } impl IdbTransaction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/mode)\n\n*This API requires the following crate features to be activated: `IdbTransaction`, `IdbTransactionMode`*" ] pub fn mode ( & self , ) -> Result < IdbTransactionMode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mode_IDBTransaction ( self_ : < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbTransactionMode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_mode_IDBTransaction ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbTransactionMode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/mode)\n\n*This API requires the following crate features to be activated: `IdbTransaction`, `IdbTransactionMode`*" ] pub fn mode ( & self , ) -> Result < IdbTransactionMode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_db_IDBTransaction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbTransaction as WasmDescribe > :: describe ( ) ; < IdbDatabase as WasmDescribe > :: describe ( ) ; } impl IdbTransaction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `db` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/db)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbTransaction`*" ] pub fn db ( & self , ) -> IdbDatabase { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_db_IDBTransaction ( self_ : < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < IdbDatabase as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_db_IDBTransaction ( self_ ) } ; < IdbDatabase as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `db` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/db)\n\n*This API requires the following crate features to be activated: `IdbDatabase`, `IdbTransaction`*" ] pub fn db ( & self , ) -> IdbDatabase { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_IDBTransaction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbTransaction as WasmDescribe > :: describe ( ) ; < Option < DomException > as WasmDescribe > :: describe ( ) ; } impl IdbTransaction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/error)\n\n*This API requires the following crate features to be activated: `DomException`, `IdbTransaction`*" ] pub fn error ( & self , ) -> Option < DomException > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_IDBTransaction ( self_ : < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < DomException > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_error_IDBTransaction ( self_ ) } ; < Option < DomException > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/error)\n\n*This API requires the following crate features to be activated: `DomException`, `IdbTransaction`*" ] pub fn error ( & self , ) -> Option < DomException > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onabort_IDBTransaction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbTransaction as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbTransaction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/onabort)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onabort_IDBTransaction ( self_ : < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onabort_IDBTransaction ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/onabort)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onabort_IDBTransaction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbTransaction as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbTransaction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/onabort)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onabort_IDBTransaction ( self_ : < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onabort : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onabort = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onabort , & mut __stack ) ; __widl_f_set_onabort_IDBTransaction ( self_ , onabort ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/onabort)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncomplete_IDBTransaction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbTransaction as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbTransaction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/oncomplete)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn oncomplete ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncomplete_IDBTransaction ( self_ : < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncomplete_IDBTransaction ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/oncomplete)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn oncomplete ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncomplete_IDBTransaction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbTransaction as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbTransaction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/oncomplete)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn set_oncomplete ( & self , oncomplete : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncomplete_IDBTransaction ( self_ : < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncomplete : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncomplete = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncomplete , & mut __stack ) ; __widl_f_set_oncomplete_IDBTransaction ( self_ , oncomplete ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/oncomplete)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn set_oncomplete ( & self , oncomplete : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_IDBTransaction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbTransaction as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl IdbTransaction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/onerror)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_IDBTransaction ( self_ : < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_IDBTransaction ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/onerror)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_IDBTransaction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IdbTransaction as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IdbTransaction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/onerror)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_IDBTransaction ( self_ : < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_IDBTransaction ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/onerror)\n\n*This API requires the following crate features to be activated: `IdbTransaction`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_object_store_names_IDBTransaction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbTransaction as WasmDescribe > :: describe ( ) ; < DomStringList as WasmDescribe > :: describe ( ) ; } impl IdbTransaction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `objectStoreNames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/objectStoreNames)\n\n*This API requires the following crate features to be activated: `DomStringList`, `IdbTransaction`*" ] pub fn object_store_names ( & self , ) -> DomStringList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_object_store_names_IDBTransaction ( self_ : < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbTransaction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_object_store_names_IDBTransaction ( self_ ) } ; < DomStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `objectStoreNames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/objectStoreNames)\n\n*This API requires the following crate features to be activated: `DomStringList`, `IdbTransaction`*" ] pub fn object_store_names ( & self , ) -> DomStringList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IDBVersionChangeEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent)\n\n*This API requires the following crate features to be activated: `IdbVersionChangeEvent`*" ] # [ repr ( transparent ) ] pub struct IdbVersionChangeEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdbVersionChangeEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdbVersionChangeEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdbVersionChangeEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdbVersionChangeEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdbVersionChangeEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdbVersionChangeEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdbVersionChangeEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdbVersionChangeEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdbVersionChangeEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdbVersionChangeEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdbVersionChangeEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdbVersionChangeEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdbVersionChangeEvent { # [ inline ] fn from ( obj : JsValue ) -> IdbVersionChangeEvent { IdbVersionChangeEvent { obj } } } impl AsRef < JsValue > for IdbVersionChangeEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdbVersionChangeEvent > for JsValue { # [ inline ] fn from ( obj : IdbVersionChangeEvent ) -> JsValue { obj . obj } } impl JsCast for IdbVersionChangeEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IDBVersionChangeEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IDBVersionChangeEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbVersionChangeEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbVersionChangeEvent ) } } } ( ) } ; impl core :: ops :: Deref for IdbVersionChangeEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < IdbVersionChangeEvent > for Event { # [ inline ] fn from ( obj : IdbVersionChangeEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for IdbVersionChangeEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IdbVersionChangeEvent > for Object { # [ inline ] fn from ( obj : IdbVersionChangeEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdbVersionChangeEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_IDBVersionChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < IdbVersionChangeEvent as WasmDescribe > :: describe ( ) ; } impl IdbVersionChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new IDBVersionChangeEvent(..)` constructor, creating a new instance of `IDBVersionChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent/IDBVersionChangeEvent)\n\n*This API requires the following crate features to be activated: `IdbVersionChangeEvent`*" ] pub fn new ( type_ : & str ) -> Result < IdbVersionChangeEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_IDBVersionChangeEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbVersionChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_IDBVersionChangeEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbVersionChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new IDBVersionChangeEvent(..)` constructor, creating a new instance of `IDBVersionChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent/IDBVersionChangeEvent)\n\n*This API requires the following crate features to be activated: `IdbVersionChangeEvent`*" ] pub fn new ( type_ : & str ) -> Result < IdbVersionChangeEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_IDBVersionChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & IdbVersionChangeEventInit as WasmDescribe > :: describe ( ) ; < IdbVersionChangeEvent as WasmDescribe > :: describe ( ) ; } impl IdbVersionChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new IDBVersionChangeEvent(..)` constructor, creating a new instance of `IDBVersionChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent/IDBVersionChangeEvent)\n\n*This API requires the following crate features to be activated: `IdbVersionChangeEvent`, `IdbVersionChangeEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & IdbVersionChangeEventInit ) -> Result < IdbVersionChangeEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_IDBVersionChangeEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & IdbVersionChangeEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IdbVersionChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & IdbVersionChangeEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_IDBVersionChangeEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IdbVersionChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new IDBVersionChangeEvent(..)` constructor, creating a new instance of `IDBVersionChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent/IDBVersionChangeEvent)\n\n*This API requires the following crate features to be activated: `IdbVersionChangeEvent`, `IdbVersionChangeEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & IdbVersionChangeEventInit ) -> Result < IdbVersionChangeEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_old_version_IDBVersionChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbVersionChangeEvent as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl IdbVersionChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oldVersion` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent/oldVersion)\n\n*This API requires the following crate features to be activated: `IdbVersionChangeEvent`*" ] pub fn old_version ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_old_version_IDBVersionChangeEvent ( self_ : < & IdbVersionChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbVersionChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_old_version_IDBVersionChangeEvent ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oldVersion` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent/oldVersion)\n\n*This API requires the following crate features to be activated: `IdbVersionChangeEvent`*" ] pub fn old_version ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_version_IDBVersionChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdbVersionChangeEvent as WasmDescribe > :: describe ( ) ; < Option < f64 > as WasmDescribe > :: describe ( ) ; } impl IdbVersionChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `newVersion` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent/newVersion)\n\n*This API requires the following crate features to be activated: `IdbVersionChangeEvent`*" ] pub fn new_version ( & self , ) -> Option < f64 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_version_IDBVersionChangeEvent ( self_ : < & IdbVersionChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdbVersionChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_new_version_IDBVersionChangeEvent ( self_ ) } ; < Option < f64 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `newVersion` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IDBVersionChangeEvent/newVersion)\n\n*This API requires the following crate features to be activated: `IdbVersionChangeEvent`*" ] pub fn new_version ( & self , ) -> Option < f64 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IIRFilterNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IIRFilterNode)\n\n*This API requires the following crate features to be activated: `IirFilterNode`*" ] # [ repr ( transparent ) ] pub struct IirFilterNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IirFilterNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IirFilterNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IirFilterNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IirFilterNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IirFilterNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IirFilterNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IirFilterNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IirFilterNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IirFilterNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IirFilterNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IirFilterNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IirFilterNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IirFilterNode { # [ inline ] fn from ( obj : JsValue ) -> IirFilterNode { IirFilterNode { obj } } } impl AsRef < JsValue > for IirFilterNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IirFilterNode > for JsValue { # [ inline ] fn from ( obj : IirFilterNode ) -> JsValue { obj . obj } } impl JsCast for IirFilterNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IIRFilterNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IIRFilterNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IirFilterNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IirFilterNode ) } } } ( ) } ; impl core :: ops :: Deref for IirFilterNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < IirFilterNode > for AudioNode { # [ inline ] fn from ( obj : IirFilterNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for IirFilterNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IirFilterNode > for EventTarget { # [ inline ] fn from ( obj : IirFilterNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for IirFilterNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < IirFilterNode > for Object { # [ inline ] fn from ( obj : IirFilterNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IirFilterNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_frequency_response_IIRFilterNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & IirFilterNode as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IirFilterNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFrequencyResponse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IIRFilterNode/getFrequencyResponse)\n\n*This API requires the following crate features to be activated: `IirFilterNode`*" ] pub fn get_frequency_response ( & self , frequency_hz : & mut [ f32 ] , mag_response : & mut [ f32 ] , phase_response : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_frequency_response_IIRFilterNode ( self_ : < & IirFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , frequency_hz : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mag_response : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , phase_response : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IirFilterNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let frequency_hz = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( frequency_hz , & mut __stack ) ; let mag_response = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mag_response , & mut __stack ) ; let phase_response = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( phase_response , & mut __stack ) ; __widl_f_get_frequency_response_IIRFilterNode ( self_ , frequency_hz , mag_response , phase_response ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFrequencyResponse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IIRFilterNode/getFrequencyResponse)\n\n*This API requires the following crate features to be activated: `IirFilterNode`*" ] pub fn get_frequency_response ( & self , frequency_hz : & mut [ f32 ] , mag_response : & mut [ f32 ] , phase_response : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IdleDeadline` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline)\n\n*This API requires the following crate features to be activated: `IdleDeadline`*" ] # [ repr ( transparent ) ] pub struct IdleDeadline { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IdleDeadline : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IdleDeadline { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IdleDeadline { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IdleDeadline { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IdleDeadline { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IdleDeadline { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IdleDeadline { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IdleDeadline { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IdleDeadline { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IdleDeadline { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IdleDeadline > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IdleDeadline { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IdleDeadline { # [ inline ] fn from ( obj : JsValue ) -> IdleDeadline { IdleDeadline { obj } } } impl AsRef < JsValue > for IdleDeadline { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IdleDeadline > for JsValue { # [ inline ] fn from ( obj : IdleDeadline ) -> JsValue { obj . obj } } impl JsCast for IdleDeadline { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IdleDeadline ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IdleDeadline ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdleDeadline { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdleDeadline ) } } } ( ) } ; impl core :: ops :: Deref for IdleDeadline { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < IdleDeadline > for Object { # [ inline ] fn from ( obj : IdleDeadline ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IdleDeadline { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_remaining_IdleDeadline ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdleDeadline as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl IdleDeadline { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timeRemaining()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline/timeRemaining)\n\n*This API requires the following crate features to be activated: `IdleDeadline`*" ] pub fn time_remaining ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_remaining_IdleDeadline ( self_ : < & IdleDeadline as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdleDeadline as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_time_remaining_IdleDeadline ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timeRemaining()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline/timeRemaining)\n\n*This API requires the following crate features to be activated: `IdleDeadline`*" ] pub fn time_remaining ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_did_timeout_IdleDeadline ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IdleDeadline as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl IdleDeadline { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `didTimeout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline/didTimeout)\n\n*This API requires the following crate features to be activated: `IdleDeadline`*" ] pub fn did_timeout ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_did_timeout_IdleDeadline ( self_ : < & IdleDeadline as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IdleDeadline as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_did_timeout_IdleDeadline ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `didTimeout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline/didTimeout)\n\n*This API requires the following crate features to be activated: `IdleDeadline`*" ] pub fn did_timeout ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ImageBitmap` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`*" ] # [ repr ( transparent ) ] pub struct ImageBitmap { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ImageBitmap : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ImageBitmap { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ImageBitmap { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ImageBitmap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ImageBitmap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ImageBitmap { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ImageBitmap { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ImageBitmap { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ImageBitmap { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ImageBitmap { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ImageBitmap > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ImageBitmap { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ImageBitmap { # [ inline ] fn from ( obj : JsValue ) -> ImageBitmap { ImageBitmap { obj } } } impl AsRef < JsValue > for ImageBitmap { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ImageBitmap > for JsValue { # [ inline ] fn from ( obj : ImageBitmap ) -> JsValue { obj . obj } } impl JsCast for ImageBitmap { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ImageBitmap ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ImageBitmap ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ImageBitmap { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ImageBitmap ) } } } ( ) } ; impl core :: ops :: Deref for ImageBitmap { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < ImageBitmap > for Object { # [ inline ] fn from ( obj : ImageBitmap ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ImageBitmap { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_ImageBitmap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ImageBitmap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/close)\n\n*This API requires the following crate features to be activated: `ImageBitmap`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_ImageBitmap ( self_ : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_ImageBitmap ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/close)\n\n*This API requires the following crate features to be activated: `ImageBitmap`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_find_optimal_format_ImageBitmap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ImageBitmapFormat as WasmDescribe > :: describe ( ) ; } impl ImageBitmap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `findOptimalFormat()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/findOptimalFormat)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapFormat`*" ] pub fn find_optimal_format ( & self , ) -> Result < ImageBitmapFormat , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_find_optimal_format_ImageBitmap ( self_ : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ImageBitmapFormat as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_find_optimal_format_ImageBitmap ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ImageBitmapFormat as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `findOptimalFormat()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/findOptimalFormat)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapFormat`*" ] pub fn find_optimal_format ( & self , ) -> Result < ImageBitmapFormat , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_map_data_into_with_buffer_source_ImageBitmap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ImageBitmapFormat as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ImageBitmap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mapDataInto()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/mapDataInto)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapFormat`*" ] pub fn map_data_into_with_buffer_source ( & self , a_format : ImageBitmapFormat , a_buffer : & :: js_sys :: Object , a_offset : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_map_data_into_with_buffer_source_ImageBitmap ( self_ : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_format : < ImageBitmapFormat as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_buffer : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_format = < ImageBitmapFormat as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_format , & mut __stack ) ; let a_buffer = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_buffer , & mut __stack ) ; let a_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_offset , & mut __stack ) ; __widl_f_map_data_into_with_buffer_source_ImageBitmap ( self_ , a_format , a_buffer , a_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mapDataInto()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/mapDataInto)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapFormat`*" ] pub fn map_data_into_with_buffer_source ( & self , a_format : ImageBitmapFormat , a_buffer : & :: js_sys :: Object , a_offset : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_map_data_into_with_u8_array_ImageBitmap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ImageBitmapFormat as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ImageBitmap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mapDataInto()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/mapDataInto)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapFormat`*" ] pub fn map_data_into_with_u8_array ( & self , a_format : ImageBitmapFormat , a_buffer : & mut [ u8 ] , a_offset : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_map_data_into_with_u8_array_ImageBitmap ( self_ : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_format : < ImageBitmapFormat as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_buffer : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_format = < ImageBitmapFormat as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_format , & mut __stack ) ; let a_buffer = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_buffer , & mut __stack ) ; let a_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_offset , & mut __stack ) ; __widl_f_map_data_into_with_u8_array_ImageBitmap ( self_ , a_format , a_buffer , a_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mapDataInto()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/mapDataInto)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapFormat`*" ] pub fn map_data_into_with_u8_array ( & self , a_format : ImageBitmapFormat , a_buffer : & mut [ u8 ] , a_offset : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mapped_data_length_ImageBitmap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ImageBitmapFormat as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl ImageBitmap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mappedDataLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/mappedDataLength)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapFormat`*" ] pub fn mapped_data_length ( & self , a_format : ImageBitmapFormat ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mapped_data_length_ImageBitmap ( self_ : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_format : < ImageBitmapFormat as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_format = < ImageBitmapFormat as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_format , & mut __stack ) ; __widl_f_mapped_data_length_ImageBitmap ( self_ , a_format , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mappedDataLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/mappedDataLength)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapFormat`*" ] pub fn mapped_data_length ( & self , a_format : ImageBitmapFormat ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_ImageBitmap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl ImageBitmap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/width)\n\n*This API requires the following crate features to be activated: `ImageBitmap`*" ] pub fn width ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_ImageBitmap ( self_ : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_ImageBitmap ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/width)\n\n*This API requires the following crate features to be activated: `ImageBitmap`*" ] pub fn width ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_ImageBitmap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl ImageBitmap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/height)\n\n*This API requires the following crate features to be activated: `ImageBitmap`*" ] pub fn height ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_ImageBitmap ( self_ : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_ImageBitmap ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/height)\n\n*This API requires the following crate features to be activated: `ImageBitmap`*" ] pub fn height ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ImageBitmapRenderingContext` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmapRenderingContext)\n\n*This API requires the following crate features to be activated: `ImageBitmapRenderingContext`*" ] # [ repr ( transparent ) ] pub struct ImageBitmapRenderingContext { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ImageBitmapRenderingContext : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ImageBitmapRenderingContext { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ImageBitmapRenderingContext { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ImageBitmapRenderingContext { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ImageBitmapRenderingContext { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ImageBitmapRenderingContext { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ImageBitmapRenderingContext { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ImageBitmapRenderingContext { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ImageBitmapRenderingContext { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ImageBitmapRenderingContext { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ImageBitmapRenderingContext > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ImageBitmapRenderingContext { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ImageBitmapRenderingContext { # [ inline ] fn from ( obj : JsValue ) -> ImageBitmapRenderingContext { ImageBitmapRenderingContext { obj } } } impl AsRef < JsValue > for ImageBitmapRenderingContext { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ImageBitmapRenderingContext > for JsValue { # [ inline ] fn from ( obj : ImageBitmapRenderingContext ) -> JsValue { obj . obj } } impl JsCast for ImageBitmapRenderingContext { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ImageBitmapRenderingContext ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ImageBitmapRenderingContext ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ImageBitmapRenderingContext { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ImageBitmapRenderingContext ) } } } ( ) } ; impl core :: ops :: Deref for ImageBitmapRenderingContext { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < ImageBitmapRenderingContext > for Object { # [ inline ] fn from ( obj : ImageBitmapRenderingContext ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ImageBitmapRenderingContext { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transfer_from_image_bitmap_ImageBitmapRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ImageBitmapRenderingContext as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ImageBitmapRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transferFromImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmapRenderingContext/transferFromImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapRenderingContext`*" ] pub fn transfer_from_image_bitmap ( & self , bitmap : & ImageBitmap ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transfer_from_image_bitmap_ImageBitmapRenderingContext ( self_ : < & ImageBitmapRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bitmap : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageBitmapRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let bitmap = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bitmap , & mut __stack ) ; __widl_f_transfer_from_image_bitmap_ImageBitmapRenderingContext ( self_ , bitmap ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transferFromImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmapRenderingContext/transferFromImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapRenderingContext`*" ] pub fn transfer_from_image_bitmap ( & self , bitmap : & ImageBitmap ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transfer_image_bitmap_ImageBitmapRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ImageBitmapRenderingContext as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ImageBitmapRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transferImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmapRenderingContext/transferImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapRenderingContext`*" ] pub fn transfer_image_bitmap ( & self , bitmap : & ImageBitmap ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transfer_image_bitmap_ImageBitmapRenderingContext ( self_ : < & ImageBitmapRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bitmap : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageBitmapRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let bitmap = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bitmap , & mut __stack ) ; __widl_f_transfer_image_bitmap_ImageBitmapRenderingContext ( self_ , bitmap ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transferImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmapRenderingContext/transferImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapRenderingContext`*" ] pub fn transfer_image_bitmap ( & self , bitmap : & ImageBitmap ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ImageCapture` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture)\n\n*This API requires the following crate features to be activated: `ImageCapture`*" ] # [ repr ( transparent ) ] pub struct ImageCapture { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ImageCapture : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ImageCapture { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ImageCapture { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ImageCapture { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ImageCapture { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ImageCapture { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ImageCapture { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ImageCapture { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ImageCapture { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ImageCapture { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ImageCapture > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ImageCapture { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ImageCapture { # [ inline ] fn from ( obj : JsValue ) -> ImageCapture { ImageCapture { obj } } } impl AsRef < JsValue > for ImageCapture { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ImageCapture > for JsValue { # [ inline ] fn from ( obj : ImageCapture ) -> JsValue { obj . obj } } impl JsCast for ImageCapture { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ImageCapture ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ImageCapture ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ImageCapture { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ImageCapture ) } } } ( ) } ; impl core :: ops :: Deref for ImageCapture { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < ImageCapture > for EventTarget { # [ inline ] fn from ( obj : ImageCapture ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ImageCapture { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ImageCapture > for Object { # [ inline ] fn from ( obj : ImageCapture ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ImageCapture { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_ImageCapture ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoStreamTrack as WasmDescribe > :: describe ( ) ; < ImageCapture as WasmDescribe > :: describe ( ) ; } impl ImageCapture { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ImageCapture(..)` constructor, creating a new instance of `ImageCapture`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/ImageCapture)\n\n*This API requires the following crate features to be activated: `ImageCapture`, `VideoStreamTrack`*" ] pub fn new ( track : & VideoStreamTrack ) -> Result < ImageCapture , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_ImageCapture ( track : < & VideoStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ImageCapture as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let track = < & VideoStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( track , & mut __stack ) ; __widl_f_new_ImageCapture ( track , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ImageCapture as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ImageCapture(..)` constructor, creating a new instance of `ImageCapture`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/ImageCapture)\n\n*This API requires the following crate features to be activated: `ImageCapture`, `VideoStreamTrack`*" ] pub fn new ( track : & VideoStreamTrack ) -> Result < ImageCapture , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_take_photo_ImageCapture ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ImageCapture as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ImageCapture { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `takePhoto()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/takePhoto)\n\n*This API requires the following crate features to be activated: `ImageCapture`*" ] pub fn take_photo ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_take_photo_ImageCapture ( self_ : < & ImageCapture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageCapture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_take_photo_ImageCapture ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `takePhoto()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/takePhoto)\n\n*This API requires the following crate features to be activated: `ImageCapture`*" ] pub fn take_photo ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_video_stream_track_ImageCapture ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ImageCapture as WasmDescribe > :: describe ( ) ; < VideoStreamTrack as WasmDescribe > :: describe ( ) ; } impl ImageCapture { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `videoStreamTrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/videoStreamTrack)\n\n*This API requires the following crate features to be activated: `ImageCapture`, `VideoStreamTrack`*" ] pub fn video_stream_track ( & self , ) -> VideoStreamTrack { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_video_stream_track_ImageCapture ( self_ : < & ImageCapture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < VideoStreamTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageCapture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_video_stream_track_ImageCapture ( self_ ) } ; < VideoStreamTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `videoStreamTrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/videoStreamTrack)\n\n*This API requires the following crate features to be activated: `ImageCapture`, `VideoStreamTrack`*" ] pub fn video_stream_track ( & self , ) -> VideoStreamTrack { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onphoto_ImageCapture ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ImageCapture as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ImageCapture { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onphoto` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/onphoto)\n\n*This API requires the following crate features to be activated: `ImageCapture`*" ] pub fn onphoto ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onphoto_ImageCapture ( self_ : < & ImageCapture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageCapture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onphoto_ImageCapture ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onphoto` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/onphoto)\n\n*This API requires the following crate features to be activated: `ImageCapture`*" ] pub fn onphoto ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onphoto_ImageCapture ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ImageCapture as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ImageCapture { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onphoto` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/onphoto)\n\n*This API requires the following crate features to be activated: `ImageCapture`*" ] pub fn set_onphoto ( & self , onphoto : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onphoto_ImageCapture ( self_ : < & ImageCapture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onphoto : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageCapture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onphoto = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onphoto , & mut __stack ) ; __widl_f_set_onphoto_ImageCapture ( self_ , onphoto ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onphoto` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/onphoto)\n\n*This API requires the following crate features to be activated: `ImageCapture`*" ] pub fn set_onphoto ( & self , onphoto : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_ImageCapture ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ImageCapture as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ImageCapture { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/onerror)\n\n*This API requires the following crate features to be activated: `ImageCapture`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_ImageCapture ( self_ : < & ImageCapture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageCapture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_ImageCapture ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/onerror)\n\n*This API requires the following crate features to be activated: `ImageCapture`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_ImageCapture ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ImageCapture as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ImageCapture { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/onerror)\n\n*This API requires the following crate features to be activated: `ImageCapture`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_ImageCapture ( self_ : < & ImageCapture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageCapture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_ImageCapture ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/onerror)\n\n*This API requires the following crate features to be activated: `ImageCapture`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ImageCaptureErrorEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCaptureErrorEvent)\n\n*This API requires the following crate features to be activated: `ImageCaptureErrorEvent`*" ] # [ repr ( transparent ) ] pub struct ImageCaptureErrorEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ImageCaptureErrorEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ImageCaptureErrorEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ImageCaptureErrorEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ImageCaptureErrorEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ImageCaptureErrorEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ImageCaptureErrorEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ImageCaptureErrorEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ImageCaptureErrorEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ImageCaptureErrorEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ImageCaptureErrorEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ImageCaptureErrorEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ImageCaptureErrorEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ImageCaptureErrorEvent { # [ inline ] fn from ( obj : JsValue ) -> ImageCaptureErrorEvent { ImageCaptureErrorEvent { obj } } } impl AsRef < JsValue > for ImageCaptureErrorEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ImageCaptureErrorEvent > for JsValue { # [ inline ] fn from ( obj : ImageCaptureErrorEvent ) -> JsValue { obj . obj } } impl JsCast for ImageCaptureErrorEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ImageCaptureErrorEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ImageCaptureErrorEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ImageCaptureErrorEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ImageCaptureErrorEvent ) } } } ( ) } ; impl core :: ops :: Deref for ImageCaptureErrorEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < ImageCaptureErrorEvent > for Event { # [ inline ] fn from ( obj : ImageCaptureErrorEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for ImageCaptureErrorEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ImageCaptureErrorEvent > for Object { # [ inline ] fn from ( obj : ImageCaptureErrorEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ImageCaptureErrorEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_ImageCaptureErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < ImageCaptureErrorEvent as WasmDescribe > :: describe ( ) ; } impl ImageCaptureErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ImageCaptureErrorEvent(..)` constructor, creating a new instance of `ImageCaptureErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCaptureErrorEvent/ImageCaptureErrorEvent)\n\n*This API requires the following crate features to be activated: `ImageCaptureErrorEvent`*" ] pub fn new ( type_ : & str ) -> Result < ImageCaptureErrorEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_ImageCaptureErrorEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ImageCaptureErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_ImageCaptureErrorEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ImageCaptureErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ImageCaptureErrorEvent(..)` constructor, creating a new instance of `ImageCaptureErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCaptureErrorEvent/ImageCaptureErrorEvent)\n\n*This API requires the following crate features to be activated: `ImageCaptureErrorEvent`*" ] pub fn new ( type_ : & str ) -> Result < ImageCaptureErrorEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_image_capture_error_init_dict_ImageCaptureErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & ImageCaptureErrorEventInit as WasmDescribe > :: describe ( ) ; < ImageCaptureErrorEvent as WasmDescribe > :: describe ( ) ; } impl ImageCaptureErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ImageCaptureErrorEvent(..)` constructor, creating a new instance of `ImageCaptureErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCaptureErrorEvent/ImageCaptureErrorEvent)\n\n*This API requires the following crate features to be activated: `ImageCaptureErrorEvent`, `ImageCaptureErrorEventInit`*" ] pub fn new_with_image_capture_error_init_dict ( type_ : & str , image_capture_error_init_dict : & ImageCaptureErrorEventInit ) -> Result < ImageCaptureErrorEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_image_capture_error_init_dict_ImageCaptureErrorEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image_capture_error_init_dict : < & ImageCaptureErrorEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ImageCaptureErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let image_capture_error_init_dict = < & ImageCaptureErrorEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image_capture_error_init_dict , & mut __stack ) ; __widl_f_new_with_image_capture_error_init_dict_ImageCaptureErrorEvent ( type_ , image_capture_error_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ImageCaptureErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ImageCaptureErrorEvent(..)` constructor, creating a new instance of `ImageCaptureErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageCaptureErrorEvent/ImageCaptureErrorEvent)\n\n*This API requires the following crate features to be activated: `ImageCaptureErrorEvent`, `ImageCaptureErrorEventInit`*" ] pub fn new_with_image_capture_error_init_dict ( type_ : & str , image_capture_error_init_dict : & ImageCaptureErrorEventInit ) -> Result < ImageCaptureErrorEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ImageData` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData)\n\n*This API requires the following crate features to be activated: `ImageData`*" ] # [ repr ( transparent ) ] pub struct ImageData { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ImageData : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ImageData { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ImageData { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ImageData { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ImageData { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ImageData { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ImageData { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ImageData { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ImageData { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ImageData { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ImageData > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ImageData { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ImageData { # [ inline ] fn from ( obj : JsValue ) -> ImageData { ImageData { obj } } } impl AsRef < JsValue > for ImageData { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ImageData > for JsValue { # [ inline ] fn from ( obj : ImageData ) -> JsValue { obj . obj } } impl JsCast for ImageData { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ImageData ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ImageData ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ImageData { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ImageData ) } } } ( ) } ; impl core :: ops :: Deref for ImageData { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < ImageData > for Object { # [ inline ] fn from ( obj : ImageData ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ImageData { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_sw_ImageData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ImageData as WasmDescribe > :: describe ( ) ; } impl ImageData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ImageData(..)` constructor, creating a new instance of `ImageData`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/ImageData)\n\n*This API requires the following crate features to be activated: `ImageData`*" ] pub fn new_with_sw ( sw : u32 , sh : u32 ) -> Result < ImageData , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_sw_ImageData ( sw : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sh : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ImageData as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let sw = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sw , & mut __stack ) ; let sh = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sh , & mut __stack ) ; __widl_f_new_with_sw_ImageData ( sw , sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ImageData as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ImageData(..)` constructor, creating a new instance of `ImageData`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/ImageData)\n\n*This API requires the following crate features to be activated: `ImageData`*" ] pub fn new_with_sw ( sw : u32 , sh : u32 ) -> Result < ImageData , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_u8_clamped_array_ImageData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < :: wasm_bindgen :: Clamped < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ImageData as WasmDescribe > :: describe ( ) ; } impl ImageData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ImageData(..)` constructor, creating a new instance of `ImageData`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/ImageData)\n\n*This API requires the following crate features to be activated: `ImageData`*" ] pub fn new_with_u8_clamped_array ( data : :: wasm_bindgen :: Clamped < & mut [ u8 ] > , sw : u32 ) -> Result < ImageData , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_u8_clamped_array_ImageData ( data : < :: wasm_bindgen :: Clamped < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sw : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ImageData as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < :: wasm_bindgen :: Clamped < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let sw = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sw , & mut __stack ) ; __widl_f_new_with_u8_clamped_array_ImageData ( data , sw , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ImageData as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ImageData(..)` constructor, creating a new instance of `ImageData`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/ImageData)\n\n*This API requires the following crate features to be activated: `ImageData`*" ] pub fn new_with_u8_clamped_array ( data : :: wasm_bindgen :: Clamped < & mut [ u8 ] > , sw : u32 ) -> Result < ImageData , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_u8_clamped_array_and_sh_ImageData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < :: wasm_bindgen :: Clamped < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ImageData as WasmDescribe > :: describe ( ) ; } impl ImageData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ImageData(..)` constructor, creating a new instance of `ImageData`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/ImageData)\n\n*This API requires the following crate features to be activated: `ImageData`*" ] pub fn new_with_u8_clamped_array_and_sh ( data : :: wasm_bindgen :: Clamped < & mut [ u8 ] > , sw : u32 , sh : u32 ) -> Result < ImageData , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_u8_clamped_array_and_sh_ImageData ( data : < :: wasm_bindgen :: Clamped < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sw : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sh : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ImageData as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < :: wasm_bindgen :: Clamped < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let sw = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sw , & mut __stack ) ; let sh = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sh , & mut __stack ) ; __widl_f_new_with_u8_clamped_array_and_sh_ImageData ( data , sw , sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ImageData as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ImageData(..)` constructor, creating a new instance of `ImageData`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/ImageData)\n\n*This API requires the following crate features to be activated: `ImageData`*" ] pub fn new_with_u8_clamped_array_and_sh ( data : :: wasm_bindgen :: Clamped < & mut [ u8 ] > , sw : u32 , sh : u32 ) -> Result < ImageData , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_ImageData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl ImageData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/width)\n\n*This API requires the following crate features to be activated: `ImageData`*" ] pub fn width ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_ImageData ( self_ : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_ImageData ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/width)\n\n*This API requires the following crate features to be activated: `ImageData`*" ] pub fn width ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_ImageData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl ImageData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/height)\n\n*This API requires the following crate features to be activated: `ImageData`*" ] pub fn height ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_ImageData ( self_ : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_ImageData ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/height)\n\n*This API requires the following crate features to be activated: `ImageData`*" ] pub fn height ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_data_ImageData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: Clamped < Vec < u8 > > as WasmDescribe > :: describe ( ) ; } impl ImageData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/data)\n\n*This API requires the following crate features to be activated: `ImageData`*" ] pub fn data ( & self , ) -> :: wasm_bindgen :: Clamped < Vec < u8 > > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_data_ImageData ( self_ : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: Clamped < Vec < u8 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_data_ImageData ( self_ ) } ; < :: wasm_bindgen :: Clamped < Vec < u8 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageData/data)\n\n*This API requires the following crate features to be activated: `ImageData`*" ] pub fn data ( & self , ) -> :: wasm_bindgen :: Clamped < Vec < u8 > > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `InputEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent)\n\n*This API requires the following crate features to be activated: `InputEvent`*" ] # [ repr ( transparent ) ] pub struct InputEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_InputEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for InputEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for InputEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for InputEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a InputEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for InputEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { InputEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for InputEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a InputEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for InputEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < InputEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( InputEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for InputEvent { # [ inline ] fn from ( obj : JsValue ) -> InputEvent { InputEvent { obj } } } impl AsRef < JsValue > for InputEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < InputEvent > for JsValue { # [ inline ] fn from ( obj : InputEvent ) -> JsValue { obj . obj } } impl JsCast for InputEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_InputEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_InputEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { InputEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const InputEvent ) } } } ( ) } ; impl core :: ops :: Deref for InputEvent { type Target = UiEvent ; # [ inline ] fn deref ( & self ) -> & UiEvent { self . as_ref ( ) } } impl From < InputEvent > for UiEvent { # [ inline ] fn from ( obj : InputEvent ) -> UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < UiEvent > for InputEvent { # [ inline ] fn as_ref ( & self ) -> & UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < InputEvent > for Event { # [ inline ] fn from ( obj : InputEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for InputEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < InputEvent > for Object { # [ inline ] fn from ( obj : InputEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for InputEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_InputEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < InputEvent as WasmDescribe > :: describe ( ) ; } impl InputEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new InputEvent(..)` constructor, creating a new instance of `InputEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/InputEvent)\n\n*This API requires the following crate features to be activated: `InputEvent`*" ] pub fn new ( type_ : & str ) -> Result < InputEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_InputEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < InputEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_InputEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < InputEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new InputEvent(..)` constructor, creating a new instance of `InputEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/InputEvent)\n\n*This API requires the following crate features to be activated: `InputEvent`*" ] pub fn new ( type_ : & str ) -> Result < InputEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_InputEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & InputEventInit as WasmDescribe > :: describe ( ) ; < InputEvent as WasmDescribe > :: describe ( ) ; } impl InputEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new InputEvent(..)` constructor, creating a new instance of `InputEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/InputEvent)\n\n*This API requires the following crate features to be activated: `InputEvent`, `InputEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & InputEventInit ) -> Result < InputEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_InputEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & InputEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < InputEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & InputEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_InputEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < InputEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new InputEvent(..)` constructor, creating a new instance of `InputEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/InputEvent)\n\n*This API requires the following crate features to be activated: `InputEvent`, `InputEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & InputEventInit ) -> Result < InputEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_composing_InputEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & InputEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl InputEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isComposing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/isComposing)\n\n*This API requires the following crate features to be activated: `InputEvent`*" ] pub fn is_composing ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_composing_InputEvent ( self_ : < & InputEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & InputEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_composing_InputEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isComposing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/isComposing)\n\n*This API requires the following crate features to be activated: `InputEvent`*" ] pub fn is_composing ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IntersectionObserver` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver)\n\n*This API requires the following crate features to be activated: `IntersectionObserver`*" ] # [ repr ( transparent ) ] pub struct IntersectionObserver { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IntersectionObserver : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IntersectionObserver { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IntersectionObserver { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IntersectionObserver { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IntersectionObserver { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IntersectionObserver { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IntersectionObserver { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IntersectionObserver { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IntersectionObserver { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IntersectionObserver { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IntersectionObserver > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IntersectionObserver { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IntersectionObserver { # [ inline ] fn from ( obj : JsValue ) -> IntersectionObserver { IntersectionObserver { obj } } } impl AsRef < JsValue > for IntersectionObserver { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IntersectionObserver > for JsValue { # [ inline ] fn from ( obj : IntersectionObserver ) -> JsValue { obj . obj } } impl JsCast for IntersectionObserver { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IntersectionObserver ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IntersectionObserver ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IntersectionObserver { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IntersectionObserver ) } } } ( ) } ; impl core :: ops :: Deref for IntersectionObserver { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < IntersectionObserver > for Object { # [ inline ] fn from ( obj : IntersectionObserver ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IntersectionObserver { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_IntersectionObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < IntersectionObserver as WasmDescribe > :: describe ( ) ; } impl IntersectionObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new IntersectionObserver(..)` constructor, creating a new instance of `IntersectionObserver`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/IntersectionObserver)\n\n*This API requires the following crate features to be activated: `IntersectionObserver`*" ] pub fn new ( intersection_callback : & :: js_sys :: Function ) -> Result < IntersectionObserver , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_IntersectionObserver ( intersection_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IntersectionObserver as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let intersection_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( intersection_callback , & mut __stack ) ; __widl_f_new_IntersectionObserver ( intersection_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IntersectionObserver as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new IntersectionObserver(..)` constructor, creating a new instance of `IntersectionObserver`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/IntersectionObserver)\n\n*This API requires the following crate features to be activated: `IntersectionObserver`*" ] pub fn new ( intersection_callback : & :: js_sys :: Function ) -> Result < IntersectionObserver , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_IntersectionObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & IntersectionObserverInit as WasmDescribe > :: describe ( ) ; < IntersectionObserver as WasmDescribe > :: describe ( ) ; } impl IntersectionObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new IntersectionObserver(..)` constructor, creating a new instance of `IntersectionObserver`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/IntersectionObserver)\n\n*This API requires the following crate features to be activated: `IntersectionObserver`, `IntersectionObserverInit`*" ] pub fn new_with_options ( intersection_callback : & :: js_sys :: Function , options : & IntersectionObserverInit ) -> Result < IntersectionObserver , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_IntersectionObserver ( intersection_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & IntersectionObserverInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < IntersectionObserver as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let intersection_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( intersection_callback , & mut __stack ) ; let options = < & IntersectionObserverInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_IntersectionObserver ( intersection_callback , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < IntersectionObserver as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new IntersectionObserver(..)` constructor, creating a new instance of `IntersectionObserver`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/IntersectionObserver)\n\n*This API requires the following crate features to be activated: `IntersectionObserver`, `IntersectionObserverInit`*" ] pub fn new_with_options ( intersection_callback : & :: js_sys :: Function , options : & IntersectionObserverInit ) -> Result < IntersectionObserver , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disconnect_IntersectionObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IntersectionObserver as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IntersectionObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/disconnect)\n\n*This API requires the following crate features to be activated: `IntersectionObserver`*" ] pub fn disconnect ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disconnect_IntersectionObserver ( self_ : < & IntersectionObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IntersectionObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disconnect_IntersectionObserver ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/disconnect)\n\n*This API requires the following crate features to be activated: `IntersectionObserver`*" ] pub fn disconnect ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_observe_IntersectionObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IntersectionObserver as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IntersectionObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `observe()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/observe)\n\n*This API requires the following crate features to be activated: `Element`, `IntersectionObserver`*" ] pub fn observe ( & self , target : & Element ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_observe_IntersectionObserver ( self_ : < & IntersectionObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IntersectionObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_observe_IntersectionObserver ( self_ , target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `observe()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/observe)\n\n*This API requires the following crate features to be activated: `Element`, `IntersectionObserver`*" ] pub fn observe ( & self , target : & Element ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unobserve_IntersectionObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & IntersectionObserver as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl IntersectionObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unobserve()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/unobserve)\n\n*This API requires the following crate features to be activated: `Element`, `IntersectionObserver`*" ] pub fn unobserve ( & self , target : & Element ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unobserve_IntersectionObserver ( self_ : < & IntersectionObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IntersectionObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_unobserve_IntersectionObserver ( self_ , target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unobserve()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/unobserve)\n\n*This API requires the following crate features to be activated: `Element`, `IntersectionObserver`*" ] pub fn unobserve ( & self , target : & Element ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_root_IntersectionObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IntersectionObserver as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl IntersectionObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `root` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/root)\n\n*This API requires the following crate features to be activated: `Element`, `IntersectionObserver`*" ] pub fn root ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_root_IntersectionObserver ( self_ : < & IntersectionObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IntersectionObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_root_IntersectionObserver ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `root` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/root)\n\n*This API requires the following crate features to be activated: `Element`, `IntersectionObserver`*" ] pub fn root ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_root_margin_IntersectionObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IntersectionObserver as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl IntersectionObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rootMargin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/rootMargin)\n\n*This API requires the following crate features to be activated: `IntersectionObserver`*" ] pub fn root_margin ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_root_margin_IntersectionObserver ( self_ : < & IntersectionObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IntersectionObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_root_margin_IntersectionObserver ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rootMargin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/rootMargin)\n\n*This API requires the following crate features to be activated: `IntersectionObserver`*" ] pub fn root_margin ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `IntersectionObserverEntry` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry)\n\n*This API requires the following crate features to be activated: `IntersectionObserverEntry`*" ] # [ repr ( transparent ) ] pub struct IntersectionObserverEntry { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_IntersectionObserverEntry : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for IntersectionObserverEntry { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for IntersectionObserverEntry { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for IntersectionObserverEntry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a IntersectionObserverEntry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for IntersectionObserverEntry { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { IntersectionObserverEntry { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for IntersectionObserverEntry { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a IntersectionObserverEntry { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for IntersectionObserverEntry { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < IntersectionObserverEntry > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( IntersectionObserverEntry { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for IntersectionObserverEntry { # [ inline ] fn from ( obj : JsValue ) -> IntersectionObserverEntry { IntersectionObserverEntry { obj } } } impl AsRef < JsValue > for IntersectionObserverEntry { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < IntersectionObserverEntry > for JsValue { # [ inline ] fn from ( obj : IntersectionObserverEntry ) -> JsValue { obj . obj } } impl JsCast for IntersectionObserverEntry { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_IntersectionObserverEntry ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_IntersectionObserverEntry ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IntersectionObserverEntry { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IntersectionObserverEntry ) } } } ( ) } ; impl core :: ops :: Deref for IntersectionObserverEntry { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < IntersectionObserverEntry > for Object { # [ inline ] fn from ( obj : IntersectionObserverEntry ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for IntersectionObserverEntry { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_IntersectionObserverEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IntersectionObserverEntry as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl IntersectionObserverEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `time` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/time)\n\n*This API requires the following crate features to be activated: `IntersectionObserverEntry`*" ] pub fn time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_IntersectionObserverEntry ( self_ : < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_time_IntersectionObserverEntry ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `time` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/time)\n\n*This API requires the following crate features to be activated: `IntersectionObserverEntry`*" ] pub fn time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_root_bounds_IntersectionObserverEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IntersectionObserverEntry as WasmDescribe > :: describe ( ) ; < Option < DomRectReadOnly > as WasmDescribe > :: describe ( ) ; } impl IntersectionObserverEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rootBounds` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/rootBounds)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`, `IntersectionObserverEntry`*" ] pub fn root_bounds ( & self , ) -> Option < DomRectReadOnly > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_root_bounds_IntersectionObserverEntry ( self_ : < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < DomRectReadOnly > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_root_bounds_IntersectionObserverEntry ( self_ ) } ; < Option < DomRectReadOnly > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rootBounds` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/rootBounds)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`, `IntersectionObserverEntry`*" ] pub fn root_bounds ( & self , ) -> Option < DomRectReadOnly > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bounding_client_rect_IntersectionObserverEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IntersectionObserverEntry as WasmDescribe > :: describe ( ) ; < DomRectReadOnly as WasmDescribe > :: describe ( ) ; } impl IntersectionObserverEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `boundingClientRect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/boundingClientRect)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`, `IntersectionObserverEntry`*" ] pub fn bounding_client_rect ( & self , ) -> DomRectReadOnly { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bounding_client_rect_IntersectionObserverEntry ( self_ : < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_bounding_client_rect_IntersectionObserverEntry ( self_ ) } ; < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `boundingClientRect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/boundingClientRect)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`, `IntersectionObserverEntry`*" ] pub fn bounding_client_rect ( & self , ) -> DomRectReadOnly { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_intersection_rect_IntersectionObserverEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IntersectionObserverEntry as WasmDescribe > :: describe ( ) ; < DomRectReadOnly as WasmDescribe > :: describe ( ) ; } impl IntersectionObserverEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `intersectionRect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/intersectionRect)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`, `IntersectionObserverEntry`*" ] pub fn intersection_rect ( & self , ) -> DomRectReadOnly { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_intersection_rect_IntersectionObserverEntry ( self_ : < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_intersection_rect_IntersectionObserverEntry ( self_ ) } ; < DomRectReadOnly as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `intersectionRect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/intersectionRect)\n\n*This API requires the following crate features to be activated: `DomRectReadOnly`, `IntersectionObserverEntry`*" ] pub fn intersection_rect ( & self , ) -> DomRectReadOnly { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_intersecting_IntersectionObserverEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IntersectionObserverEntry as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl IntersectionObserverEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isIntersecting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/isIntersecting)\n\n*This API requires the following crate features to be activated: `IntersectionObserverEntry`*" ] pub fn is_intersecting ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_intersecting_IntersectionObserverEntry ( self_ : < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_intersecting_IntersectionObserverEntry ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isIntersecting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/isIntersecting)\n\n*This API requires the following crate features to be activated: `IntersectionObserverEntry`*" ] pub fn is_intersecting ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_intersection_ratio_IntersectionObserverEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IntersectionObserverEntry as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl IntersectionObserverEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `intersectionRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/intersectionRatio)\n\n*This API requires the following crate features to be activated: `IntersectionObserverEntry`*" ] pub fn intersection_ratio ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_intersection_ratio_IntersectionObserverEntry ( self_ : < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_intersection_ratio_IntersectionObserverEntry ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `intersectionRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/intersectionRatio)\n\n*This API requires the following crate features to be activated: `IntersectionObserverEntry`*" ] pub fn intersection_ratio ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_IntersectionObserverEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & IntersectionObserverEntry as WasmDescribe > :: describe ( ) ; < Element as WasmDescribe > :: describe ( ) ; } impl IntersectionObserverEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/target)\n\n*This API requires the following crate features to be activated: `Element`, `IntersectionObserverEntry`*" ] pub fn target ( & self , ) -> Element { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_IntersectionObserverEntry ( self_ : < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & IntersectionObserverEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_IntersectionObserverEntry ( self_ ) } ; < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/target)\n\n*This API requires the following crate features to be activated: `Element`, `IntersectionObserverEntry`*" ] pub fn target ( & self , ) -> Element { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `KeyEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`*" ] # [ repr ( transparent ) ] pub struct KeyEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_KeyEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for KeyEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for KeyEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for KeyEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a KeyEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for KeyEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { KeyEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for KeyEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a KeyEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for KeyEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < KeyEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( KeyEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for KeyEvent { # [ inline ] fn from ( obj : JsValue ) -> KeyEvent { KeyEvent { obj } } } impl AsRef < JsValue > for KeyEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < KeyEvent > for JsValue { # [ inline ] fn from ( obj : KeyEvent ) -> JsValue { obj . obj } } impl JsCast for KeyEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_KeyEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_KeyEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { KeyEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const KeyEvent ) } } } ( ) } ; impl core :: ops :: Deref for KeyEvent { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < KeyEvent > for Object { # [ inline ] fn from ( obj : KeyEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for KeyEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_key_event_KeyEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & KeyEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`*" ] pub fn init_key_event ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_key_event_KeyEvent ( self_ : < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_init_key_event_KeyEvent ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`*" ] pub fn init_key_event ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_key_event_with_can_bubble_KeyEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & KeyEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`*" ] pub fn init_key_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_key_event_with_can_bubble_KeyEvent ( self_ : < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; __widl_f_init_key_event_with_can_bubble_KeyEvent ( self_ , type_ , can_bubble ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`*" ] pub fn init_key_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_key_event_with_can_bubble_and_cancelable_KeyEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & KeyEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`*" ] pub fn init_key_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_key_event_with_can_bubble_and_cancelable_KeyEvent ( self_ : < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; __widl_f_init_key_event_with_can_bubble_and_cancelable_KeyEvent ( self_ , type_ , can_bubble , cancelable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`*" ] pub fn init_key_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_KeyEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & KeyEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_KeyEvent ( self_ : < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_KeyEvent ( self_ , type_ , can_bubble , cancelable , view ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_KeyEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & KeyEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , ctrl_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_KeyEvent ( self_ : < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_KeyEvent ( self_ , type_ , can_bubble , cancelable , view , ctrl_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , ctrl_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_KeyEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & KeyEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , ctrl_key : bool , alt_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_KeyEvent ( self_ : < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_KeyEvent ( self_ , type_ , can_bubble , cancelable , view , ctrl_key , alt_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , ctrl_key : bool , alt_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_KeyEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & KeyEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , ctrl_key : bool , alt_key : bool , shift_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_KeyEvent ( self_ : < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_KeyEvent ( self_ , type_ , can_bubble , cancelable , view , ctrl_key , alt_key , shift_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , ctrl_key : bool , alt_key : bool , shift_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_KeyEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & KeyEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_KeyEvent ( self_ : < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; let meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key , & mut __stack ) ; __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_KeyEvent ( self_ , type_ , can_bubble , cancelable , view , ctrl_key , alt_key , shift_key , meta_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code_KeyEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & KeyEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , key_code : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code_KeyEvent ( self_ : < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_code : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; let meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key , & mut __stack ) ; let key_code = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_code , & mut __stack ) ; __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code_KeyEvent ( self_ , type_ , can_bubble , cancelable , view , ctrl_key , alt_key , shift_key , meta_key , key_code ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , key_code : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code_and_char_code_KeyEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & KeyEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code_and_char_code ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , key_code : u32 , char_code : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code_and_char_code_KeyEvent ( self_ : < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_code : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , char_code : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; let meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key , & mut __stack ) ; let key_code = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_code , & mut __stack ) ; let char_code = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( char_code , & mut __stack ) ; __widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code_and_char_code_KeyEvent ( self_ , type_ , can_bubble , cancelable , view , ctrl_key , alt_key , shift_key , meta_key , key_code , char_code ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyEvent/initKeyEvent)\n\n*This API requires the following crate features to be activated: `KeyEvent`, `Window`*" ] pub fn init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code_and_char_code ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , key_code : u32 , char_code : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `KeyboardEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] # [ repr ( transparent ) ] pub struct KeyboardEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_KeyboardEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for KeyboardEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for KeyboardEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for KeyboardEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a KeyboardEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for KeyboardEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { KeyboardEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for KeyboardEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a KeyboardEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for KeyboardEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < KeyboardEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( KeyboardEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for KeyboardEvent { # [ inline ] fn from ( obj : JsValue ) -> KeyboardEvent { KeyboardEvent { obj } } } impl AsRef < JsValue > for KeyboardEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < KeyboardEvent > for JsValue { # [ inline ] fn from ( obj : KeyboardEvent ) -> JsValue { obj . obj } } impl JsCast for KeyboardEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_KeyboardEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_KeyboardEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { KeyboardEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const KeyboardEvent ) } } } ( ) } ; impl core :: ops :: Deref for KeyboardEvent { type Target = UiEvent ; # [ inline ] fn deref ( & self ) -> & UiEvent { self . as_ref ( ) } } impl From < KeyboardEvent > for UiEvent { # [ inline ] fn from ( obj : KeyboardEvent ) -> UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < UiEvent > for KeyboardEvent { # [ inline ] fn as_ref ( & self ) -> & UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < KeyboardEvent > for Event { # [ inline ] fn from ( obj : KeyboardEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for KeyboardEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < KeyboardEvent > for Object { # [ inline ] fn from ( obj : KeyboardEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for KeyboardEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < KeyboardEvent as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new KeyboardEvent(..)` constructor, creating a new instance of `KeyboardEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/KeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn new ( type_arg : & str ) -> Result < KeyboardEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_KeyboardEvent ( type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < KeyboardEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; __widl_f_new_KeyboardEvent ( type_arg , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < KeyboardEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new KeyboardEvent(..)` constructor, creating a new instance of `KeyboardEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/KeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn new ( type_arg : & str ) -> Result < KeyboardEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_keyboard_event_init_dict_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & KeyboardEventInit as WasmDescribe > :: describe ( ) ; < KeyboardEvent as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new KeyboardEvent(..)` constructor, creating a new instance of `KeyboardEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/KeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `KeyboardEventInit`*" ] pub fn new_with_keyboard_event_init_dict ( type_arg : & str , keyboard_event_init_dict : & KeyboardEventInit ) -> Result < KeyboardEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_keyboard_event_init_dict_KeyboardEvent ( type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , keyboard_event_init_dict : < & KeyboardEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < KeyboardEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let keyboard_event_init_dict = < & KeyboardEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( keyboard_event_init_dict , & mut __stack ) ; __widl_f_new_with_keyboard_event_init_dict_KeyboardEvent ( type_arg , keyboard_event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < KeyboardEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new KeyboardEvent(..)` constructor, creating a new instance of `KeyboardEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/KeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `KeyboardEventInit`*" ] pub fn new_with_keyboard_event_init_dict ( type_arg : & str , keyboard_event_init_dict : & KeyboardEventInit ) -> Result < KeyboardEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_modifier_state_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getModifierState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn get_modifier_state ( & self , key : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_modifier_state_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_get_modifier_state_KeyboardEvent ( self_ , key ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getModifierState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn get_modifier_state ( & self , key : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_keyboard_event_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn init_keyboard_event ( & self , type_arg : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_keyboard_event_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; __widl_f_init_keyboard_event_KeyboardEvent ( self_ , type_arg , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn init_keyboard_event ( & self , type_arg : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_keyboard_event_with_bubbles_arg_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn init_keyboard_event_with_bubbles_arg ( & self , type_arg : & str , bubbles_arg : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_keyboard_event_with_bubbles_arg_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let bubbles_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles_arg , & mut __stack ) ; __widl_f_init_keyboard_event_with_bubbles_arg_KeyboardEvent ( self_ , type_arg , bubbles_arg , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn init_keyboard_event_with_bubbles_arg ( & self , type_arg : & str , bubbles_arg : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let bubbles_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_KeyboardEvent ( self_ , type_arg , bubbles_arg , cancelable_arg , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let bubbles_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_KeyboardEvent ( self_ , type_arg , bubbles_arg , cancelable_arg , view_arg , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , key_arg : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let bubbles_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let key_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_arg , & mut __stack ) ; __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_KeyboardEvent ( self_ , type_arg , bubbles_arg , cancelable_arg , view_arg , key_arg , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , key_arg : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , key_arg : & str , location_arg : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location_arg : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let bubbles_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let key_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_arg , & mut __stack ) ; let location_arg = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location_arg , & mut __stack ) ; __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_KeyboardEvent ( self_ , type_arg , bubbles_arg , cancelable_arg , view_arg , key_arg , location_arg , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , key_arg : & str , location_arg : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , key_arg : & str , location_arg : u32 , ctrl_key : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location_arg : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let bubbles_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let key_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_arg , & mut __stack ) ; let location_arg = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location_arg , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_KeyboardEvent ( self_ , type_arg , bubbles_arg , cancelable_arg , view_arg , key_arg , location_arg , ctrl_key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , key_arg : & str , location_arg : u32 , ctrl_key : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , key_arg : & str , location_arg : u32 , ctrl_key : bool , alt_key : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location_arg : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let bubbles_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let key_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_arg , & mut __stack ) ; let location_arg = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location_arg , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_KeyboardEvent ( self_ , type_arg , bubbles_arg , cancelable_arg , view_arg , key_arg , location_arg , ctrl_key , alt_key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , key_arg : & str , location_arg : u32 , ctrl_key : bool , alt_key : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , key_arg : & str , location_arg : u32 , ctrl_key : bool , alt_key : bool , shift_key : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location_arg : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let bubbles_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let key_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_arg , & mut __stack ) ; let location_arg = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location_arg , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key_KeyboardEvent ( self_ , type_arg , bubbles_arg , cancelable_arg , view_arg , key_arg , location_arg , ctrl_key , alt_key , shift_key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , key_arg : & str , location_arg : u32 , ctrl_key : bool , alt_key : bool , shift_key : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , key_arg : & str , location_arg : u32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location_arg : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let bubbles_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let key_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_arg , & mut __stack ) ; let location_arg = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location_arg , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; let meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key , & mut __stack ) ; __widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_KeyboardEvent ( self_ , type_arg , bubbles_arg , cancelable_arg , view_arg , key_arg , location_arg , ctrl_key , alt_key , shift_key , meta_key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initKeyboardEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`, `Window`*" ] pub fn init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key ( & self , type_arg : & str , bubbles_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , key_arg : & str , location_arg : u32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_char_code_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `charCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/charCode)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn char_code ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_char_code_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_char_code_KeyboardEvent ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `charCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/charCode)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn char_code ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_key_code_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keyCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn key_code ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_key_code_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_key_code_KeyboardEvent ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keyCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn key_code ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_alt_key_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `altKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/altKey)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn alt_key ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_alt_key_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_alt_key_KeyboardEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `altKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/altKey)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn alt_key ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ctrl_key_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ctrlKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/ctrlKey)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn ctrl_key ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ctrl_key_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ctrl_key_KeyboardEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ctrlKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/ctrlKey)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn ctrl_key ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shift_key_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shiftKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/shiftKey)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn shift_key ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shift_key_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_shift_key_KeyboardEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shiftKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/shiftKey)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn shift_key ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_meta_key_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `metaKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/metaKey)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn meta_key ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_meta_key_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_meta_key_KeyboardEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `metaKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/metaKey)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn meta_key ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_location_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `location` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/location)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn location ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_location_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_location_KeyboardEvent ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `location` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/location)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn location ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_repeat_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `repeat` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn repeat ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_repeat_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_repeat_KeyboardEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `repeat` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn repeat ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_composing_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isComposing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/isComposing)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn is_composing ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_composing_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_composing_KeyboardEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isComposing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/isComposing)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn is_composing ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_key_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `key` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn key ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_key_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_key_KeyboardEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `key` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn key ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_code_KeyboardEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyboardEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl KeyboardEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `code` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn code ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_code_KeyboardEvent ( self_ : < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyboardEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_code_KeyboardEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `code` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code)\n\n*This API requires the following crate features to be activated: `KeyboardEvent`*" ] pub fn code ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `KeyframeEffect` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `KeyframeEffect`*" ] # [ repr ( transparent ) ] pub struct KeyframeEffect { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_KeyframeEffect : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for KeyframeEffect { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for KeyframeEffect { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for KeyframeEffect { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a KeyframeEffect { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for KeyframeEffect { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { KeyframeEffect { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for KeyframeEffect { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a KeyframeEffect { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for KeyframeEffect { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < KeyframeEffect > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( KeyframeEffect { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for KeyframeEffect { # [ inline ] fn from ( obj : JsValue ) -> KeyframeEffect { KeyframeEffect { obj } } } impl AsRef < JsValue > for KeyframeEffect { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < KeyframeEffect > for JsValue { # [ inline ] fn from ( obj : KeyframeEffect ) -> JsValue { obj . obj } } impl JsCast for KeyframeEffect { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_KeyframeEffect ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_KeyframeEffect ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { KeyframeEffect { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const KeyframeEffect ) } } } ( ) } ; impl core :: ops :: Deref for KeyframeEffect { type Target = AnimationEffect ; # [ inline ] fn deref ( & self ) -> & AnimationEffect { self . as_ref ( ) } } impl From < KeyframeEffect > for AnimationEffect { # [ inline ] fn from ( obj : KeyframeEffect ) -> AnimationEffect { use wasm_bindgen :: JsCast ; AnimationEffect :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AnimationEffect > for KeyframeEffect { # [ inline ] fn as_ref ( & self ) -> & AnimationEffect { use wasm_bindgen :: JsCast ; AnimationEffect :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < KeyframeEffect > for Object { # [ inline ] fn from ( obj : KeyframeEffect ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for KeyframeEffect { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_element_and_keyframes_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < Option < & Element > as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < KeyframeEffect as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `Element`, `KeyframeEffect`*" ] pub fn new_with_opt_element_and_keyframes ( target : Option < & Element > , keyframes : Option < & :: js_sys :: Object > ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_element_and_keyframes_KeyframeEffect ( target : < Option < & Element > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , keyframes : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let target = < Option < & Element > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let keyframes = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( keyframes , & mut __stack ) ; __widl_f_new_with_opt_element_and_keyframes_KeyframeEffect ( target , keyframes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `Element`, `KeyframeEffect`*" ] pub fn new_with_opt_element_and_keyframes ( target : Option < & Element > , keyframes : Option < & :: js_sys :: Object > ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_css_pseudo_element_and_keyframes_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < Option < & CssPseudoElement > as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < KeyframeEffect as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `CssPseudoElement`, `KeyframeEffect`*" ] pub fn new_with_opt_css_pseudo_element_and_keyframes ( target : Option < & CssPseudoElement > , keyframes : Option < & :: js_sys :: Object > ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_css_pseudo_element_and_keyframes_KeyframeEffect ( target : < Option < & CssPseudoElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , keyframes : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let target = < Option < & CssPseudoElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let keyframes = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( keyframes , & mut __stack ) ; __widl_f_new_with_opt_css_pseudo_element_and_keyframes_KeyframeEffect ( target , keyframes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `CssPseudoElement`, `KeyframeEffect`*" ] pub fn new_with_opt_css_pseudo_element_and_keyframes ( target : Option < & CssPseudoElement > , keyframes : Option < & :: js_sys :: Object > ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_element_and_keyframes_and_f64_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < Option < & Element > as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < KeyframeEffect as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `Element`, `KeyframeEffect`*" ] pub fn new_with_opt_element_and_keyframes_and_f64 ( target : Option < & Element > , keyframes : Option < & :: js_sys :: Object > , options : f64 ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_element_and_keyframes_and_f64_KeyframeEffect ( target : < Option < & Element > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , keyframes : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let target = < Option < & Element > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let keyframes = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( keyframes , & mut __stack ) ; let options = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_opt_element_and_keyframes_and_f64_KeyframeEffect ( target , keyframes , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `Element`, `KeyframeEffect`*" ] pub fn new_with_opt_element_and_keyframes_and_f64 ( target : Option < & Element > , keyframes : Option < & :: js_sys :: Object > , options : f64 ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_css_pseudo_element_and_keyframes_and_f64_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < Option < & CssPseudoElement > as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < KeyframeEffect as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `CssPseudoElement`, `KeyframeEffect`*" ] pub fn new_with_opt_css_pseudo_element_and_keyframes_and_f64 ( target : Option < & CssPseudoElement > , keyframes : Option < & :: js_sys :: Object > , options : f64 ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_css_pseudo_element_and_keyframes_and_f64_KeyframeEffect ( target : < Option < & CssPseudoElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , keyframes : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let target = < Option < & CssPseudoElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let keyframes = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( keyframes , & mut __stack ) ; let options = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_opt_css_pseudo_element_and_keyframes_and_f64_KeyframeEffect ( target , keyframes , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `CssPseudoElement`, `KeyframeEffect`*" ] pub fn new_with_opt_css_pseudo_element_and_keyframes_and_f64 ( target : Option < & CssPseudoElement > , keyframes : Option < & :: js_sys :: Object > , options : f64 ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_element_and_keyframes_and_keyframe_effect_options_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < Option < & Element > as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < & KeyframeEffectOptions as WasmDescribe > :: describe ( ) ; < KeyframeEffect as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `Element`, `KeyframeEffect`, `KeyframeEffectOptions`*" ] pub fn new_with_opt_element_and_keyframes_and_keyframe_effect_options ( target : Option < & Element > , keyframes : Option < & :: js_sys :: Object > , options : & KeyframeEffectOptions ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_element_and_keyframes_and_keyframe_effect_options_KeyframeEffect ( target : < Option < & Element > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , keyframes : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & KeyframeEffectOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let target = < Option < & Element > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let keyframes = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( keyframes , & mut __stack ) ; let options = < & KeyframeEffectOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_opt_element_and_keyframes_and_keyframe_effect_options_KeyframeEffect ( target , keyframes , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `Element`, `KeyframeEffect`, `KeyframeEffectOptions`*" ] pub fn new_with_opt_element_and_keyframes_and_keyframe_effect_options ( target : Option < & Element > , keyframes : Option < & :: js_sys :: Object > , options : & KeyframeEffectOptions ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_css_pseudo_element_and_keyframes_and_keyframe_effect_options_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < Option < & CssPseudoElement > as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < & KeyframeEffectOptions as WasmDescribe > :: describe ( ) ; < KeyframeEffect as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `CssPseudoElement`, `KeyframeEffect`, `KeyframeEffectOptions`*" ] pub fn new_with_opt_css_pseudo_element_and_keyframes_and_keyframe_effect_options ( target : Option < & CssPseudoElement > , keyframes : Option < & :: js_sys :: Object > , options : & KeyframeEffectOptions ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_css_pseudo_element_and_keyframes_and_keyframe_effect_options_KeyframeEffect ( target : < Option < & CssPseudoElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , keyframes : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & KeyframeEffectOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let target = < Option < & CssPseudoElement > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let keyframes = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( keyframes , & mut __stack ) ; let options = < & KeyframeEffectOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_opt_css_pseudo_element_and_keyframes_and_keyframe_effect_options_KeyframeEffect ( target , keyframes , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `CssPseudoElement`, `KeyframeEffect`, `KeyframeEffectOptions`*" ] pub fn new_with_opt_css_pseudo_element_and_keyframes_and_keyframe_effect_options ( target : Option < & CssPseudoElement > , keyframes : Option < & :: js_sys :: Object > , options : & KeyframeEffectOptions ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_source_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyframeEffect as WasmDescribe > :: describe ( ) ; < KeyframeEffect as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `KeyframeEffect`*" ] pub fn new_with_source ( source : & KeyframeEffect ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_source_KeyframeEffect ( source : < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let source = < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_new_with_source_KeyframeEffect ( source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < KeyframeEffect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new KeyframeEffect(..)` constructor, creating a new instance of `KeyframeEffect`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect)\n\n*This API requires the following crate features to be activated: `KeyframeEffect`*" ] pub fn new_with_source ( source : & KeyframeEffect ) -> Result < KeyframeEffect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_keyframes_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & KeyframeEffect as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setKeyframes()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/setKeyframes)\n\n*This API requires the following crate features to be activated: `KeyframeEffect`*" ] pub fn set_keyframes ( & self , keyframes : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_keyframes_KeyframeEffect ( self_ : < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , keyframes : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let keyframes = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( keyframes , & mut __stack ) ; __widl_f_set_keyframes_KeyframeEffect ( self_ , keyframes , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setKeyframes()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/setKeyframes)\n\n*This API requires the following crate features to be activated: `KeyframeEffect`*" ] pub fn set_keyframes ( & self , keyframes : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyframeEffect as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/target)\n\n*This API requires the following crate features to be activated: `KeyframeEffect`*" ] pub fn target ( & self , ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_KeyframeEffect ( self_ : < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_KeyframeEffect ( self_ ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/target)\n\n*This API requires the following crate features to be activated: `KeyframeEffect`*" ] pub fn target ( & self , ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_target_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & KeyframeEffect as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/target)\n\n*This API requires the following crate features to be activated: `KeyframeEffect`*" ] pub fn set_target ( & self , target : Option < & :: js_sys :: Object > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_target_KeyframeEffect ( self_ : < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_set_target_KeyframeEffect ( self_ , target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/target)\n\n*This API requires the following crate features to be activated: `KeyframeEffect`*" ] pub fn set_target ( & self , target : Option < & :: js_sys :: Object > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_iteration_composite_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyframeEffect as WasmDescribe > :: describe ( ) ; < IterationCompositeOperation as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `iterationComposite` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/iterationComposite)\n\n*This API requires the following crate features to be activated: `IterationCompositeOperation`, `KeyframeEffect`*" ] pub fn iteration_composite ( & self , ) -> IterationCompositeOperation { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_iteration_composite_KeyframeEffect ( self_ : < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < IterationCompositeOperation as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_iteration_composite_KeyframeEffect ( self_ ) } ; < IterationCompositeOperation as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `iterationComposite` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/iterationComposite)\n\n*This API requires the following crate features to be activated: `IterationCompositeOperation`, `KeyframeEffect`*" ] pub fn iteration_composite ( & self , ) -> IterationCompositeOperation { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_iteration_composite_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & KeyframeEffect as WasmDescribe > :: describe ( ) ; < IterationCompositeOperation as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `iterationComposite` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/iterationComposite)\n\n*This API requires the following crate features to be activated: `IterationCompositeOperation`, `KeyframeEffect`*" ] pub fn set_iteration_composite ( & self , iteration_composite : IterationCompositeOperation ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_iteration_composite_KeyframeEffect ( self_ : < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , iteration_composite : < IterationCompositeOperation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let iteration_composite = < IterationCompositeOperation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( iteration_composite , & mut __stack ) ; __widl_f_set_iteration_composite_KeyframeEffect ( self_ , iteration_composite ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `iterationComposite` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/iterationComposite)\n\n*This API requires the following crate features to be activated: `IterationCompositeOperation`, `KeyframeEffect`*" ] pub fn set_iteration_composite ( & self , iteration_composite : IterationCompositeOperation ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_composite_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & KeyframeEffect as WasmDescribe > :: describe ( ) ; < CompositeOperation as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `composite` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/composite)\n\n*This API requires the following crate features to be activated: `CompositeOperation`, `KeyframeEffect`*" ] pub fn composite ( & self , ) -> CompositeOperation { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_composite_KeyframeEffect ( self_ : < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < CompositeOperation as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_composite_KeyframeEffect ( self_ ) } ; < CompositeOperation as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `composite` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/composite)\n\n*This API requires the following crate features to be activated: `CompositeOperation`, `KeyframeEffect`*" ] pub fn composite ( & self , ) -> CompositeOperation { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_composite_KeyframeEffect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & KeyframeEffect as WasmDescribe > :: describe ( ) ; < CompositeOperation as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl KeyframeEffect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `composite` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/composite)\n\n*This API requires the following crate features to be activated: `CompositeOperation`, `KeyframeEffect`*" ] pub fn set_composite ( & self , composite : CompositeOperation ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_composite_KeyframeEffect ( self_ : < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , composite : < CompositeOperation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & KeyframeEffect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let composite = < CompositeOperation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( composite , & mut __stack ) ; __widl_f_set_composite_KeyframeEffect ( self_ , composite ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `composite` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/composite)\n\n*This API requires the following crate features to be activated: `CompositeOperation`, `KeyframeEffect`*" ] pub fn set_composite ( & self , composite : CompositeOperation ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `LocalMediaStream` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/LocalMediaStream)\n\n*This API requires the following crate features to be activated: `LocalMediaStream`*" ] # [ repr ( transparent ) ] pub struct LocalMediaStream { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_LocalMediaStream : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for LocalMediaStream { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for LocalMediaStream { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for LocalMediaStream { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a LocalMediaStream { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for LocalMediaStream { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { LocalMediaStream { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for LocalMediaStream { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a LocalMediaStream { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for LocalMediaStream { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < LocalMediaStream > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( LocalMediaStream { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for LocalMediaStream { # [ inline ] fn from ( obj : JsValue ) -> LocalMediaStream { LocalMediaStream { obj } } } impl AsRef < JsValue > for LocalMediaStream { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < LocalMediaStream > for JsValue { # [ inline ] fn from ( obj : LocalMediaStream ) -> JsValue { obj . obj } } impl JsCast for LocalMediaStream { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_LocalMediaStream ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_LocalMediaStream ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { LocalMediaStream { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const LocalMediaStream ) } } } ( ) } ; impl core :: ops :: Deref for LocalMediaStream { type Target = MediaStream ; # [ inline ] fn deref ( & self ) -> & MediaStream { self . as_ref ( ) } } impl From < LocalMediaStream > for MediaStream { # [ inline ] fn from ( obj : LocalMediaStream ) -> MediaStream { use wasm_bindgen :: JsCast ; MediaStream :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < MediaStream > for LocalMediaStream { # [ inline ] fn as_ref ( & self ) -> & MediaStream { use wasm_bindgen :: JsCast ; MediaStream :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < LocalMediaStream > for EventTarget { # [ inline ] fn from ( obj : LocalMediaStream ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for LocalMediaStream { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < LocalMediaStream > for Object { # [ inline ] fn from ( obj : LocalMediaStream ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for LocalMediaStream { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_LocalMediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & LocalMediaStream as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl LocalMediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/LocalMediaStream/stop)\n\n*This API requires the following crate features to be activated: `LocalMediaStream`*" ] pub fn stop ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_LocalMediaStream ( self_ : < & LocalMediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & LocalMediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stop_LocalMediaStream ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/LocalMediaStream/stop)\n\n*This API requires the following crate features to be activated: `LocalMediaStream`*" ] pub fn stop ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Location` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location)\n\n*This API requires the following crate features to be activated: `Location`*" ] # [ repr ( transparent ) ] pub struct Location { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Location : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Location { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Location { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Location { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Location { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Location { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Location { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Location { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Location { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Location { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Location > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Location { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Location { # [ inline ] fn from ( obj : JsValue ) -> Location { Location { obj } } } impl AsRef < JsValue > for Location { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Location > for JsValue { # [ inline ] fn from ( obj : Location ) -> JsValue { obj . obj } } impl JsCast for Location { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Location ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Location ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Location { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Location ) } } } ( ) } ; impl core :: ops :: Deref for Location { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Location > for Object { # [ inline ] fn from ( obj : Location ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Location { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_assign_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `assign()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/assign)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn assign ( & self , url : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_assign_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_assign_Location ( self_ , url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `assign()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/assign)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn assign ( & self , url : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reload_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reload()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/reload)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn reload ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reload_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reload_Location ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reload()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/reload)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn reload ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reload_with_forceget_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reload()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/reload)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn reload_with_forceget ( & self , forceget : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reload_with_forceget_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , forceget : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let forceget = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( forceget , & mut __stack ) ; __widl_f_reload_with_forceget_Location ( self_ , forceget , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reload()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/reload)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn reload_with_forceget ( & self , forceget : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/replace)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn replace ( & self , url : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_replace_Location ( self_ , url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/replace)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn replace ( & self , url : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/href)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn href ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_Location ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/href)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn href ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_href_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/href)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_href ( & self , href : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_href_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , href : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let href = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( href , & mut __stack ) ; __widl_f_set_href_Location ( self_ , href , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/href)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_href ( & self , href : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_origin_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/origin)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn origin ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_origin_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_origin_Location ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/origin)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn origin ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_protocol_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `protocol` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/protocol)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn protocol ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_protocol_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_protocol_Location ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `protocol` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/protocol)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn protocol ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_protocol_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `protocol` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/protocol)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_protocol ( & self , protocol : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_protocol_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , protocol : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let protocol = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( protocol , & mut __stack ) ; __widl_f_set_protocol_Location ( self_ , protocol , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `protocol` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/protocol)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_protocol ( & self , protocol : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_host_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `host` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/host)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn host ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_host_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_host_Location ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `host` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/host)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn host ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_host_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `host` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/host)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_host ( & self , host : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_host_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , host : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let host = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( host , & mut __stack ) ; __widl_f_set_host_Location ( self_ , host , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `host` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/host)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_host ( & self , host : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hostname_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hostname` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn hostname ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hostname_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hostname_Location ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hostname` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn hostname ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_hostname_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hostname` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_hostname ( & self , hostname : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_hostname_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , hostname : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let hostname = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( hostname , & mut __stack ) ; __widl_f_set_hostname_Location ( self_ , hostname , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hostname` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_hostname ( & self , hostname : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_port_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/port)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn port ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_port_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_port_Location ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/port)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn port ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_port_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `port` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/port)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_port ( & self , port : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_port_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , port : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let port = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( port , & mut __stack ) ; __widl_f_set_port_Location ( self_ , port , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `port` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/port)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_port ( & self , port : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pathname_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pathname` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/pathname)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn pathname ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pathname_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pathname_Location ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pathname` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/pathname)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn pathname ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_pathname_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pathname` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/pathname)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_pathname ( & self , pathname : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_pathname_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pathname : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pathname = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pathname , & mut __stack ) ; __widl_f_set_pathname_Location ( self_ , pathname , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pathname` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/pathname)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_pathname ( & self , pathname : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_search_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `search` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/search)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn search ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_search_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_search_Location ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `search` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/search)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn search ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_search_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `search` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/search)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_search ( & self , search : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_search_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , search : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let search = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( search , & mut __stack ) ; __widl_f_set_search_Location ( self_ , search , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `search` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/search)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_search ( & self , search : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hash_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hash` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/hash)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn hash ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hash_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hash_Location ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hash` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/hash)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn hash ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_hash_Location ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Location as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Location { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hash` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/hash)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_hash ( & self , hash : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_hash_Location ( self_ : < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , hash : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Location as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let hash = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( hash , & mut __stack ) ; __widl_f_set_hash_Location ( self_ , hash , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hash` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Location/hash)\n\n*This API requires the following crate features to be activated: `Location`*" ] pub fn set_hash ( & self , hash : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MIDIAccess` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess)\n\n*This API requires the following crate features to be activated: `MidiAccess`*" ] # [ repr ( transparent ) ] pub struct MidiAccess { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MidiAccess : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MidiAccess { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MidiAccess { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MidiAccess { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MidiAccess { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MidiAccess { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MidiAccess { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MidiAccess { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MidiAccess { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MidiAccess { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MidiAccess > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MidiAccess { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MidiAccess { # [ inline ] fn from ( obj : JsValue ) -> MidiAccess { MidiAccess { obj } } } impl AsRef < JsValue > for MidiAccess { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MidiAccess > for JsValue { # [ inline ] fn from ( obj : MidiAccess ) -> JsValue { obj . obj } } impl JsCast for MidiAccess { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MIDIAccess ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MIDIAccess ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MidiAccess { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MidiAccess ) } } } ( ) } ; impl core :: ops :: Deref for MidiAccess { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < MidiAccess > for EventTarget { # [ inline ] fn from ( obj : MidiAccess ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MidiAccess { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MidiAccess > for Object { # [ inline ] fn from ( obj : MidiAccess ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MidiAccess { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_inputs_MIDIAccess ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiAccess as WasmDescribe > :: describe ( ) ; < MidiInputMap as WasmDescribe > :: describe ( ) ; } impl MidiAccess { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `inputs` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/inputs)\n\n*This API requires the following crate features to be activated: `MidiAccess`, `MidiInputMap`*" ] pub fn inputs ( & self , ) -> MidiInputMap { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_inputs_MIDIAccess ( self_ : < & MidiAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MidiInputMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_inputs_MIDIAccess ( self_ ) } ; < MidiInputMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `inputs` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/inputs)\n\n*This API requires the following crate features to be activated: `MidiAccess`, `MidiInputMap`*" ] pub fn inputs ( & self , ) -> MidiInputMap { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_outputs_MIDIAccess ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiAccess as WasmDescribe > :: describe ( ) ; < MidiOutputMap as WasmDescribe > :: describe ( ) ; } impl MidiAccess { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `outputs` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/outputs)\n\n*This API requires the following crate features to be activated: `MidiAccess`, `MidiOutputMap`*" ] pub fn outputs ( & self , ) -> MidiOutputMap { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_outputs_MIDIAccess ( self_ : < & MidiAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MidiOutputMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_outputs_MIDIAccess ( self_ ) } ; < MidiOutputMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `outputs` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/outputs)\n\n*This API requires the following crate features to be activated: `MidiAccess`, `MidiOutputMap`*" ] pub fn outputs ( & self , ) -> MidiOutputMap { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstatechange_MIDIAccess ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiAccess as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MidiAccess { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/onstatechange)\n\n*This API requires the following crate features to be activated: `MidiAccess`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstatechange_MIDIAccess ( self_ : < & MidiAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstatechange_MIDIAccess ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/onstatechange)\n\n*This API requires the following crate features to be activated: `MidiAccess`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstatechange_MIDIAccess ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MidiAccess as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MidiAccess { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/onstatechange)\n\n*This API requires the following crate features to be activated: `MidiAccess`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstatechange_MIDIAccess ( self_ : < & MidiAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstatechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstatechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstatechange , & mut __stack ) ; __widl_f_set_onstatechange_MIDIAccess ( self_ , onstatechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/onstatechange)\n\n*This API requires the following crate features to be activated: `MidiAccess`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sysex_enabled_MIDIAccess ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiAccess as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MidiAccess { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sysexEnabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/sysexEnabled)\n\n*This API requires the following crate features to be activated: `MidiAccess`*" ] pub fn sysex_enabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sysex_enabled_MIDIAccess ( self_ : < & MidiAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sysex_enabled_MIDIAccess ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sysexEnabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIAccess/sysexEnabled)\n\n*This API requires the following crate features to be activated: `MidiAccess`*" ] pub fn sysex_enabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MIDIConnectionEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIConnectionEvent)\n\n*This API requires the following crate features to be activated: `MidiConnectionEvent`*" ] # [ repr ( transparent ) ] pub struct MidiConnectionEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MidiConnectionEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MidiConnectionEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MidiConnectionEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MidiConnectionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MidiConnectionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MidiConnectionEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MidiConnectionEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MidiConnectionEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MidiConnectionEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MidiConnectionEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MidiConnectionEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MidiConnectionEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MidiConnectionEvent { # [ inline ] fn from ( obj : JsValue ) -> MidiConnectionEvent { MidiConnectionEvent { obj } } } impl AsRef < JsValue > for MidiConnectionEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MidiConnectionEvent > for JsValue { # [ inline ] fn from ( obj : MidiConnectionEvent ) -> JsValue { obj . obj } } impl JsCast for MidiConnectionEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MIDIConnectionEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MIDIConnectionEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MidiConnectionEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MidiConnectionEvent ) } } } ( ) } ; impl core :: ops :: Deref for MidiConnectionEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < MidiConnectionEvent > for Event { # [ inline ] fn from ( obj : MidiConnectionEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for MidiConnectionEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MidiConnectionEvent > for Object { # [ inline ] fn from ( obj : MidiConnectionEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MidiConnectionEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MIDIConnectionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < MidiConnectionEvent as WasmDescribe > :: describe ( ) ; } impl MidiConnectionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MIDIConnectionEvent(..)` constructor, creating a new instance of `MIDIConnectionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIConnectionEvent/MIDIConnectionEvent)\n\n*This API requires the following crate features to be activated: `MidiConnectionEvent`*" ] pub fn new ( type_ : & str ) -> Result < MidiConnectionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MIDIConnectionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MidiConnectionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_MIDIConnectionEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MidiConnectionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MIDIConnectionEvent(..)` constructor, creating a new instance of `MIDIConnectionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIConnectionEvent/MIDIConnectionEvent)\n\n*This API requires the following crate features to be activated: `MidiConnectionEvent`*" ] pub fn new ( type_ : & str ) -> Result < MidiConnectionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_MIDIConnectionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & MidiConnectionEventInit as WasmDescribe > :: describe ( ) ; < MidiConnectionEvent as WasmDescribe > :: describe ( ) ; } impl MidiConnectionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MIDIConnectionEvent(..)` constructor, creating a new instance of `MIDIConnectionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIConnectionEvent/MIDIConnectionEvent)\n\n*This API requires the following crate features to be activated: `MidiConnectionEvent`, `MidiConnectionEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & MidiConnectionEventInit ) -> Result < MidiConnectionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_MIDIConnectionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & MidiConnectionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MidiConnectionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & MidiConnectionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_MIDIConnectionEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MidiConnectionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MIDIConnectionEvent(..)` constructor, creating a new instance of `MIDIConnectionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIConnectionEvent/MIDIConnectionEvent)\n\n*This API requires the following crate features to be activated: `MidiConnectionEvent`, `MidiConnectionEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & MidiConnectionEventInit ) -> Result < MidiConnectionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_port_MIDIConnectionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiConnectionEvent as WasmDescribe > :: describe ( ) ; < Option < MidiPort > as WasmDescribe > :: describe ( ) ; } impl MidiConnectionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIConnectionEvent/port)\n\n*This API requires the following crate features to be activated: `MidiConnectionEvent`, `MidiPort`*" ] pub fn port ( & self , ) -> Option < MidiPort > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_port_MIDIConnectionEvent ( self_ : < & MidiConnectionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MidiPort > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiConnectionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_port_MIDIConnectionEvent ( self_ ) } ; < Option < MidiPort > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIConnectionEvent/port)\n\n*This API requires the following crate features to be activated: `MidiConnectionEvent`, `MidiPort`*" ] pub fn port ( & self , ) -> Option < MidiPort > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MIDIInput` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInput)\n\n*This API requires the following crate features to be activated: `MidiInput`*" ] # [ repr ( transparent ) ] pub struct MidiInput { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MidiInput : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MidiInput { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MidiInput { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MidiInput { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MidiInput { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MidiInput { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MidiInput { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MidiInput { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MidiInput { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MidiInput { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MidiInput > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MidiInput { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MidiInput { # [ inline ] fn from ( obj : JsValue ) -> MidiInput { MidiInput { obj } } } impl AsRef < JsValue > for MidiInput { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MidiInput > for JsValue { # [ inline ] fn from ( obj : MidiInput ) -> JsValue { obj . obj } } impl JsCast for MidiInput { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MIDIInput ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MIDIInput ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MidiInput { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MidiInput ) } } } ( ) } ; impl core :: ops :: Deref for MidiInput { type Target = MidiPort ; # [ inline ] fn deref ( & self ) -> & MidiPort { self . as_ref ( ) } } impl From < MidiInput > for MidiPort { # [ inline ] fn from ( obj : MidiInput ) -> MidiPort { use wasm_bindgen :: JsCast ; MidiPort :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < MidiPort > for MidiInput { # [ inline ] fn as_ref ( & self ) -> & MidiPort { use wasm_bindgen :: JsCast ; MidiPort :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MidiInput > for EventTarget { # [ inline ] fn from ( obj : MidiInput ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MidiInput { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MidiInput > for Object { # [ inline ] fn from ( obj : MidiInput ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MidiInput { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmidimessage_MIDIInput ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiInput as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MidiInput { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmidimessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInput/onmidimessage)\n\n*This API requires the following crate features to be activated: `MidiInput`*" ] pub fn onmidimessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmidimessage_MIDIInput ( self_ : < & MidiInput as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiInput as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmidimessage_MIDIInput ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmidimessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInput/onmidimessage)\n\n*This API requires the following crate features to be activated: `MidiInput`*" ] pub fn onmidimessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmidimessage_MIDIInput ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MidiInput as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MidiInput { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmidimessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInput/onmidimessage)\n\n*This API requires the following crate features to be activated: `MidiInput`*" ] pub fn set_onmidimessage ( & self , onmidimessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmidimessage_MIDIInput ( self_ : < & MidiInput as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmidimessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiInput as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmidimessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmidimessage , & mut __stack ) ; __widl_f_set_onmidimessage_MIDIInput ( self_ , onmidimessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmidimessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInput/onmidimessage)\n\n*This API requires the following crate features to be activated: `MidiInput`*" ] pub fn set_onmidimessage ( & self , onmidimessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MIDIInputMap` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIInputMap)\n\n*This API requires the following crate features to be activated: `MidiInputMap`*" ] # [ repr ( transparent ) ] pub struct MidiInputMap { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MidiInputMap : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MidiInputMap { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MidiInputMap { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MidiInputMap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MidiInputMap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MidiInputMap { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MidiInputMap { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MidiInputMap { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MidiInputMap { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MidiInputMap { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MidiInputMap > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MidiInputMap { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MidiInputMap { # [ inline ] fn from ( obj : JsValue ) -> MidiInputMap { MidiInputMap { obj } } } impl AsRef < JsValue > for MidiInputMap { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MidiInputMap > for JsValue { # [ inline ] fn from ( obj : MidiInputMap ) -> JsValue { obj . obj } } impl JsCast for MidiInputMap { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MIDIInputMap ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MIDIInputMap ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MidiInputMap { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MidiInputMap ) } } } ( ) } ; impl core :: ops :: Deref for MidiInputMap { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MidiInputMap > for Object { # [ inline ] fn from ( obj : MidiInputMap ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MidiInputMap { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MIDIMessageEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIMessageEvent)\n\n*This API requires the following crate features to be activated: `MidiMessageEvent`*" ] # [ repr ( transparent ) ] pub struct MidiMessageEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MidiMessageEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MidiMessageEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MidiMessageEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MidiMessageEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MidiMessageEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MidiMessageEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MidiMessageEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MidiMessageEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MidiMessageEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MidiMessageEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MidiMessageEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MidiMessageEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MidiMessageEvent { # [ inline ] fn from ( obj : JsValue ) -> MidiMessageEvent { MidiMessageEvent { obj } } } impl AsRef < JsValue > for MidiMessageEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MidiMessageEvent > for JsValue { # [ inline ] fn from ( obj : MidiMessageEvent ) -> JsValue { obj . obj } } impl JsCast for MidiMessageEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MIDIMessageEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MIDIMessageEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MidiMessageEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MidiMessageEvent ) } } } ( ) } ; impl core :: ops :: Deref for MidiMessageEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < MidiMessageEvent > for Event { # [ inline ] fn from ( obj : MidiMessageEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for MidiMessageEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MidiMessageEvent > for Object { # [ inline ] fn from ( obj : MidiMessageEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MidiMessageEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MIDIMessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < MidiMessageEvent as WasmDescribe > :: describe ( ) ; } impl MidiMessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MIDIMessageEvent(..)` constructor, creating a new instance of `MIDIMessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIMessageEvent/MIDIMessageEvent)\n\n*This API requires the following crate features to be activated: `MidiMessageEvent`*" ] pub fn new ( type_ : & str ) -> Result < MidiMessageEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MIDIMessageEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MidiMessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_MIDIMessageEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MidiMessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MIDIMessageEvent(..)` constructor, creating a new instance of `MIDIMessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIMessageEvent/MIDIMessageEvent)\n\n*This API requires the following crate features to be activated: `MidiMessageEvent`*" ] pub fn new ( type_ : & str ) -> Result < MidiMessageEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_MIDIMessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & MidiMessageEventInit as WasmDescribe > :: describe ( ) ; < MidiMessageEvent as WasmDescribe > :: describe ( ) ; } impl MidiMessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MIDIMessageEvent(..)` constructor, creating a new instance of `MIDIMessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIMessageEvent/MIDIMessageEvent)\n\n*This API requires the following crate features to be activated: `MidiMessageEvent`, `MidiMessageEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & MidiMessageEventInit ) -> Result < MidiMessageEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_MIDIMessageEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & MidiMessageEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MidiMessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & MidiMessageEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_MIDIMessageEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MidiMessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MIDIMessageEvent(..)` constructor, creating a new instance of `MIDIMessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIMessageEvent/MIDIMessageEvent)\n\n*This API requires the following crate features to be activated: `MidiMessageEvent`, `MidiMessageEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & MidiMessageEventInit ) -> Result < MidiMessageEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_data_MIDIMessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiMessageEvent as WasmDescribe > :: describe ( ) ; < Vec < u8 > as WasmDescribe > :: describe ( ) ; } impl MidiMessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIMessageEvent/data)\n\n*This API requires the following crate features to be activated: `MidiMessageEvent`*" ] pub fn data ( & self , ) -> Result < Vec < u8 > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_data_MIDIMessageEvent ( self_ : < & MidiMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Vec < u8 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_data_MIDIMessageEvent ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Vec < u8 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIMessageEvent/data)\n\n*This API requires the following crate features to be activated: `MidiMessageEvent`*" ] pub fn data ( & self , ) -> Result < Vec < u8 > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MIDIOutput` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutput)\n\n*This API requires the following crate features to be activated: `MidiOutput`*" ] # [ repr ( transparent ) ] pub struct MidiOutput { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MidiOutput : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MidiOutput { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MidiOutput { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MidiOutput { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MidiOutput { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MidiOutput { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MidiOutput { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MidiOutput { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MidiOutput { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MidiOutput { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MidiOutput > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MidiOutput { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MidiOutput { # [ inline ] fn from ( obj : JsValue ) -> MidiOutput { MidiOutput { obj } } } impl AsRef < JsValue > for MidiOutput { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MidiOutput > for JsValue { # [ inline ] fn from ( obj : MidiOutput ) -> JsValue { obj . obj } } impl JsCast for MidiOutput { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MIDIOutput ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MIDIOutput ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MidiOutput { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MidiOutput ) } } } ( ) } ; impl core :: ops :: Deref for MidiOutput { type Target = MidiPort ; # [ inline ] fn deref ( & self ) -> & MidiPort { self . as_ref ( ) } } impl From < MidiOutput > for MidiPort { # [ inline ] fn from ( obj : MidiOutput ) -> MidiPort { use wasm_bindgen :: JsCast ; MidiPort :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < MidiPort > for MidiOutput { # [ inline ] fn as_ref ( & self ) -> & MidiPort { use wasm_bindgen :: JsCast ; MidiPort :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MidiOutput > for EventTarget { # [ inline ] fn from ( obj : MidiOutput ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MidiOutput { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MidiOutput > for Object { # [ inline ] fn from ( obj : MidiOutput ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MidiOutput { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_MIDIOutput ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiOutput as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MidiOutput { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutput/clear)\n\n*This API requires the following crate features to be activated: `MidiOutput`*" ] pub fn clear ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_MIDIOutput ( self_ : < & MidiOutput as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiOutput as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_MIDIOutput ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutput/clear)\n\n*This API requires the following crate features to be activated: `MidiOutput`*" ] pub fn clear ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MIDIOutputMap` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIOutputMap)\n\n*This API requires the following crate features to be activated: `MidiOutputMap`*" ] # [ repr ( transparent ) ] pub struct MidiOutputMap { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MidiOutputMap : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MidiOutputMap { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MidiOutputMap { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MidiOutputMap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MidiOutputMap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MidiOutputMap { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MidiOutputMap { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MidiOutputMap { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MidiOutputMap { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MidiOutputMap { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MidiOutputMap > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MidiOutputMap { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MidiOutputMap { # [ inline ] fn from ( obj : JsValue ) -> MidiOutputMap { MidiOutputMap { obj } } } impl AsRef < JsValue > for MidiOutputMap { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MidiOutputMap > for JsValue { # [ inline ] fn from ( obj : MidiOutputMap ) -> JsValue { obj . obj } } impl JsCast for MidiOutputMap { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MIDIOutputMap ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MIDIOutputMap ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MidiOutputMap { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MidiOutputMap ) } } } ( ) } ; impl core :: ops :: Deref for MidiOutputMap { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MidiOutputMap > for Object { # [ inline ] fn from ( obj : MidiOutputMap ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MidiOutputMap { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MIDIPort` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] # [ repr ( transparent ) ] pub struct MidiPort { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MidiPort : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MidiPort { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MidiPort { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MidiPort { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MidiPort { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MidiPort { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MidiPort { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MidiPort { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MidiPort { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MidiPort { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MidiPort > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MidiPort { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MidiPort { # [ inline ] fn from ( obj : JsValue ) -> MidiPort { MidiPort { obj } } } impl AsRef < JsValue > for MidiPort { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MidiPort > for JsValue { # [ inline ] fn from ( obj : MidiPort ) -> JsValue { obj . obj } } impl JsCast for MidiPort { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MIDIPort ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MIDIPort ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MidiPort { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MidiPort ) } } } ( ) } ; impl core :: ops :: Deref for MidiPort { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < MidiPort > for EventTarget { # [ inline ] fn from ( obj : MidiPort ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MidiPort { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MidiPort > for Object { # [ inline ] fn from ( obj : MidiPort ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MidiPort { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_MIDIPort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiPort as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MidiPort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/close)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn close ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_MIDIPort ( self_ : < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_MIDIPort ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/close)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn close ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_MIDIPort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiPort as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MidiPort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/open)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn open ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_MIDIPort ( self_ : < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_open_MIDIPort ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/open)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn open ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_MIDIPort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiPort as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MidiPort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/id)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_MIDIPort ( self_ : < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_MIDIPort ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/id)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_manufacturer_MIDIPort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiPort as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl MidiPort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `manufacturer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/manufacturer)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn manufacturer ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_manufacturer_MIDIPort ( self_ : < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_manufacturer_MIDIPort ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `manufacturer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/manufacturer)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn manufacturer ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_MIDIPort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiPort as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl MidiPort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/name)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn name ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_MIDIPort ( self_ : < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_MIDIPort ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/name)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn name ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_version_MIDIPort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiPort as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl MidiPort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `version` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/version)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn version ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_version_MIDIPort ( self_ : < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_version_MIDIPort ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `version` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/version)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn version ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_MIDIPort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiPort as WasmDescribe > :: describe ( ) ; < MidiPortType as WasmDescribe > :: describe ( ) ; } impl MidiPort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/type)\n\n*This API requires the following crate features to be activated: `MidiPort`, `MidiPortType`*" ] pub fn type_ ( & self , ) -> MidiPortType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_MIDIPort ( self_ : < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MidiPortType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_MIDIPort ( self_ ) } ; < MidiPortType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/type)\n\n*This API requires the following crate features to be activated: `MidiPort`, `MidiPortType`*" ] pub fn type_ ( & self , ) -> MidiPortType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_state_MIDIPort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiPort as WasmDescribe > :: describe ( ) ; < MidiPortDeviceState as WasmDescribe > :: describe ( ) ; } impl MidiPort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/state)\n\n*This API requires the following crate features to be activated: `MidiPort`, `MidiPortDeviceState`*" ] pub fn state ( & self , ) -> MidiPortDeviceState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_state_MIDIPort ( self_ : < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MidiPortDeviceState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_state_MIDIPort ( self_ ) } ; < MidiPortDeviceState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/state)\n\n*This API requires the following crate features to be activated: `MidiPort`, `MidiPortDeviceState`*" ] pub fn state ( & self , ) -> MidiPortDeviceState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connection_MIDIPort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiPort as WasmDescribe > :: describe ( ) ; < MidiPortConnectionState as WasmDescribe > :: describe ( ) ; } impl MidiPort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connection` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/connection)\n\n*This API requires the following crate features to be activated: `MidiPort`, `MidiPortConnectionState`*" ] pub fn connection ( & self , ) -> MidiPortConnectionState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connection_MIDIPort ( self_ : < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MidiPortConnectionState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_connection_MIDIPort ( self_ ) } ; < MidiPortConnectionState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connection` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/connection)\n\n*This API requires the following crate features to be activated: `MidiPort`, `MidiPortConnectionState`*" ] pub fn connection ( & self , ) -> MidiPortConnectionState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstatechange_MIDIPort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MidiPort as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MidiPort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/onstatechange)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstatechange_MIDIPort ( self_ : < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstatechange_MIDIPort ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/onstatechange)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstatechange_MIDIPort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MidiPort as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MidiPort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/onstatechange)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstatechange_MIDIPort ( self_ : < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstatechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MidiPort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstatechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstatechange , & mut __stack ) ; __widl_f_set_onstatechange_MIDIPort ( self_ , onstatechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MIDIPort/onstatechange)\n\n*This API requires the following crate features to be activated: `MidiPort`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaCapabilities` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilities)\n\n*This API requires the following crate features to be activated: `MediaCapabilities`*" ] # [ repr ( transparent ) ] pub struct MediaCapabilities { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaCapabilities : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaCapabilities { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaCapabilities { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaCapabilities { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaCapabilities { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaCapabilities { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaCapabilities { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaCapabilities { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaCapabilities { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaCapabilities { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaCapabilities > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaCapabilities { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaCapabilities { # [ inline ] fn from ( obj : JsValue ) -> MediaCapabilities { MediaCapabilities { obj } } } impl AsRef < JsValue > for MediaCapabilities { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaCapabilities > for JsValue { # [ inline ] fn from ( obj : MediaCapabilities ) -> JsValue { obj . obj } } impl JsCast for MediaCapabilities { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaCapabilities ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaCapabilities ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaCapabilities { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaCapabilities ) } } } ( ) } ; impl core :: ops :: Deref for MediaCapabilities { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MediaCapabilities > for Object { # [ inline ] fn from ( obj : MediaCapabilities ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaCapabilities { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decoding_info_MediaCapabilities ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaCapabilities as WasmDescribe > :: describe ( ) ; < & MediaDecodingConfiguration as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaCapabilities { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decodingInfo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilities/decodingInfo)\n\n*This API requires the following crate features to be activated: `MediaCapabilities`, `MediaDecodingConfiguration`*" ] pub fn decoding_info ( & self , configuration : & MediaDecodingConfiguration ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decoding_info_MediaCapabilities ( self_ : < & MediaCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , configuration : < & MediaDecodingConfiguration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let configuration = < & MediaDecodingConfiguration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( configuration , & mut __stack ) ; __widl_f_decoding_info_MediaCapabilities ( self_ , configuration ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decodingInfo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilities/decodingInfo)\n\n*This API requires the following crate features to be activated: `MediaCapabilities`, `MediaDecodingConfiguration`*" ] pub fn decoding_info ( & self , configuration : & MediaDecodingConfiguration ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_encoding_info_MediaCapabilities ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaCapabilities as WasmDescribe > :: describe ( ) ; < & MediaEncodingConfiguration as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaCapabilities { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `encodingInfo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilities/encodingInfo)\n\n*This API requires the following crate features to be activated: `MediaCapabilities`, `MediaEncodingConfiguration`*" ] pub fn encoding_info ( & self , configuration : & MediaEncodingConfiguration ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_encoding_info_MediaCapabilities ( self_ : < & MediaCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , configuration : < & MediaEncodingConfiguration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let configuration = < & MediaEncodingConfiguration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( configuration , & mut __stack ) ; __widl_f_encoding_info_MediaCapabilities ( self_ , configuration ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `encodingInfo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilities/encodingInfo)\n\n*This API requires the following crate features to be activated: `MediaCapabilities`, `MediaEncodingConfiguration`*" ] pub fn encoding_info ( & self , configuration : & MediaEncodingConfiguration ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaCapabilitiesInfo` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo)\n\n*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*" ] # [ repr ( transparent ) ] pub struct MediaCapabilitiesInfo { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaCapabilitiesInfo : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaCapabilitiesInfo { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaCapabilitiesInfo { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaCapabilitiesInfo { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaCapabilitiesInfo { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaCapabilitiesInfo { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaCapabilitiesInfo { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaCapabilitiesInfo { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaCapabilitiesInfo { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaCapabilitiesInfo { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaCapabilitiesInfo > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaCapabilitiesInfo { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaCapabilitiesInfo { # [ inline ] fn from ( obj : JsValue ) -> MediaCapabilitiesInfo { MediaCapabilitiesInfo { obj } } } impl AsRef < JsValue > for MediaCapabilitiesInfo { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaCapabilitiesInfo > for JsValue { # [ inline ] fn from ( obj : MediaCapabilitiesInfo ) -> JsValue { obj . obj } } impl JsCast for MediaCapabilitiesInfo { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaCapabilitiesInfo ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaCapabilitiesInfo ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaCapabilitiesInfo { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaCapabilitiesInfo ) } } } ( ) } ; impl core :: ops :: Deref for MediaCapabilitiesInfo { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MediaCapabilitiesInfo > for Object { # [ inline ] fn from ( obj : MediaCapabilitiesInfo ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaCapabilitiesInfo { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_supported_MediaCapabilitiesInfo ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaCapabilitiesInfo as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MediaCapabilitiesInfo { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `supported` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/supported)\n\n*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*" ] pub fn supported ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_supported_MediaCapabilitiesInfo ( self_ : < & MediaCapabilitiesInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaCapabilitiesInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_supported_MediaCapabilitiesInfo ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `supported` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/supported)\n\n*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*" ] pub fn supported ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_smooth_MediaCapabilitiesInfo ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaCapabilitiesInfo as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MediaCapabilitiesInfo { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `smooth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/smooth)\n\n*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*" ] pub fn smooth ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_smooth_MediaCapabilitiesInfo ( self_ : < & MediaCapabilitiesInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaCapabilitiesInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_smooth_MediaCapabilitiesInfo ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `smooth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/smooth)\n\n*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*" ] pub fn smooth ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_power_efficient_MediaCapabilitiesInfo ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaCapabilitiesInfo as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MediaCapabilitiesInfo { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `powerEfficient` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/powerEfficient)\n\n*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*" ] pub fn power_efficient ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_power_efficient_MediaCapabilitiesInfo ( self_ : < & MediaCapabilitiesInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaCapabilitiesInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_power_efficient_MediaCapabilitiesInfo ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `powerEfficient` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo/powerEfficient)\n\n*This API requires the following crate features to be activated: `MediaCapabilitiesInfo`*" ] pub fn power_efficient ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaDeviceInfo` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo)\n\n*This API requires the following crate features to be activated: `MediaDeviceInfo`*" ] # [ repr ( transparent ) ] pub struct MediaDeviceInfo { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaDeviceInfo : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaDeviceInfo { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaDeviceInfo { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaDeviceInfo { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaDeviceInfo { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaDeviceInfo { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaDeviceInfo { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaDeviceInfo { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaDeviceInfo { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaDeviceInfo { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaDeviceInfo > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaDeviceInfo { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaDeviceInfo { # [ inline ] fn from ( obj : JsValue ) -> MediaDeviceInfo { MediaDeviceInfo { obj } } } impl AsRef < JsValue > for MediaDeviceInfo { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaDeviceInfo > for JsValue { # [ inline ] fn from ( obj : MediaDeviceInfo ) -> JsValue { obj . obj } } impl JsCast for MediaDeviceInfo { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaDeviceInfo ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaDeviceInfo ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaDeviceInfo { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaDeviceInfo ) } } } ( ) } ; impl core :: ops :: Deref for MediaDeviceInfo { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MediaDeviceInfo > for Object { # [ inline ] fn from ( obj : MediaDeviceInfo ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaDeviceInfo { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_MediaDeviceInfo ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaDeviceInfo as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl MediaDeviceInfo { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/toJSON)\n\n*This API requires the following crate features to be activated: `MediaDeviceInfo`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_MediaDeviceInfo ( self_ : < & MediaDeviceInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaDeviceInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_MediaDeviceInfo ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/toJSON)\n\n*This API requires the following crate features to be activated: `MediaDeviceInfo`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_device_id_MediaDeviceInfo ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaDeviceInfo as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaDeviceInfo { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deviceId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/deviceId)\n\n*This API requires the following crate features to be activated: `MediaDeviceInfo`*" ] pub fn device_id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_device_id_MediaDeviceInfo ( self_ : < & MediaDeviceInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaDeviceInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_device_id_MediaDeviceInfo ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deviceId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/deviceId)\n\n*This API requires the following crate features to be activated: `MediaDeviceInfo`*" ] pub fn device_id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kind_MediaDeviceInfo ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaDeviceInfo as WasmDescribe > :: describe ( ) ; < MediaDeviceKind as WasmDescribe > :: describe ( ) ; } impl MediaDeviceInfo { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/kind)\n\n*This API requires the following crate features to be activated: `MediaDeviceInfo`, `MediaDeviceKind`*" ] pub fn kind ( & self , ) -> MediaDeviceKind { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kind_MediaDeviceInfo ( self_ : < & MediaDeviceInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaDeviceKind as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaDeviceInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kind_MediaDeviceInfo ( self_ ) } ; < MediaDeviceKind as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/kind)\n\n*This API requires the following crate features to be activated: `MediaDeviceInfo`, `MediaDeviceKind`*" ] pub fn kind ( & self , ) -> MediaDeviceKind { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_label_MediaDeviceInfo ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaDeviceInfo as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaDeviceInfo { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/label)\n\n*This API requires the following crate features to be activated: `MediaDeviceInfo`*" ] pub fn label ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_label_MediaDeviceInfo ( self_ : < & MediaDeviceInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaDeviceInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_label_MediaDeviceInfo ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/label)\n\n*This API requires the following crate features to be activated: `MediaDeviceInfo`*" ] pub fn label ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_id_MediaDeviceInfo ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaDeviceInfo as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaDeviceInfo { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `groupId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/groupId)\n\n*This API requires the following crate features to be activated: `MediaDeviceInfo`*" ] pub fn group_id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_id_MediaDeviceInfo ( self_ : < & MediaDeviceInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaDeviceInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_group_id_MediaDeviceInfo ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `groupId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/groupId)\n\n*This API requires the following crate features to be activated: `MediaDeviceInfo`*" ] pub fn group_id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaDevices` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices)\n\n*This API requires the following crate features to be activated: `MediaDevices`*" ] # [ repr ( transparent ) ] pub struct MediaDevices { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaDevices : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaDevices { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaDevices { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaDevices { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaDevices { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaDevices { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaDevices { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaDevices { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaDevices { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaDevices { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaDevices > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaDevices { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaDevices { # [ inline ] fn from ( obj : JsValue ) -> MediaDevices { MediaDevices { obj } } } impl AsRef < JsValue > for MediaDevices { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaDevices > for JsValue { # [ inline ] fn from ( obj : MediaDevices ) -> JsValue { obj . obj } } impl JsCast for MediaDevices { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaDevices ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaDevices ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaDevices { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaDevices ) } } } ( ) } ; impl core :: ops :: Deref for MediaDevices { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < MediaDevices > for EventTarget { # [ inline ] fn from ( obj : MediaDevices ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MediaDevices { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaDevices > for Object { # [ inline ] fn from ( obj : MediaDevices ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaDevices { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_enumerate_devices_MediaDevices ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaDevices as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaDevices { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enumerateDevices()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices)\n\n*This API requires the following crate features to be activated: `MediaDevices`*" ] pub fn enumerate_devices ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_enumerate_devices_MediaDevices ( self_ : < & MediaDevices as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaDevices as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_enumerate_devices_MediaDevices ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enumerateDevices()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices)\n\n*This API requires the following crate features to be activated: `MediaDevices`*" ] pub fn enumerate_devices ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_supported_constraints_MediaDevices ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaDevices as WasmDescribe > :: describe ( ) ; < MediaTrackSupportedConstraints as WasmDescribe > :: describe ( ) ; } impl MediaDevices { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getSupportedConstraints()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getSupportedConstraints)\n\n*This API requires the following crate features to be activated: `MediaDevices`, `MediaTrackSupportedConstraints`*" ] pub fn get_supported_constraints ( & self , ) -> MediaTrackSupportedConstraints { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_supported_constraints_MediaDevices ( self_ : < & MediaDevices as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaTrackSupportedConstraints as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaDevices as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_supported_constraints_MediaDevices ( self_ ) } ; < MediaTrackSupportedConstraints as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getSupportedConstraints()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getSupportedConstraints)\n\n*This API requires the following crate features to be activated: `MediaDevices`, `MediaTrackSupportedConstraints`*" ] pub fn get_supported_constraints ( & self , ) -> MediaTrackSupportedConstraints { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_user_media_MediaDevices ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaDevices as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaDevices { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getUserMedia()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia)\n\n*This API requires the following crate features to be activated: `MediaDevices`*" ] pub fn get_user_media ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_user_media_MediaDevices ( self_ : < & MediaDevices as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaDevices as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_user_media_MediaDevices ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getUserMedia()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia)\n\n*This API requires the following crate features to be activated: `MediaDevices`*" ] pub fn get_user_media ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_user_media_with_constraints_MediaDevices ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaDevices as WasmDescribe > :: describe ( ) ; < & MediaStreamConstraints as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaDevices { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getUserMedia()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia)\n\n*This API requires the following crate features to be activated: `MediaDevices`, `MediaStreamConstraints`*" ] pub fn get_user_media_with_constraints ( & self , constraints : & MediaStreamConstraints ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_user_media_with_constraints_MediaDevices ( self_ : < & MediaDevices as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , constraints : < & MediaStreamConstraints as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaDevices as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let constraints = < & MediaStreamConstraints as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( constraints , & mut __stack ) ; __widl_f_get_user_media_with_constraints_MediaDevices ( self_ , constraints , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getUserMedia()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia)\n\n*This API requires the following crate features to be activated: `MediaDevices`, `MediaStreamConstraints`*" ] pub fn get_user_media_with_constraints ( & self , constraints : & MediaStreamConstraints ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondevicechange_MediaDevices ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaDevices as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaDevices { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondevicechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/ondevicechange)\n\n*This API requires the following crate features to be activated: `MediaDevices`*" ] pub fn ondevicechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondevicechange_MediaDevices ( self_ : < & MediaDevices as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaDevices as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondevicechange_MediaDevices ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondevicechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/ondevicechange)\n\n*This API requires the following crate features to be activated: `MediaDevices`*" ] pub fn ondevicechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondevicechange_MediaDevices ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaDevices as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaDevices { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondevicechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/ondevicechange)\n\n*This API requires the following crate features to be activated: `MediaDevices`*" ] pub fn set_ondevicechange ( & self , ondevicechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondevicechange_MediaDevices ( self_ : < & MediaDevices as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondevicechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaDevices as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondevicechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondevicechange , & mut __stack ) ; __widl_f_set_ondevicechange_MediaDevices ( self_ , ondevicechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondevicechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/ondevicechange)\n\n*This API requires the following crate features to be activated: `MediaDevices`*" ] pub fn set_ondevicechange ( & self , ondevicechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaElementAudioSourceNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaElementAudioSourceNode)\n\n*This API requires the following crate features to be activated: `MediaElementAudioSourceNode`*" ] # [ repr ( transparent ) ] pub struct MediaElementAudioSourceNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaElementAudioSourceNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaElementAudioSourceNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaElementAudioSourceNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaElementAudioSourceNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaElementAudioSourceNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaElementAudioSourceNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaElementAudioSourceNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaElementAudioSourceNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaElementAudioSourceNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaElementAudioSourceNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaElementAudioSourceNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaElementAudioSourceNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaElementAudioSourceNode { # [ inline ] fn from ( obj : JsValue ) -> MediaElementAudioSourceNode { MediaElementAudioSourceNode { obj } } } impl AsRef < JsValue > for MediaElementAudioSourceNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaElementAudioSourceNode > for JsValue { # [ inline ] fn from ( obj : MediaElementAudioSourceNode ) -> JsValue { obj . obj } } impl JsCast for MediaElementAudioSourceNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaElementAudioSourceNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaElementAudioSourceNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaElementAudioSourceNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaElementAudioSourceNode ) } } } ( ) } ; impl core :: ops :: Deref for MediaElementAudioSourceNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < MediaElementAudioSourceNode > for AudioNode { # [ inline ] fn from ( obj : MediaElementAudioSourceNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for MediaElementAudioSourceNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaElementAudioSourceNode > for EventTarget { # [ inline ] fn from ( obj : MediaElementAudioSourceNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MediaElementAudioSourceNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaElementAudioSourceNode > for Object { # [ inline ] fn from ( obj : MediaElementAudioSourceNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaElementAudioSourceNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MediaElementAudioSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < & MediaElementAudioSourceOptions as WasmDescribe > :: describe ( ) ; < MediaElementAudioSourceNode as WasmDescribe > :: describe ( ) ; } impl MediaElementAudioSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaElementAudioSourceNode(..)` constructor, creating a new instance of `MediaElementAudioSourceNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaElementAudioSourceNode/MediaElementAudioSourceNode)\n\n*This API requires the following crate features to be activated: `AudioContext`, `MediaElementAudioSourceNode`, `MediaElementAudioSourceOptions`*" ] pub fn new ( context : & AudioContext , options : & MediaElementAudioSourceOptions ) -> Result < MediaElementAudioSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MediaElementAudioSourceNode ( context : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & MediaElementAudioSourceOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaElementAudioSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & MediaElementAudioSourceOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_MediaElementAudioSourceNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaElementAudioSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaElementAudioSourceNode(..)` constructor, creating a new instance of `MediaElementAudioSourceNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaElementAudioSourceNode/MediaElementAudioSourceNode)\n\n*This API requires the following crate features to be activated: `AudioContext`, `MediaElementAudioSourceNode`, `MediaElementAudioSourceOptions`*" ] pub fn new ( context : & AudioContext , options : & MediaElementAudioSourceOptions ) -> Result < MediaElementAudioSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaEncryptedEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent)\n\n*This API requires the following crate features to be activated: `MediaEncryptedEvent`*" ] # [ repr ( transparent ) ] pub struct MediaEncryptedEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaEncryptedEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaEncryptedEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaEncryptedEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaEncryptedEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaEncryptedEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaEncryptedEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaEncryptedEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaEncryptedEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaEncryptedEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaEncryptedEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaEncryptedEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaEncryptedEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaEncryptedEvent { # [ inline ] fn from ( obj : JsValue ) -> MediaEncryptedEvent { MediaEncryptedEvent { obj } } } impl AsRef < JsValue > for MediaEncryptedEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaEncryptedEvent > for JsValue { # [ inline ] fn from ( obj : MediaEncryptedEvent ) -> JsValue { obj . obj } } impl JsCast for MediaEncryptedEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaEncryptedEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaEncryptedEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaEncryptedEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaEncryptedEvent ) } } } ( ) } ; impl core :: ops :: Deref for MediaEncryptedEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < MediaEncryptedEvent > for Event { # [ inline ] fn from ( obj : MediaEncryptedEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for MediaEncryptedEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaEncryptedEvent > for Object { # [ inline ] fn from ( obj : MediaEncryptedEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaEncryptedEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MediaEncryptedEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < MediaEncryptedEvent as WasmDescribe > :: describe ( ) ; } impl MediaEncryptedEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaEncryptedEvent(..)` constructor, creating a new instance of `MediaEncryptedEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent/MediaEncryptedEvent)\n\n*This API requires the following crate features to be activated: `MediaEncryptedEvent`*" ] pub fn new ( type_ : & str ) -> Result < MediaEncryptedEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MediaEncryptedEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaEncryptedEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_MediaEncryptedEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaEncryptedEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaEncryptedEvent(..)` constructor, creating a new instance of `MediaEncryptedEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent/MediaEncryptedEvent)\n\n*This API requires the following crate features to be activated: `MediaEncryptedEvent`*" ] pub fn new ( type_ : & str ) -> Result < MediaEncryptedEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_MediaEncryptedEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & MediaKeyNeededEventInit as WasmDescribe > :: describe ( ) ; < MediaEncryptedEvent as WasmDescribe > :: describe ( ) ; } impl MediaEncryptedEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaEncryptedEvent(..)` constructor, creating a new instance of `MediaEncryptedEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent/MediaEncryptedEvent)\n\n*This API requires the following crate features to be activated: `MediaEncryptedEvent`, `MediaKeyNeededEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & MediaKeyNeededEventInit ) -> Result < MediaEncryptedEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_MediaEncryptedEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & MediaKeyNeededEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaEncryptedEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & MediaKeyNeededEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_MediaEncryptedEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaEncryptedEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaEncryptedEvent(..)` constructor, creating a new instance of `MediaEncryptedEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent/MediaEncryptedEvent)\n\n*This API requires the following crate features to be activated: `MediaEncryptedEvent`, `MediaKeyNeededEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & MediaKeyNeededEventInit ) -> Result < MediaEncryptedEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_data_type_MediaEncryptedEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaEncryptedEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaEncryptedEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initDataType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent/initDataType)\n\n*This API requires the following crate features to be activated: `MediaEncryptedEvent`*" ] pub fn init_data_type ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_data_type_MediaEncryptedEvent ( self_ : < & MediaEncryptedEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaEncryptedEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_init_data_type_MediaEncryptedEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initDataType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent/initDataType)\n\n*This API requires the following crate features to be activated: `MediaEncryptedEvent`*" ] pub fn init_data_type ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_data_MediaEncryptedEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaEncryptedEvent as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: ArrayBuffer > as WasmDescribe > :: describe ( ) ; } impl MediaEncryptedEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initData` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent/initData)\n\n*This API requires the following crate features to be activated: `MediaEncryptedEvent`*" ] pub fn init_data ( & self , ) -> Result < Option < :: js_sys :: ArrayBuffer > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_data_MediaEncryptedEvent ( self_ : < & MediaEncryptedEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaEncryptedEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_init_data_MediaEncryptedEvent ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initData` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaEncryptedEvent/initData)\n\n*This API requires the following crate features to be activated: `MediaEncryptedEvent`*" ] pub fn init_data ( & self , ) -> Result < Option < :: js_sys :: ArrayBuffer > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaError` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaError)\n\n*This API requires the following crate features to be activated: `MediaError`*" ] # [ repr ( transparent ) ] pub struct MediaError { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaError : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaError { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaError { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaError { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaError { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaError { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaError { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaError { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaError { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaError { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaError > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaError { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaError { # [ inline ] fn from ( obj : JsValue ) -> MediaError { MediaError { obj } } } impl AsRef < JsValue > for MediaError { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaError > for JsValue { # [ inline ] fn from ( obj : MediaError ) -> JsValue { obj . obj } } impl JsCast for MediaError { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaError ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaError ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaError { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaError ) } } } ( ) } ; impl core :: ops :: Deref for MediaError { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MediaError > for Object { # [ inline ] fn from ( obj : MediaError ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaError { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_code_MediaError ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaError as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl MediaError { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `code` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaError/code)\n\n*This API requires the following crate features to be activated: `MediaError`*" ] pub fn code ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_code_MediaError ( self_ : < & MediaError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_code_MediaError ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `code` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaError/code)\n\n*This API requires the following crate features to be activated: `MediaError`*" ] pub fn code ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_message_MediaError ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaError as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaError { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaError/message)\n\n*This API requires the following crate features to be activated: `MediaError`*" ] pub fn message ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_message_MediaError ( self_ : < & MediaError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_message_MediaError ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaError/message)\n\n*This API requires the following crate features to be activated: `MediaError`*" ] pub fn message ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaKeyError` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyError)\n\n*This API requires the following crate features to be activated: `MediaKeyError`*" ] # [ repr ( transparent ) ] pub struct MediaKeyError { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaKeyError : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaKeyError { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaKeyError { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaKeyError { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaKeyError { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaKeyError { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaKeyError { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaKeyError { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaKeyError { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaKeyError { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaKeyError > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaKeyError { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaKeyError { # [ inline ] fn from ( obj : JsValue ) -> MediaKeyError { MediaKeyError { obj } } } impl AsRef < JsValue > for MediaKeyError { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaKeyError > for JsValue { # [ inline ] fn from ( obj : MediaKeyError ) -> JsValue { obj . obj } } impl JsCast for MediaKeyError { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaKeyError ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaKeyError ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaKeyError { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaKeyError ) } } } ( ) } ; impl core :: ops :: Deref for MediaKeyError { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < MediaKeyError > for Event { # [ inline ] fn from ( obj : MediaKeyError ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for MediaKeyError { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaKeyError > for Object { # [ inline ] fn from ( obj : MediaKeyError ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaKeyError { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_system_code_MediaKeyError ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeyError as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl MediaKeyError { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `systemCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyError/systemCode)\n\n*This API requires the following crate features to be activated: `MediaKeyError`*" ] pub fn system_code ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_system_code_MediaKeyError ( self_ : < & MediaKeyError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeyError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_system_code_MediaKeyError ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `systemCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyError/systemCode)\n\n*This API requires the following crate features to be activated: `MediaKeyError`*" ] pub fn system_code ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaKeyMessageEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyMessageEvent)\n\n*This API requires the following crate features to be activated: `MediaKeyMessageEvent`*" ] # [ repr ( transparent ) ] pub struct MediaKeyMessageEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaKeyMessageEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaKeyMessageEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaKeyMessageEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaKeyMessageEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaKeyMessageEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaKeyMessageEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaKeyMessageEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaKeyMessageEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaKeyMessageEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaKeyMessageEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaKeyMessageEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaKeyMessageEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaKeyMessageEvent { # [ inline ] fn from ( obj : JsValue ) -> MediaKeyMessageEvent { MediaKeyMessageEvent { obj } } } impl AsRef < JsValue > for MediaKeyMessageEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaKeyMessageEvent > for JsValue { # [ inline ] fn from ( obj : MediaKeyMessageEvent ) -> JsValue { obj . obj } } impl JsCast for MediaKeyMessageEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaKeyMessageEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaKeyMessageEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaKeyMessageEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaKeyMessageEvent ) } } } ( ) } ; impl core :: ops :: Deref for MediaKeyMessageEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < MediaKeyMessageEvent > for Event { # [ inline ] fn from ( obj : MediaKeyMessageEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for MediaKeyMessageEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaKeyMessageEvent > for Object { # [ inline ] fn from ( obj : MediaKeyMessageEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaKeyMessageEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MediaKeyMessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & MediaKeyMessageEventInit as WasmDescribe > :: describe ( ) ; < MediaKeyMessageEvent as WasmDescribe > :: describe ( ) ; } impl MediaKeyMessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaKeyMessageEvent(..)` constructor, creating a new instance of `MediaKeyMessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyMessageEvent/MediaKeyMessageEvent)\n\n*This API requires the following crate features to be activated: `MediaKeyMessageEvent`, `MediaKeyMessageEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & MediaKeyMessageEventInit ) -> Result < MediaKeyMessageEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MediaKeyMessageEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & MediaKeyMessageEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaKeyMessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & MediaKeyMessageEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_MediaKeyMessageEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaKeyMessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaKeyMessageEvent(..)` constructor, creating a new instance of `MediaKeyMessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyMessageEvent/MediaKeyMessageEvent)\n\n*This API requires the following crate features to be activated: `MediaKeyMessageEvent`, `MediaKeyMessageEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & MediaKeyMessageEventInit ) -> Result < MediaKeyMessageEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_message_type_MediaKeyMessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeyMessageEvent as WasmDescribe > :: describe ( ) ; < MediaKeyMessageType as WasmDescribe > :: describe ( ) ; } impl MediaKeyMessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `messageType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyMessageEvent/messageType)\n\n*This API requires the following crate features to be activated: `MediaKeyMessageEvent`, `MediaKeyMessageType`*" ] pub fn message_type ( & self , ) -> MediaKeyMessageType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_message_type_MediaKeyMessageEvent ( self_ : < & MediaKeyMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaKeyMessageType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeyMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_message_type_MediaKeyMessageEvent ( self_ ) } ; < MediaKeyMessageType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `messageType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyMessageEvent/messageType)\n\n*This API requires the following crate features to be activated: `MediaKeyMessageEvent`, `MediaKeyMessageType`*" ] pub fn message_type ( & self , ) -> MediaKeyMessageType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_message_MediaKeyMessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeyMessageEvent as WasmDescribe > :: describe ( ) ; < :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; } impl MediaKeyMessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyMessageEvent/message)\n\n*This API requires the following crate features to be activated: `MediaKeyMessageEvent`*" ] pub fn message ( & self , ) -> Result < :: js_sys :: ArrayBuffer , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_message_MediaKeyMessageEvent ( self_ : < & MediaKeyMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeyMessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_message_MediaKeyMessageEvent ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyMessageEvent/message)\n\n*This API requires the following crate features to be activated: `MediaKeyMessageEvent`*" ] pub fn message ( & self , ) -> Result < :: js_sys :: ArrayBuffer , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaKeySession` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] # [ repr ( transparent ) ] pub struct MediaKeySession { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaKeySession : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaKeySession { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaKeySession { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaKeySession { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaKeySession { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaKeySession { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaKeySession { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaKeySession { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaKeySession { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaKeySession { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaKeySession > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaKeySession { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaKeySession { # [ inline ] fn from ( obj : JsValue ) -> MediaKeySession { MediaKeySession { obj } } } impl AsRef < JsValue > for MediaKeySession { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaKeySession > for JsValue { # [ inline ] fn from ( obj : MediaKeySession ) -> JsValue { obj . obj } } impl JsCast for MediaKeySession { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaKeySession ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaKeySession ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaKeySession { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaKeySession ) } } } ( ) } ; impl core :: ops :: Deref for MediaKeySession { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < MediaKeySession > for EventTarget { # [ inline ] fn from ( obj : MediaKeySession ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MediaKeySession { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaKeySession > for Object { # [ inline ] fn from ( obj : MediaKeySession ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaKeySession { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/close)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn close ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_MediaKeySession ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/close)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn close ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_generate_request_with_buffer_source_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `generateRequest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/generateRequest)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn generate_request_with_buffer_source ( & self , init_data_type : & str , init_data : & :: js_sys :: Object ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_generate_request_with_buffer_source_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init_data_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let init_data_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init_data_type , & mut __stack ) ; let init_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init_data , & mut __stack ) ; __widl_f_generate_request_with_buffer_source_MediaKeySession ( self_ , init_data_type , init_data ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `generateRequest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/generateRequest)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn generate_request_with_buffer_source ( & self , init_data_type : & str , init_data : & :: js_sys :: Object ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_generate_request_with_u8_array_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `generateRequest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/generateRequest)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn generate_request_with_u8_array ( & self , init_data_type : & str , init_data : & mut [ u8 ] ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_generate_request_with_u8_array_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init_data_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let init_data_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init_data_type , & mut __stack ) ; let init_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init_data , & mut __stack ) ; __widl_f_generate_request_with_u8_array_MediaKeySession ( self_ , init_data_type , init_data ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `generateRequest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/generateRequest)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn generate_request_with_u8_array ( & self , init_data_type : & str , init_data : & mut [ u8 ] ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_load_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `load()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/load)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn load ( & self , session_id : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_load_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , session_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let session_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( session_id , & mut __stack ) ; __widl_f_load_MediaKeySession ( self_ , session_id ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `load()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/load)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn load ( & self , session_id : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/remove)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn remove ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_remove_MediaKeySession ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/remove)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn remove ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_update_with_buffer_source_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `update()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/update)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn update_with_buffer_source ( & self , response : & :: js_sys :: Object ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_update_with_buffer_source_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , response : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let response = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( response , & mut __stack ) ; __widl_f_update_with_buffer_source_MediaKeySession ( self_ , response ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `update()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/update)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn update_with_buffer_source ( & self , response : & :: js_sys :: Object ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_update_with_u8_array_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `update()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/update)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn update_with_u8_array ( & self , response : & mut [ u8 ] ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_update_with_u8_array_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , response : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let response = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( response , & mut __stack ) ; __widl_f_update_with_u8_array_MediaKeySession ( self_ , response ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `update()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/update)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn update_with_u8_array ( & self , response : & mut [ u8 ] ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < Option < MediaKeyError > as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/error)\n\n*This API requires the following crate features to be activated: `MediaKeyError`, `MediaKeySession`*" ] pub fn error ( & self , ) -> Option < MediaKeyError > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MediaKeyError > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_error_MediaKeySession ( self_ ) } ; < Option < MediaKeyError > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/error)\n\n*This API requires the following crate features to be activated: `MediaKeyError`, `MediaKeySession`*" ] pub fn error ( & self , ) -> Option < MediaKeyError > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_session_id_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sessionId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/sessionId)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn session_id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_session_id_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_session_id_MediaKeySession ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sessionId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/sessionId)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn session_id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_expiration_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `expiration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/expiration)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn expiration ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_expiration_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_expiration_MediaKeySession ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `expiration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/expiration)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn expiration ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_closed_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `closed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/closed)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn closed ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_closed_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_closed_MediaKeySession ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `closed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/closed)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn closed ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_key_statuses_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < MediaKeyStatusMap as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keyStatuses` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/keyStatuses)\n\n*This API requires the following crate features to be activated: `MediaKeySession`, `MediaKeyStatusMap`*" ] pub fn key_statuses ( & self , ) -> MediaKeyStatusMap { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_key_statuses_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaKeyStatusMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_key_statuses_MediaKeySession ( self_ ) } ; < MediaKeyStatusMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keyStatuses` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/keyStatuses)\n\n*This API requires the following crate features to be activated: `MediaKeySession`, `MediaKeyStatusMap`*" ] pub fn key_statuses ( & self , ) -> MediaKeyStatusMap { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onkeystatuseschange_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeystatuseschange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/onkeystatuseschange)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn onkeystatuseschange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onkeystatuseschange_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onkeystatuseschange_MediaKeySession ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeystatuseschange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/onkeystatuseschange)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn onkeystatuseschange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onkeystatuseschange_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeystatuseschange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/onkeystatuseschange)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn set_onkeystatuseschange ( & self , onkeystatuseschange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onkeystatuseschange_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onkeystatuseschange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onkeystatuseschange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onkeystatuseschange , & mut __stack ) ; __widl_f_set_onkeystatuseschange_MediaKeySession ( self_ , onkeystatuseschange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeystatuseschange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/onkeystatuseschange)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn set_onkeystatuseschange ( & self , onkeystatuseschange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/onmessage)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_MediaKeySession ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/onmessage)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_MediaKeySession ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaKeySession as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaKeySession { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/onmessage)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_MediaKeySession ( self_ : < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySession as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_MediaKeySession ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/onmessage)\n\n*This API requires the following crate features to be activated: `MediaKeySession`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaKeyStatusMap` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap)\n\n*This API requires the following crate features to be activated: `MediaKeyStatusMap`*" ] # [ repr ( transparent ) ] pub struct MediaKeyStatusMap { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaKeyStatusMap : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaKeyStatusMap { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaKeyStatusMap { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaKeyStatusMap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaKeyStatusMap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaKeyStatusMap { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaKeyStatusMap { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaKeyStatusMap { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaKeyStatusMap { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaKeyStatusMap { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaKeyStatusMap > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaKeyStatusMap { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaKeyStatusMap { # [ inline ] fn from ( obj : JsValue ) -> MediaKeyStatusMap { MediaKeyStatusMap { obj } } } impl AsRef < JsValue > for MediaKeyStatusMap { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaKeyStatusMap > for JsValue { # [ inline ] fn from ( obj : MediaKeyStatusMap ) -> JsValue { obj . obj } } impl JsCast for MediaKeyStatusMap { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaKeyStatusMap ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaKeyStatusMap ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaKeyStatusMap { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaKeyStatusMap ) } } } ( ) } ; impl core :: ops :: Deref for MediaKeyStatusMap { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MediaKeyStatusMap > for Object { # [ inline ] fn from ( obj : MediaKeyStatusMap ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaKeyStatusMap { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_buffer_source_MediaKeyStatusMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaKeyStatusMap as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl MediaKeyStatusMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/get)\n\n*This API requires the following crate features to be activated: `MediaKeyStatusMap`*" ] pub fn get_with_buffer_source ( & self , key_id : & :: js_sys :: Object ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_buffer_source_MediaKeyStatusMap ( self_ : < & MediaKeyStatusMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_id : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeyStatusMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key_id = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_id , & mut __stack ) ; __widl_f_get_with_buffer_source_MediaKeyStatusMap ( self_ , key_id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/get)\n\n*This API requires the following crate features to be activated: `MediaKeyStatusMap`*" ] pub fn get_with_buffer_source ( & self , key_id : & :: js_sys :: Object ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_u8_array_MediaKeyStatusMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaKeyStatusMap as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl MediaKeyStatusMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/get)\n\n*This API requires the following crate features to be activated: `MediaKeyStatusMap`*" ] pub fn get_with_u8_array ( & self , key_id : & mut [ u8 ] ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_u8_array_MediaKeyStatusMap ( self_ : < & MediaKeyStatusMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_id : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeyStatusMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key_id = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_id , & mut __stack ) ; __widl_f_get_with_u8_array_MediaKeyStatusMap ( self_ , key_id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/get)\n\n*This API requires the following crate features to be activated: `MediaKeyStatusMap`*" ] pub fn get_with_u8_array ( & self , key_id : & mut [ u8 ] ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_with_buffer_source_MediaKeyStatusMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaKeyStatusMap as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MediaKeyStatusMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/has)\n\n*This API requires the following crate features to be activated: `MediaKeyStatusMap`*" ] pub fn has_with_buffer_source ( & self , key_id : & :: js_sys :: Object ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_with_buffer_source_MediaKeyStatusMap ( self_ : < & MediaKeyStatusMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_id : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeyStatusMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key_id = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_id , & mut __stack ) ; __widl_f_has_with_buffer_source_MediaKeyStatusMap ( self_ , key_id ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/has)\n\n*This API requires the following crate features to be activated: `MediaKeyStatusMap`*" ] pub fn has_with_buffer_source ( & self , key_id : & :: js_sys :: Object ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_with_u8_array_MediaKeyStatusMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaKeyStatusMap as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MediaKeyStatusMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/has)\n\n*This API requires the following crate features to be activated: `MediaKeyStatusMap`*" ] pub fn has_with_u8_array ( & self , key_id : & mut [ u8 ] ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_with_u8_array_MediaKeyStatusMap ( self_ : < & MediaKeyStatusMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_id : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeyStatusMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key_id = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_id , & mut __stack ) ; __widl_f_has_with_u8_array_MediaKeyStatusMap ( self_ , key_id ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/has)\n\n*This API requires the following crate features to be activated: `MediaKeyStatusMap`*" ] pub fn has_with_u8_array ( & self , key_id : & mut [ u8 ] ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_size_MediaKeyStatusMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeyStatusMap as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl MediaKeyStatusMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/size)\n\n*This API requires the following crate features to be activated: `MediaKeyStatusMap`*" ] pub fn size ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_size_MediaKeyStatusMap ( self_ : < & MediaKeyStatusMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeyStatusMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_size_MediaKeyStatusMap ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeyStatusMap/size)\n\n*This API requires the following crate features to be activated: `MediaKeyStatusMap`*" ] pub fn size ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaKeySystemAccess` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess)\n\n*This API requires the following crate features to be activated: `MediaKeySystemAccess`*" ] # [ repr ( transparent ) ] pub struct MediaKeySystemAccess { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaKeySystemAccess : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaKeySystemAccess { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaKeySystemAccess { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaKeySystemAccess { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaKeySystemAccess { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaKeySystemAccess { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaKeySystemAccess { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaKeySystemAccess { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaKeySystemAccess { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaKeySystemAccess { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaKeySystemAccess > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaKeySystemAccess { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaKeySystemAccess { # [ inline ] fn from ( obj : JsValue ) -> MediaKeySystemAccess { MediaKeySystemAccess { obj } } } impl AsRef < JsValue > for MediaKeySystemAccess { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaKeySystemAccess > for JsValue { # [ inline ] fn from ( obj : MediaKeySystemAccess ) -> JsValue { obj . obj } } impl JsCast for MediaKeySystemAccess { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaKeySystemAccess ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaKeySystemAccess ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaKeySystemAccess { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaKeySystemAccess ) } } } ( ) } ; impl core :: ops :: Deref for MediaKeySystemAccess { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MediaKeySystemAccess > for Object { # [ inline ] fn from ( obj : MediaKeySystemAccess ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaKeySystemAccess { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_media_keys_MediaKeySystemAccess ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeySystemAccess as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaKeySystemAccess { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createMediaKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess/createMediaKeys)\n\n*This API requires the following crate features to be activated: `MediaKeySystemAccess`*" ] pub fn create_media_keys ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_media_keys_MediaKeySystemAccess ( self_ : < & MediaKeySystemAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySystemAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_media_keys_MediaKeySystemAccess ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createMediaKeys()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess/createMediaKeys)\n\n*This API requires the following crate features to be activated: `MediaKeySystemAccess`*" ] pub fn create_media_keys ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_configuration_MediaKeySystemAccess ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeySystemAccess as WasmDescribe > :: describe ( ) ; < MediaKeySystemConfiguration as WasmDescribe > :: describe ( ) ; } impl MediaKeySystemAccess { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getConfiguration()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess/getConfiguration)\n\n*This API requires the following crate features to be activated: `MediaKeySystemAccess`, `MediaKeySystemConfiguration`*" ] pub fn get_configuration ( & self , ) -> MediaKeySystemConfiguration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_configuration_MediaKeySystemAccess ( self_ : < & MediaKeySystemAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaKeySystemConfiguration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySystemAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_configuration_MediaKeySystemAccess ( self_ ) } ; < MediaKeySystemConfiguration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getConfiguration()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess/getConfiguration)\n\n*This API requires the following crate features to be activated: `MediaKeySystemAccess`, `MediaKeySystemConfiguration`*" ] pub fn get_configuration ( & self , ) -> MediaKeySystemConfiguration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_key_system_MediaKeySystemAccess ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeySystemAccess as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaKeySystemAccess { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keySystem` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess/keySystem)\n\n*This API requires the following crate features to be activated: `MediaKeySystemAccess`*" ] pub fn key_system ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_key_system_MediaKeySystemAccess ( self_ : < & MediaKeySystemAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeySystemAccess as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_key_system_MediaKeySystemAccess ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keySystem` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess/keySystem)\n\n*This API requires the following crate features to be activated: `MediaKeySystemAccess`*" ] pub fn key_system ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaKeys` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys)\n\n*This API requires the following crate features to be activated: `MediaKeys`*" ] # [ repr ( transparent ) ] pub struct MediaKeys { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaKeys : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaKeys { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaKeys { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaKeys { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaKeys { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaKeys { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaKeys { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaKeys { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaKeys { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaKeys { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaKeys > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaKeys { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaKeys { # [ inline ] fn from ( obj : JsValue ) -> MediaKeys { MediaKeys { obj } } } impl AsRef < JsValue > for MediaKeys { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaKeys > for JsValue { # [ inline ] fn from ( obj : MediaKeys ) -> JsValue { obj . obj } } impl JsCast for MediaKeys { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaKeys ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaKeys ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaKeys { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaKeys ) } } } ( ) } ; impl core :: ops :: Deref for MediaKeys { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MediaKeys > for Object { # [ inline ] fn from ( obj : MediaKeys ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaKeys { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_session_MediaKeys ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeys as WasmDescribe > :: describe ( ) ; < MediaKeySession as WasmDescribe > :: describe ( ) ; } impl MediaKeys { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSession()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/createSession)\n\n*This API requires the following crate features to be activated: `MediaKeySession`, `MediaKeys`*" ] pub fn create_session ( & self , ) -> Result < MediaKeySession , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_session_MediaKeys ( self_ : < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaKeySession as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_session_MediaKeys ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaKeySession as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSession()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/createSession)\n\n*This API requires the following crate features to be activated: `MediaKeySession`, `MediaKeys`*" ] pub fn create_session ( & self , ) -> Result < MediaKeySession , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_session_with_session_type_MediaKeys ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaKeys as WasmDescribe > :: describe ( ) ; < MediaKeySessionType as WasmDescribe > :: describe ( ) ; < MediaKeySession as WasmDescribe > :: describe ( ) ; } impl MediaKeys { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSession()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/createSession)\n\n*This API requires the following crate features to be activated: `MediaKeySession`, `MediaKeySessionType`, `MediaKeys`*" ] pub fn create_session_with_session_type ( & self , session_type : MediaKeySessionType ) -> Result < MediaKeySession , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_session_with_session_type_MediaKeys ( self_ : < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , session_type : < MediaKeySessionType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaKeySession as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let session_type = < MediaKeySessionType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( session_type , & mut __stack ) ; __widl_f_create_session_with_session_type_MediaKeys ( self_ , session_type , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaKeySession as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSession()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/createSession)\n\n*This API requires the following crate features to be activated: `MediaKeySession`, `MediaKeySessionType`, `MediaKeys`*" ] pub fn create_session_with_session_type ( & self , session_type : MediaKeySessionType ) -> Result < MediaKeySession , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_status_for_policy_MediaKeys ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeys as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaKeys { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getStatusForPolicy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/getStatusForPolicy)\n\n*This API requires the following crate features to be activated: `MediaKeys`*" ] pub fn get_status_for_policy ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_status_for_policy_MediaKeys ( self_ : < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_status_for_policy_MediaKeys ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getStatusForPolicy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/getStatusForPolicy)\n\n*This API requires the following crate features to be activated: `MediaKeys`*" ] pub fn get_status_for_policy ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_status_for_policy_with_policy_MediaKeys ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaKeys as WasmDescribe > :: describe ( ) ; < & MediaKeysPolicy as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaKeys { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getStatusForPolicy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/getStatusForPolicy)\n\n*This API requires the following crate features to be activated: `MediaKeys`, `MediaKeysPolicy`*" ] pub fn get_status_for_policy_with_policy ( & self , policy : & MediaKeysPolicy ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_status_for_policy_with_policy_MediaKeys ( self_ : < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , policy : < & MediaKeysPolicy as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let policy = < & MediaKeysPolicy as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( policy , & mut __stack ) ; __widl_f_get_status_for_policy_with_policy_MediaKeys ( self_ , policy ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getStatusForPolicy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/getStatusForPolicy)\n\n*This API requires the following crate features to be activated: `MediaKeys`, `MediaKeysPolicy`*" ] pub fn get_status_for_policy_with_policy ( & self , policy : & MediaKeysPolicy ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_server_certificate_with_buffer_source_MediaKeys ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaKeys as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaKeys { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setServerCertificate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/setServerCertificate)\n\n*This API requires the following crate features to be activated: `MediaKeys`*" ] pub fn set_server_certificate_with_buffer_source ( & self , server_certificate : & :: js_sys :: Object ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_server_certificate_with_buffer_source_MediaKeys ( self_ : < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , server_certificate : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let server_certificate = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( server_certificate , & mut __stack ) ; __widl_f_set_server_certificate_with_buffer_source_MediaKeys ( self_ , server_certificate ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setServerCertificate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/setServerCertificate)\n\n*This API requires the following crate features to be activated: `MediaKeys`*" ] pub fn set_server_certificate_with_buffer_source ( & self , server_certificate : & :: js_sys :: Object ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_server_certificate_with_u8_array_MediaKeys ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaKeys as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaKeys { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setServerCertificate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/setServerCertificate)\n\n*This API requires the following crate features to be activated: `MediaKeys`*" ] pub fn set_server_certificate_with_u8_array ( & self , server_certificate : & mut [ u8 ] ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_server_certificate_with_u8_array_MediaKeys ( self_ : < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , server_certificate : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let server_certificate = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( server_certificate , & mut __stack ) ; __widl_f_set_server_certificate_with_u8_array_MediaKeys ( self_ , server_certificate ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setServerCertificate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/setServerCertificate)\n\n*This API requires the following crate features to be activated: `MediaKeys`*" ] pub fn set_server_certificate_with_u8_array ( & self , server_certificate : & mut [ u8 ] ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_key_system_MediaKeys ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaKeys as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaKeys { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `keySystem` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/keySystem)\n\n*This API requires the following crate features to be activated: `MediaKeys`*" ] pub fn key_system ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_key_system_MediaKeys ( self_ : < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaKeys as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_key_system_MediaKeys ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `keySystem` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/keySystem)\n\n*This API requires the following crate features to be activated: `MediaKeys`*" ] pub fn key_system ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList)\n\n*This API requires the following crate features to be activated: `MediaList`*" ] # [ repr ( transparent ) ] pub struct MediaList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaList { # [ inline ] fn from ( obj : JsValue ) -> MediaList { MediaList { obj } } } impl AsRef < JsValue > for MediaList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaList > for JsValue { # [ inline ] fn from ( obj : MediaList ) -> JsValue { obj . obj } } impl JsCast for MediaList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaList ) } } } ( ) } ; impl core :: ops :: Deref for MediaList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MediaList > for Object { # [ inline ] fn from ( obj : MediaList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_medium_MediaList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendMedium()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/appendMedium)\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn append_medium ( & self , new_medium : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_medium_MediaList ( self_ : < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_medium : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_medium = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_medium , & mut __stack ) ; __widl_f_append_medium_MediaList ( self_ , new_medium , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendMedium()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/appendMedium)\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn append_medium ( & self , new_medium : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_medium_MediaList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteMedium()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/deleteMedium)\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn delete_medium ( & self , old_medium : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_medium_MediaList ( self_ : < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , old_medium : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let old_medium = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( old_medium , & mut __stack ) ; __widl_f_delete_medium_MediaList ( self_ , old_medium , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteMedium()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/deleteMedium)\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn delete_medium ( & self , old_medium : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_MediaList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl MediaList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/item)\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn item ( & self , index : u32 ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_MediaList ( self_ : < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_MediaList ( self_ , index ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/item)\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn item ( & self , index : u32 ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_MediaList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl MediaList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn get ( & self , index : u32 ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_MediaList ( self_ : < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_MediaList ( self_ , index ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn get ( & self , index : u32 ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_text_MediaList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaList as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mediaText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/mediaText)\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn media_text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_text_MediaList ( self_ : < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_text_MediaList ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mediaText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/mediaText)\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn media_text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_media_text_MediaList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mediaText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/mediaText)\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn set_media_text ( & self , media_text : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_media_text_MediaList ( self_ : < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , media_text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let media_text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( media_text , & mut __stack ) ; __widl_f_set_media_text_MediaList ( self_ , media_text ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mediaText` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/mediaText)\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn set_media_text ( & self , media_text : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_MediaList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl MediaList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/length)\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_MediaList ( self_ : < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_MediaList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaList/length)\n\n*This API requires the following crate features to be activated: `MediaList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaQueryList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList)\n\n*This API requires the following crate features to be activated: `MediaQueryList`*" ] # [ repr ( transparent ) ] pub struct MediaQueryList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaQueryList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaQueryList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaQueryList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaQueryList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaQueryList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaQueryList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaQueryList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaQueryList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaQueryList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaQueryList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaQueryList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaQueryList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaQueryList { # [ inline ] fn from ( obj : JsValue ) -> MediaQueryList { MediaQueryList { obj } } } impl AsRef < JsValue > for MediaQueryList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaQueryList > for JsValue { # [ inline ] fn from ( obj : MediaQueryList ) -> JsValue { obj . obj } } impl JsCast for MediaQueryList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaQueryList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaQueryList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaQueryList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaQueryList ) } } } ( ) } ; impl core :: ops :: Deref for MediaQueryList { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < MediaQueryList > for EventTarget { # [ inline ] fn from ( obj : MediaQueryList ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MediaQueryList { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaQueryList > for Object { # [ inline ] fn from ( obj : MediaQueryList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaQueryList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_listener_with_opt_callback_MediaQueryList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaQueryList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaQueryList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/addListener)\n\n*This API requires the following crate features to be activated: `MediaQueryList`*" ] pub fn add_listener_with_opt_callback ( & self , listener : Option < & :: js_sys :: Function > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_listener_with_opt_callback_MediaQueryList ( self_ : < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let listener = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; __widl_f_add_listener_with_opt_callback_MediaQueryList ( self_ , listener , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/addListener)\n\n*This API requires the following crate features to be activated: `MediaQueryList`*" ] pub fn add_listener_with_opt_callback ( & self , listener : Option < & :: js_sys :: Function > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_listener_with_opt_event_listener_MediaQueryList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaQueryList as WasmDescribe > :: describe ( ) ; < Option < & EventListener > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaQueryList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/addListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `MediaQueryList`*" ] pub fn add_listener_with_opt_event_listener ( & self , listener : Option < & EventListener > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_listener_with_opt_event_listener_MediaQueryList ( self_ : < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < Option < & EventListener > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let listener = < Option < & EventListener > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; __widl_f_add_listener_with_opt_event_listener_MediaQueryList ( self_ , listener , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/addListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `MediaQueryList`*" ] pub fn add_listener_with_opt_event_listener ( & self , listener : Option < & EventListener > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_listener_with_opt_callback_MediaQueryList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaQueryList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaQueryList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/removeListener)\n\n*This API requires the following crate features to be activated: `MediaQueryList`*" ] pub fn remove_listener_with_opt_callback ( & self , listener : Option < & :: js_sys :: Function > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_listener_with_opt_callback_MediaQueryList ( self_ : < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let listener = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; __widl_f_remove_listener_with_opt_callback_MediaQueryList ( self_ , listener , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/removeListener)\n\n*This API requires the following crate features to be activated: `MediaQueryList`*" ] pub fn remove_listener_with_opt_callback ( & self , listener : Option < & :: js_sys :: Function > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_listener_with_opt_event_listener_MediaQueryList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaQueryList as WasmDescribe > :: describe ( ) ; < Option < & EventListener > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaQueryList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/removeListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `MediaQueryList`*" ] pub fn remove_listener_with_opt_event_listener ( & self , listener : Option < & EventListener > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_listener_with_opt_event_listener_MediaQueryList ( self_ : < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , listener : < Option < & EventListener > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let listener = < Option < & EventListener > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( listener , & mut __stack ) ; __widl_f_remove_listener_with_opt_event_listener_MediaQueryList ( self_ , listener , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeListener()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/removeListener)\n\n*This API requires the following crate features to be activated: `EventListener`, `MediaQueryList`*" ] pub fn remove_listener_with_opt_event_listener ( & self , listener : Option < & EventListener > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_MediaQueryList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaQueryList as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaQueryList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/media)\n\n*This API requires the following crate features to be activated: `MediaQueryList`*" ] pub fn media ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_MediaQueryList ( self_ : < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_MediaQueryList ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/media)\n\n*This API requires the following crate features to be activated: `MediaQueryList`*" ] pub fn media ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_matches_MediaQueryList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaQueryList as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MediaQueryList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `matches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/matches)\n\n*This API requires the following crate features to be activated: `MediaQueryList`*" ] pub fn matches ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_matches_MediaQueryList ( self_ : < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_matches_MediaQueryList ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `matches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/matches)\n\n*This API requires the following crate features to be activated: `MediaQueryList`*" ] pub fn matches ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchange_MediaQueryList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaQueryList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaQueryList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/onchange)\n\n*This API requires the following crate features to be activated: `MediaQueryList`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchange_MediaQueryList ( self_ : < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchange_MediaQueryList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/onchange)\n\n*This API requires the following crate features to be activated: `MediaQueryList`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchange_MediaQueryList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaQueryList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaQueryList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/onchange)\n\n*This API requires the following crate features to be activated: `MediaQueryList`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchange_MediaQueryList ( self_ : < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaQueryList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchange , & mut __stack ) ; __widl_f_set_onchange_MediaQueryList ( self_ , onchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/onchange)\n\n*This API requires the following crate features to be activated: `MediaQueryList`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaQueryListEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent)\n\n*This API requires the following crate features to be activated: `MediaQueryListEvent`*" ] # [ repr ( transparent ) ] pub struct MediaQueryListEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaQueryListEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaQueryListEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaQueryListEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaQueryListEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaQueryListEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaQueryListEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaQueryListEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaQueryListEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaQueryListEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaQueryListEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaQueryListEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaQueryListEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaQueryListEvent { # [ inline ] fn from ( obj : JsValue ) -> MediaQueryListEvent { MediaQueryListEvent { obj } } } impl AsRef < JsValue > for MediaQueryListEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaQueryListEvent > for JsValue { # [ inline ] fn from ( obj : MediaQueryListEvent ) -> JsValue { obj . obj } } impl JsCast for MediaQueryListEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaQueryListEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaQueryListEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaQueryListEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaQueryListEvent ) } } } ( ) } ; impl core :: ops :: Deref for MediaQueryListEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < MediaQueryListEvent > for Event { # [ inline ] fn from ( obj : MediaQueryListEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for MediaQueryListEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaQueryListEvent > for Object { # [ inline ] fn from ( obj : MediaQueryListEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaQueryListEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MediaQueryListEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < MediaQueryListEvent as WasmDescribe > :: describe ( ) ; } impl MediaQueryListEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaQueryListEvent(..)` constructor, creating a new instance of `MediaQueryListEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/MediaQueryListEvent)\n\n*This API requires the following crate features to be activated: `MediaQueryListEvent`*" ] pub fn new ( type_ : & str ) -> Result < MediaQueryListEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MediaQueryListEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaQueryListEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_MediaQueryListEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaQueryListEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaQueryListEvent(..)` constructor, creating a new instance of `MediaQueryListEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/MediaQueryListEvent)\n\n*This API requires the following crate features to be activated: `MediaQueryListEvent`*" ] pub fn new ( type_ : & str ) -> Result < MediaQueryListEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_MediaQueryListEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & MediaQueryListEventInit as WasmDescribe > :: describe ( ) ; < MediaQueryListEvent as WasmDescribe > :: describe ( ) ; } impl MediaQueryListEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaQueryListEvent(..)` constructor, creating a new instance of `MediaQueryListEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/MediaQueryListEvent)\n\n*This API requires the following crate features to be activated: `MediaQueryListEvent`, `MediaQueryListEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & MediaQueryListEventInit ) -> Result < MediaQueryListEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_MediaQueryListEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & MediaQueryListEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaQueryListEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & MediaQueryListEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_MediaQueryListEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaQueryListEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaQueryListEvent(..)` constructor, creating a new instance of `MediaQueryListEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/MediaQueryListEvent)\n\n*This API requires the following crate features to be activated: `MediaQueryListEvent`, `MediaQueryListEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & MediaQueryListEventInit ) -> Result < MediaQueryListEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_MediaQueryListEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaQueryListEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaQueryListEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/media)\n\n*This API requires the following crate features to be activated: `MediaQueryListEvent`*" ] pub fn media ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_MediaQueryListEvent ( self_ : < & MediaQueryListEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaQueryListEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_MediaQueryListEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/media)\n\n*This API requires the following crate features to be activated: `MediaQueryListEvent`*" ] pub fn media ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_matches_MediaQueryListEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaQueryListEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MediaQueryListEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `matches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/matches)\n\n*This API requires the following crate features to be activated: `MediaQueryListEvent`*" ] pub fn matches ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_matches_MediaQueryListEvent ( self_ : < & MediaQueryListEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaQueryListEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_matches_MediaQueryListEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `matches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/matches)\n\n*This API requires the following crate features to be activated: `MediaQueryListEvent`*" ] pub fn matches ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaRecorder` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] # [ repr ( transparent ) ] pub struct MediaRecorder { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaRecorder : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaRecorder { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaRecorder { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaRecorder { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaRecorder { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaRecorder { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaRecorder { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaRecorder { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaRecorder { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaRecorder { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaRecorder > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaRecorder { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaRecorder { # [ inline ] fn from ( obj : JsValue ) -> MediaRecorder { MediaRecorder { obj } } } impl AsRef < JsValue > for MediaRecorder { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaRecorder > for JsValue { # [ inline ] fn from ( obj : MediaRecorder ) -> JsValue { obj . obj } } impl JsCast for MediaRecorder { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaRecorder ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaRecorder ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaRecorder { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaRecorder ) } } } ( ) } ; impl core :: ops :: Deref for MediaRecorder { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < MediaRecorder > for EventTarget { # [ inline ] fn from ( obj : MediaRecorder ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MediaRecorder { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaRecorder > for Object { # [ inline ] fn from ( obj : MediaRecorder ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaRecorder { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_media_stream_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < MediaRecorder as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)\n\n*This API requires the following crate features to be activated: `MediaRecorder`, `MediaStream`*" ] pub fn new_with_media_stream ( stream : & MediaStream ) -> Result < MediaRecorder , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_media_stream_MediaRecorder ( stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaRecorder as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; __widl_f_new_with_media_stream_MediaRecorder ( stream , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaRecorder as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)\n\n*This API requires the following crate features to be activated: `MediaRecorder`, `MediaStream`*" ] pub fn new_with_media_stream ( stream : & MediaStream ) -> Result < MediaRecorder , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_media_stream_and_media_recorder_options_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaRecorderOptions as WasmDescribe > :: describe ( ) ; < MediaRecorder as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)\n\n*This API requires the following crate features to be activated: `MediaRecorder`, `MediaRecorderOptions`, `MediaStream`*" ] pub fn new_with_media_stream_and_media_recorder_options ( stream : & MediaStream , options : & MediaRecorderOptions ) -> Result < MediaRecorder , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_media_stream_and_media_recorder_options_MediaRecorder ( stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & MediaRecorderOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaRecorder as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; let options = < & MediaRecorderOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_media_stream_and_media_recorder_options_MediaRecorder ( stream , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaRecorder as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)\n\n*This API requires the following crate features to be activated: `MediaRecorder`, `MediaRecorderOptions`, `MediaStream`*" ] pub fn new_with_media_stream_and_media_recorder_options ( stream : & MediaStream , options : & MediaRecorderOptions ) -> Result < MediaRecorder , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_audio_node_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < MediaRecorder as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)\n\n*This API requires the following crate features to be activated: `AudioNode`, `MediaRecorder`*" ] pub fn new_with_audio_node ( node : & AudioNode ) -> Result < MediaRecorder , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_audio_node_MediaRecorder ( node : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaRecorder as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let node = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; __widl_f_new_with_audio_node_MediaRecorder ( node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaRecorder as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)\n\n*This API requires the following crate features to be activated: `AudioNode`, `MediaRecorder`*" ] pub fn new_with_audio_node ( node : & AudioNode ) -> Result < MediaRecorder , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_audio_node_and_u32_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < MediaRecorder as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)\n\n*This API requires the following crate features to be activated: `AudioNode`, `MediaRecorder`*" ] pub fn new_with_audio_node_and_u32 ( node : & AudioNode , output : u32 ) -> Result < MediaRecorder , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_audio_node_and_u32_MediaRecorder ( node : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , output : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaRecorder as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let node = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; let output = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( output , & mut __stack ) ; __widl_f_new_with_audio_node_and_u32_MediaRecorder ( node , output , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaRecorder as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)\n\n*This API requires the following crate features to be activated: `AudioNode`, `MediaRecorder`*" ] pub fn new_with_audio_node_and_u32 ( node : & AudioNode , output : u32 ) -> Result < MediaRecorder , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_audio_node_and_u32_and_options_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & AudioNode as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & MediaRecorderOptions as WasmDescribe > :: describe ( ) ; < MediaRecorder as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)\n\n*This API requires the following crate features to be activated: `AudioNode`, `MediaRecorder`, `MediaRecorderOptions`*" ] pub fn new_with_audio_node_and_u32_and_options ( node : & AudioNode , output : u32 , options : & MediaRecorderOptions ) -> Result < MediaRecorder , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_audio_node_and_u32_and_options_MediaRecorder ( node : < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , output : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & MediaRecorderOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaRecorder as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let node = < & AudioNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; let output = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( output , & mut __stack ) ; let options = < & MediaRecorderOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_audio_node_and_u32_and_options_MediaRecorder ( node , output , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaRecorder as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaRecorder(..)` constructor, creating a new instance of `MediaRecorder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder)\n\n*This API requires the following crate features to be activated: `AudioNode`, `MediaRecorder`, `MediaRecorderOptions`*" ] pub fn new_with_audio_node_and_u32_and_options ( node : & AudioNode , output : u32 , options : & MediaRecorderOptions ) -> Result < MediaRecorder , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_type_supported_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isTypeSupported()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/isTypeSupported)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn is_type_supported ( type_ : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_type_supported_MediaRecorder ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_is_type_supported_MediaRecorder ( type_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isTypeSupported()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/isTypeSupported)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn is_type_supported ( type_ : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pause_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pause()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/pause)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn pause ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pause_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pause_MediaRecorder ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pause()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/pause)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn pause ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_data_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/requestData)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn request_data ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_data_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_request_data_MediaRecorder ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/requestData)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn request_data ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_resume_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `resume()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/resume)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn resume ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_resume_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_resume_MediaRecorder ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `resume()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/resume)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn resume ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/start)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_MediaRecorder ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/start)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_with_time_slice_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/start)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn start_with_time_slice ( & self , time_slice : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_with_time_slice_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , time_slice : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let time_slice = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( time_slice , & mut __stack ) ; __widl_f_start_with_time_slice_MediaRecorder ( self_ , time_slice , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/start)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn start_with_time_slice ( & self , time_slice : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/stop)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn stop ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stop_MediaRecorder ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/stop)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn stop ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stream_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < MediaStream as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stream` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/stream)\n\n*This API requires the following crate features to be activated: `MediaRecorder`, `MediaStream`*" ] pub fn stream ( & self , ) -> MediaStream { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stream_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaStream as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stream_MediaRecorder ( self_ ) } ; < MediaStream as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stream` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/stream)\n\n*This API requires the following crate features to be activated: `MediaRecorder`, `MediaStream`*" ] pub fn stream ( & self , ) -> MediaStream { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_state_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < RecordingState as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/state)\n\n*This API requires the following crate features to be activated: `MediaRecorder`, `RecordingState`*" ] pub fn state ( & self , ) -> RecordingState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_state_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RecordingState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_state_MediaRecorder ( self_ ) } ; < RecordingState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/state)\n\n*This API requires the following crate features to be activated: `MediaRecorder`, `RecordingState`*" ] pub fn state ( & self , ) -> RecordingState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mime_type_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mimeType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/mimeType)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn mime_type ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mime_type_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_mime_type_MediaRecorder ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mimeType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/mimeType)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn mime_type ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondataavailable_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondataavailable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ondataavailable)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn ondataavailable ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondataavailable_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondataavailable_MediaRecorder ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondataavailable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ondataavailable)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn ondataavailable ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondataavailable_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondataavailable` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ondataavailable)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn set_ondataavailable ( & self , ondataavailable : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondataavailable_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondataavailable : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondataavailable = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondataavailable , & mut __stack ) ; __widl_f_set_ondataavailable_MediaRecorder ( self_ , ondataavailable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondataavailable` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ondataavailable)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn set_ondataavailable ( & self , ondataavailable : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onerror)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_MediaRecorder ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onerror)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onerror)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_MediaRecorder ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onerror)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstart_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstart)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn onstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstart_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstart_MediaRecorder ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstart)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn onstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstart_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstart)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn set_onstart ( & self , onstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstart_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstart , & mut __stack ) ; __widl_f_set_onstart_MediaRecorder ( self_ , onstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstart)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn set_onstart ( & self , onstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstop_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstop)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn onstop ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstop_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstop_MediaRecorder ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstop)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn onstop ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstop_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstop)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn set_onstop ( & self , onstop : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstop_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstop : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstop = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstop , & mut __stack ) ; __widl_f_set_onstop_MediaRecorder ( self_ , onstop ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstop)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn set_onstop ( & self , onstop : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwarning_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwarning` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onwarning)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn onwarning ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwarning_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwarning_MediaRecorder ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwarning` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onwarning)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn onwarning ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwarning_MediaRecorder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaRecorder as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaRecorder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwarning` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onwarning)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn set_onwarning ( & self , onwarning : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwarning_MediaRecorder ( self_ : < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwarning : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwarning = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwarning , & mut __stack ) ; __widl_f_set_onwarning_MediaRecorder ( self_ , onwarning ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwarning` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onwarning)\n\n*This API requires the following crate features to be activated: `MediaRecorder`*" ] pub fn set_onwarning ( & self , onwarning : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaRecorderErrorEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorderErrorEvent)\n\n*This API requires the following crate features to be activated: `MediaRecorderErrorEvent`*" ] # [ repr ( transparent ) ] pub struct MediaRecorderErrorEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaRecorderErrorEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaRecorderErrorEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaRecorderErrorEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaRecorderErrorEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaRecorderErrorEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaRecorderErrorEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaRecorderErrorEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaRecorderErrorEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaRecorderErrorEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaRecorderErrorEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaRecorderErrorEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaRecorderErrorEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaRecorderErrorEvent { # [ inline ] fn from ( obj : JsValue ) -> MediaRecorderErrorEvent { MediaRecorderErrorEvent { obj } } } impl AsRef < JsValue > for MediaRecorderErrorEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaRecorderErrorEvent > for JsValue { # [ inline ] fn from ( obj : MediaRecorderErrorEvent ) -> JsValue { obj . obj } } impl JsCast for MediaRecorderErrorEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaRecorderErrorEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaRecorderErrorEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaRecorderErrorEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaRecorderErrorEvent ) } } } ( ) } ; impl core :: ops :: Deref for MediaRecorderErrorEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < MediaRecorderErrorEvent > for Event { # [ inline ] fn from ( obj : MediaRecorderErrorEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for MediaRecorderErrorEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaRecorderErrorEvent > for Object { # [ inline ] fn from ( obj : MediaRecorderErrorEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaRecorderErrorEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MediaRecorderErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & MediaRecorderErrorEventInit as WasmDescribe > :: describe ( ) ; < MediaRecorderErrorEvent as WasmDescribe > :: describe ( ) ; } impl MediaRecorderErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaRecorderErrorEvent(..)` constructor, creating a new instance of `MediaRecorderErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorderErrorEvent/MediaRecorderErrorEvent)\n\n*This API requires the following crate features to be activated: `MediaRecorderErrorEvent`, `MediaRecorderErrorEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & MediaRecorderErrorEventInit ) -> Result < MediaRecorderErrorEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MediaRecorderErrorEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & MediaRecorderErrorEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaRecorderErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & MediaRecorderErrorEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_MediaRecorderErrorEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaRecorderErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaRecorderErrorEvent(..)` constructor, creating a new instance of `MediaRecorderErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorderErrorEvent/MediaRecorderErrorEvent)\n\n*This API requires the following crate features to be activated: `MediaRecorderErrorEvent`, `MediaRecorderErrorEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & MediaRecorderErrorEventInit ) -> Result < MediaRecorderErrorEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_MediaRecorderErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaRecorderErrorEvent as WasmDescribe > :: describe ( ) ; < DomException as WasmDescribe > :: describe ( ) ; } impl MediaRecorderErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorderErrorEvent/error)\n\n*This API requires the following crate features to be activated: `DomException`, `MediaRecorderErrorEvent`*" ] pub fn error ( & self , ) -> DomException { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_MediaRecorderErrorEvent ( self_ : < & MediaRecorderErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomException as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaRecorderErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_error_MediaRecorderErrorEvent ( self_ ) } ; < DomException as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorderErrorEvent/error)\n\n*This API requires the following crate features to be activated: `DomException`, `MediaRecorderErrorEvent`*" ] pub fn error ( & self , ) -> DomException { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaSource` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] # [ repr ( transparent ) ] pub struct MediaSource { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaSource : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaSource { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaSource { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaSource { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaSource { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaSource { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaSource { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaSource { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaSource { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaSource { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaSource > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaSource { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaSource { # [ inline ] fn from ( obj : JsValue ) -> MediaSource { MediaSource { obj } } } impl AsRef < JsValue > for MediaSource { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaSource > for JsValue { # [ inline ] fn from ( obj : MediaSource ) -> JsValue { obj . obj } } impl JsCast for MediaSource { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaSource ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaSource ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaSource { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaSource ) } } } ( ) } ; impl core :: ops :: Deref for MediaSource { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < MediaSource > for EventTarget { # [ inline ] fn from ( obj : MediaSource ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MediaSource { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaSource > for Object { # [ inline ] fn from ( obj : MediaSource ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaSource { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < MediaSource as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaSource(..)` constructor, creating a new instance of `MediaSource`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/MediaSource)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn new ( ) -> Result < MediaSource , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MediaSource ( exn_data_ptr : * mut u32 ) -> < MediaSource as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_MediaSource ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaSource as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaSource(..)` constructor, creating a new instance of `MediaSource`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/MediaSource)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn new ( ) -> Result < MediaSource , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_source_buffer_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < SourceBuffer as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addSourceBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/addSourceBuffer)\n\n*This API requires the following crate features to be activated: `MediaSource`, `SourceBuffer`*" ] pub fn add_source_buffer ( & self , type_ : & str ) -> Result < SourceBuffer , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_source_buffer_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SourceBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_add_source_buffer_MediaSource ( self_ , type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SourceBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addSourceBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/addSourceBuffer)\n\n*This API requires the following crate features to be activated: `MediaSource`, `SourceBuffer`*" ] pub fn add_source_buffer ( & self , type_ : & str ) -> Result < SourceBuffer , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_live_seekable_range_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearLiveSeekableRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/clearLiveSeekableRange)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn clear_live_seekable_range ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_live_seekable_range_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_live_seekable_range_MediaSource ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearLiveSeekableRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/clearLiveSeekableRange)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn clear_live_seekable_range ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_end_of_stream_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `endOfStream()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/endOfStream)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn end_of_stream ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_end_of_stream_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_end_of_stream_MediaSource ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `endOfStream()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/endOfStream)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn end_of_stream ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_end_of_stream_with_error_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < MediaSourceEndOfStreamError as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `endOfStream()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/endOfStream)\n\n*This API requires the following crate features to be activated: `MediaSource`, `MediaSourceEndOfStreamError`*" ] pub fn end_of_stream_with_error ( & self , error : MediaSourceEndOfStreamError ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_end_of_stream_with_error_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error : < MediaSourceEndOfStreamError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let error = < MediaSourceEndOfStreamError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error , & mut __stack ) ; __widl_f_end_of_stream_with_error_MediaSource ( self_ , error , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `endOfStream()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/endOfStream)\n\n*This API requires the following crate features to be activated: `MediaSource`, `MediaSourceEndOfStreamError`*" ] pub fn end_of_stream_with_error ( & self , error : MediaSourceEndOfStreamError ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_type_supported_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isTypeSupported()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/isTypeSupported)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn is_type_supported ( type_ : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_type_supported_MediaSource ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_is_type_supported_MediaSource ( type_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isTypeSupported()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/isTypeSupported)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn is_type_supported ( type_ : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_source_buffer_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeSourceBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/removeSourceBuffer)\n\n*This API requires the following crate features to be activated: `MediaSource`, `SourceBuffer`*" ] pub fn remove_source_buffer ( & self , source_buffer : & SourceBuffer ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_source_buffer_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source_buffer : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let source_buffer = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source_buffer , & mut __stack ) ; __widl_f_remove_source_buffer_MediaSource ( self_ , source_buffer , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeSourceBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/removeSourceBuffer)\n\n*This API requires the following crate features to be activated: `MediaSource`, `SourceBuffer`*" ] pub fn remove_source_buffer ( & self , source_buffer : & SourceBuffer ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_live_seekable_range_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setLiveSeekableRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/setLiveSeekableRange)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn set_live_seekable_range ( & self , start : f64 , end : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_live_seekable_range_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; __widl_f_set_live_seekable_range_MediaSource ( self_ , start , end , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setLiveSeekableRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/setLiveSeekableRange)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn set_live_seekable_range ( & self , start : f64 , end : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_source_buffers_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < SourceBufferList as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sourceBuffers` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/sourceBuffers)\n\n*This API requires the following crate features to be activated: `MediaSource`, `SourceBufferList`*" ] pub fn source_buffers ( & self , ) -> SourceBufferList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_source_buffers_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SourceBufferList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_source_buffers_MediaSource ( self_ ) } ; < SourceBufferList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sourceBuffers` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/sourceBuffers)\n\n*This API requires the following crate features to be activated: `MediaSource`, `SourceBufferList`*" ] pub fn source_buffers ( & self , ) -> SourceBufferList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_active_source_buffers_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < SourceBufferList as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `activeSourceBuffers` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/activeSourceBuffers)\n\n*This API requires the following crate features to be activated: `MediaSource`, `SourceBufferList`*" ] pub fn active_source_buffers ( & self , ) -> SourceBufferList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_active_source_buffers_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SourceBufferList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_active_source_buffers_MediaSource ( self_ ) } ; < SourceBufferList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `activeSourceBuffers` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/activeSourceBuffers)\n\n*This API requires the following crate features to be activated: `MediaSource`, `SourceBufferList`*" ] pub fn active_source_buffers ( & self , ) -> SourceBufferList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_state_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < MediaSourceReadyState as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/readyState)\n\n*This API requires the following crate features to be activated: `MediaSource`, `MediaSourceReadyState`*" ] pub fn ready_state ( & self , ) -> MediaSourceReadyState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_state_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaSourceReadyState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_state_MediaSource ( self_ ) } ; < MediaSourceReadyState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/readyState)\n\n*This API requires the following crate features to be activated: `MediaSource`, `MediaSourceReadyState`*" ] pub fn ready_state ( & self , ) -> MediaSourceReadyState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_duration_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `duration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/duration)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn duration ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_duration_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_duration_MediaSource ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `duration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/duration)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn duration ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_duration_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `duration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/duration)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn set_duration ( & self , duration : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_duration_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , duration : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let duration = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( duration , & mut __stack ) ; __widl_f_set_duration_MediaSource ( self_ , duration ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `duration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/duration)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn set_duration ( & self , duration : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsourceopen_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsourceopen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceopen)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn onsourceopen ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsourceopen_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsourceopen_MediaSource ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsourceopen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceopen)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn onsourceopen ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsourceopen_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsourceopen` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceopen)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn set_onsourceopen ( & self , onsourceopen : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsourceopen_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsourceopen : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsourceopen = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsourceopen , & mut __stack ) ; __widl_f_set_onsourceopen_MediaSource ( self_ , onsourceopen ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsourceopen` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceopen)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn set_onsourceopen ( & self , onsourceopen : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsourceended_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsourceended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceended)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn onsourceended ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsourceended_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsourceended_MediaSource ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsourceended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceended)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn onsourceended ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsourceended_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsourceended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceended)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn set_onsourceended ( & self , onsourceended : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsourceended_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsourceended : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsourceended = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsourceended , & mut __stack ) ; __widl_f_set_onsourceended_MediaSource ( self_ , onsourceended ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsourceended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceended)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn set_onsourceended ( & self , onsourceended : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsourceclosed_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsourceclosed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceclosed)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn onsourceclosed ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsourceclosed_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsourceclosed_MediaSource ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsourceclosed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceclosed)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn onsourceclosed ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsourceclosed_MediaSource ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaSource { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsourceclosed` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceclosed)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn set_onsourceclosed ( & self , onsourceclosed : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsourceclosed_MediaSource ( self_ : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsourceclosed : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsourceclosed = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsourceclosed , & mut __stack ) ; __widl_f_set_onsourceclosed_MediaSource ( self_ , onsourceclosed ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsourceclosed` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/onsourceclosed)\n\n*This API requires the following crate features to be activated: `MediaSource`*" ] pub fn set_onsourceclosed ( & self , onsourceclosed : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaStream` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] # [ repr ( transparent ) ] pub struct MediaStream { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaStream : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaStream { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaStream { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaStream { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaStream { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaStream { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaStream { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaStream { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaStream { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaStream { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaStream > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaStream { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaStream { # [ inline ] fn from ( obj : JsValue ) -> MediaStream { MediaStream { obj } } } impl AsRef < JsValue > for MediaStream { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaStream > for JsValue { # [ inline ] fn from ( obj : MediaStream ) -> JsValue { obj . obj } } impl JsCast for MediaStream { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaStream ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaStream ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaStream { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaStream ) } } } ( ) } ; impl core :: ops :: Deref for MediaStream { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < MediaStream > for EventTarget { # [ inline ] fn from ( obj : MediaStream ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MediaStream { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaStream > for Object { # [ inline ] fn from ( obj : MediaStream ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaStream { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < MediaStream as WasmDescribe > :: describe ( ) ; } impl MediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaStream(..)` constructor, creating a new instance of `MediaStream`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/MediaStream)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn new ( ) -> Result < MediaStream , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MediaStream ( exn_data_ptr : * mut u32 ) -> < MediaStream as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_MediaStream ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaStream as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaStream(..)` constructor, creating a new instance of `MediaStream`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/MediaStream)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn new ( ) -> Result < MediaStream , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_stream_MediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < MediaStream as WasmDescribe > :: describe ( ) ; } impl MediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaStream(..)` constructor, creating a new instance of `MediaStream`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/MediaStream)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn new_with_stream ( stream : & MediaStream ) -> Result < MediaStream , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_stream_MediaStream ( stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaStream as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; __widl_f_new_with_stream_MediaStream ( stream , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaStream as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaStream(..)` constructor, creating a new instance of `MediaStream`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/MediaStream)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn new_with_stream ( stream : & MediaStream ) -> Result < MediaStream , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_track_MediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`*" ] pub fn add_track ( & self , track : & MediaStreamTrack ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_track_MediaStream ( self_ : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , track : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let track = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( track , & mut __stack ) ; __widl_f_add_track_MediaStream ( self_ , track ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`*" ] pub fn add_track ( & self , track : & MediaStreamTrack ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clone_MediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < MediaStream as WasmDescribe > :: describe ( ) ; } impl MediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clone()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/clone)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn clone ( & self , ) -> MediaStream { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clone_MediaStream ( self_ : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaStream as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clone_MediaStream ( self_ ) } ; < MediaStream as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clone()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/clone)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn clone ( & self , ) -> MediaStream { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_track_by_id_MediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < MediaStreamTrack > as WasmDescribe > :: describe ( ) ; } impl MediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getTrackById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/getTrackById)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`*" ] pub fn get_track_by_id ( & self , track_id : & str ) -> Option < MediaStreamTrack > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_track_by_id_MediaStream ( self_ : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , track_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MediaStreamTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let track_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( track_id , & mut __stack ) ; __widl_f_get_track_by_id_MediaStream ( self_ , track_id ) } ; < Option < MediaStreamTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getTrackById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/getTrackById)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`*" ] pub fn get_track_by_id ( & self , track_id : & str ) -> Option < MediaStreamTrack > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_track_MediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/removeTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`*" ] pub fn remove_track ( & self , track : & MediaStreamTrack ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_track_MediaStream ( self_ : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , track : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let track = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( track , & mut __stack ) ; __widl_f_remove_track_MediaStream ( self_ , track ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/removeTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`*" ] pub fn remove_track ( & self , track : & MediaStreamTrack ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_MediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/id)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_MediaStream ( self_ : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_MediaStream ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/id)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_active_MediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `active` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/active)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn active ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_active_MediaStream ( self_ : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_active_MediaStream ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `active` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/active)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn active ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onaddtrack_MediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddtrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/onaddtrack)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn onaddtrack ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onaddtrack_MediaStream ( self_ : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onaddtrack_MediaStream ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddtrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/onaddtrack)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn onaddtrack ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onaddtrack_MediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddtrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/onaddtrack)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn set_onaddtrack ( & self , onaddtrack : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onaddtrack_MediaStream ( self_ : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onaddtrack : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onaddtrack = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onaddtrack , & mut __stack ) ; __widl_f_set_onaddtrack_MediaStream ( self_ , onaddtrack ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddtrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/onaddtrack)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn set_onaddtrack ( & self , onaddtrack : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onremovetrack_MediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onremovetrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/onremovetrack)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn onremovetrack ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onremovetrack_MediaStream ( self_ : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onremovetrack_MediaStream ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onremovetrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/onremovetrack)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn onremovetrack ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onremovetrack_MediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onremovetrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/onremovetrack)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn set_onremovetrack ( & self , onremovetrack : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onremovetrack_MediaStream ( self_ : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onremovetrack : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onremovetrack = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onremovetrack , & mut __stack ) ; __widl_f_set_onremovetrack_MediaStream ( self_ , onremovetrack ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onremovetrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/onremovetrack)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn set_onremovetrack ( & self , onremovetrack : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_time_MediaStream ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl MediaStream { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/currentTime)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn current_time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_time_MediaStream ( self_ : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_time_MediaStream ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/currentTime)\n\n*This API requires the following crate features to be activated: `MediaStream`*" ] pub fn current_time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaStreamAudioDestinationNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioDestinationNode)\n\n*This API requires the following crate features to be activated: `MediaStreamAudioDestinationNode`*" ] # [ repr ( transparent ) ] pub struct MediaStreamAudioDestinationNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaStreamAudioDestinationNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaStreamAudioDestinationNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaStreamAudioDestinationNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaStreamAudioDestinationNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaStreamAudioDestinationNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaStreamAudioDestinationNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaStreamAudioDestinationNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaStreamAudioDestinationNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaStreamAudioDestinationNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaStreamAudioDestinationNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaStreamAudioDestinationNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaStreamAudioDestinationNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaStreamAudioDestinationNode { # [ inline ] fn from ( obj : JsValue ) -> MediaStreamAudioDestinationNode { MediaStreamAudioDestinationNode { obj } } } impl AsRef < JsValue > for MediaStreamAudioDestinationNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaStreamAudioDestinationNode > for JsValue { # [ inline ] fn from ( obj : MediaStreamAudioDestinationNode ) -> JsValue { obj . obj } } impl JsCast for MediaStreamAudioDestinationNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaStreamAudioDestinationNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaStreamAudioDestinationNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaStreamAudioDestinationNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaStreamAudioDestinationNode ) } } } ( ) } ; impl core :: ops :: Deref for MediaStreamAudioDestinationNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < MediaStreamAudioDestinationNode > for AudioNode { # [ inline ] fn from ( obj : MediaStreamAudioDestinationNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for MediaStreamAudioDestinationNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaStreamAudioDestinationNode > for EventTarget { # [ inline ] fn from ( obj : MediaStreamAudioDestinationNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MediaStreamAudioDestinationNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaStreamAudioDestinationNode > for Object { # [ inline ] fn from ( obj : MediaStreamAudioDestinationNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaStreamAudioDestinationNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MediaStreamAudioDestinationNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < MediaStreamAudioDestinationNode as WasmDescribe > :: describe ( ) ; } impl MediaStreamAudioDestinationNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaStreamAudioDestinationNode(..)` constructor, creating a new instance of `MediaStreamAudioDestinationNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode)\n\n*This API requires the following crate features to be activated: `AudioContext`, `MediaStreamAudioDestinationNode`*" ] pub fn new ( context : & AudioContext ) -> Result < MediaStreamAudioDestinationNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MediaStreamAudioDestinationNode ( context : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaStreamAudioDestinationNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_MediaStreamAudioDestinationNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaStreamAudioDestinationNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaStreamAudioDestinationNode(..)` constructor, creating a new instance of `MediaStreamAudioDestinationNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode)\n\n*This API requires the following crate features to be activated: `AudioContext`, `MediaStreamAudioDestinationNode`*" ] pub fn new ( context : & AudioContext ) -> Result < MediaStreamAudioDestinationNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_MediaStreamAudioDestinationNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < & AudioNodeOptions as WasmDescribe > :: describe ( ) ; < MediaStreamAudioDestinationNode as WasmDescribe > :: describe ( ) ; } impl MediaStreamAudioDestinationNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaStreamAudioDestinationNode(..)` constructor, creating a new instance of `MediaStreamAudioDestinationNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode)\n\n*This API requires the following crate features to be activated: `AudioContext`, `AudioNodeOptions`, `MediaStreamAudioDestinationNode`*" ] pub fn new_with_options ( context : & AudioContext , options : & AudioNodeOptions ) -> Result < MediaStreamAudioDestinationNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_MediaStreamAudioDestinationNode ( context : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & AudioNodeOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaStreamAudioDestinationNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & AudioNodeOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_MediaStreamAudioDestinationNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaStreamAudioDestinationNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaStreamAudioDestinationNode(..)` constructor, creating a new instance of `MediaStreamAudioDestinationNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode)\n\n*This API requires the following crate features to be activated: `AudioContext`, `AudioNodeOptions`, `MediaStreamAudioDestinationNode`*" ] pub fn new_with_options ( context : & AudioContext , options : & AudioNodeOptions ) -> Result < MediaStreamAudioDestinationNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stream_MediaStreamAudioDestinationNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamAudioDestinationNode as WasmDescribe > :: describe ( ) ; < MediaStream as WasmDescribe > :: describe ( ) ; } impl MediaStreamAudioDestinationNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stream` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioDestinationNode/stream)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamAudioDestinationNode`*" ] pub fn stream ( & self , ) -> MediaStream { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stream_MediaStreamAudioDestinationNode ( self_ : < & MediaStreamAudioDestinationNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaStream as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamAudioDestinationNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stream_MediaStreamAudioDestinationNode ( self_ ) } ; < MediaStream as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stream` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioDestinationNode/stream)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamAudioDestinationNode`*" ] pub fn stream ( & self , ) -> MediaStream { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaStreamAudioSourceNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioSourceNode)\n\n*This API requires the following crate features to be activated: `MediaStreamAudioSourceNode`*" ] # [ repr ( transparent ) ] pub struct MediaStreamAudioSourceNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaStreamAudioSourceNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaStreamAudioSourceNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaStreamAudioSourceNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaStreamAudioSourceNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaStreamAudioSourceNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaStreamAudioSourceNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaStreamAudioSourceNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaStreamAudioSourceNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaStreamAudioSourceNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaStreamAudioSourceNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaStreamAudioSourceNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaStreamAudioSourceNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaStreamAudioSourceNode { # [ inline ] fn from ( obj : JsValue ) -> MediaStreamAudioSourceNode { MediaStreamAudioSourceNode { obj } } } impl AsRef < JsValue > for MediaStreamAudioSourceNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaStreamAudioSourceNode > for JsValue { # [ inline ] fn from ( obj : MediaStreamAudioSourceNode ) -> JsValue { obj . obj } } impl JsCast for MediaStreamAudioSourceNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaStreamAudioSourceNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaStreamAudioSourceNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaStreamAudioSourceNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaStreamAudioSourceNode ) } } } ( ) } ; impl core :: ops :: Deref for MediaStreamAudioSourceNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < MediaStreamAudioSourceNode > for AudioNode { # [ inline ] fn from ( obj : MediaStreamAudioSourceNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for MediaStreamAudioSourceNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaStreamAudioSourceNode > for EventTarget { # [ inline ] fn from ( obj : MediaStreamAudioSourceNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MediaStreamAudioSourceNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaStreamAudioSourceNode > for Object { # [ inline ] fn from ( obj : MediaStreamAudioSourceNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaStreamAudioSourceNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MediaStreamAudioSourceNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & AudioContext as WasmDescribe > :: describe ( ) ; < & MediaStreamAudioSourceOptions as WasmDescribe > :: describe ( ) ; < MediaStreamAudioSourceNode as WasmDescribe > :: describe ( ) ; } impl MediaStreamAudioSourceNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaStreamAudioSourceNode(..)` constructor, creating a new instance of `MediaStreamAudioSourceNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioSourceNode/MediaStreamAudioSourceNode)\n\n*This API requires the following crate features to be activated: `AudioContext`, `MediaStreamAudioSourceNode`, `MediaStreamAudioSourceOptions`*" ] pub fn new ( context : & AudioContext , options : & MediaStreamAudioSourceOptions ) -> Result < MediaStreamAudioSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MediaStreamAudioSourceNode ( context : < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & MediaStreamAudioSourceOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaStreamAudioSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & AudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & MediaStreamAudioSourceOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_MediaStreamAudioSourceNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaStreamAudioSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaStreamAudioSourceNode(..)` constructor, creating a new instance of `MediaStreamAudioSourceNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioSourceNode/MediaStreamAudioSourceNode)\n\n*This API requires the following crate features to be activated: `AudioContext`, `MediaStreamAudioSourceNode`, `MediaStreamAudioSourceOptions`*" ] pub fn new ( context : & AudioContext , options : & MediaStreamAudioSourceOptions ) -> Result < MediaStreamAudioSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaStreamEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamEvent)\n\n*This API requires the following crate features to be activated: `MediaStreamEvent`*" ] # [ repr ( transparent ) ] pub struct MediaStreamEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaStreamEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaStreamEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaStreamEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaStreamEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaStreamEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaStreamEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaStreamEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaStreamEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaStreamEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaStreamEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaStreamEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaStreamEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaStreamEvent { # [ inline ] fn from ( obj : JsValue ) -> MediaStreamEvent { MediaStreamEvent { obj } } } impl AsRef < JsValue > for MediaStreamEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaStreamEvent > for JsValue { # [ inline ] fn from ( obj : MediaStreamEvent ) -> JsValue { obj . obj } } impl JsCast for MediaStreamEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaStreamEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaStreamEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaStreamEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaStreamEvent ) } } } ( ) } ; impl core :: ops :: Deref for MediaStreamEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < MediaStreamEvent > for Event { # [ inline ] fn from ( obj : MediaStreamEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for MediaStreamEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaStreamEvent > for Object { # [ inline ] fn from ( obj : MediaStreamEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaStreamEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MediaStreamEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < MediaStreamEvent as WasmDescribe > :: describe ( ) ; } impl MediaStreamEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaStreamEvent(..)` constructor, creating a new instance of `MediaStreamEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamEvent/MediaStreamEvent)\n\n*This API requires the following crate features to be activated: `MediaStreamEvent`*" ] pub fn new ( type_ : & str ) -> Result < MediaStreamEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MediaStreamEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaStreamEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_MediaStreamEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaStreamEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaStreamEvent(..)` constructor, creating a new instance of `MediaStreamEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamEvent/MediaStreamEvent)\n\n*This API requires the following crate features to be activated: `MediaStreamEvent`*" ] pub fn new ( type_ : & str ) -> Result < MediaStreamEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_MediaStreamEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & MediaStreamEventInit as WasmDescribe > :: describe ( ) ; < MediaStreamEvent as WasmDescribe > :: describe ( ) ; } impl MediaStreamEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaStreamEvent(..)` constructor, creating a new instance of `MediaStreamEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamEvent/MediaStreamEvent)\n\n*This API requires the following crate features to be activated: `MediaStreamEvent`, `MediaStreamEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & MediaStreamEventInit ) -> Result < MediaStreamEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_MediaStreamEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & MediaStreamEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaStreamEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & MediaStreamEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_MediaStreamEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaStreamEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaStreamEvent(..)` constructor, creating a new instance of `MediaStreamEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamEvent/MediaStreamEvent)\n\n*This API requires the following crate features to be activated: `MediaStreamEvent`, `MediaStreamEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & MediaStreamEventInit ) -> Result < MediaStreamEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stream_MediaStreamEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamEvent as WasmDescribe > :: describe ( ) ; < Option < MediaStream > as WasmDescribe > :: describe ( ) ; } impl MediaStreamEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stream` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamEvent/stream)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamEvent`*" ] pub fn stream ( & self , ) -> Option < MediaStream > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stream_MediaStreamEvent ( self_ : < & MediaStreamEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MediaStream > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stream_MediaStreamEvent ( self_ ) } ; < Option < MediaStream > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stream` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamEvent/stream)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamEvent`*" ] pub fn stream ( & self , ) -> Option < MediaStream > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaStreamTrack` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] # [ repr ( transparent ) ] pub struct MediaStreamTrack { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaStreamTrack : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaStreamTrack { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaStreamTrack { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaStreamTrack { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaStreamTrack { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaStreamTrack { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaStreamTrack { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaStreamTrack { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaStreamTrack { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaStreamTrack { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaStreamTrack > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaStreamTrack { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaStreamTrack { # [ inline ] fn from ( obj : JsValue ) -> MediaStreamTrack { MediaStreamTrack { obj } } } impl AsRef < JsValue > for MediaStreamTrack { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaStreamTrack > for JsValue { # [ inline ] fn from ( obj : MediaStreamTrack ) -> JsValue { obj . obj } } impl JsCast for MediaStreamTrack { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaStreamTrack ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaStreamTrack ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaStreamTrack { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaStreamTrack ) } } } ( ) } ; impl core :: ops :: Deref for MediaStreamTrack { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < MediaStreamTrack > for EventTarget { # [ inline ] fn from ( obj : MediaStreamTrack ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MediaStreamTrack { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaStreamTrack > for Object { # [ inline ] fn from ( obj : MediaStreamTrack ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaStreamTrack { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_apply_constraints_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `applyConstraints()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/applyConstraints)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn apply_constraints ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_apply_constraints_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_apply_constraints_MediaStreamTrack ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `applyConstraints()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/applyConstraints)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn apply_constraints ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_apply_constraints_with_constraints_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < & MediaTrackConstraints as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `applyConstraints()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/applyConstraints)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaTrackConstraints`*" ] pub fn apply_constraints_with_constraints ( & self , constraints : & MediaTrackConstraints ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_apply_constraints_with_constraints_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , constraints : < & MediaTrackConstraints as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let constraints = < & MediaTrackConstraints as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( constraints , & mut __stack ) ; __widl_f_apply_constraints_with_constraints_MediaStreamTrack ( self_ , constraints , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `applyConstraints()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/applyConstraints)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaTrackConstraints`*" ] pub fn apply_constraints_with_constraints ( & self , constraints : & MediaTrackConstraints ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clone_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < MediaStreamTrack as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clone()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/clone)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn clone ( & self , ) -> MediaStreamTrack { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clone_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaStreamTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clone_MediaStreamTrack ( self_ ) } ; < MediaStreamTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clone()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/clone)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn clone ( & self , ) -> MediaStreamTrack { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_constraints_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < MediaTrackConstraints as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getConstraints()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaTrackConstraints`*" ] pub fn get_constraints ( & self , ) -> MediaTrackConstraints { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_constraints_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaTrackConstraints as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_constraints_MediaStreamTrack ( self_ ) } ; < MediaTrackConstraints as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getConstraints()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaTrackConstraints`*" ] pub fn get_constraints ( & self , ) -> MediaTrackConstraints { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_settings_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < MediaTrackSettings as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getSettings()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaTrackSettings`*" ] pub fn get_settings ( & self , ) -> MediaTrackSettings { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_settings_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaTrackSettings as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_settings_MediaStreamTrack ( self_ ) } ; < MediaTrackSettings as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getSettings()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaTrackSettings`*" ] pub fn get_settings ( & self , ) -> MediaTrackSettings { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/stop)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn stop ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stop_MediaStreamTrack ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/stop)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn stop ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kind_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/kind)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn kind ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kind_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kind_MediaStreamTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/kind)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn kind ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/id)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_MediaStreamTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/id)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_label_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/label)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn label ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_label_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_label_MediaStreamTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/label)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn label ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_enabled_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/enabled)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn enabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_enabled_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_enabled_MediaStreamTrack ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/enabled)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn enabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_enabled_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/enabled)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn set_enabled ( & self , enabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_enabled_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , enabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let enabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( enabled , & mut __stack ) ; __widl_f_set_enabled_MediaStreamTrack ( self_ , enabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/enabled)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn set_enabled ( & self , enabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_muted_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `muted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/muted)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn muted ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_muted_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_muted_MediaStreamTrack ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `muted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/muted)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn muted ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmute_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmute` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onmute)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn onmute ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmute_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmute_MediaStreamTrack ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmute` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onmute)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn onmute ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmute_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmute` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onmute)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn set_onmute ( & self , onmute : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmute_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmute : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmute = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmute , & mut __stack ) ; __widl_f_set_onmute_MediaStreamTrack ( self_ , onmute ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmute` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onmute)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn set_onmute ( & self , onmute : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onunmute_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onunmute` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onunmute)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn onunmute ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onunmute_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onunmute_MediaStreamTrack ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onunmute` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onunmute)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn onunmute ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onunmute_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onunmute` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onunmute)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn set_onunmute ( & self , onunmute : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onunmute_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onunmute : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onunmute = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onunmute , & mut __stack ) ; __widl_f_set_onunmute_MediaStreamTrack ( self_ , onunmute ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onunmute` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onunmute)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn set_onunmute ( & self , onunmute : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_state_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < MediaStreamTrackState as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/readyState)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaStreamTrackState`*" ] pub fn ready_state ( & self , ) -> MediaStreamTrackState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_state_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaStreamTrackState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_state_MediaStreamTrack ( self_ ) } ; < MediaStreamTrackState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/readyState)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaStreamTrackState`*" ] pub fn ready_state ( & self , ) -> MediaStreamTrackState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onended_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onended)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onended_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onended_MediaStreamTrack ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onended)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onended_MediaStreamTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onended)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onended_MediaStreamTrack ( self_ : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onended : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onended = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onended , & mut __stack ) ; __widl_f_set_onended_MediaStreamTrack ( self_ , onended ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onended)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MediaStreamTrackEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackEvent)\n\n*This API requires the following crate features to be activated: `MediaStreamTrackEvent`*" ] # [ repr ( transparent ) ] pub struct MediaStreamTrackEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MediaStreamTrackEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MediaStreamTrackEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MediaStreamTrackEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MediaStreamTrackEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MediaStreamTrackEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MediaStreamTrackEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MediaStreamTrackEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MediaStreamTrackEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MediaStreamTrackEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MediaStreamTrackEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MediaStreamTrackEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MediaStreamTrackEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MediaStreamTrackEvent { # [ inline ] fn from ( obj : JsValue ) -> MediaStreamTrackEvent { MediaStreamTrackEvent { obj } } } impl AsRef < JsValue > for MediaStreamTrackEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MediaStreamTrackEvent > for JsValue { # [ inline ] fn from ( obj : MediaStreamTrackEvent ) -> JsValue { obj . obj } } impl JsCast for MediaStreamTrackEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MediaStreamTrackEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MediaStreamTrackEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaStreamTrackEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaStreamTrackEvent ) } } } ( ) } ; impl core :: ops :: Deref for MediaStreamTrackEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < MediaStreamTrackEvent > for Event { # [ inline ] fn from ( obj : MediaStreamTrackEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for MediaStreamTrackEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MediaStreamTrackEvent > for Object { # [ inline ] fn from ( obj : MediaStreamTrackEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MediaStreamTrackEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MediaStreamTrackEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & MediaStreamTrackEventInit as WasmDescribe > :: describe ( ) ; < MediaStreamTrackEvent as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrackEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MediaStreamTrackEvent(..)` constructor, creating a new instance of `MediaStreamTrackEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackEvent/MediaStreamTrackEvent)\n\n*This API requires the following crate features to be activated: `MediaStreamTrackEvent`, `MediaStreamTrackEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & MediaStreamTrackEventInit ) -> Result < MediaStreamTrackEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MediaStreamTrackEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & MediaStreamTrackEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaStreamTrackEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & MediaStreamTrackEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_MediaStreamTrackEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaStreamTrackEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MediaStreamTrackEvent(..)` constructor, creating a new instance of `MediaStreamTrackEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackEvent/MediaStreamTrackEvent)\n\n*This API requires the following crate features to be activated: `MediaStreamTrackEvent`, `MediaStreamTrackEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & MediaStreamTrackEventInit ) -> Result < MediaStreamTrackEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_track_MediaStreamTrackEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaStreamTrackEvent as WasmDescribe > :: describe ( ) ; < MediaStreamTrack as WasmDescribe > :: describe ( ) ; } impl MediaStreamTrackEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackEvent/track)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaStreamTrackEvent`*" ] pub fn track ( & self , ) -> MediaStreamTrack { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_track_MediaStreamTrackEvent ( self_ : < & MediaStreamTrackEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaStreamTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MediaStreamTrackEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_track_MediaStreamTrackEvent ( self_ ) } ; < MediaStreamTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackEvent/track)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `MediaStreamTrackEvent`*" ] pub fn track ( & self , ) -> MediaStreamTrack { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MessageChannel` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel)\n\n*This API requires the following crate features to be activated: `MessageChannel`*" ] # [ repr ( transparent ) ] pub struct MessageChannel { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MessageChannel : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MessageChannel { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MessageChannel { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MessageChannel { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MessageChannel { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MessageChannel { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MessageChannel { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MessageChannel { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MessageChannel { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MessageChannel { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MessageChannel > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MessageChannel { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MessageChannel { # [ inline ] fn from ( obj : JsValue ) -> MessageChannel { MessageChannel { obj } } } impl AsRef < JsValue > for MessageChannel { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MessageChannel > for JsValue { # [ inline ] fn from ( obj : MessageChannel ) -> JsValue { obj . obj } } impl JsCast for MessageChannel { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MessageChannel ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MessageChannel ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MessageChannel { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MessageChannel ) } } } ( ) } ; impl core :: ops :: Deref for MessageChannel { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MessageChannel > for Object { # [ inline ] fn from ( obj : MessageChannel ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MessageChannel { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MessageChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < MessageChannel as WasmDescribe > :: describe ( ) ; } impl MessageChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MessageChannel(..)` constructor, creating a new instance of `MessageChannel`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel/MessageChannel)\n\n*This API requires the following crate features to be activated: `MessageChannel`*" ] pub fn new ( ) -> Result < MessageChannel , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MessageChannel ( exn_data_ptr : * mut u32 ) -> < MessageChannel as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_MessageChannel ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MessageChannel as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MessageChannel(..)` constructor, creating a new instance of `MessageChannel`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel/MessageChannel)\n\n*This API requires the following crate features to be activated: `MessageChannel`*" ] pub fn new ( ) -> Result < MessageChannel , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_port1_MessageChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MessageChannel as WasmDescribe > :: describe ( ) ; < MessagePort as WasmDescribe > :: describe ( ) ; } impl MessageChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `port1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel/port1)\n\n*This API requires the following crate features to be activated: `MessageChannel`, `MessagePort`*" ] pub fn port1 ( & self , ) -> MessagePort { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_port1_MessageChannel ( self_ : < & MessageChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MessagePort as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_port1_MessageChannel ( self_ ) } ; < MessagePort as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `port1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel/port1)\n\n*This API requires the following crate features to be activated: `MessageChannel`, `MessagePort`*" ] pub fn port1 ( & self , ) -> MessagePort { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_port2_MessageChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MessageChannel as WasmDescribe > :: describe ( ) ; < MessagePort as WasmDescribe > :: describe ( ) ; } impl MessageChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `port2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel/port2)\n\n*This API requires the following crate features to be activated: `MessageChannel`, `MessagePort`*" ] pub fn port2 ( & self , ) -> MessagePort { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_port2_MessageChannel ( self_ : < & MessageChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MessagePort as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_port2_MessageChannel ( self_ ) } ; < MessagePort as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `port2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel/port2)\n\n*This API requires the following crate features to be activated: `MessageChannel`, `MessagePort`*" ] pub fn port2 ( & self , ) -> MessagePort { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MessageEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] # [ repr ( transparent ) ] pub struct MessageEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MessageEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MessageEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MessageEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MessageEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MessageEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MessageEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MessageEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MessageEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MessageEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MessageEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MessageEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MessageEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MessageEvent { # [ inline ] fn from ( obj : JsValue ) -> MessageEvent { MessageEvent { obj } } } impl AsRef < JsValue > for MessageEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MessageEvent > for JsValue { # [ inline ] fn from ( obj : MessageEvent ) -> JsValue { obj . obj } } impl JsCast for MessageEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MessageEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MessageEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MessageEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MessageEvent ) } } } ( ) } ; impl core :: ops :: Deref for MessageEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < MessageEvent > for Event { # [ inline ] fn from ( obj : MessageEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for MessageEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MessageEvent > for Object { # [ inline ] fn from ( obj : MessageEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MessageEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < MessageEvent as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MessageEvent(..)` constructor, creating a new instance of `MessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/MessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn new ( type_ : & str ) -> Result < MessageEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MessageEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_MessageEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MessageEvent(..)` constructor, creating a new instance of `MessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/MessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn new ( type_ : & str ) -> Result < MessageEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & MessageEventInit as WasmDescribe > :: describe ( ) ; < MessageEvent as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MessageEvent(..)` constructor, creating a new instance of `MessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/MessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`, `MessageEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & MessageEventInit ) -> Result < MessageEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_MessageEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & MessageEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & MessageEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_MessageEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MessageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MessageEvent(..)` constructor, creating a new instance of `MessageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/MessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`, `MessageEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & MessageEventInit ) -> Result < MessageEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_message_event_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MessageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn init_message_event ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_message_event_MessageEvent ( self_ : < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_init_message_event_MessageEvent ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn init_message_event ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_message_event_with_bubbles_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & MessageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn init_message_event_with_bubbles ( & self , type_ : & str , bubbles : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_message_event_with_bubbles_MessageEvent ( self_ : < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let bubbles = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles , & mut __stack ) ; __widl_f_init_message_event_with_bubbles_MessageEvent ( self_ , type_ , bubbles ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn init_message_event_with_bubbles ( & self , type_ : & str , bubbles : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_message_event_with_bubbles_and_cancelable_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & MessageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn init_message_event_with_bubbles_and_cancelable ( & self , type_ : & str , bubbles : bool , cancelable : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_message_event_with_bubbles_and_cancelable_MessageEvent ( self_ : < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let bubbles = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; __widl_f_init_message_event_with_bubbles_and_cancelable_MessageEvent ( self_ , type_ , bubbles , cancelable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn init_message_event_with_bubbles_and_cancelable ( & self , type_ : & str , bubbles : bool , cancelable : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_message_event_with_bubbles_and_cancelable_and_data_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & MessageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn init_message_event_with_bubbles_and_cancelable_and_data ( & self , type_ : & str , bubbles : bool , cancelable : bool , data : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_message_event_with_bubbles_and_cancelable_and_data_MessageEvent ( self_ : < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let bubbles = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let data = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_init_message_event_with_bubbles_and_cancelable_and_data_MessageEvent ( self_ , type_ , bubbles , cancelable , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn init_message_event_with_bubbles_and_cancelable_and_data ( & self , type_ : & str , bubbles : bool , cancelable : bool , data : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & MessageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin ( & self , type_ : & str , bubbles : bool , cancelable : bool , data : & :: wasm_bindgen :: JsValue , origin : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_MessageEvent ( self_ : < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let bubbles = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let data = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let origin = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin , & mut __stack ) ; __widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_MessageEvent ( self_ , type_ , bubbles , cancelable , data , origin ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin ( & self , type_ : & str , bubbles : bool , cancelable : bool , data : & :: wasm_bindgen :: JsValue , origin : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & MessageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id ( & self , type_ : & str , bubbles : bool , cancelable : bool , data : & :: wasm_bindgen :: JsValue , origin : & str , last_event_id : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_MessageEvent ( self_ : < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , last_event_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let bubbles = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let data = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let origin = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin , & mut __stack ) ; let last_event_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( last_event_id , & mut __stack ) ; __widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_MessageEvent ( self_ , type_ , bubbles , cancelable , data , origin , last_event_id ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id ( & self , type_ : & str , bubbles : bool , cancelable : bool , data : & :: wasm_bindgen :: JsValue , origin : & str , last_event_id : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_window_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & MessageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`, `Window`*" ] pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_window ( & self , type_ : & str , bubbles : bool , cancelable : bool , data : & :: wasm_bindgen :: JsValue , origin : & str , last_event_id : & str , source : Option < & Window > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_window_MessageEvent ( self_ : < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , last_event_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let bubbles = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let data = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let origin = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin , & mut __stack ) ; let last_event_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( last_event_id , & mut __stack ) ; let source = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_window_MessageEvent ( self_ , type_ , bubbles , cancelable , data , origin , last_event_id , source ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`, `Window`*" ] pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_window ( & self , type_ : & str , bubbles : bool , cancelable : bool , data : & :: wasm_bindgen :: JsValue , origin : & str , last_event_id : & str , source : Option < & Window > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_message_port_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & MessageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & MessagePort > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`, `MessagePort`*" ] pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_message_port ( & self , type_ : & str , bubbles : bool , cancelable : bool , data : & :: wasm_bindgen :: JsValue , origin : & str , last_event_id : & str , source : Option < & MessagePort > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_message_port_MessageEvent ( self_ : < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , last_event_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < Option < & MessagePort > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let bubbles = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let data = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let origin = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin , & mut __stack ) ; let last_event_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( last_event_id , & mut __stack ) ; let source = < Option < & MessagePort > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_message_port_MessageEvent ( self_ , type_ , bubbles , cancelable , data , origin , last_event_id , source ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`, `MessagePort`*" ] pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_message_port ( & self , type_ : & str , bubbles : bool , cancelable : bool , data : & :: wasm_bindgen :: JsValue , origin : & str , last_event_id : & str , source : Option < & MessagePort > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_service_worker_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & MessageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & ServiceWorker > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`, `ServiceWorker`*" ] pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_service_worker ( & self , type_ : & str , bubbles : bool , cancelable : bool , data : & :: wasm_bindgen :: JsValue , origin : & str , last_event_id : & str , source : Option < & ServiceWorker > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_service_worker_MessageEvent ( self_ : < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bubbles : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , origin : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , last_event_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < Option < & ServiceWorker > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let bubbles = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bubbles , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let data = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let origin = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( origin , & mut __stack ) ; let last_event_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( last_event_id , & mut __stack ) ; let source = < Option < & ServiceWorker > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_service_worker_MessageEvent ( self_ , type_ , bubbles , cancelable , data , origin , last_event_id , source ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMessageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/initMessageEvent)\n\n*This API requires the following crate features to be activated: `MessageEvent`, `ServiceWorker`*" ] pub fn init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_service_worker ( & self , type_ : & str , bubbles : bool , cancelable : bool , data : & :: wasm_bindgen :: JsValue , origin : & str , last_event_id : & str , source : Option < & ServiceWorker > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_data_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MessageEvent as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/data)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn data ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_data_MessageEvent ( self_ : < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_data_MessageEvent ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/data)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn data ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_origin_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MessageEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/origin)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn origin ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_origin_MessageEvent ( self_ : < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_origin_MessageEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/origin)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn origin ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_last_event_id_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MessageEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lastEventId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/lastEventId)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn last_event_id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_last_event_id_MessageEvent ( self_ : < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_last_event_id_MessageEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lastEventId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/lastEventId)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn last_event_id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_source_MessageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MessageEvent as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl MessageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `source` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/source)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn source ( & self , ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_source_MessageEvent ( self_ : < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_source_MessageEvent ( self_ ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `source` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/source)\n\n*This API requires the following crate features to be activated: `MessageEvent`*" ] pub fn source ( & self , ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MessagePort` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] # [ repr ( transparent ) ] pub struct MessagePort { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MessagePort : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MessagePort { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MessagePort { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MessagePort { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MessagePort { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MessagePort { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MessagePort { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MessagePort { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MessagePort { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MessagePort { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MessagePort > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MessagePort { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MessagePort { # [ inline ] fn from ( obj : JsValue ) -> MessagePort { MessagePort { obj } } } impl AsRef < JsValue > for MessagePort { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MessagePort > for JsValue { # [ inline ] fn from ( obj : MessagePort ) -> JsValue { obj . obj } } impl JsCast for MessagePort { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MessagePort ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MessagePort ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MessagePort { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MessagePort ) } } } ( ) } ; impl core :: ops :: Deref for MessagePort { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < MessagePort > for EventTarget { # [ inline ] fn from ( obj : MessagePort ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for MessagePort { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MessagePort > for Object { # [ inline ] fn from ( obj : MessagePort ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MessagePort { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_MessagePort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MessagePort as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessagePort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/close)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_MessagePort ( self_ : < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_MessagePort ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/close)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_post_message_MessagePort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MessagePort as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessagePort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/postMessage)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_post_message_MessagePort ( self_ : < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let message = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; __widl_f_post_message_MessagePort ( self_ , message , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/postMessage)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_MessagePort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MessagePort as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessagePort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/start)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn start ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_MessagePort ( self_ : < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_MessagePort ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/start)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn start ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_MessagePort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MessagePort as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MessagePort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessage)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_MessagePort ( self_ : < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_MessagePort ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessage)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_MessagePort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MessagePort as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessagePort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessage)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_MessagePort ( self_ : < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_MessagePort ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessage)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessageerror_MessagePort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MessagePort as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl MessagePort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessageerror)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessageerror_MessagePort ( self_ : < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessageerror_MessagePort ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessageerror)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessageerror_MessagePort ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MessagePort as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MessagePort { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessageerror)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessageerror_MessagePort ( self_ : < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessageerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MessagePort as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessageerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessageerror , & mut __stack ) ; __widl_f_set_onmessageerror_MessagePort ( self_ , onmessageerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessageerror)\n\n*This API requires the following crate features to be activated: `MessagePort`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MimeType` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType)\n\n*This API requires the following crate features to be activated: `MimeType`*" ] # [ repr ( transparent ) ] pub struct MimeType { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MimeType : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MimeType { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MimeType { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MimeType { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MimeType { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MimeType { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MimeType { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MimeType { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MimeType { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MimeType { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MimeType > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MimeType { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MimeType { # [ inline ] fn from ( obj : JsValue ) -> MimeType { MimeType { obj } } } impl AsRef < JsValue > for MimeType { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MimeType > for JsValue { # [ inline ] fn from ( obj : MimeType ) -> JsValue { obj . obj } } impl JsCast for MimeType { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MimeType ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MimeType ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MimeType { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MimeType ) } } } ( ) } ; impl core :: ops :: Deref for MimeType { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MimeType > for Object { # [ inline ] fn from ( obj : MimeType ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MimeType { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_description_MimeType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MimeType as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MimeType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `description` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType/description)\n\n*This API requires the following crate features to be activated: `MimeType`*" ] pub fn description ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_description_MimeType ( self_ : < & MimeType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MimeType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_description_MimeType ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `description` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType/description)\n\n*This API requires the following crate features to be activated: `MimeType`*" ] pub fn description ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_enabled_plugin_MimeType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MimeType as WasmDescribe > :: describe ( ) ; < Option < Plugin > as WasmDescribe > :: describe ( ) ; } impl MimeType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enabledPlugin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType/enabledPlugin)\n\n*This API requires the following crate features to be activated: `MimeType`, `Plugin`*" ] pub fn enabled_plugin ( & self , ) -> Option < Plugin > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_enabled_plugin_MimeType ( self_ : < & MimeType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Plugin > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MimeType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_enabled_plugin_MimeType ( self_ ) } ; < Option < Plugin > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enabledPlugin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType/enabledPlugin)\n\n*This API requires the following crate features to be activated: `MimeType`, `Plugin`*" ] pub fn enabled_plugin ( & self , ) -> Option < Plugin > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_suffixes_MimeType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MimeType as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MimeType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `suffixes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType/suffixes)\n\n*This API requires the following crate features to be activated: `MimeType`*" ] pub fn suffixes ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_suffixes_MimeType ( self_ : < & MimeType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MimeType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_suffixes_MimeType ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `suffixes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType/suffixes)\n\n*This API requires the following crate features to be activated: `MimeType`*" ] pub fn suffixes ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_MimeType ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MimeType as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MimeType { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType/type)\n\n*This API requires the following crate features to be activated: `MimeType`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_MimeType ( self_ : < & MimeType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MimeType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_MimeType ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeType/type)\n\n*This API requires the following crate features to be activated: `MimeType`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MimeTypeArray` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeTypeArray)\n\n*This API requires the following crate features to be activated: `MimeTypeArray`*" ] # [ repr ( transparent ) ] pub struct MimeTypeArray { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MimeTypeArray : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MimeTypeArray { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MimeTypeArray { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MimeTypeArray { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MimeTypeArray { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MimeTypeArray { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MimeTypeArray { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MimeTypeArray { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MimeTypeArray { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MimeTypeArray { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MimeTypeArray > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MimeTypeArray { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MimeTypeArray { # [ inline ] fn from ( obj : JsValue ) -> MimeTypeArray { MimeTypeArray { obj } } } impl AsRef < JsValue > for MimeTypeArray { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MimeTypeArray > for JsValue { # [ inline ] fn from ( obj : MimeTypeArray ) -> JsValue { obj . obj } } impl JsCast for MimeTypeArray { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MimeTypeArray ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MimeTypeArray ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MimeTypeArray { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MimeTypeArray ) } } } ( ) } ; impl core :: ops :: Deref for MimeTypeArray { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MimeTypeArray > for Object { # [ inline ] fn from ( obj : MimeTypeArray ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MimeTypeArray { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_MimeTypeArray ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MimeTypeArray as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < MimeType > as WasmDescribe > :: describe ( ) ; } impl MimeTypeArray { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeTypeArray/item)\n\n*This API requires the following crate features to be activated: `MimeType`, `MimeTypeArray`*" ] pub fn item ( & self , index : u32 ) -> Option < MimeType > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_MimeTypeArray ( self_ : < & MimeTypeArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MimeTypeArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_MimeTypeArray ( self_ , index ) } ; < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeTypeArray/item)\n\n*This API requires the following crate features to be activated: `MimeType`, `MimeTypeArray`*" ] pub fn item ( & self , index : u32 ) -> Option < MimeType > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_named_item_MimeTypeArray ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MimeTypeArray as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < MimeType > as WasmDescribe > :: describe ( ) ; } impl MimeTypeArray { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeTypeArray/namedItem)\n\n*This API requires the following crate features to be activated: `MimeType`, `MimeTypeArray`*" ] pub fn named_item ( & self , name : & str ) -> Option < MimeType > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_named_item_MimeTypeArray ( self_ : < & MimeTypeArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MimeTypeArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_named_item_MimeTypeArray ( self_ , name ) } ; < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeTypeArray/namedItem)\n\n*This API requires the following crate features to be activated: `MimeType`, `MimeTypeArray`*" ] pub fn named_item ( & self , name : & str ) -> Option < MimeType > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_index_MimeTypeArray ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MimeTypeArray as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < MimeType > as WasmDescribe > :: describe ( ) ; } impl MimeTypeArray { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `MimeType`, `MimeTypeArray`*" ] pub fn get_with_index ( & self , index : u32 ) -> Option < MimeType > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_index_MimeTypeArray ( self_ : < & MimeTypeArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MimeTypeArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_with_index_MimeTypeArray ( self_ , index ) } ; < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `MimeType`, `MimeTypeArray`*" ] pub fn get_with_index ( & self , index : u32 ) -> Option < MimeType > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_name_MimeTypeArray ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MimeTypeArray as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < MimeType > as WasmDescribe > :: describe ( ) ; } impl MimeTypeArray { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `MimeType`, `MimeTypeArray`*" ] pub fn get_with_name ( & self , name : & str ) -> Option < MimeType > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_name_MimeTypeArray ( self_ : < & MimeTypeArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MimeTypeArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_with_name_MimeTypeArray ( self_ , name ) } ; < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `MimeType`, `MimeTypeArray`*" ] pub fn get_with_name ( & self , name : & str ) -> Option < MimeType > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_MimeTypeArray ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MimeTypeArray as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl MimeTypeArray { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeTypeArray/length)\n\n*This API requires the following crate features to be activated: `MimeTypeArray`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_MimeTypeArray ( self_ : < & MimeTypeArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MimeTypeArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_MimeTypeArray ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MimeTypeArray/length)\n\n*This API requires the following crate features to be activated: `MimeTypeArray`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MouseEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] # [ repr ( transparent ) ] pub struct MouseEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MouseEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MouseEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MouseEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MouseEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MouseEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MouseEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MouseEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MouseEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MouseEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MouseEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MouseEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MouseEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MouseEvent { # [ inline ] fn from ( obj : JsValue ) -> MouseEvent { MouseEvent { obj } } } impl AsRef < JsValue > for MouseEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MouseEvent > for JsValue { # [ inline ] fn from ( obj : MouseEvent ) -> JsValue { obj . obj } } impl JsCast for MouseEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MouseEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MouseEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MouseEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MouseEvent ) } } } ( ) } ; impl core :: ops :: Deref for MouseEvent { type Target = UiEvent ; # [ inline ] fn deref ( & self ) -> & UiEvent { self . as_ref ( ) } } impl From < MouseEvent > for UiEvent { # [ inline ] fn from ( obj : MouseEvent ) -> UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < UiEvent > for MouseEvent { # [ inline ] fn as_ref ( & self ) -> & UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MouseEvent > for Event { # [ inline ] fn from ( obj : MouseEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for MouseEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MouseEvent > for Object { # [ inline ] fn from ( obj : MouseEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MouseEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < MouseEvent as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MouseEvent(..)` constructor, creating a new instance of `MouseEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/MouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn new ( type_arg : & str ) -> Result < MouseEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MouseEvent ( type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MouseEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; __widl_f_new_MouseEvent ( type_arg , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MouseEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MouseEvent(..)` constructor, creating a new instance of `MouseEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/MouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn new ( type_arg : & str ) -> Result < MouseEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_mouse_event_init_dict_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & MouseEventInit as WasmDescribe > :: describe ( ) ; < MouseEvent as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MouseEvent(..)` constructor, creating a new instance of `MouseEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/MouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `MouseEventInit`*" ] pub fn new_with_mouse_event_init_dict ( type_arg : & str , mouse_event_init_dict : & MouseEventInit ) -> Result < MouseEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_mouse_event_init_dict_MouseEvent ( type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mouse_event_init_dict : < & MouseEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MouseEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let mouse_event_init_dict = < & MouseEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mouse_event_init_dict , & mut __stack ) ; __widl_f_new_with_mouse_event_init_dict_MouseEvent ( type_arg , mouse_event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MouseEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MouseEvent(..)` constructor, creating a new instance of `MouseEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/MouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `MouseEventInit`*" ] pub fn new_with_mouse_event_init_dict ( type_arg : & str , mouse_event_init_dict : & MouseEventInit ) -> Result < MouseEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_modifier_state_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getModifierState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/getModifierState)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn get_modifier_state ( & self , key_arg : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_modifier_state_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key_arg , & mut __stack ) ; __widl_f_get_modifier_state_MouseEvent ( self_ , key_arg ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getModifierState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/getModifierState)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn get_modifier_state ( & self , key_arg : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn init_mouse_event ( & self , type_arg : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; __widl_f_init_mouse_event_MouseEvent ( self_ , type_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn init_mouse_event ( & self , type_arg : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn init_mouse_event_with_can_bubble_arg ( & self , type_arg : & str , can_bubble_arg : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_MouseEvent ( self_ , type_arg , can_bubble_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn init_mouse_event_with_can_bubble_arg ( & self , type_arg : & str , can_bubble_arg : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_MouseEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_MouseEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let detail_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_MouseEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg , detail_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let detail_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail_arg , & mut __stack ) ; let screen_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_MouseEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg , detail_arg , screen_x_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let detail_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail_arg , & mut __stack ) ; let screen_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x_arg , & mut __stack ) ; let screen_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_MouseEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg , detail_arg , screen_x_arg , screen_y_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let detail_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail_arg , & mut __stack ) ; let screen_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x_arg , & mut __stack ) ; let screen_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y_arg , & mut __stack ) ; let client_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_MouseEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg , detail_arg , screen_x_arg , screen_y_arg , client_x_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let detail_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail_arg , & mut __stack ) ; let screen_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x_arg , & mut __stack ) ; let screen_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y_arg , & mut __stack ) ; let client_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x_arg , & mut __stack ) ; let client_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_MouseEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg , detail_arg , screen_x_arg , screen_y_arg , client_x_arg , client_y_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 , ctrl_key_arg : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let detail_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail_arg , & mut __stack ) ; let screen_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x_arg , & mut __stack ) ; let screen_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y_arg , & mut __stack ) ; let client_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x_arg , & mut __stack ) ; let client_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y_arg , & mut __stack ) ; let ctrl_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_MouseEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg , detail_arg , screen_x_arg , screen_y_arg , client_x_arg , client_y_arg , ctrl_key_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 , ctrl_key_arg : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 , ctrl_key_arg : bool , alt_key_arg : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let detail_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail_arg , & mut __stack ) ; let screen_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x_arg , & mut __stack ) ; let screen_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y_arg , & mut __stack ) ; let client_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x_arg , & mut __stack ) ; let client_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y_arg , & mut __stack ) ; let ctrl_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key_arg , & mut __stack ) ; let alt_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_MouseEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg , detail_arg , screen_x_arg , screen_y_arg , client_x_arg , client_y_arg , ctrl_key_arg , alt_key_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 , ctrl_key_arg : bool , alt_key_arg : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 13u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 , ctrl_key_arg : bool , alt_key_arg : bool , shift_key_arg : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let detail_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail_arg , & mut __stack ) ; let screen_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x_arg , & mut __stack ) ; let screen_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y_arg , & mut __stack ) ; let client_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x_arg , & mut __stack ) ; let client_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y_arg , & mut __stack ) ; let ctrl_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key_arg , & mut __stack ) ; let alt_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key_arg , & mut __stack ) ; let shift_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_MouseEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg , detail_arg , screen_x_arg , screen_y_arg , client_x_arg , client_y_arg , ctrl_key_arg , alt_key_arg , shift_key_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 , ctrl_key_arg : bool , alt_key_arg : bool , shift_key_arg : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 14u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 , ctrl_key_arg : bool , alt_key_arg : bool , shift_key_arg : bool , meta_key_arg : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let detail_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail_arg , & mut __stack ) ; let screen_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x_arg , & mut __stack ) ; let screen_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y_arg , & mut __stack ) ; let client_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x_arg , & mut __stack ) ; let client_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y_arg , & mut __stack ) ; let ctrl_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key_arg , & mut __stack ) ; let alt_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key_arg , & mut __stack ) ; let shift_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key_arg , & mut __stack ) ; let meta_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_MouseEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg , detail_arg , screen_x_arg , screen_y_arg , client_x_arg , client_y_arg , ctrl_key_arg , alt_key_arg , shift_key_arg , meta_key_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 , ctrl_key_arg : bool , alt_key_arg : bool , shift_key_arg : bool , meta_key_arg : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 15u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < i16 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 , ctrl_key_arg : bool , alt_key_arg : bool , shift_key_arg : bool , meta_key_arg : bool , button_arg : i16 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , button_arg : < i16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let detail_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail_arg , & mut __stack ) ; let screen_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x_arg , & mut __stack ) ; let screen_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y_arg , & mut __stack ) ; let client_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x_arg , & mut __stack ) ; let client_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y_arg , & mut __stack ) ; let ctrl_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key_arg , & mut __stack ) ; let alt_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key_arg , & mut __stack ) ; let shift_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key_arg , & mut __stack ) ; let meta_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key_arg , & mut __stack ) ; let button_arg = < i16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( button_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg_MouseEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg , detail_arg , screen_x_arg , screen_y_arg , client_x_arg , client_y_arg , ctrl_key_arg , alt_key_arg , shift_key_arg , meta_key_arg , button_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 , ctrl_key_arg : bool , alt_key_arg : bool , shift_key_arg : bool , meta_key_arg : bool , button_arg : i16 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg_and_related_target_arg_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 16u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < i16 as WasmDescribe > :: describe ( ) ; < Option < & EventTarget > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `EventTarget`, `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg_and_related_target_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 , ctrl_key_arg : bool , alt_key_arg : bool , shift_key_arg : bool , meta_key_arg : bool , button_arg : i16 , related_target_arg : Option < & EventTarget > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg_and_related_target_arg_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_arg : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view_arg : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y_arg : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key_arg : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , button_arg : < i16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , related_target_arg : < Option < & EventTarget > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_arg = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_arg , & mut __stack ) ; let can_bubble_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble_arg , & mut __stack ) ; let cancelable_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable_arg , & mut __stack ) ; let view_arg = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view_arg , & mut __stack ) ; let detail_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail_arg , & mut __stack ) ; let screen_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x_arg , & mut __stack ) ; let screen_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y_arg , & mut __stack ) ; let client_x_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x_arg , & mut __stack ) ; let client_y_arg = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y_arg , & mut __stack ) ; let ctrl_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key_arg , & mut __stack ) ; let alt_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key_arg , & mut __stack ) ; let shift_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key_arg , & mut __stack ) ; let meta_key_arg = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key_arg , & mut __stack ) ; let button_arg = < i16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( button_arg , & mut __stack ) ; let related_target_arg = < Option < & EventTarget > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( related_target_arg , & mut __stack ) ; __widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg_and_related_target_arg_MouseEvent ( self_ , type_arg , can_bubble_arg , cancelable_arg , view_arg , detail_arg , screen_x_arg , screen_y_arg , client_x_arg , client_y_arg , ctrl_key_arg , alt_key_arg , shift_key_arg , meta_key_arg , button_arg , related_target_arg ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent)\n\n*This API requires the following crate features to be activated: `EventTarget`, `MouseEvent`, `Window`*" ] pub fn init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg_and_related_target_arg ( & self , type_arg : & str , can_bubble_arg : bool , cancelable_arg : bool , view_arg : Option < & Window > , detail_arg : i32 , screen_x_arg : i32 , screen_y_arg : i32 , client_x_arg : i32 , client_y_arg : i32 , ctrl_key_arg : bool , alt_key_arg : bool , shift_key_arg : bool , meta_key_arg : bool , button_arg : i16 , related_target_arg : Option < & EventTarget > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_screen_x_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `screenX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/screenX)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn screen_x ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_screen_x_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_screen_x_MouseEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `screenX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/screenX)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn screen_x ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_screen_y_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `screenY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/screenY)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn screen_y ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_screen_y_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_screen_y_MouseEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `screenY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/screenY)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn screen_y ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_client_x_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clientX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/clientX)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn client_x ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_client_x_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_client_x_MouseEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clientX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/clientX)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn client_x ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_client_y_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clientY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/clientY)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn client_y ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_client_y_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_client_y_MouseEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clientY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/clientY)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn client_y ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/x)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn x ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_MouseEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/x)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn x ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/y)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn y ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_MouseEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/y)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn y ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_offset_x_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `offsetX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/offsetX)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn offset_x ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_offset_x_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_offset_x_MouseEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `offsetX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/offsetX)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn offset_x ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_offset_y_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `offsetY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/offsetY)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn offset_y ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_offset_y_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_offset_y_MouseEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `offsetY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/offsetY)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn offset_y ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ctrl_key_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ctrlKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/ctrlKey)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn ctrl_key ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ctrl_key_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ctrl_key_MouseEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ctrlKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/ctrlKey)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn ctrl_key ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shift_key_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shiftKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/shiftKey)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn shift_key ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shift_key_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_shift_key_MouseEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shiftKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/shiftKey)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn shift_key ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_alt_key_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `altKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/altKey)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn alt_key ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_alt_key_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_alt_key_MouseEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `altKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/altKey)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn alt_key ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_meta_key_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `metaKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/metaKey)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn meta_key ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_meta_key_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_meta_key_MouseEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `metaKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/metaKey)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn meta_key ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_button_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < i16 as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `button` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn button ( & self , ) -> i16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_button_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_button_MouseEvent ( self_ ) } ; < i16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `button` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn button ( & self , ) -> i16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buttons_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `buttons` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn buttons ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buttons_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_buttons_MouseEvent ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `buttons` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn buttons ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_related_target_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < Option < EventTarget > as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `relatedTarget` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/relatedTarget)\n\n*This API requires the following crate features to be activated: `EventTarget`, `MouseEvent`*" ] pub fn related_target ( & self , ) -> Option < EventTarget > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_related_target_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < EventTarget > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_related_target_MouseEvent ( self_ ) } ; < Option < EventTarget > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `relatedTarget` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/relatedTarget)\n\n*This API requires the following crate features to be activated: `EventTarget`, `MouseEvent`*" ] pub fn related_target ( & self , ) -> Option < EventTarget > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_region_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `region` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/region)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn region ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_region_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_region_MouseEvent ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `region` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/region)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn region ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_movement_x_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `movementX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/movementX)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn movement_x ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_movement_x_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_movement_x_MouseEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `movementX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/movementX)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn movement_x ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_movement_y_MouseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl MouseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `movementY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/movementY)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn movement_y ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_movement_y_MouseEvent ( self_ : < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_movement_y_MouseEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `movementY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/movementY)\n\n*This API requires the following crate features to be activated: `MouseEvent`*" ] pub fn movement_y ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MouseScrollEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`*" ] # [ repr ( transparent ) ] pub struct MouseScrollEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MouseScrollEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MouseScrollEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MouseScrollEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MouseScrollEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MouseScrollEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MouseScrollEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MouseScrollEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MouseScrollEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MouseScrollEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MouseScrollEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MouseScrollEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MouseScrollEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MouseScrollEvent { # [ inline ] fn from ( obj : JsValue ) -> MouseScrollEvent { MouseScrollEvent { obj } } } impl AsRef < JsValue > for MouseScrollEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MouseScrollEvent > for JsValue { # [ inline ] fn from ( obj : MouseScrollEvent ) -> JsValue { obj . obj } } impl JsCast for MouseScrollEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MouseScrollEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MouseScrollEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MouseScrollEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MouseScrollEvent ) } } } ( ) } ; impl core :: ops :: Deref for MouseScrollEvent { type Target = MouseEvent ; # [ inline ] fn deref ( & self ) -> & MouseEvent { self . as_ref ( ) } } impl From < MouseScrollEvent > for MouseEvent { # [ inline ] fn from ( obj : MouseScrollEvent ) -> MouseEvent { use wasm_bindgen :: JsCast ; MouseEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < MouseEvent > for MouseScrollEvent { # [ inline ] fn as_ref ( & self ) -> & MouseEvent { use wasm_bindgen :: JsCast ; MouseEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MouseScrollEvent > for UiEvent { # [ inline ] fn from ( obj : MouseScrollEvent ) -> UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < UiEvent > for MouseScrollEvent { # [ inline ] fn as_ref ( & self ) -> & UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MouseScrollEvent > for Event { # [ inline ] fn from ( obj : MouseScrollEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for MouseScrollEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MouseScrollEvent > for Object { # [ inline ] fn from ( obj : MouseScrollEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MouseScrollEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`*" ] pub fn init_mouse_scroll_event ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_init_mouse_scroll_event_MouseScrollEvent ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`*" ] pub fn init_mouse_scroll_event ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`*" ] pub fn init_mouse_scroll_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_MouseScrollEvent ( self_ , type_ , can_bubble ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`*" ] pub fn init_mouse_scroll_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable , view ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable , view , detail ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable , view , detail , screen_x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x , & mut __stack ) ; let screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable , view , detail , screen_x , screen_y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x , & mut __stack ) ; let screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y , & mut __stack ) ; let client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable , view , detail , screen_x , screen_y , client_x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x , & mut __stack ) ; let screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y , & mut __stack ) ; let client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x , & mut __stack ) ; let client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable , view , detail , screen_x , screen_y , client_x , client_y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x , & mut __stack ) ; let screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y , & mut __stack ) ; let client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x , & mut __stack ) ; let client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable , view , detail , screen_x , screen_y , client_x , client_y , ctrl_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool , alt_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x , & mut __stack ) ; let screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y , & mut __stack ) ; let client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x , & mut __stack ) ; let client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable , view , detail , screen_x , screen_y , client_x , client_y , ctrl_key , alt_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool , alt_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 13u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x , & mut __stack ) ; let screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y , & mut __stack ) ; let client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x , & mut __stack ) ; let client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable , view , detail , screen_x , screen_y , client_x , client_y , ctrl_key , alt_key , shift_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 14u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x , & mut __stack ) ; let screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y , & mut __stack ) ; let client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x , & mut __stack ) ; let client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; let meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable , view , detail , screen_x , screen_y , client_x , client_y , ctrl_key , alt_key , shift_key , meta_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 15u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < i16 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , button : i16 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , button : < i16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x , & mut __stack ) ; let screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y , & mut __stack ) ; let client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x , & mut __stack ) ; let client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; let meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key , & mut __stack ) ; let button = < i16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( button , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable , view , detail , screen_x , screen_y , client_x , client_y , ctrl_key , alt_key , shift_key , meta_key , button ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , button : i16 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 16u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < i16 as WasmDescribe > :: describe ( ) ; < Option < & EventTarget > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `EventTarget`, `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , button : i16 , related_target : Option < & EventTarget > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , button : < i16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , related_target : < Option < & EventTarget > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x , & mut __stack ) ; let screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y , & mut __stack ) ; let client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x , & mut __stack ) ; let client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; let meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key , & mut __stack ) ; let button = < i16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( button , & mut __stack ) ; let related_target = < Option < & EventTarget > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( related_target , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable , view , detail , screen_x , screen_y , client_x , client_y , ctrl_key , alt_key , shift_key , meta_key , button , related_target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `EventTarget`, `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , button : i16 , related_target : Option < & EventTarget > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target_and_axis_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 17u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < i16 as WasmDescribe > :: describe ( ) ; < Option < & EventTarget > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `EventTarget`, `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target_and_axis ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , button : i16 , related_target : Option < & EventTarget > , axis : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target_and_axis_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , client_y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , button : < i16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , related_target : < Option < & EventTarget > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , axis : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let screen_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x , & mut __stack ) ; let screen_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y , & mut __stack ) ; let client_x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_x , & mut __stack ) ; let client_y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( client_y , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; let meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key , & mut __stack ) ; let button = < i16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( button , & mut __stack ) ; let related_target = < Option < & EventTarget > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( related_target , & mut __stack ) ; let axis = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( axis , & mut __stack ) ; __widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target_and_axis_MouseScrollEvent ( self_ , type_ , can_bubble , cancelable , view , detail , screen_x , screen_y , client_x , client_y , ctrl_key , alt_key , shift_key , meta_key , button , related_target , axis ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMouseScrollEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/initMouseScrollEvent)\n\n*This API requires the following crate features to be activated: `EventTarget`, `MouseScrollEvent`, `Window`*" ] pub fn init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target_and_axis ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , screen_x : i32 , screen_y : i32 , client_x : i32 , client_y : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , button : i16 , related_target : Option < & EventTarget > , axis : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_axis_MouseScrollEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MouseScrollEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl MouseScrollEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `axis` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/axis)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`*" ] pub fn axis ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_axis_MouseScrollEvent ( self_ : < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MouseScrollEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_axis_MouseScrollEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `axis` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MouseScrollEvent/axis)\n\n*This API requires the following crate features to be activated: `MouseScrollEvent`*" ] pub fn axis ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MutationEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] # [ repr ( transparent ) ] pub struct MutationEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MutationEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MutationEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MutationEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MutationEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MutationEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MutationEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MutationEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MutationEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MutationEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MutationEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MutationEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MutationEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MutationEvent { # [ inline ] fn from ( obj : JsValue ) -> MutationEvent { MutationEvent { obj } } } impl AsRef < JsValue > for MutationEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MutationEvent > for JsValue { # [ inline ] fn from ( obj : MutationEvent ) -> JsValue { obj . obj } } impl JsCast for MutationEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MutationEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MutationEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MutationEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MutationEvent ) } } } ( ) } ; impl core :: ops :: Deref for MutationEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < MutationEvent > for Event { # [ inline ] fn from ( obj : MutationEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for MutationEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < MutationEvent > for Object { # [ inline ] fn from ( obj : MutationEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MutationEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mutation_event_MutationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MutationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MutationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn init_mutation_event ( & self , type_ : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mutation_event_MutationEvent ( self_ : < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_init_mutation_event_MutationEvent ( self_ , type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn init_mutation_event ( & self , type_ : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mutation_event_with_can_bubble_MutationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & MutationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MutationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn init_mutation_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mutation_event_with_can_bubble_MutationEvent ( self_ : < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; __widl_f_init_mutation_event_with_can_bubble_MutationEvent ( self_ , type_ , can_bubble , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn init_mutation_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mutation_event_with_can_bubble_and_cancelable_MutationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & MutationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MutationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn init_mutation_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mutation_event_with_can_bubble_and_cancelable_MutationEvent ( self_ : < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; __widl_f_init_mutation_event_with_can_bubble_and_cancelable_MutationEvent ( self_ , type_ , can_bubble , cancelable , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn init_mutation_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_MutationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & MutationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Node > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MutationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`, `Node`*" ] pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node ( & self , type_ : & str , can_bubble : bool , cancelable : bool , related_node : Option < & Node > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_MutationEvent ( self_ : < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , related_node : < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let related_node = < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( related_node , & mut __stack ) ; __widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_MutationEvent ( self_ , type_ , can_bubble , cancelable , related_node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`, `Node`*" ] pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node ( & self , type_ : & str , can_bubble : bool , cancelable : bool , related_node : Option < & Node > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_MutationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & MutationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Node > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MutationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`, `Node`*" ] pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value ( & self , type_ : & str , can_bubble : bool , cancelable : bool , related_node : Option < & Node > , prev_value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_MutationEvent ( self_ : < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , related_node : < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , prev_value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let related_node = < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( related_node , & mut __stack ) ; let prev_value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( prev_value , & mut __stack ) ; __widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_MutationEvent ( self_ , type_ , can_bubble , cancelable , related_node , prev_value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`, `Node`*" ] pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value ( & self , type_ : & str , can_bubble : bool , cancelable : bool , related_node : Option < & Node > , prev_value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_MutationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & MutationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Node > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MutationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`, `Node`*" ] pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value ( & self , type_ : & str , can_bubble : bool , cancelable : bool , related_node : Option < & Node > , prev_value : & str , new_value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_MutationEvent ( self_ : < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , related_node : < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , prev_value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let related_node = < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( related_node , & mut __stack ) ; let prev_value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( prev_value , & mut __stack ) ; let new_value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_value , & mut __stack ) ; __widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_MutationEvent ( self_ , type_ , can_bubble , cancelable , related_node , prev_value , new_value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`, `Node`*" ] pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value ( & self , type_ : & str , can_bubble : bool , cancelable : bool , related_node : Option < & Node > , prev_value : & str , new_value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name_MutationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & MutationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Node > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MutationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`, `Node`*" ] pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name ( & self , type_ : & str , can_bubble : bool , cancelable : bool , related_node : Option < & Node > , prev_value : & str , new_value : & str , attr_name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name_MutationEvent ( self_ : < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , related_node : < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , prev_value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , attr_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let related_node = < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( related_node , & mut __stack ) ; let prev_value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( prev_value , & mut __stack ) ; let new_value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_value , & mut __stack ) ; let attr_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( attr_name , & mut __stack ) ; __widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name_MutationEvent ( self_ , type_ , can_bubble , cancelable , related_node , prev_value , new_value , attr_name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`, `Node`*" ] pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name ( & self , type_ : & str , can_bubble : bool , cancelable : bool , related_node : Option < & Node > , prev_value : & str , new_value : & str , attr_name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name_and_attr_change_MutationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & MutationEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Node > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MutationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`, `Node`*" ] pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name_and_attr_change ( & self , type_ : & str , can_bubble : bool , cancelable : bool , related_node : Option < & Node > , prev_value : & str , new_value : & str , attr_name : & str , attr_change : u16 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name_and_attr_change_MutationEvent ( self_ : < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , related_node : < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , prev_value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , attr_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , attr_change : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let related_node = < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( related_node , & mut __stack ) ; let prev_value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( prev_value , & mut __stack ) ; let new_value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_value , & mut __stack ) ; let attr_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( attr_name , & mut __stack ) ; let attr_change = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( attr_change , & mut __stack ) ; __widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name_and_attr_change_MutationEvent ( self_ , type_ , can_bubble , cancelable , related_node , prev_value , new_value , attr_name , attr_change , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initMutationEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/initMutationEvent)\n\n*This API requires the following crate features to be activated: `MutationEvent`, `Node`*" ] pub fn init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name_and_attr_change ( & self , type_ : & str , can_bubble : bool , cancelable : bool , related_node : Option < & Node > , prev_value : & str , new_value : & str , attr_name : & str , attr_change : u16 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_related_node_MutationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationEvent as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl MutationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `relatedNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/relatedNode)\n\n*This API requires the following crate features to be activated: `MutationEvent`, `Node`*" ] pub fn related_node ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_related_node_MutationEvent ( self_ : < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_related_node_MutationEvent ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `relatedNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/relatedNode)\n\n*This API requires the following crate features to be activated: `MutationEvent`, `Node`*" ] pub fn related_node ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prev_value_MutationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MutationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prevValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/prevValue)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn prev_value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prev_value_MutationEvent ( self_ : < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prev_value_MutationEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prevValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/prevValue)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn prev_value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_value_MutationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MutationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `newValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/newValue)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn new_value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_value_MutationEvent ( self_ : < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_new_value_MutationEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `newValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/newValue)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn new_value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_attr_name_MutationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MutationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `attrName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/attrName)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn attr_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_attr_name_MutationEvent ( self_ : < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_attr_name_MutationEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `attrName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/attrName)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn attr_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_attr_change_MutationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationEvent as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl MutationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `attrChange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/attrChange)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn attr_change ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_attr_change_MutationEvent ( self_ : < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_attr_change_MutationEvent ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `attrChange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent/attrChange)\n\n*This API requires the following crate features to be activated: `MutationEvent`*" ] pub fn attr_change ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MutationObserver` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver)\n\n*This API requires the following crate features to be activated: `MutationObserver`*" ] # [ repr ( transparent ) ] pub struct MutationObserver { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MutationObserver : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MutationObserver { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MutationObserver { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MutationObserver { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MutationObserver { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MutationObserver { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MutationObserver { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MutationObserver { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MutationObserver { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MutationObserver { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MutationObserver > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MutationObserver { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MutationObserver { # [ inline ] fn from ( obj : JsValue ) -> MutationObserver { MutationObserver { obj } } } impl AsRef < JsValue > for MutationObserver { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MutationObserver > for JsValue { # [ inline ] fn from ( obj : MutationObserver ) -> JsValue { obj . obj } } impl JsCast for MutationObserver { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MutationObserver ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MutationObserver ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MutationObserver { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MutationObserver ) } } } ( ) } ; impl core :: ops :: Deref for MutationObserver { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MutationObserver > for Object { # [ inline ] fn from ( obj : MutationObserver ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MutationObserver { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_MutationObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < MutationObserver as WasmDescribe > :: describe ( ) ; } impl MutationObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new MutationObserver(..)` constructor, creating a new instance of `MutationObserver`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/MutationObserver)\n\n*This API requires the following crate features to be activated: `MutationObserver`*" ] pub fn new ( mutation_callback : & :: js_sys :: Function ) -> Result < MutationObserver , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_MutationObserver ( mutation_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MutationObserver as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let mutation_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mutation_callback , & mut __stack ) ; __widl_f_new_MutationObserver ( mutation_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MutationObserver as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new MutationObserver(..)` constructor, creating a new instance of `MutationObserver`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/MutationObserver)\n\n*This API requires the following crate features to be activated: `MutationObserver`*" ] pub fn new ( mutation_callback : & :: js_sys :: Function ) -> Result < MutationObserver , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disconnect_MutationObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationObserver as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MutationObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/disconnect)\n\n*This API requires the following crate features to be activated: `MutationObserver`*" ] pub fn disconnect ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disconnect_MutationObserver ( self_ : < & MutationObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disconnect_MutationObserver ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/disconnect)\n\n*This API requires the following crate features to be activated: `MutationObserver`*" ] pub fn disconnect ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_observe_MutationObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & MutationObserver as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MutationObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `observe()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/observe)\n\n*This API requires the following crate features to be activated: `MutationObserver`, `Node`*" ] pub fn observe ( & self , target : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_observe_MutationObserver ( self_ : < & MutationObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_observe_MutationObserver ( self_ , target , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `observe()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/observe)\n\n*This API requires the following crate features to be activated: `MutationObserver`, `Node`*" ] pub fn observe ( & self , target : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_observe_with_options_MutationObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & MutationObserver as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & MutationObserverInit as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl MutationObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `observe()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/observe)\n\n*This API requires the following crate features to be activated: `MutationObserver`, `MutationObserverInit`, `Node`*" ] pub fn observe_with_options ( & self , target : & Node , options : & MutationObserverInit ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_observe_with_options_MutationObserver ( self_ : < & MutationObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & MutationObserverInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let options = < & MutationObserverInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_observe_with_options_MutationObserver ( self_ , target , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `observe()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/observe)\n\n*This API requires the following crate features to be activated: `MutationObserver`, `MutationObserverInit`, `Node`*" ] pub fn observe_with_options ( & self , target : & Node , options : & MutationObserverInit ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `MutationRecord` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord)\n\n*This API requires the following crate features to be activated: `MutationRecord`*" ] # [ repr ( transparent ) ] pub struct MutationRecord { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_MutationRecord : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for MutationRecord { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for MutationRecord { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for MutationRecord { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a MutationRecord { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for MutationRecord { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { MutationRecord { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for MutationRecord { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a MutationRecord { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for MutationRecord { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < MutationRecord > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( MutationRecord { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for MutationRecord { # [ inline ] fn from ( obj : JsValue ) -> MutationRecord { MutationRecord { obj } } } impl AsRef < JsValue > for MutationRecord { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < MutationRecord > for JsValue { # [ inline ] fn from ( obj : MutationRecord ) -> JsValue { obj . obj } } impl JsCast for MutationRecord { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_MutationRecord ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_MutationRecord ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MutationRecord { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MutationRecord ) } } } ( ) } ; impl core :: ops :: Deref for MutationRecord { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < MutationRecord > for Object { # [ inline ] fn from ( obj : MutationRecord ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for MutationRecord { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_MutationRecord ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationRecord as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl MutationRecord { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/type)\n\n*This API requires the following crate features to be activated: `MutationRecord`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_MutationRecord ( self_ : < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_MutationRecord ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/type)\n\n*This API requires the following crate features to be activated: `MutationRecord`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_MutationRecord ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationRecord as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl MutationRecord { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/target)\n\n*This API requires the following crate features to be activated: `MutationRecord`, `Node`*" ] pub fn target ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_MutationRecord ( self_ : < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_MutationRecord ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/target)\n\n*This API requires the following crate features to be activated: `MutationRecord`, `Node`*" ] pub fn target ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_added_nodes_MutationRecord ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationRecord as WasmDescribe > :: describe ( ) ; < NodeList as WasmDescribe > :: describe ( ) ; } impl MutationRecord { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addedNodes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/addedNodes)\n\n*This API requires the following crate features to be activated: `MutationRecord`, `NodeList`*" ] pub fn added_nodes ( & self , ) -> NodeList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_added_nodes_MutationRecord ( self_ : < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_added_nodes_MutationRecord ( self_ ) } ; < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addedNodes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/addedNodes)\n\n*This API requires the following crate features to be activated: `MutationRecord`, `NodeList`*" ] pub fn added_nodes ( & self , ) -> NodeList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_removed_nodes_MutationRecord ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationRecord as WasmDescribe > :: describe ( ) ; < NodeList as WasmDescribe > :: describe ( ) ; } impl MutationRecord { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removedNodes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/removedNodes)\n\n*This API requires the following crate features to be activated: `MutationRecord`, `NodeList`*" ] pub fn removed_nodes ( & self , ) -> NodeList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_removed_nodes_MutationRecord ( self_ : < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_removed_nodes_MutationRecord ( self_ ) } ; < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removedNodes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/removedNodes)\n\n*This API requires the following crate features to be activated: `MutationRecord`, `NodeList`*" ] pub fn removed_nodes ( & self , ) -> NodeList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_previous_sibling_MutationRecord ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationRecord as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl MutationRecord { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `previousSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/previousSibling)\n\n*This API requires the following crate features to be activated: `MutationRecord`, `Node`*" ] pub fn previous_sibling ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_previous_sibling_MutationRecord ( self_ : < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_previous_sibling_MutationRecord ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `previousSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/previousSibling)\n\n*This API requires the following crate features to be activated: `MutationRecord`, `Node`*" ] pub fn previous_sibling ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_next_sibling_MutationRecord ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationRecord as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl MutationRecord { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `nextSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/nextSibling)\n\n*This API requires the following crate features to be activated: `MutationRecord`, `Node`*" ] pub fn next_sibling ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_next_sibling_MutationRecord ( self_ : < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_next_sibling_MutationRecord ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `nextSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/nextSibling)\n\n*This API requires the following crate features to be activated: `MutationRecord`, `Node`*" ] pub fn next_sibling ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_attribute_name_MutationRecord ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationRecord as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl MutationRecord { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `attributeName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/attributeName)\n\n*This API requires the following crate features to be activated: `MutationRecord`*" ] pub fn attribute_name ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_attribute_name_MutationRecord ( self_ : < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_attribute_name_MutationRecord ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `attributeName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/attributeName)\n\n*This API requires the following crate features to be activated: `MutationRecord`*" ] pub fn attribute_name ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_attribute_namespace_MutationRecord ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationRecord as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl MutationRecord { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `attributeNamespace` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/attributeNamespace)\n\n*This API requires the following crate features to be activated: `MutationRecord`*" ] pub fn attribute_namespace ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_attribute_namespace_MutationRecord ( self_ : < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_attribute_namespace_MutationRecord ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `attributeNamespace` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/attributeNamespace)\n\n*This API requires the following crate features to be activated: `MutationRecord`*" ] pub fn attribute_namespace ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_old_value_MutationRecord ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MutationRecord as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl MutationRecord { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oldValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/oldValue)\n\n*This API requires the following crate features to be activated: `MutationRecord`*" ] pub fn old_value ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_old_value_MutationRecord ( self_ : < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & MutationRecord as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_old_value_MutationRecord ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oldValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/oldValue)\n\n*This API requires the following crate features to be activated: `MutationRecord`*" ] pub fn old_value ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `NamedNodeMap` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap)\n\n*This API requires the following crate features to be activated: `NamedNodeMap`*" ] # [ repr ( transparent ) ] pub struct NamedNodeMap { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_NamedNodeMap : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for NamedNodeMap { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for NamedNodeMap { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for NamedNodeMap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a NamedNodeMap { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for NamedNodeMap { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { NamedNodeMap { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for NamedNodeMap { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a NamedNodeMap { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for NamedNodeMap { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < NamedNodeMap > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( NamedNodeMap { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for NamedNodeMap { # [ inline ] fn from ( obj : JsValue ) -> NamedNodeMap { NamedNodeMap { obj } } } impl AsRef < JsValue > for NamedNodeMap { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < NamedNodeMap > for JsValue { # [ inline ] fn from ( obj : NamedNodeMap ) -> JsValue { obj . obj } } impl JsCast for NamedNodeMap { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_NamedNodeMap ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_NamedNodeMap ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { NamedNodeMap { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const NamedNodeMap ) } } } ( ) } ; impl core :: ops :: Deref for NamedNodeMap { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < NamedNodeMap > for Object { # [ inline ] fn from ( obj : NamedNodeMap ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for NamedNodeMap { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_named_item_NamedNodeMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & NamedNodeMap as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Attr > as WasmDescribe > :: describe ( ) ; } impl NamedNodeMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getNamedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/getNamedItem)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn get_named_item ( & self , name : & str ) -> Option < Attr > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_named_item_NamedNodeMap ( self_ : < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_named_item_NamedNodeMap ( self_ , name ) } ; < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getNamedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/getNamedItem)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn get_named_item ( & self , name : & str ) -> Option < Attr > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_named_item_ns_NamedNodeMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & NamedNodeMap as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Attr > as WasmDescribe > :: describe ( ) ; } impl NamedNodeMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getNamedItemNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/getNamedItemNS)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn get_named_item_ns ( & self , namespace_uri : Option < & str > , local_name : & str ) -> Option < Attr > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_named_item_ns_NamedNodeMap ( self_ : < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace_uri : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace_uri = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace_uri , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; __widl_f_get_named_item_ns_NamedNodeMap ( self_ , namespace_uri , local_name ) } ; < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getNamedItemNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/getNamedItemNS)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn get_named_item_ns ( & self , namespace_uri : Option < & str > , local_name : & str ) -> Option < Attr > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_NamedNodeMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & NamedNodeMap as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Attr > as WasmDescribe > :: describe ( ) ; } impl NamedNodeMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/item)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn item ( & self , index : u32 ) -> Option < Attr > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_NamedNodeMap ( self_ : < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_NamedNodeMap ( self_ , index ) } ; < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/item)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn item ( & self , index : u32 ) -> Option < Attr > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_named_item_NamedNodeMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & NamedNodeMap as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Attr as WasmDescribe > :: describe ( ) ; } impl NamedNodeMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeNamedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/removeNamedItem)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn remove_named_item ( & self , name : & str ) -> Result < Attr , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_named_item_NamedNodeMap ( self_ : < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Attr as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_remove_named_item_NamedNodeMap ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Attr as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeNamedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/removeNamedItem)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn remove_named_item ( & self , name : & str ) -> Result < Attr , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_named_item_ns_NamedNodeMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & NamedNodeMap as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Attr as WasmDescribe > :: describe ( ) ; } impl NamedNodeMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeNamedItemNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/removeNamedItemNS)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn remove_named_item_ns ( & self , namespace_uri : Option < & str > , local_name : & str ) -> Result < Attr , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_named_item_ns_NamedNodeMap ( self_ : < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace_uri : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Attr as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace_uri = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace_uri , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; __widl_f_remove_named_item_ns_NamedNodeMap ( self_ , namespace_uri , local_name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Attr as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeNamedItemNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/removeNamedItemNS)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn remove_named_item_ns ( & self , namespace_uri : Option < & str > , local_name : & str ) -> Result < Attr , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_named_item_NamedNodeMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & NamedNodeMap as WasmDescribe > :: describe ( ) ; < & Attr as WasmDescribe > :: describe ( ) ; < Option < Attr > as WasmDescribe > :: describe ( ) ; } impl NamedNodeMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setNamedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/setNamedItem)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn set_named_item ( & self , arg : & Attr ) -> Result < Option < Attr > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_named_item_NamedNodeMap ( self_ : < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arg : < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let arg = < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arg , & mut __stack ) ; __widl_f_set_named_item_NamedNodeMap ( self_ , arg , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setNamedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/setNamedItem)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn set_named_item ( & self , arg : & Attr ) -> Result < Option < Attr > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_named_item_ns_NamedNodeMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & NamedNodeMap as WasmDescribe > :: describe ( ) ; < & Attr as WasmDescribe > :: describe ( ) ; < Option < Attr > as WasmDescribe > :: describe ( ) ; } impl NamedNodeMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setNamedItemNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/setNamedItemNS)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn set_named_item_ns ( & self , arg : & Attr ) -> Result < Option < Attr > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_named_item_ns_NamedNodeMap ( self_ : < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arg : < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let arg = < & Attr as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arg , & mut __stack ) ; __widl_f_set_named_item_ns_NamedNodeMap ( self_ , arg , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setNamedItemNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/setNamedItemNS)\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn set_named_item_ns ( & self , arg : & Attr ) -> Result < Option < Attr > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_name_NamedNodeMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & NamedNodeMap as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Attr > as WasmDescribe > :: describe ( ) ; } impl NamedNodeMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn get_with_name ( & self , name : & str ) -> Option < Attr > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_name_NamedNodeMap ( self_ : < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_with_name_NamedNodeMap ( self_ , name ) } ; < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn get_with_name ( & self , name : & str ) -> Option < Attr > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_index_NamedNodeMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & NamedNodeMap as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Attr > as WasmDescribe > :: describe ( ) ; } impl NamedNodeMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn get_with_index ( & self , index : u32 ) -> Option < Attr > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_index_NamedNodeMap ( self_ : < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_with_index_NamedNodeMap ( self_ , index ) } ; < Option < Attr > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Attr`, `NamedNodeMap`*" ] pub fn get_with_index ( & self , index : u32 ) -> Option < Attr > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_NamedNodeMap ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & NamedNodeMap as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl NamedNodeMap { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/length)\n\n*This API requires the following crate features to be activated: `NamedNodeMap`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_NamedNodeMap ( self_ : < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NamedNodeMap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_NamedNodeMap ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/length)\n\n*This API requires the following crate features to be activated: `NamedNodeMap`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Navigator` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] # [ repr ( transparent ) ] pub struct Navigator { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Navigator : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Navigator { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Navigator { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Navigator { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Navigator { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Navigator { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Navigator { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Navigator { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Navigator { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Navigator { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Navigator > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Navigator { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Navigator { # [ inline ] fn from ( obj : JsValue ) -> Navigator { Navigator { obj } } } impl AsRef < JsValue > for Navigator { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Navigator > for JsValue { # [ inline ] fn from ( obj : Navigator ) -> JsValue { obj . obj } } impl JsCast for Navigator { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Navigator ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Navigator ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Navigator { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Navigator ) } } } ( ) } ; impl core :: ops :: Deref for Navigator { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Navigator > for Object { # [ inline ] fn from ( obj : Navigator ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Navigator { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_vr_displays_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getVRDisplays()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getVRDisplays)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn get_vr_displays ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_vr_displays_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_vr_displays_Navigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getVRDisplays()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getVRDisplays)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn get_vr_displays ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_gamepad_service_test_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < GamepadServiceTest as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestGamepadServiceTest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestGamepadServiceTest)\n\n*This API requires the following crate features to be activated: `GamepadServiceTest`, `Navigator`*" ] pub fn request_gamepad_service_test ( & self , ) -> GamepadServiceTest { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_gamepad_service_test_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < GamepadServiceTest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_request_gamepad_service_test_Navigator ( self_ ) } ; < GamepadServiceTest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestGamepadServiceTest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestGamepadServiceTest)\n\n*This API requires the following crate features to be activated: `GamepadServiceTest`, `Navigator`*" ] pub fn request_gamepad_service_test ( & self , ) -> GamepadServiceTest { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_midi_access_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestMIDIAccess()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMIDIAccess)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn request_midi_access ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_midi_access_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_request_midi_access_Navigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestMIDIAccess()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMIDIAccess)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn request_midi_access ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_midi_access_with_options_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < & MidiOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestMIDIAccess()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMIDIAccess)\n\n*This API requires the following crate features to be activated: `MidiOptions`, `Navigator`*" ] pub fn request_midi_access_with_options ( & self , options : & MidiOptions ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_midi_access_with_options_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & MidiOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & MidiOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_request_midi_access_with_options_Navigator ( self_ , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestMIDIAccess()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMIDIAccess)\n\n*This API requires the following crate features to be activated: `MidiOptions`, `Navigator`*" ] pub fn request_midi_access_with_options ( & self , options : & MidiOptions ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_vr_service_test_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < VrServiceTest as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestVRServiceTest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestVRServiceTest)\n\n*This API requires the following crate features to be activated: `Navigator`, `VrServiceTest`*" ] pub fn request_vr_service_test ( & self , ) -> VrServiceTest { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_vr_service_test_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < VrServiceTest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_request_vr_service_test_Navigator ( self_ ) } ; < VrServiceTest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestVRServiceTest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestVRServiceTest)\n\n*This API requires the following crate features to be activated: `Navigator`, `VrServiceTest`*" ] pub fn request_vr_service_test ( & self , ) -> VrServiceTest { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_beacon_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn send_beacon ( & self , url : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_beacon_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_send_beacon_Navigator ( self_ , url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn send_beacon ( & self , url : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_beacon_with_opt_blob_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & Blob > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `Blob`, `Navigator`*" ] pub fn send_beacon_with_opt_blob ( & self , url : & str , data : Option < & Blob > ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_beacon_with_opt_blob_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < Option < & Blob > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let data = < Option < & Blob > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_beacon_with_opt_blob_Navigator ( self_ , url , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `Blob`, `Navigator`*" ] pub fn send_beacon_with_opt_blob ( & self , url : & str , data : Option < & Blob > ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_beacon_with_opt_buffer_source_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn send_beacon_with_opt_buffer_source ( & self , url : & str , data : Option < & :: js_sys :: Object > ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_beacon_with_opt_buffer_source_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let data = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_beacon_with_opt_buffer_source_Navigator ( self_ , url , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn send_beacon_with_opt_buffer_source ( & self , url : & str , data : Option < & :: js_sys :: Object > ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_beacon_with_opt_u8_array_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn send_beacon_with_opt_u8_array ( & self , url : & str , data : Option < & mut [ u8 ] > ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_beacon_with_opt_u8_array_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let data = < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_beacon_with_opt_u8_array_Navigator ( self_ , url , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn send_beacon_with_opt_u8_array ( & self , url : & str , data : Option < & mut [ u8 ] > ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_beacon_with_opt_form_data_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & FormData > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `FormData`, `Navigator`*" ] pub fn send_beacon_with_opt_form_data ( & self , url : & str , data : Option < & FormData > ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_beacon_with_opt_form_data_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < Option < & FormData > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let data = < Option < & FormData > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_beacon_with_opt_form_data_Navigator ( self_ , url , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `FormData`, `Navigator`*" ] pub fn send_beacon_with_opt_form_data ( & self , url : & str , data : Option < & FormData > ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_beacon_with_opt_url_search_params_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & UrlSearchParams > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `Navigator`, `UrlSearchParams`*" ] pub fn send_beacon_with_opt_url_search_params ( & self , url : & str , data : Option < & UrlSearchParams > ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_beacon_with_opt_url_search_params_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < Option < & UrlSearchParams > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let data = < Option < & UrlSearchParams > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_beacon_with_opt_url_search_params_Navigator ( self_ , url , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `Navigator`, `UrlSearchParams`*" ] pub fn send_beacon_with_opt_url_search_params ( & self , url : & str , data : Option < & UrlSearchParams > ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_beacon_with_opt_str_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn send_beacon_with_opt_str ( & self , url : & str , data : Option < & str > ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_beacon_with_opt_str_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let data = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_beacon_with_opt_str_Navigator ( self_ , url , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sendBeacon()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn send_beacon_with_opt_str ( & self , url : & str , data : Option < & str > ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vibrate_with_duration_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vibrate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn vibrate_with_duration ( & self , duration : u32 ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vibrate_with_duration_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , duration : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let duration = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( duration , & mut __stack ) ; __widl_f_vibrate_with_duration_Navigator ( self_ , duration ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vibrate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn vibrate_with_duration ( & self , duration : u32 ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_permissions_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < Permissions as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `permissions` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/permissions)\n\n*This API requires the following crate features to be activated: `Navigator`, `Permissions`*" ] pub fn permissions ( & self , ) -> Result < Permissions , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_permissions_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Permissions as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_permissions_Navigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Permissions as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `permissions` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/permissions)\n\n*This API requires the following crate features to be activated: `Navigator`, `Permissions`*" ] pub fn permissions ( & self , ) -> Result < Permissions , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mime_types_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < MimeTypeArray as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mimeTypes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mimeTypes)\n\n*This API requires the following crate features to be activated: `MimeTypeArray`, `Navigator`*" ] pub fn mime_types ( & self , ) -> Result < MimeTypeArray , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mime_types_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MimeTypeArray as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_mime_types_Navigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MimeTypeArray as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mimeTypes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mimeTypes)\n\n*This API requires the following crate features to be activated: `MimeTypeArray`, `Navigator`*" ] pub fn mime_types ( & self , ) -> Result < MimeTypeArray , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_plugins_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < PluginArray as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `plugins` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/plugins)\n\n*This API requires the following crate features to be activated: `Navigator`, `PluginArray`*" ] pub fn plugins ( & self , ) -> Result < PluginArray , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_plugins_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PluginArray as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_plugins_Navigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PluginArray as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `plugins` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/plugins)\n\n*This API requires the following crate features to be activated: `Navigator`, `PluginArray`*" ] pub fn plugins ( & self , ) -> Result < PluginArray , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_do_not_track_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `doNotTrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/doNotTrack)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn do_not_track ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_do_not_track_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_do_not_track_Navigator ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `doNotTrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/doNotTrack)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn do_not_track ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_touch_points_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxTouchPoints` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn max_touch_points ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_touch_points_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_touch_points_Navigator ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxTouchPoints` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn max_touch_points ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_capabilities_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < MediaCapabilities as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mediaCapabilities` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaCapabilities)\n\n*This API requires the following crate features to be activated: `MediaCapabilities`, `Navigator`*" ] pub fn media_capabilities ( & self , ) -> MediaCapabilities { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_capabilities_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaCapabilities as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_capabilities_Navigator ( self_ ) } ; < MediaCapabilities as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mediaCapabilities` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaCapabilities)\n\n*This API requires the following crate features to be activated: `MediaCapabilities`, `Navigator`*" ] pub fn media_capabilities ( & self , ) -> MediaCapabilities { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connection_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < NetworkInformation as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connection` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/connection)\n\n*This API requires the following crate features to be activated: `Navigator`, `NetworkInformation`*" ] pub fn connection ( & self , ) -> Result < NetworkInformation , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connection_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < NetworkInformation as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_connection_Navigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < NetworkInformation as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connection` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/connection)\n\n*This API requires the following crate features to be activated: `Navigator`, `NetworkInformation`*" ] pub fn connection ( & self , ) -> Result < NetworkInformation , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_devices_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < MediaDevices as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mediaDevices` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaDevices)\n\n*This API requires the following crate features to be activated: `MediaDevices`, `Navigator`*" ] pub fn media_devices ( & self , ) -> Result < MediaDevices , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_devices_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < MediaDevices as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_devices_Navigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < MediaDevices as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mediaDevices` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaDevices)\n\n*This API requires the following crate features to be activated: `MediaDevices`, `Navigator`*" ] pub fn media_devices ( & self , ) -> Result < MediaDevices , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_service_worker_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `serviceWorker` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/serviceWorker)\n\n*This API requires the following crate features to be activated: `Navigator`, `ServiceWorkerContainer`*" ] pub fn service_worker ( & self , ) -> ServiceWorkerContainer { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_service_worker_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ServiceWorkerContainer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_service_worker_Navigator ( self_ ) } ; < ServiceWorkerContainer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `serviceWorker` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/serviceWorker)\n\n*This API requires the following crate features to be activated: `Navigator`, `ServiceWorkerContainer`*" ] pub fn service_worker ( & self , ) -> ServiceWorkerContainer { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_presentation_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < Option < Presentation > as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `presentation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/presentation)\n\n*This API requires the following crate features to be activated: `Navigator`, `Presentation`*" ] pub fn presentation ( & self , ) -> Result < Option < Presentation > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_presentation_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Presentation > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_presentation_Navigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Presentation > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `presentation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/presentation)\n\n*This API requires the following crate features to be activated: `Navigator`, `Presentation`*" ] pub fn presentation ( & self , ) -> Result < Option < Presentation > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_credentials_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < CredentialsContainer as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `credentials` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/credentials)\n\n*This API requires the following crate features to be activated: `CredentialsContainer`, `Navigator`*" ] pub fn credentials ( & self , ) -> CredentialsContainer { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_credentials_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < CredentialsContainer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_credentials_Navigator ( self_ ) } ; < CredentialsContainer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `credentials` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/credentials)\n\n*This API requires the following crate features to be activated: `CredentialsContainer`, `Navigator`*" ] pub fn credentials ( & self , ) -> CredentialsContainer { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hardware_concurrency_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hardwareConcurrency` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hardwareConcurrency)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn hardware_concurrency ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hardware_concurrency_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hardware_concurrency_Navigator ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hardwareConcurrency` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hardwareConcurrency)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn hardware_concurrency ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_register_content_handler_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `registerContentHandler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerContentHandler)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn register_content_handler ( & self , mime_type : & str , url : & str , title : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_register_content_handler_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mime_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mime_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mime_type , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; __widl_f_register_content_handler_Navigator ( self_ , mime_type , url , title , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `registerContentHandler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerContentHandler)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn register_content_handler ( & self , mime_type : & str , url : & str , title : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_register_protocol_handler_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `registerProtocolHandler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn register_protocol_handler ( & self , scheme : & str , url : & str , title : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_register_protocol_handler_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scheme : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scheme = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scheme , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; __widl_f_register_protocol_handler_Navigator ( self_ , scheme , url , title , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `registerProtocolHandler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn register_protocol_handler ( & self , scheme : & str , url : & str , title : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_taint_enabled_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `taintEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/taintEnabled)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn taint_enabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_taint_enabled_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_taint_enabled_Navigator ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `taintEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/taintEnabled)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn taint_enabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_app_code_name_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appCodeName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appCodeName)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn app_code_name ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_app_code_name_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_app_code_name_Navigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appCodeName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appCodeName)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn app_code_name ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_app_name_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appName)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn app_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_app_name_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_app_name_Navigator ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appName)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn app_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_app_version_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appVersion` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appVersion)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn app_version ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_app_version_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_app_version_Navigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appVersion` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appVersion)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn app_version ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_platform_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `platform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn platform ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_platform_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_platform_Navigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `platform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn platform ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_user_agent_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `userAgent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn user_agent ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_user_agent_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_user_agent_Navigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `userAgent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn user_agent ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_product_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `product` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/product)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn product ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_product_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_product_Navigator ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `product` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/product)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn product ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_language_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `language` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn language ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_language_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_language_Navigator ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `language` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn language ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_on_line_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onLine` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn on_line ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_on_line_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_on_line_Navigator ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onLine` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine)\n\n*This API requires the following crate features to be activated: `Navigator`*" ] pub fn on_line ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_storage_Navigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Navigator as WasmDescribe > :: describe ( ) ; < StorageManager as WasmDescribe > :: describe ( ) ; } impl Navigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `storage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/storage)\n\n*This API requires the following crate features to be activated: `Navigator`, `StorageManager`*" ] pub fn storage ( & self , ) -> StorageManager { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_storage_Navigator ( self_ : < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < StorageManager as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Navigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_storage_Navigator ( self_ ) } ; < StorageManager as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `storage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/storage)\n\n*This API requires the following crate features to be activated: `Navigator`, `StorageManager`*" ] pub fn storage ( & self , ) -> StorageManager { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `NetworkInformation` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation)\n\n*This API requires the following crate features to be activated: `NetworkInformation`*" ] # [ repr ( transparent ) ] pub struct NetworkInformation { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_NetworkInformation : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for NetworkInformation { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for NetworkInformation { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for NetworkInformation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a NetworkInformation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for NetworkInformation { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { NetworkInformation { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for NetworkInformation { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a NetworkInformation { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for NetworkInformation { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < NetworkInformation > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( NetworkInformation { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for NetworkInformation { # [ inline ] fn from ( obj : JsValue ) -> NetworkInformation { NetworkInformation { obj } } } impl AsRef < JsValue > for NetworkInformation { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < NetworkInformation > for JsValue { # [ inline ] fn from ( obj : NetworkInformation ) -> JsValue { obj . obj } } impl JsCast for NetworkInformation { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_NetworkInformation ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_NetworkInformation ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { NetworkInformation { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const NetworkInformation ) } } } ( ) } ; impl core :: ops :: Deref for NetworkInformation { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < NetworkInformation > for EventTarget { # [ inline ] fn from ( obj : NetworkInformation ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for NetworkInformation { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < NetworkInformation > for Object { # [ inline ] fn from ( obj : NetworkInformation ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for NetworkInformation { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_NetworkInformation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & NetworkInformation as WasmDescribe > :: describe ( ) ; < ConnectionType as WasmDescribe > :: describe ( ) ; } impl NetworkInformation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/type)\n\n*This API requires the following crate features to be activated: `ConnectionType`, `NetworkInformation`*" ] pub fn type_ ( & self , ) -> ConnectionType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_NetworkInformation ( self_ : < & NetworkInformation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ConnectionType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NetworkInformation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_NetworkInformation ( self_ ) } ; < ConnectionType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/type)\n\n*This API requires the following crate features to be activated: `ConnectionType`, `NetworkInformation`*" ] pub fn type_ ( & self , ) -> ConnectionType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontypechange_NetworkInformation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & NetworkInformation as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl NetworkInformation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontypechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/ontypechange)\n\n*This API requires the following crate features to be activated: `NetworkInformation`*" ] pub fn ontypechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontypechange_NetworkInformation ( self_ : < & NetworkInformation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NetworkInformation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontypechange_NetworkInformation ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontypechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/ontypechange)\n\n*This API requires the following crate features to be activated: `NetworkInformation`*" ] pub fn ontypechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontypechange_NetworkInformation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & NetworkInformation as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl NetworkInformation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontypechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/ontypechange)\n\n*This API requires the following crate features to be activated: `NetworkInformation`*" ] pub fn set_ontypechange ( & self , ontypechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontypechange_NetworkInformation ( self_ : < & NetworkInformation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontypechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NetworkInformation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontypechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontypechange , & mut __stack ) ; __widl_f_set_ontypechange_NetworkInformation ( self_ , ontypechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontypechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/ontypechange)\n\n*This API requires the following crate features to be activated: `NetworkInformation`*" ] pub fn set_ontypechange ( & self , ontypechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Node` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node)\n\n*This API requires the following crate features to be activated: `Node`*" ] # [ repr ( transparent ) ] pub struct Node { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Node : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Node { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Node { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Node { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Node { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Node { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Node { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Node { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Node { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Node { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Node > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Node { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Node { # [ inline ] fn from ( obj : JsValue ) -> Node { Node { obj } } } impl AsRef < JsValue > for Node { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Node > for JsValue { # [ inline ] fn from ( obj : Node ) -> JsValue { obj . obj } } impl JsCast for Node { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Node ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Node ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Node { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Node ) } } } ( ) } ; impl core :: ops :: Deref for Node { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < Node > for EventTarget { # [ inline ] fn from ( obj : Node ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for Node { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Node > for Object { # [ inline ] fn from ( obj : Node ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Node { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_child_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendChild()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn append_child ( & self , node : & Node ) -> Result < Node , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_child_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; __widl_f_append_child_Node ( self_ , node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendChild()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn append_child ( & self , node : & Node ) -> Result < Node , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clone_node_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cloneNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/cloneNode)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn clone_node ( & self , ) -> Result < Node , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clone_node_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clone_node_Node ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cloneNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/cloneNode)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn clone_node ( & self , ) -> Result < Node , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clone_node_with_deep_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cloneNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/cloneNode)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn clone_node_with_deep ( & self , deep : bool ) -> Result < Node , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clone_node_with_deep_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , deep : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let deep = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( deep , & mut __stack ) ; __widl_f_clone_node_with_deep_Node ( self_ , deep , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cloneNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/cloneNode)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn clone_node_with_deep ( & self , deep : bool ) -> Result < Node , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compare_document_position_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compareDocumentPosition()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn compare_document_position ( & self , other : & Node ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compare_document_position_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , other : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let other = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( other , & mut __stack ) ; __widl_f_compare_document_position_Node ( self_ , other ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compareDocumentPosition()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn compare_document_position ( & self , other : & Node ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_contains_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & Node > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `contains()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/contains)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn contains ( & self , other : Option < & Node > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_contains_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , other : < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let other = < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( other , & mut __stack ) ; __widl_f_contains_Node ( self_ , other ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `contains()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/contains)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn contains ( & self , other : Option < & Node > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_root_node_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getRootNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/getRootNode)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn get_root_node ( & self , ) -> Node { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_root_node_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_root_node_Node ( self_ ) } ; < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getRootNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/getRootNode)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn get_root_node ( & self , ) -> Node { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_root_node_with_options_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < & GetRootNodeOptions as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getRootNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/getRootNode)\n\n*This API requires the following crate features to be activated: `GetRootNodeOptions`, `Node`*" ] pub fn get_root_node_with_options ( & self , options : & GetRootNodeOptions ) -> Node { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_root_node_with_options_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & GetRootNodeOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & GetRootNodeOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_get_root_node_with_options_Node ( self_ , options ) } ; < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getRootNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/getRootNode)\n\n*This API requires the following crate features to be activated: `GetRootNodeOptions`, `Node`*" ] pub fn get_root_node_with_options ( & self , options : & GetRootNodeOptions ) -> Node { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_child_nodes_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasChildNodes()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/hasChildNodes)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn has_child_nodes ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_child_nodes_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_has_child_nodes_Node ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasChildNodes()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/hasChildNodes)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn has_child_nodes ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_before_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & Node > as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/insertBefore)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn insert_before ( & self , node : & Node , child : Option < & Node > ) -> Result < Node , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_before_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , child : < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; let child = < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( child , & mut __stack ) ; __widl_f_insert_before_Node ( self_ , node , child , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/insertBefore)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn insert_before ( & self , node : & Node , child : Option < & Node > ) -> Result < Node , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_default_namespace_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isDefaultNamespace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/isDefaultNamespace)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn is_default_namespace ( & self , namespace : Option < & str > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_default_namespace_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; __widl_f_is_default_namespace_Node ( self_ , namespace ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isDefaultNamespace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/isDefaultNamespace)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn is_default_namespace ( & self , namespace : Option < & str > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_equal_node_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & Node > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isEqualNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/isEqualNode)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn is_equal_node ( & self , node : Option < & Node > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_equal_node_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; __widl_f_is_equal_node_Node ( self_ , node ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isEqualNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/isEqualNode)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn is_equal_node ( & self , node : Option < & Node > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_same_node_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & Node > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isSameNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/isSameNode)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn is_same_node ( & self , node : Option < & Node > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_same_node_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; __widl_f_is_same_node_Node ( self_ , node ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isSameNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/isSameNode)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn is_same_node ( & self , node : Option < & Node > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lookup_namespace_uri_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lookupNamespaceURI()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/lookupNamespaceURI)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn lookup_namespace_uri ( & self , prefix : Option < & str > ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lookup_namespace_uri_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , prefix : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let prefix = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( prefix , & mut __stack ) ; __widl_f_lookup_namespace_uri_Node ( self_ , prefix ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lookupNamespaceURI()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/lookupNamespaceURI)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn lookup_namespace_uri ( & self , prefix : Option < & str > ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lookup_prefix_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lookupPrefix()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/lookupPrefix)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn lookup_prefix ( & self , namespace : Option < & str > ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lookup_prefix_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; __widl_f_lookup_prefix_Node ( self_ , namespace ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lookupPrefix()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/lookupPrefix)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn lookup_prefix ( & self , namespace : Option < & str > ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_normalize_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `normalize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/normalize)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn normalize ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_normalize_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_normalize_Node ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `normalize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/normalize)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn normalize ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_child_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeChild()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/removeChild)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn remove_child ( & self , child : & Node ) -> Result < Node , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_child_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , child : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let child = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( child , & mut __stack ) ; __widl_f_remove_child_Node ( self_ , child , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeChild()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/removeChild)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn remove_child ( & self , child : & Node ) -> Result < Node , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_child_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceChild()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/replaceChild)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn replace_child ( & self , node : & Node , child : & Node ) -> Result < Node , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_child_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , child : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; let child = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( child , & mut __stack ) ; __widl_f_replace_child_Node ( self_ , node , child , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceChild()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/replaceChild)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn replace_child ( & self , node : & Node , child : & Node ) -> Result < Node , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_node_type_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `nodeType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn node_type ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_node_type_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_node_type_Node ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `nodeType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn node_type ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_node_name_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `nodeName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeName)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn node_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_node_name_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_node_name_Node ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `nodeName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeName)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn node_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_uri_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/baseURI)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn base_uri ( & self , ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_uri_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_uri_Node ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/baseURI)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn base_uri ( & self , ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_connected_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isConnected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/isConnected)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn is_connected ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_connected_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_connected_Node ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isConnected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/isConnected)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn is_connected ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_owner_document_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < Document > as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ownerDocument` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/ownerDocument)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn owner_document ( & self , ) -> Option < Document > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_owner_document_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_owner_document_Node ( self_ ) } ; < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ownerDocument` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/ownerDocument)\n\n*This API requires the following crate features to be activated: `Document`, `Node`*" ] pub fn owner_document ( & self , ) -> Option < Document > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_parent_node_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `parentNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/parentNode)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn parent_node ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_parent_node_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_parent_node_Node ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `parentNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/parentNode)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn parent_node ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_parent_element_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `parentElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/parentElement)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn parent_element ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_parent_element_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_parent_element_Node ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `parentElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/parentElement)\n\n*This API requires the following crate features to be activated: `Element`, `Node`*" ] pub fn parent_element ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_child_nodes_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < NodeList as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `childNodes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes)\n\n*This API requires the following crate features to be activated: `Node`, `NodeList`*" ] pub fn child_nodes ( & self , ) -> NodeList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_child_nodes_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_child_nodes_Node ( self_ ) } ; < NodeList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `childNodes` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes)\n\n*This API requires the following crate features to be activated: `Node`, `NodeList`*" ] pub fn child_nodes ( & self , ) -> NodeList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_first_child_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `firstChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/firstChild)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn first_child ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_first_child_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_first_child_Node ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `firstChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/firstChild)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn first_child ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_last_child_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lastChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/lastChild)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn last_child ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_last_child_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_last_child_Node ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lastChild` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/lastChild)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn last_child ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_previous_sibling_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `previousSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/previousSibling)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn previous_sibling ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_previous_sibling_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_previous_sibling_Node ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `previousSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/previousSibling)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn previous_sibling ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_next_sibling_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `nextSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nextSibling)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn next_sibling ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_next_sibling_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_next_sibling_Node ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `nextSibling` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nextSibling)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn next_sibling ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_node_value_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `nodeValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeValue)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn node_value ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_node_value_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_node_value_Node ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `nodeValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeValue)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn node_value ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_node_value_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `nodeValue` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeValue)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn set_node_value ( & self , node_value : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_node_value_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node_value : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node_value = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node_value , & mut __stack ) ; __widl_f_set_node_value_Node ( self_ , node_value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `nodeValue` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeValue)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn set_node_value ( & self , node_value : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_content_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `textContent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn text_content ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_content_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_content_Node ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `textContent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn text_content ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_text_content_Node ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Node as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Node { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `textContent` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn set_text_content ( & self , text_content : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_text_content_Node ( self_ : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text_content : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text_content = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text_content , & mut __stack ) ; __widl_f_set_text_content_Node ( self_ , text_content ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `textContent` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent)\n\n*This API requires the following crate features to be activated: `Node`*" ] pub fn set_text_content ( & self , text_content : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `NodeIterator` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator)\n\n*This API requires the following crate features to be activated: `NodeIterator`*" ] # [ repr ( transparent ) ] pub struct NodeIterator { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_NodeIterator : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for NodeIterator { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for NodeIterator { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for NodeIterator { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a NodeIterator { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for NodeIterator { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { NodeIterator { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for NodeIterator { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a NodeIterator { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for NodeIterator { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < NodeIterator > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( NodeIterator { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for NodeIterator { # [ inline ] fn from ( obj : JsValue ) -> NodeIterator { NodeIterator { obj } } } impl AsRef < JsValue > for NodeIterator { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < NodeIterator > for JsValue { # [ inline ] fn from ( obj : NodeIterator ) -> JsValue { obj . obj } } impl JsCast for NodeIterator { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_NodeIterator ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_NodeIterator ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { NodeIterator { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const NodeIterator ) } } } ( ) } ; impl core :: ops :: Deref for NodeIterator { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < NodeIterator > for Object { # [ inline ] fn from ( obj : NodeIterator ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for NodeIterator { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_detach_NodeIterator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & NodeIterator as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl NodeIterator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `detach()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/detach)\n\n*This API requires the following crate features to be activated: `NodeIterator`*" ] pub fn detach ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_detach_NodeIterator ( self_ : < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_detach_NodeIterator ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `detach()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/detach)\n\n*This API requires the following crate features to be activated: `NodeIterator`*" ] pub fn detach ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_next_node_NodeIterator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & NodeIterator as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl NodeIterator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `nextNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/nextNode)\n\n*This API requires the following crate features to be activated: `Node`, `NodeIterator`*" ] pub fn next_node ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_next_node_NodeIterator ( self_ : < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_next_node_NodeIterator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `nextNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/nextNode)\n\n*This API requires the following crate features to be activated: `Node`, `NodeIterator`*" ] pub fn next_node ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_previous_node_NodeIterator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & NodeIterator as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl NodeIterator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `previousNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/previousNode)\n\n*This API requires the following crate features to be activated: `Node`, `NodeIterator`*" ] pub fn previous_node ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_previous_node_NodeIterator ( self_ : < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_previous_node_NodeIterator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `previousNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/previousNode)\n\n*This API requires the following crate features to be activated: `Node`, `NodeIterator`*" ] pub fn previous_node ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_root_NodeIterator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & NodeIterator as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl NodeIterator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `root` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/root)\n\n*This API requires the following crate features to be activated: `Node`, `NodeIterator`*" ] pub fn root ( & self , ) -> Node { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_root_NodeIterator ( self_ : < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_root_NodeIterator ( self_ ) } ; < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `root` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/root)\n\n*This API requires the following crate features to be activated: `Node`, `NodeIterator`*" ] pub fn root ( & self , ) -> Node { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reference_node_NodeIterator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & NodeIterator as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl NodeIterator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referenceNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/referenceNode)\n\n*This API requires the following crate features to be activated: `Node`, `NodeIterator`*" ] pub fn reference_node ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reference_node_NodeIterator ( self_ : < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reference_node_NodeIterator ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referenceNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/referenceNode)\n\n*This API requires the following crate features to be activated: `Node`, `NodeIterator`*" ] pub fn reference_node ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pointer_before_reference_node_NodeIterator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & NodeIterator as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl NodeIterator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pointerBeforeReferenceNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/pointerBeforeReferenceNode)\n\n*This API requires the following crate features to be activated: `NodeIterator`*" ] pub fn pointer_before_reference_node ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pointer_before_reference_node_NodeIterator ( self_ : < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pointer_before_reference_node_NodeIterator ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pointerBeforeReferenceNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/pointerBeforeReferenceNode)\n\n*This API requires the following crate features to be activated: `NodeIterator`*" ] pub fn pointer_before_reference_node ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_what_to_show_NodeIterator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & NodeIterator as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl NodeIterator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `whatToShow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/whatToShow)\n\n*This API requires the following crate features to be activated: `NodeIterator`*" ] pub fn what_to_show ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_what_to_show_NodeIterator ( self_ : < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_what_to_show_NodeIterator ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `whatToShow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/whatToShow)\n\n*This API requires the following crate features to be activated: `NodeIterator`*" ] pub fn what_to_show ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_filter_NodeIterator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & NodeIterator as WasmDescribe > :: describe ( ) ; < Option < NodeFilter > as WasmDescribe > :: describe ( ) ; } impl NodeIterator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `filter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/filter)\n\n*This API requires the following crate features to be activated: `NodeFilter`, `NodeIterator`*" ] pub fn filter ( & self , ) -> Option < NodeFilter > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_filter_NodeIterator ( self_ : < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < NodeFilter > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NodeIterator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_filter_NodeIterator ( self_ ) } ; < Option < NodeFilter > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `filter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/filter)\n\n*This API requires the following crate features to be activated: `NodeFilter`, `NodeIterator`*" ] pub fn filter ( & self , ) -> Option < NodeFilter > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `NodeList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeList)\n\n*This API requires the following crate features to be activated: `NodeList`*" ] # [ repr ( transparent ) ] pub struct NodeList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_NodeList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for NodeList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for NodeList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for NodeList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a NodeList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for NodeList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { NodeList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for NodeList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a NodeList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for NodeList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < NodeList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( NodeList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for NodeList { # [ inline ] fn from ( obj : JsValue ) -> NodeList { NodeList { obj } } } impl AsRef < JsValue > for NodeList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < NodeList > for JsValue { # [ inline ] fn from ( obj : NodeList ) -> JsValue { obj . obj } } impl JsCast for NodeList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_NodeList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_NodeList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { NodeList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const NodeList ) } } } ( ) } ; impl core :: ops :: Deref for NodeList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < NodeList > for Object { # [ inline ] fn from ( obj : NodeList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for NodeList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_NodeList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & NodeList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl NodeList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/item)\n\n*This API requires the following crate features to be activated: `Node`, `NodeList`*" ] pub fn item ( & self , index : u32 ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_NodeList ( self_ : < & NodeList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NodeList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_NodeList ( self_ , index ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/item)\n\n*This API requires the following crate features to be activated: `Node`, `NodeList`*" ] pub fn item ( & self , index : u32 ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_NodeList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & NodeList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl NodeList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Node`, `NodeList`*" ] pub fn get ( & self , index : u32 ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_NodeList ( self_ : < & NodeList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NodeList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_NodeList ( self_ , index ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Node`, `NodeList`*" ] pub fn get ( & self , index : u32 ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_NodeList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & NodeList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl NodeList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/length)\n\n*This API requires the following crate features to be activated: `NodeList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_NodeList ( self_ : < & NodeList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NodeList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_NodeList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/length)\n\n*This API requires the following crate features to be activated: `NodeList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Notification` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification)\n\n*This API requires the following crate features to be activated: `Notification`*" ] # [ repr ( transparent ) ] pub struct Notification { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Notification : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Notification { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Notification { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Notification { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Notification { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Notification { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Notification { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Notification { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Notification { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Notification { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Notification > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Notification { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Notification { # [ inline ] fn from ( obj : JsValue ) -> Notification { Notification { obj } } } impl AsRef < JsValue > for Notification { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Notification > for JsValue { # [ inline ] fn from ( obj : Notification ) -> JsValue { obj . obj } } impl JsCast for Notification { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Notification ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Notification ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Notification { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Notification ) } } } ( ) } ; impl core :: ops :: Deref for Notification { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < Notification > for EventTarget { # [ inline ] fn from ( obj : Notification ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for Notification { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Notification > for Object { # [ inline ] fn from ( obj : Notification ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Notification { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < Notification as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Notification(..)` constructor, creating a new instance of `Notification`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/Notification)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn new ( title : & str ) -> Result < Notification , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Notification ( title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Notification as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; __widl_f_new_Notification ( title , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Notification as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Notification(..)` constructor, creating a new instance of `Notification`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/Notification)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn new ( title : & str ) -> Result < Notification , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & NotificationOptions as WasmDescribe > :: describe ( ) ; < Notification as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Notification(..)` constructor, creating a new instance of `Notification`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/Notification)\n\n*This API requires the following crate features to be activated: `Notification`, `NotificationOptions`*" ] pub fn new_with_options ( title : & str , options : & NotificationOptions ) -> Result < Notification , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_Notification ( title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & NotificationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Notification as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; let options = < & NotificationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_Notification ( title , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Notification as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Notification(..)` constructor, creating a new instance of `Notification`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/Notification)\n\n*This API requires the following crate features to be activated: `Notification`, `NotificationOptions`*" ] pub fn new_with_options ( title : & str , options : & NotificationOptions ) -> Result < Notification , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/close)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_Notification ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/close)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/get)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn get ( ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_Notification ( exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_get_Notification ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/get)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn get ( ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_filter_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & GetNotificationOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/get)\n\n*This API requires the following crate features to be activated: `GetNotificationOptions`, `Notification`*" ] pub fn get_with_filter ( filter : & GetNotificationOptions ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_filter_Notification ( filter : < & GetNotificationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let filter = < & GetNotificationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( filter , & mut __stack ) ; __widl_f_get_with_filter_Notification ( filter , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/get)\n\n*This API requires the following crate features to be activated: `GetNotificationOptions`, `Notification`*" ] pub fn get_with_filter ( filter : & GetNotificationOptions ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_permission_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestPermission()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn request_permission ( ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_permission_Notification ( exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_request_permission_Notification ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestPermission()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn request_permission ( ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_permission_with_permission_callback_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestPermission()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn request_permission_with_permission_callback ( permission_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_permission_with_permission_callback_Notification ( permission_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let permission_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( permission_callback , & mut __stack ) ; __widl_f_request_permission_with_permission_callback_Notification ( permission_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestPermission()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn request_permission_with_permission_callback ( permission_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_permission_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < NotificationPermission as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `permission` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/permission)\n\n*This API requires the following crate features to be activated: `Notification`, `NotificationPermission`*" ] pub fn permission ( ) -> NotificationPermission { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_permission_Notification ( ) -> < NotificationPermission as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_permission_Notification ( ) } ; < NotificationPermission as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `permission` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/permission)\n\n*This API requires the following crate features to be activated: `Notification`, `NotificationPermission`*" ] pub fn permission ( ) -> NotificationPermission { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclick_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclick)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn onclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclick_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclick_Notification ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclick)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn onclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclick_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclick)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn set_onclick ( & self , onclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclick_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclick , & mut __stack ) ; __widl_f_set_onclick_Notification ( self_ , onclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclick)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn set_onclick ( & self , onclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onshow_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onshow)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn onshow ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onshow_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onshow_Notification ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onshow)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn onshow ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onshow_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onshow)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn set_onshow ( & self , onshow : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onshow_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onshow : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onshow = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onshow , & mut __stack ) ; __widl_f_set_onshow_Notification ( self_ , onshow ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onshow)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn set_onshow ( & self , onshow : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onerror)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_Notification ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onerror)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onerror)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_Notification ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onerror)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclose_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclose)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclose_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclose_Notification ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclose)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclose_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclose)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclose_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclose : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclose = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclose , & mut __stack ) ; __widl_f_set_onclose_Notification ( self_ , onclose ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclose)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_title_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `title` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/title)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn title ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_title_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_title_Notification ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `title` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/title)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn title ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dir_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < NotificationDirection as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dir` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/dir)\n\n*This API requires the following crate features to be activated: `Notification`, `NotificationDirection`*" ] pub fn dir ( & self , ) -> NotificationDirection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dir_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < NotificationDirection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dir_Notification ( self_ ) } ; < NotificationDirection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dir` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/dir)\n\n*This API requires the following crate features to be activated: `Notification`, `NotificationDirection`*" ] pub fn dir ( & self , ) -> NotificationDirection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lang_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/lang)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn lang ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lang_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_lang_Notification ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/lang)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn lang ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_body_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `body` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/body)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn body ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_body_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_body_Notification ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `body` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/body)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn body ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tag_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tag` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/tag)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn tag ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tag_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_tag_Notification ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tag` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/tag)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn tag ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_icon_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `icon` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/icon)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn icon ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_icon_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_icon_Notification ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `icon` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/icon)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn icon ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_require_interaction_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requireInteraction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/requireInteraction)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn require_interaction ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_require_interaction_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_require_interaction_Notification ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requireInteraction` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/requireInteraction)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn require_interaction ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_data_Notification ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Notification as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl Notification { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/data)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn data ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_data_Notification ( self_ : < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Notification as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_data_Notification ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Notification/data)\n\n*This API requires the following crate features to be activated: `Notification`*" ] pub fn data ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `NotificationEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NotificationEvent)\n\n*This API requires the following crate features to be activated: `NotificationEvent`*" ] # [ repr ( transparent ) ] pub struct NotificationEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_NotificationEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for NotificationEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for NotificationEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for NotificationEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a NotificationEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for NotificationEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { NotificationEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for NotificationEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a NotificationEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for NotificationEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < NotificationEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( NotificationEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for NotificationEvent { # [ inline ] fn from ( obj : JsValue ) -> NotificationEvent { NotificationEvent { obj } } } impl AsRef < JsValue > for NotificationEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < NotificationEvent > for JsValue { # [ inline ] fn from ( obj : NotificationEvent ) -> JsValue { obj . obj } } impl JsCast for NotificationEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_NotificationEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_NotificationEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { NotificationEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const NotificationEvent ) } } } ( ) } ; impl core :: ops :: Deref for NotificationEvent { type Target = ExtendableEvent ; # [ inline ] fn deref ( & self ) -> & ExtendableEvent { self . as_ref ( ) } } impl From < NotificationEvent > for ExtendableEvent { # [ inline ] fn from ( obj : NotificationEvent ) -> ExtendableEvent { use wasm_bindgen :: JsCast ; ExtendableEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < ExtendableEvent > for NotificationEvent { # [ inline ] fn as_ref ( & self ) -> & ExtendableEvent { use wasm_bindgen :: JsCast ; ExtendableEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < NotificationEvent > for Event { # [ inline ] fn from ( obj : NotificationEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for NotificationEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < NotificationEvent > for Object { # [ inline ] fn from ( obj : NotificationEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for NotificationEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_NotificationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & NotificationEventInit as WasmDescribe > :: describe ( ) ; < NotificationEvent as WasmDescribe > :: describe ( ) ; } impl NotificationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new NotificationEvent(..)` constructor, creating a new instance of `NotificationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NotificationEvent/NotificationEvent)\n\n*This API requires the following crate features to be activated: `NotificationEvent`, `NotificationEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & NotificationEventInit ) -> Result < NotificationEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_NotificationEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & NotificationEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < NotificationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & NotificationEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_NotificationEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < NotificationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new NotificationEvent(..)` constructor, creating a new instance of `NotificationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NotificationEvent/NotificationEvent)\n\n*This API requires the following crate features to be activated: `NotificationEvent`, `NotificationEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & NotificationEventInit ) -> Result < NotificationEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_notification_NotificationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & NotificationEvent as WasmDescribe > :: describe ( ) ; < Notification as WasmDescribe > :: describe ( ) ; } impl NotificationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `notification` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NotificationEvent/notification)\n\n*This API requires the following crate features to be activated: `Notification`, `NotificationEvent`*" ] pub fn notification ( & self , ) -> Notification { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_notification_NotificationEvent ( self_ : < & NotificationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Notification as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & NotificationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_notification_NotificationEvent ( self_ ) } ; < Notification as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `notification` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/NotificationEvent/notification)\n\n*This API requires the following crate features to be activated: `Notification`, `NotificationEvent`*" ] pub fn notification ( & self , ) -> Notification { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `OfflineAudioCompletionEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioCompletionEvent)\n\n*This API requires the following crate features to be activated: `OfflineAudioCompletionEvent`*" ] # [ repr ( transparent ) ] pub struct OfflineAudioCompletionEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_OfflineAudioCompletionEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for OfflineAudioCompletionEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for OfflineAudioCompletionEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for OfflineAudioCompletionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a OfflineAudioCompletionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for OfflineAudioCompletionEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { OfflineAudioCompletionEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for OfflineAudioCompletionEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a OfflineAudioCompletionEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for OfflineAudioCompletionEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < OfflineAudioCompletionEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( OfflineAudioCompletionEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for OfflineAudioCompletionEvent { # [ inline ] fn from ( obj : JsValue ) -> OfflineAudioCompletionEvent { OfflineAudioCompletionEvent { obj } } } impl AsRef < JsValue > for OfflineAudioCompletionEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < OfflineAudioCompletionEvent > for JsValue { # [ inline ] fn from ( obj : OfflineAudioCompletionEvent ) -> JsValue { obj . obj } } impl JsCast for OfflineAudioCompletionEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_OfflineAudioCompletionEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_OfflineAudioCompletionEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { OfflineAudioCompletionEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const OfflineAudioCompletionEvent ) } } } ( ) } ; impl core :: ops :: Deref for OfflineAudioCompletionEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < OfflineAudioCompletionEvent > for Event { # [ inline ] fn from ( obj : OfflineAudioCompletionEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for OfflineAudioCompletionEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < OfflineAudioCompletionEvent > for Object { # [ inline ] fn from ( obj : OfflineAudioCompletionEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for OfflineAudioCompletionEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_OfflineAudioCompletionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & OfflineAudioCompletionEventInit as WasmDescribe > :: describe ( ) ; < OfflineAudioCompletionEvent as WasmDescribe > :: describe ( ) ; } impl OfflineAudioCompletionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new OfflineAudioCompletionEvent(..)` constructor, creating a new instance of `OfflineAudioCompletionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioCompletionEvent/OfflineAudioCompletionEvent)\n\n*This API requires the following crate features to be activated: `OfflineAudioCompletionEvent`, `OfflineAudioCompletionEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & OfflineAudioCompletionEventInit ) -> Result < OfflineAudioCompletionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_OfflineAudioCompletionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & OfflineAudioCompletionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < OfflineAudioCompletionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & OfflineAudioCompletionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_OfflineAudioCompletionEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < OfflineAudioCompletionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new OfflineAudioCompletionEvent(..)` constructor, creating a new instance of `OfflineAudioCompletionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioCompletionEvent/OfflineAudioCompletionEvent)\n\n*This API requires the following crate features to be activated: `OfflineAudioCompletionEvent`, `OfflineAudioCompletionEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & OfflineAudioCompletionEventInit ) -> Result < OfflineAudioCompletionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rendered_buffer_OfflineAudioCompletionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioCompletionEvent as WasmDescribe > :: describe ( ) ; < AudioBuffer as WasmDescribe > :: describe ( ) ; } impl OfflineAudioCompletionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `renderedBuffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioCompletionEvent/renderedBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `OfflineAudioCompletionEvent`*" ] pub fn rendered_buffer ( & self , ) -> AudioBuffer { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rendered_buffer_OfflineAudioCompletionEvent ( self_ : < & OfflineAudioCompletionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioCompletionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rendered_buffer_OfflineAudioCompletionEvent ( self_ ) } ; < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `renderedBuffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioCompletionEvent/renderedBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `OfflineAudioCompletionEvent`*" ] pub fn rendered_buffer ( & self , ) -> AudioBuffer { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `OfflineAudioContext` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] # [ repr ( transparent ) ] pub struct OfflineAudioContext { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_OfflineAudioContext : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for OfflineAudioContext { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for OfflineAudioContext { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for OfflineAudioContext { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a OfflineAudioContext { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for OfflineAudioContext { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { OfflineAudioContext { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for OfflineAudioContext { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a OfflineAudioContext { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for OfflineAudioContext { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < OfflineAudioContext > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( OfflineAudioContext { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for OfflineAudioContext { # [ inline ] fn from ( obj : JsValue ) -> OfflineAudioContext { OfflineAudioContext { obj } } } impl AsRef < JsValue > for OfflineAudioContext { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < OfflineAudioContext > for JsValue { # [ inline ] fn from ( obj : OfflineAudioContext ) -> JsValue { obj . obj } } impl JsCast for OfflineAudioContext { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_OfflineAudioContext ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_OfflineAudioContext ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { OfflineAudioContext { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const OfflineAudioContext ) } } } ( ) } ; impl core :: ops :: Deref for OfflineAudioContext { type Target = BaseAudioContext ; # [ inline ] fn deref ( & self ) -> & BaseAudioContext { self . as_ref ( ) } } impl From < OfflineAudioContext > for BaseAudioContext { # [ inline ] fn from ( obj : OfflineAudioContext ) -> BaseAudioContext { use wasm_bindgen :: JsCast ; BaseAudioContext :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < BaseAudioContext > for OfflineAudioContext { # [ inline ] fn as_ref ( & self ) -> & BaseAudioContext { use wasm_bindgen :: JsCast ; BaseAudioContext :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < OfflineAudioContext > for EventTarget { # [ inline ] fn from ( obj : OfflineAudioContext ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for OfflineAudioContext { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < OfflineAudioContext > for Object { # [ inline ] fn from ( obj : OfflineAudioContext ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for OfflineAudioContext { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_context_options_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContextOptions as WasmDescribe > :: describe ( ) ; < OfflineAudioContext as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new OfflineAudioContext(..)` constructor, creating a new instance of `OfflineAudioContext`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/OfflineAudioContext)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `OfflineAudioContextOptions`*" ] pub fn new_with_context_options ( context_options : & OfflineAudioContextOptions ) -> Result < OfflineAudioContext , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_context_options_OfflineAudioContext ( context_options : < & OfflineAudioContextOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < OfflineAudioContext as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context_options = < & OfflineAudioContextOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_options , & mut __stack ) ; __widl_f_new_with_context_options_OfflineAudioContext ( context_options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < OfflineAudioContext as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new OfflineAudioContext(..)` constructor, creating a new instance of `OfflineAudioContext`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/OfflineAudioContext)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `OfflineAudioContextOptions`*" ] pub fn new_with_context_options ( context_options : & OfflineAudioContextOptions ) -> Result < OfflineAudioContext , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_number_of_channels_and_length_and_sample_rate_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < OfflineAudioContext as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new OfflineAudioContext(..)` constructor, creating a new instance of `OfflineAudioContext`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/OfflineAudioContext)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn new_with_number_of_channels_and_length_and_sample_rate ( number_of_channels : u32 , length : u32 , sample_rate : f32 ) -> Result < OfflineAudioContext , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_number_of_channels_and_length_and_sample_rate_OfflineAudioContext ( number_of_channels : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sample_rate : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < OfflineAudioContext as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let number_of_channels = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_channels , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; let sample_rate = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sample_rate , & mut __stack ) ; __widl_f_new_with_number_of_channels_and_length_and_sample_rate_OfflineAudioContext ( number_of_channels , length , sample_rate , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < OfflineAudioContext as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new OfflineAudioContext(..)` constructor, creating a new instance of `OfflineAudioContext`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/OfflineAudioContext)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn new_with_number_of_channels_and_length_and_sample_rate ( number_of_channels : u32 , length : u32 , sample_rate : f32 ) -> Result < OfflineAudioContext , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_rendering_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `startRendering()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/startRendering)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn start_rendering ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_rendering_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_rendering_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `startRendering()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/startRendering)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn start_rendering ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/length)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_OfflineAudioContext ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/length)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncomplete_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/oncomplete)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn oncomplete ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncomplete_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncomplete_OfflineAudioContext ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncomplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/oncomplete)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn oncomplete ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncomplete_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/oncomplete)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn set_oncomplete ( & self , oncomplete : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncomplete_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncomplete : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncomplete = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncomplete , & mut __stack ) ; __widl_f_set_oncomplete_OfflineAudioContext ( self_ , oncomplete ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncomplete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/oncomplete)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn set_oncomplete ( & self , oncomplete : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_analyser_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < AnalyserNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createAnalyser()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createAnalyser)\n\n*This API requires the following crate features to be activated: `AnalyserNode`, `OfflineAudioContext`*" ] pub fn create_analyser ( & self , ) -> Result < AnalyserNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_analyser_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AnalyserNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_analyser_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AnalyserNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createAnalyser()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createAnalyser)\n\n*This API requires the following crate features to be activated: `AnalyserNode`, `OfflineAudioContext`*" ] pub fn create_analyser ( & self , ) -> Result < AnalyserNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_biquad_filter_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < BiquadFilterNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBiquadFilter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createBiquadFilter)\n\n*This API requires the following crate features to be activated: `BiquadFilterNode`, `OfflineAudioContext`*" ] pub fn create_biquad_filter ( & self , ) -> Result < BiquadFilterNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_biquad_filter_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BiquadFilterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_biquad_filter_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BiquadFilterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBiquadFilter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createBiquadFilter)\n\n*This API requires the following crate features to be activated: `BiquadFilterNode`, `OfflineAudioContext`*" ] pub fn create_biquad_filter ( & self , ) -> Result < BiquadFilterNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_buffer_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < AudioBuffer as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `OfflineAudioContext`*" ] pub fn create_buffer ( & self , number_of_channels : u32 , length : u32 , sample_rate : f32 ) -> Result < AudioBuffer , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_buffer_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_channels : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sample_rate : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let number_of_channels = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_channels , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; let sample_rate = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sample_rate , & mut __stack ) ; __widl_f_create_buffer_OfflineAudioContext ( self_ , number_of_channels , length , sample_rate , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createBuffer)\n\n*This API requires the following crate features to be activated: `AudioBuffer`, `OfflineAudioContext`*" ] pub fn create_buffer ( & self , number_of_channels : u32 , length : u32 , sample_rate : f32 ) -> Result < AudioBuffer , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_buffer_source_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < AudioBufferSourceNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBufferSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createBufferSource)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `OfflineAudioContext`*" ] pub fn create_buffer_source ( & self , ) -> Result < AudioBufferSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_buffer_source_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioBufferSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_buffer_source_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioBufferSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBufferSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createBufferSource)\n\n*This API requires the following crate features to be activated: `AudioBufferSourceNode`, `OfflineAudioContext`*" ] pub fn create_buffer_source ( & self , ) -> Result < AudioBufferSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_channel_merger_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < ChannelMergerNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createChannelMerger()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createChannelMerger)\n\n*This API requires the following crate features to be activated: `ChannelMergerNode`, `OfflineAudioContext`*" ] pub fn create_channel_merger ( & self , ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_channel_merger_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_channel_merger_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createChannelMerger()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createChannelMerger)\n\n*This API requires the following crate features to be activated: `ChannelMergerNode`, `OfflineAudioContext`*" ] pub fn create_channel_merger ( & self , ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_channel_merger_with_number_of_inputs_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ChannelMergerNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createChannelMerger()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createChannelMerger)\n\n*This API requires the following crate features to be activated: `ChannelMergerNode`, `OfflineAudioContext`*" ] pub fn create_channel_merger_with_number_of_inputs ( & self , number_of_inputs : u32 ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_channel_merger_with_number_of_inputs_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_inputs : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let number_of_inputs = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_inputs , & mut __stack ) ; __widl_f_create_channel_merger_with_number_of_inputs_OfflineAudioContext ( self_ , number_of_inputs , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelMergerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createChannelMerger()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createChannelMerger)\n\n*This API requires the following crate features to be activated: `ChannelMergerNode`, `OfflineAudioContext`*" ] pub fn create_channel_merger_with_number_of_inputs ( & self , number_of_inputs : u32 ) -> Result < ChannelMergerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_channel_splitter_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < ChannelSplitterNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createChannelSplitter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createChannelSplitter)\n\n*This API requires the following crate features to be activated: `ChannelSplitterNode`, `OfflineAudioContext`*" ] pub fn create_channel_splitter ( & self , ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_channel_splitter_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_channel_splitter_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createChannelSplitter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createChannelSplitter)\n\n*This API requires the following crate features to be activated: `ChannelSplitterNode`, `OfflineAudioContext`*" ] pub fn create_channel_splitter ( & self , ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_channel_splitter_with_number_of_outputs_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ChannelSplitterNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createChannelSplitter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createChannelSplitter)\n\n*This API requires the following crate features to be activated: `ChannelSplitterNode`, `OfflineAudioContext`*" ] pub fn create_channel_splitter_with_number_of_outputs ( & self , number_of_outputs : u32 ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_channel_splitter_with_number_of_outputs_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_outputs : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let number_of_outputs = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_outputs , & mut __stack ) ; __widl_f_create_channel_splitter_with_number_of_outputs_OfflineAudioContext ( self_ , number_of_outputs , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ChannelSplitterNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createChannelSplitter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createChannelSplitter)\n\n*This API requires the following crate features to be activated: `ChannelSplitterNode`, `OfflineAudioContext`*" ] pub fn create_channel_splitter_with_number_of_outputs ( & self , number_of_outputs : u32 ) -> Result < ChannelSplitterNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_constant_source_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < ConstantSourceNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createConstantSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createConstantSource)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`, `OfflineAudioContext`*" ] pub fn create_constant_source ( & self , ) -> Result < ConstantSourceNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_constant_source_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ConstantSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_constant_source_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ConstantSourceNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createConstantSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createConstantSource)\n\n*This API requires the following crate features to be activated: `ConstantSourceNode`, `OfflineAudioContext`*" ] pub fn create_constant_source ( & self , ) -> Result < ConstantSourceNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_convolver_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < ConvolverNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createConvolver()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createConvolver)\n\n*This API requires the following crate features to be activated: `ConvolverNode`, `OfflineAudioContext`*" ] pub fn create_convolver ( & self , ) -> Result < ConvolverNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_convolver_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ConvolverNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_convolver_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ConvolverNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createConvolver()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createConvolver)\n\n*This API requires the following crate features to be activated: `ConvolverNode`, `OfflineAudioContext`*" ] pub fn create_convolver ( & self , ) -> Result < ConvolverNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_delay_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < DelayNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDelay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createDelay)\n\n*This API requires the following crate features to be activated: `DelayNode`, `OfflineAudioContext`*" ] pub fn create_delay ( & self , ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_delay_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_delay_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDelay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createDelay)\n\n*This API requires the following crate features to be activated: `DelayNode`, `OfflineAudioContext`*" ] pub fn create_delay ( & self , ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_delay_with_max_delay_time_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < DelayNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDelay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createDelay)\n\n*This API requires the following crate features to be activated: `DelayNode`, `OfflineAudioContext`*" ] pub fn create_delay_with_max_delay_time ( & self , max_delay_time : f64 ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_delay_with_max_delay_time_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max_delay_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let max_delay_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max_delay_time , & mut __stack ) ; __widl_f_create_delay_with_max_delay_time_OfflineAudioContext ( self_ , max_delay_time , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DelayNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDelay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createDelay)\n\n*This API requires the following crate features to be activated: `DelayNode`, `OfflineAudioContext`*" ] pub fn create_delay_with_max_delay_time ( & self , max_delay_time : f64 ) -> Result < DelayNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_dynamics_compressor_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < DynamicsCompressorNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDynamicsCompressor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createDynamicsCompressor)\n\n*This API requires the following crate features to be activated: `DynamicsCompressorNode`, `OfflineAudioContext`*" ] pub fn create_dynamics_compressor ( & self , ) -> Result < DynamicsCompressorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_dynamics_compressor_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DynamicsCompressorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_dynamics_compressor_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DynamicsCompressorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDynamicsCompressor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createDynamicsCompressor)\n\n*This API requires the following crate features to be activated: `DynamicsCompressorNode`, `OfflineAudioContext`*" ] pub fn create_dynamics_compressor ( & self , ) -> Result < DynamicsCompressorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_gain_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < GainNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createGain()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createGain)\n\n*This API requires the following crate features to be activated: `GainNode`, `OfflineAudioContext`*" ] pub fn create_gain ( & self , ) -> Result < GainNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_gain_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < GainNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_gain_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < GainNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createGain()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createGain)\n\n*This API requires the following crate features to be activated: `GainNode`, `OfflineAudioContext`*" ] pub fn create_gain ( & self , ) -> Result < GainNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_oscillator_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < OscillatorNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createOscillator()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createOscillator)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `OscillatorNode`*" ] pub fn create_oscillator ( & self , ) -> Result < OscillatorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_oscillator_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < OscillatorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_oscillator_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < OscillatorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createOscillator()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createOscillator)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `OscillatorNode`*" ] pub fn create_oscillator ( & self , ) -> Result < OscillatorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_panner_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < PannerNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPanner()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createPanner)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `PannerNode`*" ] pub fn create_panner ( & self , ) -> Result < PannerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_panner_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_panner_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPanner()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createPanner)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `PannerNode`*" ] pub fn create_panner ( & self , ) -> Result < PannerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_periodic_wave_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < PeriodicWave as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createPeriodicWave)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `PeriodicWave`*" ] pub fn create_periodic_wave ( & self , real : & mut [ f32 ] , imag : & mut [ f32 ] ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_periodic_wave_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , real : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , imag : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let real = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( real , & mut __stack ) ; let imag = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( imag , & mut __stack ) ; __widl_f_create_periodic_wave_OfflineAudioContext ( self_ , real , imag , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createPeriodicWave)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `PeriodicWave`*" ] pub fn create_periodic_wave ( & self , real : & mut [ f32 ] , imag : & mut [ f32 ] ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_periodic_wave_with_constraints_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < & PeriodicWaveConstraints as WasmDescribe > :: describe ( ) ; < PeriodicWave as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createPeriodicWave)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `PeriodicWave`, `PeriodicWaveConstraints`*" ] pub fn create_periodic_wave_with_constraints ( & self , real : & mut [ f32 ] , imag : & mut [ f32 ] , constraints : & PeriodicWaveConstraints ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_periodic_wave_with_constraints_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , real : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , imag : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , constraints : < & PeriodicWaveConstraints as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let real = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( real , & mut __stack ) ; let imag = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( imag , & mut __stack ) ; let constraints = < & PeriodicWaveConstraints as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( constraints , & mut __stack ) ; __widl_f_create_periodic_wave_with_constraints_OfflineAudioContext ( self_ , real , imag , constraints , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createPeriodicWave)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `PeriodicWave`, `PeriodicWaveConstraints`*" ] pub fn create_periodic_wave_with_constraints ( & self , real : & mut [ f32 ] , imag : & mut [ f32 ] , constraints : & PeriodicWaveConstraints ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_script_processor_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < ScriptProcessorNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor ( & self , ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_script_processor_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_script_processor_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor ( & self , ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_script_processor_with_buffer_size_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ScriptProcessorNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size ( & self , buffer_size : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_script_processor_with_buffer_size_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer_size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer_size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer_size , & mut __stack ) ; __widl_f_create_script_processor_with_buffer_size_OfflineAudioContext ( self_ , buffer_size , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size ( & self , buffer_size : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ScriptProcessorNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size_and_number_of_input_channels ( & self , buffer_size : u32 , number_of_input_channels : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer_size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_input_channels : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer_size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer_size , & mut __stack ) ; let number_of_input_channels = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_input_channels , & mut __stack ) ; __widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_OfflineAudioContext ( self_ , buffer_size , number_of_input_channels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size_and_number_of_input_channels ( & self , buffer_size : u32 , number_of_input_channels : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ScriptProcessorNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels ( & self , buffer_size : u32 , number_of_input_channels : u32 , number_of_output_channels : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer_size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_input_channels : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , number_of_output_channels : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer_size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer_size , & mut __stack ) ; let number_of_input_channels = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_input_channels , & mut __stack ) ; let number_of_output_channels = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( number_of_output_channels , & mut __stack ) ; __widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels_OfflineAudioContext ( self_ , buffer_size , number_of_input_channels , number_of_output_channels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ScriptProcessorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createScriptProcessor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createScriptProcessor)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `ScriptProcessorNode`*" ] pub fn create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels ( & self , buffer_size : u32 , number_of_input_channels : u32 , number_of_output_channels : u32 ) -> Result < ScriptProcessorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_stereo_panner_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < StereoPannerNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createStereoPanner()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createStereoPanner)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `StereoPannerNode`*" ] pub fn create_stereo_panner ( & self , ) -> Result < StereoPannerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_stereo_panner_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < StereoPannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_stereo_panner_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < StereoPannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createStereoPanner()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createStereoPanner)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `StereoPannerNode`*" ] pub fn create_stereo_panner ( & self , ) -> Result < StereoPannerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_wave_shaper_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < WaveShaperNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createWaveShaper()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createWaveShaper)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `WaveShaperNode`*" ] pub fn create_wave_shaper ( & self , ) -> Result < WaveShaperNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_wave_shaper_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WaveShaperNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_wave_shaper_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WaveShaperNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createWaveShaper()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/createWaveShaper)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`, `WaveShaperNode`*" ] pub fn create_wave_shaper ( & self , ) -> Result < WaveShaperNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_audio_data_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn decode_audio_data ( & self , audio_data : & :: js_sys :: ArrayBuffer ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_audio_data_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , audio_data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let audio_data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( audio_data , & mut __stack ) ; __widl_f_decode_audio_data_OfflineAudioContext ( self_ , audio_data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn decode_audio_data ( & self , audio_data : & :: js_sys :: ArrayBuffer ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_audio_data_with_success_callback_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn decode_audio_data_with_success_callback ( & self , audio_data : & :: js_sys :: ArrayBuffer , success_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_audio_data_with_success_callback_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , audio_data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let audio_data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( audio_data , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; __widl_f_decode_audio_data_with_success_callback_OfflineAudioContext ( self_ , audio_data , success_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn decode_audio_data_with_success_callback ( & self , audio_data : & :: js_sys :: ArrayBuffer , success_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_audio_data_with_success_callback_and_error_callback_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn decode_audio_data_with_success_callback_and_error_callback ( & self , audio_data : & :: js_sys :: ArrayBuffer , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_audio_data_with_success_callback_and_error_callback_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , audio_data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , error_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let audio_data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( audio_data , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let error_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( error_callback , & mut __stack ) ; __widl_f_decode_audio_data_with_success_callback_and_error_callback_OfflineAudioContext ( self_ , audio_data , success_callback , error_callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decodeAudioData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/decodeAudioData)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn decode_audio_data_with_success_callback_and_error_callback ( & self , audio_data : & :: js_sys :: ArrayBuffer , success_callback : & :: js_sys :: Function , error_callback : & :: js_sys :: Function ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_resume_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `resume()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/resume)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn resume ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_resume_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_resume_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `resume()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/resume)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn resume ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_destination_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < AudioDestinationNode as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `destination` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/destination)\n\n*This API requires the following crate features to be activated: `AudioDestinationNode`, `OfflineAudioContext`*" ] pub fn destination ( & self , ) -> AudioDestinationNode { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_destination_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioDestinationNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_destination_OfflineAudioContext ( self_ ) } ; < AudioDestinationNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `destination` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/destination)\n\n*This API requires the following crate features to be activated: `AudioDestinationNode`, `OfflineAudioContext`*" ] pub fn destination ( & self , ) -> AudioDestinationNode { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sample_rate_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sampleRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/sampleRate)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn sample_rate ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sample_rate_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sample_rate_OfflineAudioContext ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sampleRate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/sampleRate)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn sample_rate ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_time_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/currentTime)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn current_time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_time_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_time_OfflineAudioContext ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/currentTime)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn current_time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_listener_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < AudioListener as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `listener` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/listener)\n\n*This API requires the following crate features to be activated: `AudioListener`, `OfflineAudioContext`*" ] pub fn listener ( & self , ) -> AudioListener { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_listener_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioListener as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_listener_OfflineAudioContext ( self_ ) } ; < AudioListener as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `listener` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/listener)\n\n*This API requires the following crate features to be activated: `AudioListener`, `OfflineAudioContext`*" ] pub fn listener ( & self , ) -> AudioListener { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_state_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < AudioContextState as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/state)\n\n*This API requires the following crate features to be activated: `AudioContextState`, `OfflineAudioContext`*" ] pub fn state ( & self , ) -> AudioContextState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_state_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioContextState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_state_OfflineAudioContext ( self_ ) } ; < AudioContextState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/state)\n\n*This API requires the following crate features to be activated: `AudioContextState`, `OfflineAudioContext`*" ] pub fn state ( & self , ) -> AudioContextState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_audio_worklet_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < AudioWorklet as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `audioWorklet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/audioWorklet)\n\n*This API requires the following crate features to be activated: `AudioWorklet`, `OfflineAudioContext`*" ] pub fn audio_worklet ( & self , ) -> Result < AudioWorklet , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_audio_worklet_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < AudioWorklet as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_audio_worklet_OfflineAudioContext ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < AudioWorklet as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `audioWorklet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/audioWorklet)\n\n*This API requires the following crate features to be activated: `AudioWorklet`, `OfflineAudioContext`*" ] pub fn audio_worklet ( & self , ) -> Result < AudioWorklet , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstatechange_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/onstatechange)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstatechange_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstatechange_OfflineAudioContext ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/onstatechange)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstatechange_OfflineAudioContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineAudioContext as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OfflineAudioContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/onstatechange)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstatechange_OfflineAudioContext ( self_ : < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstatechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstatechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstatechange , & mut __stack ) ; __widl_f_set_onstatechange_OfflineAudioContext ( self_ , onstatechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/onstatechange)\n\n*This API requires the following crate features to be activated: `OfflineAudioContext`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `OfflineResourceList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] # [ repr ( transparent ) ] pub struct OfflineResourceList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_OfflineResourceList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for OfflineResourceList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for OfflineResourceList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for OfflineResourceList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a OfflineResourceList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for OfflineResourceList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { OfflineResourceList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for OfflineResourceList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a OfflineResourceList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for OfflineResourceList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < OfflineResourceList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( OfflineResourceList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for OfflineResourceList { # [ inline ] fn from ( obj : JsValue ) -> OfflineResourceList { OfflineResourceList { obj } } } impl AsRef < JsValue > for OfflineResourceList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < OfflineResourceList > for JsValue { # [ inline ] fn from ( obj : OfflineResourceList ) -> JsValue { obj . obj } } impl JsCast for OfflineResourceList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_OfflineResourceList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_OfflineResourceList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { OfflineResourceList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const OfflineResourceList ) } } } ( ) } ; impl core :: ops :: Deref for OfflineResourceList { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < OfflineResourceList > for EventTarget { # [ inline ] fn from ( obj : OfflineResourceList ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for OfflineResourceList { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < OfflineResourceList > for Object { # [ inline ] fn from ( obj : OfflineResourceList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for OfflineResourceList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_swap_cache_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `swapCache()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/swapCache)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn swap_cache ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_swap_cache_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_swap_cache_OfflineResourceList ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `swapCache()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/swapCache)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn swap_cache ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_update_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `update()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/update)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn update ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_update_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_update_OfflineResourceList ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `update()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/update)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn update ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_status_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `status` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/status)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn status ( & self , ) -> Result < u16 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_status_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_status_OfflineResourceList ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `status` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/status)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn status ( & self , ) -> Result < u16 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchecking_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchecking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onchecking)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn onchecking ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchecking_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchecking_OfflineResourceList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchecking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onchecking)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn onchecking ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchecking_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchecking` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onchecking)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_onchecking ( & self , onchecking : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchecking_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchecking : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchecking = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchecking , & mut __stack ) ; __widl_f_set_onchecking_OfflineResourceList ( self_ , onchecking ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchecking` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onchecking)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_onchecking ( & self , onchecking : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onerror)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_OfflineResourceList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onerror)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onerror)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_OfflineResourceList ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onerror)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onnoupdate_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onnoupdate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onnoupdate)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn onnoupdate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onnoupdate_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onnoupdate_OfflineResourceList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onnoupdate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onnoupdate)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn onnoupdate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onnoupdate_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onnoupdate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onnoupdate)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_onnoupdate ( & self , onnoupdate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onnoupdate_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onnoupdate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onnoupdate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onnoupdate , & mut __stack ) ; __widl_f_set_onnoupdate_OfflineResourceList ( self_ , onnoupdate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onnoupdate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onnoupdate)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_onnoupdate ( & self , onnoupdate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondownloading_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondownloading` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/ondownloading)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn ondownloading ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondownloading_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondownloading_OfflineResourceList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondownloading` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/ondownloading)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn ondownloading ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondownloading_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondownloading` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/ondownloading)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_ondownloading ( & self , ondownloading : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondownloading_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondownloading : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondownloading = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondownloading , & mut __stack ) ; __widl_f_set_ondownloading_OfflineResourceList ( self_ , ondownloading ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondownloading` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/ondownloading)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_ondownloading ( & self , ondownloading : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onprogress_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onprogress)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onprogress_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onprogress_OfflineResourceList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onprogress)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onprogress_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onprogress)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onprogress_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onprogress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onprogress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onprogress , & mut __stack ) ; __widl_f_set_onprogress_OfflineResourceList ( self_ , onprogress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onprogress)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onupdateready_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onupdateready` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onupdateready)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn onupdateready ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onupdateready_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onupdateready_OfflineResourceList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onupdateready` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onupdateready)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn onupdateready ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onupdateready_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onupdateready` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onupdateready)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_onupdateready ( & self , onupdateready : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onupdateready_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onupdateready : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onupdateready = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onupdateready , & mut __stack ) ; __widl_f_set_onupdateready_OfflineResourceList ( self_ , onupdateready ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onupdateready` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onupdateready)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_onupdateready ( & self , onupdateready : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncached_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncached` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/oncached)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn oncached ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncached_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncached_OfflineResourceList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncached` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/oncached)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn oncached ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncached_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncached` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/oncached)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_oncached ( & self , oncached : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncached_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncached : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncached = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncached , & mut __stack ) ; __widl_f_set_oncached_OfflineResourceList ( self_ , oncached ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncached` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/oncached)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_oncached ( & self , oncached : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onobsolete_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onobsolete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onobsolete)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn onobsolete ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onobsolete_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onobsolete_OfflineResourceList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onobsolete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onobsolete)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn onobsolete ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onobsolete_OfflineResourceList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OfflineResourceList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OfflineResourceList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onobsolete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onobsolete)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_onobsolete ( & self , onobsolete : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onobsolete_OfflineResourceList ( self_ : < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onobsolete : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OfflineResourceList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onobsolete = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onobsolete , & mut __stack ) ; __widl_f_set_onobsolete_OfflineResourceList ( self_ , onobsolete ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onobsolete` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OfflineResourceList/onobsolete)\n\n*This API requires the following crate features to be activated: `OfflineResourceList`*" ] pub fn set_onobsolete ( & self , onobsolete : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `OffscreenCanvas` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] # [ repr ( transparent ) ] pub struct OffscreenCanvas { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_OffscreenCanvas : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for OffscreenCanvas { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for OffscreenCanvas { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for OffscreenCanvas { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a OffscreenCanvas { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for OffscreenCanvas { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { OffscreenCanvas { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for OffscreenCanvas { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a OffscreenCanvas { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for OffscreenCanvas { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < OffscreenCanvas > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( OffscreenCanvas { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for OffscreenCanvas { # [ inline ] fn from ( obj : JsValue ) -> OffscreenCanvas { OffscreenCanvas { obj } } } impl AsRef < JsValue > for OffscreenCanvas { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < OffscreenCanvas > for JsValue { # [ inline ] fn from ( obj : OffscreenCanvas ) -> JsValue { obj . obj } } impl JsCast for OffscreenCanvas { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_OffscreenCanvas ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_OffscreenCanvas ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { OffscreenCanvas { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const OffscreenCanvas ) } } } ( ) } ; impl core :: ops :: Deref for OffscreenCanvas { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < OffscreenCanvas > for EventTarget { # [ inline ] fn from ( obj : OffscreenCanvas ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for OffscreenCanvas { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < OffscreenCanvas > for Object { # [ inline ] fn from ( obj : OffscreenCanvas ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for OffscreenCanvas { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_OffscreenCanvas ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < OffscreenCanvas as WasmDescribe > :: describe ( ) ; } impl OffscreenCanvas { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new OffscreenCanvas(..)` constructor, creating a new instance of `OffscreenCanvas`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/OffscreenCanvas)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn new ( width : u32 , height : u32 ) -> Result < OffscreenCanvas , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_OffscreenCanvas ( width : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < OffscreenCanvas as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let width = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_new_OffscreenCanvas ( width , height , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < OffscreenCanvas as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new OffscreenCanvas(..)` constructor, creating a new instance of `OffscreenCanvas`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/OffscreenCanvas)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn new ( width : u32 , height : u32 ) -> Result < OffscreenCanvas , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_context_OffscreenCanvas ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OffscreenCanvas as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl OffscreenCanvas { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getContext()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/getContext)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn get_context ( & self , context_id : & str ) -> Result < Option < :: js_sys :: Object > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_context_OffscreenCanvas ( self_ : < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let context_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_id , & mut __stack ) ; __widl_f_get_context_OffscreenCanvas ( self_ , context_id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getContext()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/getContext)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn get_context ( & self , context_id : & str ) -> Result < Option < :: js_sys :: Object > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_context_with_context_options_OffscreenCanvas ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & OffscreenCanvas as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl OffscreenCanvas { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getContext()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/getContext)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn get_context_with_context_options ( & self , context_id : & str , context_options : & :: wasm_bindgen :: JsValue ) -> Result < Option < :: js_sys :: Object > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_context_with_context_options_OffscreenCanvas ( self_ : < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_options : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let context_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_id , & mut __stack ) ; let context_options = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_options , & mut __stack ) ; __widl_f_get_context_with_context_options_OffscreenCanvas ( self_ , context_id , context_options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getContext()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/getContext)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn get_context_with_context_options ( & self , context_id : & str , context_options : & :: wasm_bindgen :: JsValue ) -> Result < Option < :: js_sys :: Object > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_blob_OffscreenCanvas ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OffscreenCanvas as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl OffscreenCanvas { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toBlob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/toBlob)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn to_blob ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_blob_OffscreenCanvas ( self_ : < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_blob_OffscreenCanvas ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toBlob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/toBlob)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn to_blob ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_blob_with_type_OffscreenCanvas ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OffscreenCanvas as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl OffscreenCanvas { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toBlob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/toBlob)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn to_blob_with_type ( & self , type_ : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_blob_with_type_OffscreenCanvas ( self_ : < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_to_blob_with_type_OffscreenCanvas ( self_ , type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toBlob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/toBlob)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn to_blob_with_type ( & self , type_ : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_blob_with_type_and_encoder_options_OffscreenCanvas ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & OffscreenCanvas as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl OffscreenCanvas { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toBlob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/toBlob)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn to_blob_with_type_and_encoder_options ( & self , type_ : & str , encoder_options : & :: wasm_bindgen :: JsValue ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_blob_with_type_and_encoder_options_OffscreenCanvas ( self_ : < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , encoder_options : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let encoder_options = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( encoder_options , & mut __stack ) ; __widl_f_to_blob_with_type_and_encoder_options_OffscreenCanvas ( self_ , type_ , encoder_options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toBlob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/toBlob)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn to_blob_with_type_and_encoder_options ( & self , type_ : & str , encoder_options : & :: wasm_bindgen :: JsValue ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transfer_to_image_bitmap_OffscreenCanvas ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OffscreenCanvas as WasmDescribe > :: describe ( ) ; < ImageBitmap as WasmDescribe > :: describe ( ) ; } impl OffscreenCanvas { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transferToImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/transferToImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `OffscreenCanvas`*" ] pub fn transfer_to_image_bitmap ( & self , ) -> Result < ImageBitmap , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transfer_to_image_bitmap_OffscreenCanvas ( self_ : < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ImageBitmap as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_transfer_to_image_bitmap_OffscreenCanvas ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ImageBitmap as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transferToImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/transferToImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `OffscreenCanvas`*" ] pub fn transfer_to_image_bitmap ( & self , ) -> Result < ImageBitmap , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_OffscreenCanvas ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OffscreenCanvas as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl OffscreenCanvas { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/width)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn width ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_OffscreenCanvas ( self_ : < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_OffscreenCanvas ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/width)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn width ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_OffscreenCanvas ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OffscreenCanvas as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OffscreenCanvas { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/width)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn set_width ( & self , width : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_OffscreenCanvas ( self_ : < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_OffscreenCanvas ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/width)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn set_width ( & self , width : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_OffscreenCanvas ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OffscreenCanvas as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl OffscreenCanvas { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/height)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn height ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_OffscreenCanvas ( self_ : < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_OffscreenCanvas ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/height)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn height ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_height_OffscreenCanvas ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OffscreenCanvas as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OffscreenCanvas { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/height)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn set_height ( & self , height : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_height_OffscreenCanvas ( self_ : < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OffscreenCanvas as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let height = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_set_height_OffscreenCanvas ( self_ , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/height)\n\n*This API requires the following crate features to be activated: `OffscreenCanvas`*" ] pub fn set_height ( & self , height : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `OscillatorNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode)\n\n*This API requires the following crate features to be activated: `OscillatorNode`*" ] # [ repr ( transparent ) ] pub struct OscillatorNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_OscillatorNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for OscillatorNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for OscillatorNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for OscillatorNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a OscillatorNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for OscillatorNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { OscillatorNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for OscillatorNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a OscillatorNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for OscillatorNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < OscillatorNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( OscillatorNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for OscillatorNode { # [ inline ] fn from ( obj : JsValue ) -> OscillatorNode { OscillatorNode { obj } } } impl AsRef < JsValue > for OscillatorNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < OscillatorNode > for JsValue { # [ inline ] fn from ( obj : OscillatorNode ) -> JsValue { obj . obj } } impl JsCast for OscillatorNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_OscillatorNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_OscillatorNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { OscillatorNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const OscillatorNode ) } } } ( ) } ; impl core :: ops :: Deref for OscillatorNode { type Target = AudioScheduledSourceNode ; # [ inline ] fn deref ( & self ) -> & AudioScheduledSourceNode { self . as_ref ( ) } } impl From < OscillatorNode > for AudioScheduledSourceNode { # [ inline ] fn from ( obj : OscillatorNode ) -> AudioScheduledSourceNode { use wasm_bindgen :: JsCast ; AudioScheduledSourceNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioScheduledSourceNode > for OscillatorNode { # [ inline ] fn as_ref ( & self ) -> & AudioScheduledSourceNode { use wasm_bindgen :: JsCast ; AudioScheduledSourceNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < OscillatorNode > for AudioNode { # [ inline ] fn from ( obj : OscillatorNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for OscillatorNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < OscillatorNode > for EventTarget { # [ inline ] fn from ( obj : OscillatorNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for OscillatorNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < OscillatorNode > for Object { # [ inline ] fn from ( obj : OscillatorNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for OscillatorNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_OscillatorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < OscillatorNode as WasmDescribe > :: describe ( ) ; } impl OscillatorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new OscillatorNode(..)` constructor, creating a new instance of `OscillatorNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/OscillatorNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `OscillatorNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < OscillatorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_OscillatorNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < OscillatorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_OscillatorNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < OscillatorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new OscillatorNode(..)` constructor, creating a new instance of `OscillatorNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/OscillatorNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `OscillatorNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < OscillatorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_OscillatorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & OscillatorOptions as WasmDescribe > :: describe ( ) ; < OscillatorNode as WasmDescribe > :: describe ( ) ; } impl OscillatorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new OscillatorNode(..)` constructor, creating a new instance of `OscillatorNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/OscillatorNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `OscillatorNode`, `OscillatorOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & OscillatorOptions ) -> Result < OscillatorNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_OscillatorNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & OscillatorOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < OscillatorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & OscillatorOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_OscillatorNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < OscillatorNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new OscillatorNode(..)` constructor, creating a new instance of `OscillatorNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/OscillatorNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `OscillatorNode`, `OscillatorOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & OscillatorOptions ) -> Result < OscillatorNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_periodic_wave_OscillatorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OscillatorNode as WasmDescribe > :: describe ( ) ; < & PeriodicWave as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OscillatorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/setPeriodicWave)\n\n*This API requires the following crate features to be activated: `OscillatorNode`, `PeriodicWave`*" ] pub fn set_periodic_wave ( & self , periodic_wave : & PeriodicWave ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_periodic_wave_OscillatorNode ( self_ : < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , periodic_wave : < & PeriodicWave as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let periodic_wave = < & PeriodicWave as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( periodic_wave , & mut __stack ) ; __widl_f_set_periodic_wave_OscillatorNode ( self_ , periodic_wave ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setPeriodicWave()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/setPeriodicWave)\n\n*This API requires the following crate features to be activated: `OscillatorNode`, `PeriodicWave`*" ] pub fn set_periodic_wave ( & self , periodic_wave : & PeriodicWave ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_OscillatorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OscillatorNode as WasmDescribe > :: describe ( ) ; < OscillatorType as WasmDescribe > :: describe ( ) ; } impl OscillatorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/type)\n\n*This API requires the following crate features to be activated: `OscillatorNode`, `OscillatorType`*" ] pub fn type_ ( & self , ) -> OscillatorType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_OscillatorNode ( self_ : < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < OscillatorType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_OscillatorNode ( self_ ) } ; < OscillatorType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/type)\n\n*This API requires the following crate features to be activated: `OscillatorNode`, `OscillatorType`*" ] pub fn type_ ( & self , ) -> OscillatorType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_OscillatorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OscillatorNode as WasmDescribe > :: describe ( ) ; < OscillatorType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OscillatorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/type)\n\n*This API requires the following crate features to be activated: `OscillatorNode`, `OscillatorType`*" ] pub fn set_type ( & self , type_ : OscillatorType ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_OscillatorNode ( self_ : < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < OscillatorType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < OscillatorType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_OscillatorNode ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/type)\n\n*This API requires the following crate features to be activated: `OscillatorNode`, `OscillatorType`*" ] pub fn set_type ( & self , type_ : OscillatorType ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_frequency_OscillatorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OscillatorNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl OscillatorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frequency` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/frequency)\n\n*This API requires the following crate features to be activated: `AudioParam`, `OscillatorNode`*" ] pub fn frequency ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_frequency_OscillatorNode ( self_ : < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_frequency_OscillatorNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frequency` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/frequency)\n\n*This API requires the following crate features to be activated: `AudioParam`, `OscillatorNode`*" ] pub fn frequency ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_detune_OscillatorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OscillatorNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl OscillatorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `detune` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/detune)\n\n*This API requires the following crate features to be activated: `AudioParam`, `OscillatorNode`*" ] pub fn detune ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_detune_OscillatorNode ( self_ : < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_detune_OscillatorNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `detune` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/detune)\n\n*This API requires the following crate features to be activated: `AudioParam`, `OscillatorNode`*" ] pub fn detune ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_OscillatorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OscillatorNode as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OscillatorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/start)\n\n*This API requires the following crate features to be activated: `OscillatorNode`*" ] pub fn start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_OscillatorNode ( self_ : < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_OscillatorNode ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/start)\n\n*This API requires the following crate features to be activated: `OscillatorNode`*" ] pub fn start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_with_when_OscillatorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OscillatorNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OscillatorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/start)\n\n*This API requires the following crate features to be activated: `OscillatorNode`*" ] pub fn start_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_with_when_OscillatorNode ( self_ : < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , when : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let when = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( when , & mut __stack ) ; __widl_f_start_with_when_OscillatorNode ( self_ , when , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/start)\n\n*This API requires the following crate features to be activated: `OscillatorNode`*" ] pub fn start_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_OscillatorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OscillatorNode as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OscillatorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/stop)\n\n*This API requires the following crate features to be activated: `OscillatorNode`*" ] pub fn stop ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_OscillatorNode ( self_ : < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stop_OscillatorNode ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/stop)\n\n*This API requires the following crate features to be activated: `OscillatorNode`*" ] pub fn stop ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_with_when_OscillatorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OscillatorNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OscillatorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/stop)\n\n*This API requires the following crate features to be activated: `OscillatorNode`*" ] pub fn stop_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_with_when_OscillatorNode ( self_ : < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , when : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let when = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( when , & mut __stack ) ; __widl_f_stop_with_when_OscillatorNode ( self_ , when , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/stop)\n\n*This API requires the following crate features to be activated: `OscillatorNode`*" ] pub fn stop_with_when ( & self , when : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onended_OscillatorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & OscillatorNode as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl OscillatorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/onended)\n\n*This API requires the following crate features to be activated: `OscillatorNode`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onended_OscillatorNode ( self_ : < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onended_OscillatorNode ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/onended)\n\n*This API requires the following crate features to be activated: `OscillatorNode`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onended_OscillatorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & OscillatorNode as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl OscillatorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/onended)\n\n*This API requires the following crate features to be activated: `OscillatorNode`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onended_OscillatorNode ( self_ : < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onended : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & OscillatorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onended = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onended , & mut __stack ) ; __widl_f_set_onended_OscillatorNode ( self_ , onended ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/onended)\n\n*This API requires the following crate features to be activated: `OscillatorNode`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PageTransitionEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent)\n\n*This API requires the following crate features to be activated: `PageTransitionEvent`*" ] # [ repr ( transparent ) ] pub struct PageTransitionEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PageTransitionEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PageTransitionEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PageTransitionEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PageTransitionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PageTransitionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PageTransitionEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PageTransitionEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PageTransitionEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PageTransitionEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PageTransitionEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PageTransitionEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PageTransitionEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PageTransitionEvent { # [ inline ] fn from ( obj : JsValue ) -> PageTransitionEvent { PageTransitionEvent { obj } } } impl AsRef < JsValue > for PageTransitionEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PageTransitionEvent > for JsValue { # [ inline ] fn from ( obj : PageTransitionEvent ) -> JsValue { obj . obj } } impl JsCast for PageTransitionEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PageTransitionEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PageTransitionEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PageTransitionEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PageTransitionEvent ) } } } ( ) } ; impl core :: ops :: Deref for PageTransitionEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < PageTransitionEvent > for Event { # [ inline ] fn from ( obj : PageTransitionEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for PageTransitionEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PageTransitionEvent > for Object { # [ inline ] fn from ( obj : PageTransitionEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PageTransitionEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_PageTransitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < PageTransitionEvent as WasmDescribe > :: describe ( ) ; } impl PageTransitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PageTransitionEvent(..)` constructor, creating a new instance of `PageTransitionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent/PageTransitionEvent)\n\n*This API requires the following crate features to be activated: `PageTransitionEvent`*" ] pub fn new ( type_ : & str ) -> Result < PageTransitionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_PageTransitionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PageTransitionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_PageTransitionEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PageTransitionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PageTransitionEvent(..)` constructor, creating a new instance of `PageTransitionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent/PageTransitionEvent)\n\n*This API requires the following crate features to be activated: `PageTransitionEvent`*" ] pub fn new ( type_ : & str ) -> Result < PageTransitionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_PageTransitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & PageTransitionEventInit as WasmDescribe > :: describe ( ) ; < PageTransitionEvent as WasmDescribe > :: describe ( ) ; } impl PageTransitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PageTransitionEvent(..)` constructor, creating a new instance of `PageTransitionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent/PageTransitionEvent)\n\n*This API requires the following crate features to be activated: `PageTransitionEvent`, `PageTransitionEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PageTransitionEventInit ) -> Result < PageTransitionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_PageTransitionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & PageTransitionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PageTransitionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & PageTransitionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_PageTransitionEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PageTransitionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PageTransitionEvent(..)` constructor, creating a new instance of `PageTransitionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent/PageTransitionEvent)\n\n*This API requires the following crate features to be activated: `PageTransitionEvent`, `PageTransitionEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PageTransitionEventInit ) -> Result < PageTransitionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_persisted_PageTransitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PageTransitionEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl PageTransitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `persisted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent/persisted)\n\n*This API requires the following crate features to be activated: `PageTransitionEvent`*" ] pub fn persisted ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_persisted_PageTransitionEvent ( self_ : < & PageTransitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PageTransitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_persisted_PageTransitionEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `persisted` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PageTransitionEvent/persisted)\n\n*This API requires the following crate features to be activated: `PageTransitionEvent`*" ] pub fn persisted ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PaintRequest` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequest)\n\n*This API requires the following crate features to be activated: `PaintRequest`*" ] # [ repr ( transparent ) ] pub struct PaintRequest { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PaintRequest : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PaintRequest { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PaintRequest { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PaintRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PaintRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PaintRequest { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PaintRequest { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PaintRequest { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PaintRequest { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PaintRequest { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PaintRequest > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PaintRequest { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PaintRequest { # [ inline ] fn from ( obj : JsValue ) -> PaintRequest { PaintRequest { obj } } } impl AsRef < JsValue > for PaintRequest { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PaintRequest > for JsValue { # [ inline ] fn from ( obj : PaintRequest ) -> JsValue { obj . obj } } impl JsCast for PaintRequest { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PaintRequest ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PaintRequest ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PaintRequest { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PaintRequest ) } } } ( ) } ; impl core :: ops :: Deref for PaintRequest { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PaintRequest > for Object { # [ inline ] fn from ( obj : PaintRequest ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PaintRequest { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_client_rect_PaintRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaintRequest as WasmDescribe > :: describe ( ) ; < DomRect as WasmDescribe > :: describe ( ) ; } impl PaintRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clientRect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequest/clientRect)\n\n*This API requires the following crate features to be activated: `DomRect`, `PaintRequest`*" ] pub fn client_rect ( & self , ) -> DomRect { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_client_rect_PaintRequest ( self_ : < & PaintRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaintRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_client_rect_PaintRequest ( self_ ) } ; < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clientRect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequest/clientRect)\n\n*This API requires the following crate features to be activated: `DomRect`, `PaintRequest`*" ] pub fn client_rect ( & self , ) -> DomRect { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reason_PaintRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaintRequest as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaintRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reason` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequest/reason)\n\n*This API requires the following crate features to be activated: `PaintRequest`*" ] pub fn reason ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reason_PaintRequest ( self_ : < & PaintRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaintRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reason_PaintRequest ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reason` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequest/reason)\n\n*This API requires the following crate features to be activated: `PaintRequest`*" ] pub fn reason ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PaintRequestList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequestList)\n\n*This API requires the following crate features to be activated: `PaintRequestList`*" ] # [ repr ( transparent ) ] pub struct PaintRequestList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PaintRequestList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PaintRequestList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PaintRequestList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PaintRequestList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PaintRequestList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PaintRequestList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PaintRequestList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PaintRequestList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PaintRequestList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PaintRequestList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PaintRequestList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PaintRequestList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PaintRequestList { # [ inline ] fn from ( obj : JsValue ) -> PaintRequestList { PaintRequestList { obj } } } impl AsRef < JsValue > for PaintRequestList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PaintRequestList > for JsValue { # [ inline ] fn from ( obj : PaintRequestList ) -> JsValue { obj . obj } } impl JsCast for PaintRequestList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PaintRequestList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PaintRequestList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PaintRequestList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PaintRequestList ) } } } ( ) } ; impl core :: ops :: Deref for PaintRequestList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PaintRequestList > for Object { # [ inline ] fn from ( obj : PaintRequestList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PaintRequestList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_PaintRequestList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PaintRequestList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < PaintRequest > as WasmDescribe > :: describe ( ) ; } impl PaintRequestList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequestList/item)\n\n*This API requires the following crate features to be activated: `PaintRequest`, `PaintRequestList`*" ] pub fn item ( & self , index : u32 ) -> Option < PaintRequest > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_PaintRequestList ( self_ : < & PaintRequestList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < PaintRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaintRequestList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_PaintRequestList ( self_ , index ) } ; < Option < PaintRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequestList/item)\n\n*This API requires the following crate features to be activated: `PaintRequest`, `PaintRequestList`*" ] pub fn item ( & self , index : u32 ) -> Option < PaintRequest > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_PaintRequestList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PaintRequestList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < PaintRequest > as WasmDescribe > :: describe ( ) ; } impl PaintRequestList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `PaintRequest`, `PaintRequestList`*" ] pub fn get ( & self , index : u32 ) -> Option < PaintRequest > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_PaintRequestList ( self_ : < & PaintRequestList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < PaintRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaintRequestList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_PaintRequestList ( self_ , index ) } ; < Option < PaintRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `PaintRequest`, `PaintRequestList`*" ] pub fn get ( & self , index : u32 ) -> Option < PaintRequest > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_PaintRequestList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaintRequestList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl PaintRequestList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequestList/length)\n\n*This API requires the following crate features to be activated: `PaintRequestList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_PaintRequestList ( self_ : < & PaintRequestList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaintRequestList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_PaintRequestList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintRequestList/length)\n\n*This API requires the following crate features to be activated: `PaintRequestList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PaintWorkletGlobalScope` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintWorkletGlobalScope)\n\n*This API requires the following crate features to be activated: `PaintWorkletGlobalScope`*" ] # [ repr ( transparent ) ] pub struct PaintWorkletGlobalScope { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PaintWorkletGlobalScope : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PaintWorkletGlobalScope { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PaintWorkletGlobalScope { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PaintWorkletGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PaintWorkletGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PaintWorkletGlobalScope { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PaintWorkletGlobalScope { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PaintWorkletGlobalScope { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PaintWorkletGlobalScope { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PaintWorkletGlobalScope { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PaintWorkletGlobalScope > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PaintWorkletGlobalScope { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PaintWorkletGlobalScope { # [ inline ] fn from ( obj : JsValue ) -> PaintWorkletGlobalScope { PaintWorkletGlobalScope { obj } } } impl AsRef < JsValue > for PaintWorkletGlobalScope { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PaintWorkletGlobalScope > for JsValue { # [ inline ] fn from ( obj : PaintWorkletGlobalScope ) -> JsValue { obj . obj } } impl JsCast for PaintWorkletGlobalScope { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PaintWorkletGlobalScope ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PaintWorkletGlobalScope ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PaintWorkletGlobalScope { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PaintWorkletGlobalScope ) } } } ( ) } ; impl core :: ops :: Deref for PaintWorkletGlobalScope { type Target = WorkletGlobalScope ; # [ inline ] fn deref ( & self ) -> & WorkletGlobalScope { self . as_ref ( ) } } impl From < PaintWorkletGlobalScope > for WorkletGlobalScope { # [ inline ] fn from ( obj : PaintWorkletGlobalScope ) -> WorkletGlobalScope { use wasm_bindgen :: JsCast ; WorkletGlobalScope :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < WorkletGlobalScope > for PaintWorkletGlobalScope { # [ inline ] fn as_ref ( & self ) -> & WorkletGlobalScope { use wasm_bindgen :: JsCast ; WorkletGlobalScope :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PaintWorkletGlobalScope > for Object { # [ inline ] fn from ( obj : PaintWorkletGlobalScope ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PaintWorkletGlobalScope { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_register_paint_PaintWorkletGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & PaintWorkletGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PaintWorkletGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `registerPaint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintWorkletGlobalScope/registerPaint)\n\n*This API requires the following crate features to be activated: `PaintWorkletGlobalScope`*" ] pub fn register_paint ( & self , name : & str , paint_ctor : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_register_paint_PaintWorkletGlobalScope ( self_ : < & PaintWorkletGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , paint_ctor : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaintWorkletGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let paint_ctor = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( paint_ctor , & mut __stack ) ; __widl_f_register_paint_PaintWorkletGlobalScope ( self_ , name , paint_ctor ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `registerPaint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaintWorkletGlobalScope/registerPaint)\n\n*This API requires the following crate features to be activated: `PaintWorkletGlobalScope`*" ] pub fn register_paint ( & self , name : & str , paint_ctor : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PannerNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] # [ repr ( transparent ) ] pub struct PannerNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PannerNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PannerNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PannerNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PannerNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PannerNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PannerNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PannerNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PannerNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PannerNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PannerNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PannerNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PannerNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PannerNode { # [ inline ] fn from ( obj : JsValue ) -> PannerNode { PannerNode { obj } } } impl AsRef < JsValue > for PannerNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PannerNode > for JsValue { # [ inline ] fn from ( obj : PannerNode ) -> JsValue { obj . obj } } impl JsCast for PannerNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PannerNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PannerNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PannerNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PannerNode ) } } } ( ) } ; impl core :: ops :: Deref for PannerNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < PannerNode > for AudioNode { # [ inline ] fn from ( obj : PannerNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for PannerNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PannerNode > for EventTarget { # [ inline ] fn from ( obj : PannerNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for PannerNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PannerNode > for Object { # [ inline ] fn from ( obj : PannerNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PannerNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < PannerNode as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PannerNode(..)` constructor, creating a new instance of `PannerNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/PannerNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PannerNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < PannerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_PannerNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_PannerNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PannerNode(..)` constructor, creating a new instance of `PannerNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/PannerNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PannerNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < PannerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & PannerOptions as WasmDescribe > :: describe ( ) ; < PannerNode as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PannerNode(..)` constructor, creating a new instance of `PannerNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/PannerNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PannerNode`, `PannerOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & PannerOptions ) -> Result < PannerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_PannerNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & PannerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & PannerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_PannerNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PannerNode(..)` constructor, creating a new instance of `PannerNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/PannerNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PannerNode`, `PannerOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & PannerOptions ) -> Result < PannerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_orientation_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setOrientation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/setOrientation)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_orientation ( & self , x : f64 , y : f64 , z : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_orientation_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_set_orientation_PannerNode ( self_ , x , y , z ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setOrientation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/setOrientation)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_orientation ( & self , x : f64 , y : f64 , z : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_position_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setPosition()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/setPosition)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_position ( & self , x : f64 , y : f64 , z : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_position_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_set_position_PannerNode ( self_ , x , y , z ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setPosition()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/setPosition)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_position ( & self , x : f64 , y : f64 , z : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_velocity_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setVelocity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/setVelocity)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_velocity ( & self , x : f64 , y : f64 , z : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_velocity_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_set_velocity_PannerNode ( self_ , x , y , z ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setVelocity()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/setVelocity)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_velocity ( & self , x : f64 , y : f64 , z : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_panning_model_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < PanningModelType as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `panningModel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/panningModel)\n\n*This API requires the following crate features to be activated: `PannerNode`, `PanningModelType`*" ] pub fn panning_model ( & self , ) -> PanningModelType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_panning_model_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < PanningModelType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_panning_model_PannerNode ( self_ ) } ; < PanningModelType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `panningModel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/panningModel)\n\n*This API requires the following crate features to be activated: `PannerNode`, `PanningModelType`*" ] pub fn panning_model ( & self , ) -> PanningModelType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_panning_model_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < PanningModelType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `panningModel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/panningModel)\n\n*This API requires the following crate features to be activated: `PannerNode`, `PanningModelType`*" ] pub fn set_panning_model ( & self , panning_model : PanningModelType ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_panning_model_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , panning_model : < PanningModelType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let panning_model = < PanningModelType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( panning_model , & mut __stack ) ; __widl_f_set_panning_model_PannerNode ( self_ , panning_model ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `panningModel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/panningModel)\n\n*This API requires the following crate features to be activated: `PannerNode`, `PanningModelType`*" ] pub fn set_panning_model ( & self , panning_model : PanningModelType ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_position_x_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `positionX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionX)\n\n*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*" ] pub fn position_x ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_position_x_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_position_x_PannerNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `positionX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionX)\n\n*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*" ] pub fn position_x ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_position_y_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `positionY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionY)\n\n*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*" ] pub fn position_y ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_position_y_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_position_y_PannerNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `positionY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionY)\n\n*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*" ] pub fn position_y ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_position_z_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `positionZ` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionZ)\n\n*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*" ] pub fn position_z ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_position_z_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_position_z_PannerNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `positionZ` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionZ)\n\n*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*" ] pub fn position_z ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_orientation_x_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `orientationX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationX)\n\n*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*" ] pub fn orientation_x ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_orientation_x_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_orientation_x_PannerNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `orientationX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationX)\n\n*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*" ] pub fn orientation_x ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_orientation_y_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `orientationY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationY)\n\n*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*" ] pub fn orientation_y ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_orientation_y_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_orientation_y_PannerNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `orientationY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationY)\n\n*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*" ] pub fn orientation_y ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_orientation_z_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `orientationZ` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationZ)\n\n*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*" ] pub fn orientation_z ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_orientation_z_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_orientation_z_PannerNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `orientationZ` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationZ)\n\n*This API requires the following crate features to be activated: `AudioParam`, `PannerNode`*" ] pub fn orientation_z ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_distance_model_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < DistanceModelType as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `distanceModel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/distanceModel)\n\n*This API requires the following crate features to be activated: `DistanceModelType`, `PannerNode`*" ] pub fn distance_model ( & self , ) -> DistanceModelType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_distance_model_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DistanceModelType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_distance_model_PannerNode ( self_ ) } ; < DistanceModelType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `distanceModel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/distanceModel)\n\n*This API requires the following crate features to be activated: `DistanceModelType`, `PannerNode`*" ] pub fn distance_model ( & self , ) -> DistanceModelType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_distance_model_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < DistanceModelType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `distanceModel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/distanceModel)\n\n*This API requires the following crate features to be activated: `DistanceModelType`, `PannerNode`*" ] pub fn set_distance_model ( & self , distance_model : DistanceModelType ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_distance_model_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , distance_model : < DistanceModelType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let distance_model = < DistanceModelType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( distance_model , & mut __stack ) ; __widl_f_set_distance_model_PannerNode ( self_ , distance_model ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `distanceModel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/distanceModel)\n\n*This API requires the following crate features to be activated: `DistanceModelType`, `PannerNode`*" ] pub fn set_distance_model ( & self , distance_model : DistanceModelType ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ref_distance_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `refDistance` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/refDistance)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn ref_distance ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ref_distance_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ref_distance_PannerNode ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `refDistance` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/refDistance)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn ref_distance ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ref_distance_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `refDistance` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/refDistance)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_ref_distance ( & self , ref_distance : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ref_distance_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ref_distance : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ref_distance = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ref_distance , & mut __stack ) ; __widl_f_set_ref_distance_PannerNode ( self_ , ref_distance ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `refDistance` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/refDistance)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_ref_distance ( & self , ref_distance : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_distance_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxDistance` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/maxDistance)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn max_distance ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_distance_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_distance_PannerNode ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxDistance` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/maxDistance)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn max_distance ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_max_distance_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxDistance` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/maxDistance)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_max_distance ( & self , max_distance : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_max_distance_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max_distance : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let max_distance = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max_distance , & mut __stack ) ; __widl_f_set_max_distance_PannerNode ( self_ , max_distance ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxDistance` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/maxDistance)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_max_distance ( & self , max_distance : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rolloff_factor_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rolloffFactor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/rolloffFactor)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn rolloff_factor ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rolloff_factor_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rolloff_factor_PannerNode ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rolloffFactor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/rolloffFactor)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn rolloff_factor ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_rolloff_factor_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rolloffFactor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/rolloffFactor)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_rolloff_factor ( & self , rolloff_factor : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_rolloff_factor_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rolloff_factor : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rolloff_factor = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rolloff_factor , & mut __stack ) ; __widl_f_set_rolloff_factor_PannerNode ( self_ , rolloff_factor ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rolloffFactor` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/rolloffFactor)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_rolloff_factor ( & self , rolloff_factor : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cone_inner_angle_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `coneInnerAngle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneInnerAngle)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn cone_inner_angle ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cone_inner_angle_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cone_inner_angle_PannerNode ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `coneInnerAngle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneInnerAngle)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn cone_inner_angle ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cone_inner_angle_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `coneInnerAngle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneInnerAngle)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_cone_inner_angle ( & self , cone_inner_angle : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cone_inner_angle_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cone_inner_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cone_inner_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cone_inner_angle , & mut __stack ) ; __widl_f_set_cone_inner_angle_PannerNode ( self_ , cone_inner_angle ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `coneInnerAngle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneInnerAngle)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_cone_inner_angle ( & self , cone_inner_angle : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cone_outer_angle_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `coneOuterAngle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterAngle)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn cone_outer_angle ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cone_outer_angle_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cone_outer_angle_PannerNode ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `coneOuterAngle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterAngle)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn cone_outer_angle ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cone_outer_angle_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `coneOuterAngle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterAngle)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_cone_outer_angle ( & self , cone_outer_angle : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cone_outer_angle_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cone_outer_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cone_outer_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cone_outer_angle , & mut __stack ) ; __widl_f_set_cone_outer_angle_PannerNode ( self_ , cone_outer_angle ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `coneOuterAngle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterAngle)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_cone_outer_angle ( & self , cone_outer_angle : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cone_outer_gain_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `coneOuterGain` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterGain)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn cone_outer_gain ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cone_outer_gain_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cone_outer_gain_PannerNode ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `coneOuterGain` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterGain)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn cone_outer_gain ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cone_outer_gain_PannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PannerNode as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `coneOuterGain` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterGain)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_cone_outer_gain ( & self , cone_outer_gain : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cone_outer_gain_PannerNode ( self_ : < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cone_outer_gain : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cone_outer_gain = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cone_outer_gain , & mut __stack ) ; __widl_f_set_cone_outer_gain_PannerNode ( self_ , cone_outer_gain ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `coneOuterGain` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterGain)\n\n*This API requires the following crate features to be activated: `PannerNode`*" ] pub fn set_cone_outer_gain ( & self , cone_outer_gain : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Path2D` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] # [ repr ( transparent ) ] pub struct Path2d { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Path2d : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Path2d { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Path2d { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Path2d { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Path2d { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Path2d { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Path2d { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Path2d { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Path2d { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Path2d { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Path2d > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Path2d { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Path2d { # [ inline ] fn from ( obj : JsValue ) -> Path2d { Path2d { obj } } } impl AsRef < JsValue > for Path2d { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Path2d > for JsValue { # [ inline ] fn from ( obj : Path2d ) -> JsValue { obj . obj } } impl JsCast for Path2d { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Path2D ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Path2D ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Path2d { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Path2d ) } } } ( ) } ; impl core :: ops :: Deref for Path2d { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Path2d > for Object { # [ inline ] fn from ( obj : Path2d ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Path2d { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < Path2d as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Path2D(..)` constructor, creating a new instance of `Path2D`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/Path2D)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn new ( ) -> Result < Path2d , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Path2D ( exn_data_ptr : * mut u32 ) -> < Path2d as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_Path2D ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Path2d as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Path2D(..)` constructor, creating a new instance of `Path2D`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/Path2D)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn new ( ) -> Result < Path2d , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_other_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < Path2d as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Path2D(..)` constructor, creating a new instance of `Path2D`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/Path2D)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn new_with_other ( other : & Path2d ) -> Result < Path2d , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_other_Path2D ( other : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Path2d as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let other = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( other , & mut __stack ) ; __widl_f_new_with_other_Path2D ( other , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Path2d as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Path2D(..)` constructor, creating a new instance of `Path2D`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/Path2D)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn new_with_other ( other : & Path2d ) -> Result < Path2d , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_path_string_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < Path2d as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Path2D(..)` constructor, creating a new instance of `Path2D`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/Path2D)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn new_with_path_string ( path_string : & str ) -> Result < Path2d , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_path_string_Path2D ( path_string : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Path2d as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let path_string = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path_string , & mut __stack ) ; __widl_f_new_with_path_string_Path2D ( path_string , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Path2d as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Path2D(..)` constructor, creating a new instance of `Path2D`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/Path2D)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn new_with_path_string ( path_string : & str ) -> Result < Path2d , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_path_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/addPath)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn add_path ( & self , path : & Path2d ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_path_Path2D ( self_ : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; __widl_f_add_path_Path2D ( self_ , path ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/addPath)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn add_path ( & self , path : & Path2d ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_path_with_transformation_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/addPath)\n\n*This API requires the following crate features to be activated: `Path2d`, `SvgMatrix`*" ] pub fn add_path_with_transformation ( & self , path : & Path2d , transformation : & SvgMatrix ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_path_with_transformation_Path2D ( self_ : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , path : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transformation : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let path = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( path , & mut __stack ) ; let transformation = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transformation , & mut __stack ) ; __widl_f_add_path_with_transformation_Path2D ( self_ , path , transformation ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addPath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/addPath)\n\n*This API requires the following crate features to be activated: `Path2d`, `SvgMatrix`*" ] pub fn add_path_with_transformation ( & self , path : & Path2d , transformation : & SvgMatrix ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_arc_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `arc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/arc)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn arc ( & self , x : f64 , y : f64 , radius : f64 , start_angle : f64 , end_angle : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_arc_Path2D ( self_ : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let radius = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius , & mut __stack ) ; let start_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_angle , & mut __stack ) ; let end_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end_angle , & mut __stack ) ; __widl_f_arc_Path2D ( self_ , x , y , radius , start_angle , end_angle , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `arc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/arc)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn arc ( & self , x : f64 , y : f64 , radius : f64 , start_angle : f64 , end_angle : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_arc_with_anticlockwise_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `arc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/arc)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn arc_with_anticlockwise ( & self , x : f64 , y : f64 , radius : f64 , start_angle : f64 , end_angle : f64 , anticlockwise : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_arc_with_anticlockwise_Path2D ( self_ : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , anticlockwise : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let radius = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius , & mut __stack ) ; let start_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_angle , & mut __stack ) ; let end_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end_angle , & mut __stack ) ; let anticlockwise = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( anticlockwise , & mut __stack ) ; __widl_f_arc_with_anticlockwise_Path2D ( self_ , x , y , radius , start_angle , end_angle , anticlockwise , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `arc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/arc)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn arc_with_anticlockwise ( & self , x : f64 , y : f64 , radius : f64 , start_angle : f64 , end_angle : f64 , anticlockwise : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_arc_to_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `arcTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/arcTo)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn arc_to ( & self , x1 : f64 , y1 : f64 , x2 : f64 , y2 : f64 , radius : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_arc_to_Path2D ( self_ : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x1 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y1 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x2 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y2 : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x1 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x1 , & mut __stack ) ; let y1 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y1 , & mut __stack ) ; let x2 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x2 , & mut __stack ) ; let y2 = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y2 , & mut __stack ) ; let radius = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius , & mut __stack ) ; __widl_f_arc_to_Path2D ( self_ , x1 , y1 , x2 , y2 , radius , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `arcTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/arcTo)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn arc_to ( & self , x1 : f64 , y1 : f64 , x2 : f64 , y2 : f64 , radius : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bezier_curve_to_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bezierCurveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/bezierCurveTo)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn bezier_curve_to ( & self , cp1x : f64 , cp1y : f64 , cp2x : f64 , cp2y : f64 , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bezier_curve_to_Path2D ( self_ : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cp1x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cp1y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cp2x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cp2y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cp1x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cp1x , & mut __stack ) ; let cp1y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cp1y , & mut __stack ) ; let cp2x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cp2x , & mut __stack ) ; let cp2y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cp2y , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_bezier_curve_to_Path2D ( self_ , cp1x , cp1y , cp2x , cp2y , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bezierCurveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/bezierCurveTo)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn bezier_curve_to ( & self , cp1x : f64 , cp1y : f64 , cp2x : f64 , cp2y : f64 , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_path_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `closePath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/closePath)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn close_path ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_path_Path2D ( self_ : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_path_Path2D ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `closePath()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/closePath)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn close_path ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ellipse_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ellipse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/ellipse)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn ellipse ( & self , x : f64 , y : f64 , radius_x : f64 , radius_y : f64 , rotation : f64 , start_angle : f64 , end_angle : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ellipse_Path2D ( self_ : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rotation : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let radius_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius_x , & mut __stack ) ; let radius_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius_y , & mut __stack ) ; let rotation = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rotation , & mut __stack ) ; let start_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_angle , & mut __stack ) ; let end_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end_angle , & mut __stack ) ; __widl_f_ellipse_Path2D ( self_ , x , y , radius_x , radius_y , rotation , start_angle , end_angle , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ellipse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/ellipse)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn ellipse ( & self , x : f64 , y : f64 , radius_x : f64 , radius_y : f64 , rotation : f64 , start_angle : f64 , end_angle : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ellipse_with_anticlockwise_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ellipse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/ellipse)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn ellipse_with_anticlockwise ( & self , x : f64 , y : f64 , radius_x : f64 , radius_y : f64 , rotation : f64 , start_angle : f64 , end_angle : f64 , anticlockwise : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ellipse_with_anticlockwise_Path2D ( self_ : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , radius_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rotation : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end_angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , anticlockwise : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let radius_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius_x , & mut __stack ) ; let radius_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( radius_y , & mut __stack ) ; let rotation = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rotation , & mut __stack ) ; let start_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_angle , & mut __stack ) ; let end_angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end_angle , & mut __stack ) ; let anticlockwise = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( anticlockwise , & mut __stack ) ; __widl_f_ellipse_with_anticlockwise_Path2D ( self_ , x , y , radius_x , radius_y , rotation , start_angle , end_angle , anticlockwise , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ellipse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/ellipse)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn ellipse_with_anticlockwise ( & self , x : f64 , y : f64 , radius_x : f64 , radius_y : f64 , rotation : f64 , start_angle : f64 , end_angle : f64 , anticlockwise : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_line_to_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/lineTo)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn line_to ( & self , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_line_to_Path2D ( self_ : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_line_to_Path2D ( self_ , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/lineTo)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn line_to ( & self , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_move_to_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `moveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/moveTo)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn move_to ( & self , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_move_to_Path2D ( self_ : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_move_to_Path2D ( self_ , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `moveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/moveTo)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn move_to ( & self , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_quadratic_curve_to_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `quadraticCurveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/quadraticCurveTo)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn quadratic_curve_to ( & self , cpx : f64 , cpy : f64 , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_quadratic_curve_to_Path2D ( self_ : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cpx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cpy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cpx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cpx , & mut __stack ) ; let cpy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cpy , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_quadratic_curve_to_Path2D ( self_ , cpx , cpy , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `quadraticCurveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/quadraticCurveTo)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn quadratic_curve_to ( & self , cpx : f64 , cpy : f64 , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rect_Path2D ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Path2d as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Path2d { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/rect)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn rect ( & self , x : f64 , y : f64 , w : f64 , h : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rect_Path2D ( self_ : < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , h : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Path2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let w = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; let h = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( h , & mut __stack ) ; __widl_f_rect_Path2D ( self_ , x , y , w , h ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/rect)\n\n*This API requires the following crate features to be activated: `Path2d`*" ] pub fn rect ( & self , x : f64 , y : f64 , w : f64 , h : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PaymentAddress` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] # [ repr ( transparent ) ] pub struct PaymentAddress { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PaymentAddress : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PaymentAddress { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PaymentAddress { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PaymentAddress { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PaymentAddress { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PaymentAddress { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PaymentAddress { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PaymentAddress { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PaymentAddress { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PaymentAddress { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PaymentAddress > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PaymentAddress { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PaymentAddress { # [ inline ] fn from ( obj : JsValue ) -> PaymentAddress { PaymentAddress { obj } } } impl AsRef < JsValue > for PaymentAddress { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PaymentAddress > for JsValue { # [ inline ] fn from ( obj : PaymentAddress ) -> JsValue { obj . obj } } impl JsCast for PaymentAddress { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PaymentAddress ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PaymentAddress ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PaymentAddress { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PaymentAddress ) } } } ( ) } ; impl core :: ops :: Deref for PaymentAddress { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PaymentAddress > for Object { # [ inline ] fn from ( obj : PaymentAddress ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PaymentAddress { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_PaymentAddress ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentAddress as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl PaymentAddress { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/toJSON)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_PaymentAddress ( self_ : < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_PaymentAddress ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/toJSON)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_country_PaymentAddress ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentAddress as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaymentAddress { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `country` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/country)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn country ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_country_PaymentAddress ( self_ : < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_country_PaymentAddress ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `country` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/country)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn country ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_region_PaymentAddress ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentAddress as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaymentAddress { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `region` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/region)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn region ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_region_PaymentAddress ( self_ : < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_region_PaymentAddress ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `region` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/region)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn region ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_city_PaymentAddress ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentAddress as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaymentAddress { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `city` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/city)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn city ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_city_PaymentAddress ( self_ : < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_city_PaymentAddress ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `city` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/city)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn city ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dependent_locality_PaymentAddress ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentAddress as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaymentAddress { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dependentLocality` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/dependentLocality)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn dependent_locality ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dependent_locality_PaymentAddress ( self_ : < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dependent_locality_PaymentAddress ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dependentLocality` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/dependentLocality)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn dependent_locality ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_postal_code_PaymentAddress ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentAddress as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaymentAddress { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `postalCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/postalCode)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn postal_code ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_postal_code_PaymentAddress ( self_ : < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_postal_code_PaymentAddress ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `postalCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/postalCode)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn postal_code ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sorting_code_PaymentAddress ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentAddress as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaymentAddress { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sortingCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/sortingCode)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn sorting_code ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sorting_code_PaymentAddress ( self_ : < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sorting_code_PaymentAddress ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sortingCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/sortingCode)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn sorting_code ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_language_code_PaymentAddress ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentAddress as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaymentAddress { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `languageCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/languageCode)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn language_code ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_language_code_PaymentAddress ( self_ : < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_language_code_PaymentAddress ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `languageCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/languageCode)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn language_code ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_organization_PaymentAddress ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentAddress as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaymentAddress { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `organization` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/organization)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn organization ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_organization_PaymentAddress ( self_ : < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_organization_PaymentAddress ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `organization` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/organization)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn organization ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_recipient_PaymentAddress ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentAddress as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaymentAddress { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `recipient` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/recipient)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn recipient ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_recipient_PaymentAddress ( self_ : < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_recipient_PaymentAddress ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `recipient` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/recipient)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn recipient ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_phone_PaymentAddress ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentAddress as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaymentAddress { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `phone` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/phone)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn phone ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_phone_PaymentAddress ( self_ : < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentAddress as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_phone_PaymentAddress ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `phone` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/phone)\n\n*This API requires the following crate features to be activated: `PaymentAddress`*" ] pub fn phone ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PaymentMethodChangeEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent)\n\n*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`*" ] # [ repr ( transparent ) ] pub struct PaymentMethodChangeEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PaymentMethodChangeEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PaymentMethodChangeEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PaymentMethodChangeEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PaymentMethodChangeEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PaymentMethodChangeEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PaymentMethodChangeEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PaymentMethodChangeEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PaymentMethodChangeEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PaymentMethodChangeEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PaymentMethodChangeEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PaymentMethodChangeEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PaymentMethodChangeEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PaymentMethodChangeEvent { # [ inline ] fn from ( obj : JsValue ) -> PaymentMethodChangeEvent { PaymentMethodChangeEvent { obj } } } impl AsRef < JsValue > for PaymentMethodChangeEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PaymentMethodChangeEvent > for JsValue { # [ inline ] fn from ( obj : PaymentMethodChangeEvent ) -> JsValue { obj . obj } } impl JsCast for PaymentMethodChangeEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PaymentMethodChangeEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PaymentMethodChangeEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PaymentMethodChangeEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PaymentMethodChangeEvent ) } } } ( ) } ; impl core :: ops :: Deref for PaymentMethodChangeEvent { type Target = PaymentRequestUpdateEvent ; # [ inline ] fn deref ( & self ) -> & PaymentRequestUpdateEvent { self . as_ref ( ) } } impl From < PaymentMethodChangeEvent > for PaymentRequestUpdateEvent { # [ inline ] fn from ( obj : PaymentMethodChangeEvent ) -> PaymentRequestUpdateEvent { use wasm_bindgen :: JsCast ; PaymentRequestUpdateEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < PaymentRequestUpdateEvent > for PaymentMethodChangeEvent { # [ inline ] fn as_ref ( & self ) -> & PaymentRequestUpdateEvent { use wasm_bindgen :: JsCast ; PaymentRequestUpdateEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PaymentMethodChangeEvent > for Event { # [ inline ] fn from ( obj : PaymentMethodChangeEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for PaymentMethodChangeEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PaymentMethodChangeEvent > for Object { # [ inline ] fn from ( obj : PaymentMethodChangeEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PaymentMethodChangeEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_PaymentMethodChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < PaymentMethodChangeEvent as WasmDescribe > :: describe ( ) ; } impl PaymentMethodChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PaymentMethodChangeEvent(..)` constructor, creating a new instance of `PaymentMethodChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent/PaymentMethodChangeEvent)\n\n*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`*" ] pub fn new ( type_ : & str ) -> Result < PaymentMethodChangeEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_PaymentMethodChangeEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PaymentMethodChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_PaymentMethodChangeEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PaymentMethodChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PaymentMethodChangeEvent(..)` constructor, creating a new instance of `PaymentMethodChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent/PaymentMethodChangeEvent)\n\n*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`*" ] pub fn new ( type_ : & str ) -> Result < PaymentMethodChangeEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_PaymentMethodChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & PaymentMethodChangeEventInit as WasmDescribe > :: describe ( ) ; < PaymentMethodChangeEvent as WasmDescribe > :: describe ( ) ; } impl PaymentMethodChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PaymentMethodChangeEvent(..)` constructor, creating a new instance of `PaymentMethodChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent/PaymentMethodChangeEvent)\n\n*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`, `PaymentMethodChangeEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PaymentMethodChangeEventInit ) -> Result < PaymentMethodChangeEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_PaymentMethodChangeEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & PaymentMethodChangeEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PaymentMethodChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & PaymentMethodChangeEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_PaymentMethodChangeEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PaymentMethodChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PaymentMethodChangeEvent(..)` constructor, creating a new instance of `PaymentMethodChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent/PaymentMethodChangeEvent)\n\n*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`, `PaymentMethodChangeEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PaymentMethodChangeEventInit ) -> Result < PaymentMethodChangeEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_method_name_PaymentMethodChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentMethodChangeEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaymentMethodChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `methodName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent/methodName)\n\n*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`*" ] pub fn method_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_method_name_PaymentMethodChangeEvent ( self_ : < & PaymentMethodChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentMethodChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_method_name_PaymentMethodChangeEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `methodName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent/methodName)\n\n*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`*" ] pub fn method_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_method_details_PaymentMethodChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentMethodChangeEvent as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl PaymentMethodChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `methodDetails` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent/methodDetails)\n\n*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`*" ] pub fn method_details ( & self , ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_method_details_PaymentMethodChangeEvent ( self_ : < & PaymentMethodChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentMethodChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_method_details_PaymentMethodChangeEvent ( self_ ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `methodDetails` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent/methodDetails)\n\n*This API requires the following crate features to be activated: `PaymentMethodChangeEvent`*" ] pub fn method_details ( & self , ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PaymentRequestUpdateEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent)\n\n*This API requires the following crate features to be activated: `PaymentRequestUpdateEvent`*" ] # [ repr ( transparent ) ] pub struct PaymentRequestUpdateEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PaymentRequestUpdateEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PaymentRequestUpdateEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PaymentRequestUpdateEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PaymentRequestUpdateEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PaymentRequestUpdateEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PaymentRequestUpdateEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PaymentRequestUpdateEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PaymentRequestUpdateEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PaymentRequestUpdateEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PaymentRequestUpdateEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PaymentRequestUpdateEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PaymentRequestUpdateEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PaymentRequestUpdateEvent { # [ inline ] fn from ( obj : JsValue ) -> PaymentRequestUpdateEvent { PaymentRequestUpdateEvent { obj } } } impl AsRef < JsValue > for PaymentRequestUpdateEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PaymentRequestUpdateEvent > for JsValue { # [ inline ] fn from ( obj : PaymentRequestUpdateEvent ) -> JsValue { obj . obj } } impl JsCast for PaymentRequestUpdateEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PaymentRequestUpdateEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PaymentRequestUpdateEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PaymentRequestUpdateEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PaymentRequestUpdateEvent ) } } } ( ) } ; impl core :: ops :: Deref for PaymentRequestUpdateEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < PaymentRequestUpdateEvent > for Event { # [ inline ] fn from ( obj : PaymentRequestUpdateEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for PaymentRequestUpdateEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PaymentRequestUpdateEvent > for Object { # [ inline ] fn from ( obj : PaymentRequestUpdateEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PaymentRequestUpdateEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_PaymentRequestUpdateEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < PaymentRequestUpdateEvent as WasmDescribe > :: describe ( ) ; } impl PaymentRequestUpdateEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PaymentRequestUpdateEvent(..)` constructor, creating a new instance of `PaymentRequestUpdateEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent/PaymentRequestUpdateEvent)\n\n*This API requires the following crate features to be activated: `PaymentRequestUpdateEvent`*" ] pub fn new ( type_ : & str ) -> Result < PaymentRequestUpdateEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_PaymentRequestUpdateEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PaymentRequestUpdateEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_PaymentRequestUpdateEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PaymentRequestUpdateEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PaymentRequestUpdateEvent(..)` constructor, creating a new instance of `PaymentRequestUpdateEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent/PaymentRequestUpdateEvent)\n\n*This API requires the following crate features to be activated: `PaymentRequestUpdateEvent`*" ] pub fn new ( type_ : & str ) -> Result < PaymentRequestUpdateEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_PaymentRequestUpdateEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & PaymentRequestUpdateEventInit as WasmDescribe > :: describe ( ) ; < PaymentRequestUpdateEvent as WasmDescribe > :: describe ( ) ; } impl PaymentRequestUpdateEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PaymentRequestUpdateEvent(..)` constructor, creating a new instance of `PaymentRequestUpdateEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent/PaymentRequestUpdateEvent)\n\n*This API requires the following crate features to be activated: `PaymentRequestUpdateEvent`, `PaymentRequestUpdateEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PaymentRequestUpdateEventInit ) -> Result < PaymentRequestUpdateEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_PaymentRequestUpdateEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & PaymentRequestUpdateEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PaymentRequestUpdateEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & PaymentRequestUpdateEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_PaymentRequestUpdateEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PaymentRequestUpdateEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PaymentRequestUpdateEvent(..)` constructor, creating a new instance of `PaymentRequestUpdateEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent/PaymentRequestUpdateEvent)\n\n*This API requires the following crate features to be activated: `PaymentRequestUpdateEvent`, `PaymentRequestUpdateEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PaymentRequestUpdateEventInit ) -> Result < PaymentRequestUpdateEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_update_with_PaymentRequestUpdateEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PaymentRequestUpdateEvent as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PaymentRequestUpdateEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `updateWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent/updateWith)\n\n*This API requires the following crate features to be activated: `PaymentRequestUpdateEvent`*" ] pub fn update_with ( & self , details_promise : & :: js_sys :: Promise ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_update_with_PaymentRequestUpdateEvent ( self_ : < & PaymentRequestUpdateEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , details_promise : < & :: js_sys :: Promise as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentRequestUpdateEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let details_promise = < & :: js_sys :: Promise as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( details_promise , & mut __stack ) ; __widl_f_update_with_PaymentRequestUpdateEvent ( self_ , details_promise , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `updateWith()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent/updateWith)\n\n*This API requires the following crate features to be activated: `PaymentRequestUpdateEvent`*" ] pub fn update_with ( & self , details_promise : & :: js_sys :: Promise ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PaymentResponse` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] # [ repr ( transparent ) ] pub struct PaymentResponse { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PaymentResponse : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PaymentResponse { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PaymentResponse { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PaymentResponse { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PaymentResponse { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PaymentResponse { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PaymentResponse { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PaymentResponse { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PaymentResponse { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PaymentResponse { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PaymentResponse > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PaymentResponse { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PaymentResponse { # [ inline ] fn from ( obj : JsValue ) -> PaymentResponse { PaymentResponse { obj } } } impl AsRef < JsValue > for PaymentResponse { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PaymentResponse > for JsValue { # [ inline ] fn from ( obj : PaymentResponse ) -> JsValue { obj . obj } } impl JsCast for PaymentResponse { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PaymentResponse ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PaymentResponse ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PaymentResponse { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PaymentResponse ) } } } ( ) } ; impl core :: ops :: Deref for PaymentResponse { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PaymentResponse > for Object { # [ inline ] fn from ( obj : PaymentResponse ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PaymentResponse { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_complete_PaymentResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentResponse as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PaymentResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `complete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/complete)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn complete ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_complete_PaymentResponse ( self_ : < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_complete_PaymentResponse ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `complete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/complete)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn complete ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_complete_with_result_PaymentResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PaymentResponse as WasmDescribe > :: describe ( ) ; < PaymentComplete as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PaymentResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `complete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/complete)\n\n*This API requires the following crate features to be activated: `PaymentComplete`, `PaymentResponse`*" ] pub fn complete_with_result ( & self , result : PaymentComplete ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_complete_with_result_PaymentResponse ( self_ : < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , result : < PaymentComplete as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let result = < PaymentComplete as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( result , & mut __stack ) ; __widl_f_complete_with_result_PaymentResponse ( self_ , result ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `complete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/complete)\n\n*This API requires the following crate features to be activated: `PaymentComplete`, `PaymentResponse`*" ] pub fn complete_with_result ( & self , result : PaymentComplete ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_PaymentResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentResponse as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl PaymentResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/toJSON)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_PaymentResponse ( self_ : < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_PaymentResponse ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/toJSON)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_id_PaymentResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentResponse as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaymentResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/requestId)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn request_id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_id_PaymentResponse ( self_ : < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_request_id_PaymentResponse ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/requestId)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn request_id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_method_name_PaymentResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentResponse as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PaymentResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `methodName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/methodName)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn method_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_method_name_PaymentResponse ( self_ : < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_method_name_PaymentResponse ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `methodName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/methodName)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn method_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_details_PaymentResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentResponse as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl PaymentResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `details` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/details)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn details ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_details_PaymentResponse ( self_ : < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_details_PaymentResponse ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `details` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/details)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn details ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shipping_address_PaymentResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentResponse as WasmDescribe > :: describe ( ) ; < Option < PaymentAddress > as WasmDescribe > :: describe ( ) ; } impl PaymentResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shippingAddress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/shippingAddress)\n\n*This API requires the following crate features to be activated: `PaymentAddress`, `PaymentResponse`*" ] pub fn shipping_address ( & self , ) -> Option < PaymentAddress > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shipping_address_PaymentResponse ( self_ : < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < PaymentAddress > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_shipping_address_PaymentResponse ( self_ ) } ; < Option < PaymentAddress > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shippingAddress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/shippingAddress)\n\n*This API requires the following crate features to be activated: `PaymentAddress`, `PaymentResponse`*" ] pub fn shipping_address ( & self , ) -> Option < PaymentAddress > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shipping_option_PaymentResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentResponse as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl PaymentResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shippingOption` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/shippingOption)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn shipping_option ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shipping_option_PaymentResponse ( self_ : < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_shipping_option_PaymentResponse ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shippingOption` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/shippingOption)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn shipping_option ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_payer_name_PaymentResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentResponse as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl PaymentResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `payerName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerName)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn payer_name ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_payer_name_PaymentResponse ( self_ : < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_payer_name_PaymentResponse ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `payerName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerName)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn payer_name ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_payer_email_PaymentResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentResponse as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl PaymentResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `payerEmail` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerEmail)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn payer_email ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_payer_email_PaymentResponse ( self_ : < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_payer_email_PaymentResponse ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `payerEmail` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerEmail)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn payer_email ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_payer_phone_PaymentResponse ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PaymentResponse as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl PaymentResponse { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `payerPhone` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerPhone)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn payer_phone ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_payer_phone_PaymentResponse ( self_ : < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PaymentResponse as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_payer_phone_PaymentResponse ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `payerPhone` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerPhone)\n\n*This API requires the following crate features to be activated: `PaymentResponse`*" ] pub fn payer_phone ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Performance` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance)\n\n*This API requires the following crate features to be activated: `Performance`*" ] # [ repr ( transparent ) ] pub struct Performance { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Performance : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Performance { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Performance { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Performance { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Performance { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Performance { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Performance { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Performance { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Performance { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Performance { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Performance > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Performance { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Performance { # [ inline ] fn from ( obj : JsValue ) -> Performance { Performance { obj } } } impl AsRef < JsValue > for Performance { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Performance > for JsValue { # [ inline ] fn from ( obj : Performance ) -> JsValue { obj . obj } } impl JsCast for Performance { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Performance ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Performance ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Performance { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Performance ) } } } ( ) } ; impl core :: ops :: Deref for Performance { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < Performance > for EventTarget { # [ inline ] fn from ( obj : Performance ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for Performance { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Performance > for Object { # [ inline ] fn from ( obj : Performance ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Performance { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_marks_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearMarks()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearMarks)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn clear_marks ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_marks_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_marks_Performance ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearMarks()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearMarks)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn clear_marks ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_marks_with_mark_name_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearMarks()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearMarks)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn clear_marks_with_mark_name ( & self , mark_name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_marks_with_mark_name_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mark_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mark_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mark_name , & mut __stack ) ; __widl_f_clear_marks_with_mark_name_Performance ( self_ , mark_name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearMarks()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearMarks)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn clear_marks_with_mark_name ( & self , mark_name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_measures_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearMeasures()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearMeasures)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn clear_measures ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_measures_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_measures_Performance ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearMeasures()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearMeasures)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn clear_measures ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_measures_with_measure_name_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearMeasures()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearMeasures)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn clear_measures_with_measure_name ( & self , measure_name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_measures_with_measure_name_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , measure_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let measure_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( measure_name , & mut __stack ) ; __widl_f_clear_measures_with_measure_name_Performance ( self_ , measure_name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearMeasures()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearMeasures)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn clear_measures_with_measure_name ( & self , measure_name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_resource_timings_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearResourceTimings()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearResourceTimings)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn clear_resource_timings ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_resource_timings_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_resource_timings_Performance ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearResourceTimings()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearResourceTimings)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn clear_resource_timings ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mark_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mark()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/mark)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn mark ( & self , mark_name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mark_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mark_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mark_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mark_name , & mut __stack ) ; __widl_f_mark_Performance ( self_ , mark_name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mark()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/mark)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn mark ( & self , mark_name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_measure_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `measure()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn measure ( & self , measure_name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_measure_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , measure_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let measure_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( measure_name , & mut __stack ) ; __widl_f_measure_Performance ( self_ , measure_name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `measure()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn measure ( & self , measure_name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_measure_with_start_mark_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `measure()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn measure_with_start_mark ( & self , measure_name : & str , start_mark : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_measure_with_start_mark_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , measure_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_mark : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let measure_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( measure_name , & mut __stack ) ; let start_mark = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_mark , & mut __stack ) ; __widl_f_measure_with_start_mark_Performance ( self_ , measure_name , start_mark , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `measure()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn measure_with_start_mark ( & self , measure_name : & str , start_mark : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_measure_with_start_mark_and_end_mark_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `measure()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn measure_with_start_mark_and_end_mark ( & self , measure_name : & str , start_mark : & str , end_mark : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_measure_with_start_mark_and_end_mark_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , measure_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_mark : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end_mark : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let measure_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( measure_name , & mut __stack ) ; let start_mark = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_mark , & mut __stack ) ; let end_mark = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end_mark , & mut __stack ) ; __widl_f_measure_with_start_mark_and_end_mark_Performance ( self_ , measure_name , start_mark , end_mark , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `measure()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn measure_with_start_mark_and_end_mark ( & self , measure_name : & str , start_mark : & str , end_mark : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_now_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `now()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/now)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn now ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_now_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_now_Performance ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `now()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/now)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn now ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_resource_timing_buffer_size_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setResourceTimingBufferSize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/setResourceTimingBufferSize)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn set_resource_timing_buffer_size ( & self , max_size : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_resource_timing_buffer_size_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max_size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let max_size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max_size , & mut __stack ) ; __widl_f_set_resource_timing_buffer_size_Performance ( self_ , max_size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setResourceTimingBufferSize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/setResourceTimingBufferSize)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn set_resource_timing_buffer_size ( & self , max_size : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/toJSON)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_Performance ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/toJSON)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_origin_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timeOrigin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/timeOrigin)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn time_origin ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_origin_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_time_origin_Performance ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timeOrigin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/timeOrigin)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn time_origin ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_timing_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < PerformanceTiming as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/timing)\n\n*This API requires the following crate features to be activated: `Performance`, `PerformanceTiming`*" ] pub fn timing ( & self , ) -> PerformanceTiming { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_timing_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < PerformanceTiming as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_timing_Performance ( self_ ) } ; < PerformanceTiming as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/timing)\n\n*This API requires the following crate features to be activated: `Performance`, `PerformanceTiming`*" ] pub fn timing ( & self , ) -> PerformanceTiming { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_navigation_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < PerformanceNavigation as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `navigation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/navigation)\n\n*This API requires the following crate features to be activated: `Performance`, `PerformanceNavigation`*" ] pub fn navigation ( & self , ) -> PerformanceNavigation { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_navigation_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < PerformanceNavigation as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_navigation_Performance ( self_ ) } ; < PerformanceNavigation as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `navigation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/navigation)\n\n*This API requires the following crate features to be activated: `Performance`, `PerformanceNavigation`*" ] pub fn navigation ( & self , ) -> PerformanceNavigation { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onresourcetimingbufferfull_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresourcetimingbufferfull` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/onresourcetimingbufferfull)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn onresourcetimingbufferfull ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onresourcetimingbufferfull_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onresourcetimingbufferfull_Performance ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresourcetimingbufferfull` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/onresourcetimingbufferfull)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn onresourcetimingbufferfull ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onresourcetimingbufferfull_Performance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Performance as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Performance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresourcetimingbufferfull` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/onresourcetimingbufferfull)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn set_onresourcetimingbufferfull ( & self , onresourcetimingbufferfull : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onresourcetimingbufferfull_Performance ( self_ : < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onresourcetimingbufferfull : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Performance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onresourcetimingbufferfull = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onresourcetimingbufferfull , & mut __stack ) ; __widl_f_set_onresourcetimingbufferfull_Performance ( self_ , onresourcetimingbufferfull ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresourcetimingbufferfull` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Performance/onresourcetimingbufferfull)\n\n*This API requires the following crate features to be activated: `Performance`*" ] pub fn set_onresourcetimingbufferfull ( & self , onresourcetimingbufferfull : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PerformanceEntry` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry)\n\n*This API requires the following crate features to be activated: `PerformanceEntry`*" ] # [ repr ( transparent ) ] pub struct PerformanceEntry { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PerformanceEntry : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PerformanceEntry { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PerformanceEntry { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PerformanceEntry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PerformanceEntry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PerformanceEntry { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PerformanceEntry { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PerformanceEntry { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PerformanceEntry { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PerformanceEntry { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PerformanceEntry > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PerformanceEntry { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PerformanceEntry { # [ inline ] fn from ( obj : JsValue ) -> PerformanceEntry { PerformanceEntry { obj } } } impl AsRef < JsValue > for PerformanceEntry { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PerformanceEntry > for JsValue { # [ inline ] fn from ( obj : PerformanceEntry ) -> JsValue { obj . obj } } impl JsCast for PerformanceEntry { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PerformanceEntry ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PerformanceEntry ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PerformanceEntry { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PerformanceEntry ) } } } ( ) } ; impl core :: ops :: Deref for PerformanceEntry { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PerformanceEntry > for Object { # [ inline ] fn from ( obj : PerformanceEntry ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PerformanceEntry { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_PerformanceEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceEntry as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl PerformanceEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/toJSON)\n\n*This API requires the following crate features to be activated: `PerformanceEntry`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_PerformanceEntry ( self_ : < & PerformanceEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_PerformanceEntry ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/toJSON)\n\n*This API requires the following crate features to be activated: `PerformanceEntry`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_PerformanceEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceEntry as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PerformanceEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/name)\n\n*This API requires the following crate features to be activated: `PerformanceEntry`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_PerformanceEntry ( self_ : < & PerformanceEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_PerformanceEntry ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/name)\n\n*This API requires the following crate features to be activated: `PerformanceEntry`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_entry_type_PerformanceEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceEntry as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PerformanceEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `entryType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/entryType)\n\n*This API requires the following crate features to be activated: `PerformanceEntry`*" ] pub fn entry_type ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_entry_type_PerformanceEntry ( self_ : < & PerformanceEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_entry_type_PerformanceEntry ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `entryType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/entryType)\n\n*This API requires the following crate features to be activated: `PerformanceEntry`*" ] pub fn entry_type ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_time_PerformanceEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceEntry as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `startTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/startTime)\n\n*This API requires the following crate features to be activated: `PerformanceEntry`*" ] pub fn start_time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_time_PerformanceEntry ( self_ : < & PerformanceEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_time_PerformanceEntry ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `startTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/startTime)\n\n*This API requires the following crate features to be activated: `PerformanceEntry`*" ] pub fn start_time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_duration_PerformanceEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceEntry as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `duration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/duration)\n\n*This API requires the following crate features to be activated: `PerformanceEntry`*" ] pub fn duration ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_duration_PerformanceEntry ( self_ : < & PerformanceEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_duration_PerformanceEntry ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `duration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/duration)\n\n*This API requires the following crate features to be activated: `PerformanceEntry`*" ] pub fn duration ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PerformanceMark` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceMark)\n\n*This API requires the following crate features to be activated: `PerformanceMark`*" ] # [ repr ( transparent ) ] pub struct PerformanceMark { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PerformanceMark : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PerformanceMark { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PerformanceMark { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PerformanceMark { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PerformanceMark { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PerformanceMark { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PerformanceMark { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PerformanceMark { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PerformanceMark { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PerformanceMark { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PerformanceMark > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PerformanceMark { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PerformanceMark { # [ inline ] fn from ( obj : JsValue ) -> PerformanceMark { PerformanceMark { obj } } } impl AsRef < JsValue > for PerformanceMark { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PerformanceMark > for JsValue { # [ inline ] fn from ( obj : PerformanceMark ) -> JsValue { obj . obj } } impl JsCast for PerformanceMark { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PerformanceMark ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PerformanceMark ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PerformanceMark { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PerformanceMark ) } } } ( ) } ; impl core :: ops :: Deref for PerformanceMark { type Target = PerformanceEntry ; # [ inline ] fn deref ( & self ) -> & PerformanceEntry { self . as_ref ( ) } } impl From < PerformanceMark > for PerformanceEntry { # [ inline ] fn from ( obj : PerformanceMark ) -> PerformanceEntry { use wasm_bindgen :: JsCast ; PerformanceEntry :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < PerformanceEntry > for PerformanceMark { # [ inline ] fn as_ref ( & self ) -> & PerformanceEntry { use wasm_bindgen :: JsCast ; PerformanceEntry :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PerformanceMark > for Object { # [ inline ] fn from ( obj : PerformanceMark ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PerformanceMark { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PerformanceMeasure` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceMeasure)\n\n*This API requires the following crate features to be activated: `PerformanceMeasure`*" ] # [ repr ( transparent ) ] pub struct PerformanceMeasure { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PerformanceMeasure : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PerformanceMeasure { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PerformanceMeasure { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PerformanceMeasure { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PerformanceMeasure { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PerformanceMeasure { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PerformanceMeasure { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PerformanceMeasure { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PerformanceMeasure { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PerformanceMeasure { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PerformanceMeasure > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PerformanceMeasure { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PerformanceMeasure { # [ inline ] fn from ( obj : JsValue ) -> PerformanceMeasure { PerformanceMeasure { obj } } } impl AsRef < JsValue > for PerformanceMeasure { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PerformanceMeasure > for JsValue { # [ inline ] fn from ( obj : PerformanceMeasure ) -> JsValue { obj . obj } } impl JsCast for PerformanceMeasure { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PerformanceMeasure ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PerformanceMeasure ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PerformanceMeasure { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PerformanceMeasure ) } } } ( ) } ; impl core :: ops :: Deref for PerformanceMeasure { type Target = PerformanceEntry ; # [ inline ] fn deref ( & self ) -> & PerformanceEntry { self . as_ref ( ) } } impl From < PerformanceMeasure > for PerformanceEntry { # [ inline ] fn from ( obj : PerformanceMeasure ) -> PerformanceEntry { use wasm_bindgen :: JsCast ; PerformanceEntry :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < PerformanceEntry > for PerformanceMeasure { # [ inline ] fn as_ref ( & self ) -> & PerformanceEntry { use wasm_bindgen :: JsCast ; PerformanceEntry :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PerformanceMeasure > for Object { # [ inline ] fn from ( obj : PerformanceMeasure ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PerformanceMeasure { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PerformanceNavigation` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigation)\n\n*This API requires the following crate features to be activated: `PerformanceNavigation`*" ] # [ repr ( transparent ) ] pub struct PerformanceNavigation { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PerformanceNavigation : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PerformanceNavigation { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PerformanceNavigation { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PerformanceNavigation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PerformanceNavigation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PerformanceNavigation { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PerformanceNavigation { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PerformanceNavigation { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PerformanceNavigation { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PerformanceNavigation { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PerformanceNavigation > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PerformanceNavigation { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PerformanceNavigation { # [ inline ] fn from ( obj : JsValue ) -> PerformanceNavigation { PerformanceNavigation { obj } } } impl AsRef < JsValue > for PerformanceNavigation { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PerformanceNavigation > for JsValue { # [ inline ] fn from ( obj : PerformanceNavigation ) -> JsValue { obj . obj } } impl JsCast for PerformanceNavigation { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PerformanceNavigation ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PerformanceNavigation ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PerformanceNavigation { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PerformanceNavigation ) } } } ( ) } ; impl core :: ops :: Deref for PerformanceNavigation { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PerformanceNavigation > for Object { # [ inline ] fn from ( obj : PerformanceNavigation ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PerformanceNavigation { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_PerformanceNavigation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigation as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigation/toJSON)\n\n*This API requires the following crate features to be activated: `PerformanceNavigation`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_PerformanceNavigation ( self_ : < & PerformanceNavigation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_PerformanceNavigation ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigation/toJSON)\n\n*This API requires the following crate features to be activated: `PerformanceNavigation`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_PerformanceNavigation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigation as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigation/type)\n\n*This API requires the following crate features to be activated: `PerformanceNavigation`*" ] pub fn type_ ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_PerformanceNavigation ( self_ : < & PerformanceNavigation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_PerformanceNavigation ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigation/type)\n\n*This API requires the following crate features to be activated: `PerformanceNavigation`*" ] pub fn type_ ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_redirect_count_PerformanceNavigation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigation as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `redirectCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigation/redirectCount)\n\n*This API requires the following crate features to be activated: `PerformanceNavigation`*" ] pub fn redirect_count ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_redirect_count_PerformanceNavigation ( self_ : < & PerformanceNavigation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_redirect_count_PerformanceNavigation ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `redirectCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigation/redirectCount)\n\n*This API requires the following crate features to be activated: `PerformanceNavigation`*" ] pub fn redirect_count ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PerformanceNavigationTiming` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] # [ repr ( transparent ) ] pub struct PerformanceNavigationTiming { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PerformanceNavigationTiming : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PerformanceNavigationTiming { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PerformanceNavigationTiming { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PerformanceNavigationTiming { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PerformanceNavigationTiming { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PerformanceNavigationTiming { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PerformanceNavigationTiming { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PerformanceNavigationTiming { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PerformanceNavigationTiming { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PerformanceNavigationTiming { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PerformanceNavigationTiming > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PerformanceNavigationTiming { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PerformanceNavigationTiming { # [ inline ] fn from ( obj : JsValue ) -> PerformanceNavigationTiming { PerformanceNavigationTiming { obj } } } impl AsRef < JsValue > for PerformanceNavigationTiming { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PerformanceNavigationTiming > for JsValue { # [ inline ] fn from ( obj : PerformanceNavigationTiming ) -> JsValue { obj . obj } } impl JsCast for PerformanceNavigationTiming { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PerformanceNavigationTiming ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PerformanceNavigationTiming ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PerformanceNavigationTiming { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PerformanceNavigationTiming ) } } } ( ) } ; impl core :: ops :: Deref for PerformanceNavigationTiming { type Target = PerformanceResourceTiming ; # [ inline ] fn deref ( & self ) -> & PerformanceResourceTiming { self . as_ref ( ) } } impl From < PerformanceNavigationTiming > for PerformanceResourceTiming { # [ inline ] fn from ( obj : PerformanceNavigationTiming ) -> PerformanceResourceTiming { use wasm_bindgen :: JsCast ; PerformanceResourceTiming :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < PerformanceResourceTiming > for PerformanceNavigationTiming { # [ inline ] fn as_ref ( & self ) -> & PerformanceResourceTiming { use wasm_bindgen :: JsCast ; PerformanceResourceTiming :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PerformanceNavigationTiming > for PerformanceEntry { # [ inline ] fn from ( obj : PerformanceNavigationTiming ) -> PerformanceEntry { use wasm_bindgen :: JsCast ; PerformanceEntry :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < PerformanceEntry > for PerformanceNavigationTiming { # [ inline ] fn as_ref ( & self ) -> & PerformanceEntry { use wasm_bindgen :: JsCast ; PerformanceEntry :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PerformanceNavigationTiming > for Object { # [ inline ] fn from ( obj : PerformanceNavigationTiming ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PerformanceNavigationTiming { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_PerformanceNavigationTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigationTiming as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigationTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/toJSON)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_PerformanceNavigationTiming ( self_ : < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_PerformanceNavigationTiming ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/toJSON)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unload_event_start_PerformanceNavigationTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigationTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigationTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unloadEventStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/unloadEventStart)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn unload_event_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unload_event_start_PerformanceNavigationTiming ( self_ : < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unload_event_start_PerformanceNavigationTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unloadEventStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/unloadEventStart)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn unload_event_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unload_event_end_PerformanceNavigationTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigationTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigationTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unloadEventEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/unloadEventEnd)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn unload_event_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unload_event_end_PerformanceNavigationTiming ( self_ : < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unload_event_end_PerformanceNavigationTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unloadEventEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/unloadEventEnd)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn unload_event_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dom_interactive_PerformanceNavigationTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigationTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigationTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domInteractive` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domInteractive)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn dom_interactive ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dom_interactive_PerformanceNavigationTiming ( self_ : < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dom_interactive_PerformanceNavigationTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domInteractive` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domInteractive)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn dom_interactive ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dom_content_loaded_event_start_PerformanceNavigationTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigationTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigationTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domContentLoadedEventStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domContentLoadedEventStart)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn dom_content_loaded_event_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dom_content_loaded_event_start_PerformanceNavigationTiming ( self_ : < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dom_content_loaded_event_start_PerformanceNavigationTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domContentLoadedEventStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domContentLoadedEventStart)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn dom_content_loaded_event_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dom_content_loaded_event_end_PerformanceNavigationTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigationTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigationTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domContentLoadedEventEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domContentLoadedEventEnd)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn dom_content_loaded_event_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dom_content_loaded_event_end_PerformanceNavigationTiming ( self_ : < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dom_content_loaded_event_end_PerformanceNavigationTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domContentLoadedEventEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domContentLoadedEventEnd)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn dom_content_loaded_event_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dom_complete_PerformanceNavigationTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigationTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigationTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domComplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domComplete)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn dom_complete ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dom_complete_PerformanceNavigationTiming ( self_ : < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dom_complete_PerformanceNavigationTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domComplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/domComplete)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn dom_complete ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_load_event_start_PerformanceNavigationTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigationTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigationTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loadEventStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/loadEventStart)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn load_event_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_load_event_start_PerformanceNavigationTiming ( self_ : < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_load_event_start_PerformanceNavigationTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loadEventStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/loadEventStart)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn load_event_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_load_event_end_PerformanceNavigationTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigationTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigationTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loadEventEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/loadEventEnd)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn load_event_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_load_event_end_PerformanceNavigationTiming ( self_ : < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_load_event_end_PerformanceNavigationTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loadEventEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/loadEventEnd)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn load_event_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_PerformanceNavigationTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigationTiming as WasmDescribe > :: describe ( ) ; < NavigationType as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigationTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/type)\n\n*This API requires the following crate features to be activated: `NavigationType`, `PerformanceNavigationTiming`*" ] pub fn type_ ( & self , ) -> NavigationType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_PerformanceNavigationTiming ( self_ : < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < NavigationType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_PerformanceNavigationTiming ( self_ ) } ; < NavigationType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/type)\n\n*This API requires the following crate features to be activated: `NavigationType`, `PerformanceNavigationTiming`*" ] pub fn type_ ( & self , ) -> NavigationType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_redirect_count_PerformanceNavigationTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceNavigationTiming as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl PerformanceNavigationTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `redirectCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/redirectCount)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn redirect_count ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_redirect_count_PerformanceNavigationTiming ( self_ : < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceNavigationTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_redirect_count_PerformanceNavigationTiming ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `redirectCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/redirectCount)\n\n*This API requires the following crate features to be activated: `PerformanceNavigationTiming`*" ] pub fn redirect_count ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PerformanceObserver` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver)\n\n*This API requires the following crate features to be activated: `PerformanceObserver`*" ] # [ repr ( transparent ) ] pub struct PerformanceObserver { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PerformanceObserver : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PerformanceObserver { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PerformanceObserver { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PerformanceObserver { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PerformanceObserver { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PerformanceObserver { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PerformanceObserver { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PerformanceObserver { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PerformanceObserver { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PerformanceObserver { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PerformanceObserver > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PerformanceObserver { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PerformanceObserver { # [ inline ] fn from ( obj : JsValue ) -> PerformanceObserver { PerformanceObserver { obj } } } impl AsRef < JsValue > for PerformanceObserver { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PerformanceObserver > for JsValue { # [ inline ] fn from ( obj : PerformanceObserver ) -> JsValue { obj . obj } } impl JsCast for PerformanceObserver { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PerformanceObserver ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PerformanceObserver ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PerformanceObserver { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PerformanceObserver ) } } } ( ) } ; impl core :: ops :: Deref for PerformanceObserver { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PerformanceObserver > for Object { # [ inline ] fn from ( obj : PerformanceObserver ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PerformanceObserver { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_PerformanceObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < PerformanceObserver as WasmDescribe > :: describe ( ) ; } impl PerformanceObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PerformanceObserver(..)` constructor, creating a new instance of `PerformanceObserver`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/PerformanceObserver)\n\n*This API requires the following crate features to be activated: `PerformanceObserver`*" ] pub fn new ( callback : & :: js_sys :: Function ) -> Result < PerformanceObserver , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_PerformanceObserver ( callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PerformanceObserver as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( callback , & mut __stack ) ; __widl_f_new_PerformanceObserver ( callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PerformanceObserver as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PerformanceObserver(..)` constructor, creating a new instance of `PerformanceObserver`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/PerformanceObserver)\n\n*This API requires the following crate features to be activated: `PerformanceObserver`*" ] pub fn new ( callback : & :: js_sys :: Function ) -> Result < PerformanceObserver , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disconnect_PerformanceObserver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceObserver as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PerformanceObserver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/disconnect)\n\n*This API requires the following crate features to be activated: `PerformanceObserver`*" ] pub fn disconnect ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disconnect_PerformanceObserver ( self_ : < & PerformanceObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceObserver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disconnect_PerformanceObserver ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver/disconnect)\n\n*This API requires the following crate features to be activated: `PerformanceObserver`*" ] pub fn disconnect ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PerformanceObserverEntryList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserverEntryList)\n\n*This API requires the following crate features to be activated: `PerformanceObserverEntryList`*" ] # [ repr ( transparent ) ] pub struct PerformanceObserverEntryList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PerformanceObserverEntryList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PerformanceObserverEntryList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PerformanceObserverEntryList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PerformanceObserverEntryList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PerformanceObserverEntryList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PerformanceObserverEntryList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PerformanceObserverEntryList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PerformanceObserverEntryList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PerformanceObserverEntryList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PerformanceObserverEntryList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PerformanceObserverEntryList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PerformanceObserverEntryList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PerformanceObserverEntryList { # [ inline ] fn from ( obj : JsValue ) -> PerformanceObserverEntryList { PerformanceObserverEntryList { obj } } } impl AsRef < JsValue > for PerformanceObserverEntryList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PerformanceObserverEntryList > for JsValue { # [ inline ] fn from ( obj : PerformanceObserverEntryList ) -> JsValue { obj . obj } } impl JsCast for PerformanceObserverEntryList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PerformanceObserverEntryList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PerformanceObserverEntryList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PerformanceObserverEntryList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PerformanceObserverEntryList ) } } } ( ) } ; impl core :: ops :: Deref for PerformanceObserverEntryList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PerformanceObserverEntryList > for Object { # [ inline ] fn from ( obj : PerformanceObserverEntryList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PerformanceObserverEntryList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PerformanceResourceTiming` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] # [ repr ( transparent ) ] pub struct PerformanceResourceTiming { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PerformanceResourceTiming : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PerformanceResourceTiming { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PerformanceResourceTiming { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PerformanceResourceTiming { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PerformanceResourceTiming { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PerformanceResourceTiming { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PerformanceResourceTiming { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PerformanceResourceTiming { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PerformanceResourceTiming { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PerformanceResourceTiming { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PerformanceResourceTiming > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PerformanceResourceTiming { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PerformanceResourceTiming { # [ inline ] fn from ( obj : JsValue ) -> PerformanceResourceTiming { PerformanceResourceTiming { obj } } } impl AsRef < JsValue > for PerformanceResourceTiming { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PerformanceResourceTiming > for JsValue { # [ inline ] fn from ( obj : PerformanceResourceTiming ) -> JsValue { obj . obj } } impl JsCast for PerformanceResourceTiming { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PerformanceResourceTiming ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PerformanceResourceTiming ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PerformanceResourceTiming { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PerformanceResourceTiming ) } } } ( ) } ; impl core :: ops :: Deref for PerformanceResourceTiming { type Target = PerformanceEntry ; # [ inline ] fn deref ( & self ) -> & PerformanceEntry { self . as_ref ( ) } } impl From < PerformanceResourceTiming > for PerformanceEntry { # [ inline ] fn from ( obj : PerformanceResourceTiming ) -> PerformanceEntry { use wasm_bindgen :: JsCast ; PerformanceEntry :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < PerformanceEntry > for PerformanceResourceTiming { # [ inline ] fn as_ref ( & self ) -> & PerformanceEntry { use wasm_bindgen :: JsCast ; PerformanceEntry :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PerformanceResourceTiming > for Object { # [ inline ] fn from ( obj : PerformanceResourceTiming ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PerformanceResourceTiming { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/toJSON)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_PerformanceResourceTiming ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/toJSON)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_initiator_type_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initiatorType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/initiatorType)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn initiator_type ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_initiator_type_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_initiator_type_PerformanceResourceTiming ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initiatorType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/initiatorType)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn initiator_type ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_next_hop_protocol_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `nextHopProtocol` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/nextHopProtocol)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn next_hop_protocol ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_next_hop_protocol_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_next_hop_protocol_PerformanceResourceTiming ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `nextHopProtocol` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/nextHopProtocol)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn next_hop_protocol ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_worker_start_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `workerStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/workerStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn worker_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_worker_start_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_worker_start_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `workerStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/workerStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn worker_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_redirect_start_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `redirectStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/redirectStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn redirect_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_redirect_start_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_redirect_start_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `redirectStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/redirectStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn redirect_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_redirect_end_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `redirectEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/redirectEnd)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn redirect_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_redirect_end_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_redirect_end_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `redirectEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/redirectEnd)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn redirect_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fetch_start_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fetchStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/fetchStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn fetch_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fetch_start_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fetch_start_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fetchStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/fetchStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn fetch_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_domain_lookup_start_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domainLookupStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/domainLookupStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn domain_lookup_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_domain_lookup_start_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_domain_lookup_start_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domainLookupStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/domainLookupStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn domain_lookup_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_domain_lookup_end_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domainLookupEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/domainLookupEnd)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn domain_lookup_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_domain_lookup_end_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_domain_lookup_end_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domainLookupEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/domainLookupEnd)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn domain_lookup_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connect_start_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connectStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/connectStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn connect_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connect_start_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_connect_start_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connectStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/connectStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn connect_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connect_end_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connectEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/connectEnd)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn connect_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connect_end_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_connect_end_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connectEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/connectEnd)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn connect_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_secure_connection_start_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `secureConnectionStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/secureConnectionStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn secure_connection_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_secure_connection_start_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_secure_connection_start_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `secureConnectionStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/secureConnectionStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn secure_connection_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_start_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/requestStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn request_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_start_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_request_start_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/requestStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn request_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_response_start_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `responseStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/responseStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn response_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_response_start_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_response_start_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `responseStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/responseStart)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn response_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_response_end_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `responseEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/responseEnd)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn response_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_response_end_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_response_end_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `responseEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/responseEnd)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn response_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transfer_size_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transferSize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/transferSize)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn transfer_size ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transfer_size_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_transfer_size_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transferSize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/transferSize)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn transfer_size ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_encoded_body_size_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `encodedBodySize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/encodedBodySize)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn encoded_body_size ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_encoded_body_size_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_encoded_body_size_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `encodedBodySize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/encodedBodySize)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn encoded_body_size ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decoded_body_size_PerformanceResourceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceResourceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceResourceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decodedBodySize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/decodedBodySize)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn decoded_body_size ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decoded_body_size_PerformanceResourceTiming ( self_ : < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceResourceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_decoded_body_size_PerformanceResourceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decodedBodySize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/decodedBodySize)\n\n*This API requires the following crate features to be activated: `PerformanceResourceTiming`*" ] pub fn decoded_body_size ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PerformanceServerTiming` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming)\n\n*This API requires the following crate features to be activated: `PerformanceServerTiming`*" ] # [ repr ( transparent ) ] pub struct PerformanceServerTiming { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PerformanceServerTiming : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PerformanceServerTiming { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PerformanceServerTiming { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PerformanceServerTiming { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PerformanceServerTiming { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PerformanceServerTiming { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PerformanceServerTiming { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PerformanceServerTiming { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PerformanceServerTiming { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PerformanceServerTiming { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PerformanceServerTiming > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PerformanceServerTiming { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PerformanceServerTiming { # [ inline ] fn from ( obj : JsValue ) -> PerformanceServerTiming { PerformanceServerTiming { obj } } } impl AsRef < JsValue > for PerformanceServerTiming { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PerformanceServerTiming > for JsValue { # [ inline ] fn from ( obj : PerformanceServerTiming ) -> JsValue { obj . obj } } impl JsCast for PerformanceServerTiming { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PerformanceServerTiming ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PerformanceServerTiming ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PerformanceServerTiming { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PerformanceServerTiming ) } } } ( ) } ; impl core :: ops :: Deref for PerformanceServerTiming { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PerformanceServerTiming > for Object { # [ inline ] fn from ( obj : PerformanceServerTiming ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PerformanceServerTiming { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_PerformanceServerTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceServerTiming as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl PerformanceServerTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming/toJSON)\n\n*This API requires the following crate features to be activated: `PerformanceServerTiming`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_PerformanceServerTiming ( self_ : < & PerformanceServerTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceServerTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_PerformanceServerTiming ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming/toJSON)\n\n*This API requires the following crate features to be activated: `PerformanceServerTiming`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_PerformanceServerTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceServerTiming as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PerformanceServerTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming/name)\n\n*This API requires the following crate features to be activated: `PerformanceServerTiming`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_PerformanceServerTiming ( self_ : < & PerformanceServerTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceServerTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_PerformanceServerTiming ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming/name)\n\n*This API requires the following crate features to be activated: `PerformanceServerTiming`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_duration_PerformanceServerTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceServerTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceServerTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `duration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming/duration)\n\n*This API requires the following crate features to be activated: `PerformanceServerTiming`*" ] pub fn duration ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_duration_PerformanceServerTiming ( self_ : < & PerformanceServerTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceServerTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_duration_PerformanceServerTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `duration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming/duration)\n\n*This API requires the following crate features to be activated: `PerformanceServerTiming`*" ] pub fn duration ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_description_PerformanceServerTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceServerTiming as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PerformanceServerTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `description` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming/description)\n\n*This API requires the following crate features to be activated: `PerformanceServerTiming`*" ] pub fn description ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_description_PerformanceServerTiming ( self_ : < & PerformanceServerTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceServerTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_description_PerformanceServerTiming ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `description` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming/description)\n\n*This API requires the following crate features to be activated: `PerformanceServerTiming`*" ] pub fn description ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PerformanceTiming` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] # [ repr ( transparent ) ] pub struct PerformanceTiming { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PerformanceTiming : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PerformanceTiming { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PerformanceTiming { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PerformanceTiming { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PerformanceTiming { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PerformanceTiming { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PerformanceTiming { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PerformanceTiming { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PerformanceTiming { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PerformanceTiming { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PerformanceTiming > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PerformanceTiming { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PerformanceTiming { # [ inline ] fn from ( obj : JsValue ) -> PerformanceTiming { PerformanceTiming { obj } } } impl AsRef < JsValue > for PerformanceTiming { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PerformanceTiming > for JsValue { # [ inline ] fn from ( obj : PerformanceTiming ) -> JsValue { obj . obj } } impl JsCast for PerformanceTiming { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PerformanceTiming ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PerformanceTiming ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PerformanceTiming { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PerformanceTiming ) } } } ( ) } ; impl core :: ops :: Deref for PerformanceTiming { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PerformanceTiming > for Object { # [ inline ] fn from ( obj : PerformanceTiming ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PerformanceTiming { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/toJSON)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_PerformanceTiming ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/toJSON)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_navigation_start_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `navigationStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/navigationStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn navigation_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_navigation_start_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_navigation_start_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `navigationStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/navigationStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn navigation_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unload_event_start_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unloadEventStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/unloadEventStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn unload_event_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unload_event_start_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unload_event_start_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unloadEventStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/unloadEventStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn unload_event_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unload_event_end_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unloadEventEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/unloadEventEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn unload_event_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unload_event_end_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unload_event_end_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unloadEventEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/unloadEventEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn unload_event_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_redirect_start_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `redirectStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/redirectStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn redirect_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_redirect_start_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_redirect_start_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `redirectStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/redirectStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn redirect_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_redirect_end_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `redirectEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/redirectEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn redirect_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_redirect_end_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_redirect_end_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `redirectEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/redirectEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn redirect_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fetch_start_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fetchStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/fetchStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn fetch_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fetch_start_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fetch_start_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fetchStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/fetchStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn fetch_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_domain_lookup_start_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domainLookupStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domainLookupStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn domain_lookup_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_domain_lookup_start_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_domain_lookup_start_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domainLookupStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domainLookupStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn domain_lookup_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_domain_lookup_end_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domainLookupEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domainLookupEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn domain_lookup_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_domain_lookup_end_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_domain_lookup_end_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domainLookupEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domainLookupEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn domain_lookup_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connect_start_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connectStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/connectStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn connect_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connect_start_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_connect_start_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connectStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/connectStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn connect_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connect_end_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connectEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/connectEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn connect_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connect_end_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_connect_end_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connectEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/connectEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn connect_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_secure_connection_start_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `secureConnectionStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/secureConnectionStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn secure_connection_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_secure_connection_start_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_secure_connection_start_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `secureConnectionStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/secureConnectionStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn secure_connection_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_start_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/requestStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn request_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_start_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_request_start_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/requestStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn request_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_response_start_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `responseStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/responseStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn response_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_response_start_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_response_start_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `responseStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/responseStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn response_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_response_end_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `responseEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/responseEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn response_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_response_end_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_response_end_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `responseEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/responseEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn response_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dom_loading_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domLoading` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domLoading)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn dom_loading ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dom_loading_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dom_loading_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domLoading` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domLoading)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn dom_loading ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dom_interactive_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domInteractive` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domInteractive)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn dom_interactive ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dom_interactive_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dom_interactive_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domInteractive` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domInteractive)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn dom_interactive ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dom_content_loaded_event_start_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domContentLoadedEventStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domContentLoadedEventStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn dom_content_loaded_event_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dom_content_loaded_event_start_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dom_content_loaded_event_start_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domContentLoadedEventStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domContentLoadedEventStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn dom_content_loaded_event_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dom_content_loaded_event_end_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domContentLoadedEventEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domContentLoadedEventEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn dom_content_loaded_event_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dom_content_loaded_event_end_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dom_content_loaded_event_end_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domContentLoadedEventEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domContentLoadedEventEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn dom_content_loaded_event_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dom_complete_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `domComplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domComplete)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn dom_complete ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dom_complete_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dom_complete_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `domComplete` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/domComplete)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn dom_complete ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_load_event_start_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loadEventStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/loadEventStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn load_event_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_load_event_start_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_load_event_start_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loadEventStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/loadEventStart)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn load_event_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_load_event_end_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loadEventEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/loadEventEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn load_event_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_load_event_end_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_load_event_end_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loadEventEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/loadEventEnd)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn load_event_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_to_non_blank_paint_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timeToNonBlankPaint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/timeToNonBlankPaint)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn time_to_non_blank_paint ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_to_non_blank_paint_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_time_to_non_blank_paint_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timeToNonBlankPaint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/timeToNonBlankPaint)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn time_to_non_blank_paint ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_to_dom_content_flushed_PerformanceTiming ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PerformanceTiming as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl PerformanceTiming { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timeToDOMContentFlushed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/timeToDOMContentFlushed)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn time_to_dom_content_flushed ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_to_dom_content_flushed_PerformanceTiming ( self_ : < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PerformanceTiming as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_time_to_dom_content_flushed_PerformanceTiming ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timeToDOMContentFlushed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/timeToDOMContentFlushed)\n\n*This API requires the following crate features to be activated: `PerformanceTiming`*" ] pub fn time_to_dom_content_flushed ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PeriodicWave` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PeriodicWave)\n\n*This API requires the following crate features to be activated: `PeriodicWave`*" ] # [ repr ( transparent ) ] pub struct PeriodicWave { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PeriodicWave : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PeriodicWave { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PeriodicWave { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PeriodicWave { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PeriodicWave { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PeriodicWave { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PeriodicWave { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PeriodicWave { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PeriodicWave { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PeriodicWave { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PeriodicWave > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PeriodicWave { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PeriodicWave { # [ inline ] fn from ( obj : JsValue ) -> PeriodicWave { PeriodicWave { obj } } } impl AsRef < JsValue > for PeriodicWave { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PeriodicWave > for JsValue { # [ inline ] fn from ( obj : PeriodicWave ) -> JsValue { obj . obj } } impl JsCast for PeriodicWave { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PeriodicWave ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PeriodicWave ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PeriodicWave { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PeriodicWave ) } } } ( ) } ; impl core :: ops :: Deref for PeriodicWave { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PeriodicWave > for Object { # [ inline ] fn from ( obj : PeriodicWave ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PeriodicWave { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_PeriodicWave ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < PeriodicWave as WasmDescribe > :: describe ( ) ; } impl PeriodicWave { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PeriodicWave(..)` constructor, creating a new instance of `PeriodicWave`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PeriodicWave/PeriodicWave)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PeriodicWave`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_PeriodicWave ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_PeriodicWave ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PeriodicWave(..)` constructor, creating a new instance of `PeriodicWave`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PeriodicWave/PeriodicWave)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PeriodicWave`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_PeriodicWave ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & PeriodicWaveOptions as WasmDescribe > :: describe ( ) ; < PeriodicWave as WasmDescribe > :: describe ( ) ; } impl PeriodicWave { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PeriodicWave(..)` constructor, creating a new instance of `PeriodicWave`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PeriodicWave/PeriodicWave)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PeriodicWave`, `PeriodicWaveOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & PeriodicWaveOptions ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_PeriodicWave ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & PeriodicWaveOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & PeriodicWaveOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_PeriodicWave ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PeriodicWave as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PeriodicWave(..)` constructor, creating a new instance of `PeriodicWave`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PeriodicWave/PeriodicWave)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `PeriodicWave`, `PeriodicWaveOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & PeriodicWaveOptions ) -> Result < PeriodicWave , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PermissionStatus` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus)\n\n*This API requires the following crate features to be activated: `PermissionStatus`*" ] # [ repr ( transparent ) ] pub struct PermissionStatus { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PermissionStatus : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PermissionStatus { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PermissionStatus { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PermissionStatus { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PermissionStatus { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PermissionStatus { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PermissionStatus { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PermissionStatus { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PermissionStatus { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PermissionStatus { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PermissionStatus > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PermissionStatus { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PermissionStatus { # [ inline ] fn from ( obj : JsValue ) -> PermissionStatus { PermissionStatus { obj } } } impl AsRef < JsValue > for PermissionStatus { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PermissionStatus > for JsValue { # [ inline ] fn from ( obj : PermissionStatus ) -> JsValue { obj . obj } } impl JsCast for PermissionStatus { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PermissionStatus ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PermissionStatus ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PermissionStatus { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PermissionStatus ) } } } ( ) } ; impl core :: ops :: Deref for PermissionStatus { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < PermissionStatus > for EventTarget { # [ inline ] fn from ( obj : PermissionStatus ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for PermissionStatus { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PermissionStatus > for Object { # [ inline ] fn from ( obj : PermissionStatus ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PermissionStatus { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_state_PermissionStatus ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PermissionStatus as WasmDescribe > :: describe ( ) ; < PermissionState as WasmDescribe > :: describe ( ) ; } impl PermissionStatus { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/state)\n\n*This API requires the following crate features to be activated: `PermissionState`, `PermissionStatus`*" ] pub fn state ( & self , ) -> PermissionState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_state_PermissionStatus ( self_ : < & PermissionStatus as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < PermissionState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PermissionStatus as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_state_PermissionStatus ( self_ ) } ; < PermissionState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/state)\n\n*This API requires the following crate features to be activated: `PermissionState`, `PermissionStatus`*" ] pub fn state ( & self , ) -> PermissionState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchange_PermissionStatus ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PermissionStatus as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl PermissionStatus { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/onchange)\n\n*This API requires the following crate features to be activated: `PermissionStatus`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchange_PermissionStatus ( self_ : < & PermissionStatus as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PermissionStatus as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchange_PermissionStatus ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/onchange)\n\n*This API requires the following crate features to be activated: `PermissionStatus`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchange_PermissionStatus ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PermissionStatus as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PermissionStatus { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/onchange)\n\n*This API requires the following crate features to be activated: `PermissionStatus`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchange_PermissionStatus ( self_ : < & PermissionStatus as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PermissionStatus as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchange , & mut __stack ) ; __widl_f_set_onchange_PermissionStatus ( self_ , onchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/onchange)\n\n*This API requires the following crate features to be activated: `PermissionStatus`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Permissions` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Permissions)\n\n*This API requires the following crate features to be activated: `Permissions`*" ] # [ repr ( transparent ) ] pub struct Permissions { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Permissions : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Permissions { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Permissions { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Permissions { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Permissions { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Permissions { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Permissions { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Permissions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Permissions { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Permissions { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Permissions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Permissions { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Permissions { # [ inline ] fn from ( obj : JsValue ) -> Permissions { Permissions { obj } } } impl AsRef < JsValue > for Permissions { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Permissions > for JsValue { # [ inline ] fn from ( obj : Permissions ) -> JsValue { obj . obj } } impl JsCast for Permissions { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Permissions ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Permissions ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Permissions { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Permissions ) } } } ( ) } ; impl core :: ops :: Deref for Permissions { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Permissions > for Object { # [ inline ] fn from ( obj : Permissions ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Permissions { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_query_Permissions ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Permissions as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Permissions { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `query()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Permissions/query)\n\n*This API requires the following crate features to be activated: `Permissions`*" ] pub fn query ( & self , permission : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_query_Permissions ( self_ : < & Permissions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , permission : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Permissions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let permission = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( permission , & mut __stack ) ; __widl_f_query_Permissions ( self_ , permission , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `query()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Permissions/query)\n\n*This API requires the following crate features to be activated: `Permissions`*" ] pub fn query ( & self , permission : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_revoke_Permissions ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Permissions as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Permissions { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `revoke()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Permissions/revoke)\n\n*This API requires the following crate features to be activated: `Permissions`*" ] pub fn revoke ( & self , permission : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_revoke_Permissions ( self_ : < & Permissions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , permission : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Permissions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let permission = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( permission , & mut __stack ) ; __widl_f_revoke_Permissions ( self_ , permission , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `revoke()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Permissions/revoke)\n\n*This API requires the following crate features to be activated: `Permissions`*" ] pub fn revoke ( & self , permission : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Plugin` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin)\n\n*This API requires the following crate features to be activated: `Plugin`*" ] # [ repr ( transparent ) ] pub struct Plugin { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Plugin : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Plugin { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Plugin { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Plugin { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Plugin { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Plugin { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Plugin { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Plugin { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Plugin { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Plugin { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Plugin > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Plugin { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Plugin { # [ inline ] fn from ( obj : JsValue ) -> Plugin { Plugin { obj } } } impl AsRef < JsValue > for Plugin { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Plugin > for JsValue { # [ inline ] fn from ( obj : Plugin ) -> JsValue { obj . obj } } impl JsCast for Plugin { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Plugin ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Plugin ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Plugin { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Plugin ) } } } ( ) } ; impl core :: ops :: Deref for Plugin { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Plugin > for Object { # [ inline ] fn from ( obj : Plugin ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Plugin { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_Plugin ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Plugin as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < MimeType > as WasmDescribe > :: describe ( ) ; } impl Plugin { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/item)\n\n*This API requires the following crate features to be activated: `MimeType`, `Plugin`*" ] pub fn item ( & self , index : u32 ) -> Option < MimeType > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_Plugin ( self_ : < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_Plugin ( self_ , index ) } ; < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/item)\n\n*This API requires the following crate features to be activated: `MimeType`, `Plugin`*" ] pub fn item ( & self , index : u32 ) -> Option < MimeType > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_named_item_Plugin ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Plugin as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < MimeType > as WasmDescribe > :: describe ( ) ; } impl Plugin { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/namedItem)\n\n*This API requires the following crate features to be activated: `MimeType`, `Plugin`*" ] pub fn named_item ( & self , name : & str ) -> Option < MimeType > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_named_item_Plugin ( self_ : < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_named_item_Plugin ( self_ , name ) } ; < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/namedItem)\n\n*This API requires the following crate features to be activated: `MimeType`, `Plugin`*" ] pub fn named_item ( & self , name : & str ) -> Option < MimeType > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_index_Plugin ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Plugin as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < MimeType > as WasmDescribe > :: describe ( ) ; } impl Plugin { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `MimeType`, `Plugin`*" ] pub fn get_with_index ( & self , index : u32 ) -> Option < MimeType > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_index_Plugin ( self_ : < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_with_index_Plugin ( self_ , index ) } ; < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `MimeType`, `Plugin`*" ] pub fn get_with_index ( & self , index : u32 ) -> Option < MimeType > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_name_Plugin ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Plugin as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < MimeType > as WasmDescribe > :: describe ( ) ; } impl Plugin { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `MimeType`, `Plugin`*" ] pub fn get_with_name ( & self , name : & str ) -> Option < MimeType > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_name_Plugin ( self_ : < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_with_name_Plugin ( self_ , name ) } ; < Option < MimeType > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `MimeType`, `Plugin`*" ] pub fn get_with_name ( & self , name : & str ) -> Option < MimeType > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_description_Plugin ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Plugin as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Plugin { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `description` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/description)\n\n*This API requires the following crate features to be activated: `Plugin`*" ] pub fn description ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_description_Plugin ( self_ : < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_description_Plugin ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `description` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/description)\n\n*This API requires the following crate features to be activated: `Plugin`*" ] pub fn description ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_filename_Plugin ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Plugin as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Plugin { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `filename` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/filename)\n\n*This API requires the following crate features to be activated: `Plugin`*" ] pub fn filename ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_filename_Plugin ( self_ : < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_filename_Plugin ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `filename` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/filename)\n\n*This API requires the following crate features to be activated: `Plugin`*" ] pub fn filename ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_version_Plugin ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Plugin as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Plugin { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `version` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/version)\n\n*This API requires the following crate features to be activated: `Plugin`*" ] pub fn version ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_version_Plugin ( self_ : < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_version_Plugin ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `version` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/version)\n\n*This API requires the following crate features to be activated: `Plugin`*" ] pub fn version ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_Plugin ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Plugin as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Plugin { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/name)\n\n*This API requires the following crate features to be activated: `Plugin`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_Plugin ( self_ : < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_Plugin ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/name)\n\n*This API requires the following crate features to be activated: `Plugin`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_Plugin ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Plugin as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Plugin { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/length)\n\n*This API requires the following crate features to be activated: `Plugin`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_Plugin ( self_ : < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Plugin as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_Plugin ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Plugin/length)\n\n*This API requires the following crate features to be activated: `Plugin`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PluginArray` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray)\n\n*This API requires the following crate features to be activated: `PluginArray`*" ] # [ repr ( transparent ) ] pub struct PluginArray { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PluginArray : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PluginArray { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PluginArray { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PluginArray { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PluginArray { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PluginArray { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PluginArray { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PluginArray { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PluginArray { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PluginArray { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PluginArray > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PluginArray { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PluginArray { # [ inline ] fn from ( obj : JsValue ) -> PluginArray { PluginArray { obj } } } impl AsRef < JsValue > for PluginArray { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PluginArray > for JsValue { # [ inline ] fn from ( obj : PluginArray ) -> JsValue { obj . obj } } impl JsCast for PluginArray { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PluginArray ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PluginArray ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PluginArray { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PluginArray ) } } } ( ) } ; impl core :: ops :: Deref for PluginArray { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PluginArray > for Object { # [ inline ] fn from ( obj : PluginArray ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PluginArray { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_PluginArray ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PluginArray as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Plugin > as WasmDescribe > :: describe ( ) ; } impl PluginArray { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/item)\n\n*This API requires the following crate features to be activated: `Plugin`, `PluginArray`*" ] pub fn item ( & self , index : u32 ) -> Option < Plugin > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_PluginArray ( self_ : < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Plugin > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_PluginArray ( self_ , index ) } ; < Option < Plugin > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/item)\n\n*This API requires the following crate features to be activated: `Plugin`, `PluginArray`*" ] pub fn item ( & self , index : u32 ) -> Option < Plugin > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_named_item_PluginArray ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PluginArray as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Plugin > as WasmDescribe > :: describe ( ) ; } impl PluginArray { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/namedItem)\n\n*This API requires the following crate features to be activated: `Plugin`, `PluginArray`*" ] pub fn named_item ( & self , name : & str ) -> Option < Plugin > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_named_item_PluginArray ( self_ : < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Plugin > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_named_item_PluginArray ( self_ , name ) } ; < Option < Plugin > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `namedItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/namedItem)\n\n*This API requires the following crate features to be activated: `Plugin`, `PluginArray`*" ] pub fn named_item ( & self , name : & str ) -> Option < Plugin > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_refresh_PluginArray ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PluginArray as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PluginArray { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `refresh()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/refresh)\n\n*This API requires the following crate features to be activated: `PluginArray`*" ] pub fn refresh ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_refresh_PluginArray ( self_ : < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_refresh_PluginArray ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `refresh()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/refresh)\n\n*This API requires the following crate features to be activated: `PluginArray`*" ] pub fn refresh ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_refresh_with_reload_documents_PluginArray ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PluginArray as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PluginArray { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `refresh()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/refresh)\n\n*This API requires the following crate features to be activated: `PluginArray`*" ] pub fn refresh_with_reload_documents ( & self , reload_documents : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_refresh_with_reload_documents_PluginArray ( self_ : < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , reload_documents : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let reload_documents = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( reload_documents , & mut __stack ) ; __widl_f_refresh_with_reload_documents_PluginArray ( self_ , reload_documents ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `refresh()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/refresh)\n\n*This API requires the following crate features to be activated: `PluginArray`*" ] pub fn refresh_with_reload_documents ( & self , reload_documents : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_index_PluginArray ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PluginArray as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Plugin > as WasmDescribe > :: describe ( ) ; } impl PluginArray { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Plugin`, `PluginArray`*" ] pub fn get_with_index ( & self , index : u32 ) -> Option < Plugin > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_index_PluginArray ( self_ : < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Plugin > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_with_index_PluginArray ( self_ , index ) } ; < Option < Plugin > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Plugin`, `PluginArray`*" ] pub fn get_with_index ( & self , index : u32 ) -> Option < Plugin > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_with_name_PluginArray ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PluginArray as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Plugin > as WasmDescribe > :: describe ( ) ; } impl PluginArray { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Plugin`, `PluginArray`*" ] pub fn get_with_name ( & self , name : & str ) -> Option < Plugin > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_with_name_PluginArray ( self_ : < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Plugin > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_with_name_PluginArray ( self_ , name ) } ; < Option < Plugin > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Plugin`, `PluginArray`*" ] pub fn get_with_name ( & self , name : & str ) -> Option < Plugin > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_PluginArray ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PluginArray as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl PluginArray { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/length)\n\n*This API requires the following crate features to be activated: `PluginArray`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_PluginArray ( self_ : < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PluginArray as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_PluginArray ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PluginArray/length)\n\n*This API requires the following crate features to be activated: `PluginArray`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PointerEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] # [ repr ( transparent ) ] pub struct PointerEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PointerEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PointerEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PointerEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PointerEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PointerEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PointerEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PointerEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PointerEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PointerEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PointerEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PointerEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PointerEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PointerEvent { # [ inline ] fn from ( obj : JsValue ) -> PointerEvent { PointerEvent { obj } } } impl AsRef < JsValue > for PointerEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PointerEvent > for JsValue { # [ inline ] fn from ( obj : PointerEvent ) -> JsValue { obj . obj } } impl JsCast for PointerEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PointerEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PointerEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PointerEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PointerEvent ) } } } ( ) } ; impl core :: ops :: Deref for PointerEvent { type Target = MouseEvent ; # [ inline ] fn deref ( & self ) -> & MouseEvent { self . as_ref ( ) } } impl From < PointerEvent > for MouseEvent { # [ inline ] fn from ( obj : PointerEvent ) -> MouseEvent { use wasm_bindgen :: JsCast ; MouseEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < MouseEvent > for PointerEvent { # [ inline ] fn as_ref ( & self ) -> & MouseEvent { use wasm_bindgen :: JsCast ; MouseEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PointerEvent > for UiEvent { # [ inline ] fn from ( obj : PointerEvent ) -> UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < UiEvent > for PointerEvent { # [ inline ] fn as_ref ( & self ) -> & UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PointerEvent > for Event { # [ inline ] fn from ( obj : PointerEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for PointerEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PointerEvent > for Object { # [ inline ] fn from ( obj : PointerEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PointerEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_PointerEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < PointerEvent as WasmDescribe > :: describe ( ) ; } impl PointerEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PointerEvent(..)` constructor, creating a new instance of `PointerEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/PointerEvent)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn new ( type_ : & str ) -> Result < PointerEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_PointerEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PointerEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_PointerEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PointerEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PointerEvent(..)` constructor, creating a new instance of `PointerEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/PointerEvent)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn new ( type_ : & str ) -> Result < PointerEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_PointerEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & PointerEventInit as WasmDescribe > :: describe ( ) ; < PointerEvent as WasmDescribe > :: describe ( ) ; } impl PointerEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PointerEvent(..)` constructor, creating a new instance of `PointerEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/PointerEvent)\n\n*This API requires the following crate features to be activated: `PointerEvent`, `PointerEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PointerEventInit ) -> Result < PointerEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_PointerEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & PointerEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PointerEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & PointerEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_PointerEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PointerEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PointerEvent(..)` constructor, creating a new instance of `PointerEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/PointerEvent)\n\n*This API requires the following crate features to be activated: `PointerEvent`, `PointerEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PointerEventInit ) -> Result < PointerEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pointer_id_PointerEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PointerEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl PointerEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pointerId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerId)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn pointer_id ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pointer_id_PointerEvent ( self_ : < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pointer_id_PointerEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pointerId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerId)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn pointer_id ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_PointerEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PointerEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl PointerEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/width)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn width ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_PointerEvent ( self_ : < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_PointerEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/width)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn width ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_PointerEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PointerEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl PointerEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/height)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn height ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_PointerEvent ( self_ : < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_PointerEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/height)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn height ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pressure_PointerEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PointerEvent as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl PointerEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pressure` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pressure)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn pressure ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pressure_PointerEvent ( self_ : < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pressure_PointerEvent ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pressure` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pressure)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn pressure ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tangential_pressure_PointerEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PointerEvent as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl PointerEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tangentialPressure` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tangentialPressure)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn tangential_pressure ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tangential_pressure_PointerEvent ( self_ : < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_tangential_pressure_PointerEvent ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tangentialPressure` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tangentialPressure)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn tangential_pressure ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tilt_x_PointerEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PointerEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl PointerEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tiltX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tiltX)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn tilt_x ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tilt_x_PointerEvent ( self_ : < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_tilt_x_PointerEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tiltX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tiltX)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn tilt_x ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tilt_y_PointerEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PointerEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl PointerEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tiltY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tiltY)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn tilt_y ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tilt_y_PointerEvent ( self_ : < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_tilt_y_PointerEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tiltY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tiltY)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn tilt_y ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_twist_PointerEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PointerEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl PointerEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `twist` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/twist)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn twist ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_twist_PointerEvent ( self_ : < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_twist_PointerEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `twist` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/twist)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn twist ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pointer_type_PointerEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PointerEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PointerEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pointerType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerType)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn pointer_type ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pointer_type_PointerEvent ( self_ : < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pointer_type_PointerEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pointerType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerType)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn pointer_type ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_primary_PointerEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PointerEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl PointerEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isPrimary` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/isPrimary)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn is_primary ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_primary_PointerEvent ( self_ : < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PointerEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_primary_PointerEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isPrimary` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/isPrimary)\n\n*This API requires the following crate features to be activated: `PointerEvent`*" ] pub fn is_primary ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PopStateEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopStateEvent)\n\n*This API requires the following crate features to be activated: `PopStateEvent`*" ] # [ repr ( transparent ) ] pub struct PopStateEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PopStateEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PopStateEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PopStateEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PopStateEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PopStateEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PopStateEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PopStateEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PopStateEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PopStateEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PopStateEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PopStateEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PopStateEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PopStateEvent { # [ inline ] fn from ( obj : JsValue ) -> PopStateEvent { PopStateEvent { obj } } } impl AsRef < JsValue > for PopStateEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PopStateEvent > for JsValue { # [ inline ] fn from ( obj : PopStateEvent ) -> JsValue { obj . obj } } impl JsCast for PopStateEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PopStateEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PopStateEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PopStateEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PopStateEvent ) } } } ( ) } ; impl core :: ops :: Deref for PopStateEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < PopStateEvent > for Event { # [ inline ] fn from ( obj : PopStateEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for PopStateEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PopStateEvent > for Object { # [ inline ] fn from ( obj : PopStateEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PopStateEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_PopStateEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < PopStateEvent as WasmDescribe > :: describe ( ) ; } impl PopStateEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PopStateEvent(..)` constructor, creating a new instance of `PopStateEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopStateEvent/PopStateEvent)\n\n*This API requires the following crate features to be activated: `PopStateEvent`*" ] pub fn new ( type_ : & str ) -> Result < PopStateEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_PopStateEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PopStateEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_PopStateEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PopStateEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PopStateEvent(..)` constructor, creating a new instance of `PopStateEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopStateEvent/PopStateEvent)\n\n*This API requires the following crate features to be activated: `PopStateEvent`*" ] pub fn new ( type_ : & str ) -> Result < PopStateEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_PopStateEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & PopStateEventInit as WasmDescribe > :: describe ( ) ; < PopStateEvent as WasmDescribe > :: describe ( ) ; } impl PopStateEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PopStateEvent(..)` constructor, creating a new instance of `PopStateEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopStateEvent/PopStateEvent)\n\n*This API requires the following crate features to be activated: `PopStateEvent`, `PopStateEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PopStateEventInit ) -> Result < PopStateEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_PopStateEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & PopStateEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PopStateEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & PopStateEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_PopStateEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PopStateEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PopStateEvent(..)` constructor, creating a new instance of `PopStateEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopStateEvent/PopStateEvent)\n\n*This API requires the following crate features to be activated: `PopStateEvent`, `PopStateEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PopStateEventInit ) -> Result < PopStateEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_state_PopStateEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PopStateEvent as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl PopStateEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopStateEvent/state)\n\n*This API requires the following crate features to be activated: `PopStateEvent`*" ] pub fn state ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_state_PopStateEvent ( self_ : < & PopStateEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PopStateEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_state_PopStateEvent ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopStateEvent/state)\n\n*This API requires the following crate features to be activated: `PopStateEvent`*" ] pub fn state ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PopupBlockedEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent)\n\n*This API requires the following crate features to be activated: `PopupBlockedEvent`*" ] # [ repr ( transparent ) ] pub struct PopupBlockedEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PopupBlockedEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PopupBlockedEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PopupBlockedEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PopupBlockedEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PopupBlockedEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PopupBlockedEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PopupBlockedEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PopupBlockedEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PopupBlockedEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PopupBlockedEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PopupBlockedEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PopupBlockedEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PopupBlockedEvent { # [ inline ] fn from ( obj : JsValue ) -> PopupBlockedEvent { PopupBlockedEvent { obj } } } impl AsRef < JsValue > for PopupBlockedEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PopupBlockedEvent > for JsValue { # [ inline ] fn from ( obj : PopupBlockedEvent ) -> JsValue { obj . obj } } impl JsCast for PopupBlockedEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PopupBlockedEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PopupBlockedEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PopupBlockedEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PopupBlockedEvent ) } } } ( ) } ; impl core :: ops :: Deref for PopupBlockedEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < PopupBlockedEvent > for Event { # [ inline ] fn from ( obj : PopupBlockedEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for PopupBlockedEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PopupBlockedEvent > for Object { # [ inline ] fn from ( obj : PopupBlockedEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PopupBlockedEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_PopupBlockedEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < PopupBlockedEvent as WasmDescribe > :: describe ( ) ; } impl PopupBlockedEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PopupBlockedEvent(..)` constructor, creating a new instance of `PopupBlockedEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/PopupBlockedEvent)\n\n*This API requires the following crate features to be activated: `PopupBlockedEvent`*" ] pub fn new ( type_ : & str ) -> Result < PopupBlockedEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_PopupBlockedEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PopupBlockedEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_PopupBlockedEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PopupBlockedEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PopupBlockedEvent(..)` constructor, creating a new instance of `PopupBlockedEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/PopupBlockedEvent)\n\n*This API requires the following crate features to be activated: `PopupBlockedEvent`*" ] pub fn new ( type_ : & str ) -> Result < PopupBlockedEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_PopupBlockedEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & PopupBlockedEventInit as WasmDescribe > :: describe ( ) ; < PopupBlockedEvent as WasmDescribe > :: describe ( ) ; } impl PopupBlockedEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PopupBlockedEvent(..)` constructor, creating a new instance of `PopupBlockedEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/PopupBlockedEvent)\n\n*This API requires the following crate features to be activated: `PopupBlockedEvent`, `PopupBlockedEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PopupBlockedEventInit ) -> Result < PopupBlockedEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_PopupBlockedEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & PopupBlockedEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PopupBlockedEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & PopupBlockedEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_PopupBlockedEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PopupBlockedEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PopupBlockedEvent(..)` constructor, creating a new instance of `PopupBlockedEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/PopupBlockedEvent)\n\n*This API requires the following crate features to be activated: `PopupBlockedEvent`, `PopupBlockedEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PopupBlockedEventInit ) -> Result < PopupBlockedEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_requesting_window_PopupBlockedEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PopupBlockedEvent as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl PopupBlockedEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestingWindow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/requestingWindow)\n\n*This API requires the following crate features to be activated: `PopupBlockedEvent`, `Window`*" ] pub fn requesting_window ( & self , ) -> Option < Window > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_requesting_window_PopupBlockedEvent ( self_ : < & PopupBlockedEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PopupBlockedEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_requesting_window_PopupBlockedEvent ( self_ ) } ; < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestingWindow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/requestingWindow)\n\n*This API requires the following crate features to be activated: `PopupBlockedEvent`, `Window`*" ] pub fn requesting_window ( & self , ) -> Option < Window > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_popup_window_name_PopupBlockedEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PopupBlockedEvent as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl PopupBlockedEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `popupWindowName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/popupWindowName)\n\n*This API requires the following crate features to be activated: `PopupBlockedEvent`*" ] pub fn popup_window_name ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_popup_window_name_PopupBlockedEvent ( self_ : < & PopupBlockedEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PopupBlockedEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_popup_window_name_PopupBlockedEvent ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `popupWindowName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/popupWindowName)\n\n*This API requires the following crate features to be activated: `PopupBlockedEvent`*" ] pub fn popup_window_name ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_popup_window_features_PopupBlockedEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PopupBlockedEvent as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl PopupBlockedEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `popupWindowFeatures` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/popupWindowFeatures)\n\n*This API requires the following crate features to be activated: `PopupBlockedEvent`*" ] pub fn popup_window_features ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_popup_window_features_PopupBlockedEvent ( self_ : < & PopupBlockedEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PopupBlockedEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_popup_window_features_PopupBlockedEvent ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `popupWindowFeatures` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PopupBlockedEvent/popupWindowFeatures)\n\n*This API requires the following crate features to be activated: `PopupBlockedEvent`*" ] pub fn popup_window_features ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Presentation` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Presentation)\n\n*This API requires the following crate features to be activated: `Presentation`*" ] # [ repr ( transparent ) ] pub struct Presentation { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Presentation : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Presentation { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Presentation { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Presentation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Presentation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Presentation { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Presentation { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Presentation { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Presentation { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Presentation { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Presentation > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Presentation { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Presentation { # [ inline ] fn from ( obj : JsValue ) -> Presentation { Presentation { obj } } } impl AsRef < JsValue > for Presentation { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Presentation > for JsValue { # [ inline ] fn from ( obj : Presentation ) -> JsValue { obj . obj } } impl JsCast for Presentation { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Presentation ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Presentation ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Presentation { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Presentation ) } } } ( ) } ; impl core :: ops :: Deref for Presentation { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Presentation > for Object { # [ inline ] fn from ( obj : Presentation ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Presentation { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_request_Presentation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Presentation as WasmDescribe > :: describe ( ) ; < Option < PresentationRequest > as WasmDescribe > :: describe ( ) ; } impl Presentation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultRequest` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Presentation/defaultRequest)\n\n*This API requires the following crate features to be activated: `Presentation`, `PresentationRequest`*" ] pub fn default_request ( & self , ) -> Option < PresentationRequest > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_request_Presentation ( self_ : < & Presentation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < PresentationRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Presentation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_request_Presentation ( self_ ) } ; < Option < PresentationRequest > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultRequest` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Presentation/defaultRequest)\n\n*This API requires the following crate features to be activated: `Presentation`, `PresentationRequest`*" ] pub fn default_request ( & self , ) -> Option < PresentationRequest > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_default_request_Presentation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Presentation as WasmDescribe > :: describe ( ) ; < Option < & PresentationRequest > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Presentation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `defaultRequest` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Presentation/defaultRequest)\n\n*This API requires the following crate features to be activated: `Presentation`, `PresentationRequest`*" ] pub fn set_default_request ( & self , default_request : Option < & PresentationRequest > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_default_request_Presentation ( self_ : < & Presentation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , default_request : < Option < & PresentationRequest > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Presentation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let default_request = < Option < & PresentationRequest > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( default_request , & mut __stack ) ; __widl_f_set_default_request_Presentation ( self_ , default_request ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `defaultRequest` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Presentation/defaultRequest)\n\n*This API requires the following crate features to be activated: `Presentation`, `PresentationRequest`*" ] pub fn set_default_request ( & self , default_request : Option < & PresentationRequest > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_receiver_Presentation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Presentation as WasmDescribe > :: describe ( ) ; < Option < PresentationReceiver > as WasmDescribe > :: describe ( ) ; } impl Presentation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `receiver` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Presentation/receiver)\n\n*This API requires the following crate features to be activated: `Presentation`, `PresentationReceiver`*" ] pub fn receiver ( & self , ) -> Option < PresentationReceiver > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_receiver_Presentation ( self_ : < & Presentation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < PresentationReceiver > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Presentation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_receiver_Presentation ( self_ ) } ; < Option < PresentationReceiver > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `receiver` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Presentation/receiver)\n\n*This API requires the following crate features to be activated: `Presentation`, `PresentationReceiver`*" ] pub fn receiver ( & self , ) -> Option < PresentationReceiver > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PresentationAvailability` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationAvailability)\n\n*This API requires the following crate features to be activated: `PresentationAvailability`*" ] # [ repr ( transparent ) ] pub struct PresentationAvailability { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PresentationAvailability : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PresentationAvailability { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PresentationAvailability { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PresentationAvailability { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PresentationAvailability { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PresentationAvailability { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PresentationAvailability { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PresentationAvailability { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PresentationAvailability { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PresentationAvailability { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PresentationAvailability > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PresentationAvailability { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PresentationAvailability { # [ inline ] fn from ( obj : JsValue ) -> PresentationAvailability { PresentationAvailability { obj } } } impl AsRef < JsValue > for PresentationAvailability { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PresentationAvailability > for JsValue { # [ inline ] fn from ( obj : PresentationAvailability ) -> JsValue { obj . obj } } impl JsCast for PresentationAvailability { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PresentationAvailability ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PresentationAvailability ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PresentationAvailability { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PresentationAvailability ) } } } ( ) } ; impl core :: ops :: Deref for PresentationAvailability { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < PresentationAvailability > for EventTarget { # [ inline ] fn from ( obj : PresentationAvailability ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for PresentationAvailability { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PresentationAvailability > for Object { # [ inline ] fn from ( obj : PresentationAvailability ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PresentationAvailability { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_PresentationAvailability ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationAvailability as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl PresentationAvailability { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationAvailability/value)\n\n*This API requires the following crate features to be activated: `PresentationAvailability`*" ] pub fn value ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_PresentationAvailability ( self_ : < & PresentationAvailability as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationAvailability as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_PresentationAvailability ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationAvailability/value)\n\n*This API requires the following crate features to be activated: `PresentationAvailability`*" ] pub fn value ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchange_PresentationAvailability ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationAvailability as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl PresentationAvailability { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationAvailability/onchange)\n\n*This API requires the following crate features to be activated: `PresentationAvailability`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchange_PresentationAvailability ( self_ : < & PresentationAvailability as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationAvailability as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchange_PresentationAvailability ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationAvailability/onchange)\n\n*This API requires the following crate features to be activated: `PresentationAvailability`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchange_PresentationAvailability ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationAvailability as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationAvailability { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationAvailability/onchange)\n\n*This API requires the following crate features to be activated: `PresentationAvailability`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchange_PresentationAvailability ( self_ : < & PresentationAvailability as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationAvailability as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchange , & mut __stack ) ; __widl_f_set_onchange_PresentationAvailability ( self_ , onchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationAvailability/onchange)\n\n*This API requires the following crate features to be activated: `PresentationAvailability`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PresentationConnection` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] # [ repr ( transparent ) ] pub struct PresentationConnection { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PresentationConnection : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PresentationConnection { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PresentationConnection { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PresentationConnection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PresentationConnection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PresentationConnection { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PresentationConnection { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PresentationConnection { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PresentationConnection { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PresentationConnection { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PresentationConnection > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PresentationConnection { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PresentationConnection { # [ inline ] fn from ( obj : JsValue ) -> PresentationConnection { PresentationConnection { obj } } } impl AsRef < JsValue > for PresentationConnection { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PresentationConnection > for JsValue { # [ inline ] fn from ( obj : PresentationConnection ) -> JsValue { obj . obj } } impl JsCast for PresentationConnection { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PresentationConnection ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PresentationConnection ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PresentationConnection { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PresentationConnection ) } } } ( ) } ; impl core :: ops :: Deref for PresentationConnection { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < PresentationConnection > for EventTarget { # [ inline ] fn from ( obj : PresentationConnection ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for PresentationConnection { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PresentationConnection > for Object { # [ inline ] fn from ( obj : PresentationConnection ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PresentationConnection { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/close)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn close ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_PresentationConnection ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/close)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn close ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_str_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn send_with_str ( & self , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_str_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_str_PresentationConnection ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn send_with_str ( & self , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_blob_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)\n\n*This API requires the following crate features to be activated: `Blob`, `PresentationConnection`*" ] pub fn send_with_blob ( & self , data : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_blob_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_blob_PresentationConnection ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)\n\n*This API requires the following crate features to be activated: `Blob`, `PresentationConnection`*" ] pub fn send_with_blob ( & self , data : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_array_buffer_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn send_with_array_buffer ( & self , data : & :: js_sys :: ArrayBuffer ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_array_buffer_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_array_buffer_PresentationConnection ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn send_with_array_buffer ( & self , data : & :: js_sys :: ArrayBuffer ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_array_buffer_view_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn send_with_array_buffer_view ( & self , data : & :: js_sys :: Object ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_array_buffer_view_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_array_buffer_view_PresentationConnection ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn send_with_array_buffer_view ( & self , data : & :: js_sys :: Object ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_u8_array_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn send_with_u8_array ( & self , data : & mut [ u8 ] ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_u8_array_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_u8_array_PresentationConnection ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/send)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn send_with_u8_array ( & self , data : & mut [ u8 ] ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_terminate_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `terminate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/terminate)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn terminate ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_terminate_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_terminate_PresentationConnection ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `terminate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/terminate)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn terminate ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/id)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_PresentationConnection ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/id)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_url_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/url)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn url ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_url_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_url_PresentationConnection ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/url)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn url ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_state_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < PresentationConnectionState as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/state)\n\n*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionState`*" ] pub fn state ( & self , ) -> PresentationConnectionState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_state_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < PresentationConnectionState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_state_PresentationConnection ( self_ ) } ; < PresentationConnectionState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/state)\n\n*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionState`*" ] pub fn state ( & self , ) -> PresentationConnectionState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onconnect_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onconnect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onconnect)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn onconnect ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onconnect_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onconnect_PresentationConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onconnect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onconnect)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn onconnect ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onconnect_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onconnect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onconnect)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn set_onconnect ( & self , onconnect : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onconnect_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onconnect : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onconnect = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onconnect , & mut __stack ) ; __widl_f_set_onconnect_PresentationConnection ( self_ , onconnect ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onconnect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onconnect)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn set_onconnect ( & self , onconnect : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclose_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onclose)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclose_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclose_PresentationConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onclose)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclose_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onclose)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclose_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclose : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclose = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclose , & mut __stack ) ; __widl_f_set_onclose_PresentationConnection ( self_ , onclose ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onclose)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onterminate_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onterminate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onterminate)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn onterminate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onterminate_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onterminate_PresentationConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onterminate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onterminate)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn onterminate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onterminate_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onterminate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onterminate)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn set_onterminate ( & self , onterminate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onterminate_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onterminate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onterminate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onterminate , & mut __stack ) ; __widl_f_set_onterminate_PresentationConnection ( self_ , onterminate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onterminate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onterminate)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn set_onterminate ( & self , onterminate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_binary_type_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < PresentationConnectionBinaryType as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `binaryType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/binaryType)\n\n*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionBinaryType`*" ] pub fn binary_type ( & self , ) -> PresentationConnectionBinaryType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_binary_type_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < PresentationConnectionBinaryType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_binary_type_PresentationConnection ( self_ ) } ; < PresentationConnectionBinaryType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `binaryType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/binaryType)\n\n*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionBinaryType`*" ] pub fn binary_type ( & self , ) -> PresentationConnectionBinaryType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_binary_type_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < PresentationConnectionBinaryType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `binaryType` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/binaryType)\n\n*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionBinaryType`*" ] pub fn set_binary_type ( & self , binary_type : PresentationConnectionBinaryType ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_binary_type_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , binary_type : < PresentationConnectionBinaryType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let binary_type = < PresentationConnectionBinaryType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( binary_type , & mut __stack ) ; __widl_f_set_binary_type_PresentationConnection ( self_ , binary_type ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `binaryType` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/binaryType)\n\n*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionBinaryType`*" ] pub fn set_binary_type ( & self , binary_type : PresentationConnectionBinaryType ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onmessage)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_PresentationConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onmessage)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_PresentationConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onmessage)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_PresentationConnection ( self_ : < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_PresentationConnection ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/onmessage)\n\n*This API requires the following crate features to be activated: `PresentationConnection`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PresentationConnectionAvailableEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionAvailableEvent)\n\n*This API requires the following crate features to be activated: `PresentationConnectionAvailableEvent`*" ] # [ repr ( transparent ) ] pub struct PresentationConnectionAvailableEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PresentationConnectionAvailableEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PresentationConnectionAvailableEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PresentationConnectionAvailableEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PresentationConnectionAvailableEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PresentationConnectionAvailableEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PresentationConnectionAvailableEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PresentationConnectionAvailableEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PresentationConnectionAvailableEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PresentationConnectionAvailableEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PresentationConnectionAvailableEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PresentationConnectionAvailableEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PresentationConnectionAvailableEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PresentationConnectionAvailableEvent { # [ inline ] fn from ( obj : JsValue ) -> PresentationConnectionAvailableEvent { PresentationConnectionAvailableEvent { obj } } } impl AsRef < JsValue > for PresentationConnectionAvailableEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PresentationConnectionAvailableEvent > for JsValue { # [ inline ] fn from ( obj : PresentationConnectionAvailableEvent ) -> JsValue { obj . obj } } impl JsCast for PresentationConnectionAvailableEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PresentationConnectionAvailableEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PresentationConnectionAvailableEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PresentationConnectionAvailableEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PresentationConnectionAvailableEvent ) } } } ( ) } ; impl core :: ops :: Deref for PresentationConnectionAvailableEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < PresentationConnectionAvailableEvent > for Event { # [ inline ] fn from ( obj : PresentationConnectionAvailableEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for PresentationConnectionAvailableEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PresentationConnectionAvailableEvent > for Object { # [ inline ] fn from ( obj : PresentationConnectionAvailableEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PresentationConnectionAvailableEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_PresentationConnectionAvailableEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & PresentationConnectionAvailableEventInit as WasmDescribe > :: describe ( ) ; < PresentationConnectionAvailableEvent as WasmDescribe > :: describe ( ) ; } impl PresentationConnectionAvailableEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PresentationConnectionAvailableEvent(..)` constructor, creating a new instance of `PresentationConnectionAvailableEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionAvailableEvent/PresentationConnectionAvailableEvent)\n\n*This API requires the following crate features to be activated: `PresentationConnectionAvailableEvent`, `PresentationConnectionAvailableEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & PresentationConnectionAvailableEventInit ) -> Result < PresentationConnectionAvailableEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_PresentationConnectionAvailableEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & PresentationConnectionAvailableEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PresentationConnectionAvailableEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & PresentationConnectionAvailableEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_PresentationConnectionAvailableEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PresentationConnectionAvailableEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PresentationConnectionAvailableEvent(..)` constructor, creating a new instance of `PresentationConnectionAvailableEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionAvailableEvent/PresentationConnectionAvailableEvent)\n\n*This API requires the following crate features to be activated: `PresentationConnectionAvailableEvent`, `PresentationConnectionAvailableEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & PresentationConnectionAvailableEventInit ) -> Result < PresentationConnectionAvailableEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connection_PresentationConnectionAvailableEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnectionAvailableEvent as WasmDescribe > :: describe ( ) ; < PresentationConnection as WasmDescribe > :: describe ( ) ; } impl PresentationConnectionAvailableEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connection` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionAvailableEvent/connection)\n\n*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionAvailableEvent`*" ] pub fn connection ( & self , ) -> PresentationConnection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connection_PresentationConnectionAvailableEvent ( self_ : < & PresentationConnectionAvailableEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < PresentationConnection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnectionAvailableEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_connection_PresentationConnectionAvailableEvent ( self_ ) } ; < PresentationConnection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connection` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionAvailableEvent/connection)\n\n*This API requires the following crate features to be activated: `PresentationConnection`, `PresentationConnectionAvailableEvent`*" ] pub fn connection ( & self , ) -> PresentationConnection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PresentationConnectionCloseEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionCloseEvent)\n\n*This API requires the following crate features to be activated: `PresentationConnectionCloseEvent`*" ] # [ repr ( transparent ) ] pub struct PresentationConnectionCloseEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PresentationConnectionCloseEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PresentationConnectionCloseEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PresentationConnectionCloseEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PresentationConnectionCloseEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PresentationConnectionCloseEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PresentationConnectionCloseEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PresentationConnectionCloseEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PresentationConnectionCloseEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PresentationConnectionCloseEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PresentationConnectionCloseEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PresentationConnectionCloseEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PresentationConnectionCloseEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PresentationConnectionCloseEvent { # [ inline ] fn from ( obj : JsValue ) -> PresentationConnectionCloseEvent { PresentationConnectionCloseEvent { obj } } } impl AsRef < JsValue > for PresentationConnectionCloseEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PresentationConnectionCloseEvent > for JsValue { # [ inline ] fn from ( obj : PresentationConnectionCloseEvent ) -> JsValue { obj . obj } } impl JsCast for PresentationConnectionCloseEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PresentationConnectionCloseEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PresentationConnectionCloseEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PresentationConnectionCloseEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PresentationConnectionCloseEvent ) } } } ( ) } ; impl core :: ops :: Deref for PresentationConnectionCloseEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < PresentationConnectionCloseEvent > for Event { # [ inline ] fn from ( obj : PresentationConnectionCloseEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for PresentationConnectionCloseEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PresentationConnectionCloseEvent > for Object { # [ inline ] fn from ( obj : PresentationConnectionCloseEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PresentationConnectionCloseEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_PresentationConnectionCloseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & PresentationConnectionCloseEventInit as WasmDescribe > :: describe ( ) ; < PresentationConnectionCloseEvent as WasmDescribe > :: describe ( ) ; } impl PresentationConnectionCloseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PresentationConnectionCloseEvent(..)` constructor, creating a new instance of `PresentationConnectionCloseEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionCloseEvent/PresentationConnectionCloseEvent)\n\n*This API requires the following crate features to be activated: `PresentationConnectionCloseEvent`, `PresentationConnectionCloseEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & PresentationConnectionCloseEventInit ) -> Result < PresentationConnectionCloseEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_PresentationConnectionCloseEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & PresentationConnectionCloseEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PresentationConnectionCloseEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & PresentationConnectionCloseEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_PresentationConnectionCloseEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PresentationConnectionCloseEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PresentationConnectionCloseEvent(..)` constructor, creating a new instance of `PresentationConnectionCloseEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionCloseEvent/PresentationConnectionCloseEvent)\n\n*This API requires the following crate features to be activated: `PresentationConnectionCloseEvent`, `PresentationConnectionCloseEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & PresentationConnectionCloseEventInit ) -> Result < PresentationConnectionCloseEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reason_PresentationConnectionCloseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnectionCloseEvent as WasmDescribe > :: describe ( ) ; < PresentationConnectionClosedReason as WasmDescribe > :: describe ( ) ; } impl PresentationConnectionCloseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reason` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionCloseEvent/reason)\n\n*This API requires the following crate features to be activated: `PresentationConnectionCloseEvent`, `PresentationConnectionClosedReason`*" ] pub fn reason ( & self , ) -> PresentationConnectionClosedReason { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reason_PresentationConnectionCloseEvent ( self_ : < & PresentationConnectionCloseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < PresentationConnectionClosedReason as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnectionCloseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reason_PresentationConnectionCloseEvent ( self_ ) } ; < PresentationConnectionClosedReason as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reason` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionCloseEvent/reason)\n\n*This API requires the following crate features to be activated: `PresentationConnectionCloseEvent`, `PresentationConnectionClosedReason`*" ] pub fn reason ( & self , ) -> PresentationConnectionClosedReason { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_message_PresentationConnectionCloseEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnectionCloseEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PresentationConnectionCloseEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionCloseEvent/message)\n\n*This API requires the following crate features to be activated: `PresentationConnectionCloseEvent`*" ] pub fn message ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_message_PresentationConnectionCloseEvent ( self_ : < & PresentationConnectionCloseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnectionCloseEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_message_PresentationConnectionCloseEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionCloseEvent/message)\n\n*This API requires the following crate features to be activated: `PresentationConnectionCloseEvent`*" ] pub fn message ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PresentationConnectionList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionList)\n\n*This API requires the following crate features to be activated: `PresentationConnectionList`*" ] # [ repr ( transparent ) ] pub struct PresentationConnectionList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PresentationConnectionList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PresentationConnectionList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PresentationConnectionList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PresentationConnectionList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PresentationConnectionList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PresentationConnectionList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PresentationConnectionList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PresentationConnectionList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PresentationConnectionList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PresentationConnectionList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PresentationConnectionList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PresentationConnectionList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PresentationConnectionList { # [ inline ] fn from ( obj : JsValue ) -> PresentationConnectionList { PresentationConnectionList { obj } } } impl AsRef < JsValue > for PresentationConnectionList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PresentationConnectionList > for JsValue { # [ inline ] fn from ( obj : PresentationConnectionList ) -> JsValue { obj . obj } } impl JsCast for PresentationConnectionList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PresentationConnectionList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PresentationConnectionList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PresentationConnectionList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PresentationConnectionList ) } } } ( ) } ; impl core :: ops :: Deref for PresentationConnectionList { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < PresentationConnectionList > for EventTarget { # [ inline ] fn from ( obj : PresentationConnectionList ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for PresentationConnectionList { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PresentationConnectionList > for Object { # [ inline ] fn from ( obj : PresentationConnectionList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PresentationConnectionList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onconnectionavailable_PresentationConnectionList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationConnectionList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl PresentationConnectionList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onconnectionavailable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionList/onconnectionavailable)\n\n*This API requires the following crate features to be activated: `PresentationConnectionList`*" ] pub fn onconnectionavailable ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onconnectionavailable_PresentationConnectionList ( self_ : < & PresentationConnectionList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnectionList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onconnectionavailable_PresentationConnectionList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onconnectionavailable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionList/onconnectionavailable)\n\n*This API requires the following crate features to be activated: `PresentationConnectionList`*" ] pub fn onconnectionavailable ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onconnectionavailable_PresentationConnectionList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationConnectionList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationConnectionList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onconnectionavailable` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionList/onconnectionavailable)\n\n*This API requires the following crate features to be activated: `PresentationConnectionList`*" ] pub fn set_onconnectionavailable ( & self , onconnectionavailable : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onconnectionavailable_PresentationConnectionList ( self_ : < & PresentationConnectionList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onconnectionavailable : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationConnectionList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onconnectionavailable = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onconnectionavailable , & mut __stack ) ; __widl_f_set_onconnectionavailable_PresentationConnectionList ( self_ , onconnectionavailable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onconnectionavailable` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionList/onconnectionavailable)\n\n*This API requires the following crate features to be activated: `PresentationConnectionList`*" ] pub fn set_onconnectionavailable ( & self , onconnectionavailable : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PresentationReceiver` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationReceiver)\n\n*This API requires the following crate features to be activated: `PresentationReceiver`*" ] # [ repr ( transparent ) ] pub struct PresentationReceiver { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PresentationReceiver : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PresentationReceiver { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PresentationReceiver { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PresentationReceiver { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PresentationReceiver { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PresentationReceiver { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PresentationReceiver { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PresentationReceiver { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PresentationReceiver { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PresentationReceiver { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PresentationReceiver > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PresentationReceiver { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PresentationReceiver { # [ inline ] fn from ( obj : JsValue ) -> PresentationReceiver { PresentationReceiver { obj } } } impl AsRef < JsValue > for PresentationReceiver { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PresentationReceiver > for JsValue { # [ inline ] fn from ( obj : PresentationReceiver ) -> JsValue { obj . obj } } impl JsCast for PresentationReceiver { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PresentationReceiver ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PresentationReceiver ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PresentationReceiver { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PresentationReceiver ) } } } ( ) } ; impl core :: ops :: Deref for PresentationReceiver { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PresentationReceiver > for Object { # [ inline ] fn from ( obj : PresentationReceiver ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PresentationReceiver { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connection_list_PresentationReceiver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationReceiver as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PresentationReceiver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connectionList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationReceiver/connectionList)\n\n*This API requires the following crate features to be activated: `PresentationReceiver`*" ] pub fn connection_list ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connection_list_PresentationReceiver ( self_ : < & PresentationReceiver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationReceiver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_connection_list_PresentationReceiver ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connectionList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationReceiver/connectionList)\n\n*This API requires the following crate features to be activated: `PresentationReceiver`*" ] pub fn connection_list ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PresentationRequest` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest)\n\n*This API requires the following crate features to be activated: `PresentationRequest`*" ] # [ repr ( transparent ) ] pub struct PresentationRequest { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PresentationRequest : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PresentationRequest { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PresentationRequest { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PresentationRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PresentationRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PresentationRequest { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PresentationRequest { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PresentationRequest { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PresentationRequest { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PresentationRequest { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PresentationRequest > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PresentationRequest { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PresentationRequest { # [ inline ] fn from ( obj : JsValue ) -> PresentationRequest { PresentationRequest { obj } } } impl AsRef < JsValue > for PresentationRequest { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PresentationRequest > for JsValue { # [ inline ] fn from ( obj : PresentationRequest ) -> JsValue { obj . obj } } impl JsCast for PresentationRequest { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PresentationRequest ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PresentationRequest ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PresentationRequest { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PresentationRequest ) } } } ( ) } ; impl core :: ops :: Deref for PresentationRequest { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < PresentationRequest > for EventTarget { # [ inline ] fn from ( obj : PresentationRequest ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for PresentationRequest { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PresentationRequest > for Object { # [ inline ] fn from ( obj : PresentationRequest ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PresentationRequest { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_url_PresentationRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < PresentationRequest as WasmDescribe > :: describe ( ) ; } impl PresentationRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PresentationRequest(..)` constructor, creating a new instance of `PresentationRequest`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/PresentationRequest)\n\n*This API requires the following crate features to be activated: `PresentationRequest`*" ] pub fn new_with_url ( url : & str ) -> Result < PresentationRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_url_PresentationRequest ( url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PresentationRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_new_with_url_PresentationRequest ( url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PresentationRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PresentationRequest(..)` constructor, creating a new instance of `PresentationRequest`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/PresentationRequest)\n\n*This API requires the following crate features to be activated: `PresentationRequest`*" ] pub fn new_with_url ( url : & str ) -> Result < PresentationRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_availability_PresentationRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationRequest as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PresentationRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAvailability()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/getAvailability)\n\n*This API requires the following crate features to be activated: `PresentationRequest`*" ] pub fn get_availability ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_availability_PresentationRequest ( self_ : < & PresentationRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_availability_PresentationRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAvailability()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/getAvailability)\n\n*This API requires the following crate features to be activated: `PresentationRequest`*" ] pub fn get_availability ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reconnect_PresentationRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationRequest as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PresentationRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/reconnect)\n\n*This API requires the following crate features to be activated: `PresentationRequest`*" ] pub fn reconnect ( & self , presentation_id : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reconnect_PresentationRequest ( self_ : < & PresentationRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , presentation_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let presentation_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( presentation_id , & mut __stack ) ; __widl_f_reconnect_PresentationRequest ( self_ , presentation_id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reconnect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/reconnect)\n\n*This API requires the following crate features to be activated: `PresentationRequest`*" ] pub fn reconnect ( & self , presentation_id : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_PresentationRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationRequest as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PresentationRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/start)\n\n*This API requires the following crate features to be activated: `PresentationRequest`*" ] pub fn start ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_PresentationRequest ( self_ : < & PresentationRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_PresentationRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/start)\n\n*This API requires the following crate features to be activated: `PresentationRequest`*" ] pub fn start ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onconnectionavailable_PresentationRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PresentationRequest as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl PresentationRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onconnectionavailable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/onconnectionavailable)\n\n*This API requires the following crate features to be activated: `PresentationRequest`*" ] pub fn onconnectionavailable ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onconnectionavailable_PresentationRequest ( self_ : < & PresentationRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onconnectionavailable_PresentationRequest ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onconnectionavailable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/onconnectionavailable)\n\n*This API requires the following crate features to be activated: `PresentationRequest`*" ] pub fn onconnectionavailable ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onconnectionavailable_PresentationRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PresentationRequest as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl PresentationRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onconnectionavailable` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/onconnectionavailable)\n\n*This API requires the following crate features to be activated: `PresentationRequest`*" ] pub fn set_onconnectionavailable ( & self , onconnectionavailable : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onconnectionavailable_PresentationRequest ( self_ : < & PresentationRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onconnectionavailable : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PresentationRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onconnectionavailable = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onconnectionavailable , & mut __stack ) ; __widl_f_set_onconnectionavailable_PresentationRequest ( self_ , onconnectionavailable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onconnectionavailable` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/onconnectionavailable)\n\n*This API requires the following crate features to be activated: `PresentationRequest`*" ] pub fn set_onconnectionavailable ( & self , onconnectionavailable : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ProcessingInstruction` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProcessingInstruction)\n\n*This API requires the following crate features to be activated: `ProcessingInstruction`*" ] # [ repr ( transparent ) ] pub struct ProcessingInstruction { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ProcessingInstruction : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ProcessingInstruction { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ProcessingInstruction { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ProcessingInstruction { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ProcessingInstruction { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ProcessingInstruction { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ProcessingInstruction { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ProcessingInstruction { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ProcessingInstruction { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ProcessingInstruction { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ProcessingInstruction > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ProcessingInstruction { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ProcessingInstruction { # [ inline ] fn from ( obj : JsValue ) -> ProcessingInstruction { ProcessingInstruction { obj } } } impl AsRef < JsValue > for ProcessingInstruction { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ProcessingInstruction > for JsValue { # [ inline ] fn from ( obj : ProcessingInstruction ) -> JsValue { obj . obj } } impl JsCast for ProcessingInstruction { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ProcessingInstruction ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ProcessingInstruction ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ProcessingInstruction { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ProcessingInstruction ) } } } ( ) } ; impl core :: ops :: Deref for ProcessingInstruction { type Target = CharacterData ; # [ inline ] fn deref ( & self ) -> & CharacterData { self . as_ref ( ) } } impl From < ProcessingInstruction > for CharacterData { # [ inline ] fn from ( obj : ProcessingInstruction ) -> CharacterData { use wasm_bindgen :: JsCast ; CharacterData :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CharacterData > for ProcessingInstruction { # [ inline ] fn as_ref ( & self ) -> & CharacterData { use wasm_bindgen :: JsCast ; CharacterData :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ProcessingInstruction > for Node { # [ inline ] fn from ( obj : ProcessingInstruction ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for ProcessingInstruction { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ProcessingInstruction > for EventTarget { # [ inline ] fn from ( obj : ProcessingInstruction ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ProcessingInstruction { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ProcessingInstruction > for Object { # [ inline ] fn from ( obj : ProcessingInstruction ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ProcessingInstruction { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_ProcessingInstruction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ProcessingInstruction as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl ProcessingInstruction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProcessingInstruction/target)\n\n*This API requires the following crate features to be activated: `ProcessingInstruction`*" ] pub fn target ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_ProcessingInstruction ( self_ : < & ProcessingInstruction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ProcessingInstruction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_ProcessingInstruction ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProcessingInstruction/target)\n\n*This API requires the following crate features to be activated: `ProcessingInstruction`*" ] pub fn target ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sheet_ProcessingInstruction ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ProcessingInstruction as WasmDescribe > :: describe ( ) ; < Option < StyleSheet > as WasmDescribe > :: describe ( ) ; } impl ProcessingInstruction { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProcessingInstruction/sheet)\n\n*This API requires the following crate features to be activated: `ProcessingInstruction`, `StyleSheet`*" ] pub fn sheet ( & self , ) -> Option < StyleSheet > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sheet_ProcessingInstruction ( self_ : < & ProcessingInstruction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ProcessingInstruction as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sheet_ProcessingInstruction ( self_ ) } ; < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProcessingInstruction/sheet)\n\n*This API requires the following crate features to be activated: `ProcessingInstruction`, `StyleSheet`*" ] pub fn sheet ( & self , ) -> Option < StyleSheet > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ProgressEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent)\n\n*This API requires the following crate features to be activated: `ProgressEvent`*" ] # [ repr ( transparent ) ] pub struct ProgressEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ProgressEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ProgressEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ProgressEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ProgressEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ProgressEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ProgressEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ProgressEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ProgressEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ProgressEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ProgressEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ProgressEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ProgressEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ProgressEvent { # [ inline ] fn from ( obj : JsValue ) -> ProgressEvent { ProgressEvent { obj } } } impl AsRef < JsValue > for ProgressEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ProgressEvent > for JsValue { # [ inline ] fn from ( obj : ProgressEvent ) -> JsValue { obj . obj } } impl JsCast for ProgressEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ProgressEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ProgressEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ProgressEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ProgressEvent ) } } } ( ) } ; impl core :: ops :: Deref for ProgressEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < ProgressEvent > for Event { # [ inline ] fn from ( obj : ProgressEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for ProgressEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ProgressEvent > for Object { # [ inline ] fn from ( obj : ProgressEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ProgressEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_ProgressEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < ProgressEvent as WasmDescribe > :: describe ( ) ; } impl ProgressEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ProgressEvent(..)` constructor, creating a new instance of `ProgressEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/ProgressEvent)\n\n*This API requires the following crate features to be activated: `ProgressEvent`*" ] pub fn new ( type_ : & str ) -> Result < ProgressEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_ProgressEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ProgressEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_ProgressEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ProgressEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ProgressEvent(..)` constructor, creating a new instance of `ProgressEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/ProgressEvent)\n\n*This API requires the following crate features to be activated: `ProgressEvent`*" ] pub fn new ( type_ : & str ) -> Result < ProgressEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_ProgressEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & ProgressEventInit as WasmDescribe > :: describe ( ) ; < ProgressEvent as WasmDescribe > :: describe ( ) ; } impl ProgressEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new ProgressEvent(..)` constructor, creating a new instance of `ProgressEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/ProgressEvent)\n\n*This API requires the following crate features to be activated: `ProgressEvent`, `ProgressEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & ProgressEventInit ) -> Result < ProgressEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_ProgressEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & ProgressEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ProgressEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & ProgressEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_ProgressEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ProgressEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new ProgressEvent(..)` constructor, creating a new instance of `ProgressEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/ProgressEvent)\n\n*This API requires the following crate features to be activated: `ProgressEvent`, `ProgressEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & ProgressEventInit ) -> Result < ProgressEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_computable_ProgressEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ProgressEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl ProgressEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lengthComputable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/lengthComputable)\n\n*This API requires the following crate features to be activated: `ProgressEvent`*" ] pub fn length_computable ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_computable_ProgressEvent ( self_ : < & ProgressEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ProgressEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_computable_ProgressEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lengthComputable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/lengthComputable)\n\n*This API requires the following crate features to be activated: `ProgressEvent`*" ] pub fn length_computable ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_loaded_ProgressEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ProgressEvent as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl ProgressEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loaded` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/loaded)\n\n*This API requires the following crate features to be activated: `ProgressEvent`*" ] pub fn loaded ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_loaded_ProgressEvent ( self_ : < & ProgressEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ProgressEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_loaded_ProgressEvent ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loaded` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/loaded)\n\n*This API requires the following crate features to be activated: `ProgressEvent`*" ] pub fn loaded ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_total_ProgressEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ProgressEvent as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl ProgressEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `total` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/total)\n\n*This API requires the following crate features to be activated: `ProgressEvent`*" ] pub fn total ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_total_ProgressEvent ( self_ : < & ProgressEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ProgressEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_total_ProgressEvent ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `total` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent/total)\n\n*This API requires the following crate features to be activated: `ProgressEvent`*" ] pub fn total ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PromiseRejectionEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent)\n\n*This API requires the following crate features to be activated: `PromiseRejectionEvent`*" ] # [ repr ( transparent ) ] pub struct PromiseRejectionEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PromiseRejectionEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PromiseRejectionEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PromiseRejectionEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PromiseRejectionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PromiseRejectionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PromiseRejectionEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PromiseRejectionEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PromiseRejectionEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PromiseRejectionEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PromiseRejectionEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PromiseRejectionEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PromiseRejectionEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PromiseRejectionEvent { # [ inline ] fn from ( obj : JsValue ) -> PromiseRejectionEvent { PromiseRejectionEvent { obj } } } impl AsRef < JsValue > for PromiseRejectionEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PromiseRejectionEvent > for JsValue { # [ inline ] fn from ( obj : PromiseRejectionEvent ) -> JsValue { obj . obj } } impl JsCast for PromiseRejectionEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PromiseRejectionEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PromiseRejectionEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PromiseRejectionEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PromiseRejectionEvent ) } } } ( ) } ; impl core :: ops :: Deref for PromiseRejectionEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < PromiseRejectionEvent > for Event { # [ inline ] fn from ( obj : PromiseRejectionEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for PromiseRejectionEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PromiseRejectionEvent > for Object { # [ inline ] fn from ( obj : PromiseRejectionEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PromiseRejectionEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_PromiseRejectionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & PromiseRejectionEventInit as WasmDescribe > :: describe ( ) ; < PromiseRejectionEvent as WasmDescribe > :: describe ( ) ; } impl PromiseRejectionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PromiseRejectionEvent(..)` constructor, creating a new instance of `PromiseRejectionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent/PromiseRejectionEvent)\n\n*This API requires the following crate features to be activated: `PromiseRejectionEvent`, `PromiseRejectionEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & PromiseRejectionEventInit ) -> Result < PromiseRejectionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_PromiseRejectionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & PromiseRejectionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PromiseRejectionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & PromiseRejectionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_PromiseRejectionEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PromiseRejectionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PromiseRejectionEvent(..)` constructor, creating a new instance of `PromiseRejectionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent/PromiseRejectionEvent)\n\n*This API requires the following crate features to be activated: `PromiseRejectionEvent`, `PromiseRejectionEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & PromiseRejectionEventInit ) -> Result < PromiseRejectionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_promise_PromiseRejectionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PromiseRejectionEvent as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PromiseRejectionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `promise` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent/promise)\n\n*This API requires the following crate features to be activated: `PromiseRejectionEvent`*" ] pub fn promise ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_promise_PromiseRejectionEvent ( self_ : < & PromiseRejectionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PromiseRejectionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_promise_PromiseRejectionEvent ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `promise` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent/promise)\n\n*This API requires the following crate features to be activated: `PromiseRejectionEvent`*" ] pub fn promise ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reason_PromiseRejectionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PromiseRejectionEvent as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl PromiseRejectionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reason` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent/reason)\n\n*This API requires the following crate features to be activated: `PromiseRejectionEvent`*" ] pub fn reason ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reason_PromiseRejectionEvent ( self_ : < & PromiseRejectionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PromiseRejectionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reason_PromiseRejectionEvent ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reason` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent/reason)\n\n*This API requires the following crate features to be activated: `PromiseRejectionEvent`*" ] pub fn reason ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PublicKeyCredential` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential)\n\n*This API requires the following crate features to be activated: `PublicKeyCredential`*" ] # [ repr ( transparent ) ] pub struct PublicKeyCredential { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PublicKeyCredential : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PublicKeyCredential { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PublicKeyCredential { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PublicKeyCredential { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PublicKeyCredential { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PublicKeyCredential { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PublicKeyCredential { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PublicKeyCredential { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PublicKeyCredential { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PublicKeyCredential { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PublicKeyCredential > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PublicKeyCredential { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PublicKeyCredential { # [ inline ] fn from ( obj : JsValue ) -> PublicKeyCredential { PublicKeyCredential { obj } } } impl AsRef < JsValue > for PublicKeyCredential { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PublicKeyCredential > for JsValue { # [ inline ] fn from ( obj : PublicKeyCredential ) -> JsValue { obj . obj } } impl JsCast for PublicKeyCredential { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PublicKeyCredential ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PublicKeyCredential ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PublicKeyCredential { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PublicKeyCredential ) } } } ( ) } ; impl core :: ops :: Deref for PublicKeyCredential { type Target = Credential ; # [ inline ] fn deref ( & self ) -> & Credential { self . as_ref ( ) } } impl From < PublicKeyCredential > for Credential { # [ inline ] fn from ( obj : PublicKeyCredential ) -> Credential { use wasm_bindgen :: JsCast ; Credential :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Credential > for PublicKeyCredential { # [ inline ] fn as_ref ( & self ) -> & Credential { use wasm_bindgen :: JsCast ; Credential :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PublicKeyCredential > for Object { # [ inline ] fn from ( obj : PublicKeyCredential ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PublicKeyCredential { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_client_extension_results_PublicKeyCredential ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PublicKeyCredential as WasmDescribe > :: describe ( ) ; < AuthenticationExtensionsClientOutputs as WasmDescribe > :: describe ( ) ; } impl PublicKeyCredential { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getClientExtensionResults()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/getClientExtensionResults)\n\n*This API requires the following crate features to be activated: `AuthenticationExtensionsClientOutputs`, `PublicKeyCredential`*" ] pub fn get_client_extension_results ( & self , ) -> AuthenticationExtensionsClientOutputs { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_client_extension_results_PublicKeyCredential ( self_ : < & PublicKeyCredential as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AuthenticationExtensionsClientOutputs as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PublicKeyCredential as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_client_extension_results_PublicKeyCredential ( self_ ) } ; < AuthenticationExtensionsClientOutputs as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getClientExtensionResults()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/getClientExtensionResults)\n\n*This API requires the following crate features to be activated: `AuthenticationExtensionsClientOutputs`, `PublicKeyCredential`*" ] pub fn get_client_extension_results ( & self , ) -> AuthenticationExtensionsClientOutputs { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_user_verifying_platform_authenticator_available_PublicKeyCredential ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PublicKeyCredential { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isUserVerifyingPlatformAuthenticatorAvailable()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable)\n\n*This API requires the following crate features to be activated: `PublicKeyCredential`*" ] pub fn is_user_verifying_platform_authenticator_available ( ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_user_verifying_platform_authenticator_available_PublicKeyCredential ( ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_is_user_verifying_platform_authenticator_available_PublicKeyCredential ( ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isUserVerifyingPlatformAuthenticatorAvailable()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable)\n\n*This API requires the following crate features to be activated: `PublicKeyCredential`*" ] pub fn is_user_verifying_platform_authenticator_available ( ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_raw_id_PublicKeyCredential ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PublicKeyCredential as WasmDescribe > :: describe ( ) ; < :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; } impl PublicKeyCredential { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rawId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/rawId)\n\n*This API requires the following crate features to be activated: `PublicKeyCredential`*" ] pub fn raw_id ( & self , ) -> :: js_sys :: ArrayBuffer { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_raw_id_PublicKeyCredential ( self_ : < & PublicKeyCredential as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PublicKeyCredential as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_raw_id_PublicKeyCredential ( self_ ) } ; < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rawId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/rawId)\n\n*This API requires the following crate features to be activated: `PublicKeyCredential`*" ] pub fn raw_id ( & self , ) -> :: js_sys :: ArrayBuffer { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_response_PublicKeyCredential ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PublicKeyCredential as WasmDescribe > :: describe ( ) ; < AuthenticatorResponse as WasmDescribe > :: describe ( ) ; } impl PublicKeyCredential { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `response` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/response)\n\n*This API requires the following crate features to be activated: `AuthenticatorResponse`, `PublicKeyCredential`*" ] pub fn response ( & self , ) -> AuthenticatorResponse { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_response_PublicKeyCredential ( self_ : < & PublicKeyCredential as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AuthenticatorResponse as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PublicKeyCredential as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_response_PublicKeyCredential ( self_ ) } ; < AuthenticatorResponse as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `response` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/response)\n\n*This API requires the following crate features to be activated: `AuthenticatorResponse`, `PublicKeyCredential`*" ] pub fn response ( & self , ) -> AuthenticatorResponse { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PushEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushEvent)\n\n*This API requires the following crate features to be activated: `PushEvent`*" ] # [ repr ( transparent ) ] pub struct PushEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PushEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PushEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PushEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PushEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PushEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PushEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PushEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PushEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PushEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PushEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PushEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PushEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PushEvent { # [ inline ] fn from ( obj : JsValue ) -> PushEvent { PushEvent { obj } } } impl AsRef < JsValue > for PushEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PushEvent > for JsValue { # [ inline ] fn from ( obj : PushEvent ) -> JsValue { obj . obj } } impl JsCast for PushEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PushEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PushEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PushEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PushEvent ) } } } ( ) } ; impl core :: ops :: Deref for PushEvent { type Target = ExtendableEvent ; # [ inline ] fn deref ( & self ) -> & ExtendableEvent { self . as_ref ( ) } } impl From < PushEvent > for ExtendableEvent { # [ inline ] fn from ( obj : PushEvent ) -> ExtendableEvent { use wasm_bindgen :: JsCast ; ExtendableEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < ExtendableEvent > for PushEvent { # [ inline ] fn as_ref ( & self ) -> & ExtendableEvent { use wasm_bindgen :: JsCast ; ExtendableEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PushEvent > for Event { # [ inline ] fn from ( obj : PushEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for PushEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < PushEvent > for Object { # [ inline ] fn from ( obj : PushEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PushEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_PushEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < PushEvent as WasmDescribe > :: describe ( ) ; } impl PushEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PushEvent(..)` constructor, creating a new instance of `PushEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushEvent/PushEvent)\n\n*This API requires the following crate features to be activated: `PushEvent`*" ] pub fn new ( type_ : & str ) -> Result < PushEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_PushEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PushEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_PushEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PushEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PushEvent(..)` constructor, creating a new instance of `PushEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushEvent/PushEvent)\n\n*This API requires the following crate features to be activated: `PushEvent`*" ] pub fn new ( type_ : & str ) -> Result < PushEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_PushEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & PushEventInit as WasmDescribe > :: describe ( ) ; < PushEvent as WasmDescribe > :: describe ( ) ; } impl PushEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new PushEvent(..)` constructor, creating a new instance of `PushEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushEvent/PushEvent)\n\n*This API requires the following crate features to be activated: `PushEvent`, `PushEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PushEventInit ) -> Result < PushEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_PushEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & PushEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PushEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & PushEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_PushEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PushEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new PushEvent(..)` constructor, creating a new instance of `PushEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushEvent/PushEvent)\n\n*This API requires the following crate features to be activated: `PushEvent`, `PushEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & PushEventInit ) -> Result < PushEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_data_PushEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PushEvent as WasmDescribe > :: describe ( ) ; < Option < PushMessageData > as WasmDescribe > :: describe ( ) ; } impl PushEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushEvent/data)\n\n*This API requires the following crate features to be activated: `PushEvent`, `PushMessageData`*" ] pub fn data ( & self , ) -> Option < PushMessageData > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_data_PushEvent ( self_ : < & PushEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < PushMessageData > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_data_PushEvent ( self_ ) } ; < Option < PushMessageData > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushEvent/data)\n\n*This API requires the following crate features to be activated: `PushEvent`, `PushMessageData`*" ] pub fn data ( & self , ) -> Option < PushMessageData > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PushManager` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager)\n\n*This API requires the following crate features to be activated: `PushManager`*" ] # [ repr ( transparent ) ] pub struct PushManager { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PushManager : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PushManager { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PushManager { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PushManager { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PushManager { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PushManager { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PushManager { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PushManager { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PushManager { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PushManager { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PushManager > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PushManager { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PushManager { # [ inline ] fn from ( obj : JsValue ) -> PushManager { PushManager { obj } } } impl AsRef < JsValue > for PushManager { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PushManager > for JsValue { # [ inline ] fn from ( obj : PushManager ) -> JsValue { obj . obj } } impl JsCast for PushManager { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PushManager ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PushManager ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PushManager { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PushManager ) } } } ( ) } ; impl core :: ops :: Deref for PushManager { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PushManager > for Object { # [ inline ] fn from ( obj : PushManager ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PushManager { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_subscription_PushManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PushManager as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PushManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getSubscription()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/getSubscription)\n\n*This API requires the following crate features to be activated: `PushManager`*" ] pub fn get_subscription ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_subscription_PushManager ( self_ : < & PushManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_subscription_PushManager ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getSubscription()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/getSubscription)\n\n*This API requires the following crate features to be activated: `PushManager`*" ] pub fn get_subscription ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_permission_state_PushManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PushManager as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PushManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `permissionState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/permissionState)\n\n*This API requires the following crate features to be activated: `PushManager`*" ] pub fn permission_state ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_permission_state_PushManager ( self_ : < & PushManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_permission_state_PushManager ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `permissionState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/permissionState)\n\n*This API requires the following crate features to be activated: `PushManager`*" ] pub fn permission_state ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_permission_state_with_options_PushManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PushManager as WasmDescribe > :: describe ( ) ; < & PushSubscriptionOptionsInit as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PushManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `permissionState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/permissionState)\n\n*This API requires the following crate features to be activated: `PushManager`, `PushSubscriptionOptionsInit`*" ] pub fn permission_state_with_options ( & self , options : & PushSubscriptionOptionsInit ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_permission_state_with_options_PushManager ( self_ : < & PushManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & PushSubscriptionOptionsInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & PushSubscriptionOptionsInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_permission_state_with_options_PushManager ( self_ , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `permissionState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/permissionState)\n\n*This API requires the following crate features to be activated: `PushManager`, `PushSubscriptionOptionsInit`*" ] pub fn permission_state_with_options ( & self , options : & PushSubscriptionOptionsInit ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_subscribe_PushManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PushManager as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PushManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `subscribe()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/subscribe)\n\n*This API requires the following crate features to be activated: `PushManager`*" ] pub fn subscribe ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_subscribe_PushManager ( self_ : < & PushManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_subscribe_PushManager ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `subscribe()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/subscribe)\n\n*This API requires the following crate features to be activated: `PushManager`*" ] pub fn subscribe ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_subscribe_with_options_PushManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PushManager as WasmDescribe > :: describe ( ) ; < & PushSubscriptionOptionsInit as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PushManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `subscribe()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/subscribe)\n\n*This API requires the following crate features to be activated: `PushManager`, `PushSubscriptionOptionsInit`*" ] pub fn subscribe_with_options ( & self , options : & PushSubscriptionOptionsInit ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_subscribe_with_options_PushManager ( self_ : < & PushManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & PushSubscriptionOptionsInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & PushSubscriptionOptionsInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_subscribe_with_options_PushManager ( self_ , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `subscribe()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushManager/subscribe)\n\n*This API requires the following crate features to be activated: `PushManager`, `PushSubscriptionOptionsInit`*" ] pub fn subscribe_with_options ( & self , options : & PushSubscriptionOptionsInit ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PushMessageData` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData)\n\n*This API requires the following crate features to be activated: `PushMessageData`*" ] # [ repr ( transparent ) ] pub struct PushMessageData { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PushMessageData : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PushMessageData { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PushMessageData { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PushMessageData { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PushMessageData { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PushMessageData { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PushMessageData { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PushMessageData { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PushMessageData { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PushMessageData { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PushMessageData > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PushMessageData { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PushMessageData { # [ inline ] fn from ( obj : JsValue ) -> PushMessageData { PushMessageData { obj } } } impl AsRef < JsValue > for PushMessageData { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PushMessageData > for JsValue { # [ inline ] fn from ( obj : PushMessageData ) -> JsValue { obj . obj } } impl JsCast for PushMessageData { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PushMessageData ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PushMessageData ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PushMessageData { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PushMessageData ) } } } ( ) } ; impl core :: ops :: Deref for PushMessageData { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PushMessageData > for Object { # [ inline ] fn from ( obj : PushMessageData ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PushMessageData { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_array_buffer_PushMessageData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PushMessageData as WasmDescribe > :: describe ( ) ; < :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; } impl PushMessageData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `arrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData/arrayBuffer)\n\n*This API requires the following crate features to be activated: `PushMessageData`*" ] pub fn array_buffer ( & self , ) -> Result < :: js_sys :: ArrayBuffer , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_array_buffer_PushMessageData ( self_ : < & PushMessageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushMessageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_array_buffer_PushMessageData ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `arrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData/arrayBuffer)\n\n*This API requires the following crate features to be activated: `PushMessageData`*" ] pub fn array_buffer ( & self , ) -> Result < :: js_sys :: ArrayBuffer , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blob_PushMessageData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PushMessageData as WasmDescribe > :: describe ( ) ; < Blob as WasmDescribe > :: describe ( ) ; } impl PushMessageData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData/blob)\n\n*This API requires the following crate features to be activated: `Blob`, `PushMessageData`*" ] pub fn blob ( & self , ) -> Result < Blob , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blob_PushMessageData ( self_ : < & PushMessageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushMessageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_blob_PushMessageData ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Blob as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData/blob)\n\n*This API requires the following crate features to be activated: `Blob`, `PushMessageData`*" ] pub fn blob ( & self , ) -> Result < Blob , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_json_PushMessageData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PushMessageData as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl PushMessageData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `json()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData/json)\n\n*This API requires the following crate features to be activated: `PushMessageData`*" ] pub fn json ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_json_PushMessageData ( self_ : < & PushMessageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushMessageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_json_PushMessageData ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `json()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData/json)\n\n*This API requires the following crate features to be activated: `PushMessageData`*" ] pub fn json ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_PushMessageData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PushMessageData as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PushMessageData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData/text)\n\n*This API requires the following crate features to be activated: `PushMessageData`*" ] pub fn text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_PushMessageData ( self_ : < & PushMessageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushMessageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_PushMessageData ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData/text)\n\n*This API requires the following crate features to be activated: `PushMessageData`*" ] pub fn text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PushSubscription` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription)\n\n*This API requires the following crate features to be activated: `PushSubscription`*" ] # [ repr ( transparent ) ] pub struct PushSubscription { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PushSubscription : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PushSubscription { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PushSubscription { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PushSubscription { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PushSubscription { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PushSubscription { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PushSubscription { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PushSubscription { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PushSubscription { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PushSubscription { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PushSubscription > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PushSubscription { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PushSubscription { # [ inline ] fn from ( obj : JsValue ) -> PushSubscription { PushSubscription { obj } } } impl AsRef < JsValue > for PushSubscription { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PushSubscription > for JsValue { # [ inline ] fn from ( obj : PushSubscription ) -> JsValue { obj . obj } } impl JsCast for PushSubscription { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PushSubscription ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PushSubscription ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PushSubscription { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PushSubscription ) } } } ( ) } ; impl core :: ops :: Deref for PushSubscription { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PushSubscription > for Object { # [ inline ] fn from ( obj : PushSubscription ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PushSubscription { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_key_PushSubscription ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & PushSubscription as WasmDescribe > :: describe ( ) ; < PushEncryptionKeyName as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: ArrayBuffer > as WasmDescribe > :: describe ( ) ; } impl PushSubscription { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/getKey)\n\n*This API requires the following crate features to be activated: `PushEncryptionKeyName`, `PushSubscription`*" ] pub fn get_key ( & self , name : PushEncryptionKeyName ) -> Result < Option < :: js_sys :: ArrayBuffer > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_key_PushSubscription ( self_ : < & PushSubscription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < PushEncryptionKeyName as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushSubscription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < PushEncryptionKeyName as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_key_PushSubscription ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/getKey)\n\n*This API requires the following crate features to be activated: `PushEncryptionKeyName`, `PushSubscription`*" ] pub fn get_key ( & self , name : PushEncryptionKeyName ) -> Result < Option < :: js_sys :: ArrayBuffer > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_PushSubscription ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PushSubscription as WasmDescribe > :: describe ( ) ; < PushSubscriptionJson as WasmDescribe > :: describe ( ) ; } impl PushSubscription { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/toJSON)\n\n*This API requires the following crate features to be activated: `PushSubscription`, `PushSubscriptionJson`*" ] pub fn to_json ( & self , ) -> Result < PushSubscriptionJson , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_PushSubscription ( self_ : < & PushSubscription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PushSubscriptionJson as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushSubscription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_PushSubscription ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PushSubscriptionJson as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/toJSON)\n\n*This API requires the following crate features to be activated: `PushSubscription`, `PushSubscriptionJson`*" ] pub fn to_json ( & self , ) -> Result < PushSubscriptionJson , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unsubscribe_PushSubscription ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PushSubscription as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl PushSubscription { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unsubscribe()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/unsubscribe)\n\n*This API requires the following crate features to be activated: `PushSubscription`*" ] pub fn unsubscribe ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unsubscribe_PushSubscription ( self_ : < & PushSubscription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushSubscription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unsubscribe_PushSubscription ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unsubscribe()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/unsubscribe)\n\n*This API requires the following crate features to be activated: `PushSubscription`*" ] pub fn unsubscribe ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_endpoint_PushSubscription ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PushSubscription as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl PushSubscription { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `endpoint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/endpoint)\n\n*This API requires the following crate features to be activated: `PushSubscription`*" ] pub fn endpoint ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_endpoint_PushSubscription ( self_ : < & PushSubscription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushSubscription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_endpoint_PushSubscription ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `endpoint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/endpoint)\n\n*This API requires the following crate features to be activated: `PushSubscription`*" ] pub fn endpoint ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_options_PushSubscription ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PushSubscription as WasmDescribe > :: describe ( ) ; < PushSubscriptionOptions as WasmDescribe > :: describe ( ) ; } impl PushSubscription { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `options` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/options)\n\n*This API requires the following crate features to be activated: `PushSubscription`, `PushSubscriptionOptions`*" ] pub fn options ( & self , ) -> PushSubscriptionOptions { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_options_PushSubscription ( self_ : < & PushSubscription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < PushSubscriptionOptions as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushSubscription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_options_PushSubscription ( self_ ) } ; < PushSubscriptionOptions as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `options` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/options)\n\n*This API requires the following crate features to be activated: `PushSubscription`, `PushSubscriptionOptions`*" ] pub fn options ( & self , ) -> PushSubscriptionOptions { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `PushSubscriptionOptions` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscriptionOptions)\n\n*This API requires the following crate features to be activated: `PushSubscriptionOptions`*" ] # [ repr ( transparent ) ] pub struct PushSubscriptionOptions { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_PushSubscriptionOptions : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for PushSubscriptionOptions { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for PushSubscriptionOptions { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for PushSubscriptionOptions { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a PushSubscriptionOptions { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for PushSubscriptionOptions { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { PushSubscriptionOptions { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for PushSubscriptionOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a PushSubscriptionOptions { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for PushSubscriptionOptions { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < PushSubscriptionOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( PushSubscriptionOptions { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for PushSubscriptionOptions { # [ inline ] fn from ( obj : JsValue ) -> PushSubscriptionOptions { PushSubscriptionOptions { obj } } } impl AsRef < JsValue > for PushSubscriptionOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < PushSubscriptionOptions > for JsValue { # [ inline ] fn from ( obj : PushSubscriptionOptions ) -> JsValue { obj . obj } } impl JsCast for PushSubscriptionOptions { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_PushSubscriptionOptions ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_PushSubscriptionOptions ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PushSubscriptionOptions { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PushSubscriptionOptions ) } } } ( ) } ; impl core :: ops :: Deref for PushSubscriptionOptions { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < PushSubscriptionOptions > for Object { # [ inline ] fn from ( obj : PushSubscriptionOptions ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for PushSubscriptionOptions { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_application_server_key_PushSubscriptionOptions ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & PushSubscriptionOptions as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: ArrayBuffer > as WasmDescribe > :: describe ( ) ; } impl PushSubscriptionOptions { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `applicationServerKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscriptionOptions/applicationServerKey)\n\n*This API requires the following crate features to be activated: `PushSubscriptionOptions`*" ] pub fn application_server_key ( & self , ) -> Result < Option < :: js_sys :: ArrayBuffer > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_application_server_key_PushSubscriptionOptions ( self_ : < & PushSubscriptionOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & PushSubscriptionOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_application_server_key_PushSubscriptionOptions ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `applicationServerKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscriptionOptions/applicationServerKey)\n\n*This API requires the following crate features to be activated: `PushSubscriptionOptions`*" ] pub fn application_server_key ( & self , ) -> Result < Option < :: js_sys :: ArrayBuffer > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RTCCertificate` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCCertificate)\n\n*This API requires the following crate features to be activated: `RtcCertificate`*" ] # [ repr ( transparent ) ] pub struct RtcCertificate { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RtcCertificate : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RtcCertificate { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RtcCertificate { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RtcCertificate { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RtcCertificate { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RtcCertificate { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RtcCertificate { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RtcCertificate { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RtcCertificate { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RtcCertificate { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RtcCertificate > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RtcCertificate { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RtcCertificate { # [ inline ] fn from ( obj : JsValue ) -> RtcCertificate { RtcCertificate { obj } } } impl AsRef < JsValue > for RtcCertificate { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RtcCertificate > for JsValue { # [ inline ] fn from ( obj : RtcCertificate ) -> JsValue { obj . obj } } impl JsCast for RtcCertificate { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RTCCertificate ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RTCCertificate ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcCertificate { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcCertificate ) } } } ( ) } ; impl core :: ops :: Deref for RtcCertificate { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < RtcCertificate > for Object { # [ inline ] fn from ( obj : RtcCertificate ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RtcCertificate { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_expires_RTCCertificate ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcCertificate as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl RtcCertificate { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `expires` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCCertificate/expires)\n\n*This API requires the following crate features to be activated: `RtcCertificate`*" ] pub fn expires ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_expires_RTCCertificate ( self_ : < & RtcCertificate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcCertificate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_expires_RTCCertificate ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `expires` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCCertificate/expires)\n\n*This API requires the following crate features to be activated: `RtcCertificate`*" ] pub fn expires ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RTCDTMFSender` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender)\n\n*This API requires the following crate features to be activated: `RtcdtmfSender`*" ] # [ repr ( transparent ) ] pub struct RtcdtmfSender { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RtcdtmfSender : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RtcdtmfSender { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RtcdtmfSender { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RtcdtmfSender { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RtcdtmfSender { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RtcdtmfSender { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RtcdtmfSender { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RtcdtmfSender { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RtcdtmfSender { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RtcdtmfSender { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RtcdtmfSender > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RtcdtmfSender { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RtcdtmfSender { # [ inline ] fn from ( obj : JsValue ) -> RtcdtmfSender { RtcdtmfSender { obj } } } impl AsRef < JsValue > for RtcdtmfSender { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RtcdtmfSender > for JsValue { # [ inline ] fn from ( obj : RtcdtmfSender ) -> JsValue { obj . obj } } impl JsCast for RtcdtmfSender { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RTCDTMFSender ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RTCDTMFSender ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcdtmfSender { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcdtmfSender ) } } } ( ) } ; impl core :: ops :: Deref for RtcdtmfSender { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < RtcdtmfSender > for EventTarget { # [ inline ] fn from ( obj : RtcdtmfSender ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for RtcdtmfSender { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < RtcdtmfSender > for Object { # [ inline ] fn from ( obj : RtcdtmfSender ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RtcdtmfSender { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_dtmf_RTCDTMFSender ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcdtmfSender as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcdtmfSender { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertDTMF()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/insertDTMF)\n\n*This API requires the following crate features to be activated: `RtcdtmfSender`*" ] pub fn insert_dtmf ( & self , tones : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_dtmf_RTCDTMFSender ( self_ : < & RtcdtmfSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tones : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcdtmfSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tones = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tones , & mut __stack ) ; __widl_f_insert_dtmf_RTCDTMFSender ( self_ , tones ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertDTMF()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/insertDTMF)\n\n*This API requires the following crate features to be activated: `RtcdtmfSender`*" ] pub fn insert_dtmf ( & self , tones : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_dtmf_with_duration_RTCDTMFSender ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & RtcdtmfSender as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcdtmfSender { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertDTMF()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/insertDTMF)\n\n*This API requires the following crate features to be activated: `RtcdtmfSender`*" ] pub fn insert_dtmf_with_duration ( & self , tones : & str , duration : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_dtmf_with_duration_RTCDTMFSender ( self_ : < & RtcdtmfSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tones : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , duration : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcdtmfSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tones = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tones , & mut __stack ) ; let duration = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( duration , & mut __stack ) ; __widl_f_insert_dtmf_with_duration_RTCDTMFSender ( self_ , tones , duration ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertDTMF()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/insertDTMF)\n\n*This API requires the following crate features to be activated: `RtcdtmfSender`*" ] pub fn insert_dtmf_with_duration ( & self , tones : & str , duration : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_dtmf_with_duration_and_inter_tone_gap_RTCDTMFSender ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & RtcdtmfSender as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcdtmfSender { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertDTMF()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/insertDTMF)\n\n*This API requires the following crate features to be activated: `RtcdtmfSender`*" ] pub fn insert_dtmf_with_duration_and_inter_tone_gap ( & self , tones : & str , duration : u32 , inter_tone_gap : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_dtmf_with_duration_and_inter_tone_gap_RTCDTMFSender ( self_ : < & RtcdtmfSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tones : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , duration : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , inter_tone_gap : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcdtmfSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tones = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tones , & mut __stack ) ; let duration = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( duration , & mut __stack ) ; let inter_tone_gap = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( inter_tone_gap , & mut __stack ) ; __widl_f_insert_dtmf_with_duration_and_inter_tone_gap_RTCDTMFSender ( self_ , tones , duration , inter_tone_gap ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertDTMF()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/insertDTMF)\n\n*This API requires the following crate features to be activated: `RtcdtmfSender`*" ] pub fn insert_dtmf_with_duration_and_inter_tone_gap ( & self , tones : & str , duration : u32 , inter_tone_gap : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontonechange_RTCDTMFSender ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcdtmfSender as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcdtmfSender { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontonechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/ontonechange)\n\n*This API requires the following crate features to be activated: `RtcdtmfSender`*" ] pub fn ontonechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontonechange_RTCDTMFSender ( self_ : < & RtcdtmfSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcdtmfSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontonechange_RTCDTMFSender ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontonechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/ontonechange)\n\n*This API requires the following crate features to be activated: `RtcdtmfSender`*" ] pub fn ontonechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontonechange_RTCDTMFSender ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcdtmfSender as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcdtmfSender { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontonechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/ontonechange)\n\n*This API requires the following crate features to be activated: `RtcdtmfSender`*" ] pub fn set_ontonechange ( & self , ontonechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontonechange_RTCDTMFSender ( self_ : < & RtcdtmfSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontonechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcdtmfSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontonechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontonechange , & mut __stack ) ; __widl_f_set_ontonechange_RTCDTMFSender ( self_ , ontonechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontonechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/ontonechange)\n\n*This API requires the following crate features to be activated: `RtcdtmfSender`*" ] pub fn set_ontonechange ( & self , ontonechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tone_buffer_RTCDTMFSender ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcdtmfSender as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl RtcdtmfSender { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toneBuffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/toneBuffer)\n\n*This API requires the following crate features to be activated: `RtcdtmfSender`*" ] pub fn tone_buffer ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tone_buffer_RTCDTMFSender ( self_ : < & RtcdtmfSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcdtmfSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_tone_buffer_RTCDTMFSender ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toneBuffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/toneBuffer)\n\n*This API requires the following crate features to be activated: `RtcdtmfSender`*" ] pub fn tone_buffer ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RTCDTMFToneChangeEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFToneChangeEvent)\n\n*This API requires the following crate features to be activated: `RtcdtmfToneChangeEvent`*" ] # [ repr ( transparent ) ] pub struct RtcdtmfToneChangeEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RtcdtmfToneChangeEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RtcdtmfToneChangeEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RtcdtmfToneChangeEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RtcdtmfToneChangeEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RtcdtmfToneChangeEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RtcdtmfToneChangeEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RtcdtmfToneChangeEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RtcdtmfToneChangeEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RtcdtmfToneChangeEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RtcdtmfToneChangeEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RtcdtmfToneChangeEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RtcdtmfToneChangeEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RtcdtmfToneChangeEvent { # [ inline ] fn from ( obj : JsValue ) -> RtcdtmfToneChangeEvent { RtcdtmfToneChangeEvent { obj } } } impl AsRef < JsValue > for RtcdtmfToneChangeEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RtcdtmfToneChangeEvent > for JsValue { # [ inline ] fn from ( obj : RtcdtmfToneChangeEvent ) -> JsValue { obj . obj } } impl JsCast for RtcdtmfToneChangeEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RTCDTMFToneChangeEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RTCDTMFToneChangeEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcdtmfToneChangeEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcdtmfToneChangeEvent ) } } } ( ) } ; impl core :: ops :: Deref for RtcdtmfToneChangeEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < RtcdtmfToneChangeEvent > for Event { # [ inline ] fn from ( obj : RtcdtmfToneChangeEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for RtcdtmfToneChangeEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < RtcdtmfToneChangeEvent > for Object { # [ inline ] fn from ( obj : RtcdtmfToneChangeEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RtcdtmfToneChangeEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_RTCDTMFToneChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < RtcdtmfToneChangeEvent as WasmDescribe > :: describe ( ) ; } impl RtcdtmfToneChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new RTCDTMFToneChangeEvent(..)` constructor, creating a new instance of `RTCDTMFToneChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFToneChangeEvent/RTCDTMFToneChangeEvent)\n\n*This API requires the following crate features to be activated: `RtcdtmfToneChangeEvent`*" ] pub fn new ( type_ : & str ) -> Result < RtcdtmfToneChangeEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_RTCDTMFToneChangeEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < RtcdtmfToneChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_RTCDTMFToneChangeEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < RtcdtmfToneChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new RTCDTMFToneChangeEvent(..)` constructor, creating a new instance of `RTCDTMFToneChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFToneChangeEvent/RTCDTMFToneChangeEvent)\n\n*This API requires the following crate features to be activated: `RtcdtmfToneChangeEvent`*" ] pub fn new ( type_ : & str ) -> Result < RtcdtmfToneChangeEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_RTCDTMFToneChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & RtcdtmfToneChangeEventInit as WasmDescribe > :: describe ( ) ; < RtcdtmfToneChangeEvent as WasmDescribe > :: describe ( ) ; } impl RtcdtmfToneChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new RTCDTMFToneChangeEvent(..)` constructor, creating a new instance of `RTCDTMFToneChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFToneChangeEvent/RTCDTMFToneChangeEvent)\n\n*This API requires the following crate features to be activated: `RtcdtmfToneChangeEvent`, `RtcdtmfToneChangeEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & RtcdtmfToneChangeEventInit ) -> Result < RtcdtmfToneChangeEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_RTCDTMFToneChangeEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & RtcdtmfToneChangeEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < RtcdtmfToneChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & RtcdtmfToneChangeEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_RTCDTMFToneChangeEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < RtcdtmfToneChangeEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new RTCDTMFToneChangeEvent(..)` constructor, creating a new instance of `RTCDTMFToneChangeEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFToneChangeEvent/RTCDTMFToneChangeEvent)\n\n*This API requires the following crate features to be activated: `RtcdtmfToneChangeEvent`, `RtcdtmfToneChangeEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & RtcdtmfToneChangeEventInit ) -> Result < RtcdtmfToneChangeEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tone_RTCDTMFToneChangeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcdtmfToneChangeEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl RtcdtmfToneChangeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tone` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFToneChangeEvent/tone)\n\n*This API requires the following crate features to be activated: `RtcdtmfToneChangeEvent`*" ] pub fn tone ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tone_RTCDTMFToneChangeEvent ( self_ : < & RtcdtmfToneChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcdtmfToneChangeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_tone_RTCDTMFToneChangeEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tone` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFToneChangeEvent/tone)\n\n*This API requires the following crate features to be activated: `RtcdtmfToneChangeEvent`*" ] pub fn tone ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RTCDataChannel` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] # [ repr ( transparent ) ] pub struct RtcDataChannel { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RtcDataChannel : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RtcDataChannel { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RtcDataChannel { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RtcDataChannel { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RtcDataChannel { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RtcDataChannel { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RtcDataChannel { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RtcDataChannel { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RtcDataChannel { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RtcDataChannel { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RtcDataChannel > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RtcDataChannel { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RtcDataChannel { # [ inline ] fn from ( obj : JsValue ) -> RtcDataChannel { RtcDataChannel { obj } } } impl AsRef < JsValue > for RtcDataChannel { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RtcDataChannel > for JsValue { # [ inline ] fn from ( obj : RtcDataChannel ) -> JsValue { obj . obj } } impl JsCast for RtcDataChannel { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RTCDataChannel ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RTCDataChannel ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcDataChannel { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcDataChannel ) } } } ( ) } ; impl core :: ops :: Deref for RtcDataChannel { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < RtcDataChannel > for EventTarget { # [ inline ] fn from ( obj : RtcDataChannel ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for RtcDataChannel { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < RtcDataChannel > for Object { # [ inline ] fn from ( obj : RtcDataChannel ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RtcDataChannel { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/close)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_RTCDataChannel ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/close)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_str_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn send_with_str ( & self , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_str_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_str_RTCDataChannel ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn send_with_str ( & self , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_blob_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)\n\n*This API requires the following crate features to be activated: `Blob`, `RtcDataChannel`*" ] pub fn send_with_blob ( & self , data : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_blob_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_blob_RTCDataChannel ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)\n\n*This API requires the following crate features to be activated: `Blob`, `RtcDataChannel`*" ] pub fn send_with_blob ( & self , data : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_array_buffer_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn send_with_array_buffer ( & self , data : & :: js_sys :: ArrayBuffer ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_array_buffer_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_array_buffer_RTCDataChannel ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn send_with_array_buffer ( & self , data : & :: js_sys :: ArrayBuffer ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_array_buffer_view_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn send_with_array_buffer_view ( & self , data : & :: js_sys :: Object ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_array_buffer_view_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_array_buffer_view_RTCDataChannel ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn send_with_array_buffer_view ( & self , data : & :: js_sys :: Object ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_u8_array_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn send_with_u8_array ( & self , data : & mut [ u8 ] ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_u8_array_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_u8_array_RTCDataChannel ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/send)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn send_with_u8_array ( & self , data : & mut [ u8 ] ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_label_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/label)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn label ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_label_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_label_RTCDataChannel ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/label)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn label ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reliable_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reliable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/reliable)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn reliable ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reliable_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reliable_RTCDataChannel ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reliable` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/reliable)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn reliable ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_packet_life_time_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < Option < u16 > as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxPacketLifeTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/maxPacketLifeTime)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn max_packet_life_time ( & self , ) -> Option < u16 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_packet_life_time_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < u16 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_packet_life_time_RTCDataChannel ( self_ ) } ; < Option < u16 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxPacketLifeTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/maxPacketLifeTime)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn max_packet_life_time ( & self , ) -> Option < u16 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_retransmits_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < Option < u16 > as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxRetransmits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/maxRetransmits)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn max_retransmits ( & self , ) -> Option < u16 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_retransmits_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < u16 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_retransmits_RTCDataChannel ( self_ ) } ; < Option < u16 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxRetransmits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/maxRetransmits)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn max_retransmits ( & self , ) -> Option < u16 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_state_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < RtcDataChannelState as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/readyState)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelState`*" ] pub fn ready_state ( & self , ) -> RtcDataChannelState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_state_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcDataChannelState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_state_RTCDataChannel ( self_ ) } ; < RtcDataChannelState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/readyState)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelState`*" ] pub fn ready_state ( & self , ) -> RtcDataChannelState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffered_amount_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferedAmount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/bufferedAmount)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn buffered_amount ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffered_amount_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_buffered_amount_RTCDataChannel ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferedAmount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/bufferedAmount)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn buffered_amount ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffered_amount_low_threshold_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferedAmountLowThreshold` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/bufferedAmountLowThreshold)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn buffered_amount_low_threshold ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffered_amount_low_threshold_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_buffered_amount_low_threshold_RTCDataChannel ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferedAmountLowThreshold` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/bufferedAmountLowThreshold)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn buffered_amount_low_threshold ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_buffered_amount_low_threshold_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferedAmountLowThreshold` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/bufferedAmountLowThreshold)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn set_buffered_amount_low_threshold ( & self , buffered_amount_low_threshold : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_buffered_amount_low_threshold_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffered_amount_low_threshold : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffered_amount_low_threshold = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffered_amount_low_threshold , & mut __stack ) ; __widl_f_set_buffered_amount_low_threshold_RTCDataChannel ( self_ , buffered_amount_low_threshold ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferedAmountLowThreshold` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/bufferedAmountLowThreshold)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn set_buffered_amount_low_threshold ( & self , buffered_amount_low_threshold : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onopen_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onopen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onopen)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn onopen ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onopen_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onopen_RTCDataChannel ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onopen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onopen)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn onopen ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onopen_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onopen` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onopen)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn set_onopen ( & self , onopen : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onopen_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onopen : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onopen = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onopen , & mut __stack ) ; __widl_f_set_onopen_RTCDataChannel ( self_ , onopen ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onopen` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onopen)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn set_onopen ( & self , onopen : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onerror)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_RTCDataChannel ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onerror)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onerror)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_RTCDataChannel ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onerror)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclose_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onclose)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclose_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclose_RTCDataChannel ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onclose)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclose_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onclose)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclose_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclose : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclose = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclose , & mut __stack ) ; __widl_f_set_onclose_RTCDataChannel ( self_ , onclose ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onclose)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onmessage)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_RTCDataChannel ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onmessage)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onmessage)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_RTCDataChannel ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onmessage)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onbufferedamountlow_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbufferedamountlow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onbufferedamountlow)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn onbufferedamountlow ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onbufferedamountlow_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onbufferedamountlow_RTCDataChannel ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbufferedamountlow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onbufferedamountlow)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn onbufferedamountlow ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onbufferedamountlow_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbufferedamountlow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onbufferedamountlow)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn set_onbufferedamountlow ( & self , onbufferedamountlow : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onbufferedamountlow_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onbufferedamountlow : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onbufferedamountlow = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onbufferedamountlow , & mut __stack ) ; __widl_f_set_onbufferedamountlow_RTCDataChannel ( self_ , onbufferedamountlow ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbufferedamountlow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/onbufferedamountlow)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`*" ] pub fn set_onbufferedamountlow ( & self , onbufferedamountlow : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_binary_type_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < RtcDataChannelType as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `binaryType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/binaryType)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelType`*" ] pub fn binary_type ( & self , ) -> RtcDataChannelType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_binary_type_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcDataChannelType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_binary_type_RTCDataChannel ( self_ ) } ; < RtcDataChannelType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `binaryType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/binaryType)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelType`*" ] pub fn binary_type ( & self , ) -> RtcDataChannelType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_binary_type_RTCDataChannel ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcDataChannel as WasmDescribe > :: describe ( ) ; < RtcDataChannelType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcDataChannel { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `binaryType` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/binaryType)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelType`*" ] pub fn set_binary_type ( & self , binary_type : RtcDataChannelType ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_binary_type_RTCDataChannel ( self_ : < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , binary_type : < RtcDataChannelType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannel as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let binary_type = < RtcDataChannelType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( binary_type , & mut __stack ) ; __widl_f_set_binary_type_RTCDataChannel ( self_ , binary_type ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `binaryType` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/binaryType)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelType`*" ] pub fn set_binary_type ( & self , binary_type : RtcDataChannelType ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RTCDataChannelEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelEvent)\n\n*This API requires the following crate features to be activated: `RtcDataChannelEvent`*" ] # [ repr ( transparent ) ] pub struct RtcDataChannelEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RtcDataChannelEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RtcDataChannelEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RtcDataChannelEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RtcDataChannelEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RtcDataChannelEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RtcDataChannelEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RtcDataChannelEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RtcDataChannelEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RtcDataChannelEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RtcDataChannelEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RtcDataChannelEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RtcDataChannelEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RtcDataChannelEvent { # [ inline ] fn from ( obj : JsValue ) -> RtcDataChannelEvent { RtcDataChannelEvent { obj } } } impl AsRef < JsValue > for RtcDataChannelEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RtcDataChannelEvent > for JsValue { # [ inline ] fn from ( obj : RtcDataChannelEvent ) -> JsValue { obj . obj } } impl JsCast for RtcDataChannelEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RTCDataChannelEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RTCDataChannelEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcDataChannelEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcDataChannelEvent ) } } } ( ) } ; impl core :: ops :: Deref for RtcDataChannelEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < RtcDataChannelEvent > for Event { # [ inline ] fn from ( obj : RtcDataChannelEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for RtcDataChannelEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < RtcDataChannelEvent > for Object { # [ inline ] fn from ( obj : RtcDataChannelEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RtcDataChannelEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_RTCDataChannelEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & RtcDataChannelEventInit as WasmDescribe > :: describe ( ) ; < RtcDataChannelEvent as WasmDescribe > :: describe ( ) ; } impl RtcDataChannelEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new RTCDataChannelEvent(..)` constructor, creating a new instance of `RTCDataChannelEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelEvent/RTCDataChannelEvent)\n\n*This API requires the following crate features to be activated: `RtcDataChannelEvent`, `RtcDataChannelEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & RtcDataChannelEventInit ) -> Result < RtcDataChannelEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_RTCDataChannelEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & RtcDataChannelEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < RtcDataChannelEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & RtcDataChannelEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_RTCDataChannelEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < RtcDataChannelEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new RTCDataChannelEvent(..)` constructor, creating a new instance of `RTCDataChannelEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelEvent/RTCDataChannelEvent)\n\n*This API requires the following crate features to be activated: `RtcDataChannelEvent`, `RtcDataChannelEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & RtcDataChannelEventInit ) -> Result < RtcDataChannelEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_channel_RTCDataChannelEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcDataChannelEvent as WasmDescribe > :: describe ( ) ; < RtcDataChannel as WasmDescribe > :: describe ( ) ; } impl RtcDataChannelEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `channel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelEvent/channel)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelEvent`*" ] pub fn channel ( & self , ) -> RtcDataChannel { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_channel_RTCDataChannelEvent ( self_ : < & RtcDataChannelEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcDataChannel as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcDataChannelEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_channel_RTCDataChannelEvent ( self_ ) } ; < RtcDataChannel as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `channel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelEvent/channel)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelEvent`*" ] pub fn channel ( & self , ) -> RtcDataChannel { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RTCIceCandidate` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] # [ repr ( transparent ) ] pub struct RtcIceCandidate { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RtcIceCandidate : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RtcIceCandidate { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RtcIceCandidate { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RtcIceCandidate { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RtcIceCandidate { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RtcIceCandidate { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RtcIceCandidate { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RtcIceCandidate { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RtcIceCandidate { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RtcIceCandidate { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RtcIceCandidate > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RtcIceCandidate { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RtcIceCandidate { # [ inline ] fn from ( obj : JsValue ) -> RtcIceCandidate { RtcIceCandidate { obj } } } impl AsRef < JsValue > for RtcIceCandidate { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RtcIceCandidate > for JsValue { # [ inline ] fn from ( obj : RtcIceCandidate ) -> JsValue { obj . obj } } impl JsCast for RtcIceCandidate { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RTCIceCandidate ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RTCIceCandidate ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcIceCandidate { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcIceCandidate ) } } } ( ) } ; impl core :: ops :: Deref for RtcIceCandidate { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < RtcIceCandidate > for Object { # [ inline ] fn from ( obj : RtcIceCandidate ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RtcIceCandidate { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_RTCIceCandidate ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcIceCandidateInit as WasmDescribe > :: describe ( ) ; < RtcIceCandidate as WasmDescribe > :: describe ( ) ; } impl RtcIceCandidate { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new RTCIceCandidate(..)` constructor, creating a new instance of `RTCIceCandidate`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/RTCIceCandidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcIceCandidateInit`*" ] pub fn new ( candidate_init_dict : & RtcIceCandidateInit ) -> Result < RtcIceCandidate , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_RTCIceCandidate ( candidate_init_dict : < & RtcIceCandidateInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < RtcIceCandidate as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let candidate_init_dict = < & RtcIceCandidateInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( candidate_init_dict , & mut __stack ) ; __widl_f_new_RTCIceCandidate ( candidate_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < RtcIceCandidate as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new RTCIceCandidate(..)` constructor, creating a new instance of `RTCIceCandidate`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/RTCIceCandidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcIceCandidateInit`*" ] pub fn new ( candidate_init_dict : & RtcIceCandidateInit ) -> Result < RtcIceCandidate , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_RTCIceCandidate ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcIceCandidate as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl RtcIceCandidate { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/toJSON)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_RTCIceCandidate ( self_ : < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_RTCIceCandidate ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/toJSON)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_candidate_RTCIceCandidate ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcIceCandidate as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl RtcIceCandidate { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `candidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/candidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn candidate ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_candidate_RTCIceCandidate ( self_ : < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_candidate_RTCIceCandidate ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `candidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/candidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn candidate ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_candidate_RTCIceCandidate ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcIceCandidate as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcIceCandidate { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `candidate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/candidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn set_candidate ( & self , candidate : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_candidate_RTCIceCandidate ( self_ : < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , candidate : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let candidate = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( candidate , & mut __stack ) ; __widl_f_set_candidate_RTCIceCandidate ( self_ , candidate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `candidate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/candidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn set_candidate ( & self , candidate : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sdp_mid_RTCIceCandidate ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcIceCandidate as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl RtcIceCandidate { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sdpMid` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/sdpMid)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn sdp_mid ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sdp_mid_RTCIceCandidate ( self_ : < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sdp_mid_RTCIceCandidate ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sdpMid` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/sdpMid)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn sdp_mid ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_sdp_mid_RTCIceCandidate ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcIceCandidate as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcIceCandidate { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sdpMid` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/sdpMid)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn set_sdp_mid ( & self , sdp_mid : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_sdp_mid_RTCIceCandidate ( self_ : < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sdp_mid : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sdp_mid = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sdp_mid , & mut __stack ) ; __widl_f_set_sdp_mid_RTCIceCandidate ( self_ , sdp_mid ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sdpMid` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/sdpMid)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn set_sdp_mid ( & self , sdp_mid : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sdp_m_line_index_RTCIceCandidate ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcIceCandidate as WasmDescribe > :: describe ( ) ; < Option < u16 > as WasmDescribe > :: describe ( ) ; } impl RtcIceCandidate { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sdpMLineIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/sdpMLineIndex)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn sdp_m_line_index ( & self , ) -> Option < u16 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sdp_m_line_index_RTCIceCandidate ( self_ : < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < u16 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sdp_m_line_index_RTCIceCandidate ( self_ ) } ; < Option < u16 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sdpMLineIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/sdpMLineIndex)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn sdp_m_line_index ( & self , ) -> Option < u16 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_sdp_m_line_index_RTCIceCandidate ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcIceCandidate as WasmDescribe > :: describe ( ) ; < Option < u16 > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcIceCandidate { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sdpMLineIndex` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/sdpMLineIndex)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn set_sdp_m_line_index ( & self , sdp_m_line_index : Option < u16 > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_sdp_m_line_index_RTCIceCandidate ( self_ : < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sdp_m_line_index : < Option < u16 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sdp_m_line_index = < Option < u16 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sdp_m_line_index , & mut __stack ) ; __widl_f_set_sdp_m_line_index_RTCIceCandidate ( self_ , sdp_m_line_index ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sdpMLineIndex` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/sdpMLineIndex)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`*" ] pub fn set_sdp_m_line_index ( & self , sdp_m_line_index : Option < u16 > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RTCPeerConnection` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] # [ repr ( transparent ) ] pub struct RtcPeerConnection { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RtcPeerConnection : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RtcPeerConnection { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RtcPeerConnection { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RtcPeerConnection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RtcPeerConnection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RtcPeerConnection { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RtcPeerConnection { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RtcPeerConnection { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RtcPeerConnection { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RtcPeerConnection { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RtcPeerConnection > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RtcPeerConnection { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RtcPeerConnection { # [ inline ] fn from ( obj : JsValue ) -> RtcPeerConnection { RtcPeerConnection { obj } } } impl AsRef < JsValue > for RtcPeerConnection { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RtcPeerConnection > for JsValue { # [ inline ] fn from ( obj : RtcPeerConnection ) -> JsValue { obj . obj } } impl JsCast for RtcPeerConnection { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RTCPeerConnection ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RTCPeerConnection ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcPeerConnection { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcPeerConnection ) } } } ( ) } ; impl core :: ops :: Deref for RtcPeerConnection { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < RtcPeerConnection > for EventTarget { # [ inline ] fn from ( obj : RtcPeerConnection ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for RtcPeerConnection { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < RtcPeerConnection > for Object { # [ inline ] fn from ( obj : RtcPeerConnection ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RtcPeerConnection { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < RtcPeerConnection as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new RTCPeerConnection(..)` constructor, creating a new instance of `RTCPeerConnection`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn new ( ) -> Result < RtcPeerConnection , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_RTCPeerConnection ( exn_data_ptr : * mut u32 ) -> < RtcPeerConnection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_RTCPeerConnection ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < RtcPeerConnection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new RTCPeerConnection(..)` constructor, creating a new instance of `RTCPeerConnection`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn new ( ) -> Result < RtcPeerConnection , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_configuration_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcConfiguration as WasmDescribe > :: describe ( ) ; < RtcPeerConnection as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new RTCPeerConnection(..)` constructor, creating a new instance of `RTCPeerConnection`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection)\n\n*This API requires the following crate features to be activated: `RtcConfiguration`, `RtcPeerConnection`*" ] pub fn new_with_configuration ( configuration : & RtcConfiguration ) -> Result < RtcPeerConnection , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_configuration_RTCPeerConnection ( configuration : < & RtcConfiguration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < RtcPeerConnection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let configuration = < & RtcConfiguration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( configuration , & mut __stack ) ; __widl_f_new_with_configuration_RTCPeerConnection ( configuration , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < RtcPeerConnection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new RTCPeerConnection(..)` constructor, creating a new instance of `RTCPeerConnection`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection)\n\n*This API requires the following crate features to be activated: `RtcConfiguration`, `RtcPeerConnection`*" ] pub fn new_with_configuration ( configuration : & RtcConfiguration ) -> Result < RtcPeerConnection , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_configuration_and_constraints_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcConfiguration as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < RtcPeerConnection as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new RTCPeerConnection(..)` constructor, creating a new instance of `RTCPeerConnection`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection)\n\n*This API requires the following crate features to be activated: `RtcConfiguration`, `RtcPeerConnection`*" ] pub fn new_with_configuration_and_constraints ( configuration : & RtcConfiguration , constraints : Option < & :: js_sys :: Object > ) -> Result < RtcPeerConnection , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_configuration_and_constraints_RTCPeerConnection ( configuration : < & RtcConfiguration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , constraints : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < RtcPeerConnection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let configuration = < & RtcConfiguration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( configuration , & mut __stack ) ; let constraints = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( constraints , & mut __stack ) ; __widl_f_new_with_configuration_and_constraints_RTCPeerConnection ( configuration , constraints , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < RtcPeerConnection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new RTCPeerConnection(..)` constructor, creating a new instance of `RTCPeerConnection`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection)\n\n*This API requires the following crate features to be activated: `RtcConfiguration`, `RtcPeerConnection`*" ] pub fn new_with_configuration_and_constraints ( configuration : & RtcConfiguration , constraints : Option < & :: js_sys :: Object > ) -> Result < RtcPeerConnection , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_ice_candidate_with_opt_rtc_ice_candidate_init_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & RtcIceCandidateInit > as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addIceCandidate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addIceCandidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidateInit`, `RtcPeerConnection`*" ] pub fn add_ice_candidate_with_opt_rtc_ice_candidate_init ( & self , candidate : Option < & RtcIceCandidateInit > ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_ice_candidate_with_opt_rtc_ice_candidate_init_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , candidate : < Option < & RtcIceCandidateInit > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let candidate = < Option < & RtcIceCandidateInit > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( candidate , & mut __stack ) ; __widl_f_add_ice_candidate_with_opt_rtc_ice_candidate_init_RTCPeerConnection ( self_ , candidate ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addIceCandidate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addIceCandidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidateInit`, `RtcPeerConnection`*" ] pub fn add_ice_candidate_with_opt_rtc_ice_candidate_init ( & self , candidate : Option < & RtcIceCandidateInit > ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_ice_candidate_with_opt_rtc_ice_candidate_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & RtcIceCandidate > as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addIceCandidate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addIceCandidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcPeerConnection`*" ] pub fn add_ice_candidate_with_opt_rtc_ice_candidate ( & self , candidate : Option < & RtcIceCandidate > ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_ice_candidate_with_opt_rtc_ice_candidate_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , candidate : < Option < & RtcIceCandidate > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let candidate = < Option < & RtcIceCandidate > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( candidate , & mut __stack ) ; __widl_f_add_ice_candidate_with_opt_rtc_ice_candidate_RTCPeerConnection ( self_ , candidate ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addIceCandidate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addIceCandidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcPeerConnection`*" ] pub fn add_ice_candidate_with_opt_rtc_ice_candidate ( & self , candidate : Option < & RtcIceCandidate > ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_ice_candidate_with_rtc_ice_candidate_and_success_callback_and_failure_callback_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & RtcIceCandidate as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addIceCandidate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addIceCandidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcPeerConnection`*" ] pub fn add_ice_candidate_with_rtc_ice_candidate_and_success_callback_and_failure_callback ( & self , candidate : & RtcIceCandidate , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_ice_candidate_with_rtc_ice_candidate_and_success_callback_and_failure_callback_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , candidate : < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , failure_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let candidate = < & RtcIceCandidate as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( candidate , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let failure_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( failure_callback , & mut __stack ) ; __widl_f_add_ice_candidate_with_rtc_ice_candidate_and_success_callback_and_failure_callback_RTCPeerConnection ( self_ , candidate , success_callback , failure_callback ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addIceCandidate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addIceCandidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcPeerConnection`*" ] pub fn add_ice_candidate_with_rtc_ice_candidate_and_success_callback_and_failure_callback ( & self , candidate : & RtcIceCandidate , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_stream_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addStream()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addStream)\n\n*This API requires the following crate features to be activated: `MediaStream`, `RtcPeerConnection`*" ] pub fn add_stream ( & self , stream : & MediaStream ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_stream_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; __widl_f_add_stream_RTCPeerConnection ( self_ , stream ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addStream()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addStream)\n\n*This API requires the following crate features to be activated: `MediaStream`, `RtcPeerConnection`*" ] pub fn add_stream ( & self , stream : & MediaStream ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_track_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < RtcRtpSender as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams : & :: js_sys :: Array ) -> RtcRtpSender { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_track_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , track : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let track = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( track , & mut __stack ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; let more_streams = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams , & mut __stack ) ; __widl_f_add_track_RTCPeerConnection ( self_ , track , stream , more_streams ) } ; < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams : & :: js_sys :: Array ) -> RtcRtpSender { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_track_0_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < RtcRtpSender as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_0 ( & self , track : & MediaStreamTrack , stream : & MediaStream ) -> RtcRtpSender { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_track_0_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , track : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let track = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( track , & mut __stack ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; __widl_f_add_track_0_RTCPeerConnection ( self_ , track , stream ) } ; < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_0 ( & self , track : & MediaStreamTrack , stream : & MediaStream ) -> RtcRtpSender { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_track_1_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < RtcRtpSender as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_1 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream ) -> RtcRtpSender { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_track_1_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , track : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_1 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let track = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( track , & mut __stack ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; let more_streams_1 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_1 , & mut __stack ) ; __widl_f_add_track_1_RTCPeerConnection ( self_ , track , stream , more_streams_1 ) } ; < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_1 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream ) -> RtcRtpSender { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_track_2_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < RtcRtpSender as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_2 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream , more_streams_2 : & MediaStream ) -> RtcRtpSender { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_track_2_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , track : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_1 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_2 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let track = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( track , & mut __stack ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; let more_streams_1 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_1 , & mut __stack ) ; let more_streams_2 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_2 , & mut __stack ) ; __widl_f_add_track_2_RTCPeerConnection ( self_ , track , stream , more_streams_1 , more_streams_2 ) } ; < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_2 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream , more_streams_2 : & MediaStream ) -> RtcRtpSender { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_track_3_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < RtcRtpSender as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_3 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream , more_streams_2 : & MediaStream , more_streams_3 : & MediaStream ) -> RtcRtpSender { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_track_3_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , track : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_1 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_2 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_3 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let track = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( track , & mut __stack ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; let more_streams_1 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_1 , & mut __stack ) ; let more_streams_2 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_2 , & mut __stack ) ; let more_streams_3 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_3 , & mut __stack ) ; __widl_f_add_track_3_RTCPeerConnection ( self_ , track , stream , more_streams_1 , more_streams_2 , more_streams_3 ) } ; < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_3 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream , more_streams_2 : & MediaStream , more_streams_3 : & MediaStream ) -> RtcRtpSender { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_track_4_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < RtcRtpSender as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_4 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream , more_streams_2 : & MediaStream , more_streams_3 : & MediaStream , more_streams_4 : & MediaStream ) -> RtcRtpSender { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_track_4_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , track : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_1 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_2 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_3 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_4 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let track = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( track , & mut __stack ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; let more_streams_1 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_1 , & mut __stack ) ; let more_streams_2 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_2 , & mut __stack ) ; let more_streams_3 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_3 , & mut __stack ) ; let more_streams_4 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_4 , & mut __stack ) ; __widl_f_add_track_4_RTCPeerConnection ( self_ , track , stream , more_streams_1 , more_streams_2 , more_streams_3 , more_streams_4 ) } ; < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_4 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream , more_streams_2 : & MediaStream , more_streams_3 : & MediaStream , more_streams_4 : & MediaStream ) -> RtcRtpSender { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_track_5_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < RtcRtpSender as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_5 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream , more_streams_2 : & MediaStream , more_streams_3 : & MediaStream , more_streams_4 : & MediaStream , more_streams_5 : & MediaStream ) -> RtcRtpSender { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_track_5_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , track : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_1 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_2 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_3 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_4 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_5 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let track = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( track , & mut __stack ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; let more_streams_1 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_1 , & mut __stack ) ; let more_streams_2 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_2 , & mut __stack ) ; let more_streams_3 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_3 , & mut __stack ) ; let more_streams_4 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_4 , & mut __stack ) ; let more_streams_5 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_5 , & mut __stack ) ; __widl_f_add_track_5_RTCPeerConnection ( self_ , track , stream , more_streams_1 , more_streams_2 , more_streams_3 , more_streams_4 , more_streams_5 ) } ; < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_5 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream , more_streams_2 : & MediaStream , more_streams_3 : & MediaStream , more_streams_4 : & MediaStream , more_streams_5 : & MediaStream ) -> RtcRtpSender { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_track_6_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < RtcRtpSender as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_6 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream , more_streams_2 : & MediaStream , more_streams_3 : & MediaStream , more_streams_4 : & MediaStream , more_streams_5 : & MediaStream , more_streams_6 : & MediaStream ) -> RtcRtpSender { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_track_6_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , track : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_1 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_2 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_3 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_4 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_5 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_6 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let track = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( track , & mut __stack ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; let more_streams_1 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_1 , & mut __stack ) ; let more_streams_2 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_2 , & mut __stack ) ; let more_streams_3 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_3 , & mut __stack ) ; let more_streams_4 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_4 , & mut __stack ) ; let more_streams_5 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_5 , & mut __stack ) ; let more_streams_6 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_6 , & mut __stack ) ; __widl_f_add_track_6_RTCPeerConnection ( self_ , track , stream , more_streams_1 , more_streams_2 , more_streams_3 , more_streams_4 , more_streams_5 , more_streams_6 ) } ; < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_6 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream , more_streams_2 : & MediaStream , more_streams_3 : & MediaStream , more_streams_4 : & MediaStream , more_streams_5 : & MediaStream , more_streams_6 : & MediaStream ) -> RtcRtpSender { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_track_7_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & MediaStreamTrack as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < RtcRtpSender as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_7 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream , more_streams_2 : & MediaStream , more_streams_3 : & MediaStream , more_streams_4 : & MediaStream , more_streams_5 : & MediaStream , more_streams_6 : & MediaStream , more_streams_7 : & MediaStream ) -> RtcRtpSender { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_track_7_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , track : < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_1 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_2 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_3 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_4 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_5 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_6 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , more_streams_7 : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let track = < & MediaStreamTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( track , & mut __stack ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; let more_streams_1 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_1 , & mut __stack ) ; let more_streams_2 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_2 , & mut __stack ) ; let more_streams_3 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_3 , & mut __stack ) ; let more_streams_4 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_4 , & mut __stack ) ; let more_streams_5 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_5 , & mut __stack ) ; let more_streams_6 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_6 , & mut __stack ) ; let more_streams_7 = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( more_streams_7 , & mut __stack ) ; __widl_f_add_track_7_RTCPeerConnection ( self_ , track , stream , more_streams_1 , more_streams_2 , more_streams_3 , more_streams_4 , more_streams_5 , more_streams_6 , more_streams_7 ) } ; < RtcRtpSender as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/addTrack)\n\n*This API requires the following crate features to be activated: `MediaStream`, `MediaStreamTrack`, `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn add_track_7 ( & self , track : & MediaStreamTrack , stream : & MediaStream , more_streams_1 : & MediaStream , more_streams_2 : & MediaStream , more_streams_3 : & MediaStream , more_streams_4 : & MediaStream , more_streams_5 : & MediaStream , more_streams_6 : & MediaStream , more_streams_7 : & MediaStream ) -> RtcRtpSender { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/close)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_RTCPeerConnection ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/close)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_answer_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createAnswer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createAnswer)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn create_answer ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_answer_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_answer_RTCPeerConnection ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createAnswer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createAnswer)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn create_answer ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_answer_with_rtc_answer_options_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & RtcAnswerOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createAnswer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createAnswer)\n\n*This API requires the following crate features to be activated: `RtcAnswerOptions`, `RtcPeerConnection`*" ] pub fn create_answer_with_rtc_answer_options ( & self , options : & RtcAnswerOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_answer_with_rtc_answer_options_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & RtcAnswerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & RtcAnswerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_create_answer_with_rtc_answer_options_RTCPeerConnection ( self_ , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createAnswer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createAnswer)\n\n*This API requires the following crate features to be activated: `RtcAnswerOptions`, `RtcPeerConnection`*" ] pub fn create_answer_with_rtc_answer_options ( & self , options : & RtcAnswerOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_answer_with_success_callback_and_failure_callback_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createAnswer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createAnswer)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn create_answer_with_success_callback_and_failure_callback ( & self , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_answer_with_success_callback_and_failure_callback_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , failure_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let failure_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( failure_callback , & mut __stack ) ; __widl_f_create_answer_with_success_callback_and_failure_callback_RTCPeerConnection ( self_ , success_callback , failure_callback ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createAnswer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createAnswer)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn create_answer_with_success_callback_and_failure_callback ( & self , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_data_channel_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < RtcDataChannel as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDataChannel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createDataChannel)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcPeerConnection`*" ] pub fn create_data_channel ( & self , label : & str ) -> RtcDataChannel { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_data_channel_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcDataChannel as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_create_data_channel_RTCPeerConnection ( self_ , label ) } ; < RtcDataChannel as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDataChannel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createDataChannel)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcPeerConnection`*" ] pub fn create_data_channel ( & self , label : & str ) -> RtcDataChannel { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_data_channel_with_data_channel_dict_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & RtcDataChannelInit as WasmDescribe > :: describe ( ) ; < RtcDataChannel as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDataChannel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createDataChannel)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelInit`, `RtcPeerConnection`*" ] pub fn create_data_channel_with_data_channel_dict ( & self , label : & str , data_channel_dict : & RtcDataChannelInit ) -> RtcDataChannel { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_data_channel_with_data_channel_dict_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_channel_dict : < & RtcDataChannelInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcDataChannel as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; let data_channel_dict = < & RtcDataChannelInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_channel_dict , & mut __stack ) ; __widl_f_create_data_channel_with_data_channel_dict_RTCPeerConnection ( self_ , label , data_channel_dict ) } ; < RtcDataChannel as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDataChannel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createDataChannel)\n\n*This API requires the following crate features to be activated: `RtcDataChannel`, `RtcDataChannelInit`, `RtcPeerConnection`*" ] pub fn create_data_channel_with_data_channel_dict ( & self , label : & str , data_channel_dict : & RtcDataChannelInit ) -> RtcDataChannel { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_offer_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createOffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn create_offer ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_offer_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_offer_RTCPeerConnection ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createOffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn create_offer ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_offer_with_rtc_offer_options_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & RtcOfferOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createOffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer)\n\n*This API requires the following crate features to be activated: `RtcOfferOptions`, `RtcPeerConnection`*" ] pub fn create_offer_with_rtc_offer_options ( & self , options : & RtcOfferOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_offer_with_rtc_offer_options_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & RtcOfferOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & RtcOfferOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_create_offer_with_rtc_offer_options_RTCPeerConnection ( self_ , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createOffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer)\n\n*This API requires the following crate features to be activated: `RtcOfferOptions`, `RtcPeerConnection`*" ] pub fn create_offer_with_rtc_offer_options ( & self , options : & RtcOfferOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_offer_with_callback_and_failure_callback_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createOffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn create_offer_with_callback_and_failure_callback ( & self , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_offer_with_callback_and_failure_callback_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , failure_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let failure_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( failure_callback , & mut __stack ) ; __widl_f_create_offer_with_callback_and_failure_callback_RTCPeerConnection ( self_ , success_callback , failure_callback ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createOffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn create_offer_with_callback_and_failure_callback ( & self , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_offer_with_callback_and_failure_callback_and_options_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & RtcOfferOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createOffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer)\n\n*This API requires the following crate features to be activated: `RtcOfferOptions`, `RtcPeerConnection`*" ] pub fn create_offer_with_callback_and_failure_callback_and_options ( & self , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function , options : & RtcOfferOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_offer_with_callback_and_failure_callback_and_options_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , failure_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & RtcOfferOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let failure_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( failure_callback , & mut __stack ) ; let options = < & RtcOfferOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_create_offer_with_callback_and_failure_callback_and_options_RTCPeerConnection ( self_ , success_callback , failure_callback , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createOffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer)\n\n*This API requires the following crate features to be activated: `RtcOfferOptions`, `RtcPeerConnection`*" ] pub fn create_offer_with_callback_and_failure_callback_and_options ( & self , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function , options : & RtcOfferOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_generate_certificate_with_object_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `generateCertificate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/generateCertificate)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn generate_certificate_with_object ( keygen_algorithm : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_generate_certificate_with_object_RTCPeerConnection ( keygen_algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let keygen_algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( keygen_algorithm , & mut __stack ) ; __widl_f_generate_certificate_with_object_RTCPeerConnection ( keygen_algorithm , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `generateCertificate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/generateCertificate)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn generate_certificate_with_object ( keygen_algorithm : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_generate_certificate_with_str_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `generateCertificate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/generateCertificate)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn generate_certificate_with_str ( keygen_algorithm : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_generate_certificate_with_str_RTCPeerConnection ( keygen_algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let keygen_algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( keygen_algorithm , & mut __stack ) ; __widl_f_generate_certificate_with_str_RTCPeerConnection ( keygen_algorithm , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `generateCertificate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/generateCertificate)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn generate_certificate_with_str ( keygen_algorithm : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_configuration_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < RtcConfiguration as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getConfiguration()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getConfiguration)\n\n*This API requires the following crate features to be activated: `RtcConfiguration`, `RtcPeerConnection`*" ] pub fn get_configuration ( & self , ) -> RtcConfiguration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_configuration_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcConfiguration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_configuration_RTCPeerConnection ( self_ ) } ; < RtcConfiguration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getConfiguration()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getConfiguration)\n\n*This API requires the following crate features to be activated: `RtcConfiguration`, `RtcPeerConnection`*" ] pub fn get_configuration ( & self , ) -> RtcConfiguration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_identity_assertion_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getIdentityAssertion()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getIdentityAssertion)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn get_identity_assertion ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_identity_assertion_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_identity_assertion_RTCPeerConnection ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getIdentityAssertion()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getIdentityAssertion)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn get_identity_assertion ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_stats_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getStats()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getStats)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn get_stats ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_stats_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_stats_RTCPeerConnection ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getStats()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getStats)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn get_stats ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_stats_with_selector_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & MediaStreamTrack > as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getStats()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getStats)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcPeerConnection`*" ] pub fn get_stats_with_selector ( & self , selector : Option < & MediaStreamTrack > ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_stats_with_selector_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selector : < Option < & MediaStreamTrack > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selector = < Option < & MediaStreamTrack > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selector , & mut __stack ) ; __widl_f_get_stats_with_selector_RTCPeerConnection ( self_ , selector ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getStats()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getStats)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcPeerConnection`*" ] pub fn get_stats_with_selector ( & self , selector : Option < & MediaStreamTrack > ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_stats_with_selector_and_success_callback_and_failure_callback_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & MediaStreamTrack > as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getStats()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getStats)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcPeerConnection`*" ] pub fn get_stats_with_selector_and_success_callback_and_failure_callback ( & self , selector : Option < & MediaStreamTrack > , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_stats_with_selector_and_success_callback_and_failure_callback_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selector : < Option < & MediaStreamTrack > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , failure_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selector = < Option < & MediaStreamTrack > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selector , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let failure_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( failure_callback , & mut __stack ) ; __widl_f_get_stats_with_selector_and_success_callback_and_failure_callback_RTCPeerConnection ( self_ , selector , success_callback , failure_callback ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getStats()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getStats)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcPeerConnection`*" ] pub fn get_stats_with_selector_and_success_callback_and_failure_callback ( & self , selector : Option < & MediaStreamTrack > , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_track_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & RtcRtpSender as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/removeTrack)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn remove_track ( & self , sender : & RtcRtpSender ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_track_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sender : < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sender = < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sender , & mut __stack ) ; __widl_f_remove_track_RTCPeerConnection ( self_ , sender ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/removeTrack)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcRtpSender`*" ] pub fn remove_track ( & self , sender : & RtcRtpSender ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_identity_provider_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setIdentityProvider()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setIdentityProvider)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_identity_provider ( & self , provider : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_identity_provider_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , provider : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let provider = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( provider , & mut __stack ) ; __widl_f_set_identity_provider_RTCPeerConnection ( self_ , provider ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setIdentityProvider()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setIdentityProvider)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_identity_provider ( & self , provider : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_identity_provider_with_options_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & RtcIdentityProviderOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setIdentityProvider()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setIdentityProvider)\n\n*This API requires the following crate features to be activated: `RtcIdentityProviderOptions`, `RtcPeerConnection`*" ] pub fn set_identity_provider_with_options ( & self , provider : & str , options : & RtcIdentityProviderOptions ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_identity_provider_with_options_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , provider : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & RtcIdentityProviderOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let provider = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( provider , & mut __stack ) ; let options = < & RtcIdentityProviderOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_set_identity_provider_with_options_RTCPeerConnection ( self_ , provider , options ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setIdentityProvider()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setIdentityProvider)\n\n*This API requires the following crate features to be activated: `RtcIdentityProviderOptions`, `RtcPeerConnection`*" ] pub fn set_identity_provider_with_options ( & self , provider : & str , options : & RtcIdentityProviderOptions ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_local_description_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & RtcSessionDescriptionInit as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setLocalDescription()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setLocalDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescriptionInit`*" ] pub fn set_local_description ( & self , description : & RtcSessionDescriptionInit ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_local_description_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , description : < & RtcSessionDescriptionInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let description = < & RtcSessionDescriptionInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( description , & mut __stack ) ; __widl_f_set_local_description_RTCPeerConnection ( self_ , description ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setLocalDescription()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setLocalDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescriptionInit`*" ] pub fn set_local_description ( & self , description : & RtcSessionDescriptionInit ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_local_description_with_success_callback_and_failure_callback_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & RtcSessionDescriptionInit as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setLocalDescription()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setLocalDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescriptionInit`*" ] pub fn set_local_description_with_success_callback_and_failure_callback ( & self , description : & RtcSessionDescriptionInit , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_local_description_with_success_callback_and_failure_callback_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , description : < & RtcSessionDescriptionInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , failure_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let description = < & RtcSessionDescriptionInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( description , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let failure_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( failure_callback , & mut __stack ) ; __widl_f_set_local_description_with_success_callback_and_failure_callback_RTCPeerConnection ( self_ , description , success_callback , failure_callback ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setLocalDescription()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setLocalDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescriptionInit`*" ] pub fn set_local_description_with_success_callback_and_failure_callback ( & self , description : & RtcSessionDescriptionInit , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_remote_description_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & RtcSessionDescriptionInit as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setRemoteDescription()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setRemoteDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescriptionInit`*" ] pub fn set_remote_description ( & self , description : & RtcSessionDescriptionInit ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_remote_description_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , description : < & RtcSessionDescriptionInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let description = < & RtcSessionDescriptionInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( description , & mut __stack ) ; __widl_f_set_remote_description_RTCPeerConnection ( self_ , description ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setRemoteDescription()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setRemoteDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescriptionInit`*" ] pub fn set_remote_description ( & self , description : & RtcSessionDescriptionInit ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_remote_description_with_success_callback_and_failure_callback_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < & RtcSessionDescriptionInit as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setRemoteDescription()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setRemoteDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescriptionInit`*" ] pub fn set_remote_description_with_success_callback_and_failure_callback ( & self , description : & RtcSessionDescriptionInit , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_remote_description_with_success_callback_and_failure_callback_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , description : < & RtcSessionDescriptionInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , success_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , failure_callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let description = < & RtcSessionDescriptionInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( description , & mut __stack ) ; let success_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( success_callback , & mut __stack ) ; let failure_callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( failure_callback , & mut __stack ) ; __widl_f_set_remote_description_with_success_callback_and_failure_callback_RTCPeerConnection ( self_ , description , success_callback , failure_callback ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setRemoteDescription()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setRemoteDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescriptionInit`*" ] pub fn set_remote_description_with_success_callback_and_failure_callback ( & self , description : & RtcSessionDescriptionInit , success_callback : & :: js_sys :: Function , failure_callback : & :: js_sys :: Function ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_local_description_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < RtcSessionDescription > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `localDescription` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/localDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*" ] pub fn local_description ( & self , ) -> Option < RtcSessionDescription > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_local_description_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < RtcSessionDescription > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_local_description_RTCPeerConnection ( self_ ) } ; < Option < RtcSessionDescription > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `localDescription` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/localDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*" ] pub fn local_description ( & self , ) -> Option < RtcSessionDescription > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_local_description_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < RtcSessionDescription > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentLocalDescription` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/currentLocalDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*" ] pub fn current_local_description ( & self , ) -> Option < RtcSessionDescription > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_local_description_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < RtcSessionDescription > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_local_description_RTCPeerConnection ( self_ ) } ; < Option < RtcSessionDescription > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentLocalDescription` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/currentLocalDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*" ] pub fn current_local_description ( & self , ) -> Option < RtcSessionDescription > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pending_local_description_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < RtcSessionDescription > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pendingLocalDescription` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/pendingLocalDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*" ] pub fn pending_local_description ( & self , ) -> Option < RtcSessionDescription > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pending_local_description_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < RtcSessionDescription > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pending_local_description_RTCPeerConnection ( self_ ) } ; < Option < RtcSessionDescription > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pendingLocalDescription` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/pendingLocalDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*" ] pub fn pending_local_description ( & self , ) -> Option < RtcSessionDescription > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remote_description_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < RtcSessionDescription > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remoteDescription` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/remoteDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*" ] pub fn remote_description ( & self , ) -> Option < RtcSessionDescription > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remote_description_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < RtcSessionDescription > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_remote_description_RTCPeerConnection ( self_ ) } ; < Option < RtcSessionDescription > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remoteDescription` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/remoteDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*" ] pub fn remote_description ( & self , ) -> Option < RtcSessionDescription > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_remote_description_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < RtcSessionDescription > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentRemoteDescription` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/currentRemoteDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*" ] pub fn current_remote_description ( & self , ) -> Option < RtcSessionDescription > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_remote_description_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < RtcSessionDescription > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_remote_description_RTCPeerConnection ( self_ ) } ; < Option < RtcSessionDescription > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentRemoteDescription` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/currentRemoteDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*" ] pub fn current_remote_description ( & self , ) -> Option < RtcSessionDescription > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pending_remote_description_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < RtcSessionDescription > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pendingRemoteDescription` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/pendingRemoteDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*" ] pub fn pending_remote_description ( & self , ) -> Option < RtcSessionDescription > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pending_remote_description_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < RtcSessionDescription > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pending_remote_description_RTCPeerConnection ( self_ ) } ; < Option < RtcSessionDescription > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pendingRemoteDescription` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/pendingRemoteDescription)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSessionDescription`*" ] pub fn pending_remote_description ( & self , ) -> Option < RtcSessionDescription > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_signaling_state_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < RtcSignalingState as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `signalingState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/signalingState)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSignalingState`*" ] pub fn signaling_state ( & self , ) -> RtcSignalingState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_signaling_state_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcSignalingState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_signaling_state_RTCPeerConnection ( self_ ) } ; < RtcSignalingState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `signalingState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/signalingState)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`, `RtcSignalingState`*" ] pub fn signaling_state ( & self , ) -> RtcSignalingState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_can_trickle_ice_candidates_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < bool > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `canTrickleIceCandidates` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/canTrickleIceCandidates)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn can_trickle_ice_candidates ( & self , ) -> Option < bool > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_can_trickle_ice_candidates_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < bool > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_can_trickle_ice_candidates_RTCPeerConnection ( self_ ) } ; < Option < bool > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `canTrickleIceCandidates` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/canTrickleIceCandidates)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn can_trickle_ice_candidates ( & self , ) -> Option < bool > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ice_gathering_state_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < RtcIceGatheringState as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `iceGatheringState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/iceGatheringState)\n\n*This API requires the following crate features to be activated: `RtcIceGatheringState`, `RtcPeerConnection`*" ] pub fn ice_gathering_state ( & self , ) -> RtcIceGatheringState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ice_gathering_state_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcIceGatheringState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ice_gathering_state_RTCPeerConnection ( self_ ) } ; < RtcIceGatheringState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `iceGatheringState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/iceGatheringState)\n\n*This API requires the following crate features to be activated: `RtcIceGatheringState`, `RtcPeerConnection`*" ] pub fn ice_gathering_state ( & self , ) -> RtcIceGatheringState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ice_connection_state_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < RtcIceConnectionState as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `iceConnectionState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/iceConnectionState)\n\n*This API requires the following crate features to be activated: `RtcIceConnectionState`, `RtcPeerConnection`*" ] pub fn ice_connection_state ( & self , ) -> RtcIceConnectionState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ice_connection_state_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcIceConnectionState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ice_connection_state_RTCPeerConnection ( self_ ) } ; < RtcIceConnectionState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `iceConnectionState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/iceConnectionState)\n\n*This API requires the following crate features to be activated: `RtcIceConnectionState`, `RtcPeerConnection`*" ] pub fn ice_connection_state ( & self , ) -> RtcIceConnectionState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_peer_identity_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `peerIdentity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/peerIdentity)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn peer_identity ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_peer_identity_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_peer_identity_RTCPeerConnection ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `peerIdentity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/peerIdentity)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn peer_identity ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_idp_login_url_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `idpLoginUrl` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/idpLoginUrl)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn idp_login_url ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_idp_login_url_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_idp_login_url_RTCPeerConnection ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `idpLoginUrl` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/idpLoginUrl)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn idp_login_url ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onnegotiationneeded_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onnegotiationneeded` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onnegotiationneeded)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onnegotiationneeded ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onnegotiationneeded_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onnegotiationneeded_RTCPeerConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onnegotiationneeded` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onnegotiationneeded)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onnegotiationneeded ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onnegotiationneeded_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onnegotiationneeded` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onnegotiationneeded)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onnegotiationneeded ( & self , onnegotiationneeded : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onnegotiationneeded_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onnegotiationneeded : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onnegotiationneeded = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onnegotiationneeded , & mut __stack ) ; __widl_f_set_onnegotiationneeded_RTCPeerConnection ( self_ , onnegotiationneeded ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onnegotiationneeded` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onnegotiationneeded)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onnegotiationneeded ( & self , onnegotiationneeded : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onicecandidate_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onicecandidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onicecandidate)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onicecandidate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onicecandidate_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onicecandidate_RTCPeerConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onicecandidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onicecandidate)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onicecandidate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onicecandidate_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onicecandidate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onicecandidate)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onicecandidate ( & self , onicecandidate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onicecandidate_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onicecandidate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onicecandidate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onicecandidate , & mut __stack ) ; __widl_f_set_onicecandidate_RTCPeerConnection ( self_ , onicecandidate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onicecandidate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onicecandidate)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onicecandidate ( & self , onicecandidate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsignalingstatechange_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsignalingstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onsignalingstatechange)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onsignalingstatechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsignalingstatechange_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsignalingstatechange_RTCPeerConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsignalingstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onsignalingstatechange)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onsignalingstatechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsignalingstatechange_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsignalingstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onsignalingstatechange)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onsignalingstatechange ( & self , onsignalingstatechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsignalingstatechange_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsignalingstatechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsignalingstatechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsignalingstatechange , & mut __stack ) ; __widl_f_set_onsignalingstatechange_RTCPeerConnection ( self_ , onsignalingstatechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsignalingstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onsignalingstatechange)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onsignalingstatechange ( & self , onsignalingstatechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onaddstream_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddstream` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onaddstream)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onaddstream ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onaddstream_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onaddstream_RTCPeerConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddstream` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onaddstream)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onaddstream ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onaddstream_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddstream` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onaddstream)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onaddstream ( & self , onaddstream : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onaddstream_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onaddstream : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onaddstream = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onaddstream , & mut __stack ) ; __widl_f_set_onaddstream_RTCPeerConnection ( self_ , onaddstream ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddstream` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onaddstream)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onaddstream ( & self , onaddstream : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onaddtrack_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddtrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onaddtrack)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onaddtrack ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onaddtrack_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onaddtrack_RTCPeerConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddtrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onaddtrack)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onaddtrack ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onaddtrack_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddtrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onaddtrack)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onaddtrack ( & self , onaddtrack : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onaddtrack_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onaddtrack : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onaddtrack = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onaddtrack , & mut __stack ) ; __widl_f_set_onaddtrack_RTCPeerConnection ( self_ , onaddtrack ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddtrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onaddtrack)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onaddtrack ( & self , onaddtrack : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontrack_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/ontrack)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn ontrack ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontrack_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontrack_RTCPeerConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/ontrack)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn ontrack ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontrack_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/ontrack)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_ontrack ( & self , ontrack : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontrack_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontrack : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontrack = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontrack , & mut __stack ) ; __widl_f_set_ontrack_RTCPeerConnection ( self_ , ontrack ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/ontrack)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_ontrack ( & self , ontrack : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onremovestream_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onremovestream` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onremovestream)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onremovestream ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onremovestream_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onremovestream_RTCPeerConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onremovestream` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onremovestream)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onremovestream ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onremovestream_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onremovestream` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onremovestream)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onremovestream ( & self , onremovestream : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onremovestream_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onremovestream : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onremovestream = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onremovestream , & mut __stack ) ; __widl_f_set_onremovestream_RTCPeerConnection ( self_ , onremovestream ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onremovestream` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onremovestream)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onremovestream ( & self , onremovestream : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oniceconnectionstatechange_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oniceconnectionstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/oniceconnectionstatechange)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn oniceconnectionstatechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oniceconnectionstatechange_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oniceconnectionstatechange_RTCPeerConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oniceconnectionstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/oniceconnectionstatechange)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn oniceconnectionstatechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oniceconnectionstatechange_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oniceconnectionstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/oniceconnectionstatechange)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_oniceconnectionstatechange ( & self , oniceconnectionstatechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oniceconnectionstatechange_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oniceconnectionstatechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oniceconnectionstatechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oniceconnectionstatechange , & mut __stack ) ; __widl_f_set_oniceconnectionstatechange_RTCPeerConnection ( self_ , oniceconnectionstatechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oniceconnectionstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/oniceconnectionstatechange)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_oniceconnectionstatechange ( & self , oniceconnectionstatechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onicegatheringstatechange_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onicegatheringstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onicegatheringstatechange)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onicegatheringstatechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onicegatheringstatechange_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onicegatheringstatechange_RTCPeerConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onicegatheringstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onicegatheringstatechange)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn onicegatheringstatechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onicegatheringstatechange_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onicegatheringstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onicegatheringstatechange)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onicegatheringstatechange ( & self , onicegatheringstatechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onicegatheringstatechange_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onicegatheringstatechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onicegatheringstatechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onicegatheringstatechange , & mut __stack ) ; __widl_f_set_onicegatheringstatechange_RTCPeerConnection ( self_ , onicegatheringstatechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onicegatheringstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/onicegatheringstatechange)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_onicegatheringstatechange ( & self , onicegatheringstatechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondatachannel_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondatachannel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/ondatachannel)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn ondatachannel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondatachannel_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondatachannel_RTCPeerConnection ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondatachannel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/ondatachannel)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn ondatachannel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondatachannel_RTCPeerConnection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcPeerConnection as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondatachannel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/ondatachannel)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_ondatachannel ( & self , ondatachannel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondatachannel_RTCPeerConnection ( self_ : < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondatachannel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondatachannel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondatachannel , & mut __stack ) ; __widl_f_set_ondatachannel_RTCPeerConnection ( self_ , ondatachannel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondatachannel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/ondatachannel)\n\n*This API requires the following crate features to be activated: `RtcPeerConnection`*" ] pub fn set_ondatachannel ( & self , ondatachannel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RTCPeerConnectionIceEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent)\n\n*This API requires the following crate features to be activated: `RtcPeerConnectionIceEvent`*" ] # [ repr ( transparent ) ] pub struct RtcPeerConnectionIceEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RtcPeerConnectionIceEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RtcPeerConnectionIceEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RtcPeerConnectionIceEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RtcPeerConnectionIceEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RtcPeerConnectionIceEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RtcPeerConnectionIceEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RtcPeerConnectionIceEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RtcPeerConnectionIceEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RtcPeerConnectionIceEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RtcPeerConnectionIceEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RtcPeerConnectionIceEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RtcPeerConnectionIceEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RtcPeerConnectionIceEvent { # [ inline ] fn from ( obj : JsValue ) -> RtcPeerConnectionIceEvent { RtcPeerConnectionIceEvent { obj } } } impl AsRef < JsValue > for RtcPeerConnectionIceEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RtcPeerConnectionIceEvent > for JsValue { # [ inline ] fn from ( obj : RtcPeerConnectionIceEvent ) -> JsValue { obj . obj } } impl JsCast for RtcPeerConnectionIceEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RTCPeerConnectionIceEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RTCPeerConnectionIceEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcPeerConnectionIceEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcPeerConnectionIceEvent ) } } } ( ) } ; impl core :: ops :: Deref for RtcPeerConnectionIceEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < RtcPeerConnectionIceEvent > for Event { # [ inline ] fn from ( obj : RtcPeerConnectionIceEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for RtcPeerConnectionIceEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < RtcPeerConnectionIceEvent > for Object { # [ inline ] fn from ( obj : RtcPeerConnectionIceEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RtcPeerConnectionIceEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_RTCPeerConnectionIceEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < RtcPeerConnectionIceEvent as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnectionIceEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new RTCPeerConnectionIceEvent(..)` constructor, creating a new instance of `RTCPeerConnectionIceEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent/RTCPeerConnectionIceEvent)\n\n*This API requires the following crate features to be activated: `RtcPeerConnectionIceEvent`*" ] pub fn new ( type_ : & str ) -> Result < RtcPeerConnectionIceEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_RTCPeerConnectionIceEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < RtcPeerConnectionIceEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_RTCPeerConnectionIceEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < RtcPeerConnectionIceEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new RTCPeerConnectionIceEvent(..)` constructor, creating a new instance of `RTCPeerConnectionIceEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent/RTCPeerConnectionIceEvent)\n\n*This API requires the following crate features to be activated: `RtcPeerConnectionIceEvent`*" ] pub fn new ( type_ : & str ) -> Result < RtcPeerConnectionIceEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_RTCPeerConnectionIceEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & RtcPeerConnectionIceEventInit as WasmDescribe > :: describe ( ) ; < RtcPeerConnectionIceEvent as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnectionIceEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new RTCPeerConnectionIceEvent(..)` constructor, creating a new instance of `RTCPeerConnectionIceEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent/RTCPeerConnectionIceEvent)\n\n*This API requires the following crate features to be activated: `RtcPeerConnectionIceEvent`, `RtcPeerConnectionIceEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & RtcPeerConnectionIceEventInit ) -> Result < RtcPeerConnectionIceEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_RTCPeerConnectionIceEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & RtcPeerConnectionIceEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < RtcPeerConnectionIceEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & RtcPeerConnectionIceEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_RTCPeerConnectionIceEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < RtcPeerConnectionIceEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new RTCPeerConnectionIceEvent(..)` constructor, creating a new instance of `RTCPeerConnectionIceEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent/RTCPeerConnectionIceEvent)\n\n*This API requires the following crate features to be activated: `RtcPeerConnectionIceEvent`, `RtcPeerConnectionIceEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & RtcPeerConnectionIceEventInit ) -> Result < RtcPeerConnectionIceEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_candidate_RTCPeerConnectionIceEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcPeerConnectionIceEvent as WasmDescribe > :: describe ( ) ; < Option < RtcIceCandidate > as WasmDescribe > :: describe ( ) ; } impl RtcPeerConnectionIceEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `candidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent/candidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcPeerConnectionIceEvent`*" ] pub fn candidate ( & self , ) -> Option < RtcIceCandidate > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_candidate_RTCPeerConnectionIceEvent ( self_ : < & RtcPeerConnectionIceEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < RtcIceCandidate > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcPeerConnectionIceEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_candidate_RTCPeerConnectionIceEvent ( self_ ) } ; < Option < RtcIceCandidate > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `candidate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent/candidate)\n\n*This API requires the following crate features to be activated: `RtcIceCandidate`, `RtcPeerConnectionIceEvent`*" ] pub fn candidate ( & self , ) -> Option < RtcIceCandidate > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RTCRtpReceiver` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver)\n\n*This API requires the following crate features to be activated: `RtcRtpReceiver`*" ] # [ repr ( transparent ) ] pub struct RtcRtpReceiver { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RtcRtpReceiver : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RtcRtpReceiver { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RtcRtpReceiver { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RtcRtpReceiver { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RtcRtpReceiver { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RtcRtpReceiver { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RtcRtpReceiver { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RtcRtpReceiver { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RtcRtpReceiver { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RtcRtpReceiver { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RtcRtpReceiver > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RtcRtpReceiver { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RtcRtpReceiver { # [ inline ] fn from ( obj : JsValue ) -> RtcRtpReceiver { RtcRtpReceiver { obj } } } impl AsRef < JsValue > for RtcRtpReceiver { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RtcRtpReceiver > for JsValue { # [ inline ] fn from ( obj : RtcRtpReceiver ) -> JsValue { obj . obj } } impl JsCast for RtcRtpReceiver { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RTCRtpReceiver ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RTCRtpReceiver ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcRtpReceiver { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcRtpReceiver ) } } } ( ) } ; impl core :: ops :: Deref for RtcRtpReceiver { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < RtcRtpReceiver > for Object { # [ inline ] fn from ( obj : RtcRtpReceiver ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RtcRtpReceiver { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_stats_RTCRtpReceiver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcRtpReceiver as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcRtpReceiver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getStats()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/getStats)\n\n*This API requires the following crate features to be activated: `RtcRtpReceiver`*" ] pub fn get_stats ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_stats_RTCRtpReceiver ( self_ : < & RtcRtpReceiver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcRtpReceiver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_stats_RTCRtpReceiver ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getStats()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/getStats)\n\n*This API requires the following crate features to be activated: `RtcRtpReceiver`*" ] pub fn get_stats ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_track_RTCRtpReceiver ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcRtpReceiver as WasmDescribe > :: describe ( ) ; < MediaStreamTrack as WasmDescribe > :: describe ( ) ; } impl RtcRtpReceiver { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/track)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcRtpReceiver`*" ] pub fn track ( & self , ) -> MediaStreamTrack { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_track_RTCRtpReceiver ( self_ : < & RtcRtpReceiver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaStreamTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcRtpReceiver as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_track_RTCRtpReceiver ( self_ ) } ; < MediaStreamTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/track)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcRtpReceiver`*" ] pub fn track ( & self , ) -> MediaStreamTrack { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RTCRtpSender` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender)\n\n*This API requires the following crate features to be activated: `RtcRtpSender`*" ] # [ repr ( transparent ) ] pub struct RtcRtpSender { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RtcRtpSender : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RtcRtpSender { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RtcRtpSender { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RtcRtpSender { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RtcRtpSender { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RtcRtpSender { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RtcRtpSender { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RtcRtpSender { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RtcRtpSender { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RtcRtpSender { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RtcRtpSender > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RtcRtpSender { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RtcRtpSender { # [ inline ] fn from ( obj : JsValue ) -> RtcRtpSender { RtcRtpSender { obj } } } impl AsRef < JsValue > for RtcRtpSender { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RtcRtpSender > for JsValue { # [ inline ] fn from ( obj : RtcRtpSender ) -> JsValue { obj . obj } } impl JsCast for RtcRtpSender { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RTCRtpSender ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RTCRtpSender ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcRtpSender { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcRtpSender ) } } } ( ) } ; impl core :: ops :: Deref for RtcRtpSender { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < RtcRtpSender > for Object { # [ inline ] fn from ( obj : RtcRtpSender ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RtcRtpSender { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_parameters_RTCRtpSender ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcRtpSender as WasmDescribe > :: describe ( ) ; < RtcRtpParameters as WasmDescribe > :: describe ( ) ; } impl RtcRtpSender { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getParameters()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/getParameters)\n\n*This API requires the following crate features to be activated: `RtcRtpParameters`, `RtcRtpSender`*" ] pub fn get_parameters ( & self , ) -> RtcRtpParameters { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_parameters_RTCRtpSender ( self_ : < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcRtpParameters as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_parameters_RTCRtpSender ( self_ ) } ; < RtcRtpParameters as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getParameters()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/getParameters)\n\n*This API requires the following crate features to be activated: `RtcRtpParameters`, `RtcRtpSender`*" ] pub fn get_parameters ( & self , ) -> RtcRtpParameters { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_stats_RTCRtpSender ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcRtpSender as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcRtpSender { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getStats()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/getStats)\n\n*This API requires the following crate features to be activated: `RtcRtpSender`*" ] pub fn get_stats ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_stats_RTCRtpSender ( self_ : < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_stats_RTCRtpSender ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getStats()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/getStats)\n\n*This API requires the following crate features to be activated: `RtcRtpSender`*" ] pub fn get_stats ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_track_RTCRtpSender ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcRtpSender as WasmDescribe > :: describe ( ) ; < Option < & MediaStreamTrack > as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcRtpSender { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/replaceTrack)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcRtpSender`*" ] pub fn replace_track ( & self , with_track : Option < & MediaStreamTrack > ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_track_RTCRtpSender ( self_ : < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , with_track : < Option < & MediaStreamTrack > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let with_track = < Option < & MediaStreamTrack > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( with_track , & mut __stack ) ; __widl_f_replace_track_RTCRtpSender ( self_ , with_track ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceTrack()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/replaceTrack)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcRtpSender`*" ] pub fn replace_track ( & self , with_track : Option < & MediaStreamTrack > ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_parameters_RTCRtpSender ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcRtpSender as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcRtpSender { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setParameters()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/setParameters)\n\n*This API requires the following crate features to be activated: `RtcRtpSender`*" ] pub fn set_parameters ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_parameters_RTCRtpSender ( self_ : < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_set_parameters_RTCRtpSender ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setParameters()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/setParameters)\n\n*This API requires the following crate features to be activated: `RtcRtpSender`*" ] pub fn set_parameters ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_parameters_with_parameters_RTCRtpSender ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcRtpSender as WasmDescribe > :: describe ( ) ; < & RtcRtpParameters as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl RtcRtpSender { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setParameters()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/setParameters)\n\n*This API requires the following crate features to be activated: `RtcRtpParameters`, `RtcRtpSender`*" ] pub fn set_parameters_with_parameters ( & self , parameters : & RtcRtpParameters ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_parameters_with_parameters_RTCRtpSender ( self_ : < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , parameters : < & RtcRtpParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let parameters = < & RtcRtpParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( parameters , & mut __stack ) ; __widl_f_set_parameters_with_parameters_RTCRtpSender ( self_ , parameters ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setParameters()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/setParameters)\n\n*This API requires the following crate features to be activated: `RtcRtpParameters`, `RtcRtpSender`*" ] pub fn set_parameters_with_parameters ( & self , parameters : & RtcRtpParameters ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_track_RTCRtpSender ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcRtpSender as WasmDescribe > :: describe ( ) ; < Option < MediaStreamTrack > as WasmDescribe > :: describe ( ) ; } impl RtcRtpSender { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/track)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcRtpSender`*" ] pub fn track ( & self , ) -> Option < MediaStreamTrack > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_track_RTCRtpSender ( self_ : < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < MediaStreamTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_track_RTCRtpSender ( self_ ) } ; < Option < MediaStreamTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/track)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcRtpSender`*" ] pub fn track ( & self , ) -> Option < MediaStreamTrack > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dtmf_RTCRtpSender ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcRtpSender as WasmDescribe > :: describe ( ) ; < Option < RtcdtmfSender > as WasmDescribe > :: describe ( ) ; } impl RtcRtpSender { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dtmf` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/dtmf)\n\n*This API requires the following crate features to be activated: `RtcRtpSender`, `RtcdtmfSender`*" ] pub fn dtmf ( & self , ) -> Option < RtcdtmfSender > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dtmf_RTCRtpSender ( self_ : < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < RtcdtmfSender > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcRtpSender as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dtmf_RTCRtpSender ( self_ ) } ; < Option < RtcdtmfSender > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dtmf` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/dtmf)\n\n*This API requires the following crate features to be activated: `RtcRtpSender`, `RtcdtmfSender`*" ] pub fn dtmf ( & self , ) -> Option < RtcdtmfSender > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RTCSessionDescription` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription)\n\n*This API requires the following crate features to be activated: `RtcSessionDescription`*" ] # [ repr ( transparent ) ] pub struct RtcSessionDescription { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RtcSessionDescription : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RtcSessionDescription { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RtcSessionDescription { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RtcSessionDescription { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RtcSessionDescription { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RtcSessionDescription { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RtcSessionDescription { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RtcSessionDescription { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RtcSessionDescription { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RtcSessionDescription { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RtcSessionDescription > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RtcSessionDescription { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RtcSessionDescription { # [ inline ] fn from ( obj : JsValue ) -> RtcSessionDescription { RtcSessionDescription { obj } } } impl AsRef < JsValue > for RtcSessionDescription { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RtcSessionDescription > for JsValue { # [ inline ] fn from ( obj : RtcSessionDescription ) -> JsValue { obj . obj } } impl JsCast for RtcSessionDescription { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RTCSessionDescription ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RTCSessionDescription ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcSessionDescription { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcSessionDescription ) } } } ( ) } ; impl core :: ops :: Deref for RtcSessionDescription { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < RtcSessionDescription > for Object { # [ inline ] fn from ( obj : RtcSessionDescription ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RtcSessionDescription { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_RTCSessionDescription ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < RtcSessionDescription as WasmDescribe > :: describe ( ) ; } impl RtcSessionDescription { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new RTCSessionDescription(..)` constructor, creating a new instance of `RTCSessionDescription`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/RTCSessionDescription)\n\n*This API requires the following crate features to be activated: `RtcSessionDescription`*" ] pub fn new ( ) -> Result < RtcSessionDescription , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_RTCSessionDescription ( exn_data_ptr : * mut u32 ) -> < RtcSessionDescription as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_RTCSessionDescription ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < RtcSessionDescription as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new RTCSessionDescription(..)` constructor, creating a new instance of `RTCSessionDescription`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/RTCSessionDescription)\n\n*This API requires the following crate features to be activated: `RtcSessionDescription`*" ] pub fn new ( ) -> Result < RtcSessionDescription , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_description_init_dict_RTCSessionDescription ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcSessionDescriptionInit as WasmDescribe > :: describe ( ) ; < RtcSessionDescription as WasmDescribe > :: describe ( ) ; } impl RtcSessionDescription { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new RTCSessionDescription(..)` constructor, creating a new instance of `RTCSessionDescription`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/RTCSessionDescription)\n\n*This API requires the following crate features to be activated: `RtcSessionDescription`, `RtcSessionDescriptionInit`*" ] pub fn new_with_description_init_dict ( description_init_dict : & RtcSessionDescriptionInit ) -> Result < RtcSessionDescription , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_description_init_dict_RTCSessionDescription ( description_init_dict : < & RtcSessionDescriptionInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < RtcSessionDescription as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let description_init_dict = < & RtcSessionDescriptionInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( description_init_dict , & mut __stack ) ; __widl_f_new_with_description_init_dict_RTCSessionDescription ( description_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < RtcSessionDescription as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new RTCSessionDescription(..)` constructor, creating a new instance of `RTCSessionDescription`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/RTCSessionDescription)\n\n*This API requires the following crate features to be activated: `RtcSessionDescription`, `RtcSessionDescriptionInit`*" ] pub fn new_with_description_init_dict ( description_init_dict : & RtcSessionDescriptionInit ) -> Result < RtcSessionDescription , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_RTCSessionDescription ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcSessionDescription as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl RtcSessionDescription { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/toJSON)\n\n*This API requires the following crate features to be activated: `RtcSessionDescription`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_RTCSessionDescription ( self_ : < & RtcSessionDescription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcSessionDescription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_RTCSessionDescription ( self_ ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/toJSON)\n\n*This API requires the following crate features to be activated: `RtcSessionDescription`*" ] pub fn to_json ( & self , ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_RTCSessionDescription ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcSessionDescription as WasmDescribe > :: describe ( ) ; < RtcSdpType as WasmDescribe > :: describe ( ) ; } impl RtcSessionDescription { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/type)\n\n*This API requires the following crate features to be activated: `RtcSdpType`, `RtcSessionDescription`*" ] pub fn type_ ( & self , ) -> RtcSdpType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_RTCSessionDescription ( self_ : < & RtcSessionDescription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcSdpType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcSessionDescription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_RTCSessionDescription ( self_ ) } ; < RtcSdpType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/type)\n\n*This API requires the following crate features to be activated: `RtcSdpType`, `RtcSessionDescription`*" ] pub fn type_ ( & self , ) -> RtcSdpType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_RTCSessionDescription ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcSessionDescription as WasmDescribe > :: describe ( ) ; < RtcSdpType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcSessionDescription { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/type)\n\n*This API requires the following crate features to be activated: `RtcSdpType`, `RtcSessionDescription`*" ] pub fn set_type ( & self , type_ : RtcSdpType ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_RTCSessionDescription ( self_ : < & RtcSessionDescription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < RtcSdpType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcSessionDescription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < RtcSdpType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_RTCSessionDescription ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/type)\n\n*This API requires the following crate features to be activated: `RtcSdpType`, `RtcSessionDescription`*" ] pub fn set_type ( & self , type_ : RtcSdpType ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sdp_RTCSessionDescription ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcSessionDescription as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl RtcSessionDescription { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sdp` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/sdp)\n\n*This API requires the following crate features to be activated: `RtcSessionDescription`*" ] pub fn sdp ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sdp_RTCSessionDescription ( self_ : < & RtcSessionDescription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcSessionDescription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sdp_RTCSessionDescription ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sdp` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/sdp)\n\n*This API requires the following crate features to be activated: `RtcSessionDescription`*" ] pub fn sdp ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_sdp_RTCSessionDescription ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RtcSessionDescription as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RtcSessionDescription { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sdp` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/sdp)\n\n*This API requires the following crate features to be activated: `RtcSessionDescription`*" ] pub fn set_sdp ( & self , sdp : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_sdp_RTCSessionDescription ( self_ : < & RtcSessionDescription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sdp : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcSessionDescription as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sdp = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sdp , & mut __stack ) ; __widl_f_set_sdp_RTCSessionDescription ( self_ , sdp ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sdp` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/sdp)\n\n*This API requires the following crate features to be activated: `RtcSessionDescription`*" ] pub fn set_sdp ( & self , sdp : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RTCStatsReport` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport)\n\n*This API requires the following crate features to be activated: `RtcStatsReport`*" ] # [ repr ( transparent ) ] pub struct RtcStatsReport { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RtcStatsReport : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RtcStatsReport { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RtcStatsReport { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RtcStatsReport { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RtcStatsReport { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RtcStatsReport { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RtcStatsReport { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RtcStatsReport { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RtcStatsReport { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RtcStatsReport { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RtcStatsReport > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RtcStatsReport { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RtcStatsReport { # [ inline ] fn from ( obj : JsValue ) -> RtcStatsReport { RtcStatsReport { obj } } } impl AsRef < JsValue > for RtcStatsReport { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RtcStatsReport > for JsValue { # [ inline ] fn from ( obj : RtcStatsReport ) -> JsValue { obj . obj } } impl JsCast for RtcStatsReport { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RTCStatsReport ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RTCStatsReport ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcStatsReport { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcStatsReport ) } } } ( ) } ; impl core :: ops :: Deref for RtcStatsReport { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < RtcStatsReport > for Object { # [ inline ] fn from ( obj : RtcStatsReport ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RtcStatsReport { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RTCTrackEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCTrackEvent)\n\n*This API requires the following crate features to be activated: `RtcTrackEvent`*" ] # [ repr ( transparent ) ] pub struct RtcTrackEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RtcTrackEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RtcTrackEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RtcTrackEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RtcTrackEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RtcTrackEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RtcTrackEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RtcTrackEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RtcTrackEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RtcTrackEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RtcTrackEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RtcTrackEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RtcTrackEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RtcTrackEvent { # [ inline ] fn from ( obj : JsValue ) -> RtcTrackEvent { RtcTrackEvent { obj } } } impl AsRef < JsValue > for RtcTrackEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RtcTrackEvent > for JsValue { # [ inline ] fn from ( obj : RtcTrackEvent ) -> JsValue { obj . obj } } impl JsCast for RtcTrackEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RTCTrackEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RTCTrackEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcTrackEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcTrackEvent ) } } } ( ) } ; impl core :: ops :: Deref for RtcTrackEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < RtcTrackEvent > for Event { # [ inline ] fn from ( obj : RtcTrackEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for RtcTrackEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < RtcTrackEvent > for Object { # [ inline ] fn from ( obj : RtcTrackEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RtcTrackEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_receiver_RTCTrackEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcTrackEvent as WasmDescribe > :: describe ( ) ; < RtcRtpReceiver as WasmDescribe > :: describe ( ) ; } impl RtcTrackEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `receiver` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCTrackEvent/receiver)\n\n*This API requires the following crate features to be activated: `RtcRtpReceiver`, `RtcTrackEvent`*" ] pub fn receiver ( & self , ) -> RtcRtpReceiver { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_receiver_RTCTrackEvent ( self_ : < & RtcTrackEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RtcRtpReceiver as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcTrackEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_receiver_RTCTrackEvent ( self_ ) } ; < RtcRtpReceiver as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `receiver` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCTrackEvent/receiver)\n\n*This API requires the following crate features to be activated: `RtcRtpReceiver`, `RtcTrackEvent`*" ] pub fn receiver ( & self , ) -> RtcRtpReceiver { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_track_RTCTrackEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RtcTrackEvent as WasmDescribe > :: describe ( ) ; < MediaStreamTrack as WasmDescribe > :: describe ( ) ; } impl RtcTrackEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCTrackEvent/track)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcTrackEvent`*" ] pub fn track ( & self , ) -> MediaStreamTrack { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_track_RTCTrackEvent ( self_ : < & RtcTrackEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaStreamTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RtcTrackEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_track_RTCTrackEvent ( self_ ) } ; < MediaStreamTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCTrackEvent/track)\n\n*This API requires the following crate features to be activated: `MediaStreamTrack`, `RtcTrackEvent`*" ] pub fn track ( & self , ) -> MediaStreamTrack { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `RadioNodeList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RadioNodeList)\n\n*This API requires the following crate features to be activated: `RadioNodeList`*" ] # [ repr ( transparent ) ] pub struct RadioNodeList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_RadioNodeList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for RadioNodeList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for RadioNodeList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for RadioNodeList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a RadioNodeList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for RadioNodeList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { RadioNodeList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for RadioNodeList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a RadioNodeList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for RadioNodeList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < RadioNodeList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( RadioNodeList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for RadioNodeList { # [ inline ] fn from ( obj : JsValue ) -> RadioNodeList { RadioNodeList { obj } } } impl AsRef < JsValue > for RadioNodeList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < RadioNodeList > for JsValue { # [ inline ] fn from ( obj : RadioNodeList ) -> JsValue { obj . obj } } impl JsCast for RadioNodeList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_RadioNodeList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_RadioNodeList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RadioNodeList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RadioNodeList ) } } } ( ) } ; impl core :: ops :: Deref for RadioNodeList { type Target = NodeList ; # [ inline ] fn deref ( & self ) -> & NodeList { self . as_ref ( ) } } impl From < RadioNodeList > for NodeList { # [ inline ] fn from ( obj : RadioNodeList ) -> NodeList { use wasm_bindgen :: JsCast ; NodeList :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < NodeList > for RadioNodeList { # [ inline ] fn as_ref ( & self ) -> & NodeList { use wasm_bindgen :: JsCast ; NodeList :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < RadioNodeList > for Object { # [ inline ] fn from ( obj : RadioNodeList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for RadioNodeList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_RadioNodeList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & RadioNodeList as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl RadioNodeList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RadioNodeList/value)\n\n*This API requires the following crate features to be activated: `RadioNodeList`*" ] pub fn value ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_RadioNodeList ( self_ : < & RadioNodeList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RadioNodeList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_RadioNodeList ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RadioNodeList/value)\n\n*This API requires the following crate features to be activated: `RadioNodeList`*" ] pub fn value ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_RadioNodeList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & RadioNodeList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl RadioNodeList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RadioNodeList/value)\n\n*This API requires the following crate features to be activated: `RadioNodeList`*" ] pub fn set_value ( & self , value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_RadioNodeList ( self_ : < & RadioNodeList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & RadioNodeList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_RadioNodeList ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RadioNodeList/value)\n\n*This API requires the following crate features to be activated: `RadioNodeList`*" ] pub fn set_value ( & self , value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Range` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range)\n\n*This API requires the following crate features to be activated: `Range`*" ] # [ repr ( transparent ) ] pub struct Range { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Range : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Range { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Range { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Range { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Range { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Range { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Range { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Range { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Range { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Range { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Range > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Range { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Range { # [ inline ] fn from ( obj : JsValue ) -> Range { Range { obj } } } impl AsRef < JsValue > for Range { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Range > for JsValue { # [ inline ] fn from ( obj : Range ) -> JsValue { obj . obj } } impl JsCast for Range { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Range ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Range ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Range { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Range ) } } } ( ) } ; impl core :: ops :: Deref for Range { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Range > for Object { # [ inline ] fn from ( obj : Range ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Range { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < Range as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Range(..)` constructor, creating a new instance of `Range`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/Range)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn new ( ) -> Result < Range , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Range ( exn_data_ptr : * mut u32 ) -> < Range as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_Range ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Range as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Range(..)` constructor, creating a new instance of `Range`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/Range)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn new ( ) -> Result < Range , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clone_contents_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < DocumentFragment as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cloneContents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/cloneContents)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Range`*" ] pub fn clone_contents ( & self , ) -> Result < DocumentFragment , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clone_contents_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clone_contents_Range ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cloneContents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/cloneContents)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Range`*" ] pub fn clone_contents ( & self , ) -> Result < DocumentFragment , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clone_range_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < Range as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cloneRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/cloneRange)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn clone_range ( & self , ) -> Range { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clone_range_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Range as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clone_range_Range ( self_ ) } ; < Range as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cloneRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/cloneRange)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn clone_range ( & self , ) -> Range { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_collapse_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `collapse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/collapse)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn collapse ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_collapse_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_collapse_Range ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `collapse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/collapse)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn collapse ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_collapse_with_to_start_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `collapse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/collapse)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn collapse_with_to_start ( & self , to_start : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_collapse_with_to_start_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , to_start : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let to_start = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( to_start , & mut __stack ) ; __widl_f_collapse_with_to_start_Range ( self_ , to_start ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `collapse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/collapse)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn collapse_with_to_start ( & self , to_start : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compare_boundary_points_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < & Range as WasmDescribe > :: describe ( ) ; < i16 as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compareBoundaryPoints()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/compareBoundaryPoints)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn compare_boundary_points ( & self , how : u16 , source_range : & Range ) -> Result < i16 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compare_boundary_points_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , how : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source_range : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let how = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( how , & mut __stack ) ; let source_range = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source_range , & mut __stack ) ; __widl_f_compare_boundary_points_Range ( self_ , how , source_range , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compareBoundaryPoints()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/compareBoundaryPoints)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn compare_boundary_points ( & self , how : u16 , source_range : & Range ) -> Result < i16 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compare_point_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i16 as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `comparePoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/comparePoint)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn compare_point ( & self , node : & Node , offset : u32 ) -> Result < i16 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compare_point_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_compare_point_Range ( self_ , node , offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `comparePoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/comparePoint)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn compare_point ( & self , node : & Node , offset : u32 ) -> Result < i16 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_contextual_fragment_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < DocumentFragment as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createContextualFragment()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/createContextualFragment)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Range`*" ] pub fn create_contextual_fragment ( & self , fragment : & str ) -> Result < DocumentFragment , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_contextual_fragment_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , fragment : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let fragment = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( fragment , & mut __stack ) ; __widl_f_create_contextual_fragment_Range ( self_ , fragment , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createContextualFragment()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/createContextualFragment)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Range`*" ] pub fn create_contextual_fragment ( & self , fragment : & str ) -> Result < DocumentFragment , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_contents_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteContents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/deleteContents)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn delete_contents ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_contents_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_delete_contents_Range ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteContents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/deleteContents)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn delete_contents ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_detach_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `detach()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/detach)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn detach ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_detach_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_detach_Range ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `detach()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/detach)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn detach ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_extract_contents_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < DocumentFragment as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `extractContents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/extractContents)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Range`*" ] pub fn extract_contents ( & self , ) -> Result < DocumentFragment , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_extract_contents_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_extract_contents_Range ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `extractContents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/extractContents)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `Range`*" ] pub fn extract_contents ( & self , ) -> Result < DocumentFragment , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_bounding_client_rect_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < DomRect as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBoundingClientRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/getBoundingClientRect)\n\n*This API requires the following crate features to be activated: `DomRect`, `Range`*" ] pub fn get_bounding_client_rect ( & self , ) -> DomRect { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_bounding_client_rect_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_bounding_client_rect_Range ( self_ ) } ; < DomRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBoundingClientRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/getBoundingClientRect)\n\n*This API requires the following crate features to be activated: `DomRect`, `Range`*" ] pub fn get_bounding_client_rect ( & self , ) -> DomRect { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_client_rects_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < Option < DomRectList > as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getClientRects()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/getClientRects)\n\n*This API requires the following crate features to be activated: `DomRectList`, `Range`*" ] pub fn get_client_rects ( & self , ) -> Option < DomRectList > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_client_rects_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < DomRectList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_client_rects_Range ( self_ ) } ; < Option < DomRectList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getClientRects()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/getClientRects)\n\n*This API requires the following crate features to be activated: `DomRectList`, `Range`*" ] pub fn get_client_rects ( & self , ) -> Option < DomRectList > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_node_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/insertNode)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn insert_node ( & self , node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_node_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; __widl_f_insert_node_Range ( self_ , node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/insertNode)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn insert_node ( & self , node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_intersects_node_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `intersectsNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/intersectsNode)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn intersects_node ( & self , node : & Node ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_intersects_node_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; __widl_f_intersects_node_Range ( self_ , node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `intersectsNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/intersectsNode)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn intersects_node ( & self , node : & Node ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_point_in_range_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isPointInRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/isPointInRange)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn is_point_in_range ( & self , node : & Node , offset : u32 ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_point_in_range_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_is_point_in_range_Range ( self_ , node , offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isPointInRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/isPointInRange)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn is_point_in_range ( & self , node : & Node , offset : u32 ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_select_node_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/selectNode)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn select_node ( & self , ref_node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_select_node_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ref_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ref_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ref_node , & mut __stack ) ; __widl_f_select_node_Range ( self_ , ref_node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/selectNode)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn select_node ( & self , ref_node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_select_node_contents_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectNodeContents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/selectNodeContents)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn select_node_contents ( & self , ref_node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_select_node_contents_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ref_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ref_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ref_node , & mut __stack ) ; __widl_f_select_node_contents_Range ( self_ , ref_node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectNodeContents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/selectNodeContents)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn select_node_contents ( & self , ref_node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_end_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setEnd()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setEnd)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn set_end ( & self , ref_node : & Node , offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_end_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ref_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ref_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ref_node , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_set_end_Range ( self_ , ref_node , offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setEnd()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setEnd)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn set_end ( & self , ref_node : & Node , offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_end_after_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setEndAfter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setEndAfter)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn set_end_after ( & self , ref_node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_end_after_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ref_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ref_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ref_node , & mut __stack ) ; __widl_f_set_end_after_Range ( self_ , ref_node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setEndAfter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setEndAfter)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn set_end_after ( & self , ref_node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_end_before_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setEndBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setEndBefore)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn set_end_before ( & self , ref_node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_end_before_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ref_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ref_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ref_node , & mut __stack ) ; __widl_f_set_end_before_Range ( self_ , ref_node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setEndBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setEndBefore)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn set_end_before ( & self , ref_node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_start_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setStart()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setStart)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn set_start ( & self , ref_node : & Node , offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_start_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ref_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ref_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ref_node , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_set_start_Range ( self_ , ref_node , offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setStart()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setStart)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn set_start ( & self , ref_node : & Node , offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_start_after_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setStartAfter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setStartAfter)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn set_start_after ( & self , ref_node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_start_after_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ref_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ref_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ref_node , & mut __stack ) ; __widl_f_set_start_after_Range ( self_ , ref_node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setStartAfter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setStartAfter)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn set_start_after ( & self , ref_node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_start_before_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setStartBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setStartBefore)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn set_start_before ( & self , ref_node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_start_before_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ref_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ref_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ref_node , & mut __stack ) ; __widl_f_set_start_before_Range ( self_ , ref_node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setStartBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/setStartBefore)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn set_start_before ( & self , ref_node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_surround_contents_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `surroundContents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/surroundContents)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn surround_contents ( & self , new_parent : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_surround_contents_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_parent : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_parent = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_parent , & mut __stack ) ; __widl_f_surround_contents_Range ( self_ , new_parent , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `surroundContents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/surroundContents)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn surround_contents ( & self , new_parent : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_container_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `startContainer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/startContainer)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn start_container ( & self , ) -> Result < Node , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_container_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_container_Range ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `startContainer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/startContainer)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn start_container ( & self , ) -> Result < Node , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_offset_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `startOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/startOffset)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn start_offset ( & self , ) -> Result < u32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_offset_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_offset_Range ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `startOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/startOffset)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn start_offset ( & self , ) -> Result < u32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_end_container_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `endContainer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/endContainer)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn end_container ( & self , ) -> Result < Node , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_end_container_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_end_container_Range ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `endContainer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/endContainer)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn end_container ( & self , ) -> Result < Node , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_end_offset_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `endOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/endOffset)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn end_offset ( & self , ) -> Result < u32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_end_offset_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_end_offset_Range ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `endOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/endOffset)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn end_offset ( & self , ) -> Result < u32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_collapsed_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `collapsed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/collapsed)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn collapsed ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_collapsed_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_collapsed_Range ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `collapsed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/collapsed)\n\n*This API requires the following crate features to be activated: `Range`*" ] pub fn collapsed ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_common_ancestor_container_Range ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Range as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl Range { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `commonAncestorContainer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/commonAncestorContainer)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn common_ancestor_container ( & self , ) -> Result < Node , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_common_ancestor_container_Range ( self_ : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_common_ancestor_container_Range ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `commonAncestorContainer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Range/commonAncestorContainer)\n\n*This API requires the following crate features to be activated: `Node`, `Range`*" ] pub fn common_ancestor_container ( & self , ) -> Result < Node , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Request` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request)\n\n*This API requires the following crate features to be activated: `Request`*" ] # [ repr ( transparent ) ] pub struct Request { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Request : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Request { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Request { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Request { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Request { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Request { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Request { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Request { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Request { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Request { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Request > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Request { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Request { # [ inline ] fn from ( obj : JsValue ) -> Request { Request { obj } } } impl AsRef < JsValue > for Request { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Request > for JsValue { # [ inline ] fn from ( obj : Request ) -> JsValue { obj . obj } } impl JsCast for Request { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Request ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Request ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Request { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Request ) } } } ( ) } ; impl core :: ops :: Deref for Request { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Request > for Object { # [ inline ] fn from ( obj : Request ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Request { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_request_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < Request as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Request(..)` constructor, creating a new instance of `Request`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn new_with_request ( input : & Request ) -> Result < Request , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_request_Request ( input : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Request as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let input = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; __widl_f_new_with_request_Request ( input , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Request as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Request(..)` constructor, creating a new instance of `Request`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn new_with_request ( input : & Request ) -> Result < Request , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_str_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < Request as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Request(..)` constructor, creating a new instance of `Request`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn new_with_str ( input : & str ) -> Result < Request , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_str_Request ( input : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Request as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let input = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; __widl_f_new_with_str_Request ( input , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Request as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Request(..)` constructor, creating a new instance of `Request`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn new_with_str ( input : & str ) -> Result < Request , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_request_and_init_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < & RequestInit as WasmDescribe > :: describe ( ) ; < Request as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Request(..)` constructor, creating a new instance of `Request`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request)\n\n*This API requires the following crate features to be activated: `Request`, `RequestInit`*" ] pub fn new_with_request_and_init ( input : & Request , init : & RequestInit ) -> Result < Request , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_request_and_init_Request ( input : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init : < & RequestInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Request as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let input = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; let init = < & RequestInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_new_with_request_and_init_Request ( input , init , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Request as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Request(..)` constructor, creating a new instance of `Request`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request)\n\n*This API requires the following crate features to be activated: `Request`, `RequestInit`*" ] pub fn new_with_request_and_init ( input : & Request , init : & RequestInit ) -> Result < Request , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_str_and_init_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & RequestInit as WasmDescribe > :: describe ( ) ; < Request as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Request(..)` constructor, creating a new instance of `Request`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request)\n\n*This API requires the following crate features to be activated: `Request`, `RequestInit`*" ] pub fn new_with_str_and_init ( input : & str , init : & RequestInit ) -> Result < Request , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_str_and_init_Request ( input : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init : < & RequestInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Request as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let input = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; let init = < & RequestInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_new_with_str_and_init_Request ( input , init , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Request as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Request(..)` constructor, creating a new instance of `Request`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request)\n\n*This API requires the following crate features to be activated: `Request`, `RequestInit`*" ] pub fn new_with_str_and_init ( input : & str , init : & RequestInit ) -> Result < Request , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clone_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < Request as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clone()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/clone)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn clone ( & self , ) -> Result < Request , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clone_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Request as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clone_Request ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Request as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clone()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/clone)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn clone ( & self , ) -> Result < Request , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_method_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `method` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/method)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn method ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_method_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_method_Request ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `method` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/method)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn method ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_url_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/url)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn url ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_url_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_url_Request ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/url)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn url ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_headers_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < Headers as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `headers` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/headers)\n\n*This API requires the following crate features to be activated: `Headers`, `Request`*" ] pub fn headers ( & self , ) -> Headers { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_headers_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Headers as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_headers_Request ( self_ ) } ; < Headers as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `headers` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/headers)\n\n*This API requires the following crate features to be activated: `Headers`, `Request`*" ] pub fn headers ( & self , ) -> Headers { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_destination_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < RequestDestination as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `destination` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/destination)\n\n*This API requires the following crate features to be activated: `Request`, `RequestDestination`*" ] pub fn destination ( & self , ) -> RequestDestination { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_destination_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RequestDestination as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_destination_Request ( self_ ) } ; < RequestDestination as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `destination` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/destination)\n\n*This API requires the following crate features to be activated: `Request`, `RequestDestination`*" ] pub fn destination ( & self , ) -> RequestDestination { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_referrer_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/referrer)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn referrer ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_referrer_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_referrer_Request ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/referrer)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn referrer ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_referrer_policy_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < ReferrerPolicy as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/referrerPolicy)\n\n*This API requires the following crate features to be activated: `ReferrerPolicy`, `Request`*" ] pub fn referrer_policy ( & self , ) -> ReferrerPolicy { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_referrer_policy_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ReferrerPolicy as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_referrer_policy_Request ( self_ ) } ; < ReferrerPolicy as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/referrerPolicy)\n\n*This API requires the following crate features to be activated: `ReferrerPolicy`, `Request`*" ] pub fn referrer_policy ( & self , ) -> ReferrerPolicy { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mode_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < RequestMode as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/mode)\n\n*This API requires the following crate features to be activated: `Request`, `RequestMode`*" ] pub fn mode ( & self , ) -> RequestMode { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mode_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RequestMode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_mode_Request ( self_ ) } ; < RequestMode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/mode)\n\n*This API requires the following crate features to be activated: `Request`, `RequestMode`*" ] pub fn mode ( & self , ) -> RequestMode { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_credentials_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < RequestCredentials as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `credentials` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials)\n\n*This API requires the following crate features to be activated: `Request`, `RequestCredentials`*" ] pub fn credentials ( & self , ) -> RequestCredentials { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_credentials_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RequestCredentials as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_credentials_Request ( self_ ) } ; < RequestCredentials as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `credentials` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials)\n\n*This API requires the following crate features to be activated: `Request`, `RequestCredentials`*" ] pub fn credentials ( & self , ) -> RequestCredentials { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cache_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < RequestCache as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cache` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/cache)\n\n*This API requires the following crate features to be activated: `Request`, `RequestCache`*" ] pub fn cache ( & self , ) -> RequestCache { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cache_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RequestCache as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cache_Request ( self_ ) } ; < RequestCache as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cache` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/cache)\n\n*This API requires the following crate features to be activated: `Request`, `RequestCache`*" ] pub fn cache ( & self , ) -> RequestCache { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_redirect_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < RequestRedirect as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `redirect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/redirect)\n\n*This API requires the following crate features to be activated: `Request`, `RequestRedirect`*" ] pub fn redirect ( & self , ) -> RequestRedirect { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_redirect_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < RequestRedirect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_redirect_Request ( self_ ) } ; < RequestRedirect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `redirect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/redirect)\n\n*This API requires the following crate features to be activated: `Request`, `RequestRedirect`*" ] pub fn redirect ( & self , ) -> RequestRedirect { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_integrity_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `integrity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/integrity)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn integrity ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_integrity_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_integrity_Request ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `integrity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/integrity)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn integrity ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_signal_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < AbortSignal as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `signal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/signal)\n\n*This API requires the following crate features to be activated: `AbortSignal`, `Request`*" ] pub fn signal ( & self , ) -> AbortSignal { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_signal_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AbortSignal as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_signal_Request ( self_ ) } ; < AbortSignal as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `signal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/signal)\n\n*This API requires the following crate features to be activated: `AbortSignal`, `Request`*" ] pub fn signal ( & self , ) -> AbortSignal { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_array_buffer_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `arrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/arrayBuffer)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn array_buffer ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_array_buffer_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_array_buffer_Request ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `arrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/arrayBuffer)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn array_buffer ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blob_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/blob)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn blob ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blob_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_blob_Request ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/blob)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn blob ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_data_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/formData)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn form_data ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_data_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_data_Request ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/formData)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn form_data ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_json_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `json()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/json)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn json ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_json_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_json_Request ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `json()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/json)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn json ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/text)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn text ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_Request ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/text)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn text ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_body_used_Request ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Request as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Request { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bodyUsed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/bodyUsed)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn body_used ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_body_used_Request ( self_ : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_body_used_Request ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bodyUsed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Request/bodyUsed)\n\n*This API requires the following crate features to be activated: `Request`*" ] pub fn body_used ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Response` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response)\n\n*This API requires the following crate features to be activated: `Response`*" ] # [ repr ( transparent ) ] pub struct Response { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Response : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Response { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Response { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Response { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Response { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Response { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Response { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Response { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Response { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Response { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Response > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Response { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Response { # [ inline ] fn from ( obj : JsValue ) -> Response { Response { obj } } } impl AsRef < JsValue > for Response { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Response > for JsValue { # [ inline ] fn from ( obj : Response ) -> JsValue { obj . obj } } impl JsCast for Response { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Response ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Response ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Response { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Response ) } } } ( ) } ; impl core :: ops :: Deref for Response { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Response > for Object { # [ inline ] fn from ( obj : Response ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Response { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn new ( ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Response ( exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_Response ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn new ( ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_blob_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < Option < & Blob > as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Blob`, `Response`*" ] pub fn new_with_opt_blob ( body : Option < & Blob > ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_blob_Response ( body : < Option < & Blob > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let body = < Option < & Blob > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_new_with_opt_blob_Response ( body , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Blob`, `Response`*" ] pub fn new_with_opt_blob ( body : Option < & Blob > ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_buffer_source_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn new_with_opt_buffer_source ( body : Option < & :: js_sys :: Object > ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_buffer_source_Response ( body : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let body = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_new_with_opt_buffer_source_Response ( body , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn new_with_opt_buffer_source ( body : Option < & :: js_sys :: Object > ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_u8_array_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < Option < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn new_with_opt_u8_array ( body : Option < & mut [ u8 ] > ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_u8_array_Response ( body : < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let body = < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_new_with_opt_u8_array_Response ( body , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn new_with_opt_u8_array ( body : Option < & mut [ u8 ] > ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_form_data_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < Option < & FormData > as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `FormData`, `Response`*" ] pub fn new_with_opt_form_data ( body : Option < & FormData > ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_form_data_Response ( body : < Option < & FormData > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let body = < Option < & FormData > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_new_with_opt_form_data_Response ( body , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `FormData`, `Response`*" ] pub fn new_with_opt_form_data ( body : Option < & FormData > ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_url_search_params_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < Option < & UrlSearchParams > as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`, `UrlSearchParams`*" ] pub fn new_with_opt_url_search_params ( body : Option < & UrlSearchParams > ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_url_search_params_Response ( body : < Option < & UrlSearchParams > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let body = < Option < & UrlSearchParams > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_new_with_opt_url_search_params_Response ( body , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`, `UrlSearchParams`*" ] pub fn new_with_opt_url_search_params ( body : Option < & UrlSearchParams > ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_str_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn new_with_opt_str ( body : Option < & str > ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_str_Response ( body : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let body = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_new_with_opt_str_Response ( body , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn new_with_opt_str ( body : Option < & str > ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_blob_and_init_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < Option < & Blob > as WasmDescribe > :: describe ( ) ; < & ResponseInit as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Blob`, `Response`, `ResponseInit`*" ] pub fn new_with_opt_blob_and_init ( body : Option < & Blob > , init : & ResponseInit ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_blob_and_init_Response ( body : < Option < & Blob > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init : < & ResponseInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let body = < Option < & Blob > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; let init = < & ResponseInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_new_with_opt_blob_and_init_Response ( body , init , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Blob`, `Response`, `ResponseInit`*" ] pub fn new_with_opt_blob_and_init ( body : Option < & Blob > , init : & ResponseInit ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_buffer_source_and_init_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < & ResponseInit as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`, `ResponseInit`*" ] pub fn new_with_opt_buffer_source_and_init ( body : Option < & :: js_sys :: Object > , init : & ResponseInit ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_buffer_source_and_init_Response ( body : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init : < & ResponseInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let body = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; let init = < & ResponseInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_new_with_opt_buffer_source_and_init_Response ( body , init , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`, `ResponseInit`*" ] pub fn new_with_opt_buffer_source_and_init ( body : Option < & :: js_sys :: Object > , init : & ResponseInit ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_u8_array_and_init_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < Option < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < & ResponseInit as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`, `ResponseInit`*" ] pub fn new_with_opt_u8_array_and_init ( body : Option < & mut [ u8 ] > , init : & ResponseInit ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_u8_array_and_init_Response ( body : < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init : < & ResponseInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let body = < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; let init = < & ResponseInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_new_with_opt_u8_array_and_init_Response ( body , init , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`, `ResponseInit`*" ] pub fn new_with_opt_u8_array_and_init ( body : Option < & mut [ u8 ] > , init : & ResponseInit ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_form_data_and_init_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < Option < & FormData > as WasmDescribe > :: describe ( ) ; < & ResponseInit as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `FormData`, `Response`, `ResponseInit`*" ] pub fn new_with_opt_form_data_and_init ( body : Option < & FormData > , init : & ResponseInit ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_form_data_and_init_Response ( body : < Option < & FormData > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init : < & ResponseInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let body = < Option < & FormData > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; let init = < & ResponseInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_new_with_opt_form_data_and_init_Response ( body , init , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `FormData`, `Response`, `ResponseInit`*" ] pub fn new_with_opt_form_data_and_init ( body : Option < & FormData > , init : & ResponseInit ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_url_search_params_and_init_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < Option < & UrlSearchParams > as WasmDescribe > :: describe ( ) ; < & ResponseInit as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`, `ResponseInit`, `UrlSearchParams`*" ] pub fn new_with_opt_url_search_params_and_init ( body : Option < & UrlSearchParams > , init : & ResponseInit ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_url_search_params_and_init_Response ( body : < Option < & UrlSearchParams > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init : < & ResponseInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let body = < Option < & UrlSearchParams > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; let init = < & ResponseInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_new_with_opt_url_search_params_and_init_Response ( body , init , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`, `ResponseInit`, `UrlSearchParams`*" ] pub fn new_with_opt_url_search_params_and_init ( body : Option < & UrlSearchParams > , init : & ResponseInit ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_opt_str_and_init_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & ResponseInit as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`, `ResponseInit`*" ] pub fn new_with_opt_str_and_init ( body : Option < & str > , init : & ResponseInit ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_opt_str_and_init_Response ( body : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init : < & ResponseInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let body = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; let init = < & ResponseInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_new_with_opt_str_and_init_Response ( body , init , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Response(..)` constructor, creating a new instance of `Response`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response)\n\n*This API requires the following crate features to be activated: `Response`, `ResponseInit`*" ] pub fn new_with_opt_str_and_init ( body : Option < & str > , init : & ResponseInit ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clone_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clone()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/clone)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn clone ( & self , ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clone_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clone_Response ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clone()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/clone)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn clone ( & self , ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `error()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/error)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn error ( ) -> Response { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_Response ( ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_error_Response ( ) } ; < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `error()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/error)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn error ( ) -> Response { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_redirect_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `redirect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/redirect)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn redirect ( url : & str ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_redirect_Response ( url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_redirect_Response ( url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `redirect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/redirect)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn redirect ( url : & str ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_redirect_with_status_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < Response as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `redirect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/redirect)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn redirect_with_status ( url : & str , status : u16 ) -> Result < Response , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_redirect_with_status_Response ( url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , status : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let status = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( status , & mut __stack ) ; __widl_f_redirect_with_status_Response ( url , status , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Response as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `redirect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/redirect)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn redirect_with_status ( url : & str , status : u16 ) -> Result < Response , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < ResponseType as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/type)\n\n*This API requires the following crate features to be activated: `Response`, `ResponseType`*" ] pub fn type_ ( & self , ) -> ResponseType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ResponseType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_Response ( self_ ) } ; < ResponseType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/type)\n\n*This API requires the following crate features to be activated: `Response`, `ResponseType`*" ] pub fn type_ ( & self , ) -> ResponseType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_url_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/url)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn url ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_url_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_url_Response ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/url)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn url ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_redirected_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `redirected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/redirected)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn redirected ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_redirected_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_redirected_Response ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `redirected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/redirected)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn redirected ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_status_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `status` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/status)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn status ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_status_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_status_Response ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `status` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/status)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn status ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ok_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ok` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/ok)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn ok ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ok_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ok_Response ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ok` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/ok)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn ok ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_status_text_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `statusText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/statusText)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn status_text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_status_text_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_status_text_Response ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `statusText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/statusText)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn status_text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_headers_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < Headers as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `headers` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/headers)\n\n*This API requires the following crate features to be activated: `Headers`, `Response`*" ] pub fn headers ( & self , ) -> Headers { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_headers_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Headers as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_headers_Response ( self_ ) } ; < Headers as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `headers` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/headers)\n\n*This API requires the following crate features to be activated: `Headers`, `Response`*" ] pub fn headers ( & self , ) -> Headers { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_array_buffer_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `arrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/arrayBuffer)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn array_buffer ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_array_buffer_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_array_buffer_Response ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `arrayBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/arrayBuffer)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn array_buffer ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blob_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/blob)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn blob ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blob_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_blob_Response ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/blob)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn blob ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_form_data_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `formData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/formData)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn form_data ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_form_data_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_form_data_Response ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `formData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/formData)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn form_data ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_json_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `json()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/json)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn json ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_json_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_json_Response ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `json()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/json)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn json ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/text)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn text ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_Response ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/text)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn text ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_body_used_Response ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Response as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Response { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bodyUsed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/bodyUsed)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn body_used ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_body_used_Response ( self_ : < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Response as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_body_used_Response ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bodyUsed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Response/bodyUsed)\n\n*This API requires the following crate features to be activated: `Response`*" ] pub fn body_used ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] # [ repr ( transparent ) ] pub struct SvgaElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgaElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgaElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgaElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgaElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgaElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgaElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgaElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgaElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgaElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgaElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgaElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgaElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgaElement { # [ inline ] fn from ( obj : JsValue ) -> SvgaElement { SvgaElement { obj } } } impl AsRef < JsValue > for SvgaElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgaElement > for JsValue { # [ inline ] fn from ( obj : SvgaElement ) -> JsValue { obj . obj } } impl JsCast for SvgaElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgaElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgaElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgaElement { type Target = SvgGraphicsElement ; # [ inline ] fn deref ( & self ) -> & SvgGraphicsElement { self . as_ref ( ) } } impl From < SvgaElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgaElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgaElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgaElement > for SvgElement { # [ inline ] fn from ( obj : SvgaElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgaElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgaElement > for Element { # [ inline ] fn from ( obj : SvgaElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgaElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgaElement > for Node { # [ inline ] fn from ( obj : SvgaElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgaElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgaElement > for EventTarget { # [ inline ] fn from ( obj : SvgaElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgaElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgaElement > for Object { # [ inline ] fn from ( obj : SvgaElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgaElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/target)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgaElement`*" ] pub fn target ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_SVGAElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/target)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgaElement`*" ] pub fn target ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_download_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `download` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/download)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn download ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_download_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_download_SVGAElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `download` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/download)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn download ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_download_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `download` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/download)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_download ( & self , download : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_download_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , download : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let download = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( download , & mut __stack ) ; __widl_f_set_download_SVGAElement ( self_ , download ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `download` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/download)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_download ( & self , download : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ping_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/ping)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn ping ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ping_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ping_SVGAElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/ping)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn ping ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ping_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ping` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/ping)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_ping ( & self , ping : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ping_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ping : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ping = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ping , & mut __stack ) ; __widl_f_set_ping_SVGAElement ( self_ , ping ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ping` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/ping)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_ping ( & self , ping : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rel_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/rel)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn rel ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rel_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rel_SVGAElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/rel)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn rel ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_rel_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/rel)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_rel ( & self , rel : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_rel_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rel : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rel = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rel , & mut __stack ) ; __widl_f_set_rel_SVGAElement ( self_ , rel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/rel)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_rel ( & self , rel : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_referrer_policy_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn referrer_policy ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_referrer_policy_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_referrer_policy_SVGAElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrerPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn referrer_policy ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_referrer_policy_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrerPolicy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_referrer_policy ( & self , referrer_policy : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_referrer_policy_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , referrer_policy : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let referrer_policy = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( referrer_policy , & mut __stack ) ; __widl_f_set_referrer_policy_SVGAElement ( self_ , referrer_policy ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrerPolicy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/referrerPolicy)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_referrer_policy ( & self , referrer_policy : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rel_list_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < DomTokenList as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `relList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/relList)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `SvgaElement`*" ] pub fn rel_list ( & self , ) -> DomTokenList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rel_list_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rel_list_SVGAElement ( self_ ) } ; < DomTokenList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `relList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/relList)\n\n*This API requires the following crate features to be activated: `DomTokenList`, `SvgaElement`*" ] pub fn rel_list ( & self , ) -> DomTokenList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hreflang_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hreflang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/hreflang)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn hreflang ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hreflang_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hreflang_SVGAElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hreflang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/hreflang)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn hreflang ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_hreflang_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hreflang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/hreflang)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_hreflang ( & self , hreflang : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_hreflang_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , hreflang : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let hreflang = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( hreflang , & mut __stack ) ; __widl_f_set_hreflang_SVGAElement ( self_ , hreflang ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hreflang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/hreflang)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_hreflang ( & self , hreflang : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/type)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_SVGAElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/type)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/type)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_SVGAElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/type)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/text)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn text ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_SVGAElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/text)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn text ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_text_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/text)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_text ( & self , text : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_text_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_set_text_SVGAElement ( self_ , text , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/text)\n\n*This API requires the following crate features to be activated: `SvgaElement`*" ] pub fn set_text ( & self , text : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_SVGAElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgaElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgaElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgaElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_SVGAElement ( self_ : < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgaElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_SVGAElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgaElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAngle` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] # [ repr ( transparent ) ] pub struct SvgAngle { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAngle : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAngle { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAngle { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAngle { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAngle { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAngle { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAngle { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAngle { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAngle { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAngle { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAngle > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAngle { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAngle { # [ inline ] fn from ( obj : JsValue ) -> SvgAngle { SvgAngle { obj } } } impl AsRef < JsValue > for SvgAngle { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAngle > for JsValue { # [ inline ] fn from ( obj : SvgAngle ) -> JsValue { obj . obj } } impl JsCast for SvgAngle { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAngle ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAngle ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAngle { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAngle ) } } } ( ) } ; impl core :: ops :: Deref for SvgAngle { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgAngle > for Object { # [ inline ] fn from ( obj : SvgAngle ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAngle { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_to_specified_units_SVGAngle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgAngle as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAngle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertToSpecifiedUnits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/convertToSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn convert_to_specified_units ( & self , unit_type : u16 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_to_specified_units_SVGAngle ( self_ : < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unit_type : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let unit_type = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unit_type , & mut __stack ) ; __widl_f_convert_to_specified_units_SVGAngle ( self_ , unit_type , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertToSpecifiedUnits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/convertToSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn convert_to_specified_units ( & self , unit_type : u16 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_value_specified_units_SVGAngle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgAngle as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAngle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `newValueSpecifiedUnits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/newValueSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn new_value_specified_units ( & self , unit_type : u16 , value_in_specified_units : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_value_specified_units_SVGAngle ( self_ : < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unit_type : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value_in_specified_units : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let unit_type = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unit_type , & mut __stack ) ; let value_in_specified_units = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value_in_specified_units , & mut __stack ) ; __widl_f_new_value_specified_units_SVGAngle ( self_ , unit_type , value_in_specified_units , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `newValueSpecifiedUnits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/newValueSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn new_value_specified_units ( & self , unit_type : u16 , value_in_specified_units : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unit_type_SVGAngle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAngle as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl SvgAngle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unitType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/unitType)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn unit_type ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unit_type_SVGAngle ( self_ : < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unit_type_SVGAngle ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unitType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/unitType)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn unit_type ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_SVGAngle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAngle as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgAngle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/value)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn value ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_SVGAngle ( self_ : < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_SVGAngle ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/value)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn value ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_SVGAngle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgAngle as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAngle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/value)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn set_value ( & self , value : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_SVGAngle ( self_ : < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_SVGAngle ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/value)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn set_value ( & self , value : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_in_specified_units_SVGAngle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAngle as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgAngle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueInSpecifiedUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueInSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn value_in_specified_units ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_in_specified_units_SVGAngle ( self_ : < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_in_specified_units_SVGAngle ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueInSpecifiedUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueInSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn value_in_specified_units ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_in_specified_units_SVGAngle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgAngle as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAngle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueInSpecifiedUnits` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueInSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn set_value_in_specified_units ( & self , value_in_specified_units : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_in_specified_units_SVGAngle ( self_ : < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value_in_specified_units : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value_in_specified_units = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value_in_specified_units , & mut __stack ) ; __widl_f_set_value_in_specified_units_SVGAngle ( self_ , value_in_specified_units ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueInSpecifiedUnits` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueInSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn set_value_in_specified_units ( & self , value_in_specified_units : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_as_string_SVGAngle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAngle as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgAngle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueAsString` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueAsString)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn value_as_string ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_as_string_SVGAngle ( self_ : < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_as_string_SVGAngle ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueAsString` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueAsString)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn value_as_string ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_as_string_SVGAngle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgAngle as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAngle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueAsString` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueAsString)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn set_value_as_string ( & self , value_as_string : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_as_string_SVGAngle ( self_ : < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value_as_string : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value_as_string = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value_as_string , & mut __stack ) ; __widl_f_set_value_as_string_SVGAngle ( self_ , value_as_string ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueAsString` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueAsString)\n\n*This API requires the following crate features to be activated: `SvgAngle`*" ] pub fn set_value_as_string ( & self , value_as_string : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimateElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateElement)\n\n*This API requires the following crate features to be activated: `SvgAnimateElement`*" ] # [ repr ( transparent ) ] pub struct SvgAnimateElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimateElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimateElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimateElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimateElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimateElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimateElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimateElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimateElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimateElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimateElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimateElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimateElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimateElement { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimateElement { SvgAnimateElement { obj } } } impl AsRef < JsValue > for SvgAnimateElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimateElement > for JsValue { # [ inline ] fn from ( obj : SvgAnimateElement ) -> JsValue { obj . obj } } impl JsCast for SvgAnimateElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimateElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimateElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimateElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimateElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimateElement { type Target = SvgAnimationElement ; # [ inline ] fn deref ( & self ) -> & SvgAnimationElement { self . as_ref ( ) } } impl From < SvgAnimateElement > for SvgAnimationElement { # [ inline ] fn from ( obj : SvgAnimateElement ) -> SvgAnimationElement { use wasm_bindgen :: JsCast ; SvgAnimationElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgAnimationElement > for SvgAnimateElement { # [ inline ] fn as_ref ( & self ) -> & SvgAnimationElement { use wasm_bindgen :: JsCast ; SvgAnimationElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateElement > for SvgElement { # [ inline ] fn from ( obj : SvgAnimateElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgAnimateElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateElement > for Element { # [ inline ] fn from ( obj : SvgAnimateElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgAnimateElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateElement > for Node { # [ inline ] fn from ( obj : SvgAnimateElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgAnimateElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateElement > for EventTarget { # [ inline ] fn from ( obj : SvgAnimateElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgAnimateElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateElement > for Object { # [ inline ] fn from ( obj : SvgAnimateElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimateElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimateMotionElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateMotionElement)\n\n*This API requires the following crate features to be activated: `SvgAnimateMotionElement`*" ] # [ repr ( transparent ) ] pub struct SvgAnimateMotionElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimateMotionElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimateMotionElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimateMotionElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimateMotionElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimateMotionElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimateMotionElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimateMotionElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimateMotionElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimateMotionElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimateMotionElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimateMotionElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimateMotionElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimateMotionElement { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimateMotionElement { SvgAnimateMotionElement { obj } } } impl AsRef < JsValue > for SvgAnimateMotionElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimateMotionElement > for JsValue { # [ inline ] fn from ( obj : SvgAnimateMotionElement ) -> JsValue { obj . obj } } impl JsCast for SvgAnimateMotionElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimateMotionElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimateMotionElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimateMotionElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimateMotionElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimateMotionElement { type Target = SvgAnimationElement ; # [ inline ] fn deref ( & self ) -> & SvgAnimationElement { self . as_ref ( ) } } impl From < SvgAnimateMotionElement > for SvgAnimationElement { # [ inline ] fn from ( obj : SvgAnimateMotionElement ) -> SvgAnimationElement { use wasm_bindgen :: JsCast ; SvgAnimationElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgAnimationElement > for SvgAnimateMotionElement { # [ inline ] fn as_ref ( & self ) -> & SvgAnimationElement { use wasm_bindgen :: JsCast ; SvgAnimationElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateMotionElement > for SvgElement { # [ inline ] fn from ( obj : SvgAnimateMotionElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgAnimateMotionElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateMotionElement > for Element { # [ inline ] fn from ( obj : SvgAnimateMotionElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgAnimateMotionElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateMotionElement > for Node { # [ inline ] fn from ( obj : SvgAnimateMotionElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgAnimateMotionElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateMotionElement > for EventTarget { # [ inline ] fn from ( obj : SvgAnimateMotionElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgAnimateMotionElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateMotionElement > for Object { # [ inline ] fn from ( obj : SvgAnimateMotionElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimateMotionElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimateTransformElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateTransformElement)\n\n*This API requires the following crate features to be activated: `SvgAnimateTransformElement`*" ] # [ repr ( transparent ) ] pub struct SvgAnimateTransformElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimateTransformElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimateTransformElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimateTransformElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimateTransformElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimateTransformElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimateTransformElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimateTransformElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimateTransformElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimateTransformElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimateTransformElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimateTransformElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimateTransformElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimateTransformElement { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimateTransformElement { SvgAnimateTransformElement { obj } } } impl AsRef < JsValue > for SvgAnimateTransformElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimateTransformElement > for JsValue { # [ inline ] fn from ( obj : SvgAnimateTransformElement ) -> JsValue { obj . obj } } impl JsCast for SvgAnimateTransformElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimateTransformElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimateTransformElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimateTransformElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimateTransformElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimateTransformElement { type Target = SvgAnimationElement ; # [ inline ] fn deref ( & self ) -> & SvgAnimationElement { self . as_ref ( ) } } impl From < SvgAnimateTransformElement > for SvgAnimationElement { # [ inline ] fn from ( obj : SvgAnimateTransformElement ) -> SvgAnimationElement { use wasm_bindgen :: JsCast ; SvgAnimationElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgAnimationElement > for SvgAnimateTransformElement { # [ inline ] fn as_ref ( & self ) -> & SvgAnimationElement { use wasm_bindgen :: JsCast ; SvgAnimationElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateTransformElement > for SvgElement { # [ inline ] fn from ( obj : SvgAnimateTransformElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgAnimateTransformElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateTransformElement > for Element { # [ inline ] fn from ( obj : SvgAnimateTransformElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgAnimateTransformElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateTransformElement > for Node { # [ inline ] fn from ( obj : SvgAnimateTransformElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgAnimateTransformElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateTransformElement > for EventTarget { # [ inline ] fn from ( obj : SvgAnimateTransformElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgAnimateTransformElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimateTransformElement > for Object { # [ inline ] fn from ( obj : SvgAnimateTransformElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimateTransformElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimatedAngle` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedAngle)\n\n*This API requires the following crate features to be activated: `SvgAnimatedAngle`*" ] # [ repr ( transparent ) ] pub struct SvgAnimatedAngle { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimatedAngle : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimatedAngle { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimatedAngle { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimatedAngle { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimatedAngle { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimatedAngle { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimatedAngle { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimatedAngle { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimatedAngle { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimatedAngle { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimatedAngle > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimatedAngle { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimatedAngle { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimatedAngle { SvgAnimatedAngle { obj } } } impl AsRef < JsValue > for SvgAnimatedAngle { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimatedAngle > for JsValue { # [ inline ] fn from ( obj : SvgAnimatedAngle ) -> JsValue { obj . obj } } impl JsCast for SvgAnimatedAngle { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimatedAngle ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimatedAngle ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimatedAngle { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimatedAngle ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimatedAngle { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgAnimatedAngle > for Object { # [ inline ] fn from ( obj : SvgAnimatedAngle ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimatedAngle { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_val_SVGAnimatedAngle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedAngle as WasmDescribe > :: describe ( ) ; < SvgAngle as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedAngle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedAngle/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAngle`, `SvgAnimatedAngle`*" ] pub fn base_val ( & self , ) -> SvgAngle { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_val_SVGAnimatedAngle ( self_ : < & SvgAnimatedAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAngle as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_val_SVGAnimatedAngle ( self_ ) } ; < SvgAngle as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedAngle/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAngle`, `SvgAnimatedAngle`*" ] pub fn base_val ( & self , ) -> SvgAngle { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anim_val_SVGAnimatedAngle ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedAngle as WasmDescribe > :: describe ( ) ; < SvgAngle as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedAngle { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedAngle/animVal)\n\n*This API requires the following crate features to be activated: `SvgAngle`, `SvgAnimatedAngle`*" ] pub fn anim_val ( & self , ) -> SvgAngle { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anim_val_SVGAnimatedAngle ( self_ : < & SvgAnimatedAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAngle as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anim_val_SVGAnimatedAngle ( self_ ) } ; < SvgAngle as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedAngle/animVal)\n\n*This API requires the following crate features to be activated: `SvgAngle`, `SvgAnimatedAngle`*" ] pub fn anim_val ( & self , ) -> SvgAngle { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimatedBoolean` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedBoolean)\n\n*This API requires the following crate features to be activated: `SvgAnimatedBoolean`*" ] # [ repr ( transparent ) ] pub struct SvgAnimatedBoolean { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimatedBoolean : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimatedBoolean { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimatedBoolean { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimatedBoolean { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimatedBoolean { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimatedBoolean { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimatedBoolean { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimatedBoolean { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimatedBoolean { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimatedBoolean { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimatedBoolean > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimatedBoolean { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimatedBoolean { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimatedBoolean { SvgAnimatedBoolean { obj } } } impl AsRef < JsValue > for SvgAnimatedBoolean { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimatedBoolean > for JsValue { # [ inline ] fn from ( obj : SvgAnimatedBoolean ) -> JsValue { obj . obj } } impl JsCast for SvgAnimatedBoolean { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimatedBoolean ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimatedBoolean ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimatedBoolean { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimatedBoolean ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimatedBoolean { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgAnimatedBoolean > for Object { # [ inline ] fn from ( obj : SvgAnimatedBoolean ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimatedBoolean { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_val_SVGAnimatedBoolean ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedBoolean as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedBoolean { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedBoolean/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedBoolean`*" ] pub fn base_val ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_val_SVGAnimatedBoolean ( self_ : < & SvgAnimatedBoolean as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedBoolean as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_val_SVGAnimatedBoolean ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedBoolean/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedBoolean`*" ] pub fn base_val ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_base_val_SVGAnimatedBoolean ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgAnimatedBoolean as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedBoolean { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedBoolean/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedBoolean`*" ] pub fn set_base_val ( & self , base_val : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_base_val_SVGAnimatedBoolean ( self_ : < & SvgAnimatedBoolean as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , base_val : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedBoolean as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let base_val = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( base_val , & mut __stack ) ; __widl_f_set_base_val_SVGAnimatedBoolean ( self_ , base_val ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedBoolean/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedBoolean`*" ] pub fn set_base_val ( & self , base_val : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anim_val_SVGAnimatedBoolean ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedBoolean as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedBoolean { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedBoolean/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedBoolean`*" ] pub fn anim_val ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anim_val_SVGAnimatedBoolean ( self_ : < & SvgAnimatedBoolean as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedBoolean as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anim_val_SVGAnimatedBoolean ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedBoolean/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedBoolean`*" ] pub fn anim_val ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimatedEnumeration` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedEnumeration)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`*" ] # [ repr ( transparent ) ] pub struct SvgAnimatedEnumeration { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimatedEnumeration : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimatedEnumeration { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimatedEnumeration { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimatedEnumeration { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimatedEnumeration { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimatedEnumeration { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimatedEnumeration { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimatedEnumeration { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimatedEnumeration { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimatedEnumeration { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimatedEnumeration > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimatedEnumeration { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimatedEnumeration { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimatedEnumeration { SvgAnimatedEnumeration { obj } } } impl AsRef < JsValue > for SvgAnimatedEnumeration { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimatedEnumeration > for JsValue { # [ inline ] fn from ( obj : SvgAnimatedEnumeration ) -> JsValue { obj . obj } } impl JsCast for SvgAnimatedEnumeration { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimatedEnumeration ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimatedEnumeration ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimatedEnumeration { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimatedEnumeration ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimatedEnumeration { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgAnimatedEnumeration > for Object { # [ inline ] fn from ( obj : SvgAnimatedEnumeration ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimatedEnumeration { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_val_SVGAnimatedEnumeration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedEnumeration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedEnumeration/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`*" ] pub fn base_val ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_val_SVGAnimatedEnumeration ( self_ : < & SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_val_SVGAnimatedEnumeration ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedEnumeration/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`*" ] pub fn base_val ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_base_val_SVGAnimatedEnumeration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedEnumeration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedEnumeration/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`*" ] pub fn set_base_val ( & self , base_val : u16 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_base_val_SVGAnimatedEnumeration ( self_ : < & SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , base_val : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let base_val = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( base_val , & mut __stack ) ; __widl_f_set_base_val_SVGAnimatedEnumeration ( self_ , base_val ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedEnumeration/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`*" ] pub fn set_base_val ( & self , base_val : u16 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anim_val_SVGAnimatedEnumeration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedEnumeration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedEnumeration/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`*" ] pub fn anim_val ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anim_val_SVGAnimatedEnumeration ( self_ : < & SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anim_val_SVGAnimatedEnumeration ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedEnumeration/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`*" ] pub fn anim_val ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimatedInteger` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedInteger)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`*" ] # [ repr ( transparent ) ] pub struct SvgAnimatedInteger { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimatedInteger : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimatedInteger { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimatedInteger { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimatedInteger { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimatedInteger { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimatedInteger { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimatedInteger { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimatedInteger { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimatedInteger { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimatedInteger { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimatedInteger > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimatedInteger { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimatedInteger { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimatedInteger { SvgAnimatedInteger { obj } } } impl AsRef < JsValue > for SvgAnimatedInteger { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimatedInteger > for JsValue { # [ inline ] fn from ( obj : SvgAnimatedInteger ) -> JsValue { obj . obj } } impl JsCast for SvgAnimatedInteger { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimatedInteger ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimatedInteger ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimatedInteger { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimatedInteger ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimatedInteger { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgAnimatedInteger > for Object { # [ inline ] fn from ( obj : SvgAnimatedInteger ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimatedInteger { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_val_SVGAnimatedInteger ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedInteger as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedInteger { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedInteger/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`*" ] pub fn base_val ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_val_SVGAnimatedInteger ( self_ : < & SvgAnimatedInteger as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedInteger as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_val_SVGAnimatedInteger ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedInteger/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`*" ] pub fn base_val ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_base_val_SVGAnimatedInteger ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgAnimatedInteger as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedInteger { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedInteger/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`*" ] pub fn set_base_val ( & self , base_val : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_base_val_SVGAnimatedInteger ( self_ : < & SvgAnimatedInteger as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , base_val : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedInteger as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let base_val = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( base_val , & mut __stack ) ; __widl_f_set_base_val_SVGAnimatedInteger ( self_ , base_val ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedInteger/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`*" ] pub fn set_base_val ( & self , base_val : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anim_val_SVGAnimatedInteger ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedInteger as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedInteger { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedInteger/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`*" ] pub fn anim_val ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anim_val_SVGAnimatedInteger ( self_ : < & SvgAnimatedInteger as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedInteger as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anim_val_SVGAnimatedInteger ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedInteger/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`*" ] pub fn anim_val ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimatedLength` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLength)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`*" ] # [ repr ( transparent ) ] pub struct SvgAnimatedLength { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimatedLength : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimatedLength { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimatedLength { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimatedLength { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimatedLength { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimatedLength { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimatedLength { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimatedLength { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimatedLength { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimatedLength { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimatedLength > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimatedLength { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimatedLength { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimatedLength { SvgAnimatedLength { obj } } } impl AsRef < JsValue > for SvgAnimatedLength { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimatedLength > for JsValue { # [ inline ] fn from ( obj : SvgAnimatedLength ) -> JsValue { obj . obj } } impl JsCast for SvgAnimatedLength { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimatedLength ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimatedLength ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimatedLength { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimatedLength ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimatedLength { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgAnimatedLength > for Object { # [ inline ] fn from ( obj : SvgAnimatedLength ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimatedLength { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_val_SVGAnimatedLength ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedLength as WasmDescribe > :: describe ( ) ; < SvgLength as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedLength { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLength/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLength`*" ] pub fn base_val ( & self , ) -> SvgLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_val_SVGAnimatedLength ( self_ : < & SvgAnimatedLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_val_SVGAnimatedLength ( self_ ) } ; < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLength/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLength`*" ] pub fn base_val ( & self , ) -> SvgLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anim_val_SVGAnimatedLength ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedLength as WasmDescribe > :: describe ( ) ; < SvgLength as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedLength { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLength/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLength`*" ] pub fn anim_val ( & self , ) -> SvgLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anim_val_SVGAnimatedLength ( self_ : < & SvgAnimatedLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anim_val_SVGAnimatedLength ( self_ ) } ; < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLength/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLength`*" ] pub fn anim_val ( & self , ) -> SvgLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimatedLengthList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLengthList)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLengthList`*" ] # [ repr ( transparent ) ] pub struct SvgAnimatedLengthList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimatedLengthList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimatedLengthList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimatedLengthList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimatedLengthList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimatedLengthList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimatedLengthList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimatedLengthList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimatedLengthList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimatedLengthList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimatedLengthList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimatedLengthList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimatedLengthList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimatedLengthList { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimatedLengthList { SvgAnimatedLengthList { obj } } } impl AsRef < JsValue > for SvgAnimatedLengthList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimatedLengthList > for JsValue { # [ inline ] fn from ( obj : SvgAnimatedLengthList ) -> JsValue { obj . obj } } impl JsCast for SvgAnimatedLengthList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimatedLengthList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimatedLengthList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimatedLengthList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimatedLengthList ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimatedLengthList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgAnimatedLengthList > for Object { # [ inline ] fn from ( obj : SvgAnimatedLengthList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimatedLengthList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_val_SVGAnimatedLengthList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedLengthList as WasmDescribe > :: describe ( ) ; < SvgLengthList as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedLengthList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLengthList/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgLengthList`*" ] pub fn base_val ( & self , ) -> SvgLengthList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_val_SVGAnimatedLengthList ( self_ : < & SvgAnimatedLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgLengthList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_val_SVGAnimatedLengthList ( self_ ) } ; < SvgLengthList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLengthList/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgLengthList`*" ] pub fn base_val ( & self , ) -> SvgLengthList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anim_val_SVGAnimatedLengthList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedLengthList as WasmDescribe > :: describe ( ) ; < SvgLengthList as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedLengthList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLengthList/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgLengthList`*" ] pub fn anim_val ( & self , ) -> SvgLengthList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anim_val_SVGAnimatedLengthList ( self_ : < & SvgAnimatedLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgLengthList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anim_val_SVGAnimatedLengthList ( self_ ) } ; < SvgLengthList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLengthList/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgLengthList`*" ] pub fn anim_val ( & self , ) -> SvgLengthList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimatedNumber` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`*" ] # [ repr ( transparent ) ] pub struct SvgAnimatedNumber { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimatedNumber : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimatedNumber { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimatedNumber { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimatedNumber { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimatedNumber { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimatedNumber { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimatedNumber { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimatedNumber { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimatedNumber { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimatedNumber { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimatedNumber > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimatedNumber { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimatedNumber { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimatedNumber { SvgAnimatedNumber { obj } } } impl AsRef < JsValue > for SvgAnimatedNumber { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimatedNumber > for JsValue { # [ inline ] fn from ( obj : SvgAnimatedNumber ) -> JsValue { obj . obj } } impl JsCast for SvgAnimatedNumber { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimatedNumber ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimatedNumber ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimatedNumber { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimatedNumber ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimatedNumber { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgAnimatedNumber > for Object { # [ inline ] fn from ( obj : SvgAnimatedNumber ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimatedNumber { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_val_SVGAnimatedNumber ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedNumber { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`*" ] pub fn base_val ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_val_SVGAnimatedNumber ( self_ : < & SvgAnimatedNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_val_SVGAnimatedNumber ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`*" ] pub fn base_val ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_base_val_SVGAnimatedNumber ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedNumber { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`*" ] pub fn set_base_val ( & self , base_val : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_base_val_SVGAnimatedNumber ( self_ : < & SvgAnimatedNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , base_val : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let base_val = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( base_val , & mut __stack ) ; __widl_f_set_base_val_SVGAnimatedNumber ( self_ , base_val ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`*" ] pub fn set_base_val ( & self , base_val : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anim_val_SVGAnimatedNumber ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedNumber { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`*" ] pub fn anim_val ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anim_val_SVGAnimatedNumber ( self_ : < & SvgAnimatedNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anim_val_SVGAnimatedNumber ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`*" ] pub fn anim_val ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimatedNumberList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumberList)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumberList`*" ] # [ repr ( transparent ) ] pub struct SvgAnimatedNumberList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimatedNumberList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimatedNumberList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimatedNumberList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimatedNumberList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimatedNumberList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimatedNumberList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimatedNumberList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimatedNumberList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimatedNumberList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimatedNumberList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimatedNumberList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimatedNumberList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimatedNumberList { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimatedNumberList { SvgAnimatedNumberList { obj } } } impl AsRef < JsValue > for SvgAnimatedNumberList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimatedNumberList > for JsValue { # [ inline ] fn from ( obj : SvgAnimatedNumberList ) -> JsValue { obj . obj } } impl JsCast for SvgAnimatedNumberList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimatedNumberList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimatedNumberList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimatedNumberList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimatedNumberList ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimatedNumberList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgAnimatedNumberList > for Object { # [ inline ] fn from ( obj : SvgAnimatedNumberList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimatedNumberList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_val_SVGAnimatedNumberList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedNumberList as WasmDescribe > :: describe ( ) ; < SvgNumberList as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedNumberList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumberList/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgNumberList`*" ] pub fn base_val ( & self , ) -> SvgNumberList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_val_SVGAnimatedNumberList ( self_ : < & SvgAnimatedNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgNumberList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_val_SVGAnimatedNumberList ( self_ ) } ; < SvgNumberList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumberList/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgNumberList`*" ] pub fn base_val ( & self , ) -> SvgNumberList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anim_val_SVGAnimatedNumberList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedNumberList as WasmDescribe > :: describe ( ) ; < SvgNumberList as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedNumberList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumberList/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgNumberList`*" ] pub fn anim_val ( & self , ) -> SvgNumberList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anim_val_SVGAnimatedNumberList ( self_ : < & SvgAnimatedNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgNumberList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anim_val_SVGAnimatedNumberList ( self_ ) } ; < SvgNumberList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumberList/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgNumberList`*" ] pub fn anim_val ( & self , ) -> SvgNumberList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimatedPreserveAspectRatio` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedPreserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`*" ] # [ repr ( transparent ) ] pub struct SvgAnimatedPreserveAspectRatio { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimatedPreserveAspectRatio : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimatedPreserveAspectRatio { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimatedPreserveAspectRatio { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimatedPreserveAspectRatio { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimatedPreserveAspectRatio { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimatedPreserveAspectRatio { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimatedPreserveAspectRatio { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimatedPreserveAspectRatio { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimatedPreserveAspectRatio { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimatedPreserveAspectRatio { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimatedPreserveAspectRatio > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimatedPreserveAspectRatio { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimatedPreserveAspectRatio { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimatedPreserveAspectRatio { SvgAnimatedPreserveAspectRatio { obj } } } impl AsRef < JsValue > for SvgAnimatedPreserveAspectRatio { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimatedPreserveAspectRatio > for JsValue { # [ inline ] fn from ( obj : SvgAnimatedPreserveAspectRatio ) -> JsValue { obj . obj } } impl JsCast for SvgAnimatedPreserveAspectRatio { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimatedPreserveAspectRatio ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimatedPreserveAspectRatio ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimatedPreserveAspectRatio { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimatedPreserveAspectRatio ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimatedPreserveAspectRatio { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgAnimatedPreserveAspectRatio > for Object { # [ inline ] fn from ( obj : SvgAnimatedPreserveAspectRatio ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimatedPreserveAspectRatio { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_val_SVGAnimatedPreserveAspectRatio ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedPreserveAspectRatio as WasmDescribe > :: describe ( ) ; < SvgPreserveAspectRatio as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedPreserveAspectRatio { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedPreserveAspectRatio/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgPreserveAspectRatio`*" ] pub fn base_val ( & self , ) -> SvgPreserveAspectRatio { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_val_SVGAnimatedPreserveAspectRatio ( self_ : < & SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_val_SVGAnimatedPreserveAspectRatio ( self_ ) } ; < SvgPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedPreserveAspectRatio/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgPreserveAspectRatio`*" ] pub fn base_val ( & self , ) -> SvgPreserveAspectRatio { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anim_val_SVGAnimatedPreserveAspectRatio ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedPreserveAspectRatio as WasmDescribe > :: describe ( ) ; < SvgPreserveAspectRatio as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedPreserveAspectRatio { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedPreserveAspectRatio/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgPreserveAspectRatio`*" ] pub fn anim_val ( & self , ) -> SvgPreserveAspectRatio { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anim_val_SVGAnimatedPreserveAspectRatio ( self_ : < & SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anim_val_SVGAnimatedPreserveAspectRatio ( self_ ) } ; < SvgPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedPreserveAspectRatio/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgPreserveAspectRatio`*" ] pub fn anim_val ( & self , ) -> SvgPreserveAspectRatio { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimatedRect` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedRect)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`*" ] # [ repr ( transparent ) ] pub struct SvgAnimatedRect { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimatedRect : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimatedRect { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimatedRect { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimatedRect { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimatedRect { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimatedRect { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimatedRect { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimatedRect { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimatedRect { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimatedRect { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimatedRect > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimatedRect { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimatedRect { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimatedRect { SvgAnimatedRect { obj } } } impl AsRef < JsValue > for SvgAnimatedRect { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimatedRect > for JsValue { # [ inline ] fn from ( obj : SvgAnimatedRect ) -> JsValue { obj . obj } } impl JsCast for SvgAnimatedRect { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimatedRect ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimatedRect ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimatedRect { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimatedRect ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimatedRect { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgAnimatedRect > for Object { # [ inline ] fn from ( obj : SvgAnimatedRect ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimatedRect { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_val_SVGAnimatedRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedRect as WasmDescribe > :: describe ( ) ; < Option < SvgRect > as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedRect/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgRect`*" ] pub fn base_val ( & self , ) -> Option < SvgRect > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_val_SVGAnimatedRect ( self_ : < & SvgAnimatedRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < SvgRect > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_val_SVGAnimatedRect ( self_ ) } ; < Option < SvgRect > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedRect/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgRect`*" ] pub fn base_val ( & self , ) -> Option < SvgRect > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anim_val_SVGAnimatedRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedRect as WasmDescribe > :: describe ( ) ; < Option < SvgRect > as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedRect/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgRect`*" ] pub fn anim_val ( & self , ) -> Option < SvgRect > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anim_val_SVGAnimatedRect ( self_ : < & SvgAnimatedRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < SvgRect > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anim_val_SVGAnimatedRect ( self_ ) } ; < Option < SvgRect > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedRect/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgRect`*" ] pub fn anim_val ( & self , ) -> Option < SvgRect > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimatedString` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedString)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`*" ] # [ repr ( transparent ) ] pub struct SvgAnimatedString { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimatedString : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimatedString { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimatedString { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimatedString { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimatedString { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimatedString { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimatedString { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimatedString { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimatedString { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimatedString { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimatedString > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimatedString { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimatedString { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimatedString { SvgAnimatedString { obj } } } impl AsRef < JsValue > for SvgAnimatedString { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimatedString > for JsValue { # [ inline ] fn from ( obj : SvgAnimatedString ) -> JsValue { obj . obj } } impl JsCast for SvgAnimatedString { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimatedString ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimatedString ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimatedString { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimatedString ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimatedString { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgAnimatedString > for Object { # [ inline ] fn from ( obj : SvgAnimatedString ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimatedString { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_val_SVGAnimatedString ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedString as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedString { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedString/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`*" ] pub fn base_val ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_val_SVGAnimatedString ( self_ : < & SvgAnimatedString as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedString as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_val_SVGAnimatedString ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedString/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`*" ] pub fn base_val ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_base_val_SVGAnimatedString ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgAnimatedString as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedString { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedString/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`*" ] pub fn set_base_val ( & self , base_val : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_base_val_SVGAnimatedString ( self_ : < & SvgAnimatedString as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , base_val : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedString as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let base_val = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( base_val , & mut __stack ) ; __widl_f_set_base_val_SVGAnimatedString ( self_ , base_val ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedString/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`*" ] pub fn set_base_val ( & self , base_val : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anim_val_SVGAnimatedString ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedString as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedString { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedString/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`*" ] pub fn anim_val ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anim_val_SVGAnimatedString ( self_ : < & SvgAnimatedString as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedString as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anim_val_SVGAnimatedString ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedString/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`*" ] pub fn anim_val ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimatedTransformList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedTransformList)\n\n*This API requires the following crate features to be activated: `SvgAnimatedTransformList`*" ] # [ repr ( transparent ) ] pub struct SvgAnimatedTransformList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimatedTransformList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimatedTransformList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimatedTransformList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimatedTransformList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimatedTransformList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimatedTransformList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimatedTransformList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimatedTransformList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimatedTransformList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimatedTransformList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimatedTransformList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimatedTransformList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimatedTransformList { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimatedTransformList { SvgAnimatedTransformList { obj } } } impl AsRef < JsValue > for SvgAnimatedTransformList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimatedTransformList > for JsValue { # [ inline ] fn from ( obj : SvgAnimatedTransformList ) -> JsValue { obj . obj } } impl JsCast for SvgAnimatedTransformList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimatedTransformList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimatedTransformList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimatedTransformList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimatedTransformList ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimatedTransformList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgAnimatedTransformList > for Object { # [ inline ] fn from ( obj : SvgAnimatedTransformList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimatedTransformList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_val_SVGAnimatedTransformList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedTransformList as WasmDescribe > :: describe ( ) ; < SvgTransformList as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedTransformList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedTransformList/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgTransformList`*" ] pub fn base_val ( & self , ) -> SvgTransformList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_val_SVGAnimatedTransformList ( self_ : < & SvgAnimatedTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgTransformList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_val_SVGAnimatedTransformList ( self_ ) } ; < SvgTransformList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedTransformList/baseVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgTransformList`*" ] pub fn base_val ( & self , ) -> SvgTransformList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anim_val_SVGAnimatedTransformList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimatedTransformList as WasmDescribe > :: describe ( ) ; < SvgTransformList as WasmDescribe > :: describe ( ) ; } impl SvgAnimatedTransformList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedTransformList/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgTransformList`*" ] pub fn anim_val ( & self , ) -> SvgTransformList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anim_val_SVGAnimatedTransformList ( self_ : < & SvgAnimatedTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgTransformList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimatedTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anim_val_SVGAnimatedTransformList ( self_ ) } ; < SvgTransformList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animVal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedTransformList/animVal)\n\n*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgTransformList`*" ] pub fn anim_val ( & self , ) -> SvgTransformList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGAnimationElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] # [ repr ( transparent ) ] pub struct SvgAnimationElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgAnimationElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgAnimationElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgAnimationElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgAnimationElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgAnimationElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgAnimationElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgAnimationElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgAnimationElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgAnimationElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgAnimationElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgAnimationElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgAnimationElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgAnimationElement { # [ inline ] fn from ( obj : JsValue ) -> SvgAnimationElement { SvgAnimationElement { obj } } } impl AsRef < JsValue > for SvgAnimationElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgAnimationElement > for JsValue { # [ inline ] fn from ( obj : SvgAnimationElement ) -> JsValue { obj . obj } } impl JsCast for SvgAnimationElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGAnimationElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGAnimationElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgAnimationElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgAnimationElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgAnimationElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgAnimationElement > for SvgElement { # [ inline ] fn from ( obj : SvgAnimationElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgAnimationElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimationElement > for Element { # [ inline ] fn from ( obj : SvgAnimationElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgAnimationElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimationElement > for Node { # [ inline ] fn from ( obj : SvgAnimationElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgAnimationElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimationElement > for EventTarget { # [ inline ] fn from ( obj : SvgAnimationElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgAnimationElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgAnimationElement > for Object { # [ inline ] fn from ( obj : SvgAnimationElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgAnimationElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_begin_element_SVGAnimationElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimationElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAnimationElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `beginElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/beginElement)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn begin_element ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_begin_element_SVGAnimationElement ( self_ : < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_begin_element_SVGAnimationElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `beginElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/beginElement)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn begin_element ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_begin_element_at_SVGAnimationElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgAnimationElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAnimationElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `beginElementAt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/beginElementAt)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn begin_element_at ( & self , offset : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_begin_element_at_SVGAnimationElement ( self_ : < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let offset = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_begin_element_at_SVGAnimationElement ( self_ , offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `beginElementAt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/beginElementAt)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn begin_element_at ( & self , offset : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_end_element_SVGAnimationElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimationElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAnimationElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `endElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/endElement)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn end_element ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_end_element_SVGAnimationElement ( self_ : < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_end_element_SVGAnimationElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `endElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/endElement)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn end_element ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_end_element_at_SVGAnimationElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgAnimationElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgAnimationElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `endElementAt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/endElementAt)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn end_element_at ( & self , offset : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_end_element_at_SVGAnimationElement ( self_ : < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let offset = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_end_element_at_SVGAnimationElement ( self_ , offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `endElementAt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/endElementAt)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn end_element_at ( & self , offset : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_current_time_SVGAnimationElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimationElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgAnimationElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getCurrentTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getCurrentTime)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn get_current_time ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_current_time_SVGAnimationElement ( self_ : < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_current_time_SVGAnimationElement ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getCurrentTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getCurrentTime)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn get_current_time ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_simple_duration_SVGAnimationElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimationElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgAnimationElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getSimpleDuration()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getSimpleDuration)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn get_simple_duration ( & self , ) -> Result < f32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_simple_duration_SVGAnimationElement ( self_ : < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_simple_duration_SVGAnimationElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getSimpleDuration()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getSimpleDuration)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn get_simple_duration ( & self , ) -> Result < f32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_start_time_SVGAnimationElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimationElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgAnimationElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getStartTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getStartTime)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn get_start_time ( & self , ) -> Result < f32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_start_time_SVGAnimationElement ( self_ : < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_start_time_SVGAnimationElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getStartTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getStartTime)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn get_start_time ( & self , ) -> Result < f32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_element_SVGAnimationElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimationElement as WasmDescribe > :: describe ( ) ; < Option < SvgElement > as WasmDescribe > :: describe ( ) ; } impl SvgAnimationElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `targetElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/targetElement)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgElement`*" ] pub fn target_element ( & self , ) -> Option < SvgElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_element_SVGAnimationElement ( self_ : < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < SvgElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_element_SVGAnimationElement ( self_ ) } ; < Option < SvgElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `targetElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/targetElement)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgElement`*" ] pub fn target_element ( & self , ) -> Option < SvgElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_extension_SVGAnimationElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgAnimationElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SvgAnimationElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasExtension()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/hasExtension)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn has_extension ( & self , extension : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_extension_SVGAnimationElement ( self_ : < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , extension : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let extension = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( extension , & mut __stack ) ; __widl_f_has_extension_SVGAnimationElement ( self_ , extension ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasExtension()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/hasExtension)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`*" ] pub fn has_extension ( & self , extension : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_required_features_SVGAnimationElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimationElement as WasmDescribe > :: describe ( ) ; < SvgStringList as WasmDescribe > :: describe ( ) ; } impl SvgAnimationElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requiredFeatures` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/requiredFeatures)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*" ] pub fn required_features ( & self , ) -> SvgStringList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_required_features_SVGAnimationElement ( self_ : < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_required_features_SVGAnimationElement ( self_ ) } ; < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requiredFeatures` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/requiredFeatures)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*" ] pub fn required_features ( & self , ) -> SvgStringList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_required_extensions_SVGAnimationElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimationElement as WasmDescribe > :: describe ( ) ; < SvgStringList as WasmDescribe > :: describe ( ) ; } impl SvgAnimationElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requiredExtensions` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/requiredExtensions)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*" ] pub fn required_extensions ( & self , ) -> SvgStringList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_required_extensions_SVGAnimationElement ( self_ : < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_required_extensions_SVGAnimationElement ( self_ ) } ; < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requiredExtensions` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/requiredExtensions)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*" ] pub fn required_extensions ( & self , ) -> SvgStringList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_system_language_SVGAnimationElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgAnimationElement as WasmDescribe > :: describe ( ) ; < SvgStringList as WasmDescribe > :: describe ( ) ; } impl SvgAnimationElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `systemLanguage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/systemLanguage)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*" ] pub fn system_language ( & self , ) -> SvgStringList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_system_language_SVGAnimationElement ( self_ : < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgAnimationElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_system_language_SVGAnimationElement ( self_ ) } ; < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `systemLanguage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/systemLanguage)\n\n*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*" ] pub fn system_language ( & self , ) -> SvgStringList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGCircleElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement)\n\n*This API requires the following crate features to be activated: `SvgCircleElement`*" ] # [ repr ( transparent ) ] pub struct SvgCircleElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgCircleElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgCircleElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgCircleElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgCircleElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgCircleElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgCircleElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgCircleElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgCircleElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgCircleElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgCircleElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgCircleElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgCircleElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgCircleElement { # [ inline ] fn from ( obj : JsValue ) -> SvgCircleElement { SvgCircleElement { obj } } } impl AsRef < JsValue > for SvgCircleElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgCircleElement > for JsValue { # [ inline ] fn from ( obj : SvgCircleElement ) -> JsValue { obj . obj } } impl JsCast for SvgCircleElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGCircleElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGCircleElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgCircleElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgCircleElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgCircleElement { type Target = SvgGeometryElement ; # [ inline ] fn deref ( & self ) -> & SvgGeometryElement { self . as_ref ( ) } } impl From < SvgCircleElement > for SvgGeometryElement { # [ inline ] fn from ( obj : SvgCircleElement ) -> SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGeometryElement > for SvgCircleElement { # [ inline ] fn as_ref ( & self ) -> & SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgCircleElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgCircleElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgCircleElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgCircleElement > for SvgElement { # [ inline ] fn from ( obj : SvgCircleElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgCircleElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgCircleElement > for Element { # [ inline ] fn from ( obj : SvgCircleElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgCircleElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgCircleElement > for Node { # [ inline ] fn from ( obj : SvgCircleElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgCircleElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgCircleElement > for EventTarget { # [ inline ] fn from ( obj : SvgCircleElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgCircleElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgCircleElement > for Object { # [ inline ] fn from ( obj : SvgCircleElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgCircleElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cx_SVGCircleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgCircleElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgCircleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement/cx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgCircleElement`*" ] pub fn cx ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cx_SVGCircleElement ( self_ : < & SvgCircleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgCircleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cx_SVGCircleElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement/cx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgCircleElement`*" ] pub fn cx ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cy_SVGCircleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgCircleElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgCircleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement/cy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgCircleElement`*" ] pub fn cy ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cy_SVGCircleElement ( self_ : < & SvgCircleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgCircleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cy_SVGCircleElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement/cy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgCircleElement`*" ] pub fn cy ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_r_SVGCircleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgCircleElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgCircleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `r` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement/r)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgCircleElement`*" ] pub fn r ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_r_SVGCircleElement ( self_ : < & SvgCircleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgCircleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_r_SVGCircleElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `r` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement/r)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgCircleElement`*" ] pub fn r ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGClipPathElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement)\n\n*This API requires the following crate features to be activated: `SvgClipPathElement`*" ] # [ repr ( transparent ) ] pub struct SvgClipPathElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgClipPathElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgClipPathElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgClipPathElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgClipPathElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgClipPathElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgClipPathElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgClipPathElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgClipPathElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgClipPathElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgClipPathElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgClipPathElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgClipPathElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgClipPathElement { # [ inline ] fn from ( obj : JsValue ) -> SvgClipPathElement { SvgClipPathElement { obj } } } impl AsRef < JsValue > for SvgClipPathElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgClipPathElement > for JsValue { # [ inline ] fn from ( obj : SvgClipPathElement ) -> JsValue { obj . obj } } impl JsCast for SvgClipPathElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGClipPathElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGClipPathElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgClipPathElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgClipPathElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgClipPathElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgClipPathElement > for SvgElement { # [ inline ] fn from ( obj : SvgClipPathElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgClipPathElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgClipPathElement > for Element { # [ inline ] fn from ( obj : SvgClipPathElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgClipPathElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgClipPathElement > for Node { # [ inline ] fn from ( obj : SvgClipPathElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgClipPathElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgClipPathElement > for EventTarget { # [ inline ] fn from ( obj : SvgClipPathElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgClipPathElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgClipPathElement > for Object { # [ inline ] fn from ( obj : SvgClipPathElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgClipPathElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clip_path_units_SVGClipPathElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgClipPathElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgClipPathElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clipPathUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement/clipPathUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgClipPathElement`*" ] pub fn clip_path_units ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clip_path_units_SVGClipPathElement ( self_ : < & SvgClipPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgClipPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clip_path_units_SVGClipPathElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clipPathUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement/clipPathUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgClipPathElement`*" ] pub fn clip_path_units ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transform_SVGClipPathElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgClipPathElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedTransformList as WasmDescribe > :: describe ( ) ; } impl SvgClipPathElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement/transform)\n\n*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgClipPathElement`*" ] pub fn transform ( & self , ) -> SvgAnimatedTransformList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transform_SVGClipPathElement ( self_ : < & SvgClipPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedTransformList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgClipPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_transform_SVGClipPathElement ( self_ ) } ; < SvgAnimatedTransformList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement/transform)\n\n*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgClipPathElement`*" ] pub fn transform ( & self , ) -> SvgAnimatedTransformList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGComponentTransferFunctionElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement)\n\n*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*" ] # [ repr ( transparent ) ] pub struct SvgComponentTransferFunctionElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgComponentTransferFunctionElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgComponentTransferFunctionElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgComponentTransferFunctionElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgComponentTransferFunctionElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgComponentTransferFunctionElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgComponentTransferFunctionElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgComponentTransferFunctionElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgComponentTransferFunctionElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgComponentTransferFunctionElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgComponentTransferFunctionElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgComponentTransferFunctionElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgComponentTransferFunctionElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgComponentTransferFunctionElement { # [ inline ] fn from ( obj : JsValue ) -> SvgComponentTransferFunctionElement { SvgComponentTransferFunctionElement { obj } } } impl AsRef < JsValue > for SvgComponentTransferFunctionElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgComponentTransferFunctionElement > for JsValue { # [ inline ] fn from ( obj : SvgComponentTransferFunctionElement ) -> JsValue { obj . obj } } impl JsCast for SvgComponentTransferFunctionElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGComponentTransferFunctionElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGComponentTransferFunctionElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgComponentTransferFunctionElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgComponentTransferFunctionElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgComponentTransferFunctionElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgComponentTransferFunctionElement > for SvgElement { # [ inline ] fn from ( obj : SvgComponentTransferFunctionElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgComponentTransferFunctionElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgComponentTransferFunctionElement > for Element { # [ inline ] fn from ( obj : SvgComponentTransferFunctionElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgComponentTransferFunctionElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgComponentTransferFunctionElement > for Node { # [ inline ] fn from ( obj : SvgComponentTransferFunctionElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgComponentTransferFunctionElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgComponentTransferFunctionElement > for EventTarget { # [ inline ] fn from ( obj : SvgComponentTransferFunctionElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgComponentTransferFunctionElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgComponentTransferFunctionElement > for Object { # [ inline ] fn from ( obj : SvgComponentTransferFunctionElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgComponentTransferFunctionElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_SVGComponentTransferFunctionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgComponentTransferFunctionElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgComponentTransferFunctionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/type)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgComponentTransferFunctionElement`*" ] pub fn type_ ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_SVGComponentTransferFunctionElement ( self_ : < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_SVGComponentTransferFunctionElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/type)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgComponentTransferFunctionElement`*" ] pub fn type_ ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_table_values_SVGComponentTransferFunctionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgComponentTransferFunctionElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumberList as WasmDescribe > :: describe ( ) ; } impl SvgComponentTransferFunctionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tableValues` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/tableValues)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgComponentTransferFunctionElement`*" ] pub fn table_values ( & self , ) -> SvgAnimatedNumberList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_table_values_SVGComponentTransferFunctionElement ( self_ : < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumberList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_table_values_SVGComponentTransferFunctionElement ( self_ ) } ; < SvgAnimatedNumberList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tableValues` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/tableValues)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgComponentTransferFunctionElement`*" ] pub fn table_values ( & self , ) -> SvgAnimatedNumberList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_slope_SVGComponentTransferFunctionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgComponentTransferFunctionElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgComponentTransferFunctionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `slope` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/slope)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*" ] pub fn slope ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_slope_SVGComponentTransferFunctionElement ( self_ : < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_slope_SVGComponentTransferFunctionElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `slope` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/slope)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*" ] pub fn slope ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_intercept_SVGComponentTransferFunctionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgComponentTransferFunctionElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgComponentTransferFunctionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `intercept` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/intercept)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*" ] pub fn intercept ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_intercept_SVGComponentTransferFunctionElement ( self_ : < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_intercept_SVGComponentTransferFunctionElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `intercept` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/intercept)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*" ] pub fn intercept ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_amplitude_SVGComponentTransferFunctionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgComponentTransferFunctionElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgComponentTransferFunctionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `amplitude` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/amplitude)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*" ] pub fn amplitude ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_amplitude_SVGComponentTransferFunctionElement ( self_ : < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_amplitude_SVGComponentTransferFunctionElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `amplitude` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/amplitude)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*" ] pub fn amplitude ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exponent_SVGComponentTransferFunctionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgComponentTransferFunctionElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgComponentTransferFunctionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `exponent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/exponent)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*" ] pub fn exponent ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exponent_SVGComponentTransferFunctionElement ( self_ : < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_exponent_SVGComponentTransferFunctionElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `exponent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/exponent)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*" ] pub fn exponent ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_offset_SVGComponentTransferFunctionElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgComponentTransferFunctionElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgComponentTransferFunctionElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `offset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/offset)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*" ] pub fn offset ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_offset_SVGComponentTransferFunctionElement ( self_ : < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgComponentTransferFunctionElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_offset_SVGComponentTransferFunctionElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `offset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/offset)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*" ] pub fn offset ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGDefsElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGDefsElement)\n\n*This API requires the following crate features to be activated: `SvgDefsElement`*" ] # [ repr ( transparent ) ] pub struct SvgDefsElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgDefsElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgDefsElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgDefsElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgDefsElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgDefsElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgDefsElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgDefsElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgDefsElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgDefsElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgDefsElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgDefsElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgDefsElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgDefsElement { # [ inline ] fn from ( obj : JsValue ) -> SvgDefsElement { SvgDefsElement { obj } } } impl AsRef < JsValue > for SvgDefsElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgDefsElement > for JsValue { # [ inline ] fn from ( obj : SvgDefsElement ) -> JsValue { obj . obj } } impl JsCast for SvgDefsElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGDefsElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGDefsElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgDefsElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgDefsElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgDefsElement { type Target = SvgGraphicsElement ; # [ inline ] fn deref ( & self ) -> & SvgGraphicsElement { self . as_ref ( ) } } impl From < SvgDefsElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgDefsElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgDefsElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgDefsElement > for SvgElement { # [ inline ] fn from ( obj : SvgDefsElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgDefsElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgDefsElement > for Element { # [ inline ] fn from ( obj : SvgDefsElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgDefsElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgDefsElement > for Node { # [ inline ] fn from ( obj : SvgDefsElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgDefsElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgDefsElement > for EventTarget { # [ inline ] fn from ( obj : SvgDefsElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgDefsElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgDefsElement > for Object { # [ inline ] fn from ( obj : SvgDefsElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgDefsElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGDescElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGDescElement)\n\n*This API requires the following crate features to be activated: `SvgDescElement`*" ] # [ repr ( transparent ) ] pub struct SvgDescElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgDescElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgDescElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgDescElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgDescElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgDescElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgDescElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgDescElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgDescElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgDescElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgDescElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgDescElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgDescElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgDescElement { # [ inline ] fn from ( obj : JsValue ) -> SvgDescElement { SvgDescElement { obj } } } impl AsRef < JsValue > for SvgDescElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgDescElement > for JsValue { # [ inline ] fn from ( obj : SvgDescElement ) -> JsValue { obj . obj } } impl JsCast for SvgDescElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGDescElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGDescElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgDescElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgDescElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgDescElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgDescElement > for SvgElement { # [ inline ] fn from ( obj : SvgDescElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgDescElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgDescElement > for Element { # [ inline ] fn from ( obj : SvgDescElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgDescElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgDescElement > for Node { # [ inline ] fn from ( obj : SvgDescElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgDescElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgDescElement > for EventTarget { # [ inline ] fn from ( obj : SvgDescElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgDescElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgDescElement > for Object { # [ inline ] fn from ( obj : SvgDescElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgDescElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] # [ repr ( transparent ) ] pub struct SvgElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgElement { # [ inline ] fn from ( obj : JsValue ) -> SvgElement { SvgElement { obj } } } impl AsRef < JsValue > for SvgElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgElement > for JsValue { # [ inline ] fn from ( obj : SvgElement ) -> JsValue { obj . obj } } impl JsCast for SvgElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgElement { type Target = Element ; # [ inline ] fn deref ( & self ) -> & Element { self . as_ref ( ) } } impl From < SvgElement > for Element { # [ inline ] fn from ( obj : SvgElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgElement > for Node { # [ inline ] fn from ( obj : SvgElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgElement > for EventTarget { # [ inline ] fn from ( obj : SvgElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgElement > for Object { # [ inline ] fn from ( obj : SvgElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blur_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blur()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/blur)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn blur ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blur_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_blur_SVGElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blur()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/blur)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn blur ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_focus_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `focus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/focus)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn focus ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_focus_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_focus_SVGElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `focus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/focus)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn focus ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/id)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_SVGElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/id)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_id_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/id)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_id ( & self , id : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_id_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; __widl_f_set_id_SVGElement ( self_ , id ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/id)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_id ( & self , id : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_class_name_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `className` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/className)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgElement`*" ] pub fn class_name ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_class_name_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_class_name_SVGElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `className` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/className)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgElement`*" ] pub fn class_name ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dataset_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < DomStringMap as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dataset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/dataset)\n\n*This API requires the following crate features to be activated: `DomStringMap`, `SvgElement`*" ] pub fn dataset ( & self , ) -> DomStringMap { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dataset_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DomStringMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dataset_SVGElement ( self_ ) } ; < DomStringMap as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dataset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/dataset)\n\n*This API requires the following crate features to be activated: `DomStringMap`, `SvgElement`*" ] pub fn dataset ( & self , ) -> DomStringMap { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_style_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < CssStyleDeclaration as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/style)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`, `SvgElement`*" ] pub fn style ( & self , ) -> CssStyleDeclaration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_style_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < CssStyleDeclaration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_style_SVGElement ( self_ ) } ; < CssStyleDeclaration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `style` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/style)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`, `SvgElement`*" ] pub fn style ( & self , ) -> CssStyleDeclaration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_owner_svg_element_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < SvgsvgElement > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ownerSVGElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ownerSVGElement)\n\n*This API requires the following crate features to be activated: `SvgElement`, `SvgsvgElement`*" ] pub fn owner_svg_element ( & self , ) -> Option < SvgsvgElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_owner_svg_element_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < SvgsvgElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_owner_svg_element_SVGElement ( self_ ) } ; < Option < SvgsvgElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ownerSVGElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ownerSVGElement)\n\n*This API requires the following crate features to be activated: `SvgElement`, `SvgsvgElement`*" ] pub fn owner_svg_element ( & self , ) -> Option < SvgsvgElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_viewport_element_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < SvgElement > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `viewportElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/viewportElement)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn viewport_element ( & self , ) -> Option < SvgElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_viewport_element_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < SvgElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_viewport_element_SVGElement ( self_ ) } ; < Option < SvgElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `viewportElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/viewportElement)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn viewport_element ( & self , ) -> Option < SvgElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tab_index_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tabIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/tabIndex)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn tab_index ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tab_index_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_tab_index_SVGElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tabIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/tabIndex)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn tab_index ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_tab_index_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tabIndex` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/tabIndex)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_tab_index ( & self , tab_index : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_tab_index_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tab_index : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tab_index = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tab_index , & mut __stack ) ; __widl_f_set_tab_index_SVGElement ( self_ , tab_index ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tabIndex` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/tabIndex)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_tab_index ( & self , tab_index : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncopy_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncopy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncopy)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oncopy ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncopy_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncopy_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncopy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncopy)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oncopy ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncopy_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncopy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncopy)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oncopy ( & self , oncopy : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncopy_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncopy : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncopy = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncopy , & mut __stack ) ; __widl_f_set_oncopy_SVGElement ( self_ , oncopy ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncopy` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncopy)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oncopy ( & self , oncopy : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncut_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncut` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncut)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oncut ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncut_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncut_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncut` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncut)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oncut ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncut_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncut` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncut)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oncut ( & self , oncut : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncut_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncut : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncut = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncut , & mut __stack ) ; __widl_f_set_oncut_SVGElement ( self_ , oncut ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncut` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncut)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oncut ( & self , oncut : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpaste_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpaste` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpaste)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpaste ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpaste_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpaste_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpaste` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpaste)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpaste ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpaste_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpaste` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpaste)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpaste ( & self , onpaste : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpaste_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpaste : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpaste = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpaste , & mut __stack ) ; __widl_f_set_onpaste_SVGElement ( self_ , onpaste ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpaste` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpaste)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpaste ( & self , onpaste : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onabort_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onabort)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onabort_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onabort_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onabort)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onabort_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onabort)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onabort_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onabort : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onabort = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onabort , & mut __stack ) ; __widl_f_set_onabort_SVGElement ( self_ , onabort ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onabort)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onblur_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onblur` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onblur)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onblur ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onblur_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onblur_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onblur` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onblur)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onblur ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onblur_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onblur` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onblur)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onblur ( & self , onblur : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onblur_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onblur : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onblur = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onblur , & mut __stack ) ; __widl_f_set_onblur_SVGElement ( self_ , onblur ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onblur` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onblur)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onblur ( & self , onblur : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onfocus_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onfocus)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onfocus ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onfocus_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onfocus_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onfocus)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onfocus ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onfocus_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onfocus)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onfocus ( & self , onfocus : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onfocus_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onfocus : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onfocus = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onfocus , & mut __stack ) ; __widl_f_set_onfocus_SVGElement ( self_ , onfocus ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onfocus)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onfocus ( & self , onfocus : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onauxclick_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onauxclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onauxclick)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onauxclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onauxclick_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onauxclick_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onauxclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onauxclick)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onauxclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onauxclick_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onauxclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onauxclick)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onauxclick ( & self , onauxclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onauxclick_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onauxclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onauxclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onauxclick , & mut __stack ) ; __widl_f_set_onauxclick_SVGElement ( self_ , onauxclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onauxclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onauxclick)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onauxclick ( & self , onauxclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncanplay_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncanplay)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oncanplay ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncanplay_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncanplay_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncanplay)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oncanplay ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncanplay_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncanplay)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oncanplay ( & self , oncanplay : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncanplay_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncanplay : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncanplay = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncanplay , & mut __stack ) ; __widl_f_set_oncanplay_SVGElement ( self_ , oncanplay ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncanplay)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oncanplay ( & self , oncanplay : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncanplaythrough_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplaythrough` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oncanplaythrough ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncanplaythrough_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncanplaythrough_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplaythrough` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oncanplaythrough ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncanplaythrough_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplaythrough` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oncanplaythrough ( & self , oncanplaythrough : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncanplaythrough_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncanplaythrough : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncanplaythrough = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncanplaythrough , & mut __stack ) ; __widl_f_set_oncanplaythrough_SVGElement ( self_ , oncanplaythrough ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplaythrough` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oncanplaythrough ( & self , oncanplaythrough : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchange_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onchange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchange_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchange_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onchange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchange_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onchange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchange_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchange , & mut __stack ) ; __widl_f_set_onchange_SVGElement ( self_ , onchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onchange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclick_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onclick)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclick_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclick_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onclick)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclick_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onclick)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onclick ( & self , onclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclick_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclick , & mut __stack ) ; __widl_f_set_onclick_SVGElement ( self_ , onclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onclick)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onclick ( & self , onclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclose_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onclose)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclose_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclose_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onclose)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclose_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onclose)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclose_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclose : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclose = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclose , & mut __stack ) ; __widl_f_set_onclose_SVGElement ( self_ , onclose ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onclose)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncontextmenu_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncontextmenu` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncontextmenu)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oncontextmenu ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncontextmenu_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncontextmenu_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncontextmenu` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncontextmenu)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oncontextmenu ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncontextmenu_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncontextmenu` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncontextmenu)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oncontextmenu ( & self , oncontextmenu : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncontextmenu_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncontextmenu : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncontextmenu = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncontextmenu , & mut __stack ) ; __widl_f_set_oncontextmenu_SVGElement ( self_ , oncontextmenu ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncontextmenu` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oncontextmenu)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oncontextmenu ( & self , oncontextmenu : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondblclick_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondblclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondblclick)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondblclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondblclick_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondblclick_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondblclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondblclick)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondblclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondblclick_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondblclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondblclick)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondblclick ( & self , ondblclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondblclick_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondblclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondblclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondblclick , & mut __stack ) ; __widl_f_set_ondblclick_SVGElement ( self_ , ondblclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondblclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondblclick)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondblclick ( & self , ondblclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondrag_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrag` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondrag)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondrag ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondrag_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondrag_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrag` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondrag)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondrag ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondrag_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrag` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondrag)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondrag ( & self , ondrag : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondrag_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondrag : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondrag = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondrag , & mut __stack ) ; __widl_f_set_ondrag_SVGElement ( self_ , ondrag ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrag` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondrag)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondrag ( & self , ondrag : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondragend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragend_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondragend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondragend ( & self , ondragend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragend , & mut __stack ) ; __widl_f_set_ondragend_SVGElement ( self_ , ondragend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondragend ( & self , ondragend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragenter_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragenter)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondragenter ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragenter_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragenter_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragenter)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondragenter ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragenter_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragenter)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondragenter ( & self , ondragenter : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragenter_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragenter : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragenter = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragenter , & mut __stack ) ; __widl_f_set_ondragenter_SVGElement ( self_ , ondragenter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragenter)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondragenter ( & self , ondragenter : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragexit_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragexit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragexit)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondragexit ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragexit_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragexit_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragexit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragexit)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondragexit ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragexit_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragexit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragexit)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondragexit ( & self , ondragexit : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragexit_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragexit : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragexit = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragexit , & mut __stack ) ; __widl_f_set_ondragexit_SVGElement ( self_ , ondragexit ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragexit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragexit)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondragexit ( & self , ondragexit : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragleave_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragleave)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondragleave ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragleave_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragleave_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragleave)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondragleave ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragleave_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragleave)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondragleave ( & self , ondragleave : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragleave_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragleave : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragleave = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragleave , & mut __stack ) ; __widl_f_set_ondragleave_SVGElement ( self_ , ondragleave ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragleave)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondragleave ( & self , ondragleave : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragover_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragover)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondragover ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragover_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragover_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragover)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondragover ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragover_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragover)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondragover ( & self , ondragover : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragover_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragover : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragover = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragover , & mut __stack ) ; __widl_f_set_ondragover_SVGElement ( self_ , ondragover ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragover)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondragover ( & self , ondragover : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondragstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragstart_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondragstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondragstart ( & self , ondragstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragstart , & mut __stack ) ; __widl_f_set_ondragstart_SVGElement ( self_ , ondragstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondragstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondragstart ( & self , ondragstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondrop_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondrop)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondrop ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondrop_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondrop_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondrop)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondrop ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondrop_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondrop)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondrop ( & self , ondrop : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondrop_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondrop : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondrop = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondrop , & mut __stack ) ; __widl_f_set_ondrop_SVGElement ( self_ , ondrop ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondrop)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondrop ( & self , ondrop : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondurationchange_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondurationchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondurationchange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondurationchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondurationchange_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondurationchange_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondurationchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondurationchange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ondurationchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondurationchange_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondurationchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondurationchange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondurationchange ( & self , ondurationchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondurationchange_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondurationchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondurationchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondurationchange , & mut __stack ) ; __widl_f_set_ondurationchange_SVGElement ( self_ , ondurationchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondurationchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ondurationchange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ondurationchange ( & self , ondurationchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onemptied_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onemptied` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onemptied)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onemptied ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onemptied_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onemptied_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onemptied` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onemptied)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onemptied ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onemptied_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onemptied` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onemptied)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onemptied ( & self , onemptied : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onemptied_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onemptied : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onemptied = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onemptied , & mut __stack ) ; __widl_f_set_onemptied_SVGElement ( self_ , onemptied ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onemptied` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onemptied)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onemptied ( & self , onemptied : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onended_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onended)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onended_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onended_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onended)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onended_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onended)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onended_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onended : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onended = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onended , & mut __stack ) ; __widl_f_set_onended_SVGElement ( self_ , onended ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onended)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oninput_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninput` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oninput)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oninput ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oninput_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oninput_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninput` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oninput)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oninput ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oninput_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninput` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oninput)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oninput ( & self , oninput : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oninput_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oninput : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oninput = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oninput , & mut __stack ) ; __widl_f_set_oninput_SVGElement ( self_ , oninput ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninput` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oninput)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oninput ( & self , oninput : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oninvalid_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninvalid` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oninvalid)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oninvalid ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oninvalid_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oninvalid_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninvalid` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oninvalid)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn oninvalid ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oninvalid_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninvalid` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oninvalid)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oninvalid ( & self , oninvalid : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oninvalid_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oninvalid : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oninvalid = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oninvalid , & mut __stack ) ; __widl_f_set_oninvalid_SVGElement ( self_ , oninvalid ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninvalid` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/oninvalid)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_oninvalid ( & self , oninvalid : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onkeydown_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeydown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeydown)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onkeydown ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onkeydown_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onkeydown_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeydown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeydown)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onkeydown ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onkeydown_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeydown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeydown)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onkeydown ( & self , onkeydown : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onkeydown_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onkeydown : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onkeydown = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onkeydown , & mut __stack ) ; __widl_f_set_onkeydown_SVGElement ( self_ , onkeydown ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeydown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeydown)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onkeydown ( & self , onkeydown : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onkeypress_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeypress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeypress)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onkeypress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onkeypress_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onkeypress_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeypress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeypress)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onkeypress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onkeypress_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeypress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeypress)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onkeypress ( & self , onkeypress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onkeypress_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onkeypress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onkeypress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onkeypress , & mut __stack ) ; __widl_f_set_onkeypress_SVGElement ( self_ , onkeypress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeypress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeypress)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onkeypress ( & self , onkeypress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onkeyup_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeyup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeyup)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onkeyup ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onkeyup_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onkeyup_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeyup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeyup)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onkeyup ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onkeyup_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeyup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeyup)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onkeyup ( & self , onkeyup : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onkeyup_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onkeyup : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onkeyup = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onkeyup , & mut __stack ) ; __widl_f_set_onkeyup_SVGElement ( self_ , onkeyup ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeyup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onkeyup)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onkeyup ( & self , onkeyup : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onload_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onload)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onload ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onload_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onload_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onload)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onload ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onload_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onload)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onload ( & self , onload : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onload_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onload : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onload = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onload , & mut __stack ) ; __widl_f_set_onload_SVGElement ( self_ , onload ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onload)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onload ( & self , onload : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadeddata_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadeddata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadeddata)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onloadeddata ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadeddata_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadeddata_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadeddata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadeddata)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onloadeddata ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadeddata_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadeddata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadeddata)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onloadeddata ( & self , onloadeddata : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadeddata_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadeddata : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadeddata = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadeddata , & mut __stack ) ; __widl_f_set_onloadeddata_SVGElement ( self_ , onloadeddata ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadeddata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadeddata)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onloadeddata ( & self , onloadeddata : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadedmetadata_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadedmetadata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onloadedmetadata ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadedmetadata_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadedmetadata_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadedmetadata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onloadedmetadata ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadedmetadata_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadedmetadata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onloadedmetadata ( & self , onloadedmetadata : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadedmetadata_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadedmetadata : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadedmetadata = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadedmetadata , & mut __stack ) ; __widl_f_set_onloadedmetadata_SVGElement ( self_ , onloadedmetadata ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadedmetadata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onloadedmetadata ( & self , onloadedmetadata : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onloadend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadend_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onloadend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onloadend ( & self , onloadend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadend , & mut __stack ) ; __widl_f_set_onloadend_SVGElement ( self_ , onloadend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onloadend ( & self , onloadend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onloadstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadstart_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onloadstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onloadstart ( & self , onloadstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadstart , & mut __stack ) ; __widl_f_set_onloadstart_SVGElement ( self_ , onloadstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onloadstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onloadstart ( & self , onloadstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmousedown_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousedown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmousedown)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmousedown ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmousedown_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmousedown_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousedown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmousedown)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmousedown ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmousedown_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousedown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmousedown)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmousedown ( & self , onmousedown : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmousedown_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmousedown : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmousedown = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmousedown , & mut __stack ) ; __widl_f_set_onmousedown_SVGElement ( self_ , onmousedown ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousedown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmousedown)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmousedown ( & self , onmousedown : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseenter_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseenter)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmouseenter ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseenter_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseenter_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseenter)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmouseenter ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseenter_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseenter)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmouseenter ( & self , onmouseenter : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseenter_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseenter : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseenter = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseenter , & mut __stack ) ; __widl_f_set_onmouseenter_SVGElement ( self_ , onmouseenter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseenter)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmouseenter ( & self , onmouseenter : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseleave_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseleave)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmouseleave ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseleave_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseleave_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseleave)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmouseleave ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseleave_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseleave)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmouseleave ( & self , onmouseleave : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseleave_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseleave : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseleave = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseleave , & mut __stack ) ; __widl_f_set_onmouseleave_SVGElement ( self_ , onmouseleave ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseleave)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmouseleave ( & self , onmouseleave : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmousemove_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousemove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmousemove)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmousemove ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmousemove_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmousemove_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousemove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmousemove)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmousemove ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmousemove_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousemove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmousemove)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmousemove ( & self , onmousemove : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmousemove_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmousemove : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmousemove = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmousemove , & mut __stack ) ; __widl_f_set_onmousemove_SVGElement ( self_ , onmousemove ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousemove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmousemove)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmousemove ( & self , onmousemove : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseout_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseout)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmouseout ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseout_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseout_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseout)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmouseout ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseout_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseout)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmouseout ( & self , onmouseout : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseout_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseout : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseout = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseout , & mut __stack ) ; __widl_f_set_onmouseout_SVGElement ( self_ , onmouseout ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseout)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmouseout ( & self , onmouseout : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseover_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseover)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmouseover ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseover_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseover_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseover)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmouseover ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseover_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseover)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmouseover ( & self , onmouseover : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseover_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseover : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseover = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseover , & mut __stack ) ; __widl_f_set_onmouseover_SVGElement ( self_ , onmouseover ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseover)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmouseover ( & self , onmouseover : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseup_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseup)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmouseup ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseup_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseup_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseup)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onmouseup ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseup_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseup)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmouseup ( & self , onmouseup : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseup_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseup : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseup = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseup , & mut __stack ) ; __widl_f_set_onmouseup_SVGElement ( self_ , onmouseup ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onmouseup)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onmouseup ( & self , onmouseup : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwheel_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwheel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwheel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onwheel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwheel_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwheel_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwheel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwheel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onwheel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwheel_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwheel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwheel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onwheel ( & self , onwheel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwheel_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwheel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwheel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwheel , & mut __stack ) ; __widl_f_set_onwheel_SVGElement ( self_ , onwheel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwheel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwheel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onwheel ( & self , onwheel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpause_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpause` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpause)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpause ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpause_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpause_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpause` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpause)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpause ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpause_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpause` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpause)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpause ( & self , onpause : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpause_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpause : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpause = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpause , & mut __stack ) ; __widl_f_set_onpause_SVGElement ( self_ , onpause ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpause` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpause)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpause ( & self , onpause : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onplay_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onplay)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onplay ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onplay_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onplay_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onplay)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onplay ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onplay_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onplay)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onplay ( & self , onplay : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onplay_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onplay : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onplay = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onplay , & mut __stack ) ; __widl_f_set_onplay_SVGElement ( self_ , onplay ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onplay)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onplay ( & self , onplay : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onplaying_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplaying` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onplaying)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onplaying ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onplaying_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onplaying_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplaying` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onplaying)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onplaying ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onplaying_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplaying` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onplaying)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onplaying ( & self , onplaying : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onplaying_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onplaying : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onplaying = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onplaying , & mut __stack ) ; __widl_f_set_onplaying_SVGElement ( self_ , onplaying ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplaying` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onplaying)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onplaying ( & self , onplaying : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onprogress_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onprogress)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onprogress_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onprogress_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onprogress)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onprogress_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onprogress)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onprogress_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onprogress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onprogress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onprogress , & mut __stack ) ; __widl_f_set_onprogress_SVGElement ( self_ , onprogress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onprogress)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onratechange_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onratechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onratechange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onratechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onratechange_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onratechange_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onratechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onratechange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onratechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onratechange_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onratechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onratechange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onratechange ( & self , onratechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onratechange_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onratechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onratechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onratechange , & mut __stack ) ; __widl_f_set_onratechange_SVGElement ( self_ , onratechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onratechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onratechange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onratechange ( & self , onratechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onreset_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onreset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onreset)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onreset ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onreset_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onreset_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onreset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onreset)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onreset ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onreset_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onreset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onreset)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onreset ( & self , onreset : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onreset_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onreset : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onreset = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onreset , & mut __stack ) ; __widl_f_set_onreset_SVGElement ( self_ , onreset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onreset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onreset)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onreset ( & self , onreset : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onresize_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onresize)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onresize ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onresize_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onresize_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onresize)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onresize ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onresize_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onresize)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onresize ( & self , onresize : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onresize_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onresize : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onresize = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onresize , & mut __stack ) ; __widl_f_set_onresize_SVGElement ( self_ , onresize ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onresize)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onresize ( & self , onresize : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onscroll_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onscroll` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onscroll)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onscroll ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onscroll_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onscroll_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onscroll` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onscroll)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onscroll ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onscroll_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onscroll` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onscroll)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onscroll ( & self , onscroll : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onscroll_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onscroll : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onscroll = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onscroll , & mut __stack ) ; __widl_f_set_onscroll_SVGElement ( self_ , onscroll ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onscroll` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onscroll)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onscroll ( & self , onscroll : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onseeked_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onseeked)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onseeked ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onseeked_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onseeked_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onseeked)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onseeked ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onseeked_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onseeked)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onseeked ( & self , onseeked : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onseeked_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onseeked : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onseeked = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onseeked , & mut __stack ) ; __widl_f_set_onseeked_SVGElement ( self_ , onseeked ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onseeked)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onseeked ( & self , onseeked : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onseeking_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onseeking)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onseeking ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onseeking_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onseeking_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onseeking)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onseeking ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onseeking_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeking` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onseeking)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onseeking ( & self , onseeking : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onseeking_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onseeking : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onseeking = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onseeking , & mut __stack ) ; __widl_f_set_onseeking_SVGElement ( self_ , onseeking ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeking` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onseeking)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onseeking ( & self , onseeking : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onselect_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onselect)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onselect ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onselect_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onselect_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onselect)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onselect ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onselect_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onselect)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onselect ( & self , onselect : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onselect_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onselect : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onselect = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onselect , & mut __stack ) ; __widl_f_set_onselect_SVGElement ( self_ , onselect ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onselect)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onselect ( & self , onselect : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onshow_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onshow)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onshow ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onshow_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onshow_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onshow)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onshow ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onshow_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onshow)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onshow ( & self , onshow : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onshow_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onshow : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onshow = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onshow , & mut __stack ) ; __widl_f_set_onshow_SVGElement ( self_ , onshow ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onshow)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onshow ( & self , onshow : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstalled_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstalled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onstalled)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onstalled ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstalled_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstalled_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstalled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onstalled)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onstalled ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstalled_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstalled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onstalled)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onstalled ( & self , onstalled : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstalled_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstalled : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstalled = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstalled , & mut __stack ) ; __widl_f_set_onstalled_SVGElement ( self_ , onstalled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstalled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onstalled)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onstalled ( & self , onstalled : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsubmit_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsubmit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onsubmit)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onsubmit ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsubmit_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsubmit_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsubmit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onsubmit)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onsubmit ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsubmit_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsubmit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onsubmit)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onsubmit ( & self , onsubmit : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsubmit_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsubmit : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsubmit = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsubmit , & mut __stack ) ; __widl_f_set_onsubmit_SVGElement ( self_ , onsubmit ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsubmit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onsubmit)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onsubmit ( & self , onsubmit : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsuspend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsuspend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onsuspend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onsuspend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsuspend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsuspend_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsuspend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onsuspend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onsuspend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsuspend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsuspend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onsuspend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onsuspend ( & self , onsuspend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsuspend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsuspend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsuspend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsuspend , & mut __stack ) ; __widl_f_set_onsuspend_SVGElement ( self_ , onsuspend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsuspend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onsuspend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onsuspend ( & self , onsuspend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontimeupdate_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontimeupdate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontimeupdate)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontimeupdate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontimeupdate_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontimeupdate_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontimeupdate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontimeupdate)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontimeupdate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontimeupdate_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontimeupdate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontimeupdate)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontimeupdate ( & self , ontimeupdate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontimeupdate_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontimeupdate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontimeupdate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontimeupdate , & mut __stack ) ; __widl_f_set_ontimeupdate_SVGElement ( self_ , ontimeupdate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontimeupdate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontimeupdate)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontimeupdate ( & self , ontimeupdate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onvolumechange_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvolumechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onvolumechange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onvolumechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onvolumechange_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onvolumechange_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvolumechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onvolumechange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onvolumechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onvolumechange_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvolumechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onvolumechange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onvolumechange ( & self , onvolumechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onvolumechange_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onvolumechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onvolumechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onvolumechange , & mut __stack ) ; __widl_f_set_onvolumechange_SVGElement ( self_ , onvolumechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvolumechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onvolumechange)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onvolumechange ( & self , onvolumechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwaiting_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwaiting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwaiting)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onwaiting ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwaiting_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwaiting_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwaiting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwaiting)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onwaiting ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwaiting_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwaiting` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwaiting)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onwaiting ( & self , onwaiting : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwaiting_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwaiting : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwaiting = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwaiting , & mut __stack ) ; __widl_f_set_onwaiting_SVGElement ( self_ , onwaiting ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwaiting` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwaiting)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onwaiting ( & self , onwaiting : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onselectstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselectstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onselectstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onselectstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onselectstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onselectstart_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselectstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onselectstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onselectstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onselectstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselectstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onselectstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onselectstart ( & self , onselectstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onselectstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onselectstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onselectstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onselectstart , & mut __stack ) ; __widl_f_set_onselectstart_SVGElement ( self_ , onselectstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselectstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onselectstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onselectstart ( & self , onselectstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontoggle_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontoggle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontoggle)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontoggle ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontoggle_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontoggle_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontoggle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontoggle)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontoggle ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontoggle_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontoggle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontoggle)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontoggle ( & self , ontoggle : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontoggle_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontoggle : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontoggle = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontoggle , & mut __stack ) ; __widl_f_set_ontoggle_SVGElement ( self_ , ontoggle ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontoggle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontoggle)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontoggle ( & self , ontoggle : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointercancel_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointercancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointercancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointercancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointercancel_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointercancel_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointercancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointercancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointercancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointercancel_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointercancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointercancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointercancel ( & self , onpointercancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointercancel_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointercancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointercancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointercancel , & mut __stack ) ; __widl_f_set_onpointercancel_SVGElement ( self_ , onpointercancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointercancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointercancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointercancel ( & self , onpointercancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerdown_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerdown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerdown)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointerdown ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerdown_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerdown_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerdown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerdown)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointerdown ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerdown_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerdown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerdown)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointerdown ( & self , onpointerdown : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerdown_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerdown : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerdown = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerdown , & mut __stack ) ; __widl_f_set_onpointerdown_SVGElement ( self_ , onpointerdown ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerdown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerdown)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointerdown ( & self , onpointerdown : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerup_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerup)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointerup ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerup_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerup_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerup)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointerup ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerup_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerup)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointerup ( & self , onpointerup : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerup_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerup : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerup = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerup , & mut __stack ) ; __widl_f_set_onpointerup_SVGElement ( self_ , onpointerup ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerup)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointerup ( & self , onpointerup : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointermove_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointermove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointermove)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointermove ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointermove_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointermove_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointermove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointermove)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointermove ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointermove_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointermove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointermove)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointermove ( & self , onpointermove : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointermove_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointermove : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointermove = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointermove , & mut __stack ) ; __widl_f_set_onpointermove_SVGElement ( self_ , onpointermove ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointermove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointermove)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointermove ( & self , onpointermove : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerout_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerout)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointerout ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerout_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerout_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerout)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointerout ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerout_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerout)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointerout ( & self , onpointerout : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerout_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerout : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerout = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerout , & mut __stack ) ; __widl_f_set_onpointerout_SVGElement ( self_ , onpointerout ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerout)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointerout ( & self , onpointerout : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerover_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerover)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointerover ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerover_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerover_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerover)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointerover ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerover_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerover)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointerover ( & self , onpointerover : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerover_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerover : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerover = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerover , & mut __stack ) ; __widl_f_set_onpointerover_SVGElement ( self_ , onpointerover ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerover)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointerover ( & self , onpointerover : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerenter_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerenter)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointerenter ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerenter_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerenter_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerenter)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointerenter ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerenter_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerenter)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointerenter ( & self , onpointerenter : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerenter_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerenter : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerenter = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerenter , & mut __stack ) ; __widl_f_set_onpointerenter_SVGElement ( self_ , onpointerenter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerenter)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointerenter ( & self , onpointerenter : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerleave_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerleave)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointerleave ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerleave_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerleave_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerleave)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onpointerleave ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerleave_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerleave)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointerleave ( & self , onpointerleave : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerleave_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerleave : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerleave = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerleave , & mut __stack ) ; __widl_f_set_onpointerleave_SVGElement ( self_ , onpointerleave ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onpointerleave)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onpointerleave ( & self , onpointerleave : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ongotpointercapture_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ongotpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ongotpointercapture ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ongotpointercapture_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ongotpointercapture_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ongotpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ongotpointercapture ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ongotpointercapture_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ongotpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ongotpointercapture ( & self , ongotpointercapture : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ongotpointercapture_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ongotpointercapture : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ongotpointercapture = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ongotpointercapture , & mut __stack ) ; __widl_f_set_ongotpointercapture_SVGElement ( self_ , ongotpointercapture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ongotpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ongotpointercapture ( & self , ongotpointercapture : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onlostpointercapture_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlostpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onlostpointercapture ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onlostpointercapture_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onlostpointercapture_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlostpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onlostpointercapture ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onlostpointercapture_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlostpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onlostpointercapture ( & self , onlostpointercapture : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onlostpointercapture_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onlostpointercapture : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onlostpointercapture = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onlostpointercapture , & mut __stack ) ; __widl_f_set_onlostpointercapture_SVGElement ( self_ , onlostpointercapture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlostpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onlostpointercapture ( & self , onlostpointercapture : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationcancel_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationcancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onanimationcancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationcancel_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationcancel_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationcancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onanimationcancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationcancel_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationcancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onanimationcancel ( & self , onanimationcancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationcancel_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationcancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationcancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationcancel , & mut __stack ) ; __widl_f_set_onanimationcancel_SVGElement ( self_ , onanimationcancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationcancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onanimationcancel ( & self , onanimationcancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onanimationend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationend_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onanimationend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onanimationend ( & self , onanimationend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationend , & mut __stack ) ; __widl_f_set_onanimationend_SVGElement ( self_ , onanimationend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onanimationend ( & self , onanimationend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationiteration_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationiteration)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationiteration_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationiteration_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationiteration)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationiteration_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationiteration)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onanimationiteration ( & self , onanimationiteration : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationiteration_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationiteration : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationiteration = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationiteration , & mut __stack ) ; __widl_f_set_onanimationiteration_SVGElement ( self_ , onanimationiteration ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationiteration)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onanimationiteration ( & self , onanimationiteration : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onanimationstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationstart_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onanimationstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onanimationstart ( & self , onanimationstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationstart , & mut __stack ) ; __widl_f_set_onanimationstart_SVGElement ( self_ , onanimationstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onanimationstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onanimationstart ( & self , onanimationstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitioncancel_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitioncancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontransitioncancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitioncancel_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitioncancel_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitioncancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontransitioncancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitioncancel_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitioncancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontransitioncancel ( & self , ontransitioncancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitioncancel_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitioncancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitioncancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitioncancel , & mut __stack ) ; __widl_f_set_ontransitioncancel_SVGElement ( self_ , ontransitioncancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitioncancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontransitioncancel ( & self , ontransitioncancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitionend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontransitionend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitionend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitionend_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontransitionend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitionend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontransitionend ( & self , ontransitionend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitionend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitionend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitionend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitionend , & mut __stack ) ; __widl_f_set_ontransitionend_SVGElement ( self_ , ontransitionend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontransitionend ( & self , ontransitionend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitionrun_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionrun` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionrun)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontransitionrun ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitionrun_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitionrun_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionrun` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionrun)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontransitionrun ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitionrun_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionrun` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionrun)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontransitionrun ( & self , ontransitionrun : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitionrun_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitionrun : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitionrun = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitionrun , & mut __stack ) ; __widl_f_set_ontransitionrun_SVGElement ( self_ , ontransitionrun ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionrun` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionrun)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontransitionrun ( & self , ontransitionrun : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitionstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontransitionstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitionstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitionstart_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontransitionstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitionstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontransitionstart ( & self , ontransitionstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitionstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitionstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitionstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitionstart , & mut __stack ) ; __widl_f_set_ontransitionstart_SVGElement ( self_ , ontransitionstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontransitionstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontransitionstart ( & self , ontransitionstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkitanimationend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onwebkitanimationend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkitanimationend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkitanimationend_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onwebkitanimationend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkitanimationend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onwebkitanimationend ( & self , onwebkitanimationend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkitanimationend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkitanimationend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkitanimationend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkitanimationend , & mut __stack ) ; __widl_f_set_onwebkitanimationend_SVGElement ( self_ , onwebkitanimationend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onwebkitanimationend ( & self , onwebkitanimationend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkitanimationiteration_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onwebkitanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkitanimationiteration_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkitanimationiteration_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onwebkitanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkitanimationiteration_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onwebkitanimationiteration ( & self , onwebkitanimationiteration : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkitanimationiteration_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkitanimationiteration : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkitanimationiteration = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkitanimationiteration , & mut __stack ) ; __widl_f_set_onwebkitanimationiteration_SVGElement ( self_ , onwebkitanimationiteration ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onwebkitanimationiteration ( & self , onwebkitanimationiteration : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkitanimationstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onwebkitanimationstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkitanimationstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkitanimationstart_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onwebkitanimationstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkitanimationstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onwebkitanimationstart ( & self , onwebkitanimationstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkitanimationstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkitanimationstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkitanimationstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkitanimationstart , & mut __stack ) ; __widl_f_set_onwebkitanimationstart_SVGElement ( self_ , onwebkitanimationstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onwebkitanimationstart ( & self , onwebkitanimationstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkittransitionend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkittransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onwebkittransitionend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkittransitionend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkittransitionend_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkittransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onwebkittransitionend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkittransitionend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkittransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onwebkittransitionend ( & self , onwebkittransitionend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkittransitionend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkittransitionend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkittransitionend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkittransitionend , & mut __stack ) ; __widl_f_set_onwebkittransitionend_SVGElement ( self_ , onwebkittransitionend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkittransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onwebkittransitionend ( & self , onwebkittransitionend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onerror)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onerror)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onerror)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_SVGElement ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/onerror)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontouchstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchstart_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontouchstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchstart_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontouchstart ( & self , ontouchstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchstart_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchstart , & mut __stack ) ; __widl_f_set_ontouchstart_SVGElement ( self_ , ontouchstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchstart)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontouchstart ( & self , ontouchstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontouchend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchend_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontouchend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchend_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontouchend ( & self , ontouchend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchend_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchend , & mut __stack ) ; __widl_f_set_ontouchend_SVGElement ( self_ , ontouchend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchend)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontouchend ( & self , ontouchend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchmove_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchmove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchmove)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontouchmove ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchmove_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchmove_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchmove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchmove)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontouchmove ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchmove_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchmove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchmove)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontouchmove ( & self , ontouchmove : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchmove_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchmove : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchmove = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchmove , & mut __stack ) ; __widl_f_set_ontouchmove_SVGElement ( self_ , ontouchmove ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchmove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchmove)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontouchmove ( & self , ontouchmove : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchcancel_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchcancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontouchcancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchcancel_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchcancel_SVGElement ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchcancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn ontouchcancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchcancel_SVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgElement as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchcancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontouchcancel ( & self , ontouchcancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchcancel_SVGElement ( self_ : < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchcancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchcancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchcancel , & mut __stack ) ; __widl_f_set_ontouchcancel_SVGElement ( self_ , ontouchcancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/ontouchcancel)\n\n*This API requires the following crate features to be activated: `SvgElement`*" ] pub fn set_ontouchcancel ( & self , ontouchcancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGEllipseElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement)\n\n*This API requires the following crate features to be activated: `SvgEllipseElement`*" ] # [ repr ( transparent ) ] pub struct SvgEllipseElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgEllipseElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgEllipseElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgEllipseElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgEllipseElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgEllipseElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgEllipseElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgEllipseElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgEllipseElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgEllipseElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgEllipseElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgEllipseElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgEllipseElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgEllipseElement { # [ inline ] fn from ( obj : JsValue ) -> SvgEllipseElement { SvgEllipseElement { obj } } } impl AsRef < JsValue > for SvgEllipseElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgEllipseElement > for JsValue { # [ inline ] fn from ( obj : SvgEllipseElement ) -> JsValue { obj . obj } } impl JsCast for SvgEllipseElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGEllipseElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGEllipseElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgEllipseElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgEllipseElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgEllipseElement { type Target = SvgGeometryElement ; # [ inline ] fn deref ( & self ) -> & SvgGeometryElement { self . as_ref ( ) } } impl From < SvgEllipseElement > for SvgGeometryElement { # [ inline ] fn from ( obj : SvgEllipseElement ) -> SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGeometryElement > for SvgEllipseElement { # [ inline ] fn as_ref ( & self ) -> & SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgEllipseElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgEllipseElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgEllipseElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgEllipseElement > for SvgElement { # [ inline ] fn from ( obj : SvgEllipseElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgEllipseElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgEllipseElement > for Element { # [ inline ] fn from ( obj : SvgEllipseElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgEllipseElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgEllipseElement > for Node { # [ inline ] fn from ( obj : SvgEllipseElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgEllipseElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgEllipseElement > for EventTarget { # [ inline ] fn from ( obj : SvgEllipseElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgEllipseElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgEllipseElement > for Object { # [ inline ] fn from ( obj : SvgEllipseElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgEllipseElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cx_SVGEllipseElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgEllipseElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgEllipseElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/cx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*" ] pub fn cx ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cx_SVGEllipseElement ( self_ : < & SvgEllipseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgEllipseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cx_SVGEllipseElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/cx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*" ] pub fn cx ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cy_SVGEllipseElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgEllipseElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgEllipseElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/cy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*" ] pub fn cy ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cy_SVGEllipseElement ( self_ : < & SvgEllipseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgEllipseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cy_SVGEllipseElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/cy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*" ] pub fn cy ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rx_SVGEllipseElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgEllipseElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgEllipseElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/rx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*" ] pub fn rx ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rx_SVGEllipseElement ( self_ : < & SvgEllipseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgEllipseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rx_SVGEllipseElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/rx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*" ] pub fn rx ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ry_SVGEllipseElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgEllipseElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgEllipseElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ry` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/ry)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*" ] pub fn ry ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ry_SVGEllipseElement ( self_ : < & SvgEllipseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgEllipseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ry_SVGEllipseElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ry` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/ry)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*" ] pub fn ry ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEBlendElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement)\n\n*This API requires the following crate features to be activated: `SvgfeBlendElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeBlendElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeBlendElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeBlendElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeBlendElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeBlendElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeBlendElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeBlendElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeBlendElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeBlendElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeBlendElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeBlendElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeBlendElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeBlendElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeBlendElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeBlendElement { SvgfeBlendElement { obj } } } impl AsRef < JsValue > for SvgfeBlendElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeBlendElement > for JsValue { # [ inline ] fn from ( obj : SvgfeBlendElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeBlendElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEBlendElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEBlendElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeBlendElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeBlendElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeBlendElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeBlendElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeBlendElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeBlendElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeBlendElement > for Element { # [ inline ] fn from ( obj : SvgfeBlendElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeBlendElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeBlendElement > for Node { # [ inline ] fn from ( obj : SvgfeBlendElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeBlendElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeBlendElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeBlendElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeBlendElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeBlendElement > for Object { # [ inline ] fn from ( obj : SvgfeBlendElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeBlendElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFEBlendElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeBlendElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeBlendElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFEBlendElement ( self_ : < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFEBlendElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in2_SVGFEBlendElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeBlendElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeBlendElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/in2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*" ] pub fn in2 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in2_SVGFEBlendElement ( self_ : < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in2_SVGFEBlendElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/in2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*" ] pub fn in2 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mode_SVGFEBlendElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeBlendElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgfeBlendElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/mode)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeBlendElement`*" ] pub fn mode ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mode_SVGFEBlendElement ( self_ : < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_mode_SVGFEBlendElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/mode)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeBlendElement`*" ] pub fn mode ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEBlendElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeBlendElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeBlendElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEBlendElement ( self_ : < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEBlendElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEBlendElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeBlendElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeBlendElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEBlendElement ( self_ : < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEBlendElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFEBlendElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeBlendElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeBlendElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFEBlendElement ( self_ : < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFEBlendElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFEBlendElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeBlendElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeBlendElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFEBlendElement ( self_ : < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFEBlendElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFEBlendElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeBlendElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeBlendElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFEBlendElement ( self_ : < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeBlendElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFEBlendElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEColorMatrixElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement)\n\n*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeColorMatrixElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeColorMatrixElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeColorMatrixElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeColorMatrixElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeColorMatrixElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeColorMatrixElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeColorMatrixElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeColorMatrixElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeColorMatrixElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeColorMatrixElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeColorMatrixElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeColorMatrixElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeColorMatrixElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeColorMatrixElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeColorMatrixElement { SvgfeColorMatrixElement { obj } } } impl AsRef < JsValue > for SvgfeColorMatrixElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeColorMatrixElement > for JsValue { # [ inline ] fn from ( obj : SvgfeColorMatrixElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeColorMatrixElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEColorMatrixElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEColorMatrixElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeColorMatrixElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeColorMatrixElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeColorMatrixElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeColorMatrixElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeColorMatrixElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeColorMatrixElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeColorMatrixElement > for Element { # [ inline ] fn from ( obj : SvgfeColorMatrixElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeColorMatrixElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeColorMatrixElement > for Node { # [ inline ] fn from ( obj : SvgfeColorMatrixElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeColorMatrixElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeColorMatrixElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeColorMatrixElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeColorMatrixElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeColorMatrixElement > for Object { # [ inline ] fn from ( obj : SvgfeColorMatrixElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeColorMatrixElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFEColorMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeColorMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeColorMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeColorMatrixElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFEColorMatrixElement ( self_ : < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFEColorMatrixElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeColorMatrixElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_SVGFEColorMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeColorMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgfeColorMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/type)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeColorMatrixElement`*" ] pub fn type_ ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_SVGFEColorMatrixElement ( self_ : < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_SVGFEColorMatrixElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/type)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeColorMatrixElement`*" ] pub fn type_ ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_values_SVGFEColorMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeColorMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumberList as WasmDescribe > :: describe ( ) ; } impl SvgfeColorMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `values` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/values)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgfeColorMatrixElement`*" ] pub fn values ( & self , ) -> SvgAnimatedNumberList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_values_SVGFEColorMatrixElement ( self_ : < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumberList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_values_SVGFEColorMatrixElement ( self_ ) } ; < SvgAnimatedNumberList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `values` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/values)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgfeColorMatrixElement`*" ] pub fn values ( & self , ) -> SvgAnimatedNumberList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEColorMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeColorMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeColorMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEColorMatrixElement ( self_ : < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEColorMatrixElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEColorMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeColorMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeColorMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEColorMatrixElement ( self_ : < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEColorMatrixElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFEColorMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeColorMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeColorMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFEColorMatrixElement ( self_ : < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFEColorMatrixElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFEColorMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeColorMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeColorMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFEColorMatrixElement ( self_ : < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFEColorMatrixElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFEColorMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeColorMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeColorMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeColorMatrixElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFEColorMatrixElement ( self_ : < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeColorMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFEColorMatrixElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeColorMatrixElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEComponentTransferElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement)\n\n*This API requires the following crate features to be activated: `SvgfeComponentTransferElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeComponentTransferElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeComponentTransferElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeComponentTransferElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeComponentTransferElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeComponentTransferElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeComponentTransferElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeComponentTransferElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeComponentTransferElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeComponentTransferElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeComponentTransferElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeComponentTransferElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeComponentTransferElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeComponentTransferElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeComponentTransferElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeComponentTransferElement { SvgfeComponentTransferElement { obj } } } impl AsRef < JsValue > for SvgfeComponentTransferElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeComponentTransferElement > for JsValue { # [ inline ] fn from ( obj : SvgfeComponentTransferElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeComponentTransferElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEComponentTransferElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEComponentTransferElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeComponentTransferElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeComponentTransferElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeComponentTransferElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeComponentTransferElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeComponentTransferElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeComponentTransferElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeComponentTransferElement > for Element { # [ inline ] fn from ( obj : SvgfeComponentTransferElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeComponentTransferElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeComponentTransferElement > for Node { # [ inline ] fn from ( obj : SvgfeComponentTransferElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeComponentTransferElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeComponentTransferElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeComponentTransferElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeComponentTransferElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeComponentTransferElement > for Object { # [ inline ] fn from ( obj : SvgfeComponentTransferElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeComponentTransferElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFEComponentTransferElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeComponentTransferElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeComponentTransferElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeComponentTransferElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFEComponentTransferElement ( self_ : < & SvgfeComponentTransferElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeComponentTransferElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFEComponentTransferElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeComponentTransferElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEComponentTransferElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeComponentTransferElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeComponentTransferElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeComponentTransferElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEComponentTransferElement ( self_ : < & SvgfeComponentTransferElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeComponentTransferElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEComponentTransferElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeComponentTransferElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEComponentTransferElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeComponentTransferElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeComponentTransferElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeComponentTransferElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEComponentTransferElement ( self_ : < & SvgfeComponentTransferElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeComponentTransferElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEComponentTransferElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeComponentTransferElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFEComponentTransferElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeComponentTransferElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeComponentTransferElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeComponentTransferElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFEComponentTransferElement ( self_ : < & SvgfeComponentTransferElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeComponentTransferElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFEComponentTransferElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeComponentTransferElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFEComponentTransferElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeComponentTransferElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeComponentTransferElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeComponentTransferElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFEComponentTransferElement ( self_ : < & SvgfeComponentTransferElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeComponentTransferElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFEComponentTransferElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeComponentTransferElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFEComponentTransferElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeComponentTransferElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeComponentTransferElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeComponentTransferElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFEComponentTransferElement ( self_ : < & SvgfeComponentTransferElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeComponentTransferElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFEComponentTransferElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeComponentTransferElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFECompositeElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement)\n\n*This API requires the following crate features to be activated: `SvgfeCompositeElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeCompositeElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeCompositeElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeCompositeElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeCompositeElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeCompositeElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeCompositeElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeCompositeElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeCompositeElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeCompositeElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeCompositeElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeCompositeElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeCompositeElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeCompositeElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeCompositeElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeCompositeElement { SvgfeCompositeElement { obj } } } impl AsRef < JsValue > for SvgfeCompositeElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeCompositeElement > for JsValue { # [ inline ] fn from ( obj : SvgfeCompositeElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeCompositeElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFECompositeElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFECompositeElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeCompositeElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeCompositeElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeCompositeElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeCompositeElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeCompositeElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeCompositeElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeCompositeElement > for Element { # [ inline ] fn from ( obj : SvgfeCompositeElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeCompositeElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeCompositeElement > for Node { # [ inline ] fn from ( obj : SvgfeCompositeElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeCompositeElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeCompositeElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeCompositeElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeCompositeElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeCompositeElement > for Object { # [ inline ] fn from ( obj : SvgfeCompositeElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeCompositeElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFECompositeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeCompositeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeCompositeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFECompositeElement ( self_ : < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFECompositeElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in2_SVGFECompositeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeCompositeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeCompositeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/in2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*" ] pub fn in2 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in2_SVGFECompositeElement ( self_ : < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in2_SVGFECompositeElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/in2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*" ] pub fn in2 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_operator_SVGFECompositeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeCompositeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgfeCompositeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `operator` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/operator)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeCompositeElement`*" ] pub fn operator ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_operator_SVGFECompositeElement ( self_ : < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_operator_SVGFECompositeElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `operator` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/operator)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeCompositeElement`*" ] pub fn operator ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_k1_SVGFECompositeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeCompositeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeCompositeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `k1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*" ] pub fn k1 ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_k1_SVGFECompositeElement ( self_ : < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_k1_SVGFECompositeElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `k1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*" ] pub fn k1 ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_k2_SVGFECompositeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeCompositeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeCompositeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `k2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*" ] pub fn k2 ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_k2_SVGFECompositeElement ( self_ : < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_k2_SVGFECompositeElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `k2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*" ] pub fn k2 ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_k3_SVGFECompositeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeCompositeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeCompositeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `k3` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k3)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*" ] pub fn k3 ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_k3_SVGFECompositeElement ( self_ : < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_k3_SVGFECompositeElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `k3` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k3)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*" ] pub fn k3 ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_k4_SVGFECompositeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeCompositeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeCompositeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `k4` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k4)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*" ] pub fn k4 ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_k4_SVGFECompositeElement ( self_ : < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_k4_SVGFECompositeElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `k4` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k4)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*" ] pub fn k4 ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFECompositeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeCompositeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeCompositeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFECompositeElement ( self_ : < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFECompositeElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFECompositeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeCompositeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeCompositeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFECompositeElement ( self_ : < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFECompositeElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFECompositeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeCompositeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeCompositeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFECompositeElement ( self_ : < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFECompositeElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFECompositeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeCompositeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeCompositeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFECompositeElement ( self_ : < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFECompositeElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFECompositeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeCompositeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeCompositeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFECompositeElement ( self_ : < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeCompositeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFECompositeElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEConvolveMatrixElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement)\n\n*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeConvolveMatrixElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeConvolveMatrixElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeConvolveMatrixElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeConvolveMatrixElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeConvolveMatrixElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeConvolveMatrixElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeConvolveMatrixElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeConvolveMatrixElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeConvolveMatrixElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeConvolveMatrixElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeConvolveMatrixElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeConvolveMatrixElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeConvolveMatrixElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeConvolveMatrixElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeConvolveMatrixElement { SvgfeConvolveMatrixElement { obj } } } impl AsRef < JsValue > for SvgfeConvolveMatrixElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeConvolveMatrixElement > for JsValue { # [ inline ] fn from ( obj : SvgfeConvolveMatrixElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeConvolveMatrixElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEConvolveMatrixElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEConvolveMatrixElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeConvolveMatrixElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeConvolveMatrixElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeConvolveMatrixElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeConvolveMatrixElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeConvolveMatrixElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeConvolveMatrixElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeConvolveMatrixElement > for Element { # [ inline ] fn from ( obj : SvgfeConvolveMatrixElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeConvolveMatrixElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeConvolveMatrixElement > for Node { # [ inline ] fn from ( obj : SvgfeConvolveMatrixElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeConvolveMatrixElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeConvolveMatrixElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeConvolveMatrixElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeConvolveMatrixElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeConvolveMatrixElement > for Object { # [ inline ] fn from ( obj : SvgfeConvolveMatrixElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeConvolveMatrixElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeConvolveMatrixElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeConvolveMatrixElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_order_x_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedInteger as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `orderX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/orderX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*" ] pub fn order_x ( & self , ) -> SvgAnimatedInteger { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_order_x_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedInteger as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_order_x_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedInteger as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `orderX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/orderX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*" ] pub fn order_x ( & self , ) -> SvgAnimatedInteger { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_order_y_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedInteger as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `orderY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/orderY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*" ] pub fn order_y ( & self , ) -> SvgAnimatedInteger { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_order_y_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedInteger as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_order_y_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedInteger as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `orderY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/orderY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*" ] pub fn order_y ( & self , ) -> SvgAnimatedInteger { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kernel_matrix_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumberList as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kernelMatrix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelMatrix)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgfeConvolveMatrixElement`*" ] pub fn kernel_matrix ( & self , ) -> SvgAnimatedNumberList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kernel_matrix_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumberList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kernel_matrix_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedNumberList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kernelMatrix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelMatrix)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgfeConvolveMatrixElement`*" ] pub fn kernel_matrix ( & self , ) -> SvgAnimatedNumberList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_divisor_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `divisor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/divisor)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*" ] pub fn divisor ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_divisor_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_divisor_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `divisor` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/divisor)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*" ] pub fn divisor ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bias_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bias` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/bias)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*" ] pub fn bias ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bias_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_bias_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bias` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/bias)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*" ] pub fn bias ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_x_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedInteger as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `targetX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/targetX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*" ] pub fn target_x ( & self , ) -> SvgAnimatedInteger { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_x_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedInteger as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_x_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedInteger as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `targetX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/targetX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*" ] pub fn target_x ( & self , ) -> SvgAnimatedInteger { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_y_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedInteger as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `targetY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/targetY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*" ] pub fn target_y ( & self , ) -> SvgAnimatedInteger { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_y_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedInteger as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_y_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedInteger as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `targetY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/targetY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*" ] pub fn target_y ( & self , ) -> SvgAnimatedInteger { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_edge_mode_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `edgeMode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/edgeMode)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeConvolveMatrixElement`*" ] pub fn edge_mode ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_edge_mode_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_edge_mode_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `edgeMode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/edgeMode)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeConvolveMatrixElement`*" ] pub fn edge_mode ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kernel_unit_length_x_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kernelUnitLengthX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelUnitLengthX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*" ] pub fn kernel_unit_length_x ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kernel_unit_length_x_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kernel_unit_length_x_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kernelUnitLengthX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelUnitLengthX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*" ] pub fn kernel_unit_length_x ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kernel_unit_length_y_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kernelUnitLengthY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelUnitLengthY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*" ] pub fn kernel_unit_length_y ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kernel_unit_length_y_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kernel_unit_length_y_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kernelUnitLengthY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelUnitLengthY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*" ] pub fn kernel_unit_length_y ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_preserve_alpha_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedBoolean as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preserveAlpha` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/preserveAlpha)\n\n*This API requires the following crate features to be activated: `SvgAnimatedBoolean`, `SvgfeConvolveMatrixElement`*" ] pub fn preserve_alpha ( & self , ) -> SvgAnimatedBoolean { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_preserve_alpha_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedBoolean as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_preserve_alpha_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedBoolean as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preserveAlpha` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/preserveAlpha)\n\n*This API requires the following crate features to be activated: `SvgAnimatedBoolean`, `SvgfeConvolveMatrixElement`*" ] pub fn preserve_alpha ( & self , ) -> SvgAnimatedBoolean { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFEConvolveMatrixElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeConvolveMatrixElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeConvolveMatrixElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeConvolveMatrixElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFEConvolveMatrixElement ( self_ : < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeConvolveMatrixElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFEConvolveMatrixElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeConvolveMatrixElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEDiffuseLightingElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement)\n\n*This API requires the following crate features to be activated: `SvgfeDiffuseLightingElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeDiffuseLightingElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeDiffuseLightingElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeDiffuseLightingElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeDiffuseLightingElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeDiffuseLightingElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeDiffuseLightingElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeDiffuseLightingElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeDiffuseLightingElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeDiffuseLightingElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeDiffuseLightingElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeDiffuseLightingElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeDiffuseLightingElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeDiffuseLightingElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeDiffuseLightingElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeDiffuseLightingElement { SvgfeDiffuseLightingElement { obj } } } impl AsRef < JsValue > for SvgfeDiffuseLightingElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeDiffuseLightingElement > for JsValue { # [ inline ] fn from ( obj : SvgfeDiffuseLightingElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeDiffuseLightingElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEDiffuseLightingElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEDiffuseLightingElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeDiffuseLightingElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeDiffuseLightingElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeDiffuseLightingElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeDiffuseLightingElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeDiffuseLightingElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeDiffuseLightingElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDiffuseLightingElement > for Element { # [ inline ] fn from ( obj : SvgfeDiffuseLightingElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeDiffuseLightingElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDiffuseLightingElement > for Node { # [ inline ] fn from ( obj : SvgfeDiffuseLightingElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeDiffuseLightingElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDiffuseLightingElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeDiffuseLightingElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeDiffuseLightingElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDiffuseLightingElement > for Object { # [ inline ] fn from ( obj : SvgfeDiffuseLightingElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeDiffuseLightingElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFEDiffuseLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDiffuseLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeDiffuseLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDiffuseLightingElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFEDiffuseLightingElement ( self_ : < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFEDiffuseLightingElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDiffuseLightingElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_surface_scale_SVGFEDiffuseLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDiffuseLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeDiffuseLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `surfaceScale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/surfaceScale)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDiffuseLightingElement`*" ] pub fn surface_scale ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_surface_scale_SVGFEDiffuseLightingElement ( self_ : < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_surface_scale_SVGFEDiffuseLightingElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `surfaceScale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/surfaceScale)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDiffuseLightingElement`*" ] pub fn surface_scale ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_diffuse_constant_SVGFEDiffuseLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDiffuseLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeDiffuseLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `diffuseConstant` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/diffuseConstant)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDiffuseLightingElement`*" ] pub fn diffuse_constant ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_diffuse_constant_SVGFEDiffuseLightingElement ( self_ : < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_diffuse_constant_SVGFEDiffuseLightingElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `diffuseConstant` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/diffuseConstant)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDiffuseLightingElement`*" ] pub fn diffuse_constant ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kernel_unit_length_x_SVGFEDiffuseLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDiffuseLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeDiffuseLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kernelUnitLengthX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDiffuseLightingElement`*" ] pub fn kernel_unit_length_x ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kernel_unit_length_x_SVGFEDiffuseLightingElement ( self_ : < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kernel_unit_length_x_SVGFEDiffuseLightingElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kernelUnitLengthX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDiffuseLightingElement`*" ] pub fn kernel_unit_length_x ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kernel_unit_length_y_SVGFEDiffuseLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDiffuseLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeDiffuseLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kernelUnitLengthY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDiffuseLightingElement`*" ] pub fn kernel_unit_length_y ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kernel_unit_length_y_SVGFEDiffuseLightingElement ( self_ : < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kernel_unit_length_y_SVGFEDiffuseLightingElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kernelUnitLengthY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDiffuseLightingElement`*" ] pub fn kernel_unit_length_y ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEDiffuseLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDiffuseLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeDiffuseLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDiffuseLightingElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEDiffuseLightingElement ( self_ : < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEDiffuseLightingElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDiffuseLightingElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEDiffuseLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDiffuseLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeDiffuseLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDiffuseLightingElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEDiffuseLightingElement ( self_ : < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEDiffuseLightingElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDiffuseLightingElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFEDiffuseLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDiffuseLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeDiffuseLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDiffuseLightingElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFEDiffuseLightingElement ( self_ : < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFEDiffuseLightingElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDiffuseLightingElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFEDiffuseLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDiffuseLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeDiffuseLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDiffuseLightingElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFEDiffuseLightingElement ( self_ : < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFEDiffuseLightingElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDiffuseLightingElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFEDiffuseLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDiffuseLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeDiffuseLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDiffuseLightingElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFEDiffuseLightingElement ( self_ : < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDiffuseLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFEDiffuseLightingElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDiffuseLightingElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEDisplacementMapElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement)\n\n*This API requires the following crate features to be activated: `SvgfeDisplacementMapElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeDisplacementMapElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeDisplacementMapElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeDisplacementMapElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeDisplacementMapElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeDisplacementMapElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeDisplacementMapElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeDisplacementMapElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeDisplacementMapElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeDisplacementMapElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeDisplacementMapElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeDisplacementMapElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeDisplacementMapElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeDisplacementMapElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeDisplacementMapElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeDisplacementMapElement { SvgfeDisplacementMapElement { obj } } } impl AsRef < JsValue > for SvgfeDisplacementMapElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeDisplacementMapElement > for JsValue { # [ inline ] fn from ( obj : SvgfeDisplacementMapElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeDisplacementMapElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEDisplacementMapElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEDisplacementMapElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeDisplacementMapElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeDisplacementMapElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeDisplacementMapElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeDisplacementMapElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeDisplacementMapElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeDisplacementMapElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDisplacementMapElement > for Element { # [ inline ] fn from ( obj : SvgfeDisplacementMapElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeDisplacementMapElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDisplacementMapElement > for Node { # [ inline ] fn from ( obj : SvgfeDisplacementMapElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeDisplacementMapElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDisplacementMapElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeDisplacementMapElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeDisplacementMapElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDisplacementMapElement > for Object { # [ inline ] fn from ( obj : SvgfeDisplacementMapElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeDisplacementMapElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFEDisplacementMapElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDisplacementMapElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeDisplacementMapElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFEDisplacementMapElement ( self_ : < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFEDisplacementMapElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in2_SVGFEDisplacementMapElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDisplacementMapElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeDisplacementMapElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/in2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*" ] pub fn in2 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in2_SVGFEDisplacementMapElement ( self_ : < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in2_SVGFEDisplacementMapElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/in2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*" ] pub fn in2 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_SVGFEDisplacementMapElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDisplacementMapElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeDisplacementMapElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/scale)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDisplacementMapElement`*" ] pub fn scale ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_SVGFEDisplacementMapElement ( self_ : < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scale_SVGFEDisplacementMapElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/scale)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDisplacementMapElement`*" ] pub fn scale ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_channel_selector_SVGFEDisplacementMapElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDisplacementMapElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgfeDisplacementMapElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `xChannelSelector` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/xChannelSelector)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeDisplacementMapElement`*" ] pub fn x_channel_selector ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_channel_selector_SVGFEDisplacementMapElement ( self_ : < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_channel_selector_SVGFEDisplacementMapElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `xChannelSelector` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/xChannelSelector)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeDisplacementMapElement`*" ] pub fn x_channel_selector ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_channel_selector_SVGFEDisplacementMapElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDisplacementMapElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgfeDisplacementMapElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `yChannelSelector` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/yChannelSelector)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeDisplacementMapElement`*" ] pub fn y_channel_selector ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_channel_selector_SVGFEDisplacementMapElement ( self_ : < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_channel_selector_SVGFEDisplacementMapElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `yChannelSelector` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/yChannelSelector)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeDisplacementMapElement`*" ] pub fn y_channel_selector ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEDisplacementMapElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDisplacementMapElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeDisplacementMapElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEDisplacementMapElement ( self_ : < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEDisplacementMapElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEDisplacementMapElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDisplacementMapElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeDisplacementMapElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEDisplacementMapElement ( self_ : < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEDisplacementMapElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFEDisplacementMapElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDisplacementMapElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeDisplacementMapElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFEDisplacementMapElement ( self_ : < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFEDisplacementMapElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFEDisplacementMapElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDisplacementMapElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeDisplacementMapElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFEDisplacementMapElement ( self_ : < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFEDisplacementMapElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDisplacementMapElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFEDisplacementMapElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDisplacementMapElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeDisplacementMapElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFEDisplacementMapElement ( self_ : < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDisplacementMapElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFEDisplacementMapElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDisplacementMapElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEDistantLightElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement)\n\n*This API requires the following crate features to be activated: `SvgfeDistantLightElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeDistantLightElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeDistantLightElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeDistantLightElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeDistantLightElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeDistantLightElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeDistantLightElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeDistantLightElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeDistantLightElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeDistantLightElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeDistantLightElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeDistantLightElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeDistantLightElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeDistantLightElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeDistantLightElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeDistantLightElement { SvgfeDistantLightElement { obj } } } impl AsRef < JsValue > for SvgfeDistantLightElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeDistantLightElement > for JsValue { # [ inline ] fn from ( obj : SvgfeDistantLightElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeDistantLightElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEDistantLightElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEDistantLightElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeDistantLightElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeDistantLightElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeDistantLightElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeDistantLightElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeDistantLightElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeDistantLightElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDistantLightElement > for Element { # [ inline ] fn from ( obj : SvgfeDistantLightElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeDistantLightElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDistantLightElement > for Node { # [ inline ] fn from ( obj : SvgfeDistantLightElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeDistantLightElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDistantLightElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeDistantLightElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeDistantLightElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDistantLightElement > for Object { # [ inline ] fn from ( obj : SvgfeDistantLightElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeDistantLightElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_azimuth_SVGFEDistantLightElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDistantLightElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeDistantLightElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `azimuth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement/azimuth)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDistantLightElement`*" ] pub fn azimuth ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_azimuth_SVGFEDistantLightElement ( self_ : < & SvgfeDistantLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDistantLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_azimuth_SVGFEDistantLightElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `azimuth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement/azimuth)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDistantLightElement`*" ] pub fn azimuth ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_elevation_SVGFEDistantLightElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDistantLightElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeDistantLightElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `elevation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement/elevation)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDistantLightElement`*" ] pub fn elevation ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_elevation_SVGFEDistantLightElement ( self_ : < & SvgfeDistantLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDistantLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_elevation_SVGFEDistantLightElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `elevation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement/elevation)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDistantLightElement`*" ] pub fn elevation ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEDropShadowElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement)\n\n*This API requires the following crate features to be activated: `SvgfeDropShadowElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeDropShadowElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeDropShadowElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeDropShadowElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeDropShadowElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeDropShadowElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeDropShadowElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeDropShadowElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeDropShadowElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeDropShadowElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeDropShadowElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeDropShadowElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeDropShadowElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeDropShadowElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeDropShadowElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeDropShadowElement { SvgfeDropShadowElement { obj } } } impl AsRef < JsValue > for SvgfeDropShadowElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeDropShadowElement > for JsValue { # [ inline ] fn from ( obj : SvgfeDropShadowElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeDropShadowElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEDropShadowElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEDropShadowElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeDropShadowElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeDropShadowElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeDropShadowElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeDropShadowElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeDropShadowElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeDropShadowElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDropShadowElement > for Element { # [ inline ] fn from ( obj : SvgfeDropShadowElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeDropShadowElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDropShadowElement > for Node { # [ inline ] fn from ( obj : SvgfeDropShadowElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeDropShadowElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDropShadowElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeDropShadowElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeDropShadowElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeDropShadowElement > for Object { # [ inline ] fn from ( obj : SvgfeDropShadowElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeDropShadowElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_std_deviation_SVGFEDropShadowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgfeDropShadowElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgfeDropShadowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setStdDeviation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/setStdDeviation)\n\n*This API requires the following crate features to be activated: `SvgfeDropShadowElement`*" ] pub fn set_std_deviation ( & self , std_deviation_x : f32 , std_deviation_y : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_std_deviation_SVGFEDropShadowElement ( self_ : < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , std_deviation_x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , std_deviation_y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let std_deviation_x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( std_deviation_x , & mut __stack ) ; let std_deviation_y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( std_deviation_y , & mut __stack ) ; __widl_f_set_std_deviation_SVGFEDropShadowElement ( self_ , std_deviation_x , std_deviation_y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setStdDeviation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/setStdDeviation)\n\n*This API requires the following crate features to be activated: `SvgfeDropShadowElement`*" ] pub fn set_std_deviation ( & self , std_deviation_x : f32 , std_deviation_y : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFEDropShadowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDropShadowElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeDropShadowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDropShadowElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFEDropShadowElement ( self_ : < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFEDropShadowElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDropShadowElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dx_SVGFEDropShadowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDropShadowElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeDropShadowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/dx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*" ] pub fn dx ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dx_SVGFEDropShadowElement ( self_ : < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dx_SVGFEDropShadowElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/dx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*" ] pub fn dx ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dy_SVGFEDropShadowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDropShadowElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeDropShadowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/dy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*" ] pub fn dy ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dy_SVGFEDropShadowElement ( self_ : < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dy_SVGFEDropShadowElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/dy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*" ] pub fn dy ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_std_deviation_x_SVGFEDropShadowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDropShadowElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeDropShadowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stdDeviationX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/stdDeviationX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*" ] pub fn std_deviation_x ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_std_deviation_x_SVGFEDropShadowElement ( self_ : < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_std_deviation_x_SVGFEDropShadowElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stdDeviationX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/stdDeviationX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*" ] pub fn std_deviation_x ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_std_deviation_y_SVGFEDropShadowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDropShadowElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeDropShadowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stdDeviationY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/stdDeviationY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*" ] pub fn std_deviation_y ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_std_deviation_y_SVGFEDropShadowElement ( self_ : < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_std_deviation_y_SVGFEDropShadowElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stdDeviationY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/stdDeviationY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*" ] pub fn std_deviation_y ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEDropShadowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDropShadowElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeDropShadowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEDropShadowElement ( self_ : < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEDropShadowElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEDropShadowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDropShadowElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeDropShadowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEDropShadowElement ( self_ : < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEDropShadowElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFEDropShadowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDropShadowElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeDropShadowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFEDropShadowElement ( self_ : < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFEDropShadowElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFEDropShadowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDropShadowElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeDropShadowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFEDropShadowElement ( self_ : < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFEDropShadowElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFEDropShadowElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeDropShadowElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeDropShadowElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDropShadowElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFEDropShadowElement ( self_ : < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeDropShadowElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFEDropShadowElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDropShadowElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEFloodElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement)\n\n*This API requires the following crate features to be activated: `SvgfeFloodElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeFloodElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeFloodElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeFloodElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeFloodElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeFloodElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeFloodElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeFloodElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeFloodElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeFloodElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeFloodElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeFloodElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeFloodElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeFloodElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeFloodElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeFloodElement { SvgfeFloodElement { obj } } } impl AsRef < JsValue > for SvgfeFloodElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeFloodElement > for JsValue { # [ inline ] fn from ( obj : SvgfeFloodElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeFloodElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEFloodElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEFloodElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeFloodElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeFloodElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeFloodElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeFloodElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeFloodElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeFloodElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFloodElement > for Element { # [ inline ] fn from ( obj : SvgfeFloodElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeFloodElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFloodElement > for Node { # [ inline ] fn from ( obj : SvgfeFloodElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeFloodElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFloodElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeFloodElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeFloodElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFloodElement > for Object { # [ inline ] fn from ( obj : SvgfeFloodElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeFloodElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEFloodElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeFloodElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeFloodElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeFloodElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEFloodElement ( self_ : < & SvgfeFloodElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeFloodElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEFloodElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeFloodElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEFloodElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeFloodElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeFloodElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeFloodElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEFloodElement ( self_ : < & SvgfeFloodElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeFloodElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEFloodElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeFloodElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFEFloodElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeFloodElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeFloodElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeFloodElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFEFloodElement ( self_ : < & SvgfeFloodElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeFloodElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFEFloodElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeFloodElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFEFloodElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeFloodElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeFloodElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeFloodElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFEFloodElement ( self_ : < & SvgfeFloodElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeFloodElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFEFloodElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeFloodElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFEFloodElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeFloodElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeFloodElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeFloodElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFEFloodElement ( self_ : < & SvgfeFloodElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeFloodElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFEFloodElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeFloodElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEFuncAElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncAElement)\n\n*This API requires the following crate features to be activated: `SvgfeFuncAElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeFuncAElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeFuncAElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeFuncAElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeFuncAElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeFuncAElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeFuncAElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeFuncAElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeFuncAElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeFuncAElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeFuncAElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeFuncAElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeFuncAElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeFuncAElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeFuncAElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeFuncAElement { SvgfeFuncAElement { obj } } } impl AsRef < JsValue > for SvgfeFuncAElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeFuncAElement > for JsValue { # [ inline ] fn from ( obj : SvgfeFuncAElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeFuncAElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEFuncAElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEFuncAElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeFuncAElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeFuncAElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeFuncAElement { type Target = SvgComponentTransferFunctionElement ; # [ inline ] fn deref ( & self ) -> & SvgComponentTransferFunctionElement { self . as_ref ( ) } } impl From < SvgfeFuncAElement > for SvgComponentTransferFunctionElement { # [ inline ] fn from ( obj : SvgfeFuncAElement ) -> SvgComponentTransferFunctionElement { use wasm_bindgen :: JsCast ; SvgComponentTransferFunctionElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgComponentTransferFunctionElement > for SvgfeFuncAElement { # [ inline ] fn as_ref ( & self ) -> & SvgComponentTransferFunctionElement { use wasm_bindgen :: JsCast ; SvgComponentTransferFunctionElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncAElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeFuncAElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeFuncAElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncAElement > for Element { # [ inline ] fn from ( obj : SvgfeFuncAElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeFuncAElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncAElement > for Node { # [ inline ] fn from ( obj : SvgfeFuncAElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeFuncAElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncAElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeFuncAElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeFuncAElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncAElement > for Object { # [ inline ] fn from ( obj : SvgfeFuncAElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeFuncAElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEFuncBElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncBElement)\n\n*This API requires the following crate features to be activated: `SvgfeFuncBElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeFuncBElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeFuncBElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeFuncBElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeFuncBElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeFuncBElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeFuncBElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeFuncBElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeFuncBElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeFuncBElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeFuncBElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeFuncBElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeFuncBElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeFuncBElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeFuncBElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeFuncBElement { SvgfeFuncBElement { obj } } } impl AsRef < JsValue > for SvgfeFuncBElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeFuncBElement > for JsValue { # [ inline ] fn from ( obj : SvgfeFuncBElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeFuncBElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEFuncBElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEFuncBElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeFuncBElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeFuncBElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeFuncBElement { type Target = SvgComponentTransferFunctionElement ; # [ inline ] fn deref ( & self ) -> & SvgComponentTransferFunctionElement { self . as_ref ( ) } } impl From < SvgfeFuncBElement > for SvgComponentTransferFunctionElement { # [ inline ] fn from ( obj : SvgfeFuncBElement ) -> SvgComponentTransferFunctionElement { use wasm_bindgen :: JsCast ; SvgComponentTransferFunctionElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgComponentTransferFunctionElement > for SvgfeFuncBElement { # [ inline ] fn as_ref ( & self ) -> & SvgComponentTransferFunctionElement { use wasm_bindgen :: JsCast ; SvgComponentTransferFunctionElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncBElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeFuncBElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeFuncBElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncBElement > for Element { # [ inline ] fn from ( obj : SvgfeFuncBElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeFuncBElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncBElement > for Node { # [ inline ] fn from ( obj : SvgfeFuncBElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeFuncBElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncBElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeFuncBElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeFuncBElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncBElement > for Object { # [ inline ] fn from ( obj : SvgfeFuncBElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeFuncBElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEFuncGElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncGElement)\n\n*This API requires the following crate features to be activated: `SvgfeFuncGElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeFuncGElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeFuncGElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeFuncGElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeFuncGElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeFuncGElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeFuncGElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeFuncGElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeFuncGElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeFuncGElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeFuncGElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeFuncGElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeFuncGElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeFuncGElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeFuncGElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeFuncGElement { SvgfeFuncGElement { obj } } } impl AsRef < JsValue > for SvgfeFuncGElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeFuncGElement > for JsValue { # [ inline ] fn from ( obj : SvgfeFuncGElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeFuncGElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEFuncGElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEFuncGElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeFuncGElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeFuncGElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeFuncGElement { type Target = SvgComponentTransferFunctionElement ; # [ inline ] fn deref ( & self ) -> & SvgComponentTransferFunctionElement { self . as_ref ( ) } } impl From < SvgfeFuncGElement > for SvgComponentTransferFunctionElement { # [ inline ] fn from ( obj : SvgfeFuncGElement ) -> SvgComponentTransferFunctionElement { use wasm_bindgen :: JsCast ; SvgComponentTransferFunctionElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgComponentTransferFunctionElement > for SvgfeFuncGElement { # [ inline ] fn as_ref ( & self ) -> & SvgComponentTransferFunctionElement { use wasm_bindgen :: JsCast ; SvgComponentTransferFunctionElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncGElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeFuncGElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeFuncGElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncGElement > for Element { # [ inline ] fn from ( obj : SvgfeFuncGElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeFuncGElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncGElement > for Node { # [ inline ] fn from ( obj : SvgfeFuncGElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeFuncGElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncGElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeFuncGElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeFuncGElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncGElement > for Object { # [ inline ] fn from ( obj : SvgfeFuncGElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeFuncGElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEFuncRElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncRElement)\n\n*This API requires the following crate features to be activated: `SvgfeFuncRElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeFuncRElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeFuncRElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeFuncRElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeFuncRElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeFuncRElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeFuncRElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeFuncRElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeFuncRElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeFuncRElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeFuncRElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeFuncRElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeFuncRElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeFuncRElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeFuncRElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeFuncRElement { SvgfeFuncRElement { obj } } } impl AsRef < JsValue > for SvgfeFuncRElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeFuncRElement > for JsValue { # [ inline ] fn from ( obj : SvgfeFuncRElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeFuncRElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEFuncRElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEFuncRElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeFuncRElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeFuncRElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeFuncRElement { type Target = SvgComponentTransferFunctionElement ; # [ inline ] fn deref ( & self ) -> & SvgComponentTransferFunctionElement { self . as_ref ( ) } } impl From < SvgfeFuncRElement > for SvgComponentTransferFunctionElement { # [ inline ] fn from ( obj : SvgfeFuncRElement ) -> SvgComponentTransferFunctionElement { use wasm_bindgen :: JsCast ; SvgComponentTransferFunctionElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgComponentTransferFunctionElement > for SvgfeFuncRElement { # [ inline ] fn as_ref ( & self ) -> & SvgComponentTransferFunctionElement { use wasm_bindgen :: JsCast ; SvgComponentTransferFunctionElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncRElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeFuncRElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeFuncRElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncRElement > for Element { # [ inline ] fn from ( obj : SvgfeFuncRElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeFuncRElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncRElement > for Node { # [ inline ] fn from ( obj : SvgfeFuncRElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeFuncRElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncRElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeFuncRElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeFuncRElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeFuncRElement > for Object { # [ inline ] fn from ( obj : SvgfeFuncRElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeFuncRElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEGaussianBlurElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement)\n\n*This API requires the following crate features to be activated: `SvgfeGaussianBlurElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeGaussianBlurElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeGaussianBlurElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeGaussianBlurElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeGaussianBlurElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeGaussianBlurElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeGaussianBlurElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeGaussianBlurElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeGaussianBlurElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeGaussianBlurElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeGaussianBlurElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeGaussianBlurElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeGaussianBlurElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeGaussianBlurElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeGaussianBlurElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeGaussianBlurElement { SvgfeGaussianBlurElement { obj } } } impl AsRef < JsValue > for SvgfeGaussianBlurElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeGaussianBlurElement > for JsValue { # [ inline ] fn from ( obj : SvgfeGaussianBlurElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeGaussianBlurElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEGaussianBlurElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEGaussianBlurElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeGaussianBlurElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeGaussianBlurElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeGaussianBlurElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeGaussianBlurElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeGaussianBlurElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeGaussianBlurElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeGaussianBlurElement > for Element { # [ inline ] fn from ( obj : SvgfeGaussianBlurElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeGaussianBlurElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeGaussianBlurElement > for Node { # [ inline ] fn from ( obj : SvgfeGaussianBlurElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeGaussianBlurElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeGaussianBlurElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeGaussianBlurElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeGaussianBlurElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeGaussianBlurElement > for Object { # [ inline ] fn from ( obj : SvgfeGaussianBlurElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeGaussianBlurElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_std_deviation_SVGFEGaussianBlurElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgfeGaussianBlurElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgfeGaussianBlurElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setStdDeviation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/setStdDeviation)\n\n*This API requires the following crate features to be activated: `SvgfeGaussianBlurElement`*" ] pub fn set_std_deviation ( & self , std_deviation_x : f32 , std_deviation_y : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_std_deviation_SVGFEGaussianBlurElement ( self_ : < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , std_deviation_x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , std_deviation_y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let std_deviation_x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( std_deviation_x , & mut __stack ) ; let std_deviation_y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( std_deviation_y , & mut __stack ) ; __widl_f_set_std_deviation_SVGFEGaussianBlurElement ( self_ , std_deviation_x , std_deviation_y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setStdDeviation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/setStdDeviation)\n\n*This API requires the following crate features to be activated: `SvgfeGaussianBlurElement`*" ] pub fn set_std_deviation ( & self , std_deviation_x : f32 , std_deviation_y : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFEGaussianBlurElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeGaussianBlurElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeGaussianBlurElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeGaussianBlurElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFEGaussianBlurElement ( self_ : < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFEGaussianBlurElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeGaussianBlurElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_std_deviation_x_SVGFEGaussianBlurElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeGaussianBlurElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeGaussianBlurElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stdDeviationX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeGaussianBlurElement`*" ] pub fn std_deviation_x ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_std_deviation_x_SVGFEGaussianBlurElement ( self_ : < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_std_deviation_x_SVGFEGaussianBlurElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stdDeviationX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeGaussianBlurElement`*" ] pub fn std_deviation_x ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_std_deviation_y_SVGFEGaussianBlurElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeGaussianBlurElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeGaussianBlurElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stdDeviationY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeGaussianBlurElement`*" ] pub fn std_deviation_y ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_std_deviation_y_SVGFEGaussianBlurElement ( self_ : < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_std_deviation_y_SVGFEGaussianBlurElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stdDeviationY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeGaussianBlurElement`*" ] pub fn std_deviation_y ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEGaussianBlurElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeGaussianBlurElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeGaussianBlurElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEGaussianBlurElement ( self_ : < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEGaussianBlurElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEGaussianBlurElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeGaussianBlurElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeGaussianBlurElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEGaussianBlurElement ( self_ : < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEGaussianBlurElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFEGaussianBlurElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeGaussianBlurElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeGaussianBlurElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFEGaussianBlurElement ( self_ : < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFEGaussianBlurElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFEGaussianBlurElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeGaussianBlurElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeGaussianBlurElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFEGaussianBlurElement ( self_ : < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFEGaussianBlurElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFEGaussianBlurElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeGaussianBlurElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeGaussianBlurElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeGaussianBlurElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFEGaussianBlurElement ( self_ : < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeGaussianBlurElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFEGaussianBlurElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeGaussianBlurElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEImageElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement)\n\n*This API requires the following crate features to be activated: `SvgfeImageElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeImageElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeImageElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeImageElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeImageElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeImageElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeImageElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeImageElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeImageElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeImageElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeImageElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeImageElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeImageElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeImageElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeImageElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeImageElement { SvgfeImageElement { obj } } } impl AsRef < JsValue > for SvgfeImageElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeImageElement > for JsValue { # [ inline ] fn from ( obj : SvgfeImageElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeImageElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEImageElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEImageElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeImageElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeImageElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeImageElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeImageElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeImageElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeImageElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeImageElement > for Element { # [ inline ] fn from ( obj : SvgfeImageElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeImageElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeImageElement > for Node { # [ inline ] fn from ( obj : SvgfeImageElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeImageElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeImageElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeImageElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeImageElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeImageElement > for Object { # [ inline ] fn from ( obj : SvgfeImageElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeImageElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_preserve_aspect_ratio_SVGFEImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeImageElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedPreserveAspectRatio as WasmDescribe > :: describe ( ) ; } impl SvgfeImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgfeImageElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_preserve_aspect_ratio_SVGFEImageElement ( self_ : < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_preserve_aspect_ratio_SVGFEImageElement ( self_ ) } ; < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgfeImageElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeImageElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEImageElement ( self_ : < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEImageElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeImageElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEImageElement ( self_ : < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEImageElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFEImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeImageElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFEImageElement ( self_ : < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFEImageElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFEImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeImageElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFEImageElement ( self_ : < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFEImageElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeImageElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFEImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeImageElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeImageElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFEImageElement ( self_ : < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFEImageElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeImageElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_SVGFEImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeImageElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeImageElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_SVGFEImageElement ( self_ : < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_SVGFEImageElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeImageElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEMergeElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement)\n\n*This API requires the following crate features to be activated: `SvgfeMergeElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeMergeElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeMergeElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeMergeElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeMergeElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeMergeElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeMergeElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeMergeElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeMergeElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeMergeElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeMergeElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeMergeElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeMergeElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeMergeElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeMergeElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeMergeElement { SvgfeMergeElement { obj } } } impl AsRef < JsValue > for SvgfeMergeElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeMergeElement > for JsValue { # [ inline ] fn from ( obj : SvgfeMergeElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeMergeElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEMergeElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEMergeElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeMergeElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeMergeElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeMergeElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeMergeElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeMergeElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeMergeElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeMergeElement > for Element { # [ inline ] fn from ( obj : SvgfeMergeElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeMergeElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeMergeElement > for Node { # [ inline ] fn from ( obj : SvgfeMergeElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeMergeElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeMergeElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeMergeElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeMergeElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeMergeElement > for Object { # [ inline ] fn from ( obj : SvgfeMergeElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeMergeElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEMergeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMergeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeMergeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMergeElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEMergeElement ( self_ : < & SvgfeMergeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMergeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEMergeElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMergeElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEMergeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMergeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeMergeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMergeElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEMergeElement ( self_ : < & SvgfeMergeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMergeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEMergeElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMergeElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFEMergeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMergeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeMergeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMergeElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFEMergeElement ( self_ : < & SvgfeMergeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMergeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFEMergeElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMergeElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFEMergeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMergeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeMergeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMergeElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFEMergeElement ( self_ : < & SvgfeMergeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMergeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFEMergeElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMergeElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFEMergeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMergeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeMergeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMergeElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFEMergeElement ( self_ : < & SvgfeMergeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMergeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFEMergeElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMergeElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEMergeNodeElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeNodeElement)\n\n*This API requires the following crate features to be activated: `SvgfeMergeNodeElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeMergeNodeElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeMergeNodeElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeMergeNodeElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeMergeNodeElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeMergeNodeElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeMergeNodeElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeMergeNodeElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeMergeNodeElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeMergeNodeElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeMergeNodeElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeMergeNodeElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeMergeNodeElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeMergeNodeElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeMergeNodeElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeMergeNodeElement { SvgfeMergeNodeElement { obj } } } impl AsRef < JsValue > for SvgfeMergeNodeElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeMergeNodeElement > for JsValue { # [ inline ] fn from ( obj : SvgfeMergeNodeElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeMergeNodeElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEMergeNodeElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEMergeNodeElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeMergeNodeElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeMergeNodeElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeMergeNodeElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeMergeNodeElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeMergeNodeElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeMergeNodeElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeMergeNodeElement > for Element { # [ inline ] fn from ( obj : SvgfeMergeNodeElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeMergeNodeElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeMergeNodeElement > for Node { # [ inline ] fn from ( obj : SvgfeMergeNodeElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeMergeNodeElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeMergeNodeElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeMergeNodeElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeMergeNodeElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeMergeNodeElement > for Object { # [ inline ] fn from ( obj : SvgfeMergeNodeElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeMergeNodeElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFEMergeNodeElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMergeNodeElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeMergeNodeElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeNodeElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMergeNodeElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFEMergeNodeElement ( self_ : < & SvgfeMergeNodeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMergeNodeElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFEMergeNodeElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeNodeElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMergeNodeElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEMorphologyElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement)\n\n*This API requires the following crate features to be activated: `SvgfeMorphologyElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeMorphologyElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeMorphologyElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeMorphologyElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeMorphologyElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeMorphologyElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeMorphologyElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeMorphologyElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeMorphologyElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeMorphologyElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeMorphologyElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeMorphologyElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeMorphologyElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeMorphologyElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeMorphologyElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeMorphologyElement { SvgfeMorphologyElement { obj } } } impl AsRef < JsValue > for SvgfeMorphologyElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeMorphologyElement > for JsValue { # [ inline ] fn from ( obj : SvgfeMorphologyElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeMorphologyElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEMorphologyElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEMorphologyElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeMorphologyElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeMorphologyElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeMorphologyElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeMorphologyElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeMorphologyElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeMorphologyElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeMorphologyElement > for Element { # [ inline ] fn from ( obj : SvgfeMorphologyElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeMorphologyElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeMorphologyElement > for Node { # [ inline ] fn from ( obj : SvgfeMorphologyElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeMorphologyElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeMorphologyElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeMorphologyElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeMorphologyElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeMorphologyElement > for Object { # [ inline ] fn from ( obj : SvgfeMorphologyElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeMorphologyElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFEMorphologyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMorphologyElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeMorphologyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMorphologyElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFEMorphologyElement ( self_ : < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFEMorphologyElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMorphologyElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_operator_SVGFEMorphologyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMorphologyElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgfeMorphologyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `operator` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/operator)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeMorphologyElement`*" ] pub fn operator ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_operator_SVGFEMorphologyElement ( self_ : < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_operator_SVGFEMorphologyElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `operator` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/operator)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeMorphologyElement`*" ] pub fn operator ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_radius_x_SVGFEMorphologyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMorphologyElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeMorphologyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `radiusX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/radiusX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeMorphologyElement`*" ] pub fn radius_x ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_radius_x_SVGFEMorphologyElement ( self_ : < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_radius_x_SVGFEMorphologyElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `radiusX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/radiusX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeMorphologyElement`*" ] pub fn radius_x ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_radius_y_SVGFEMorphologyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMorphologyElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeMorphologyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `radiusY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/radiusY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeMorphologyElement`*" ] pub fn radius_y ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_radius_y_SVGFEMorphologyElement ( self_ : < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_radius_y_SVGFEMorphologyElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `radiusY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/radiusY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeMorphologyElement`*" ] pub fn radius_y ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEMorphologyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMorphologyElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeMorphologyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEMorphologyElement ( self_ : < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEMorphologyElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEMorphologyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMorphologyElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeMorphologyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEMorphologyElement ( self_ : < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEMorphologyElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFEMorphologyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMorphologyElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeMorphologyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFEMorphologyElement ( self_ : < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFEMorphologyElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFEMorphologyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMorphologyElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeMorphologyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFEMorphologyElement ( self_ : < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFEMorphologyElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFEMorphologyElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeMorphologyElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeMorphologyElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMorphologyElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFEMorphologyElement ( self_ : < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeMorphologyElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFEMorphologyElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMorphologyElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEOffsetElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement)\n\n*This API requires the following crate features to be activated: `SvgfeOffsetElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeOffsetElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeOffsetElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeOffsetElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeOffsetElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeOffsetElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeOffsetElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeOffsetElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeOffsetElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeOffsetElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeOffsetElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeOffsetElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeOffsetElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeOffsetElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeOffsetElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeOffsetElement { SvgfeOffsetElement { obj } } } impl AsRef < JsValue > for SvgfeOffsetElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeOffsetElement > for JsValue { # [ inline ] fn from ( obj : SvgfeOffsetElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeOffsetElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEOffsetElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEOffsetElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeOffsetElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeOffsetElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeOffsetElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeOffsetElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeOffsetElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeOffsetElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeOffsetElement > for Element { # [ inline ] fn from ( obj : SvgfeOffsetElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeOffsetElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeOffsetElement > for Node { # [ inline ] fn from ( obj : SvgfeOffsetElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeOffsetElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeOffsetElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeOffsetElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeOffsetElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeOffsetElement > for Object { # [ inline ] fn from ( obj : SvgfeOffsetElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeOffsetElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFEOffsetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeOffsetElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeOffsetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeOffsetElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFEOffsetElement ( self_ : < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFEOffsetElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeOffsetElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dx_SVGFEOffsetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeOffsetElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeOffsetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/dx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeOffsetElement`*" ] pub fn dx ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dx_SVGFEOffsetElement ( self_ : < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dx_SVGFEOffsetElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/dx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeOffsetElement`*" ] pub fn dx ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dy_SVGFEOffsetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeOffsetElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeOffsetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/dy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeOffsetElement`*" ] pub fn dy ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dy_SVGFEOffsetElement ( self_ : < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dy_SVGFEOffsetElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/dy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeOffsetElement`*" ] pub fn dy ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEOffsetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeOffsetElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeOffsetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEOffsetElement ( self_ : < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEOffsetElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEOffsetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeOffsetElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeOffsetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEOffsetElement ( self_ : < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEOffsetElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFEOffsetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeOffsetElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeOffsetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFEOffsetElement ( self_ : < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFEOffsetElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFEOffsetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeOffsetElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeOffsetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFEOffsetElement ( self_ : < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFEOffsetElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFEOffsetElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeOffsetElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeOffsetElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeOffsetElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFEOffsetElement ( self_ : < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeOffsetElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFEOffsetElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeOffsetElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFEPointLightElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement)\n\n*This API requires the following crate features to be activated: `SvgfePointLightElement`*" ] # [ repr ( transparent ) ] pub struct SvgfePointLightElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfePointLightElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfePointLightElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfePointLightElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfePointLightElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfePointLightElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfePointLightElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfePointLightElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfePointLightElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfePointLightElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfePointLightElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfePointLightElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfePointLightElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfePointLightElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfePointLightElement { SvgfePointLightElement { obj } } } impl AsRef < JsValue > for SvgfePointLightElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfePointLightElement > for JsValue { # [ inline ] fn from ( obj : SvgfePointLightElement ) -> JsValue { obj . obj } } impl JsCast for SvgfePointLightElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFEPointLightElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFEPointLightElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfePointLightElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfePointLightElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfePointLightElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfePointLightElement > for SvgElement { # [ inline ] fn from ( obj : SvgfePointLightElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfePointLightElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfePointLightElement > for Element { # [ inline ] fn from ( obj : SvgfePointLightElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfePointLightElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfePointLightElement > for Node { # [ inline ] fn from ( obj : SvgfePointLightElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfePointLightElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfePointLightElement > for EventTarget { # [ inline ] fn from ( obj : SvgfePointLightElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfePointLightElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfePointLightElement > for Object { # [ inline ] fn from ( obj : SvgfePointLightElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfePointLightElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFEPointLightElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfePointLightElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfePointLightElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfePointLightElement`*" ] pub fn x ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFEPointLightElement ( self_ : < & SvgfePointLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfePointLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFEPointLightElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfePointLightElement`*" ] pub fn x ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFEPointLightElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfePointLightElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfePointLightElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfePointLightElement`*" ] pub fn y ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFEPointLightElement ( self_ : < & SvgfePointLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfePointLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFEPointLightElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfePointLightElement`*" ] pub fn y ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_z_SVGFEPointLightElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfePointLightElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfePointLightElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `z` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement/z)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfePointLightElement`*" ] pub fn z ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_z_SVGFEPointLightElement ( self_ : < & SvgfePointLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfePointLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_z_SVGFEPointLightElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `z` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement/z)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfePointLightElement`*" ] pub fn z ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFESpecularLightingElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement)\n\n*This API requires the following crate features to be activated: `SvgfeSpecularLightingElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeSpecularLightingElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeSpecularLightingElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeSpecularLightingElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeSpecularLightingElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeSpecularLightingElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeSpecularLightingElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeSpecularLightingElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeSpecularLightingElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeSpecularLightingElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeSpecularLightingElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeSpecularLightingElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeSpecularLightingElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeSpecularLightingElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeSpecularLightingElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeSpecularLightingElement { SvgfeSpecularLightingElement { obj } } } impl AsRef < JsValue > for SvgfeSpecularLightingElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeSpecularLightingElement > for JsValue { # [ inline ] fn from ( obj : SvgfeSpecularLightingElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeSpecularLightingElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFESpecularLightingElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFESpecularLightingElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeSpecularLightingElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeSpecularLightingElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeSpecularLightingElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeSpecularLightingElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeSpecularLightingElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeSpecularLightingElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeSpecularLightingElement > for Element { # [ inline ] fn from ( obj : SvgfeSpecularLightingElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeSpecularLightingElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeSpecularLightingElement > for Node { # [ inline ] fn from ( obj : SvgfeSpecularLightingElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeSpecularLightingElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeSpecularLightingElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeSpecularLightingElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeSpecularLightingElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeSpecularLightingElement > for Object { # [ inline ] fn from ( obj : SvgfeSpecularLightingElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeSpecularLightingElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFESpecularLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpecularLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeSpecularLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeSpecularLightingElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFESpecularLightingElement ( self_ : < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFESpecularLightingElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeSpecularLightingElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_surface_scale_SVGFESpecularLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpecularLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeSpecularLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `surfaceScale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/surfaceScale)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*" ] pub fn surface_scale ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_surface_scale_SVGFESpecularLightingElement ( self_ : < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_surface_scale_SVGFESpecularLightingElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `surfaceScale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/surfaceScale)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*" ] pub fn surface_scale ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_specular_constant_SVGFESpecularLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpecularLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeSpecularLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `specularConstant` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/specularConstant)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*" ] pub fn specular_constant ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_specular_constant_SVGFESpecularLightingElement ( self_ : < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_specular_constant_SVGFESpecularLightingElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `specularConstant` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/specularConstant)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*" ] pub fn specular_constant ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_specular_exponent_SVGFESpecularLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpecularLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeSpecularLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `specularExponent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/specularExponent)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*" ] pub fn specular_exponent ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_specular_exponent_SVGFESpecularLightingElement ( self_ : < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_specular_exponent_SVGFESpecularLightingElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `specularExponent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/specularExponent)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*" ] pub fn specular_exponent ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kernel_unit_length_x_SVGFESpecularLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpecularLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeSpecularLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kernelUnitLengthX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*" ] pub fn kernel_unit_length_x ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kernel_unit_length_x_SVGFESpecularLightingElement ( self_ : < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kernel_unit_length_x_SVGFESpecularLightingElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kernelUnitLengthX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*" ] pub fn kernel_unit_length_x ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kernel_unit_length_y_SVGFESpecularLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpecularLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeSpecularLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kernelUnitLengthY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*" ] pub fn kernel_unit_length_y ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kernel_unit_length_y_SVGFESpecularLightingElement ( self_ : < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kernel_unit_length_y_SVGFESpecularLightingElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kernelUnitLengthY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*" ] pub fn kernel_unit_length_y ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFESpecularLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpecularLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeSpecularLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFESpecularLightingElement ( self_ : < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFESpecularLightingElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFESpecularLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpecularLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeSpecularLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFESpecularLightingElement ( self_ : < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFESpecularLightingElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFESpecularLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpecularLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeSpecularLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFESpecularLightingElement ( self_ : < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFESpecularLightingElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFESpecularLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpecularLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeSpecularLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFESpecularLightingElement ( self_ : < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFESpecularLightingElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFESpecularLightingElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpecularLightingElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeSpecularLightingElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeSpecularLightingElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFESpecularLightingElement ( self_ : < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpecularLightingElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFESpecularLightingElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeSpecularLightingElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFESpotLightElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement)\n\n*This API requires the following crate features to be activated: `SvgfeSpotLightElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeSpotLightElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeSpotLightElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeSpotLightElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeSpotLightElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeSpotLightElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeSpotLightElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeSpotLightElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeSpotLightElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeSpotLightElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeSpotLightElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeSpotLightElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeSpotLightElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeSpotLightElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeSpotLightElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeSpotLightElement { SvgfeSpotLightElement { obj } } } impl AsRef < JsValue > for SvgfeSpotLightElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeSpotLightElement > for JsValue { # [ inline ] fn from ( obj : SvgfeSpotLightElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeSpotLightElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFESpotLightElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFESpotLightElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeSpotLightElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeSpotLightElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeSpotLightElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeSpotLightElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeSpotLightElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeSpotLightElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeSpotLightElement > for Element { # [ inline ] fn from ( obj : SvgfeSpotLightElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeSpotLightElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeSpotLightElement > for Node { # [ inline ] fn from ( obj : SvgfeSpotLightElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeSpotLightElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeSpotLightElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeSpotLightElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeSpotLightElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeSpotLightElement > for Object { # [ inline ] fn from ( obj : SvgfeSpotLightElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeSpotLightElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFESpotLightElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpotLightElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeSpotLightElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn x ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFESpotLightElement ( self_ : < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFESpotLightElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn x ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFESpotLightElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpotLightElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeSpotLightElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn y ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFESpotLightElement ( self_ : < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFESpotLightElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn y ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_z_SVGFESpotLightElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpotLightElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeSpotLightElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `z` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/z)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn z ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_z_SVGFESpotLightElement ( self_ : < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_z_SVGFESpotLightElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `z` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/z)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn z ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_points_at_x_SVGFESpotLightElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpotLightElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeSpotLightElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pointsAtX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn points_at_x ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_points_at_x_SVGFESpotLightElement ( self_ : < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_points_at_x_SVGFESpotLightElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pointsAtX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn points_at_x ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_points_at_y_SVGFESpotLightElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpotLightElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeSpotLightElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pointsAtY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn points_at_y ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_points_at_y_SVGFESpotLightElement ( self_ : < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_points_at_y_SVGFESpotLightElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pointsAtY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn points_at_y ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_points_at_z_SVGFESpotLightElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpotLightElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeSpotLightElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pointsAtZ` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtZ)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn points_at_z ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_points_at_z_SVGFESpotLightElement ( self_ : < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_points_at_z_SVGFESpotLightElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pointsAtZ` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtZ)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn points_at_z ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_specular_exponent_SVGFESpotLightElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpotLightElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeSpotLightElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `specularExponent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/specularExponent)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn specular_exponent ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_specular_exponent_SVGFESpotLightElement ( self_ : < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_specular_exponent_SVGFESpotLightElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `specularExponent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/specularExponent)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn specular_exponent ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_limiting_cone_angle_SVGFESpotLightElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeSpotLightElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeSpotLightElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `limitingConeAngle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/limitingConeAngle)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn limiting_cone_angle ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_limiting_cone_angle_SVGFESpotLightElement ( self_ : < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeSpotLightElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_limiting_cone_angle_SVGFESpotLightElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `limitingConeAngle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/limitingConeAngle)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*" ] pub fn limiting_cone_angle ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFETileElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement)\n\n*This API requires the following crate features to be activated: `SvgfeTileElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeTileElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeTileElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeTileElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeTileElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeTileElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeTileElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeTileElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeTileElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeTileElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeTileElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeTileElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeTileElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeTileElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeTileElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeTileElement { SvgfeTileElement { obj } } } impl AsRef < JsValue > for SvgfeTileElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeTileElement > for JsValue { # [ inline ] fn from ( obj : SvgfeTileElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeTileElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFETileElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFETileElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeTileElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeTileElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeTileElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeTileElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeTileElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeTileElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeTileElement > for Element { # [ inline ] fn from ( obj : SvgfeTileElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeTileElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeTileElement > for Node { # [ inline ] fn from ( obj : SvgfeTileElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeTileElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeTileElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeTileElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeTileElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeTileElement > for Object { # [ inline ] fn from ( obj : SvgfeTileElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeTileElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in1_SVGFETileElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTileElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeTileElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeTileElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in1_SVGFETileElement ( self_ : < & SvgfeTileElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTileElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in1_SVGFETileElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `in1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/in1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeTileElement`*" ] pub fn in1 ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFETileElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTileElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeTileElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTileElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFETileElement ( self_ : < & SvgfeTileElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTileElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFETileElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTileElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFETileElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTileElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeTileElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTileElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFETileElement ( self_ : < & SvgfeTileElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTileElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFETileElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTileElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFETileElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTileElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeTileElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTileElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFETileElement ( self_ : < & SvgfeTileElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTileElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFETileElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTileElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFETileElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTileElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeTileElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTileElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFETileElement ( self_ : < & SvgfeTileElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTileElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFETileElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTileElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFETileElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTileElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeTileElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeTileElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFETileElement ( self_ : < & SvgfeTileElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTileElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFETileElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeTileElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFETurbulenceElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement)\n\n*This API requires the following crate features to be activated: `SvgfeTurbulenceElement`*" ] # [ repr ( transparent ) ] pub struct SvgfeTurbulenceElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgfeTurbulenceElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgfeTurbulenceElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgfeTurbulenceElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgfeTurbulenceElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgfeTurbulenceElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgfeTurbulenceElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgfeTurbulenceElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgfeTurbulenceElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgfeTurbulenceElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgfeTurbulenceElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgfeTurbulenceElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgfeTurbulenceElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgfeTurbulenceElement { # [ inline ] fn from ( obj : JsValue ) -> SvgfeTurbulenceElement { SvgfeTurbulenceElement { obj } } } impl AsRef < JsValue > for SvgfeTurbulenceElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgfeTurbulenceElement > for JsValue { # [ inline ] fn from ( obj : SvgfeTurbulenceElement ) -> JsValue { obj . obj } } impl JsCast for SvgfeTurbulenceElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFETurbulenceElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFETurbulenceElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgfeTurbulenceElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgfeTurbulenceElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgfeTurbulenceElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgfeTurbulenceElement > for SvgElement { # [ inline ] fn from ( obj : SvgfeTurbulenceElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgfeTurbulenceElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeTurbulenceElement > for Element { # [ inline ] fn from ( obj : SvgfeTurbulenceElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgfeTurbulenceElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeTurbulenceElement > for Node { # [ inline ] fn from ( obj : SvgfeTurbulenceElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgfeTurbulenceElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeTurbulenceElement > for EventTarget { # [ inline ] fn from ( obj : SvgfeTurbulenceElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgfeTurbulenceElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgfeTurbulenceElement > for Object { # [ inline ] fn from ( obj : SvgfeTurbulenceElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgfeTurbulenceElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_frequency_x_SVGFETurbulenceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTurbulenceElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeTurbulenceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseFrequencyX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/baseFrequencyX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeTurbulenceElement`*" ] pub fn base_frequency_x ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_frequency_x_SVGFETurbulenceElement ( self_ : < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_frequency_x_SVGFETurbulenceElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseFrequencyX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/baseFrequencyX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeTurbulenceElement`*" ] pub fn base_frequency_x ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base_frequency_y_SVGFETurbulenceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTurbulenceElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeTurbulenceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `baseFrequencyY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/baseFrequencyY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeTurbulenceElement`*" ] pub fn base_frequency_y ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base_frequency_y_SVGFETurbulenceElement ( self_ : < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base_frequency_y_SVGFETurbulenceElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `baseFrequencyY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/baseFrequencyY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeTurbulenceElement`*" ] pub fn base_frequency_y ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_num_octaves_SVGFETurbulenceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTurbulenceElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedInteger as WasmDescribe > :: describe ( ) ; } impl SvgfeTurbulenceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `numOctaves` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/numOctaves)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeTurbulenceElement`*" ] pub fn num_octaves ( & self , ) -> SvgAnimatedInteger { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_num_octaves_SVGFETurbulenceElement ( self_ : < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedInteger as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_num_octaves_SVGFETurbulenceElement ( self_ ) } ; < SvgAnimatedInteger as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `numOctaves` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/numOctaves)\n\n*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeTurbulenceElement`*" ] pub fn num_octaves ( & self , ) -> SvgAnimatedInteger { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_seed_SVGFETurbulenceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTurbulenceElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgfeTurbulenceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `seed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/seed)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeTurbulenceElement`*" ] pub fn seed ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_seed_SVGFETurbulenceElement ( self_ : < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_seed_SVGFETurbulenceElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `seed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/seed)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeTurbulenceElement`*" ] pub fn seed ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stitch_tiles_SVGFETurbulenceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTurbulenceElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgfeTurbulenceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stitchTiles` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/stitchTiles)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeTurbulenceElement`*" ] pub fn stitch_tiles ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stitch_tiles_SVGFETurbulenceElement ( self_ : < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stitch_tiles_SVGFETurbulenceElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stitchTiles` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/stitchTiles)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeTurbulenceElement`*" ] pub fn stitch_tiles ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_SVGFETurbulenceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTurbulenceElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgfeTurbulenceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/type)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeTurbulenceElement`*" ] pub fn type_ ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_SVGFETurbulenceElement ( self_ : < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_SVGFETurbulenceElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/type)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeTurbulenceElement`*" ] pub fn type_ ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFETurbulenceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTurbulenceElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeTurbulenceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFETurbulenceElement ( self_ : < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFETurbulenceElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFETurbulenceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTurbulenceElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeTurbulenceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFETurbulenceElement ( self_ : < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFETurbulenceElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFETurbulenceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTurbulenceElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeTurbulenceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFETurbulenceElement ( self_ : < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFETurbulenceElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFETurbulenceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTurbulenceElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgfeTurbulenceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFETurbulenceElement ( self_ : < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFETurbulenceElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeTurbulenceElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_SVGFETurbulenceElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgfeTurbulenceElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgfeTurbulenceElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeTurbulenceElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_SVGFETurbulenceElement ( self_ : < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgfeTurbulenceElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_SVGFETurbulenceElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `result` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement/result)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeTurbulenceElement`*" ] pub fn result ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGFilterElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement)\n\n*This API requires the following crate features to be activated: `SvgFilterElement`*" ] # [ repr ( transparent ) ] pub struct SvgFilterElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgFilterElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgFilterElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgFilterElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgFilterElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgFilterElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgFilterElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgFilterElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgFilterElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgFilterElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgFilterElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgFilterElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgFilterElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgFilterElement { # [ inline ] fn from ( obj : JsValue ) -> SvgFilterElement { SvgFilterElement { obj } } } impl AsRef < JsValue > for SvgFilterElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgFilterElement > for JsValue { # [ inline ] fn from ( obj : SvgFilterElement ) -> JsValue { obj . obj } } impl JsCast for SvgFilterElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGFilterElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGFilterElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgFilterElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgFilterElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgFilterElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgFilterElement > for SvgElement { # [ inline ] fn from ( obj : SvgFilterElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgFilterElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgFilterElement > for Element { # [ inline ] fn from ( obj : SvgFilterElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgFilterElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgFilterElement > for Node { # [ inline ] fn from ( obj : SvgFilterElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgFilterElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgFilterElement > for EventTarget { # [ inline ] fn from ( obj : SvgFilterElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgFilterElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgFilterElement > for Object { # [ inline ] fn from ( obj : SvgFilterElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgFilterElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_filter_units_SVGFilterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgFilterElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgFilterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `filterUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/filterUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgFilterElement`*" ] pub fn filter_units ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_filter_units_SVGFilterElement ( self_ : < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_filter_units_SVGFilterElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `filterUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/filterUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgFilterElement`*" ] pub fn filter_units ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_primitive_units_SVGFilterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgFilterElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgFilterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `primitiveUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/primitiveUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgFilterElement`*" ] pub fn primitive_units ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_primitive_units_SVGFilterElement ( self_ : < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_primitive_units_SVGFilterElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `primitiveUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/primitiveUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgFilterElement`*" ] pub fn primitive_units ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGFilterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgFilterElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgFilterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGFilterElement ( self_ : < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGFilterElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGFilterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgFilterElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgFilterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGFilterElement ( self_ : < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGFilterElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGFilterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgFilterElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgFilterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGFilterElement ( self_ : < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGFilterElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGFilterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgFilterElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgFilterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGFilterElement ( self_ : < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGFilterElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_SVGFilterElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgFilterElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgFilterElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgFilterElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_SVGFilterElement ( self_ : < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgFilterElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_SVGFilterElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgFilterElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGForeignObjectElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement)\n\n*This API requires the following crate features to be activated: `SvgForeignObjectElement`*" ] # [ repr ( transparent ) ] pub struct SvgForeignObjectElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgForeignObjectElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgForeignObjectElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgForeignObjectElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgForeignObjectElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgForeignObjectElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgForeignObjectElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgForeignObjectElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgForeignObjectElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgForeignObjectElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgForeignObjectElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgForeignObjectElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgForeignObjectElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgForeignObjectElement { # [ inline ] fn from ( obj : JsValue ) -> SvgForeignObjectElement { SvgForeignObjectElement { obj } } } impl AsRef < JsValue > for SvgForeignObjectElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgForeignObjectElement > for JsValue { # [ inline ] fn from ( obj : SvgForeignObjectElement ) -> JsValue { obj . obj } } impl JsCast for SvgForeignObjectElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGForeignObjectElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGForeignObjectElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgForeignObjectElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgForeignObjectElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgForeignObjectElement { type Target = SvgGraphicsElement ; # [ inline ] fn deref ( & self ) -> & SvgGraphicsElement { self . as_ref ( ) } } impl From < SvgForeignObjectElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgForeignObjectElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgForeignObjectElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgForeignObjectElement > for SvgElement { # [ inline ] fn from ( obj : SvgForeignObjectElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgForeignObjectElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgForeignObjectElement > for Element { # [ inline ] fn from ( obj : SvgForeignObjectElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgForeignObjectElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgForeignObjectElement > for Node { # [ inline ] fn from ( obj : SvgForeignObjectElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgForeignObjectElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgForeignObjectElement > for EventTarget { # [ inline ] fn from ( obj : SvgForeignObjectElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgForeignObjectElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgForeignObjectElement > for Object { # [ inline ] fn from ( obj : SvgForeignObjectElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgForeignObjectElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGForeignObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgForeignObjectElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgForeignObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgForeignObjectElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGForeignObjectElement ( self_ : < & SvgForeignObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgForeignObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGForeignObjectElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgForeignObjectElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGForeignObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgForeignObjectElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgForeignObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgForeignObjectElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGForeignObjectElement ( self_ : < & SvgForeignObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgForeignObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGForeignObjectElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgForeignObjectElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGForeignObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgForeignObjectElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgForeignObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgForeignObjectElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGForeignObjectElement ( self_ : < & SvgForeignObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgForeignObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGForeignObjectElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgForeignObjectElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGForeignObjectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgForeignObjectElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgForeignObjectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgForeignObjectElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGForeignObjectElement ( self_ : < & SvgForeignObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgForeignObjectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGForeignObjectElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgForeignObjectElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGGElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGElement)\n\n*This API requires the following crate features to be activated: `SvggElement`*" ] # [ repr ( transparent ) ] pub struct SvggElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvggElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvggElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvggElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvggElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvggElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvggElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvggElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvggElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvggElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvggElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvggElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvggElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvggElement { # [ inline ] fn from ( obj : JsValue ) -> SvggElement { SvggElement { obj } } } impl AsRef < JsValue > for SvggElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvggElement > for JsValue { # [ inline ] fn from ( obj : SvggElement ) -> JsValue { obj . obj } } impl JsCast for SvggElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGGElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGGElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvggElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvggElement ) } } } ( ) } ; impl core :: ops :: Deref for SvggElement { type Target = SvgGraphicsElement ; # [ inline ] fn deref ( & self ) -> & SvgGraphicsElement { self . as_ref ( ) } } impl From < SvggElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvggElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvggElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvggElement > for SvgElement { # [ inline ] fn from ( obj : SvggElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvggElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvggElement > for Element { # [ inline ] fn from ( obj : SvggElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvggElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvggElement > for Node { # [ inline ] fn from ( obj : SvggElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvggElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvggElement > for EventTarget { # [ inline ] fn from ( obj : SvggElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvggElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvggElement > for Object { # [ inline ] fn from ( obj : SvggElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvggElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGGeometryElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement)\n\n*This API requires the following crate features to be activated: `SvgGeometryElement`*" ] # [ repr ( transparent ) ] pub struct SvgGeometryElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgGeometryElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgGeometryElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgGeometryElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgGeometryElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgGeometryElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgGeometryElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgGeometryElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgGeometryElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgGeometryElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgGeometryElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgGeometryElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgGeometryElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgGeometryElement { # [ inline ] fn from ( obj : JsValue ) -> SvgGeometryElement { SvgGeometryElement { obj } } } impl AsRef < JsValue > for SvgGeometryElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgGeometryElement > for JsValue { # [ inline ] fn from ( obj : SvgGeometryElement ) -> JsValue { obj . obj } } impl JsCast for SvgGeometryElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGGeometryElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGGeometryElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgGeometryElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgGeometryElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgGeometryElement { type Target = SvgGraphicsElement ; # [ inline ] fn deref ( & self ) -> & SvgGraphicsElement { self . as_ref ( ) } } impl From < SvgGeometryElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgGeometryElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgGeometryElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgGeometryElement > for SvgElement { # [ inline ] fn from ( obj : SvgGeometryElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgGeometryElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgGeometryElement > for Element { # [ inline ] fn from ( obj : SvgGeometryElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgGeometryElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgGeometryElement > for Node { # [ inline ] fn from ( obj : SvgGeometryElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgGeometryElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgGeometryElement > for EventTarget { # [ inline ] fn from ( obj : SvgGeometryElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgGeometryElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgGeometryElement > for Object { # [ inline ] fn from ( obj : SvgGeometryElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgGeometryElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_point_at_length_SVGGeometryElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgGeometryElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < SvgPoint as WasmDescribe > :: describe ( ) ; } impl SvgGeometryElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getPointAtLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/getPointAtLength)\n\n*This API requires the following crate features to be activated: `SvgGeometryElement`, `SvgPoint`*" ] pub fn get_point_at_length ( & self , distance : f32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_point_at_length_SVGGeometryElement ( self_ : < & SvgGeometryElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , distance : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGeometryElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let distance = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( distance , & mut __stack ) ; __widl_f_get_point_at_length_SVGGeometryElement ( self_ , distance , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getPointAtLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/getPointAtLength)\n\n*This API requires the following crate features to be activated: `SvgGeometryElement`, `SvgPoint`*" ] pub fn get_point_at_length ( & self , distance : f32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_total_length_SVGGeometryElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGeometryElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgGeometryElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getTotalLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/getTotalLength)\n\n*This API requires the following crate features to be activated: `SvgGeometryElement`*" ] pub fn get_total_length ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_total_length_SVGGeometryElement ( self_ : < & SvgGeometryElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGeometryElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_total_length_SVGGeometryElement ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getTotalLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/getTotalLength)\n\n*This API requires the following crate features to be activated: `SvgGeometryElement`*" ] pub fn get_total_length ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_path_length_SVGGeometryElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGeometryElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgGeometryElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pathLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/pathLength)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgGeometryElement`*" ] pub fn path_length ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_path_length_SVGGeometryElement ( self_ : < & SvgGeometryElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGeometryElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_path_length_SVGGeometryElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pathLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/pathLength)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgGeometryElement`*" ] pub fn path_length ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGGradientElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement)\n\n*This API requires the following crate features to be activated: `SvgGradientElement`*" ] # [ repr ( transparent ) ] pub struct SvgGradientElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgGradientElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgGradientElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgGradientElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgGradientElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgGradientElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgGradientElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgGradientElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgGradientElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgGradientElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgGradientElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgGradientElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgGradientElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgGradientElement { # [ inline ] fn from ( obj : JsValue ) -> SvgGradientElement { SvgGradientElement { obj } } } impl AsRef < JsValue > for SvgGradientElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgGradientElement > for JsValue { # [ inline ] fn from ( obj : SvgGradientElement ) -> JsValue { obj . obj } } impl JsCast for SvgGradientElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGGradientElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGGradientElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgGradientElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgGradientElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgGradientElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgGradientElement > for SvgElement { # [ inline ] fn from ( obj : SvgGradientElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgGradientElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgGradientElement > for Element { # [ inline ] fn from ( obj : SvgGradientElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgGradientElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgGradientElement > for Node { # [ inline ] fn from ( obj : SvgGradientElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgGradientElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgGradientElement > for EventTarget { # [ inline ] fn from ( obj : SvgGradientElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgGradientElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgGradientElement > for Object { # [ inline ] fn from ( obj : SvgGradientElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgGradientElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_gradient_units_SVGGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `gradientUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/gradientUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgGradientElement`*" ] pub fn gradient_units ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_gradient_units_SVGGradientElement ( self_ : < & SvgGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_gradient_units_SVGGradientElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `gradientUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/gradientUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgGradientElement`*" ] pub fn gradient_units ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_gradient_transform_SVGGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedTransformList as WasmDescribe > :: describe ( ) ; } impl SvgGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `gradientTransform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/gradientTransform)\n\n*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgGradientElement`*" ] pub fn gradient_transform ( & self , ) -> SvgAnimatedTransformList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_gradient_transform_SVGGradientElement ( self_ : < & SvgGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedTransformList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_gradient_transform_SVGGradientElement ( self_ ) } ; < SvgAnimatedTransformList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `gradientTransform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/gradientTransform)\n\n*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgGradientElement`*" ] pub fn gradient_transform ( & self , ) -> SvgAnimatedTransformList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_spread_method_SVGGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `spreadMethod` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/spreadMethod)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgGradientElement`*" ] pub fn spread_method ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_spread_method_SVGGradientElement ( self_ : < & SvgGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_spread_method_SVGGradientElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `spreadMethod` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/spreadMethod)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgGradientElement`*" ] pub fn spread_method ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_SVGGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgGradientElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_SVGGradientElement ( self_ : < & SvgGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_SVGGradientElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGradientElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgGradientElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGGraphicsElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`*" ] # [ repr ( transparent ) ] pub struct SvgGraphicsElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgGraphicsElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgGraphicsElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgGraphicsElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgGraphicsElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgGraphicsElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgGraphicsElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgGraphicsElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgGraphicsElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgGraphicsElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgGraphicsElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgGraphicsElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgGraphicsElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgGraphicsElement { # [ inline ] fn from ( obj : JsValue ) -> SvgGraphicsElement { SvgGraphicsElement { obj } } } impl AsRef < JsValue > for SvgGraphicsElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgGraphicsElement > for JsValue { # [ inline ] fn from ( obj : SvgGraphicsElement ) -> JsValue { obj . obj } } impl JsCast for SvgGraphicsElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGGraphicsElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGGraphicsElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgGraphicsElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgGraphicsElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgGraphicsElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgGraphicsElement > for SvgElement { # [ inline ] fn from ( obj : SvgGraphicsElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgGraphicsElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgGraphicsElement > for Element { # [ inline ] fn from ( obj : SvgGraphicsElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgGraphicsElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgGraphicsElement > for Node { # [ inline ] fn from ( obj : SvgGraphicsElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgGraphicsElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgGraphicsElement > for EventTarget { # [ inline ] fn from ( obj : SvgGraphicsElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgGraphicsElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgGraphicsElement > for Object { # [ inline ] fn from ( obj : SvgGraphicsElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgGraphicsElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_b_box_SVGGraphicsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGraphicsElement as WasmDescribe > :: describe ( ) ; < SvgRect as WasmDescribe > :: describe ( ) ; } impl SvgGraphicsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBBox()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getBBox)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgRect`*" ] pub fn get_b_box ( & self , ) -> Result < SvgRect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_b_box_SVGGraphicsElement ( self_ : < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_b_box_SVGGraphicsElement ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBBox()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getBBox)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgRect`*" ] pub fn get_b_box ( & self , ) -> Result < SvgRect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_b_box_with_a_options_SVGGraphicsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgGraphicsElement as WasmDescribe > :: describe ( ) ; < & SvgBoundingBoxOptions as WasmDescribe > :: describe ( ) ; < SvgRect as WasmDescribe > :: describe ( ) ; } impl SvgGraphicsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBBox()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getBBox)\n\n*This API requires the following crate features to be activated: `SvgBoundingBoxOptions`, `SvgGraphicsElement`, `SvgRect`*" ] pub fn get_b_box_with_a_options ( & self , a_options : & SvgBoundingBoxOptions ) -> Result < SvgRect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_b_box_with_a_options_SVGGraphicsElement ( self_ : < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_options : < & SvgBoundingBoxOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_options = < & SvgBoundingBoxOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_options , & mut __stack ) ; __widl_f_get_b_box_with_a_options_SVGGraphicsElement ( self_ , a_options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBBox()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getBBox)\n\n*This API requires the following crate features to be activated: `SvgBoundingBoxOptions`, `SvgGraphicsElement`, `SvgRect`*" ] pub fn get_b_box_with_a_options ( & self , a_options : & SvgBoundingBoxOptions ) -> Result < SvgRect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_ctm_SVGGraphicsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGraphicsElement as WasmDescribe > :: describe ( ) ; < Option < SvgMatrix > as WasmDescribe > :: describe ( ) ; } impl SvgGraphicsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getCTM()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getCTM)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*" ] pub fn get_ctm ( & self , ) -> Option < SvgMatrix > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_ctm_SVGGraphicsElement ( self_ : < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < SvgMatrix > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_ctm_SVGGraphicsElement ( self_ ) } ; < Option < SvgMatrix > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getCTM()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getCTM)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*" ] pub fn get_ctm ( & self , ) -> Option < SvgMatrix > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_screen_ctm_SVGGraphicsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGraphicsElement as WasmDescribe > :: describe ( ) ; < Option < SvgMatrix > as WasmDescribe > :: describe ( ) ; } impl SvgGraphicsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getScreenCTM()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getScreenCTM)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*" ] pub fn get_screen_ctm ( & self , ) -> Option < SvgMatrix > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_screen_ctm_SVGGraphicsElement ( self_ : < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < SvgMatrix > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_screen_ctm_SVGGraphicsElement ( self_ ) } ; < Option < SvgMatrix > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getScreenCTM()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getScreenCTM)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*" ] pub fn get_screen_ctm ( & self , ) -> Option < SvgMatrix > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_transform_to_element_SVGGraphicsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgGraphicsElement as WasmDescribe > :: describe ( ) ; < & SvgGraphicsElement as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgGraphicsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getTransformToElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getTransformToElement)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*" ] pub fn get_transform_to_element ( & self , element : & SvgGraphicsElement ) -> Result < SvgMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_transform_to_element_SVGGraphicsElement ( self_ : < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element : < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element = < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element , & mut __stack ) ; __widl_f_get_transform_to_element_SVGGraphicsElement ( self_ , element , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getTransformToElement()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getTransformToElement)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgMatrix`*" ] pub fn get_transform_to_element ( & self , element : & SvgGraphicsElement ) -> Result < SvgMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transform_SVGGraphicsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGraphicsElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedTransformList as WasmDescribe > :: describe ( ) ; } impl SvgGraphicsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/transform)\n\n*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgGraphicsElement`*" ] pub fn transform ( & self , ) -> SvgAnimatedTransformList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transform_SVGGraphicsElement ( self_ : < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedTransformList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_transform_SVGGraphicsElement ( self_ ) } ; < SvgAnimatedTransformList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/transform)\n\n*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgGraphicsElement`*" ] pub fn transform ( & self , ) -> SvgAnimatedTransformList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_nearest_viewport_element_SVGGraphicsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGraphicsElement as WasmDescribe > :: describe ( ) ; < Option < SvgElement > as WasmDescribe > :: describe ( ) ; } impl SvgGraphicsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `nearestViewportElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/nearestViewportElement)\n\n*This API requires the following crate features to be activated: `SvgElement`, `SvgGraphicsElement`*" ] pub fn nearest_viewport_element ( & self , ) -> Option < SvgElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_nearest_viewport_element_SVGGraphicsElement ( self_ : < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < SvgElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_nearest_viewport_element_SVGGraphicsElement ( self_ ) } ; < Option < SvgElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `nearestViewportElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/nearestViewportElement)\n\n*This API requires the following crate features to be activated: `SvgElement`, `SvgGraphicsElement`*" ] pub fn nearest_viewport_element ( & self , ) -> Option < SvgElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_farthest_viewport_element_SVGGraphicsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGraphicsElement as WasmDescribe > :: describe ( ) ; < Option < SvgElement > as WasmDescribe > :: describe ( ) ; } impl SvgGraphicsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `farthestViewportElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/farthestViewportElement)\n\n*This API requires the following crate features to be activated: `SvgElement`, `SvgGraphicsElement`*" ] pub fn farthest_viewport_element ( & self , ) -> Option < SvgElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_farthest_viewport_element_SVGGraphicsElement ( self_ : < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < SvgElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_farthest_viewport_element_SVGGraphicsElement ( self_ ) } ; < Option < SvgElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `farthestViewportElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/farthestViewportElement)\n\n*This API requires the following crate features to be activated: `SvgElement`, `SvgGraphicsElement`*" ] pub fn farthest_viewport_element ( & self , ) -> Option < SvgElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_extension_SVGGraphicsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgGraphicsElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SvgGraphicsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasExtension()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/hasExtension)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`*" ] pub fn has_extension ( & self , extension : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_extension_SVGGraphicsElement ( self_ : < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , extension : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let extension = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( extension , & mut __stack ) ; __widl_f_has_extension_SVGGraphicsElement ( self_ , extension ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasExtension()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/hasExtension)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`*" ] pub fn has_extension ( & self , extension : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_required_features_SVGGraphicsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGraphicsElement as WasmDescribe > :: describe ( ) ; < SvgStringList as WasmDescribe > :: describe ( ) ; } impl SvgGraphicsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requiredFeatures` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/requiredFeatures)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgStringList`*" ] pub fn required_features ( & self , ) -> SvgStringList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_required_features_SVGGraphicsElement ( self_ : < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_required_features_SVGGraphicsElement ( self_ ) } ; < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requiredFeatures` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/requiredFeatures)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgStringList`*" ] pub fn required_features ( & self , ) -> SvgStringList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_required_extensions_SVGGraphicsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGraphicsElement as WasmDescribe > :: describe ( ) ; < SvgStringList as WasmDescribe > :: describe ( ) ; } impl SvgGraphicsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requiredExtensions` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/requiredExtensions)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgStringList`*" ] pub fn required_extensions ( & self , ) -> SvgStringList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_required_extensions_SVGGraphicsElement ( self_ : < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_required_extensions_SVGGraphicsElement ( self_ ) } ; < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requiredExtensions` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/requiredExtensions)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgStringList`*" ] pub fn required_extensions ( & self , ) -> SvgStringList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_system_language_SVGGraphicsElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgGraphicsElement as WasmDescribe > :: describe ( ) ; < SvgStringList as WasmDescribe > :: describe ( ) ; } impl SvgGraphicsElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `systemLanguage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/systemLanguage)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgStringList`*" ] pub fn system_language ( & self , ) -> SvgStringList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_system_language_SVGGraphicsElement ( self_ : < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgGraphicsElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_system_language_SVGGraphicsElement ( self_ ) } ; < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `systemLanguage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/systemLanguage)\n\n*This API requires the following crate features to be activated: `SvgGraphicsElement`, `SvgStringList`*" ] pub fn system_language ( & self , ) -> SvgStringList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGImageElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement)\n\n*This API requires the following crate features to be activated: `SvgImageElement`*" ] # [ repr ( transparent ) ] pub struct SvgImageElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgImageElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgImageElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgImageElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgImageElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgImageElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgImageElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgImageElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgImageElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgImageElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgImageElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgImageElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgImageElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgImageElement { # [ inline ] fn from ( obj : JsValue ) -> SvgImageElement { SvgImageElement { obj } } } impl AsRef < JsValue > for SvgImageElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgImageElement > for JsValue { # [ inline ] fn from ( obj : SvgImageElement ) -> JsValue { obj . obj } } impl JsCast for SvgImageElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGImageElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGImageElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgImageElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgImageElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgImageElement { type Target = SvgGraphicsElement ; # [ inline ] fn deref ( & self ) -> & SvgGraphicsElement { self . as_ref ( ) } } impl From < SvgImageElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgImageElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgImageElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgImageElement > for SvgElement { # [ inline ] fn from ( obj : SvgImageElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgImageElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgImageElement > for Element { # [ inline ] fn from ( obj : SvgImageElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgImageElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgImageElement > for Node { # [ inline ] fn from ( obj : SvgImageElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgImageElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgImageElement > for EventTarget { # [ inline ] fn from ( obj : SvgImageElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgImageElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgImageElement > for Object { # [ inline ] fn from ( obj : SvgImageElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgImageElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgImageElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgImageElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGImageElement ( self_ : < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGImageElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgImageElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgImageElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgImageElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGImageElement ( self_ : < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGImageElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgImageElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgImageElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgImageElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGImageElement ( self_ : < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGImageElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgImageElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgImageElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgImageElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGImageElement ( self_ : < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGImageElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgImageElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_preserve_aspect_ratio_SVGImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgImageElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedPreserveAspectRatio as WasmDescribe > :: describe ( ) ; } impl SvgImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgImageElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_preserve_aspect_ratio_SVGImageElement ( self_ : < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_preserve_aspect_ratio_SVGImageElement ( self_ ) } ; < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgImageElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_SVGImageElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgImageElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgImageElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgImageElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_SVGImageElement ( self_ : < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_SVGImageElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgImageElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGLength` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] # [ repr ( transparent ) ] pub struct SvgLength { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgLength : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgLength { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgLength { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgLength { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgLength { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgLength { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgLength { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgLength { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgLength { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgLength { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgLength > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgLength { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgLength { # [ inline ] fn from ( obj : JsValue ) -> SvgLength { SvgLength { obj } } } impl AsRef < JsValue > for SvgLength { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgLength > for JsValue { # [ inline ] fn from ( obj : SvgLength ) -> JsValue { obj . obj } } impl JsCast for SvgLength { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGLength ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGLength ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgLength { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgLength ) } } } ( ) } ; impl core :: ops :: Deref for SvgLength { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgLength > for Object { # [ inline ] fn from ( obj : SvgLength ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgLength { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_to_specified_units_SVGLength ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgLength as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgLength { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertToSpecifiedUnits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/convertToSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn convert_to_specified_units ( & self , unit_type : u16 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_to_specified_units_SVGLength ( self_ : < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unit_type : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let unit_type = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unit_type , & mut __stack ) ; __widl_f_convert_to_specified_units_SVGLength ( self_ , unit_type , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertToSpecifiedUnits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/convertToSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn convert_to_specified_units ( & self , unit_type : u16 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_value_specified_units_SVGLength ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgLength as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgLength { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `newValueSpecifiedUnits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/newValueSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn new_value_specified_units ( & self , unit_type : u16 , value_in_specified_units : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_value_specified_units_SVGLength ( self_ : < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unit_type : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value_in_specified_units : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let unit_type = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unit_type , & mut __stack ) ; let value_in_specified_units = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value_in_specified_units , & mut __stack ) ; __widl_f_new_value_specified_units_SVGLength ( self_ , unit_type , value_in_specified_units , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `newValueSpecifiedUnits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/newValueSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn new_value_specified_units ( & self , unit_type : u16 , value_in_specified_units : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unit_type_SVGLength ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLength as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl SvgLength { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unitType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/unitType)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn unit_type ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unit_type_SVGLength ( self_ : < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unit_type_SVGLength ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unitType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/unitType)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn unit_type ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_SVGLength ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLength as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgLength { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/value)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn value ( & self , ) -> Result < f32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_SVGLength ( self_ : < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_SVGLength ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/value)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn value ( & self , ) -> Result < f32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_SVGLength ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgLength as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgLength { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/value)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn set_value ( & self , value : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_SVGLength ( self_ : < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_SVGLength ( self_ , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/value)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn set_value ( & self , value : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_in_specified_units_SVGLength ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLength as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgLength { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueInSpecifiedUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/valueInSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn value_in_specified_units ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_in_specified_units_SVGLength ( self_ : < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_in_specified_units_SVGLength ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueInSpecifiedUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/valueInSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn value_in_specified_units ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_in_specified_units_SVGLength ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgLength as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgLength { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueInSpecifiedUnits` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/valueInSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn set_value_in_specified_units ( & self , value_in_specified_units : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_in_specified_units_SVGLength ( self_ : < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value_in_specified_units : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value_in_specified_units = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value_in_specified_units , & mut __stack ) ; __widl_f_set_value_in_specified_units_SVGLength ( self_ , value_in_specified_units ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueInSpecifiedUnits` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/valueInSpecifiedUnits)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn set_value_in_specified_units ( & self , value_in_specified_units : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_as_string_SVGLength ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLength as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgLength { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueAsString` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/valueAsString)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn value_as_string ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_as_string_SVGLength ( self_ : < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_as_string_SVGLength ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueAsString` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/valueAsString)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn value_as_string ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_as_string_SVGLength ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgLength as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgLength { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueAsString` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/valueAsString)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn set_value_as_string ( & self , value_as_string : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_as_string_SVGLength ( self_ : < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value_as_string : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value_as_string = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value_as_string , & mut __stack ) ; __widl_f_set_value_as_string_SVGLength ( self_ , value_as_string ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueAsString` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLength/valueAsString)\n\n*This API requires the following crate features to be activated: `SvgLength`*" ] pub fn set_value_as_string ( & self , value_as_string : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGLengthList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList)\n\n*This API requires the following crate features to be activated: `SvgLengthList`*" ] # [ repr ( transparent ) ] pub struct SvgLengthList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgLengthList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgLengthList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgLengthList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgLengthList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgLengthList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgLengthList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgLengthList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgLengthList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgLengthList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgLengthList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgLengthList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgLengthList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgLengthList { # [ inline ] fn from ( obj : JsValue ) -> SvgLengthList { SvgLengthList { obj } } } impl AsRef < JsValue > for SvgLengthList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgLengthList > for JsValue { # [ inline ] fn from ( obj : SvgLengthList ) -> JsValue { obj . obj } } impl JsCast for SvgLengthList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGLengthList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGLengthList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgLengthList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgLengthList ) } } } ( ) } ; impl core :: ops :: Deref for SvgLengthList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgLengthList > for Object { # [ inline ] fn from ( obj : SvgLengthList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgLengthList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_item_SVGLengthList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgLengthList as WasmDescribe > :: describe ( ) ; < & SvgLength as WasmDescribe > :: describe ( ) ; < SvgLength as WasmDescribe > :: describe ( ) ; } impl SvgLengthList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/appendItem)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn append_item ( & self , new_item : & SvgLength ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_item_SVGLengthList ( self_ : < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; __widl_f_append_item_SVGLengthList ( self_ , new_item , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/appendItem)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn append_item ( & self , new_item : & SvgLength ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_SVGLengthList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLengthList as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgLengthList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/clear)\n\n*This API requires the following crate features to be activated: `SvgLengthList`*" ] pub fn clear ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_SVGLengthList ( self_ : < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_SVGLengthList ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/clear)\n\n*This API requires the following crate features to be activated: `SvgLengthList`*" ] pub fn clear ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_item_SVGLengthList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgLengthList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgLength as WasmDescribe > :: describe ( ) ; } impl SvgLengthList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/getItem)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn get_item ( & self , index : u32 ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_item_SVGLengthList ( self_ : < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_item_SVGLengthList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/getItem)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn get_item ( & self , index : u32 ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_initialize_SVGLengthList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgLengthList as WasmDescribe > :: describe ( ) ; < & SvgLength as WasmDescribe > :: describe ( ) ; < SvgLength as WasmDescribe > :: describe ( ) ; } impl SvgLengthList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initialize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/initialize)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn initialize ( & self , new_item : & SvgLength ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_initialize_SVGLengthList ( self_ : < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; __widl_f_initialize_SVGLengthList ( self_ , new_item , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initialize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/initialize)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn initialize ( & self , new_item : & SvgLength ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_item_before_SVGLengthList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgLengthList as WasmDescribe > :: describe ( ) ; < & SvgLength as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgLength as WasmDescribe > :: describe ( ) ; } impl SvgLengthList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertItemBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/insertItemBefore)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn insert_item_before ( & self , new_item : & SvgLength , index : u32 ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_item_before_SVGLengthList ( self_ : < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_insert_item_before_SVGLengthList ( self_ , new_item , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertItemBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/insertItemBefore)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn insert_item_before ( & self , new_item : & SvgLength , index : u32 ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_item_SVGLengthList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgLengthList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgLength as WasmDescribe > :: describe ( ) ; } impl SvgLengthList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/removeItem)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn remove_item ( & self , index : u32 ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_item_SVGLengthList ( self_ : < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_remove_item_SVGLengthList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/removeItem)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn remove_item ( & self , index : u32 ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_item_SVGLengthList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgLengthList as WasmDescribe > :: describe ( ) ; < & SvgLength as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgLength as WasmDescribe > :: describe ( ) ; } impl SvgLengthList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/replaceItem)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn replace_item ( & self , new_item : & SvgLength , index : u32 ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_item_SVGLengthList ( self_ : < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgLength as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_replace_item_SVGLengthList ( self_ , new_item , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/replaceItem)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn replace_item ( & self , new_item : & SvgLength , index : u32 ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_SVGLengthList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgLengthList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgLength as WasmDescribe > :: describe ( ) ; } impl SvgLengthList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn get ( & self , index : u32 ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_SVGLengthList ( self_ : < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_SVGLengthList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgLengthList`*" ] pub fn get ( & self , index : u32 ) -> Result < SvgLength , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_number_of_items_SVGLengthList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLengthList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SvgLengthList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `numberOfItems` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/numberOfItems)\n\n*This API requires the following crate features to be activated: `SvgLengthList`*" ] pub fn number_of_items ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_number_of_items_SVGLengthList ( self_ : < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLengthList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_number_of_items_SVGLengthList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `numberOfItems` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLengthList/numberOfItems)\n\n*This API requires the following crate features to be activated: `SvgLengthList`*" ] pub fn number_of_items ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGLineElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement)\n\n*This API requires the following crate features to be activated: `SvgLineElement`*" ] # [ repr ( transparent ) ] pub struct SvgLineElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgLineElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgLineElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgLineElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgLineElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgLineElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgLineElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgLineElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgLineElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgLineElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgLineElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgLineElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgLineElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgLineElement { # [ inline ] fn from ( obj : JsValue ) -> SvgLineElement { SvgLineElement { obj } } } impl AsRef < JsValue > for SvgLineElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgLineElement > for JsValue { # [ inline ] fn from ( obj : SvgLineElement ) -> JsValue { obj . obj } } impl JsCast for SvgLineElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGLineElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGLineElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgLineElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgLineElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgLineElement { type Target = SvgGeometryElement ; # [ inline ] fn deref ( & self ) -> & SvgGeometryElement { self . as_ref ( ) } } impl From < SvgLineElement > for SvgGeometryElement { # [ inline ] fn from ( obj : SvgLineElement ) -> SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGeometryElement > for SvgLineElement { # [ inline ] fn as_ref ( & self ) -> & SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgLineElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgLineElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgLineElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgLineElement > for SvgElement { # [ inline ] fn from ( obj : SvgLineElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgLineElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgLineElement > for Element { # [ inline ] fn from ( obj : SvgLineElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgLineElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgLineElement > for Node { # [ inline ] fn from ( obj : SvgLineElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgLineElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgLineElement > for EventTarget { # [ inline ] fn from ( obj : SvgLineElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgLineElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgLineElement > for Object { # [ inline ] fn from ( obj : SvgLineElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgLineElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x1_SVGLineElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLineElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgLineElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/x1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*" ] pub fn x1 ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x1_SVGLineElement ( self_ : < & SvgLineElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLineElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x1_SVGLineElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/x1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*" ] pub fn x1 ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y1_SVGLineElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLineElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgLineElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/y1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*" ] pub fn y1 ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y1_SVGLineElement ( self_ : < & SvgLineElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLineElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y1_SVGLineElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/y1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*" ] pub fn y1 ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x2_SVGLineElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLineElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgLineElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/x2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*" ] pub fn x2 ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x2_SVGLineElement ( self_ : < & SvgLineElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLineElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x2_SVGLineElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/x2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*" ] pub fn x2 ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y2_SVGLineElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLineElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgLineElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/y2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*" ] pub fn y2 ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y2_SVGLineElement ( self_ : < & SvgLineElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLineElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y2_SVGLineElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/y2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*" ] pub fn y2 ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGLinearGradientElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement)\n\n*This API requires the following crate features to be activated: `SvgLinearGradientElement`*" ] # [ repr ( transparent ) ] pub struct SvgLinearGradientElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgLinearGradientElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgLinearGradientElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgLinearGradientElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgLinearGradientElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgLinearGradientElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgLinearGradientElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgLinearGradientElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgLinearGradientElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgLinearGradientElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgLinearGradientElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgLinearGradientElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgLinearGradientElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgLinearGradientElement { # [ inline ] fn from ( obj : JsValue ) -> SvgLinearGradientElement { SvgLinearGradientElement { obj } } } impl AsRef < JsValue > for SvgLinearGradientElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgLinearGradientElement > for JsValue { # [ inline ] fn from ( obj : SvgLinearGradientElement ) -> JsValue { obj . obj } } impl JsCast for SvgLinearGradientElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGLinearGradientElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGLinearGradientElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgLinearGradientElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgLinearGradientElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgLinearGradientElement { type Target = SvgGradientElement ; # [ inline ] fn deref ( & self ) -> & SvgGradientElement { self . as_ref ( ) } } impl From < SvgLinearGradientElement > for SvgGradientElement { # [ inline ] fn from ( obj : SvgLinearGradientElement ) -> SvgGradientElement { use wasm_bindgen :: JsCast ; SvgGradientElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGradientElement > for SvgLinearGradientElement { # [ inline ] fn as_ref ( & self ) -> & SvgGradientElement { use wasm_bindgen :: JsCast ; SvgGradientElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgLinearGradientElement > for SvgElement { # [ inline ] fn from ( obj : SvgLinearGradientElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgLinearGradientElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgLinearGradientElement > for Element { # [ inline ] fn from ( obj : SvgLinearGradientElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgLinearGradientElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgLinearGradientElement > for Node { # [ inline ] fn from ( obj : SvgLinearGradientElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgLinearGradientElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgLinearGradientElement > for EventTarget { # [ inline ] fn from ( obj : SvgLinearGradientElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgLinearGradientElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgLinearGradientElement > for Object { # [ inline ] fn from ( obj : SvgLinearGradientElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgLinearGradientElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x1_SVGLinearGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLinearGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgLinearGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/x1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*" ] pub fn x1 ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x1_SVGLinearGradientElement ( self_ : < & SvgLinearGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLinearGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x1_SVGLinearGradientElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/x1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*" ] pub fn x1 ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y1_SVGLinearGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLinearGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgLinearGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/y1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*" ] pub fn y1 ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y1_SVGLinearGradientElement ( self_ : < & SvgLinearGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLinearGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y1_SVGLinearGradientElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y1` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/y1)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*" ] pub fn y1 ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x2_SVGLinearGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLinearGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgLinearGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/x2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*" ] pub fn x2 ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x2_SVGLinearGradientElement ( self_ : < & SvgLinearGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLinearGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x2_SVGLinearGradientElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/x2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*" ] pub fn x2 ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y2_SVGLinearGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgLinearGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgLinearGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/y2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*" ] pub fn y2 ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y2_SVGLinearGradientElement ( self_ : < & SvgLinearGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgLinearGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y2_SVGLinearGradientElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y2` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/y2)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*" ] pub fn y2 ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGMPathElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement)\n\n*This API requires the following crate features to be activated: `SvgmPathElement`*" ] # [ repr ( transparent ) ] pub struct SvgmPathElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgmPathElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgmPathElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgmPathElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgmPathElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgmPathElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgmPathElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgmPathElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgmPathElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgmPathElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgmPathElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgmPathElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgmPathElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgmPathElement { # [ inline ] fn from ( obj : JsValue ) -> SvgmPathElement { SvgmPathElement { obj } } } impl AsRef < JsValue > for SvgmPathElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgmPathElement > for JsValue { # [ inline ] fn from ( obj : SvgmPathElement ) -> JsValue { obj . obj } } impl JsCast for SvgmPathElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGMPathElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGMPathElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgmPathElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgmPathElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgmPathElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgmPathElement > for SvgElement { # [ inline ] fn from ( obj : SvgmPathElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgmPathElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgmPathElement > for Element { # [ inline ] fn from ( obj : SvgmPathElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgmPathElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgmPathElement > for Node { # [ inline ] fn from ( obj : SvgmPathElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgmPathElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgmPathElement > for EventTarget { # [ inline ] fn from ( obj : SvgmPathElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgmPathElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgmPathElement > for Object { # [ inline ] fn from ( obj : SvgmPathElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgmPathElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_SVGMPathElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgmPathElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgmPathElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgmPathElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_SVGMPathElement ( self_ : < & SvgmPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgmPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_SVGMPathElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgmPathElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGMarkerElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement)\n\n*This API requires the following crate features to be activated: `SvgMarkerElement`*" ] # [ repr ( transparent ) ] pub struct SvgMarkerElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgMarkerElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgMarkerElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgMarkerElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgMarkerElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgMarkerElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgMarkerElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgMarkerElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgMarkerElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgMarkerElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgMarkerElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgMarkerElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgMarkerElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgMarkerElement { # [ inline ] fn from ( obj : JsValue ) -> SvgMarkerElement { SvgMarkerElement { obj } } } impl AsRef < JsValue > for SvgMarkerElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgMarkerElement > for JsValue { # [ inline ] fn from ( obj : SvgMarkerElement ) -> JsValue { obj . obj } } impl JsCast for SvgMarkerElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGMarkerElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGMarkerElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgMarkerElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgMarkerElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgMarkerElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgMarkerElement > for SvgElement { # [ inline ] fn from ( obj : SvgMarkerElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgMarkerElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgMarkerElement > for Element { # [ inline ] fn from ( obj : SvgMarkerElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgMarkerElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgMarkerElement > for Node { # [ inline ] fn from ( obj : SvgMarkerElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgMarkerElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgMarkerElement > for EventTarget { # [ inline ] fn from ( obj : SvgMarkerElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgMarkerElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgMarkerElement > for Object { # [ inline ] fn from ( obj : SvgMarkerElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgMarkerElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_orient_to_angle_SVGMarkerElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgMarkerElement as WasmDescribe > :: describe ( ) ; < & SvgAngle as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgMarkerElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setOrientToAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/setOrientToAngle)\n\n*This API requires the following crate features to be activated: `SvgAngle`, `SvgMarkerElement`*" ] pub fn set_orient_to_angle ( & self , angle : & SvgAngle ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_orient_to_angle_SVGMarkerElement ( self_ : < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < & SvgAngle as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; __widl_f_set_orient_to_angle_SVGMarkerElement ( self_ , angle , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setOrientToAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/setOrientToAngle)\n\n*This API requires the following crate features to be activated: `SvgAngle`, `SvgMarkerElement`*" ] pub fn set_orient_to_angle ( & self , angle : & SvgAngle ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_orient_to_auto_SVGMarkerElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMarkerElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgMarkerElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setOrientToAuto()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/setOrientToAuto)\n\n*This API requires the following crate features to be activated: `SvgMarkerElement`*" ] pub fn set_orient_to_auto ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_orient_to_auto_SVGMarkerElement ( self_ : < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_set_orient_to_auto_SVGMarkerElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setOrientToAuto()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/setOrientToAuto)\n\n*This API requires the following crate features to be activated: `SvgMarkerElement`*" ] pub fn set_orient_to_auto ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ref_x_SVGMarkerElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMarkerElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgMarkerElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `refX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/refX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMarkerElement`*" ] pub fn ref_x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ref_x_SVGMarkerElement ( self_ : < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ref_x_SVGMarkerElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `refX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/refX)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMarkerElement`*" ] pub fn ref_x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ref_y_SVGMarkerElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMarkerElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgMarkerElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `refY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/refY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMarkerElement`*" ] pub fn ref_y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ref_y_SVGMarkerElement ( self_ : < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ref_y_SVGMarkerElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `refY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/refY)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMarkerElement`*" ] pub fn ref_y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_marker_units_SVGMarkerElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMarkerElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgMarkerElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `markerUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/markerUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgMarkerElement`*" ] pub fn marker_units ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_marker_units_SVGMarkerElement ( self_ : < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_marker_units_SVGMarkerElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `markerUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/markerUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgMarkerElement`*" ] pub fn marker_units ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_marker_width_SVGMarkerElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMarkerElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgMarkerElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `markerWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/markerWidth)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMarkerElement`*" ] pub fn marker_width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_marker_width_SVGMarkerElement ( self_ : < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_marker_width_SVGMarkerElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `markerWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/markerWidth)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMarkerElement`*" ] pub fn marker_width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_marker_height_SVGMarkerElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMarkerElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgMarkerElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `markerHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/markerHeight)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMarkerElement`*" ] pub fn marker_height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_marker_height_SVGMarkerElement ( self_ : < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_marker_height_SVGMarkerElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `markerHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/markerHeight)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMarkerElement`*" ] pub fn marker_height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_orient_type_SVGMarkerElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMarkerElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgMarkerElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `orientType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/orientType)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgMarkerElement`*" ] pub fn orient_type ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_orient_type_SVGMarkerElement ( self_ : < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_orient_type_SVGMarkerElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `orientType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/orientType)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgMarkerElement`*" ] pub fn orient_type ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_orient_angle_SVGMarkerElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMarkerElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedAngle as WasmDescribe > :: describe ( ) ; } impl SvgMarkerElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `orientAngle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/orientAngle)\n\n*This API requires the following crate features to be activated: `SvgAnimatedAngle`, `SvgMarkerElement`*" ] pub fn orient_angle ( & self , ) -> SvgAnimatedAngle { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_orient_angle_SVGMarkerElement ( self_ : < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedAngle as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_orient_angle_SVGMarkerElement ( self_ ) } ; < SvgAnimatedAngle as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `orientAngle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/orientAngle)\n\n*This API requires the following crate features to be activated: `SvgAnimatedAngle`, `SvgMarkerElement`*" ] pub fn orient_angle ( & self , ) -> SvgAnimatedAngle { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_view_box_SVGMarkerElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMarkerElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedRect as WasmDescribe > :: describe ( ) ; } impl SvgMarkerElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `viewBox` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/viewBox)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgMarkerElement`*" ] pub fn view_box ( & self , ) -> SvgAnimatedRect { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_view_box_SVGMarkerElement ( self_ : < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_view_box_SVGMarkerElement ( self_ ) } ; < SvgAnimatedRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `viewBox` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/viewBox)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgMarkerElement`*" ] pub fn view_box ( & self , ) -> SvgAnimatedRect { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_preserve_aspect_ratio_SVGMarkerElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMarkerElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedPreserveAspectRatio as WasmDescribe > :: describe ( ) ; } impl SvgMarkerElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgMarkerElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_preserve_aspect_ratio_SVGMarkerElement ( self_ : < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMarkerElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_preserve_aspect_ratio_SVGMarkerElement ( self_ ) } ; < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgMarkerElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGMaskElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement)\n\n*This API requires the following crate features to be activated: `SvgMaskElement`*" ] # [ repr ( transparent ) ] pub struct SvgMaskElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgMaskElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgMaskElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgMaskElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgMaskElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgMaskElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgMaskElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgMaskElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgMaskElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgMaskElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgMaskElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgMaskElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgMaskElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgMaskElement { # [ inline ] fn from ( obj : JsValue ) -> SvgMaskElement { SvgMaskElement { obj } } } impl AsRef < JsValue > for SvgMaskElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgMaskElement > for JsValue { # [ inline ] fn from ( obj : SvgMaskElement ) -> JsValue { obj . obj } } impl JsCast for SvgMaskElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGMaskElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGMaskElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgMaskElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgMaskElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgMaskElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgMaskElement > for SvgElement { # [ inline ] fn from ( obj : SvgMaskElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgMaskElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgMaskElement > for Element { # [ inline ] fn from ( obj : SvgMaskElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgMaskElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgMaskElement > for Node { # [ inline ] fn from ( obj : SvgMaskElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgMaskElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgMaskElement > for EventTarget { # [ inline ] fn from ( obj : SvgMaskElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgMaskElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgMaskElement > for Object { # [ inline ] fn from ( obj : SvgMaskElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgMaskElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mask_units_SVGMaskElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMaskElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgMaskElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maskUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/maskUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgMaskElement`*" ] pub fn mask_units ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mask_units_SVGMaskElement ( self_ : < & SvgMaskElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMaskElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_mask_units_SVGMaskElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maskUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/maskUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgMaskElement`*" ] pub fn mask_units ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mask_content_units_SVGMaskElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMaskElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgMaskElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maskContentUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/maskContentUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgMaskElement`*" ] pub fn mask_content_units ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mask_content_units_SVGMaskElement ( self_ : < & SvgMaskElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMaskElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_mask_content_units_SVGMaskElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maskContentUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/maskContentUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgMaskElement`*" ] pub fn mask_content_units ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGMaskElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMaskElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgMaskElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMaskElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGMaskElement ( self_ : < & SvgMaskElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMaskElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGMaskElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMaskElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGMaskElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMaskElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgMaskElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMaskElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGMaskElement ( self_ : < & SvgMaskElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMaskElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGMaskElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMaskElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGMaskElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMaskElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgMaskElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMaskElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGMaskElement ( self_ : < & SvgMaskElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMaskElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGMaskElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMaskElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGMaskElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMaskElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgMaskElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMaskElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGMaskElement ( self_ : < & SvgMaskElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMaskElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGMaskElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgMaskElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGMatrix` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] # [ repr ( transparent ) ] pub struct SvgMatrix { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgMatrix : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgMatrix { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgMatrix { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgMatrix { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgMatrix { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgMatrix { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgMatrix { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgMatrix { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgMatrix { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgMatrix { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgMatrix > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgMatrix { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgMatrix { # [ inline ] fn from ( obj : JsValue ) -> SvgMatrix { SvgMatrix { obj } } } impl AsRef < JsValue > for SvgMatrix { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgMatrix > for JsValue { # [ inline ] fn from ( obj : SvgMatrix ) -> JsValue { obj . obj } } impl JsCast for SvgMatrix { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGMatrix ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGMatrix ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgMatrix { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgMatrix ) } } } ( ) } ; impl core :: ops :: Deref for SvgMatrix { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgMatrix > for Object { # [ inline ] fn from ( obj : SvgMatrix ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgMatrix { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_flip_x_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `flipX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/flipX)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn flip_x ( & self , ) -> SvgMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_flip_x_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_flip_x_SVGMatrix ( self_ ) } ; < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `flipX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/flipX)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn flip_x ( & self , ) -> SvgMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_flip_y_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `flipY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/flipY)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn flip_y ( & self , ) -> SvgMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_flip_y_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_flip_y_SVGMatrix ( self_ ) } ; < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `flipY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/flipY)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn flip_y ( & self , ) -> SvgMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_inverse_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `inverse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/inverse)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn inverse ( & self , ) -> Result < SvgMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_inverse_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_inverse_SVGMatrix ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `inverse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/inverse)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn inverse ( & self , ) -> Result < SvgMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_multiply_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `multiply()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/multiply)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn multiply ( & self , second_matrix : & SvgMatrix ) -> SvgMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_multiply_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , second_matrix : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let second_matrix = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( second_matrix , & mut __stack ) ; __widl_f_multiply_SVGMatrix ( self_ , second_matrix ) } ; < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `multiply()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/multiply)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn multiply ( & self , second_matrix : & SvgMatrix ) -> SvgMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/rotate)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn rotate ( & self , angle : f32 ) -> SvgMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; __widl_f_rotate_SVGMatrix ( self_ , angle ) } ; < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/rotate)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn rotate ( & self , angle : f32 ) -> SvgMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_from_vector_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotateFromVector()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/rotateFromVector)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn rotate_from_vector ( & self , x : f32 , y : f32 ) -> Result < SvgMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_from_vector_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_rotate_from_vector_SVGMatrix ( self_ , x , y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotateFromVector()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/rotateFromVector)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn rotate_from_vector ( & self , x : f32 , y : f32 ) -> Result < SvgMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/scale)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn scale ( & self , scale_factor : f32 ) -> SvgMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_factor : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_factor = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_factor , & mut __stack ) ; __widl_f_scale_SVGMatrix ( self_ , scale_factor ) } ; < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/scale)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn scale ( & self , scale_factor : f32 ) -> SvgMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_non_uniform_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn scale_non_uniform ( & self , scale_factor_x : f32 , scale_factor_y : f32 ) -> SvgMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_non_uniform_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_factor_x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_factor_y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_factor_x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_factor_x , & mut __stack ) ; let scale_factor_y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_factor_y , & mut __stack ) ; __widl_f_scale_non_uniform_SVGMatrix ( self_ , scale_factor_x , scale_factor_y ) } ; < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scaleNonUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/scaleNonUniform)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn scale_non_uniform ( & self , scale_factor_x : f32 , scale_factor_y : f32 ) -> SvgMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_skew_x_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `skewX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/skewX)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn skew_x ( & self , angle : f32 ) -> Result < SvgMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_skew_x_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; __widl_f_skew_x_SVGMatrix ( self_ , angle , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `skewX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/skewX)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn skew_x ( & self , angle : f32 ) -> Result < SvgMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_skew_y_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `skewY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/skewY)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn skew_y ( & self , angle : f32 ) -> Result < SvgMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_skew_y_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; __widl_f_skew_y_SVGMatrix ( self_ , angle , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `skewY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/skewY)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn skew_y ( & self , angle : f32 ) -> Result < SvgMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_translate_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/translate)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn translate ( & self , x : f32 , y : f32 ) -> SvgMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_translate_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_translate_SVGMatrix ( self_ , x , y ) } ; < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/translate)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn translate ( & self , x : f32 , y : f32 ) -> SvgMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_a_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `a` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/a)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn a ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_a_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_a_SVGMatrix ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `a` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/a)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn a ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_a_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `a` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/a)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn set_a ( & self , a : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_a_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a , & mut __stack ) ; __widl_f_set_a_SVGMatrix ( self_ , a ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `a` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/a)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn set_a ( & self , a : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_b_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `b` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/b)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn b ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_b_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_b_SVGMatrix ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `b` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/b)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn b ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_b_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `b` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/b)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn set_b ( & self , b : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_b_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , b : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let b = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( b , & mut __stack ) ; __widl_f_set_b_SVGMatrix ( self_ , b ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `b` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/b)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn set_b ( & self , b : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_c_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `c` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/c)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn c ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_c_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_c_SVGMatrix ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `c` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/c)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn c ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_c_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `c` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/c)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn set_c ( & self , c : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_c_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , c : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let c = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( c , & mut __stack ) ; __widl_f_set_c_SVGMatrix ( self_ , c ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `c` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/c)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn set_c ( & self , c : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_d_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `d` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/d)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn d ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_d_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_d_SVGMatrix ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `d` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/d)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn d ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_d_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `d` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/d)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn set_d ( & self , d : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_d_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , d : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let d = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( d , & mut __stack ) ; __widl_f_set_d_SVGMatrix ( self_ , d ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `d` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/d)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn set_d ( & self , d : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_e_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `e` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/e)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn e ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_e_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_e_SVGMatrix ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `e` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/e)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn e ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_e_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `e` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/e)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn set_e ( & self , e : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_e_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , e : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let e = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( e , & mut __stack ) ; __widl_f_set_e_SVGMatrix ( self_ , e ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `e` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/e)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn set_e ( & self , e : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_f_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `f` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/f)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn f ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_f_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_f_SVGMatrix ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `f` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/f)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn f ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_f_SVGMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `f` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/f)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn set_f ( & self , f : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_f_SVGMatrix ( self_ : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , f : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let f = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( f , & mut __stack ) ; __widl_f_set_f_SVGMatrix ( self_ , f ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `f` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/f)\n\n*This API requires the following crate features to be activated: `SvgMatrix`*" ] pub fn set_f ( & self , f : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGMetadataElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMetadataElement)\n\n*This API requires the following crate features to be activated: `SvgMetadataElement`*" ] # [ repr ( transparent ) ] pub struct SvgMetadataElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgMetadataElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgMetadataElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgMetadataElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgMetadataElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgMetadataElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgMetadataElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgMetadataElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgMetadataElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgMetadataElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgMetadataElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgMetadataElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgMetadataElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgMetadataElement { # [ inline ] fn from ( obj : JsValue ) -> SvgMetadataElement { SvgMetadataElement { obj } } } impl AsRef < JsValue > for SvgMetadataElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgMetadataElement > for JsValue { # [ inline ] fn from ( obj : SvgMetadataElement ) -> JsValue { obj . obj } } impl JsCast for SvgMetadataElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGMetadataElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGMetadataElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgMetadataElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgMetadataElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgMetadataElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgMetadataElement > for SvgElement { # [ inline ] fn from ( obj : SvgMetadataElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgMetadataElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgMetadataElement > for Element { # [ inline ] fn from ( obj : SvgMetadataElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgMetadataElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgMetadataElement > for Node { # [ inline ] fn from ( obj : SvgMetadataElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgMetadataElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgMetadataElement > for EventTarget { # [ inline ] fn from ( obj : SvgMetadataElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgMetadataElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgMetadataElement > for Object { # [ inline ] fn from ( obj : SvgMetadataElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgMetadataElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGNumber` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumber)\n\n*This API requires the following crate features to be activated: `SvgNumber`*" ] # [ repr ( transparent ) ] pub struct SvgNumber { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgNumber : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgNumber { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgNumber { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgNumber { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgNumber { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgNumber { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgNumber { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgNumber { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgNumber { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgNumber { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgNumber > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgNumber { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgNumber { # [ inline ] fn from ( obj : JsValue ) -> SvgNumber { SvgNumber { obj } } } impl AsRef < JsValue > for SvgNumber { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgNumber > for JsValue { # [ inline ] fn from ( obj : SvgNumber ) -> JsValue { obj . obj } } impl JsCast for SvgNumber { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGNumber ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGNumber ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgNumber { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgNumber ) } } } ( ) } ; impl core :: ops :: Deref for SvgNumber { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgNumber > for Object { # [ inline ] fn from ( obj : SvgNumber ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgNumber { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_SVGNumber ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgNumber as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgNumber { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumber/value)\n\n*This API requires the following crate features to be activated: `SvgNumber`*" ] pub fn value ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_SVGNumber ( self_ : < & SvgNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_SVGNumber ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumber/value)\n\n*This API requires the following crate features to be activated: `SvgNumber`*" ] pub fn value ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_value_SVGNumber ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgNumber as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgNumber { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumber/value)\n\n*This API requires the following crate features to be activated: `SvgNumber`*" ] pub fn set_value ( & self , value : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_value_SVGNumber ( self_ : < & SvgNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_value_SVGNumber ( self_ , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `value` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumber/value)\n\n*This API requires the following crate features to be activated: `SvgNumber`*" ] pub fn set_value ( & self , value : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGNumberList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList)\n\n*This API requires the following crate features to be activated: `SvgNumberList`*" ] # [ repr ( transparent ) ] pub struct SvgNumberList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgNumberList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgNumberList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgNumberList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgNumberList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgNumberList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgNumberList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgNumberList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgNumberList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgNumberList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgNumberList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgNumberList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgNumberList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgNumberList { # [ inline ] fn from ( obj : JsValue ) -> SvgNumberList { SvgNumberList { obj } } } impl AsRef < JsValue > for SvgNumberList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgNumberList > for JsValue { # [ inline ] fn from ( obj : SvgNumberList ) -> JsValue { obj . obj } } impl JsCast for SvgNumberList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGNumberList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGNumberList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgNumberList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgNumberList ) } } } ( ) } ; impl core :: ops :: Deref for SvgNumberList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgNumberList > for Object { # [ inline ] fn from ( obj : SvgNumberList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgNumberList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_item_SVGNumberList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgNumberList as WasmDescribe > :: describe ( ) ; < & SvgNumber as WasmDescribe > :: describe ( ) ; < SvgNumber as WasmDescribe > :: describe ( ) ; } impl SvgNumberList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/appendItem)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn append_item ( & self , new_item : & SvgNumber ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_item_SVGNumberList ( self_ : < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; __widl_f_append_item_SVGNumberList ( self_ , new_item , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/appendItem)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn append_item ( & self , new_item : & SvgNumber ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_SVGNumberList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgNumberList as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgNumberList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/clear)\n\n*This API requires the following crate features to be activated: `SvgNumberList`*" ] pub fn clear ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_SVGNumberList ( self_ : < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_SVGNumberList ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/clear)\n\n*This API requires the following crate features to be activated: `SvgNumberList`*" ] pub fn clear ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_item_SVGNumberList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgNumberList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgNumber as WasmDescribe > :: describe ( ) ; } impl SvgNumberList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/getItem)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn get_item ( & self , index : u32 ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_item_SVGNumberList ( self_ : < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_item_SVGNumberList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/getItem)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn get_item ( & self , index : u32 ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_initialize_SVGNumberList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgNumberList as WasmDescribe > :: describe ( ) ; < & SvgNumber as WasmDescribe > :: describe ( ) ; < SvgNumber as WasmDescribe > :: describe ( ) ; } impl SvgNumberList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initialize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/initialize)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn initialize ( & self , new_item : & SvgNumber ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_initialize_SVGNumberList ( self_ : < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; __widl_f_initialize_SVGNumberList ( self_ , new_item , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initialize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/initialize)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn initialize ( & self , new_item : & SvgNumber ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_item_before_SVGNumberList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgNumberList as WasmDescribe > :: describe ( ) ; < & SvgNumber as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgNumber as WasmDescribe > :: describe ( ) ; } impl SvgNumberList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertItemBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/insertItemBefore)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn insert_item_before ( & self , new_item : & SvgNumber , index : u32 ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_item_before_SVGNumberList ( self_ : < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_insert_item_before_SVGNumberList ( self_ , new_item , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertItemBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/insertItemBefore)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn insert_item_before ( & self , new_item : & SvgNumber , index : u32 ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_item_SVGNumberList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgNumberList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgNumber as WasmDescribe > :: describe ( ) ; } impl SvgNumberList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/removeItem)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn remove_item ( & self , index : u32 ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_item_SVGNumberList ( self_ : < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_remove_item_SVGNumberList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/removeItem)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn remove_item ( & self , index : u32 ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_item_SVGNumberList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgNumberList as WasmDescribe > :: describe ( ) ; < & SvgNumber as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgNumber as WasmDescribe > :: describe ( ) ; } impl SvgNumberList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/replaceItem)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn replace_item ( & self , new_item : & SvgNumber , index : u32 ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_item_SVGNumberList ( self_ : < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgNumber as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_replace_item_SVGNumberList ( self_ , new_item , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/replaceItem)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn replace_item ( & self , new_item : & SvgNumber , index : u32 ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_SVGNumberList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgNumberList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgNumber as WasmDescribe > :: describe ( ) ; } impl SvgNumberList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn get ( & self , index : u32 ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_SVGNumberList ( self_ : < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_SVGNumberList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgNumberList`*" ] pub fn get ( & self , index : u32 ) -> Result < SvgNumber , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_number_of_items_SVGNumberList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgNumberList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SvgNumberList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `numberOfItems` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/numberOfItems)\n\n*This API requires the following crate features to be activated: `SvgNumberList`*" ] pub fn number_of_items ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_number_of_items_SVGNumberList ( self_ : < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgNumberList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_number_of_items_SVGNumberList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `numberOfItems` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGNumberList/numberOfItems)\n\n*This API requires the following crate features to be activated: `SvgNumberList`*" ] pub fn number_of_items ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGPathElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement)\n\n*This API requires the following crate features to be activated: `SvgPathElement`*" ] # [ repr ( transparent ) ] pub struct SvgPathElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgPathElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgPathElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgPathElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgPathElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgPathElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgPathElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgPathElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgPathElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgPathElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgPathElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgPathElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgPathElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgPathElement { # [ inline ] fn from ( obj : JsValue ) -> SvgPathElement { SvgPathElement { obj } } } impl AsRef < JsValue > for SvgPathElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgPathElement > for JsValue { # [ inline ] fn from ( obj : SvgPathElement ) -> JsValue { obj . obj } } impl JsCast for SvgPathElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGPathElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGPathElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgPathElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgPathElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgPathElement { type Target = SvgGeometryElement ; # [ inline ] fn deref ( & self ) -> & SvgGeometryElement { self . as_ref ( ) } } impl From < SvgPathElement > for SvgGeometryElement { # [ inline ] fn from ( obj : SvgPathElement ) -> SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGeometryElement > for SvgPathElement { # [ inline ] fn as_ref ( & self ) -> & SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPathElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgPathElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgPathElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPathElement > for SvgElement { # [ inline ] fn from ( obj : SvgPathElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgPathElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPathElement > for Element { # [ inline ] fn from ( obj : SvgPathElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgPathElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPathElement > for Node { # [ inline ] fn from ( obj : SvgPathElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgPathElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPathElement > for EventTarget { # [ inline ] fn from ( obj : SvgPathElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgPathElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPathElement > for Object { # [ inline ] fn from ( obj : SvgPathElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgPathElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_path_seg_at_length_SVGPathElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgPathElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SvgPathElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getPathSegAtLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/getPathSegAtLength)\n\n*This API requires the following crate features to be activated: `SvgPathElement`*" ] pub fn get_path_seg_at_length ( & self , distance : f32 ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_path_seg_at_length_SVGPathElement ( self_ : < & SvgPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , distance : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let distance = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( distance , & mut __stack ) ; __widl_f_get_path_seg_at_length_SVGPathElement ( self_ , distance ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getPathSegAtLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/getPathSegAtLength)\n\n*This API requires the following crate features to be activated: `SvgPathElement`*" ] pub fn get_path_seg_at_length ( & self , distance : f32 ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_path_seg_list_SVGPathElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPathElement as WasmDescribe > :: describe ( ) ; < SvgPathSegList as WasmDescribe > :: describe ( ) ; } impl SvgPathElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pathSegList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/pathSegList)\n\n*This API requires the following crate features to be activated: `SvgPathElement`, `SvgPathSegList`*" ] pub fn path_seg_list ( & self , ) -> SvgPathSegList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_path_seg_list_SVGPathElement ( self_ : < & SvgPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgPathSegList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_path_seg_list_SVGPathElement ( self_ ) } ; < SvgPathSegList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pathSegList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/pathSegList)\n\n*This API requires the following crate features to be activated: `SvgPathElement`, `SvgPathSegList`*" ] pub fn path_seg_list ( & self , ) -> SvgPathSegList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_animated_path_seg_list_SVGPathElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPathElement as WasmDescribe > :: describe ( ) ; < SvgPathSegList as WasmDescribe > :: describe ( ) ; } impl SvgPathElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animatedPathSegList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/animatedPathSegList)\n\n*This API requires the following crate features to be activated: `SvgPathElement`, `SvgPathSegList`*" ] pub fn animated_path_seg_list ( & self , ) -> SvgPathSegList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_animated_path_seg_list_SVGPathElement ( self_ : < & SvgPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgPathSegList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_animated_path_seg_list_SVGPathElement ( self_ ) } ; < SvgPathSegList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animatedPathSegList` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/animatedPathSegList)\n\n*This API requires the following crate features to be activated: `SvgPathElement`, `SvgPathSegList`*" ] pub fn animated_path_seg_list ( & self , ) -> SvgPathSegList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGPathSegList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegList)\n\n*This API requires the following crate features to be activated: `SvgPathSegList`*" ] # [ repr ( transparent ) ] pub struct SvgPathSegList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgPathSegList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgPathSegList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgPathSegList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgPathSegList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgPathSegList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgPathSegList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgPathSegList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgPathSegList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgPathSegList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgPathSegList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgPathSegList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgPathSegList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgPathSegList { # [ inline ] fn from ( obj : JsValue ) -> SvgPathSegList { SvgPathSegList { obj } } } impl AsRef < JsValue > for SvgPathSegList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgPathSegList > for JsValue { # [ inline ] fn from ( obj : SvgPathSegList ) -> JsValue { obj . obj } } impl JsCast for SvgPathSegList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGPathSegList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGPathSegList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgPathSegList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgPathSegList ) } } } ( ) } ; impl core :: ops :: Deref for SvgPathSegList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgPathSegList > for Object { # [ inline ] fn from ( obj : SvgPathSegList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgPathSegList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_number_of_items_SVGPathSegList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPathSegList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SvgPathSegList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `numberOfItems` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegList/numberOfItems)\n\n*This API requires the following crate features to be activated: `SvgPathSegList`*" ] pub fn number_of_items ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_number_of_items_SVGPathSegList ( self_ : < & SvgPathSegList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPathSegList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_number_of_items_SVGPathSegList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `numberOfItems` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegList/numberOfItems)\n\n*This API requires the following crate features to be activated: `SvgPathSegList`*" ] pub fn number_of_items ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGPatternElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement)\n\n*This API requires the following crate features to be activated: `SvgPatternElement`*" ] # [ repr ( transparent ) ] pub struct SvgPatternElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgPatternElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgPatternElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgPatternElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgPatternElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgPatternElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgPatternElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgPatternElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgPatternElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgPatternElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgPatternElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgPatternElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgPatternElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgPatternElement { # [ inline ] fn from ( obj : JsValue ) -> SvgPatternElement { SvgPatternElement { obj } } } impl AsRef < JsValue > for SvgPatternElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgPatternElement > for JsValue { # [ inline ] fn from ( obj : SvgPatternElement ) -> JsValue { obj . obj } } impl JsCast for SvgPatternElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGPatternElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGPatternElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgPatternElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgPatternElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgPatternElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgPatternElement > for SvgElement { # [ inline ] fn from ( obj : SvgPatternElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgPatternElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPatternElement > for Element { # [ inline ] fn from ( obj : SvgPatternElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgPatternElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPatternElement > for Node { # [ inline ] fn from ( obj : SvgPatternElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgPatternElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPatternElement > for EventTarget { # [ inline ] fn from ( obj : SvgPatternElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgPatternElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPatternElement > for Object { # [ inline ] fn from ( obj : SvgPatternElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgPatternElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pattern_units_SVGPatternElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPatternElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgPatternElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `patternUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/patternUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgPatternElement`*" ] pub fn pattern_units ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pattern_units_SVGPatternElement ( self_ : < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pattern_units_SVGPatternElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `patternUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/patternUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgPatternElement`*" ] pub fn pattern_units ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pattern_content_units_SVGPatternElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPatternElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgPatternElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `patternContentUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/patternContentUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgPatternElement`*" ] pub fn pattern_content_units ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pattern_content_units_SVGPatternElement ( self_ : < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pattern_content_units_SVGPatternElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `patternContentUnits` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/patternContentUnits)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgPatternElement`*" ] pub fn pattern_content_units ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pattern_transform_SVGPatternElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPatternElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedTransformList as WasmDescribe > :: describe ( ) ; } impl SvgPatternElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `patternTransform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/patternTransform)\n\n*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgPatternElement`*" ] pub fn pattern_transform ( & self , ) -> SvgAnimatedTransformList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pattern_transform_SVGPatternElement ( self_ : < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedTransformList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pattern_transform_SVGPatternElement ( self_ ) } ; < SvgAnimatedTransformList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `patternTransform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/patternTransform)\n\n*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgPatternElement`*" ] pub fn pattern_transform ( & self , ) -> SvgAnimatedTransformList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGPatternElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPatternElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgPatternElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGPatternElement ( self_ : < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGPatternElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGPatternElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPatternElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgPatternElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGPatternElement ( self_ : < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGPatternElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGPatternElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPatternElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgPatternElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGPatternElement ( self_ : < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGPatternElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGPatternElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPatternElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgPatternElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGPatternElement ( self_ : < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGPatternElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_view_box_SVGPatternElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPatternElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedRect as WasmDescribe > :: describe ( ) ; } impl SvgPatternElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `viewBox` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/viewBox)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgPatternElement`*" ] pub fn view_box ( & self , ) -> SvgAnimatedRect { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_view_box_SVGPatternElement ( self_ : < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_view_box_SVGPatternElement ( self_ ) } ; < SvgAnimatedRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `viewBox` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/viewBox)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgPatternElement`*" ] pub fn view_box ( & self , ) -> SvgAnimatedRect { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_preserve_aspect_ratio_SVGPatternElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPatternElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedPreserveAspectRatio as WasmDescribe > :: describe ( ) ; } impl SvgPatternElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgPatternElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_preserve_aspect_ratio_SVGPatternElement ( self_ : < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_preserve_aspect_ratio_SVGPatternElement ( self_ ) } ; < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgPatternElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_SVGPatternElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPatternElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgPatternElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgPatternElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_SVGPatternElement ( self_ : < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPatternElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_SVGPatternElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgPatternElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGPoint` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint)\n\n*This API requires the following crate features to be activated: `SvgPoint`*" ] # [ repr ( transparent ) ] pub struct SvgPoint { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgPoint : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgPoint { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgPoint { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgPoint { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgPoint { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgPoint { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgPoint { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgPoint { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgPoint { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgPoint { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgPoint > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgPoint { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgPoint { # [ inline ] fn from ( obj : JsValue ) -> SvgPoint { SvgPoint { obj } } } impl AsRef < JsValue > for SvgPoint { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgPoint > for JsValue { # [ inline ] fn from ( obj : SvgPoint ) -> JsValue { obj . obj } } impl JsCast for SvgPoint { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGPoint ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGPoint ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgPoint { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgPoint ) } } } ( ) } ; impl core :: ops :: Deref for SvgPoint { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgPoint > for Object { # [ inline ] fn from ( obj : SvgPoint ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgPoint { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_matrix_transform_SVGPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgPoint as WasmDescribe > :: describe ( ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < SvgPoint as WasmDescribe > :: describe ( ) ; } impl SvgPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `matrixTransform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/matrixTransform)\n\n*This API requires the following crate features to be activated: `SvgMatrix`, `SvgPoint`*" ] pub fn matrix_transform ( & self , matrix : & SvgMatrix ) -> SvgPoint { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_matrix_transform_SVGPoint ( self_ : < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , matrix : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let matrix = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( matrix , & mut __stack ) ; __widl_f_matrix_transform_SVGPoint ( self_ , matrix ) } ; < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `matrixTransform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/matrixTransform)\n\n*This API requires the following crate features to be activated: `SvgMatrix`, `SvgPoint`*" ] pub fn matrix_transform ( & self , matrix : & SvgMatrix ) -> SvgPoint { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPoint as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/x)\n\n*This API requires the following crate features to be activated: `SvgPoint`*" ] pub fn x ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGPoint ( self_ : < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGPoint ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/x)\n\n*This API requires the following crate features to be activated: `SvgPoint`*" ] pub fn x ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_x_SVGPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgPoint as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/x)\n\n*This API requires the following crate features to be activated: `SvgPoint`*" ] pub fn set_x ( & self , x : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_x_SVGPoint ( self_ : < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_set_x_SVGPoint ( self_ , x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/x)\n\n*This API requires the following crate features to be activated: `SvgPoint`*" ] pub fn set_x ( & self , x : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPoint as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/y)\n\n*This API requires the following crate features to be activated: `SvgPoint`*" ] pub fn y ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGPoint ( self_ : < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGPoint ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/y)\n\n*This API requires the following crate features to be activated: `SvgPoint`*" ] pub fn y ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_y_SVGPoint ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgPoint as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgPoint { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/y)\n\n*This API requires the following crate features to be activated: `SvgPoint`*" ] pub fn set_y ( & self , y : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_y_SVGPoint ( self_ : < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_set_y_SVGPoint ( self_ , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/y)\n\n*This API requires the following crate features to be activated: `SvgPoint`*" ] pub fn set_y ( & self , y : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGPointList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList)\n\n*This API requires the following crate features to be activated: `SvgPointList`*" ] # [ repr ( transparent ) ] pub struct SvgPointList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgPointList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgPointList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgPointList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgPointList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgPointList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgPointList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgPointList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgPointList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgPointList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgPointList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgPointList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgPointList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgPointList { # [ inline ] fn from ( obj : JsValue ) -> SvgPointList { SvgPointList { obj } } } impl AsRef < JsValue > for SvgPointList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgPointList > for JsValue { # [ inline ] fn from ( obj : SvgPointList ) -> JsValue { obj . obj } } impl JsCast for SvgPointList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGPointList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGPointList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgPointList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgPointList ) } } } ( ) } ; impl core :: ops :: Deref for SvgPointList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgPointList > for Object { # [ inline ] fn from ( obj : SvgPointList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgPointList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_item_SVGPointList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgPointList as WasmDescribe > :: describe ( ) ; < & SvgPoint as WasmDescribe > :: describe ( ) ; < SvgPoint as WasmDescribe > :: describe ( ) ; } impl SvgPointList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/appendItem)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn append_item ( & self , new_item : & SvgPoint ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_item_SVGPointList ( self_ : < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; __widl_f_append_item_SVGPointList ( self_ , new_item , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/appendItem)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn append_item ( & self , new_item : & SvgPoint ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_SVGPointList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPointList as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgPointList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/clear)\n\n*This API requires the following crate features to be activated: `SvgPointList`*" ] pub fn clear ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_SVGPointList ( self_ : < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_SVGPointList ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/clear)\n\n*This API requires the following crate features to be activated: `SvgPointList`*" ] pub fn clear ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_item_SVGPointList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgPointList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgPoint as WasmDescribe > :: describe ( ) ; } impl SvgPointList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/getItem)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn get_item ( & self , index : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_item_SVGPointList ( self_ : < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_item_SVGPointList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/getItem)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn get_item ( & self , index : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_initialize_SVGPointList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgPointList as WasmDescribe > :: describe ( ) ; < & SvgPoint as WasmDescribe > :: describe ( ) ; < SvgPoint as WasmDescribe > :: describe ( ) ; } impl SvgPointList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initialize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/initialize)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn initialize ( & self , new_item : & SvgPoint ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_initialize_SVGPointList ( self_ : < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; __widl_f_initialize_SVGPointList ( self_ , new_item , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initialize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/initialize)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn initialize ( & self , new_item : & SvgPoint ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_item_before_SVGPointList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgPointList as WasmDescribe > :: describe ( ) ; < & SvgPoint as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgPoint as WasmDescribe > :: describe ( ) ; } impl SvgPointList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertItemBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/insertItemBefore)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn insert_item_before ( & self , new_item : & SvgPoint , index : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_item_before_SVGPointList ( self_ : < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_insert_item_before_SVGPointList ( self_ , new_item , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertItemBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/insertItemBefore)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn insert_item_before ( & self , new_item : & SvgPoint , index : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_item_SVGPointList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgPointList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgPoint as WasmDescribe > :: describe ( ) ; } impl SvgPointList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/removeItem)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn remove_item ( & self , index : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_item_SVGPointList ( self_ : < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_remove_item_SVGPointList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/removeItem)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn remove_item ( & self , index : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_item_SVGPointList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgPointList as WasmDescribe > :: describe ( ) ; < & SvgPoint as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgPoint as WasmDescribe > :: describe ( ) ; } impl SvgPointList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/replaceItem)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn replace_item ( & self , new_item : & SvgPoint , index : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_item_SVGPointList ( self_ : < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_replace_item_SVGPointList ( self_ , new_item , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/replaceItem)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn replace_item ( & self , new_item : & SvgPoint , index : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_SVGPointList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgPointList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgPoint as WasmDescribe > :: describe ( ) ; } impl SvgPointList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn get ( & self , index : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_SVGPointList ( self_ : < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_SVGPointList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgPointList`*" ] pub fn get ( & self , index : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_number_of_items_SVGPointList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPointList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SvgPointList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `numberOfItems` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/numberOfItems)\n\n*This API requires the following crate features to be activated: `SvgPointList`*" ] pub fn number_of_items ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_number_of_items_SVGPointList ( self_ : < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPointList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_number_of_items_SVGPointList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `numberOfItems` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPointList/numberOfItems)\n\n*This API requires the following crate features to be activated: `SvgPointList`*" ] pub fn number_of_items ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGPolygonElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement)\n\n*This API requires the following crate features to be activated: `SvgPolygonElement`*" ] # [ repr ( transparent ) ] pub struct SvgPolygonElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgPolygonElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgPolygonElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgPolygonElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgPolygonElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgPolygonElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgPolygonElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgPolygonElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgPolygonElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgPolygonElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgPolygonElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgPolygonElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgPolygonElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgPolygonElement { # [ inline ] fn from ( obj : JsValue ) -> SvgPolygonElement { SvgPolygonElement { obj } } } impl AsRef < JsValue > for SvgPolygonElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgPolygonElement > for JsValue { # [ inline ] fn from ( obj : SvgPolygonElement ) -> JsValue { obj . obj } } impl JsCast for SvgPolygonElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGPolygonElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGPolygonElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgPolygonElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgPolygonElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgPolygonElement { type Target = SvgGeometryElement ; # [ inline ] fn deref ( & self ) -> & SvgGeometryElement { self . as_ref ( ) } } impl From < SvgPolygonElement > for SvgGeometryElement { # [ inline ] fn from ( obj : SvgPolygonElement ) -> SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGeometryElement > for SvgPolygonElement { # [ inline ] fn as_ref ( & self ) -> & SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPolygonElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgPolygonElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgPolygonElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPolygonElement > for SvgElement { # [ inline ] fn from ( obj : SvgPolygonElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgPolygonElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPolygonElement > for Element { # [ inline ] fn from ( obj : SvgPolygonElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgPolygonElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPolygonElement > for Node { # [ inline ] fn from ( obj : SvgPolygonElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgPolygonElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPolygonElement > for EventTarget { # [ inline ] fn from ( obj : SvgPolygonElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgPolygonElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPolygonElement > for Object { # [ inline ] fn from ( obj : SvgPolygonElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgPolygonElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_points_SVGPolygonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPolygonElement as WasmDescribe > :: describe ( ) ; < SvgPointList as WasmDescribe > :: describe ( ) ; } impl SvgPolygonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `points` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement/points)\n\n*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolygonElement`*" ] pub fn points ( & self , ) -> SvgPointList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_points_SVGPolygonElement ( self_ : < & SvgPolygonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgPointList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPolygonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_points_SVGPolygonElement ( self_ ) } ; < SvgPointList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `points` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement/points)\n\n*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolygonElement`*" ] pub fn points ( & self , ) -> SvgPointList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_animated_points_SVGPolygonElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPolygonElement as WasmDescribe > :: describe ( ) ; < SvgPointList as WasmDescribe > :: describe ( ) ; } impl SvgPolygonElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animatedPoints` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement/animatedPoints)\n\n*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolygonElement`*" ] pub fn animated_points ( & self , ) -> SvgPointList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_animated_points_SVGPolygonElement ( self_ : < & SvgPolygonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgPointList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPolygonElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_animated_points_SVGPolygonElement ( self_ ) } ; < SvgPointList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animatedPoints` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement/animatedPoints)\n\n*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolygonElement`*" ] pub fn animated_points ( & self , ) -> SvgPointList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGPolylineElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement)\n\n*This API requires the following crate features to be activated: `SvgPolylineElement`*" ] # [ repr ( transparent ) ] pub struct SvgPolylineElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgPolylineElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgPolylineElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgPolylineElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgPolylineElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgPolylineElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgPolylineElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgPolylineElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgPolylineElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgPolylineElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgPolylineElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgPolylineElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgPolylineElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgPolylineElement { # [ inline ] fn from ( obj : JsValue ) -> SvgPolylineElement { SvgPolylineElement { obj } } } impl AsRef < JsValue > for SvgPolylineElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgPolylineElement > for JsValue { # [ inline ] fn from ( obj : SvgPolylineElement ) -> JsValue { obj . obj } } impl JsCast for SvgPolylineElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGPolylineElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGPolylineElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgPolylineElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgPolylineElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgPolylineElement { type Target = SvgGeometryElement ; # [ inline ] fn deref ( & self ) -> & SvgGeometryElement { self . as_ref ( ) } } impl From < SvgPolylineElement > for SvgGeometryElement { # [ inline ] fn from ( obj : SvgPolylineElement ) -> SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGeometryElement > for SvgPolylineElement { # [ inline ] fn as_ref ( & self ) -> & SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPolylineElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgPolylineElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgPolylineElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPolylineElement > for SvgElement { # [ inline ] fn from ( obj : SvgPolylineElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgPolylineElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPolylineElement > for Element { # [ inline ] fn from ( obj : SvgPolylineElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgPolylineElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPolylineElement > for Node { # [ inline ] fn from ( obj : SvgPolylineElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgPolylineElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPolylineElement > for EventTarget { # [ inline ] fn from ( obj : SvgPolylineElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgPolylineElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgPolylineElement > for Object { # [ inline ] fn from ( obj : SvgPolylineElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgPolylineElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_points_SVGPolylineElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPolylineElement as WasmDescribe > :: describe ( ) ; < SvgPointList as WasmDescribe > :: describe ( ) ; } impl SvgPolylineElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `points` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement/points)\n\n*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolylineElement`*" ] pub fn points ( & self , ) -> SvgPointList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_points_SVGPolylineElement ( self_ : < & SvgPolylineElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgPointList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPolylineElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_points_SVGPolylineElement ( self_ ) } ; < SvgPointList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `points` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement/points)\n\n*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolylineElement`*" ] pub fn points ( & self , ) -> SvgPointList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_animated_points_SVGPolylineElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPolylineElement as WasmDescribe > :: describe ( ) ; < SvgPointList as WasmDescribe > :: describe ( ) ; } impl SvgPolylineElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animatedPoints` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement/animatedPoints)\n\n*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolylineElement`*" ] pub fn animated_points ( & self , ) -> SvgPointList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_animated_points_SVGPolylineElement ( self_ : < & SvgPolylineElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgPointList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPolylineElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_animated_points_SVGPolylineElement ( self_ ) } ; < SvgPointList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animatedPoints` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement/animatedPoints)\n\n*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolylineElement`*" ] pub fn animated_points ( & self , ) -> SvgPointList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGPreserveAspectRatio` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*" ] # [ repr ( transparent ) ] pub struct SvgPreserveAspectRatio { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgPreserveAspectRatio : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgPreserveAspectRatio { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgPreserveAspectRatio { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgPreserveAspectRatio { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgPreserveAspectRatio { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgPreserveAspectRatio { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgPreserveAspectRatio { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgPreserveAspectRatio { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgPreserveAspectRatio { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgPreserveAspectRatio { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgPreserveAspectRatio > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgPreserveAspectRatio { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgPreserveAspectRatio { # [ inline ] fn from ( obj : JsValue ) -> SvgPreserveAspectRatio { SvgPreserveAspectRatio { obj } } } impl AsRef < JsValue > for SvgPreserveAspectRatio { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgPreserveAspectRatio > for JsValue { # [ inline ] fn from ( obj : SvgPreserveAspectRatio ) -> JsValue { obj . obj } } impl JsCast for SvgPreserveAspectRatio { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGPreserveAspectRatio ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGPreserveAspectRatio ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgPreserveAspectRatio { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgPreserveAspectRatio ) } } } ( ) } ; impl core :: ops :: Deref for SvgPreserveAspectRatio { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgPreserveAspectRatio > for Object { # [ inline ] fn from ( obj : SvgPreserveAspectRatio ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgPreserveAspectRatio { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_SVGPreserveAspectRatio ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPreserveAspectRatio as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl SvgPreserveAspectRatio { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio/align)\n\n*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*" ] pub fn align ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_SVGPreserveAspectRatio ( self_ : < & SvgPreserveAspectRatio as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPreserveAspectRatio as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_SVGPreserveAspectRatio ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio/align)\n\n*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*" ] pub fn align ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_SVGPreserveAspectRatio ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgPreserveAspectRatio as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgPreserveAspectRatio { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio/align)\n\n*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*" ] pub fn set_align ( & self , align : u16 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_SVGPreserveAspectRatio ( self_ : < & SvgPreserveAspectRatio as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPreserveAspectRatio as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_SVGPreserveAspectRatio ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio/align)\n\n*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*" ] pub fn set_align ( & self , align : u16 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_meet_or_slice_SVGPreserveAspectRatio ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgPreserveAspectRatio as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl SvgPreserveAspectRatio { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `meetOrSlice` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio/meetOrSlice)\n\n*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*" ] pub fn meet_or_slice ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_meet_or_slice_SVGPreserveAspectRatio ( self_ : < & SvgPreserveAspectRatio as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPreserveAspectRatio as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_meet_or_slice_SVGPreserveAspectRatio ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `meetOrSlice` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio/meetOrSlice)\n\n*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*" ] pub fn meet_or_slice ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_meet_or_slice_SVGPreserveAspectRatio ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgPreserveAspectRatio as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgPreserveAspectRatio { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `meetOrSlice` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio/meetOrSlice)\n\n*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*" ] pub fn set_meet_or_slice ( & self , meet_or_slice : u16 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_meet_or_slice_SVGPreserveAspectRatio ( self_ : < & SvgPreserveAspectRatio as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meet_or_slice : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgPreserveAspectRatio as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let meet_or_slice = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meet_or_slice , & mut __stack ) ; __widl_f_set_meet_or_slice_SVGPreserveAspectRatio ( self_ , meet_or_slice ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `meetOrSlice` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPreserveAspectRatio/meetOrSlice)\n\n*This API requires the following crate features to be activated: `SvgPreserveAspectRatio`*" ] pub fn set_meet_or_slice ( & self , meet_or_slice : u16 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGRadialGradientElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement)\n\n*This API requires the following crate features to be activated: `SvgRadialGradientElement`*" ] # [ repr ( transparent ) ] pub struct SvgRadialGradientElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgRadialGradientElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgRadialGradientElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgRadialGradientElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgRadialGradientElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgRadialGradientElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgRadialGradientElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgRadialGradientElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgRadialGradientElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgRadialGradientElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgRadialGradientElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgRadialGradientElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgRadialGradientElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgRadialGradientElement { # [ inline ] fn from ( obj : JsValue ) -> SvgRadialGradientElement { SvgRadialGradientElement { obj } } } impl AsRef < JsValue > for SvgRadialGradientElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgRadialGradientElement > for JsValue { # [ inline ] fn from ( obj : SvgRadialGradientElement ) -> JsValue { obj . obj } } impl JsCast for SvgRadialGradientElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGRadialGradientElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGRadialGradientElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgRadialGradientElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgRadialGradientElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgRadialGradientElement { type Target = SvgGradientElement ; # [ inline ] fn deref ( & self ) -> & SvgGradientElement { self . as_ref ( ) } } impl From < SvgRadialGradientElement > for SvgGradientElement { # [ inline ] fn from ( obj : SvgRadialGradientElement ) -> SvgGradientElement { use wasm_bindgen :: JsCast ; SvgGradientElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGradientElement > for SvgRadialGradientElement { # [ inline ] fn as_ref ( & self ) -> & SvgGradientElement { use wasm_bindgen :: JsCast ; SvgGradientElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgRadialGradientElement > for SvgElement { # [ inline ] fn from ( obj : SvgRadialGradientElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgRadialGradientElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgRadialGradientElement > for Element { # [ inline ] fn from ( obj : SvgRadialGradientElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgRadialGradientElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgRadialGradientElement > for Node { # [ inline ] fn from ( obj : SvgRadialGradientElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgRadialGradientElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgRadialGradientElement > for EventTarget { # [ inline ] fn from ( obj : SvgRadialGradientElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgRadialGradientElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgRadialGradientElement > for Object { # [ inline ] fn from ( obj : SvgRadialGradientElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgRadialGradientElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cx_SVGRadialGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRadialGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgRadialGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/cx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*" ] pub fn cx ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cx_SVGRadialGradientElement ( self_ : < & SvgRadialGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRadialGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cx_SVGRadialGradientElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/cx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*" ] pub fn cx ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cy_SVGRadialGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRadialGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgRadialGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/cy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*" ] pub fn cy ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cy_SVGRadialGradientElement ( self_ : < & SvgRadialGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRadialGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cy_SVGRadialGradientElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/cy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*" ] pub fn cy ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_r_SVGRadialGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRadialGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgRadialGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `r` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/r)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*" ] pub fn r ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_r_SVGRadialGradientElement ( self_ : < & SvgRadialGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRadialGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_r_SVGRadialGradientElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `r` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/r)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*" ] pub fn r ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fx_SVGRadialGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRadialGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgRadialGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/fx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*" ] pub fn fx ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fx_SVGRadialGradientElement ( self_ : < & SvgRadialGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRadialGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fx_SVGRadialGradientElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/fx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*" ] pub fn fx ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fy_SVGRadialGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRadialGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgRadialGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/fy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*" ] pub fn fy ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fy_SVGRadialGradientElement ( self_ : < & SvgRadialGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRadialGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fy_SVGRadialGradientElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/fy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*" ] pub fn fy ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fr_SVGRadialGradientElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRadialGradientElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgRadialGradientElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fr` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/fr)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*" ] pub fn fr ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fr_SVGRadialGradientElement ( self_ : < & SvgRadialGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRadialGradientElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fr_SVGRadialGradientElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fr` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement/fr)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRadialGradientElement`*" ] pub fn fr ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGRect` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] # [ repr ( transparent ) ] pub struct SvgRect { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgRect : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgRect { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgRect { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgRect { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgRect { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgRect { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgRect { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgRect { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgRect { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgRect { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgRect > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgRect { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgRect { # [ inline ] fn from ( obj : JsValue ) -> SvgRect { SvgRect { obj } } } impl AsRef < JsValue > for SvgRect { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgRect > for JsValue { # [ inline ] fn from ( obj : SvgRect ) -> JsValue { obj . obj } } impl JsCast for SvgRect { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGRect ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGRect ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgRect { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgRect ) } } } ( ) } ; impl core :: ops :: Deref for SvgRect { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgRect > for Object { # [ inline ] fn from ( obj : SvgRect ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgRect { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRect as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/x)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn x ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGRect ( self_ : < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGRect ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/x)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn x ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_x_SVGRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgRect as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/x)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn set_x ( & self , x : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_x_SVGRect ( self_ : < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_set_x_SVGRect ( self_ , x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/x)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn set_x ( & self , x : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRect as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/y)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn y ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGRect ( self_ : < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGRect ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/y)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn y ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_y_SVGRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgRect as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/y)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn set_y ( & self , y : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_y_SVGRect ( self_ : < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_set_y_SVGRect ( self_ , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/y)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn set_y ( & self , y : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRect as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/width)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn width ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGRect ( self_ : < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGRect ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/width)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn width ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_SVGRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgRect as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/width)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn set_width ( & self , width : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_SVGRect ( self_ : < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_SVGRect ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/width)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn set_width ( & self , width : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRect as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/height)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn height ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGRect ( self_ : < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGRect ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/height)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn height ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_height_SVGRect ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgRect as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgRect { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/height)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn set_height ( & self , height : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_height_SVGRect ( self_ : < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRect as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let height = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_set_height_SVGRect ( self_ , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRect/height)\n\n*This API requires the following crate features to be activated: `SvgRect`*" ] pub fn set_height ( & self , height : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGRectElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement)\n\n*This API requires the following crate features to be activated: `SvgRectElement`*" ] # [ repr ( transparent ) ] pub struct SvgRectElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgRectElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgRectElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgRectElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgRectElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgRectElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgRectElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgRectElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgRectElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgRectElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgRectElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgRectElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgRectElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgRectElement { # [ inline ] fn from ( obj : JsValue ) -> SvgRectElement { SvgRectElement { obj } } } impl AsRef < JsValue > for SvgRectElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgRectElement > for JsValue { # [ inline ] fn from ( obj : SvgRectElement ) -> JsValue { obj . obj } } impl JsCast for SvgRectElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGRectElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGRectElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgRectElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgRectElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgRectElement { type Target = SvgGeometryElement ; # [ inline ] fn deref ( & self ) -> & SvgGeometryElement { self . as_ref ( ) } } impl From < SvgRectElement > for SvgGeometryElement { # [ inline ] fn from ( obj : SvgRectElement ) -> SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGeometryElement > for SvgRectElement { # [ inline ] fn as_ref ( & self ) -> & SvgGeometryElement { use wasm_bindgen :: JsCast ; SvgGeometryElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgRectElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgRectElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgRectElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgRectElement > for SvgElement { # [ inline ] fn from ( obj : SvgRectElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgRectElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgRectElement > for Element { # [ inline ] fn from ( obj : SvgRectElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgRectElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgRectElement > for Node { # [ inline ] fn from ( obj : SvgRectElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgRectElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgRectElement > for EventTarget { # [ inline ] fn from ( obj : SvgRectElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgRectElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgRectElement > for Object { # [ inline ] fn from ( obj : SvgRectElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgRectElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGRectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRectElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgRectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGRectElement ( self_ : < & SvgRectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGRectElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGRectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRectElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgRectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGRectElement ( self_ : < & SvgRectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGRectElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGRectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRectElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgRectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGRectElement ( self_ : < & SvgRectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGRectElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGRectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRectElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgRectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGRectElement ( self_ : < & SvgRectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGRectElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rx_SVGRectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRectElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgRectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/rx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*" ] pub fn rx ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rx_SVGRectElement ( self_ : < & SvgRectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rx_SVGRectElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/rx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*" ] pub fn rx ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ry_SVGRectElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgRectElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgRectElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ry` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/ry)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*" ] pub fn ry ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ry_SVGRectElement ( self_ : < & SvgRectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgRectElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ry_SVGRectElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ry` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement/ry)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgRectElement`*" ] pub fn ry ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGSVGElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] # [ repr ( transparent ) ] pub struct SvgsvgElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgsvgElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgsvgElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgsvgElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgsvgElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgsvgElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgsvgElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgsvgElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgsvgElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgsvgElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgsvgElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgsvgElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgsvgElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgsvgElement { # [ inline ] fn from ( obj : JsValue ) -> SvgsvgElement { SvgsvgElement { obj } } } impl AsRef < JsValue > for SvgsvgElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgsvgElement > for JsValue { # [ inline ] fn from ( obj : SvgsvgElement ) -> JsValue { obj . obj } } impl JsCast for SvgsvgElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGSVGElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGSVGElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgsvgElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgsvgElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgsvgElement { type Target = SvgGraphicsElement ; # [ inline ] fn deref ( & self ) -> & SvgGraphicsElement { self . as_ref ( ) } } impl From < SvgsvgElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgsvgElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgsvgElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgsvgElement > for SvgElement { # [ inline ] fn from ( obj : SvgsvgElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgsvgElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgsvgElement > for Element { # [ inline ] fn from ( obj : SvgsvgElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgsvgElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgsvgElement > for Node { # [ inline ] fn from ( obj : SvgsvgElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgsvgElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgsvgElement > for EventTarget { # [ inline ] fn from ( obj : SvgsvgElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgsvgElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgsvgElement > for Object { # [ inline ] fn from ( obj : SvgsvgElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgsvgElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_animations_paused_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `animationsPaused()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/animationsPaused)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn animations_paused ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_animations_paused_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_animations_paused_SVGSVGElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `animationsPaused()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/animationsPaused)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn animations_paused ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_svg_angle_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgAngle as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSVGAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGAngle)\n\n*This API requires the following crate features to be activated: `SvgAngle`, `SvgsvgElement`*" ] pub fn create_svg_angle ( & self , ) -> SvgAngle { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_svg_angle_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAngle as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_svg_angle_SVGSVGElement ( self_ ) } ; < SvgAngle as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSVGAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGAngle)\n\n*This API requires the following crate features to be activated: `SvgAngle`, `SvgsvgElement`*" ] pub fn create_svg_angle ( & self , ) -> SvgAngle { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_svg_length_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgLength as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSVGLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGLength)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgsvgElement`*" ] pub fn create_svg_length ( & self , ) -> SvgLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_svg_length_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_svg_length_SVGSVGElement ( self_ ) } ; < SvgLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSVGLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGLength)\n\n*This API requires the following crate features to be activated: `SvgLength`, `SvgsvgElement`*" ] pub fn create_svg_length ( & self , ) -> SvgLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_svg_matrix_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSVGMatrix()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGMatrix)\n\n*This API requires the following crate features to be activated: `SvgMatrix`, `SvgsvgElement`*" ] pub fn create_svg_matrix ( & self , ) -> SvgMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_svg_matrix_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_svg_matrix_SVGSVGElement ( self_ ) } ; < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSVGMatrix()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGMatrix)\n\n*This API requires the following crate features to be activated: `SvgMatrix`, `SvgsvgElement`*" ] pub fn create_svg_matrix ( & self , ) -> SvgMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_svg_number_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgNumber as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSVGNumber()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGNumber)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgsvgElement`*" ] pub fn create_svg_number ( & self , ) -> SvgNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_svg_number_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_svg_number_SVGSVGElement ( self_ ) } ; < SvgNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSVGNumber()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGNumber)\n\n*This API requires the following crate features to be activated: `SvgNumber`, `SvgsvgElement`*" ] pub fn create_svg_number ( & self , ) -> SvgNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_svg_point_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgPoint as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSVGPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGPoint)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgsvgElement`*" ] pub fn create_svg_point ( & self , ) -> SvgPoint { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_svg_point_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_svg_point_SVGSVGElement ( self_ ) } ; < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSVGPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGPoint)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgsvgElement`*" ] pub fn create_svg_point ( & self , ) -> SvgPoint { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_svg_rect_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgRect as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSVGRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGRect)\n\n*This API requires the following crate features to be activated: `SvgRect`, `SvgsvgElement`*" ] pub fn create_svg_rect ( & self , ) -> SvgRect { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_svg_rect_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_svg_rect_SVGSVGElement ( self_ ) } ; < SvgRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSVGRect()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGRect)\n\n*This API requires the following crate features to be activated: `SvgRect`, `SvgsvgElement`*" ] pub fn create_svg_rect ( & self , ) -> SvgRect { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_svg_transform_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgTransform as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSVGTransform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGTransform)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgsvgElement`*" ] pub fn create_svg_transform ( & self , ) -> SvgTransform { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_svg_transform_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_svg_transform_SVGSVGElement ( self_ ) } ; < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSVGTransform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGTransform)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgsvgElement`*" ] pub fn create_svg_transform ( & self , ) -> SvgTransform { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_svg_transform_from_matrix_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < SvgTransform as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSVGTransformFromMatrix()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGTransformFromMatrix)\n\n*This API requires the following crate features to be activated: `SvgMatrix`, `SvgTransform`, `SvgsvgElement`*" ] pub fn create_svg_transform_from_matrix ( & self , matrix : & SvgMatrix ) -> SvgTransform { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_svg_transform_from_matrix_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , matrix : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let matrix = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( matrix , & mut __stack ) ; __widl_f_create_svg_transform_from_matrix_SVGSVGElement ( self_ , matrix ) } ; < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSVGTransformFromMatrix()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/createSVGTransformFromMatrix)\n\n*This API requires the following crate features to be activated: `SvgMatrix`, `SvgTransform`, `SvgsvgElement`*" ] pub fn create_svg_transform_from_matrix ( & self , matrix : & SvgMatrix ) -> SvgTransform { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_deselect_all_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deselectAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/deselectAll)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn deselect_all ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_deselect_all_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_deselect_all_SVGSVGElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deselectAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/deselectAll)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn deselect_all ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_force_redraw_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `forceRedraw()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/forceRedraw)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn force_redraw ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_force_redraw_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_force_redraw_SVGSVGElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `forceRedraw()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/forceRedraw)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn force_redraw ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_current_time_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getCurrentTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/getCurrentTime)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn get_current_time ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_current_time_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_current_time_SVGSVGElement ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getCurrentTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/getCurrentTime)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn get_current_time ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_element_by_id_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getElementById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/getElementById)\n\n*This API requires the following crate features to be activated: `Element`, `SvgsvgElement`*" ] pub fn get_element_by_id ( & self , element_id : & str ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_element_by_id_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element_id , & mut __stack ) ; __widl_f_get_element_by_id_SVGSVGElement ( self_ , element_id ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getElementById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/getElementById)\n\n*This API requires the following crate features to be activated: `Element`, `SvgsvgElement`*" ] pub fn get_element_by_id ( & self , element_id : & str ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pause_animations_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pauseAnimations()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/pauseAnimations)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn pause_animations ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pause_animations_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pause_animations_SVGSVGElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pauseAnimations()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/pauseAnimations)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn pause_animations ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_current_time_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setCurrentTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/setCurrentTime)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn set_current_time ( & self , seconds : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_current_time_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , seconds : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let seconds = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( seconds , & mut __stack ) ; __widl_f_set_current_time_SVGSVGElement ( self_ , seconds ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setCurrentTime()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/setCurrentTime)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn set_current_time ( & self , seconds : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_suspend_redraw_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `suspendRedraw()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/suspendRedraw)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn suspend_redraw ( & self , max_wait_milliseconds : u32 ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_suspend_redraw_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max_wait_milliseconds : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let max_wait_milliseconds = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max_wait_milliseconds , & mut __stack ) ; __widl_f_suspend_redraw_SVGSVGElement ( self_ , max_wait_milliseconds ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `suspendRedraw()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/suspendRedraw)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn suspend_redraw ( & self , max_wait_milliseconds : u32 ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unpause_animations_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unpauseAnimations()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/unpauseAnimations)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn unpause_animations ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unpause_animations_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unpause_animations_SVGSVGElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unpauseAnimations()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/unpauseAnimations)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn unpause_animations ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unsuspend_redraw_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unsuspendRedraw()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/unsuspendRedraw)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn unsuspend_redraw ( & self , suspend_handle_id : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unsuspend_redraw_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , suspend_handle_id : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let suspend_handle_id = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( suspend_handle_id , & mut __stack ) ; __widl_f_unsuspend_redraw_SVGSVGElement ( self_ , suspend_handle_id ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unsuspendRedraw()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/unsuspendRedraw)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn unsuspend_redraw ( & self , suspend_handle_id : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unsuspend_redraw_all_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unsuspendRedrawAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/unsuspendRedrawAll)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn unsuspend_redraw_all ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unsuspend_redraw_all_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unsuspend_redraw_all_SVGSVGElement ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unsuspendRedrawAll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/unsuspendRedrawAll)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn unsuspend_redraw_all ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgsvgElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGSVGElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgsvgElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgsvgElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGSVGElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgsvgElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgsvgElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGSVGElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgsvgElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgsvgElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGSVGElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgsvgElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_use_current_view_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `useCurrentView` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/useCurrentView)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn use_current_view ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_use_current_view_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_use_current_view_SVGSVGElement ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `useCurrentView` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/useCurrentView)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn use_current_view ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_scale_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentScale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/currentScale)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn current_scale ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_scale_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_scale_SVGSVGElement ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentScale` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/currentScale)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn current_scale ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_current_scale_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentScale` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/currentScale)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn set_current_scale ( & self , current_scale : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_current_scale_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , current_scale : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let current_scale = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( current_scale , & mut __stack ) ; __widl_f_set_current_scale_SVGSVGElement ( self_ , current_scale ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentScale` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/currentScale)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn set_current_scale ( & self , current_scale : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_translate_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgPoint as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentTranslate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/currentTranslate)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgsvgElement`*" ] pub fn current_translate ( & self , ) -> SvgPoint { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_translate_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_translate_SVGSVGElement ( self_ ) } ; < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentTranslate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/currentTranslate)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgsvgElement`*" ] pub fn current_translate ( & self , ) -> SvgPoint { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_view_box_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedRect as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `viewBox` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/viewBox)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgsvgElement`*" ] pub fn view_box ( & self , ) -> SvgAnimatedRect { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_view_box_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_view_box_SVGSVGElement ( self_ ) } ; < SvgAnimatedRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `viewBox` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/viewBox)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgsvgElement`*" ] pub fn view_box ( & self , ) -> SvgAnimatedRect { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_preserve_aspect_ratio_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedPreserveAspectRatio as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgsvgElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_preserve_aspect_ratio_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_preserve_aspect_ratio_SVGSVGElement ( self_ ) } ; < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgsvgElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_zoom_and_pan_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `zoomAndPan` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/zoomAndPan)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn zoom_and_pan ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_zoom_and_pan_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_zoom_and_pan_SVGSVGElement ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `zoomAndPan` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/zoomAndPan)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn zoom_and_pan ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_zoom_and_pan_SVGSVGElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgsvgElement as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgsvgElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `zoomAndPan` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/zoomAndPan)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn set_zoom_and_pan ( & self , zoom_and_pan : u16 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_zoom_and_pan_SVGSVGElement ( self_ : < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoom_and_pan : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgsvgElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let zoom_and_pan = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoom_and_pan , & mut __stack ) ; __widl_f_set_zoom_and_pan_SVGSVGElement ( self_ , zoom_and_pan ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `zoomAndPan` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement/zoomAndPan)\n\n*This API requires the following crate features to be activated: `SvgsvgElement`*" ] pub fn set_zoom_and_pan ( & self , zoom_and_pan : u16 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGScriptElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement)\n\n*This API requires the following crate features to be activated: `SvgScriptElement`*" ] # [ repr ( transparent ) ] pub struct SvgScriptElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgScriptElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgScriptElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgScriptElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgScriptElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgScriptElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgScriptElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgScriptElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgScriptElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgScriptElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgScriptElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgScriptElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgScriptElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgScriptElement { # [ inline ] fn from ( obj : JsValue ) -> SvgScriptElement { SvgScriptElement { obj } } } impl AsRef < JsValue > for SvgScriptElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgScriptElement > for JsValue { # [ inline ] fn from ( obj : SvgScriptElement ) -> JsValue { obj . obj } } impl JsCast for SvgScriptElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGScriptElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGScriptElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgScriptElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgScriptElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgScriptElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgScriptElement > for SvgElement { # [ inline ] fn from ( obj : SvgScriptElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgScriptElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgScriptElement > for Element { # [ inline ] fn from ( obj : SvgScriptElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgScriptElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgScriptElement > for Node { # [ inline ] fn from ( obj : SvgScriptElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgScriptElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgScriptElement > for EventTarget { # [ inline ] fn from ( obj : SvgScriptElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgScriptElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgScriptElement > for Object { # [ inline ] fn from ( obj : SvgScriptElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgScriptElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_SVGScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgScriptElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/type)\n\n*This API requires the following crate features to be activated: `SvgScriptElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_SVGScriptElement ( self_ : < & SvgScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_SVGScriptElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/type)\n\n*This API requires the following crate features to be activated: `SvgScriptElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_SVGScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgScriptElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/type)\n\n*This API requires the following crate features to be activated: `SvgScriptElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_SVGScriptElement ( self_ : < & SvgScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_SVGScriptElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/type)\n\n*This API requires the following crate features to be activated: `SvgScriptElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cross_origin_SVGScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgScriptElement as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl SvgScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `crossOrigin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `SvgScriptElement`*" ] pub fn cross_origin ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cross_origin_SVGScriptElement ( self_ : < & SvgScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cross_origin_SVGScriptElement ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `crossOrigin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `SvgScriptElement`*" ] pub fn cross_origin ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_cross_origin_SVGScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgScriptElement as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `crossOrigin` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `SvgScriptElement`*" ] pub fn set_cross_origin ( & self , cross_origin : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_cross_origin_SVGScriptElement ( self_ : < & SvgScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cross_origin : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cross_origin = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cross_origin , & mut __stack ) ; __widl_f_set_cross_origin_SVGScriptElement ( self_ , cross_origin ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `crossOrigin` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/crossOrigin)\n\n*This API requires the following crate features to be activated: `SvgScriptElement`*" ] pub fn set_cross_origin ( & self , cross_origin : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_SVGScriptElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgScriptElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgScriptElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgScriptElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_SVGScriptElement ( self_ : < & SvgScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgScriptElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_SVGScriptElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgScriptElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGSetElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSetElement)\n\n*This API requires the following crate features to be activated: `SvgSetElement`*" ] # [ repr ( transparent ) ] pub struct SvgSetElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgSetElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgSetElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgSetElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgSetElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgSetElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgSetElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgSetElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgSetElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgSetElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgSetElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgSetElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgSetElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgSetElement { # [ inline ] fn from ( obj : JsValue ) -> SvgSetElement { SvgSetElement { obj } } } impl AsRef < JsValue > for SvgSetElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgSetElement > for JsValue { # [ inline ] fn from ( obj : SvgSetElement ) -> JsValue { obj . obj } } impl JsCast for SvgSetElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGSetElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGSetElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgSetElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgSetElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgSetElement { type Target = SvgAnimationElement ; # [ inline ] fn deref ( & self ) -> & SvgAnimationElement { self . as_ref ( ) } } impl From < SvgSetElement > for SvgAnimationElement { # [ inline ] fn from ( obj : SvgSetElement ) -> SvgAnimationElement { use wasm_bindgen :: JsCast ; SvgAnimationElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgAnimationElement > for SvgSetElement { # [ inline ] fn as_ref ( & self ) -> & SvgAnimationElement { use wasm_bindgen :: JsCast ; SvgAnimationElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSetElement > for SvgElement { # [ inline ] fn from ( obj : SvgSetElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgSetElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSetElement > for Element { # [ inline ] fn from ( obj : SvgSetElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgSetElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSetElement > for Node { # [ inline ] fn from ( obj : SvgSetElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgSetElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSetElement > for EventTarget { # [ inline ] fn from ( obj : SvgSetElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgSetElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSetElement > for Object { # [ inline ] fn from ( obj : SvgSetElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgSetElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGStopElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement)\n\n*This API requires the following crate features to be activated: `SvgStopElement`*" ] # [ repr ( transparent ) ] pub struct SvgStopElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgStopElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgStopElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgStopElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgStopElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgStopElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgStopElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgStopElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgStopElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgStopElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgStopElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgStopElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgStopElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgStopElement { # [ inline ] fn from ( obj : JsValue ) -> SvgStopElement { SvgStopElement { obj } } } impl AsRef < JsValue > for SvgStopElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgStopElement > for JsValue { # [ inline ] fn from ( obj : SvgStopElement ) -> JsValue { obj . obj } } impl JsCast for SvgStopElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGStopElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGStopElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgStopElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgStopElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgStopElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgStopElement > for SvgElement { # [ inline ] fn from ( obj : SvgStopElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgStopElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgStopElement > for Element { # [ inline ] fn from ( obj : SvgStopElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgStopElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgStopElement > for Node { # [ inline ] fn from ( obj : SvgStopElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgStopElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgStopElement > for EventTarget { # [ inline ] fn from ( obj : SvgStopElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgStopElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgStopElement > for Object { # [ inline ] fn from ( obj : SvgStopElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgStopElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_offset_SVGStopElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgStopElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumber as WasmDescribe > :: describe ( ) ; } impl SvgStopElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `offset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement/offset)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgStopElement`*" ] pub fn offset ( & self , ) -> SvgAnimatedNumber { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_offset_SVGStopElement ( self_ : < & SvgStopElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStopElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_offset_SVGStopElement ( self_ ) } ; < SvgAnimatedNumber as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `offset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement/offset)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgStopElement`*" ] pub fn offset ( & self , ) -> SvgAnimatedNumber { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGStringList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] # [ repr ( transparent ) ] pub struct SvgStringList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgStringList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgStringList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgStringList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgStringList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgStringList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgStringList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgStringList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgStringList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgStringList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgStringList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgStringList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgStringList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgStringList { # [ inline ] fn from ( obj : JsValue ) -> SvgStringList { SvgStringList { obj } } } impl AsRef < JsValue > for SvgStringList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgStringList > for JsValue { # [ inline ] fn from ( obj : SvgStringList ) -> JsValue { obj . obj } } impl JsCast for SvgStringList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGStringList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGStringList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgStringList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgStringList ) } } } ( ) } ; impl core :: ops :: Deref for SvgStringList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgStringList > for Object { # [ inline ] fn from ( obj : SvgStringList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgStringList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_item_SVGStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgStringList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/appendItem)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn append_item ( & self , new_item : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_item_SVGStringList ( self_ : < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; __widl_f_append_item_SVGStringList ( self_ , new_item , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/appendItem)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn append_item ( & self , new_item : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_SVGStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgStringList as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/clear)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn clear ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_SVGStringList ( self_ : < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_SVGStringList ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/clear)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn clear ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_item_SVGStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgStringList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/getItem)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn get_item ( & self , index : u32 ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_item_SVGStringList ( self_ : < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_item_SVGStringList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/getItem)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn get_item ( & self , index : u32 ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_initialize_SVGStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgStringList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initialize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/initialize)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn initialize ( & self , new_item : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_initialize_SVGStringList ( self_ : < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; __widl_f_initialize_SVGStringList ( self_ , new_item , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initialize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/initialize)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn initialize ( & self , new_item : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_item_before_SVGStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgStringList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertItemBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/insertItemBefore)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn insert_item_before ( & self , new_item : & str , index : u32 ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_item_before_SVGStringList ( self_ : < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_insert_item_before_SVGStringList ( self_ , new_item , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertItemBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/insertItemBefore)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn insert_item_before ( & self , new_item : & str , index : u32 ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_item_SVGStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgStringList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/removeItem)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn remove_item ( & self , index : u32 ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_item_SVGStringList ( self_ : < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_remove_item_SVGStringList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/removeItem)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn remove_item ( & self , index : u32 ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_item_SVGStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgStringList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/replaceItem)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn replace_item ( & self , new_item : & str , index : u32 ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_item_SVGStringList ( self_ : < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_replace_item_SVGStringList ( self_ , new_item , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/replaceItem)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn replace_item ( & self , new_item : & str , index : u32 ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_SVGStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgStringList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn get ( & self , index : u32 ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_SVGStringList ( self_ : < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_SVGStringList ( self_ , index ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn get ( & self , index : u32 ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_SVGStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgStringList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SvgStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/length)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_SVGStringList ( self_ : < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_SVGStringList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/length)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_number_of_items_SVGStringList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgStringList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SvgStringList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `numberOfItems` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/numberOfItems)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn number_of_items ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_number_of_items_SVGStringList ( self_ : < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStringList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_number_of_items_SVGStringList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `numberOfItems` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStringList/numberOfItems)\n\n*This API requires the following crate features to be activated: `SvgStringList`*" ] pub fn number_of_items ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGStyleElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] # [ repr ( transparent ) ] pub struct SvgStyleElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgStyleElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgStyleElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgStyleElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgStyleElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgStyleElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgStyleElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgStyleElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgStyleElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgStyleElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgStyleElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgStyleElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgStyleElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgStyleElement { # [ inline ] fn from ( obj : JsValue ) -> SvgStyleElement { SvgStyleElement { obj } } } impl AsRef < JsValue > for SvgStyleElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgStyleElement > for JsValue { # [ inline ] fn from ( obj : SvgStyleElement ) -> JsValue { obj . obj } } impl JsCast for SvgStyleElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGStyleElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGStyleElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgStyleElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgStyleElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgStyleElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgStyleElement > for SvgElement { # [ inline ] fn from ( obj : SvgStyleElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgStyleElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgStyleElement > for Element { # [ inline ] fn from ( obj : SvgStyleElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgStyleElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgStyleElement > for Node { # [ inline ] fn from ( obj : SvgStyleElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgStyleElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgStyleElement > for EventTarget { # [ inline ] fn from ( obj : SvgStyleElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgStyleElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgStyleElement > for Object { # [ inline ] fn from ( obj : SvgStyleElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgStyleElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_xmlspace_SVGStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgStyleElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `xmlspace` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/xmlspace)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn xmlspace ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_xmlspace_SVGStyleElement ( self_ : < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_xmlspace_SVGStyleElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `xmlspace` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/xmlspace)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn xmlspace ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_xmlspace_SVGStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgStyleElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `xmlspace` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/xmlspace)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn set_xmlspace ( & self , xmlspace : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_xmlspace_SVGStyleElement ( self_ : < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xmlspace : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let xmlspace = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xmlspace , & mut __stack ) ; __widl_f_set_xmlspace_SVGStyleElement ( self_ , xmlspace ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `xmlspace` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/xmlspace)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn set_xmlspace ( & self , xmlspace : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_SVGStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgStyleElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/type)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_SVGStyleElement ( self_ : < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_SVGStyleElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/type)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_type_SVGStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgStyleElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/type)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn set_type ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_type_SVGStyleElement ( self_ : < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_set_type_SVGStyleElement ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/type)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn set_type ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_SVGStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgStyleElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/media)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn media ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_SVGStyleElement ( self_ : < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_SVGStyleElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/media)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn media ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_media_SVGStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgStyleElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `media` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/media)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn set_media ( & self , media : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_media_SVGStyleElement ( self_ : < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , media : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let media = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( media , & mut __stack ) ; __widl_f_set_media_SVGStyleElement ( self_ , media ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `media` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/media)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn set_media ( & self , media : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_title_SVGStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgStyleElement as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SvgStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `title` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/title)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn title ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_title_SVGStyleElement ( self_ : < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_title_SVGStyleElement ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `title` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/title)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn title ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_title_SVGStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgStyleElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `title` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/title)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn set_title ( & self , title : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_title_SVGStyleElement ( self_ : < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; __widl_f_set_title_SVGStyleElement ( self_ , title ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `title` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/title)\n\n*This API requires the following crate features to be activated: `SvgStyleElement`*" ] pub fn set_title ( & self , title : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sheet_SVGStyleElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgStyleElement as WasmDescribe > :: describe ( ) ; < Option < StyleSheet > as WasmDescribe > :: describe ( ) ; } impl SvgStyleElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/sheet)\n\n*This API requires the following crate features to be activated: `StyleSheet`, `SvgStyleElement`*" ] pub fn sheet ( & self , ) -> Option < StyleSheet > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sheet_SVGStyleElement ( self_ : < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgStyleElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sheet_SVGStyleElement ( self_ ) } ; < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/sheet)\n\n*This API requires the following crate features to be activated: `StyleSheet`, `SvgStyleElement`*" ] pub fn sheet ( & self , ) -> Option < StyleSheet > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGSwitchElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSwitchElement)\n\n*This API requires the following crate features to be activated: `SvgSwitchElement`*" ] # [ repr ( transparent ) ] pub struct SvgSwitchElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgSwitchElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgSwitchElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgSwitchElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgSwitchElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgSwitchElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgSwitchElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgSwitchElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgSwitchElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgSwitchElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgSwitchElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgSwitchElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgSwitchElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgSwitchElement { # [ inline ] fn from ( obj : JsValue ) -> SvgSwitchElement { SvgSwitchElement { obj } } } impl AsRef < JsValue > for SvgSwitchElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgSwitchElement > for JsValue { # [ inline ] fn from ( obj : SvgSwitchElement ) -> JsValue { obj . obj } } impl JsCast for SvgSwitchElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGSwitchElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGSwitchElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgSwitchElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgSwitchElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgSwitchElement { type Target = SvgGraphicsElement ; # [ inline ] fn deref ( & self ) -> & SvgGraphicsElement { self . as_ref ( ) } } impl From < SvgSwitchElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgSwitchElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgSwitchElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSwitchElement > for SvgElement { # [ inline ] fn from ( obj : SvgSwitchElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgSwitchElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSwitchElement > for Element { # [ inline ] fn from ( obj : SvgSwitchElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgSwitchElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSwitchElement > for Node { # [ inline ] fn from ( obj : SvgSwitchElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgSwitchElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSwitchElement > for EventTarget { # [ inline ] fn from ( obj : SvgSwitchElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgSwitchElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSwitchElement > for Object { # [ inline ] fn from ( obj : SvgSwitchElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgSwitchElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGSymbolElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement)\n\n*This API requires the following crate features to be activated: `SvgSymbolElement`*" ] # [ repr ( transparent ) ] pub struct SvgSymbolElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgSymbolElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgSymbolElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgSymbolElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgSymbolElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgSymbolElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgSymbolElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgSymbolElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgSymbolElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgSymbolElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgSymbolElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgSymbolElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgSymbolElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgSymbolElement { # [ inline ] fn from ( obj : JsValue ) -> SvgSymbolElement { SvgSymbolElement { obj } } } impl AsRef < JsValue > for SvgSymbolElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgSymbolElement > for JsValue { # [ inline ] fn from ( obj : SvgSymbolElement ) -> JsValue { obj . obj } } impl JsCast for SvgSymbolElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGSymbolElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGSymbolElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgSymbolElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgSymbolElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgSymbolElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgSymbolElement > for SvgElement { # [ inline ] fn from ( obj : SvgSymbolElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgSymbolElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSymbolElement > for Element { # [ inline ] fn from ( obj : SvgSymbolElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgSymbolElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSymbolElement > for Node { # [ inline ] fn from ( obj : SvgSymbolElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgSymbolElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSymbolElement > for EventTarget { # [ inline ] fn from ( obj : SvgSymbolElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgSymbolElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgSymbolElement > for Object { # [ inline ] fn from ( obj : SvgSymbolElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgSymbolElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_view_box_SVGSymbolElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgSymbolElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedRect as WasmDescribe > :: describe ( ) ; } impl SvgSymbolElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `viewBox` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/viewBox)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgSymbolElement`*" ] pub fn view_box ( & self , ) -> SvgAnimatedRect { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_view_box_SVGSymbolElement ( self_ : < & SvgSymbolElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgSymbolElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_view_box_SVGSymbolElement ( self_ ) } ; < SvgAnimatedRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `viewBox` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/viewBox)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgSymbolElement`*" ] pub fn view_box ( & self , ) -> SvgAnimatedRect { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_preserve_aspect_ratio_SVGSymbolElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgSymbolElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedPreserveAspectRatio as WasmDescribe > :: describe ( ) ; } impl SvgSymbolElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgSymbolElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_preserve_aspect_ratio_SVGSymbolElement ( self_ : < & SvgSymbolElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgSymbolElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_preserve_aspect_ratio_SVGSymbolElement ( self_ ) } ; < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgSymbolElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_extension_SVGSymbolElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgSymbolElement as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SvgSymbolElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasExtension()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/hasExtension)\n\n*This API requires the following crate features to be activated: `SvgSymbolElement`*" ] pub fn has_extension ( & self , extension : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_extension_SVGSymbolElement ( self_ : < & SvgSymbolElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , extension : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgSymbolElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let extension = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( extension , & mut __stack ) ; __widl_f_has_extension_SVGSymbolElement ( self_ , extension ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasExtension()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/hasExtension)\n\n*This API requires the following crate features to be activated: `SvgSymbolElement`*" ] pub fn has_extension ( & self , extension : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_required_features_SVGSymbolElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgSymbolElement as WasmDescribe > :: describe ( ) ; < SvgStringList as WasmDescribe > :: describe ( ) ; } impl SvgSymbolElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requiredFeatures` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/requiredFeatures)\n\n*This API requires the following crate features to be activated: `SvgStringList`, `SvgSymbolElement`*" ] pub fn required_features ( & self , ) -> SvgStringList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_required_features_SVGSymbolElement ( self_ : < & SvgSymbolElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgSymbolElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_required_features_SVGSymbolElement ( self_ ) } ; < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requiredFeatures` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/requiredFeatures)\n\n*This API requires the following crate features to be activated: `SvgStringList`, `SvgSymbolElement`*" ] pub fn required_features ( & self , ) -> SvgStringList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_required_extensions_SVGSymbolElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgSymbolElement as WasmDescribe > :: describe ( ) ; < SvgStringList as WasmDescribe > :: describe ( ) ; } impl SvgSymbolElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requiredExtensions` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/requiredExtensions)\n\n*This API requires the following crate features to be activated: `SvgStringList`, `SvgSymbolElement`*" ] pub fn required_extensions ( & self , ) -> SvgStringList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_required_extensions_SVGSymbolElement ( self_ : < & SvgSymbolElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgSymbolElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_required_extensions_SVGSymbolElement ( self_ ) } ; < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requiredExtensions` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/requiredExtensions)\n\n*This API requires the following crate features to be activated: `SvgStringList`, `SvgSymbolElement`*" ] pub fn required_extensions ( & self , ) -> SvgStringList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_system_language_SVGSymbolElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgSymbolElement as WasmDescribe > :: describe ( ) ; < SvgStringList as WasmDescribe > :: describe ( ) ; } impl SvgSymbolElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `systemLanguage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/systemLanguage)\n\n*This API requires the following crate features to be activated: `SvgStringList`, `SvgSymbolElement`*" ] pub fn system_language ( & self , ) -> SvgStringList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_system_language_SVGSymbolElement ( self_ : < & SvgSymbolElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgSymbolElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_system_language_SVGSymbolElement ( self_ ) } ; < SvgStringList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `systemLanguage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/systemLanguage)\n\n*This API requires the following crate features to be activated: `SvgStringList`, `SvgSymbolElement`*" ] pub fn system_language ( & self , ) -> SvgStringList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGTSpanElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTSpanElement)\n\n*This API requires the following crate features to be activated: `SvgtSpanElement`*" ] # [ repr ( transparent ) ] pub struct SvgtSpanElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgtSpanElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgtSpanElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgtSpanElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgtSpanElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgtSpanElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgtSpanElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgtSpanElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgtSpanElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgtSpanElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgtSpanElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgtSpanElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgtSpanElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgtSpanElement { # [ inline ] fn from ( obj : JsValue ) -> SvgtSpanElement { SvgtSpanElement { obj } } } impl AsRef < JsValue > for SvgtSpanElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgtSpanElement > for JsValue { # [ inline ] fn from ( obj : SvgtSpanElement ) -> JsValue { obj . obj } } impl JsCast for SvgtSpanElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGTSpanElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGTSpanElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgtSpanElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgtSpanElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgtSpanElement { type Target = SvgTextPositioningElement ; # [ inline ] fn deref ( & self ) -> & SvgTextPositioningElement { self . as_ref ( ) } } impl From < SvgtSpanElement > for SvgTextPositioningElement { # [ inline ] fn from ( obj : SvgtSpanElement ) -> SvgTextPositioningElement { use wasm_bindgen :: JsCast ; SvgTextPositioningElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgTextPositioningElement > for SvgtSpanElement { # [ inline ] fn as_ref ( & self ) -> & SvgTextPositioningElement { use wasm_bindgen :: JsCast ; SvgTextPositioningElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgtSpanElement > for SvgTextContentElement { # [ inline ] fn from ( obj : SvgtSpanElement ) -> SvgTextContentElement { use wasm_bindgen :: JsCast ; SvgTextContentElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgTextContentElement > for SvgtSpanElement { # [ inline ] fn as_ref ( & self ) -> & SvgTextContentElement { use wasm_bindgen :: JsCast ; SvgTextContentElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgtSpanElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgtSpanElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgtSpanElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgtSpanElement > for SvgElement { # [ inline ] fn from ( obj : SvgtSpanElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgtSpanElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgtSpanElement > for Element { # [ inline ] fn from ( obj : SvgtSpanElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgtSpanElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgtSpanElement > for Node { # [ inline ] fn from ( obj : SvgtSpanElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgtSpanElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgtSpanElement > for EventTarget { # [ inline ] fn from ( obj : SvgtSpanElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgtSpanElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgtSpanElement > for Object { # [ inline ] fn from ( obj : SvgtSpanElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgtSpanElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGTextContentElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement)\n\n*This API requires the following crate features to be activated: `SvgTextContentElement`*" ] # [ repr ( transparent ) ] pub struct SvgTextContentElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgTextContentElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgTextContentElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgTextContentElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgTextContentElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgTextContentElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgTextContentElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgTextContentElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgTextContentElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgTextContentElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgTextContentElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgTextContentElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgTextContentElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgTextContentElement { # [ inline ] fn from ( obj : JsValue ) -> SvgTextContentElement { SvgTextContentElement { obj } } } impl AsRef < JsValue > for SvgTextContentElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgTextContentElement > for JsValue { # [ inline ] fn from ( obj : SvgTextContentElement ) -> JsValue { obj . obj } } impl JsCast for SvgTextContentElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGTextContentElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGTextContentElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgTextContentElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgTextContentElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgTextContentElement { type Target = SvgGraphicsElement ; # [ inline ] fn deref ( & self ) -> & SvgGraphicsElement { self . as_ref ( ) } } impl From < SvgTextContentElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgTextContentElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgTextContentElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextContentElement > for SvgElement { # [ inline ] fn from ( obj : SvgTextContentElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgTextContentElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextContentElement > for Element { # [ inline ] fn from ( obj : SvgTextContentElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgTextContentElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextContentElement > for Node { # [ inline ] fn from ( obj : SvgTextContentElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgTextContentElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextContentElement > for EventTarget { # [ inline ] fn from ( obj : SvgTextContentElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgTextContentElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextContentElement > for Object { # [ inline ] fn from ( obj : SvgTextContentElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgTextContentElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_char_num_at_position_SVGTextContentElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTextContentElement as WasmDescribe > :: describe ( ) ; < & SvgPoint as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl SvgTextContentElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getCharNumAtPosition()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getCharNumAtPosition)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgTextContentElement`*" ] pub fn get_char_num_at_position ( & self , point : & SvgPoint ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_char_num_at_position_SVGTextContentElement ( self_ : < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & SvgPoint as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; __widl_f_get_char_num_at_position_SVGTextContentElement ( self_ , point ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getCharNumAtPosition()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getCharNumAtPosition)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgTextContentElement`*" ] pub fn get_char_num_at_position ( & self , point : & SvgPoint ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_computed_text_length_SVGTextContentElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTextContentElement as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgTextContentElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getComputedTextLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getComputedTextLength)\n\n*This API requires the following crate features to be activated: `SvgTextContentElement`*" ] pub fn get_computed_text_length ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_computed_text_length_SVGTextContentElement ( self_ : < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_computed_text_length_SVGTextContentElement ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getComputedTextLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getComputedTextLength)\n\n*This API requires the following crate features to be activated: `SvgTextContentElement`*" ] pub fn get_computed_text_length ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_end_position_of_char_SVGTextContentElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTextContentElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgPoint as WasmDescribe > :: describe ( ) ; } impl SvgTextContentElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getEndPositionOfChar()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getEndPositionOfChar)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgTextContentElement`*" ] pub fn get_end_position_of_char ( & self , charnum : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_end_position_of_char_SVGTextContentElement ( self_ : < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , charnum : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let charnum = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( charnum , & mut __stack ) ; __widl_f_get_end_position_of_char_SVGTextContentElement ( self_ , charnum , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getEndPositionOfChar()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getEndPositionOfChar)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgTextContentElement`*" ] pub fn get_end_position_of_char ( & self , charnum : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_extent_of_char_SVGTextContentElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTextContentElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgRect as WasmDescribe > :: describe ( ) ; } impl SvgTextContentElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getExtentOfChar()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getExtentOfChar)\n\n*This API requires the following crate features to be activated: `SvgRect`, `SvgTextContentElement`*" ] pub fn get_extent_of_char ( & self , charnum : u32 ) -> Result < SvgRect , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_extent_of_char_SVGTextContentElement ( self_ : < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , charnum : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let charnum = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( charnum , & mut __stack ) ; __widl_f_get_extent_of_char_SVGTextContentElement ( self_ , charnum , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getExtentOfChar()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getExtentOfChar)\n\n*This API requires the following crate features to be activated: `SvgRect`, `SvgTextContentElement`*" ] pub fn get_extent_of_char ( & self , charnum : u32 ) -> Result < SvgRect , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_number_of_chars_SVGTextContentElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTextContentElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl SvgTextContentElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getNumberOfChars()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getNumberOfChars)\n\n*This API requires the following crate features to be activated: `SvgTextContentElement`*" ] pub fn get_number_of_chars ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_number_of_chars_SVGTextContentElement ( self_ : < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_number_of_chars_SVGTextContentElement ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getNumberOfChars()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getNumberOfChars)\n\n*This API requires the following crate features to be activated: `SvgTextContentElement`*" ] pub fn get_number_of_chars ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_rotation_of_char_SVGTextContentElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTextContentElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgTextContentElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getRotationOfChar()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getRotationOfChar)\n\n*This API requires the following crate features to be activated: `SvgTextContentElement`*" ] pub fn get_rotation_of_char ( & self , charnum : u32 ) -> Result < f32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_rotation_of_char_SVGTextContentElement ( self_ : < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , charnum : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let charnum = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( charnum , & mut __stack ) ; __widl_f_get_rotation_of_char_SVGTextContentElement ( self_ , charnum , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getRotationOfChar()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getRotationOfChar)\n\n*This API requires the following crate features to be activated: `SvgTextContentElement`*" ] pub fn get_rotation_of_char ( & self , charnum : u32 ) -> Result < f32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_start_position_of_char_SVGTextContentElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTextContentElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgPoint as WasmDescribe > :: describe ( ) ; } impl SvgTextContentElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getStartPositionOfChar()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getStartPositionOfChar)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgTextContentElement`*" ] pub fn get_start_position_of_char ( & self , charnum : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_start_position_of_char_SVGTextContentElement ( self_ : < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , charnum : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let charnum = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( charnum , & mut __stack ) ; __widl_f_get_start_position_of_char_SVGTextContentElement ( self_ , charnum , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getStartPositionOfChar()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getStartPositionOfChar)\n\n*This API requires the following crate features to be activated: `SvgPoint`, `SvgTextContentElement`*" ] pub fn get_start_position_of_char ( & self , charnum : u32 ) -> Result < SvgPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_sub_string_length_SVGTextContentElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgTextContentElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgTextContentElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getSubStringLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getSubStringLength)\n\n*This API requires the following crate features to be activated: `SvgTextContentElement`*" ] pub fn get_sub_string_length ( & self , charnum : u32 , nchars : u32 ) -> Result < f32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_sub_string_length_SVGTextContentElement ( self_ : < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , charnum : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nchars : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let charnum = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( charnum , & mut __stack ) ; let nchars = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nchars , & mut __stack ) ; __widl_f_get_sub_string_length_SVGTextContentElement ( self_ , charnum , nchars , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getSubStringLength()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/getSubStringLength)\n\n*This API requires the following crate features to be activated: `SvgTextContentElement`*" ] pub fn get_sub_string_length ( & self , charnum : u32 , nchars : u32 ) -> Result < f32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_select_sub_string_SVGTextContentElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgTextContentElement as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgTextContentElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectSubString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/selectSubString)\n\n*This API requires the following crate features to be activated: `SvgTextContentElement`*" ] pub fn select_sub_string ( & self , charnum : u32 , nchars : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_select_sub_string_SVGTextContentElement ( self_ : < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , charnum : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , nchars : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let charnum = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( charnum , & mut __stack ) ; let nchars = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( nchars , & mut __stack ) ; __widl_f_select_sub_string_SVGTextContentElement ( self_ , charnum , nchars , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectSubString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/selectSubString)\n\n*This API requires the following crate features to be activated: `SvgTextContentElement`*" ] pub fn select_sub_string ( & self , charnum : u32 , nchars : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_length_SVGTextContentElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTextContentElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgTextContentElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `textLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/textLength)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgTextContentElement`*" ] pub fn text_length ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_length_SVGTextContentElement ( self_ : < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_length_SVGTextContentElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `textLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/textLength)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgTextContentElement`*" ] pub fn text_length ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_adjust_SVGTextContentElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTextContentElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgTextContentElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lengthAdjust` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/lengthAdjust)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgTextContentElement`*" ] pub fn length_adjust ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_adjust_SVGTextContentElement ( self_ : < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextContentElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_adjust_SVGTextContentElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lengthAdjust` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement/lengthAdjust)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgTextContentElement`*" ] pub fn length_adjust ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGTextElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextElement)\n\n*This API requires the following crate features to be activated: `SvgTextElement`*" ] # [ repr ( transparent ) ] pub struct SvgTextElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgTextElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgTextElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgTextElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgTextElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgTextElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgTextElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgTextElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgTextElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgTextElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgTextElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgTextElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgTextElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgTextElement { # [ inline ] fn from ( obj : JsValue ) -> SvgTextElement { SvgTextElement { obj } } } impl AsRef < JsValue > for SvgTextElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgTextElement > for JsValue { # [ inline ] fn from ( obj : SvgTextElement ) -> JsValue { obj . obj } } impl JsCast for SvgTextElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGTextElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGTextElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgTextElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgTextElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgTextElement { type Target = SvgTextPositioningElement ; # [ inline ] fn deref ( & self ) -> & SvgTextPositioningElement { self . as_ref ( ) } } impl From < SvgTextElement > for SvgTextPositioningElement { # [ inline ] fn from ( obj : SvgTextElement ) -> SvgTextPositioningElement { use wasm_bindgen :: JsCast ; SvgTextPositioningElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgTextPositioningElement > for SvgTextElement { # [ inline ] fn as_ref ( & self ) -> & SvgTextPositioningElement { use wasm_bindgen :: JsCast ; SvgTextPositioningElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextElement > for SvgTextContentElement { # [ inline ] fn from ( obj : SvgTextElement ) -> SvgTextContentElement { use wasm_bindgen :: JsCast ; SvgTextContentElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgTextContentElement > for SvgTextElement { # [ inline ] fn as_ref ( & self ) -> & SvgTextContentElement { use wasm_bindgen :: JsCast ; SvgTextContentElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgTextElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgTextElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextElement > for SvgElement { # [ inline ] fn from ( obj : SvgTextElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgTextElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextElement > for Element { # [ inline ] fn from ( obj : SvgTextElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgTextElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextElement > for Node { # [ inline ] fn from ( obj : SvgTextElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgTextElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextElement > for EventTarget { # [ inline ] fn from ( obj : SvgTextElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgTextElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextElement > for Object { # [ inline ] fn from ( obj : SvgTextElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgTextElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGTextPathElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement)\n\n*This API requires the following crate features to be activated: `SvgTextPathElement`*" ] # [ repr ( transparent ) ] pub struct SvgTextPathElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgTextPathElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgTextPathElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgTextPathElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgTextPathElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgTextPathElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgTextPathElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgTextPathElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgTextPathElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgTextPathElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgTextPathElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgTextPathElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgTextPathElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgTextPathElement { # [ inline ] fn from ( obj : JsValue ) -> SvgTextPathElement { SvgTextPathElement { obj } } } impl AsRef < JsValue > for SvgTextPathElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgTextPathElement > for JsValue { # [ inline ] fn from ( obj : SvgTextPathElement ) -> JsValue { obj . obj } } impl JsCast for SvgTextPathElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGTextPathElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGTextPathElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgTextPathElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgTextPathElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgTextPathElement { type Target = SvgTextContentElement ; # [ inline ] fn deref ( & self ) -> & SvgTextContentElement { self . as_ref ( ) } } impl From < SvgTextPathElement > for SvgTextContentElement { # [ inline ] fn from ( obj : SvgTextPathElement ) -> SvgTextContentElement { use wasm_bindgen :: JsCast ; SvgTextContentElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgTextContentElement > for SvgTextPathElement { # [ inline ] fn as_ref ( & self ) -> & SvgTextContentElement { use wasm_bindgen :: JsCast ; SvgTextContentElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextPathElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgTextPathElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgTextPathElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextPathElement > for SvgElement { # [ inline ] fn from ( obj : SvgTextPathElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgTextPathElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextPathElement > for Element { # [ inline ] fn from ( obj : SvgTextPathElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgTextPathElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextPathElement > for Node { # [ inline ] fn from ( obj : SvgTextPathElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgTextPathElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextPathElement > for EventTarget { # [ inline ] fn from ( obj : SvgTextPathElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgTextPathElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextPathElement > for Object { # [ inline ] fn from ( obj : SvgTextPathElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgTextPathElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_offset_SVGTextPathElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTextPathElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgTextPathElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `startOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement/startOffset)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgTextPathElement`*" ] pub fn start_offset ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_offset_SVGTextPathElement ( self_ : < & SvgTextPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_offset_SVGTextPathElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `startOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement/startOffset)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgTextPathElement`*" ] pub fn start_offset ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_method_SVGTextPathElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTextPathElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgTextPathElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `method` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement/method)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgTextPathElement`*" ] pub fn method ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_method_SVGTextPathElement ( self_ : < & SvgTextPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_method_SVGTextPathElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `method` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement/method)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgTextPathElement`*" ] pub fn method ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_spacing_SVGTextPathElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTextPathElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedEnumeration as WasmDescribe > :: describe ( ) ; } impl SvgTextPathElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `spacing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement/spacing)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgTextPathElement`*" ] pub fn spacing ( & self , ) -> SvgAnimatedEnumeration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_spacing_SVGTextPathElement ( self_ : < & SvgTextPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_spacing_SVGTextPathElement ( self_ ) } ; < SvgAnimatedEnumeration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `spacing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement/spacing)\n\n*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgTextPathElement`*" ] pub fn spacing ( & self , ) -> SvgAnimatedEnumeration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_SVGTextPathElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTextPathElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgTextPathElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgTextPathElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_SVGTextPathElement ( self_ : < & SvgTextPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextPathElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_SVGTextPathElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgTextPathElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGTextPositioningElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement)\n\n*This API requires the following crate features to be activated: `SvgTextPositioningElement`*" ] # [ repr ( transparent ) ] pub struct SvgTextPositioningElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgTextPositioningElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgTextPositioningElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgTextPositioningElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgTextPositioningElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgTextPositioningElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgTextPositioningElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgTextPositioningElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgTextPositioningElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgTextPositioningElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgTextPositioningElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgTextPositioningElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgTextPositioningElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgTextPositioningElement { # [ inline ] fn from ( obj : JsValue ) -> SvgTextPositioningElement { SvgTextPositioningElement { obj } } } impl AsRef < JsValue > for SvgTextPositioningElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgTextPositioningElement > for JsValue { # [ inline ] fn from ( obj : SvgTextPositioningElement ) -> JsValue { obj . obj } } impl JsCast for SvgTextPositioningElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGTextPositioningElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGTextPositioningElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgTextPositioningElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgTextPositioningElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgTextPositioningElement { type Target = SvgTextContentElement ; # [ inline ] fn deref ( & self ) -> & SvgTextContentElement { self . as_ref ( ) } } impl From < SvgTextPositioningElement > for SvgTextContentElement { # [ inline ] fn from ( obj : SvgTextPositioningElement ) -> SvgTextContentElement { use wasm_bindgen :: JsCast ; SvgTextContentElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgTextContentElement > for SvgTextPositioningElement { # [ inline ] fn as_ref ( & self ) -> & SvgTextContentElement { use wasm_bindgen :: JsCast ; SvgTextContentElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextPositioningElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgTextPositioningElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgTextPositioningElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextPositioningElement > for SvgElement { # [ inline ] fn from ( obj : SvgTextPositioningElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgTextPositioningElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextPositioningElement > for Element { # [ inline ] fn from ( obj : SvgTextPositioningElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgTextPositioningElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextPositioningElement > for Node { # [ inline ] fn from ( obj : SvgTextPositioningElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgTextPositioningElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextPositioningElement > for EventTarget { # [ inline ] fn from ( obj : SvgTextPositioningElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgTextPositioningElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTextPositioningElement > for Object { # [ inline ] fn from ( obj : SvgTextPositioningElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgTextPositioningElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGTextPositioningElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTextPositioningElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLengthList as WasmDescribe > :: describe ( ) ; } impl SvgTextPositioningElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLengthList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGTextPositioningElement ( self_ : < & SvgTextPositioningElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLengthList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextPositioningElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGTextPositioningElement ( self_ ) } ; < SvgAnimatedLengthList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLengthList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGTextPositioningElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTextPositioningElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLengthList as WasmDescribe > :: describe ( ) ; } impl SvgTextPositioningElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLengthList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGTextPositioningElement ( self_ : < & SvgTextPositioningElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLengthList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextPositioningElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGTextPositioningElement ( self_ ) } ; < SvgAnimatedLengthList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLengthList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dx_SVGTextPositioningElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTextPositioningElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLengthList as WasmDescribe > :: describe ( ) ; } impl SvgTextPositioningElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/dx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*" ] pub fn dx ( & self , ) -> SvgAnimatedLengthList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dx_SVGTextPositioningElement ( self_ : < & SvgTextPositioningElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLengthList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextPositioningElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dx_SVGTextPositioningElement ( self_ ) } ; < SvgAnimatedLengthList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dx` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/dx)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*" ] pub fn dx ( & self , ) -> SvgAnimatedLengthList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dy_SVGTextPositioningElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTextPositioningElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLengthList as WasmDescribe > :: describe ( ) ; } impl SvgTextPositioningElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/dy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*" ] pub fn dy ( & self , ) -> SvgAnimatedLengthList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dy_SVGTextPositioningElement ( self_ : < & SvgTextPositioningElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLengthList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextPositioningElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dy_SVGTextPositioningElement ( self_ ) } ; < SvgAnimatedLengthList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/dy)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*" ] pub fn dy ( & self , ) -> SvgAnimatedLengthList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_SVGTextPositioningElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTextPositioningElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedNumberList as WasmDescribe > :: describe ( ) ; } impl SvgTextPositioningElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/rotate)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgTextPositioningElement`*" ] pub fn rotate ( & self , ) -> SvgAnimatedNumberList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_SVGTextPositioningElement ( self_ : < & SvgTextPositioningElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedNumberList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTextPositioningElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rotate_SVGTextPositioningElement ( self_ ) } ; < SvgAnimatedNumberList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/rotate)\n\n*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgTextPositioningElement`*" ] pub fn rotate ( & self , ) -> SvgAnimatedNumberList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGTitleElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTitleElement)\n\n*This API requires the following crate features to be activated: `SvgTitleElement`*" ] # [ repr ( transparent ) ] pub struct SvgTitleElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgTitleElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgTitleElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgTitleElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgTitleElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgTitleElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgTitleElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgTitleElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgTitleElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgTitleElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgTitleElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgTitleElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgTitleElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgTitleElement { # [ inline ] fn from ( obj : JsValue ) -> SvgTitleElement { SvgTitleElement { obj } } } impl AsRef < JsValue > for SvgTitleElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgTitleElement > for JsValue { # [ inline ] fn from ( obj : SvgTitleElement ) -> JsValue { obj . obj } } impl JsCast for SvgTitleElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGTitleElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGTitleElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgTitleElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgTitleElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgTitleElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgTitleElement > for SvgElement { # [ inline ] fn from ( obj : SvgTitleElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgTitleElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTitleElement > for Element { # [ inline ] fn from ( obj : SvgTitleElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgTitleElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTitleElement > for Node { # [ inline ] fn from ( obj : SvgTitleElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgTitleElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTitleElement > for EventTarget { # [ inline ] fn from ( obj : SvgTitleElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgTitleElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgTitleElement > for Object { # [ inline ] fn from ( obj : SvgTitleElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgTitleElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGTransform` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] # [ repr ( transparent ) ] pub struct SvgTransform { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgTransform : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgTransform { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgTransform { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgTransform { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgTransform { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgTransform { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgTransform { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgTransform { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgTransform { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgTransform { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgTransform > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgTransform { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgTransform { # [ inline ] fn from ( obj : JsValue ) -> SvgTransform { SvgTransform { obj } } } impl AsRef < JsValue > for SvgTransform { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgTransform > for JsValue { # [ inline ] fn from ( obj : SvgTransform ) -> JsValue { obj . obj } } impl JsCast for SvgTransform { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGTransform ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGTransform ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgTransform { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgTransform ) } } } ( ) } ; impl core :: ops :: Deref for SvgTransform { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgTransform > for Object { # [ inline ] fn from ( obj : SvgTransform ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgTransform { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_matrix_SVGTransform ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTransform as WasmDescribe > :: describe ( ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgTransform { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setMatrix()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setMatrix)\n\n*This API requires the following crate features to be activated: `SvgMatrix`, `SvgTransform`*" ] pub fn set_matrix ( & self , matrix : & SvgMatrix ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_matrix_SVGTransform ( self_ : < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , matrix : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let matrix = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( matrix , & mut __stack ) ; __widl_f_set_matrix_SVGTransform ( self_ , matrix , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setMatrix()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setMatrix)\n\n*This API requires the following crate features to be activated: `SvgMatrix`, `SvgTransform`*" ] pub fn set_matrix ( & self , matrix : & SvgMatrix ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_rotate_SVGTransform ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SvgTransform as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgTransform { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setRotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setRotate)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn set_rotate ( & self , angle : f32 , cx : f32 , cy : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_rotate_SVGTransform ( self_ : < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cx : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cy : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; let cx = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cx , & mut __stack ) ; let cy = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cy , & mut __stack ) ; __widl_f_set_rotate_SVGTransform ( self_ , angle , cx , cy , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setRotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setRotate)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn set_rotate ( & self , angle : f32 , cx : f32 , cy : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_scale_SVGTransform ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgTransform as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgTransform { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setScale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setScale)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn set_scale ( & self , sx : f32 , sy : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_scale_SVGTransform ( self_ : < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sx : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sy : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sx = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sx , & mut __stack ) ; let sy = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sy , & mut __stack ) ; __widl_f_set_scale_SVGTransform ( self_ , sx , sy , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setScale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setScale)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn set_scale ( & self , sx : f32 , sy : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_skew_x_SVGTransform ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTransform as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgTransform { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setSkewX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setSkewX)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn set_skew_x ( & self , angle : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_skew_x_SVGTransform ( self_ : < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; __widl_f_set_skew_x_SVGTransform ( self_ , angle , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setSkewX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setSkewX)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn set_skew_x ( & self , angle : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_skew_y_SVGTransform ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTransform as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgTransform { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setSkewY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setSkewY)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn set_skew_y ( & self , angle : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_skew_y_SVGTransform ( self_ : < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let angle = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; __widl_f_set_skew_y_SVGTransform ( self_ , angle , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setSkewY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setSkewY)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn set_skew_y ( & self , angle : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_translate_SVGTransform ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgTransform as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgTransform { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTranslate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setTranslate)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn set_translate ( & self , tx : f32 , ty : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_translate_SVGTransform ( self_ : < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tx : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ty : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tx = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tx , & mut __stack ) ; let ty = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ty , & mut __stack ) ; __widl_f_set_translate_SVGTransform ( self_ , tx , ty , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTranslate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/setTranslate)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn set_translate ( & self , tx : f32 , ty : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_SVGTransform ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTransform as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl SvgTransform { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/type)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn type_ ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_SVGTransform ( self_ : < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_SVGTransform ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/type)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn type_ ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_matrix_SVGTransform ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTransform as WasmDescribe > :: describe ( ) ; < SvgMatrix as WasmDescribe > :: describe ( ) ; } impl SvgTransform { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `matrix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/matrix)\n\n*This API requires the following crate features to be activated: `SvgMatrix`, `SvgTransform`*" ] pub fn matrix ( & self , ) -> SvgMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_matrix_SVGTransform ( self_ : < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_matrix_SVGTransform ( self_ ) } ; < SvgMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `matrix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/matrix)\n\n*This API requires the following crate features to be activated: `SvgMatrix`, `SvgTransform`*" ] pub fn matrix ( & self , ) -> SvgMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_angle_SVGTransform ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTransform as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SvgTransform { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `angle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/angle)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn angle ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_angle_SVGTransform ( self_ : < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_angle_SVGTransform ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `angle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/angle)\n\n*This API requires the following crate features to be activated: `SvgTransform`*" ] pub fn angle ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGTransformList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList)\n\n*This API requires the following crate features to be activated: `SvgTransformList`*" ] # [ repr ( transparent ) ] pub struct SvgTransformList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgTransformList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgTransformList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgTransformList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgTransformList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgTransformList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgTransformList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgTransformList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgTransformList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgTransformList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgTransformList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgTransformList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgTransformList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgTransformList { # [ inline ] fn from ( obj : JsValue ) -> SvgTransformList { SvgTransformList { obj } } } impl AsRef < JsValue > for SvgTransformList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgTransformList > for JsValue { # [ inline ] fn from ( obj : SvgTransformList ) -> JsValue { obj . obj } } impl JsCast for SvgTransformList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGTransformList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGTransformList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgTransformList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgTransformList ) } } } ( ) } ; impl core :: ops :: Deref for SvgTransformList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgTransformList > for Object { # [ inline ] fn from ( obj : SvgTransformList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgTransformList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_item_SVGTransformList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTransformList as WasmDescribe > :: describe ( ) ; < & SvgTransform as WasmDescribe > :: describe ( ) ; < SvgTransform as WasmDescribe > :: describe ( ) ; } impl SvgTransformList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/appendItem)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn append_item ( & self , new_item : & SvgTransform ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_item_SVGTransformList ( self_ : < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; __widl_f_append_item_SVGTransformList ( self_ , new_item , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/appendItem)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn append_item ( & self , new_item : & SvgTransform ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_SVGTransformList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTransformList as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgTransformList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/clear)\n\n*This API requires the following crate features to be activated: `SvgTransformList`*" ] pub fn clear ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_SVGTransformList ( self_ : < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_SVGTransformList ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/clear)\n\n*This API requires the following crate features to be activated: `SvgTransformList`*" ] pub fn clear ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_consolidate_SVGTransformList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTransformList as WasmDescribe > :: describe ( ) ; < Option < SvgTransform > as WasmDescribe > :: describe ( ) ; } impl SvgTransformList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `consolidate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/consolidate)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn consolidate ( & self , ) -> Result < Option < SvgTransform > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_consolidate_SVGTransformList ( self_ : < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < SvgTransform > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_consolidate_SVGTransformList ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < SvgTransform > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `consolidate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/consolidate)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn consolidate ( & self , ) -> Result < Option < SvgTransform > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_svg_transform_from_matrix_SVGTransformList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTransformList as WasmDescribe > :: describe ( ) ; < & SvgMatrix as WasmDescribe > :: describe ( ) ; < SvgTransform as WasmDescribe > :: describe ( ) ; } impl SvgTransformList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSVGTransformFromMatrix()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/createSVGTransformFromMatrix)\n\n*This API requires the following crate features to be activated: `SvgMatrix`, `SvgTransform`, `SvgTransformList`*" ] pub fn create_svg_transform_from_matrix ( & self , matrix : & SvgMatrix ) -> SvgTransform { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_svg_transform_from_matrix_SVGTransformList ( self_ : < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , matrix : < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let matrix = < & SvgMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( matrix , & mut __stack ) ; __widl_f_create_svg_transform_from_matrix_SVGTransformList ( self_ , matrix ) } ; < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSVGTransformFromMatrix()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/createSVGTransformFromMatrix)\n\n*This API requires the following crate features to be activated: `SvgMatrix`, `SvgTransform`, `SvgTransformList`*" ] pub fn create_svg_transform_from_matrix ( & self , matrix : & SvgMatrix ) -> SvgTransform { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_item_SVGTransformList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTransformList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgTransform as WasmDescribe > :: describe ( ) ; } impl SvgTransformList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/getItem)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn get_item ( & self , index : u32 ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_item_SVGTransformList ( self_ : < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_item_SVGTransformList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/getItem)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn get_item ( & self , index : u32 ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_initialize_SVGTransformList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTransformList as WasmDescribe > :: describe ( ) ; < & SvgTransform as WasmDescribe > :: describe ( ) ; < SvgTransform as WasmDescribe > :: describe ( ) ; } impl SvgTransformList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initialize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/initialize)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn initialize ( & self , new_item : & SvgTransform ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_initialize_SVGTransformList ( self_ : < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; __widl_f_initialize_SVGTransformList ( self_ , new_item , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initialize()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/initialize)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn initialize ( & self , new_item : & SvgTransform ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_item_before_SVGTransformList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgTransformList as WasmDescribe > :: describe ( ) ; < & SvgTransform as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgTransform as WasmDescribe > :: describe ( ) ; } impl SvgTransformList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertItemBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/insertItemBefore)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn insert_item_before ( & self , new_item : & SvgTransform , index : u32 ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_item_before_SVGTransformList ( self_ : < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_insert_item_before_SVGTransformList ( self_ , new_item , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertItemBefore()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/insertItemBefore)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn insert_item_before ( & self , new_item : & SvgTransform , index : u32 ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_item_SVGTransformList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTransformList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgTransform as WasmDescribe > :: describe ( ) ; } impl SvgTransformList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/removeItem)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn remove_item ( & self , index : u32 ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_item_SVGTransformList ( self_ : < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_remove_item_SVGTransformList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/removeItem)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn remove_item ( & self , index : u32 ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_replace_item_SVGTransformList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SvgTransformList as WasmDescribe > :: describe ( ) ; < & SvgTransform as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgTransform as WasmDescribe > :: describe ( ) ; } impl SvgTransformList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `replaceItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/replaceItem)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn replace_item ( & self , new_item : & SvgTransform , index : u32 ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_replace_item_SVGTransformList ( self_ : < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_item : < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let new_item = < & SvgTransform as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_item , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_replace_item_SVGTransformList ( self_ , new_item , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `replaceItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/replaceItem)\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn replace_item ( & self , new_item : & SvgTransform , index : u32 ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_SVGTransformList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgTransformList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SvgTransform as WasmDescribe > :: describe ( ) ; } impl SvgTransformList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn get ( & self , index : u32 ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_SVGTransformList ( self_ : < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_SVGTransformList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SvgTransform as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SvgTransform`, `SvgTransformList`*" ] pub fn get ( & self , index : u32 ) -> Result < SvgTransform , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_number_of_items_SVGTransformList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgTransformList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SvgTransformList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `numberOfItems` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/numberOfItems)\n\n*This API requires the following crate features to be activated: `SvgTransformList`*" ] pub fn number_of_items ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_number_of_items_SVGTransformList ( self_ : < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgTransformList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_number_of_items_SVGTransformList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `numberOfItems` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTransformList/numberOfItems)\n\n*This API requires the following crate features to be activated: `SvgTransformList`*" ] pub fn number_of_items ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGUnitTypes` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUnitTypes)\n\n*This API requires the following crate features to be activated: `SvgUnitTypes`*" ] # [ repr ( transparent ) ] pub struct SvgUnitTypes { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgUnitTypes : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgUnitTypes { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgUnitTypes { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgUnitTypes { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgUnitTypes { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgUnitTypes { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgUnitTypes { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgUnitTypes { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgUnitTypes { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgUnitTypes { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgUnitTypes > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgUnitTypes { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgUnitTypes { # [ inline ] fn from ( obj : JsValue ) -> SvgUnitTypes { SvgUnitTypes { obj } } } impl AsRef < JsValue > for SvgUnitTypes { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgUnitTypes > for JsValue { # [ inline ] fn from ( obj : SvgUnitTypes ) -> JsValue { obj . obj } } impl JsCast for SvgUnitTypes { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGUnitTypes ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGUnitTypes ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgUnitTypes { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgUnitTypes ) } } } ( ) } ; impl core :: ops :: Deref for SvgUnitTypes { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgUnitTypes > for Object { # [ inline ] fn from ( obj : SvgUnitTypes ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgUnitTypes { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGUseElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement)\n\n*This API requires the following crate features to be activated: `SvgUseElement`*" ] # [ repr ( transparent ) ] pub struct SvgUseElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgUseElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgUseElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgUseElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgUseElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgUseElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgUseElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgUseElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgUseElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgUseElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgUseElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgUseElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgUseElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgUseElement { # [ inline ] fn from ( obj : JsValue ) -> SvgUseElement { SvgUseElement { obj } } } impl AsRef < JsValue > for SvgUseElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgUseElement > for JsValue { # [ inline ] fn from ( obj : SvgUseElement ) -> JsValue { obj . obj } } impl JsCast for SvgUseElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGUseElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGUseElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgUseElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgUseElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgUseElement { type Target = SvgGraphicsElement ; # [ inline ] fn deref ( & self ) -> & SvgGraphicsElement { self . as_ref ( ) } } impl From < SvgUseElement > for SvgGraphicsElement { # [ inline ] fn from ( obj : SvgUseElement ) -> SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgGraphicsElement > for SvgUseElement { # [ inline ] fn as_ref ( & self ) -> & SvgGraphicsElement { use wasm_bindgen :: JsCast ; SvgGraphicsElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgUseElement > for SvgElement { # [ inline ] fn from ( obj : SvgUseElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgUseElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgUseElement > for Element { # [ inline ] fn from ( obj : SvgUseElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgUseElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgUseElement > for Node { # [ inline ] fn from ( obj : SvgUseElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgUseElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgUseElement > for EventTarget { # [ inline ] fn from ( obj : SvgUseElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgUseElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgUseElement > for Object { # [ inline ] fn from ( obj : SvgUseElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgUseElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_SVGUseElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgUseElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgUseElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_SVGUseElement ( self_ : < & SvgUseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgUseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_SVGUseElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/x)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*" ] pub fn x ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_SVGUseElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgUseElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgUseElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_SVGUseElement ( self_ : < & SvgUseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgUseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_SVGUseElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/y)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*" ] pub fn y ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_SVGUseElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgUseElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgUseElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_SVGUseElement ( self_ : < & SvgUseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgUseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_SVGUseElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/width)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*" ] pub fn width ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_SVGUseElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgUseElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedLength as WasmDescribe > :: describe ( ) ; } impl SvgUseElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_SVGUseElement ( self_ : < & SvgUseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgUseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_SVGUseElement ( self_ ) } ; < SvgAnimatedLength as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/height)\n\n*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgUseElement`*" ] pub fn height ( & self , ) -> SvgAnimatedLength { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_SVGUseElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgUseElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedString as WasmDescribe > :: describe ( ) ; } impl SvgUseElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgUseElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_SVGUseElement ( self_ : < & SvgUseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgUseElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_SVGUseElement ( self_ ) } ; < SvgAnimatedString as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement/href)\n\n*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgUseElement`*" ] pub fn href ( & self , ) -> SvgAnimatedString { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGViewElement` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement)\n\n*This API requires the following crate features to be activated: `SvgViewElement`*" ] # [ repr ( transparent ) ] pub struct SvgViewElement { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgViewElement : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgViewElement { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgViewElement { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgViewElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgViewElement { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgViewElement { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgViewElement { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgViewElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgViewElement { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgViewElement { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgViewElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgViewElement { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgViewElement { # [ inline ] fn from ( obj : JsValue ) -> SvgViewElement { SvgViewElement { obj } } } impl AsRef < JsValue > for SvgViewElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgViewElement > for JsValue { # [ inline ] fn from ( obj : SvgViewElement ) -> JsValue { obj . obj } } impl JsCast for SvgViewElement { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGViewElement ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGViewElement ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgViewElement { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgViewElement ) } } } ( ) } ; impl core :: ops :: Deref for SvgViewElement { type Target = SvgElement ; # [ inline ] fn deref ( & self ) -> & SvgElement { self . as_ref ( ) } } impl From < SvgViewElement > for SvgElement { # [ inline ] fn from ( obj : SvgViewElement ) -> SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SvgElement > for SvgViewElement { # [ inline ] fn as_ref ( & self ) -> & SvgElement { use wasm_bindgen :: JsCast ; SvgElement :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgViewElement > for Element { # [ inline ] fn from ( obj : SvgViewElement ) -> Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Element > for SvgViewElement { # [ inline ] fn as_ref ( & self ) -> & Element { use wasm_bindgen :: JsCast ; Element :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgViewElement > for Node { # [ inline ] fn from ( obj : SvgViewElement ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for SvgViewElement { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgViewElement > for EventTarget { # [ inline ] fn from ( obj : SvgViewElement ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SvgViewElement { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SvgViewElement > for Object { # [ inline ] fn from ( obj : SvgViewElement ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgViewElement { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_view_box_SVGViewElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgViewElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedRect as WasmDescribe > :: describe ( ) ; } impl SvgViewElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `viewBox` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement/viewBox)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgViewElement`*" ] pub fn view_box ( & self , ) -> SvgAnimatedRect { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_view_box_SVGViewElement ( self_ : < & SvgViewElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgViewElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_view_box_SVGViewElement ( self_ ) } ; < SvgAnimatedRect as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `viewBox` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement/viewBox)\n\n*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgViewElement`*" ] pub fn view_box ( & self , ) -> SvgAnimatedRect { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_preserve_aspect_ratio_SVGViewElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgViewElement as WasmDescribe > :: describe ( ) ; < SvgAnimatedPreserveAspectRatio as WasmDescribe > :: describe ( ) ; } impl SvgViewElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgViewElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_preserve_aspect_ratio_SVGViewElement ( self_ : < & SvgViewElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgViewElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_preserve_aspect_ratio_SVGViewElement ( self_ ) } ; < SvgAnimatedPreserveAspectRatio as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `preserveAspectRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement/preserveAspectRatio)\n\n*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgViewElement`*" ] pub fn preserve_aspect_ratio ( & self , ) -> SvgAnimatedPreserveAspectRatio { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_zoom_and_pan_SVGViewElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgViewElement as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl SvgViewElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `zoomAndPan` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement/zoomAndPan)\n\n*This API requires the following crate features to be activated: `SvgViewElement`*" ] pub fn zoom_and_pan ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_zoom_and_pan_SVGViewElement ( self_ : < & SvgViewElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgViewElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_zoom_and_pan_SVGViewElement ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `zoomAndPan` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement/zoomAndPan)\n\n*This API requires the following crate features to be activated: `SvgViewElement`*" ] pub fn zoom_and_pan ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_zoom_and_pan_SVGViewElement ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgViewElement as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgViewElement { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `zoomAndPan` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement/zoomAndPan)\n\n*This API requires the following crate features to be activated: `SvgViewElement`*" ] pub fn set_zoom_and_pan ( & self , zoom_and_pan : u16 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_zoom_and_pan_SVGViewElement ( self_ : < & SvgViewElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoom_and_pan : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgViewElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let zoom_and_pan = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoom_and_pan , & mut __stack ) ; __widl_f_set_zoom_and_pan_SVGViewElement ( self_ , zoom_and_pan ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `zoomAndPan` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement/zoomAndPan)\n\n*This API requires the following crate features to be activated: `SvgViewElement`*" ] pub fn set_zoom_and_pan ( & self , zoom_and_pan : u16 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SVGZoomAndPan` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGZoomAndPan)\n\n*This API requires the following crate features to be activated: `SvgZoomAndPan`*" ] # [ repr ( transparent ) ] pub struct SvgZoomAndPan { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SvgZoomAndPan : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SvgZoomAndPan { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SvgZoomAndPan { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SvgZoomAndPan { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SvgZoomAndPan { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SvgZoomAndPan { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SvgZoomAndPan { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SvgZoomAndPan { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SvgZoomAndPan { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SvgZoomAndPan { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SvgZoomAndPan > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SvgZoomAndPan { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SvgZoomAndPan { # [ inline ] fn from ( obj : JsValue ) -> SvgZoomAndPan { SvgZoomAndPan { obj } } } impl AsRef < JsValue > for SvgZoomAndPan { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SvgZoomAndPan > for JsValue { # [ inline ] fn from ( obj : SvgZoomAndPan ) -> JsValue { obj . obj } } impl JsCast for SvgZoomAndPan { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SVGZoomAndPan ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SVGZoomAndPan ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgZoomAndPan { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgZoomAndPan ) } } } ( ) } ; impl core :: ops :: Deref for SvgZoomAndPan { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SvgZoomAndPan > for Object { # [ inline ] fn from ( obj : SvgZoomAndPan ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SvgZoomAndPan { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_zoom_and_pan_SVGZoomAndPan ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SvgZoomAndPan as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl SvgZoomAndPan { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `zoomAndPan` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGZoomAndPan/zoomAndPan)\n\n*This API requires the following crate features to be activated: `SvgZoomAndPan`*" ] pub fn zoom_and_pan ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_zoom_and_pan_SVGZoomAndPan ( self_ : < & SvgZoomAndPan as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgZoomAndPan as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_zoom_and_pan_SVGZoomAndPan ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `zoomAndPan` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGZoomAndPan/zoomAndPan)\n\n*This API requires the following crate features to be activated: `SvgZoomAndPan`*" ] pub fn zoom_and_pan ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_zoom_and_pan_SVGZoomAndPan ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SvgZoomAndPan as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SvgZoomAndPan { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `zoomAndPan` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGZoomAndPan/zoomAndPan)\n\n*This API requires the following crate features to be activated: `SvgZoomAndPan`*" ] pub fn set_zoom_and_pan ( & self , zoom_and_pan : u16 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_zoom_and_pan_SVGZoomAndPan ( self_ : < & SvgZoomAndPan as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoom_and_pan : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SvgZoomAndPan as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let zoom_and_pan = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoom_and_pan , & mut __stack ) ; __widl_f_set_zoom_and_pan_SVGZoomAndPan ( self_ , zoom_and_pan ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `zoomAndPan` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGZoomAndPan/zoomAndPan)\n\n*This API requires the following crate features to be activated: `SvgZoomAndPan`*" ] pub fn set_zoom_and_pan ( & self , zoom_and_pan : u16 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Screen` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen)\n\n*This API requires the following crate features to be activated: `Screen`*" ] # [ repr ( transparent ) ] pub struct Screen { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Screen : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Screen { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Screen { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Screen { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Screen { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Screen { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Screen { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Screen { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Screen { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Screen { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Screen > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Screen { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Screen { # [ inline ] fn from ( obj : JsValue ) -> Screen { Screen { obj } } } impl AsRef < JsValue > for Screen { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Screen > for JsValue { # [ inline ] fn from ( obj : Screen ) -> JsValue { obj . obj } } impl JsCast for Screen { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Screen ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Screen ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Screen { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Screen ) } } } ( ) } ; impl core :: ops :: Deref for Screen { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < Screen > for EventTarget { # [ inline ] fn from ( obj : Screen ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for Screen { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Screen > for Object { # [ inline ] fn from ( obj : Screen ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Screen { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_avail_width_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `availWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/availWidth)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn avail_width ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_avail_width_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_avail_width_Screen ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `availWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/availWidth)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn avail_width ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_avail_height_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `availHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/availHeight)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn avail_height ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_avail_height_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_avail_height_Screen ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `availHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/availHeight)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn avail_height ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/width)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn width ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_Screen ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/width)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn width ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/height)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn height ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_Screen ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/height)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn height ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_color_depth_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `colorDepth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/colorDepth)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn color_depth ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_color_depth_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_color_depth_Screen ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `colorDepth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/colorDepth)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn color_depth ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pixel_depth_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pixelDepth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/pixelDepth)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn pixel_depth ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pixel_depth_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pixel_depth_Screen ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pixelDepth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/pixelDepth)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn pixel_depth ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_top_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `top` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/top)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn top ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_top_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_top_Screen ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `top` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/top)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn top ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_left_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `left` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/left)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn left ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_left_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_left_Screen ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `left` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/left)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn left ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_avail_top_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `availTop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/availTop)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn avail_top ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_avail_top_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_avail_top_Screen ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `availTop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/availTop)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn avail_top ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_avail_left_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `availLeft` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/availLeft)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn avail_left ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_avail_left_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_avail_left_Screen ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `availLeft` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/availLeft)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn avail_left ( & self , ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_orientation_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < ScreenOrientation as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `orientation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/orientation)\n\n*This API requires the following crate features to be activated: `Screen`, `ScreenOrientation`*" ] pub fn orientation ( & self , ) -> ScreenOrientation { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_orientation_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ScreenOrientation as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_orientation_Screen ( self_ ) } ; < ScreenOrientation as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `orientation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/orientation)\n\n*This API requires the following crate features to be activated: `Screen`, `ScreenOrientation`*" ] pub fn orientation ( & self , ) -> ScreenOrientation { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_color_gamut_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < ScreenColorGamut as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `colorGamut` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/colorGamut)\n\n*This API requires the following crate features to be activated: `Screen`, `ScreenColorGamut`*" ] pub fn color_gamut ( & self , ) -> ScreenColorGamut { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_color_gamut_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ScreenColorGamut as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_color_gamut_Screen ( self_ ) } ; < ScreenColorGamut as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `colorGamut` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/colorGamut)\n\n*This API requires the following crate features to be activated: `Screen`, `ScreenColorGamut`*" ] pub fn color_gamut ( & self , ) -> ScreenColorGamut { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_luminance_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < Option < ScreenLuminance > as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `luminance` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/luminance)\n\n*This API requires the following crate features to be activated: `Screen`, `ScreenLuminance`*" ] pub fn luminance ( & self , ) -> Option < ScreenLuminance > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_luminance_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < ScreenLuminance > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_luminance_Screen ( self_ ) } ; < Option < ScreenLuminance > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `luminance` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/luminance)\n\n*This API requires the following crate features to be activated: `Screen`, `ScreenLuminance`*" ] pub fn luminance ( & self , ) -> Option < ScreenLuminance > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchange_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/onchange)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchange_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchange_Screen ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/onchange)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchange_Screen ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Screen as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Screen { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/onchange)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchange_Screen ( self_ : < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Screen as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchange , & mut __stack ) ; __widl_f_set_onchange_Screen ( self_ , onchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/onchange)\n\n*This API requires the following crate features to be activated: `Screen`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ScreenLuminance` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance)\n\n*This API requires the following crate features to be activated: `ScreenLuminance`*" ] # [ repr ( transparent ) ] pub struct ScreenLuminance { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ScreenLuminance : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ScreenLuminance { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ScreenLuminance { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ScreenLuminance { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ScreenLuminance { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ScreenLuminance { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ScreenLuminance { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ScreenLuminance { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ScreenLuminance { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ScreenLuminance { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ScreenLuminance > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ScreenLuminance { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ScreenLuminance { # [ inline ] fn from ( obj : JsValue ) -> ScreenLuminance { ScreenLuminance { obj } } } impl AsRef < JsValue > for ScreenLuminance { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ScreenLuminance > for JsValue { # [ inline ] fn from ( obj : ScreenLuminance ) -> JsValue { obj . obj } } impl JsCast for ScreenLuminance { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ScreenLuminance ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ScreenLuminance ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ScreenLuminance { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ScreenLuminance ) } } } ( ) } ; impl core :: ops :: Deref for ScreenLuminance { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < ScreenLuminance > for Object { # [ inline ] fn from ( obj : ScreenLuminance ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ScreenLuminance { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_min_ScreenLuminance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ScreenLuminance as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl ScreenLuminance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `min` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance/min)\n\n*This API requires the following crate features to be activated: `ScreenLuminance`*" ] pub fn min ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_min_ScreenLuminance ( self_ : < & ScreenLuminance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScreenLuminance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_min_ScreenLuminance ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `min` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance/min)\n\n*This API requires the following crate features to be activated: `ScreenLuminance`*" ] pub fn min ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_ScreenLuminance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ScreenLuminance as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl ScreenLuminance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `max` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance/max)\n\n*This API requires the following crate features to be activated: `ScreenLuminance`*" ] pub fn max ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_ScreenLuminance ( self_ : < & ScreenLuminance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScreenLuminance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_ScreenLuminance ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `max` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance/max)\n\n*This API requires the following crate features to be activated: `ScreenLuminance`*" ] pub fn max ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_average_ScreenLuminance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ScreenLuminance as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl ScreenLuminance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxAverage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance/maxAverage)\n\n*This API requires the following crate features to be activated: `ScreenLuminance`*" ] pub fn max_average ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_average_ScreenLuminance ( self_ : < & ScreenLuminance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScreenLuminance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_average_ScreenLuminance ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxAverage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenLuminance/maxAverage)\n\n*This API requires the following crate features to be activated: `ScreenLuminance`*" ] pub fn max_average ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ScreenOrientation` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation)\n\n*This API requires the following crate features to be activated: `ScreenOrientation`*" ] # [ repr ( transparent ) ] pub struct ScreenOrientation { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ScreenOrientation : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ScreenOrientation { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ScreenOrientation { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ScreenOrientation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ScreenOrientation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ScreenOrientation { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ScreenOrientation { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ScreenOrientation { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ScreenOrientation { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ScreenOrientation { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ScreenOrientation > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ScreenOrientation { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ScreenOrientation { # [ inline ] fn from ( obj : JsValue ) -> ScreenOrientation { ScreenOrientation { obj } } } impl AsRef < JsValue > for ScreenOrientation { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ScreenOrientation > for JsValue { # [ inline ] fn from ( obj : ScreenOrientation ) -> JsValue { obj . obj } } impl JsCast for ScreenOrientation { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ScreenOrientation ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ScreenOrientation ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ScreenOrientation { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ScreenOrientation ) } } } ( ) } ; impl core :: ops :: Deref for ScreenOrientation { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < ScreenOrientation > for EventTarget { # [ inline ] fn from ( obj : ScreenOrientation ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ScreenOrientation { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ScreenOrientation > for Object { # [ inline ] fn from ( obj : ScreenOrientation ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ScreenOrientation { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lock_ScreenOrientation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ScreenOrientation as WasmDescribe > :: describe ( ) ; < OrientationLockType as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ScreenOrientation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lock()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/lock)\n\n*This API requires the following crate features to be activated: `OrientationLockType`, `ScreenOrientation`*" ] pub fn lock ( & self , orientation : OrientationLockType ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lock_ScreenOrientation ( self_ : < & ScreenOrientation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , orientation : < OrientationLockType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScreenOrientation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let orientation = < OrientationLockType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( orientation , & mut __stack ) ; __widl_f_lock_ScreenOrientation ( self_ , orientation , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lock()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/lock)\n\n*This API requires the following crate features to be activated: `OrientationLockType`, `ScreenOrientation`*" ] pub fn lock ( & self , orientation : OrientationLockType ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unlock_ScreenOrientation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ScreenOrientation as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ScreenOrientation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unlock()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/unlock)\n\n*This API requires the following crate features to be activated: `ScreenOrientation`*" ] pub fn unlock ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unlock_ScreenOrientation ( self_ : < & ScreenOrientation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScreenOrientation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unlock_ScreenOrientation ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unlock()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/unlock)\n\n*This API requires the following crate features to be activated: `ScreenOrientation`*" ] pub fn unlock ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_ScreenOrientation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ScreenOrientation as WasmDescribe > :: describe ( ) ; < OrientationType as WasmDescribe > :: describe ( ) ; } impl ScreenOrientation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/type)\n\n*This API requires the following crate features to be activated: `OrientationType`, `ScreenOrientation`*" ] pub fn type_ ( & self , ) -> Result < OrientationType , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_ScreenOrientation ( self_ : < & ScreenOrientation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < OrientationType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScreenOrientation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_ScreenOrientation ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < OrientationType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/type)\n\n*This API requires the following crate features to be activated: `OrientationType`, `ScreenOrientation`*" ] pub fn type_ ( & self , ) -> Result < OrientationType , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_angle_ScreenOrientation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ScreenOrientation as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl ScreenOrientation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `angle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/angle)\n\n*This API requires the following crate features to be activated: `ScreenOrientation`*" ] pub fn angle ( & self , ) -> Result < u16 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_angle_ScreenOrientation ( self_ : < & ScreenOrientation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScreenOrientation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_angle_ScreenOrientation ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `angle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/angle)\n\n*This API requires the following crate features to be activated: `ScreenOrientation`*" ] pub fn angle ( & self , ) -> Result < u16 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchange_ScreenOrientation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ScreenOrientation as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ScreenOrientation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/onchange)\n\n*This API requires the following crate features to be activated: `ScreenOrientation`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchange_ScreenOrientation ( self_ : < & ScreenOrientation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScreenOrientation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchange_ScreenOrientation ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/onchange)\n\n*This API requires the following crate features to be activated: `ScreenOrientation`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchange_ScreenOrientation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ScreenOrientation as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ScreenOrientation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/onchange)\n\n*This API requires the following crate features to be activated: `ScreenOrientation`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchange_ScreenOrientation ( self_ : < & ScreenOrientation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScreenOrientation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchange , & mut __stack ) ; __widl_f_set_onchange_ScreenOrientation ( self_ , onchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/onchange)\n\n*This API requires the following crate features to be activated: `ScreenOrientation`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ScriptProcessorNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode)\n\n*This API requires the following crate features to be activated: `ScriptProcessorNode`*" ] # [ repr ( transparent ) ] pub struct ScriptProcessorNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ScriptProcessorNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ScriptProcessorNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ScriptProcessorNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ScriptProcessorNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ScriptProcessorNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ScriptProcessorNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ScriptProcessorNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ScriptProcessorNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ScriptProcessorNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ScriptProcessorNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ScriptProcessorNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ScriptProcessorNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ScriptProcessorNode { # [ inline ] fn from ( obj : JsValue ) -> ScriptProcessorNode { ScriptProcessorNode { obj } } } impl AsRef < JsValue > for ScriptProcessorNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ScriptProcessorNode > for JsValue { # [ inline ] fn from ( obj : ScriptProcessorNode ) -> JsValue { obj . obj } } impl JsCast for ScriptProcessorNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ScriptProcessorNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ScriptProcessorNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ScriptProcessorNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ScriptProcessorNode ) } } } ( ) } ; impl core :: ops :: Deref for ScriptProcessorNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < ScriptProcessorNode > for AudioNode { # [ inline ] fn from ( obj : ScriptProcessorNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for ScriptProcessorNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ScriptProcessorNode > for EventTarget { # [ inline ] fn from ( obj : ScriptProcessorNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ScriptProcessorNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ScriptProcessorNode > for Object { # [ inline ] fn from ( obj : ScriptProcessorNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ScriptProcessorNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onaudioprocess_ScriptProcessorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ScriptProcessorNode as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ScriptProcessorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaudioprocess` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/onaudioprocess)\n\n*This API requires the following crate features to be activated: `ScriptProcessorNode`*" ] pub fn onaudioprocess ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onaudioprocess_ScriptProcessorNode ( self_ : < & ScriptProcessorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScriptProcessorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onaudioprocess_ScriptProcessorNode ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaudioprocess` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/onaudioprocess)\n\n*This API requires the following crate features to be activated: `ScriptProcessorNode`*" ] pub fn onaudioprocess ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onaudioprocess_ScriptProcessorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ScriptProcessorNode as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ScriptProcessorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaudioprocess` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/onaudioprocess)\n\n*This API requires the following crate features to be activated: `ScriptProcessorNode`*" ] pub fn set_onaudioprocess ( & self , onaudioprocess : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onaudioprocess_ScriptProcessorNode ( self_ : < & ScriptProcessorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onaudioprocess : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScriptProcessorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onaudioprocess = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onaudioprocess , & mut __stack ) ; __widl_f_set_onaudioprocess_ScriptProcessorNode ( self_ , onaudioprocess ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaudioprocess` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/onaudioprocess)\n\n*This API requires the following crate features to be activated: `ScriptProcessorNode`*" ] pub fn set_onaudioprocess ( & self , onaudioprocess : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_size_ScriptProcessorNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ScriptProcessorNode as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl ScriptProcessorNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/bufferSize)\n\n*This API requires the following crate features to be activated: `ScriptProcessorNode`*" ] pub fn buffer_size ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_size_ScriptProcessorNode ( self_ : < & ScriptProcessorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScriptProcessorNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_buffer_size_ScriptProcessorNode ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/bufferSize)\n\n*This API requires the following crate features to be activated: `ScriptProcessorNode`*" ] pub fn buffer_size ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ScrollAreaEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] # [ repr ( transparent ) ] pub struct ScrollAreaEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ScrollAreaEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ScrollAreaEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ScrollAreaEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ScrollAreaEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ScrollAreaEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ScrollAreaEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ScrollAreaEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ScrollAreaEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ScrollAreaEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ScrollAreaEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ScrollAreaEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ScrollAreaEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ScrollAreaEvent { # [ inline ] fn from ( obj : JsValue ) -> ScrollAreaEvent { ScrollAreaEvent { obj } } } impl AsRef < JsValue > for ScrollAreaEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ScrollAreaEvent > for JsValue { # [ inline ] fn from ( obj : ScrollAreaEvent ) -> JsValue { obj . obj } } impl JsCast for ScrollAreaEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ScrollAreaEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ScrollAreaEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ScrollAreaEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ScrollAreaEvent ) } } } ( ) } ; impl core :: ops :: Deref for ScrollAreaEvent { type Target = UiEvent ; # [ inline ] fn deref ( & self ) -> & UiEvent { self . as_ref ( ) } } impl From < ScrollAreaEvent > for UiEvent { # [ inline ] fn from ( obj : ScrollAreaEvent ) -> UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < UiEvent > for ScrollAreaEvent { # [ inline ] fn as_ref ( & self ) -> & UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ScrollAreaEvent > for Event { # [ inline ] fn from ( obj : ScrollAreaEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for ScrollAreaEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ScrollAreaEvent > for Object { # [ inline ] fn from ( obj : ScrollAreaEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ScrollAreaEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_scroll_area_event_ScrollAreaEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ScrollAreaEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ScrollAreaEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn init_scroll_area_event ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_scroll_area_event_ScrollAreaEvent ( self_ : < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_init_scroll_area_event_ScrollAreaEvent ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn init_scroll_area_event ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_scroll_area_event_with_can_bubble_ScrollAreaEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & ScrollAreaEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ScrollAreaEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn init_scroll_area_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_scroll_area_event_with_can_bubble_ScrollAreaEvent ( self_ : < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; __widl_f_init_scroll_area_event_with_can_bubble_ScrollAreaEvent ( self_ , type_ , can_bubble ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn init_scroll_area_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_ScrollAreaEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & ScrollAreaEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ScrollAreaEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_ScrollAreaEvent ( self_ : < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_ScrollAreaEvent ( self_ , type_ , can_bubble , cancelable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_ScrollAreaEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & ScrollAreaEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ScrollAreaEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_ScrollAreaEvent ( self_ : < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_ScrollAreaEvent ( self_ , type_ , can_bubble , cancelable , view ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_ScrollAreaEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & ScrollAreaEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ScrollAreaEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_ScrollAreaEvent ( self_ : < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_ScrollAreaEvent ( self_ , type_ , can_bubble , cancelable , view , detail ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_ScrollAreaEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & ScrollAreaEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ScrollAreaEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , x : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_ScrollAreaEvent ( self_ : < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_ScrollAreaEvent ( self_ , type_ , can_bubble , cancelable , view , detail , x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , x : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_ScrollAreaEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & ScrollAreaEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ScrollAreaEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , x : f32 , y : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_ScrollAreaEvent ( self_ : < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_ScrollAreaEvent ( self_ , type_ , can_bubble , cancelable , view , detail , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , x : f32 , y : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_ScrollAreaEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & ScrollAreaEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ScrollAreaEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , x : f32 , y : f32 , width : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_ScrollAreaEvent ( self_ : < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_ScrollAreaEvent ( self_ , type_ , can_bubble , cancelable , view , detail , x , y , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , x : f32 , y : f32 , width : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_and_height_ScrollAreaEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & ScrollAreaEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ScrollAreaEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_and_height ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , x : f32 , y : f32 , width : f32 , height : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_and_height_ScrollAreaEvent ( self_ : < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_and_height_ScrollAreaEvent ( self_ , type_ , can_bubble , cancelable , view , detail , x , y , width , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initScrollAreaEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*" ] pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_and_height ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , x : f32 , y : f32 , width : f32 , height : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_x_ScrollAreaEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ScrollAreaEvent as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl ScrollAreaEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/x)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn x ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_x_ScrollAreaEvent ( self_ : < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_x_ScrollAreaEvent ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `x` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/x)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn x ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_y_ScrollAreaEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ScrollAreaEvent as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl ScrollAreaEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/y)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn y ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_y_ScrollAreaEvent ( self_ : < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_y_ScrollAreaEvent ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `y` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/y)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn y ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_ScrollAreaEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ScrollAreaEvent as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl ScrollAreaEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/width)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn width ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_ScrollAreaEvent ( self_ : < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_ScrollAreaEvent ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/width)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn width ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_height_ScrollAreaEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ScrollAreaEvent as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl ScrollAreaEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/height)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn height ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_height_ScrollAreaEvent ( self_ : < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ScrollAreaEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_height_ScrollAreaEvent ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `height` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/height)\n\n*This API requires the following crate features to be activated: `ScrollAreaEvent`*" ] pub fn height ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SecurityPolicyViolationEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] # [ repr ( transparent ) ] pub struct SecurityPolicyViolationEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SecurityPolicyViolationEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SecurityPolicyViolationEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SecurityPolicyViolationEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SecurityPolicyViolationEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SecurityPolicyViolationEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SecurityPolicyViolationEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SecurityPolicyViolationEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SecurityPolicyViolationEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SecurityPolicyViolationEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SecurityPolicyViolationEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SecurityPolicyViolationEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SecurityPolicyViolationEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SecurityPolicyViolationEvent { # [ inline ] fn from ( obj : JsValue ) -> SecurityPolicyViolationEvent { SecurityPolicyViolationEvent { obj } } } impl AsRef < JsValue > for SecurityPolicyViolationEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SecurityPolicyViolationEvent > for JsValue { # [ inline ] fn from ( obj : SecurityPolicyViolationEvent ) -> JsValue { obj . obj } } impl JsCast for SecurityPolicyViolationEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SecurityPolicyViolationEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SecurityPolicyViolationEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SecurityPolicyViolationEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SecurityPolicyViolationEvent ) } } } ( ) } ; impl core :: ops :: Deref for SecurityPolicyViolationEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < SecurityPolicyViolationEvent > for Event { # [ inline ] fn from ( obj : SecurityPolicyViolationEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for SecurityPolicyViolationEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SecurityPolicyViolationEvent > for Object { # [ inline ] fn from ( obj : SecurityPolicyViolationEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SecurityPolicyViolationEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SecurityPolicyViolationEvent(..)` constructor, creating a new instance of `SecurityPolicyViolationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/SecurityPolicyViolationEvent)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn new ( type_ : & str ) -> Result < SecurityPolicyViolationEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_SecurityPolicyViolationEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_SecurityPolicyViolationEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SecurityPolicyViolationEvent(..)` constructor, creating a new instance of `SecurityPolicyViolationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/SecurityPolicyViolationEvent)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn new ( type_ : & str ) -> Result < SecurityPolicyViolationEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & SecurityPolicyViolationEventInit as WasmDescribe > :: describe ( ) ; < SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SecurityPolicyViolationEvent(..)` constructor, creating a new instance of `SecurityPolicyViolationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/SecurityPolicyViolationEvent)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`, `SecurityPolicyViolationEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & SecurityPolicyViolationEventInit ) -> Result < SecurityPolicyViolationEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_SecurityPolicyViolationEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & SecurityPolicyViolationEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & SecurityPolicyViolationEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_SecurityPolicyViolationEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SecurityPolicyViolationEvent(..)` constructor, creating a new instance of `SecurityPolicyViolationEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/SecurityPolicyViolationEvent)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`, `SecurityPolicyViolationEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & SecurityPolicyViolationEventInit ) -> Result < SecurityPolicyViolationEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_document_uri_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `documentURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/documentURI)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn document_uri ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_document_uri_SecurityPolicyViolationEvent ( self_ : < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_document_uri_SecurityPolicyViolationEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `documentURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/documentURI)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn document_uri ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_referrer_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `referrer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/referrer)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn referrer ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_referrer_SecurityPolicyViolationEvent ( self_ : < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_referrer_SecurityPolicyViolationEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `referrer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/referrer)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn referrer ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blocked_uri_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blockedURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/blockedURI)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn blocked_uri ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blocked_uri_SecurityPolicyViolationEvent ( self_ : < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_blocked_uri_SecurityPolicyViolationEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blockedURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/blockedURI)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn blocked_uri ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_violated_directive_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `violatedDirective` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/violatedDirective)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn violated_directive ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_violated_directive_SecurityPolicyViolationEvent ( self_ : < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_violated_directive_SecurityPolicyViolationEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `violatedDirective` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/violatedDirective)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn violated_directive ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_effective_directive_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `effectiveDirective` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/effectiveDirective)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn effective_directive ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_effective_directive_SecurityPolicyViolationEvent ( self_ : < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_effective_directive_SecurityPolicyViolationEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `effectiveDirective` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/effectiveDirective)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn effective_directive ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_original_policy_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `originalPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/originalPolicy)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn original_policy ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_original_policy_SecurityPolicyViolationEvent ( self_ : < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_original_policy_SecurityPolicyViolationEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `originalPolicy` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/originalPolicy)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn original_policy ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_source_file_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sourceFile` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/sourceFile)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn source_file ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_source_file_SecurityPolicyViolationEvent ( self_ : < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_source_file_SecurityPolicyViolationEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sourceFile` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/sourceFile)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn source_file ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sample_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sample` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/sample)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn sample ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sample_SecurityPolicyViolationEvent ( self_ : < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sample_SecurityPolicyViolationEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sample` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/sample)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn sample ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disposition_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; < SecurityPolicyViolationEventDisposition as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disposition` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/disposition)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`, `SecurityPolicyViolationEventDisposition`*" ] pub fn disposition ( & self , ) -> SecurityPolicyViolationEventDisposition { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disposition_SecurityPolicyViolationEvent ( self_ : < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SecurityPolicyViolationEventDisposition as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disposition_SecurityPolicyViolationEvent ( self_ ) } ; < SecurityPolicyViolationEventDisposition as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disposition` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/disposition)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`, `SecurityPolicyViolationEventDisposition`*" ] pub fn disposition ( & self , ) -> SecurityPolicyViolationEventDisposition { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_status_code_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `statusCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/statusCode)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn status_code ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_status_code_SecurityPolicyViolationEvent ( self_ : < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_status_code_SecurityPolicyViolationEvent ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `statusCode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/statusCode)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn status_code ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_line_number_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineNumber` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/lineNumber)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn line_number ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_line_number_SecurityPolicyViolationEvent ( self_ : < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_line_number_SecurityPolicyViolationEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineNumber` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/lineNumber)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn line_number ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_column_number_SecurityPolicyViolationEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SecurityPolicyViolationEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl SecurityPolicyViolationEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `columnNumber` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn column_number ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_column_number_SecurityPolicyViolationEvent ( self_ : < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SecurityPolicyViolationEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_column_number_SecurityPolicyViolationEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `columnNumber` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)\n\n*This API requires the following crate features to be activated: `SecurityPolicyViolationEvent`*" ] pub fn column_number ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Selection` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection)\n\n*This API requires the following crate features to be activated: `Selection`*" ] # [ repr ( transparent ) ] pub struct Selection { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Selection : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Selection { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Selection { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Selection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Selection { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Selection { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Selection { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Selection { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Selection { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Selection { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Selection > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Selection { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Selection { # [ inline ] fn from ( obj : JsValue ) -> Selection { Selection { obj } } } impl AsRef < JsValue > for Selection { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Selection > for JsValue { # [ inline ] fn from ( obj : Selection ) -> JsValue { obj . obj } } impl JsCast for Selection { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Selection ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Selection ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Selection { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Selection ) } } } ( ) } ; impl core :: ops :: Deref for Selection { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Selection > for Object { # [ inline ] fn from ( obj : Selection ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Selection { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_range_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < & Range as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/addRange)\n\n*This API requires the following crate features to be activated: `Range`, `Selection`*" ] pub fn add_range ( & self , range : & Range ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_range_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , range : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let range = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( range , & mut __stack ) ; __widl_f_add_range_Selection ( self_ , range , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/addRange)\n\n*This API requires the following crate features to be activated: `Range`, `Selection`*" ] pub fn add_range ( & self , range : & Range ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_collapse_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < Option < & Node > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `collapse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/collapse)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn collapse ( & self , node : Option < & Node > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_collapse_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; __widl_f_collapse_Selection ( self_ , node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `collapse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/collapse)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn collapse ( & self , node : Option < & Node > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_collapse_with_offset_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < Option < & Node > as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `collapse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/collapse)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn collapse_with_offset ( & self , node : Option < & Node > , offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_collapse_with_offset_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_collapse_with_offset_Selection ( self_ , node , offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `collapse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/collapse)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn collapse_with_offset ( & self , node : Option < & Node > , offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_collapse_to_end_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `collapseToEnd()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/collapseToEnd)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn collapse_to_end ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_collapse_to_end_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_collapse_to_end_Selection ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `collapseToEnd()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/collapseToEnd)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn collapse_to_end ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_collapse_to_start_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `collapseToStart()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/collapseToStart)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn collapse_to_start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_collapse_to_start_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_collapse_to_start_Selection ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `collapseToStart()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/collapseToStart)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn collapse_to_start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_contains_node_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `containsNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/containsNode)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn contains_node ( & self , node : & Node ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_contains_node_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; __widl_f_contains_node_Selection ( self_ , node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `containsNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/containsNode)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn contains_node ( & self , node : & Node ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_contains_node_with_allow_partial_containment_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `containsNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/containsNode)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn contains_node_with_allow_partial_containment ( & self , node : & Node , allow_partial_containment : bool ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_contains_node_with_allow_partial_containment_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , allow_partial_containment : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; let allow_partial_containment = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( allow_partial_containment , & mut __stack ) ; __widl_f_contains_node_with_allow_partial_containment_Selection ( self_ , node , allow_partial_containment , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `containsNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/containsNode)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn contains_node_with_allow_partial_containment ( & self , node : & Node , allow_partial_containment : bool ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_from_document_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteFromDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/deleteFromDocument)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn delete_from_document ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_from_document_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_delete_from_document_Selection ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteFromDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/deleteFromDocument)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn delete_from_document ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_empty_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `empty()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/empty)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn empty ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_empty_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_empty_Selection ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `empty()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/empty)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn empty ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_extend_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `extend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/extend)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn extend ( & self , node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_extend_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; __widl_f_extend_Selection ( self_ , node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `extend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/extend)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn extend ( & self , node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_extend_with_offset_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `extend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/extend)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn extend_with_offset ( & self , node : & Node , offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_extend_with_offset_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_extend_with_offset_Selection ( self_ , node , offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `extend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/extend)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn extend_with_offset ( & self , node : & Node , offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_range_at_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Range as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getRangeAt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/getRangeAt)\n\n*This API requires the following crate features to be activated: `Range`, `Selection`*" ] pub fn get_range_at ( & self , index : u32 ) -> Result < Range , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_range_at_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Range as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_range_at_Selection ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Range as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getRangeAt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/getRangeAt)\n\n*This API requires the following crate features to be activated: `Range`, `Selection`*" ] pub fn get_range_at ( & self , index : u32 ) -> Result < Range , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_modify_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `modify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/modify)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn modify ( & self , alter : & str , direction : & str , granularity : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_modify_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alter : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , direction : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , granularity : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let alter = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alter , & mut __stack ) ; let direction = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( direction , & mut __stack ) ; let granularity = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( granularity , & mut __stack ) ; __widl_f_modify_Selection ( self_ , alter , direction , granularity , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `modify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/modify)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn modify ( & self , alter : & str , direction : & str , granularity : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_all_ranges_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeAllRanges()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/removeAllRanges)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn remove_all_ranges ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_all_ranges_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_remove_all_ranges_Selection ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeAllRanges()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/removeAllRanges)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn remove_all_ranges ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_range_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < & Range as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/removeRange)\n\n*This API requires the following crate features to be activated: `Range`, `Selection`*" ] pub fn remove_range ( & self , range : & Range ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_range_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , range : < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let range = < & Range as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( range , & mut __stack ) ; __widl_f_remove_range_Selection ( self_ , range , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/removeRange)\n\n*This API requires the following crate features to be activated: `Range`, `Selection`*" ] pub fn remove_range ( & self , range : & Range ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_select_all_children_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectAllChildren()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/selectAllChildren)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn select_all_children ( & self , node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_select_all_children_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; __widl_f_select_all_children_Selection ( self_ , node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectAllChildren()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/selectAllChildren)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn select_all_children ( & self , node : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_base_and_extent_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setBaseAndExtent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/setBaseAndExtent)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn set_base_and_extent ( & self , anchor_node : & Node , anchor_offset : u32 , focus_node : & Node , focus_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_base_and_extent_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , anchor_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , anchor_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , focus_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , focus_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let anchor_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( anchor_node , & mut __stack ) ; let anchor_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( anchor_offset , & mut __stack ) ; let focus_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( focus_node , & mut __stack ) ; let focus_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( focus_offset , & mut __stack ) ; __widl_f_set_base_and_extent_Selection ( self_ , anchor_node , anchor_offset , focus_node , focus_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setBaseAndExtent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/setBaseAndExtent)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn set_base_and_extent ( & self , anchor_node : & Node , anchor_offset : u32 , focus_node : & Node , focus_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_position_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < Option < & Node > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setPosition()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/setPosition)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn set_position ( & self , node : Option < & Node > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_position_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; __widl_f_set_position_Selection ( self_ , node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setPosition()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/setPosition)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn set_position ( & self , node : Option < & Node > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_position_with_offset_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < Option < & Node > as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setPosition()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/setPosition)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn set_position_with_offset ( & self , node : Option < & Node > , offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_position_with_offset_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , node : < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let node = < Option < & Node > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( node , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_set_position_with_offset_Selection ( self_ , node , offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setPosition()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/setPosition)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn set_position_with_offset ( & self , node : Option < & Node > , offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anchor_node_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `anchorNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/anchorNode)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn anchor_node ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anchor_node_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anchor_node_Selection ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `anchorNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/anchorNode)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn anchor_node ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_anchor_offset_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `anchorOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/anchorOffset)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn anchor_offset ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_anchor_offset_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_anchor_offset_Selection ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `anchorOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/anchorOffset)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn anchor_offset ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_focus_node_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `focusNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/focusNode)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn focus_node ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_focus_node_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_focus_node_Selection ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `focusNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/focusNode)\n\n*This API requires the following crate features to be activated: `Node`, `Selection`*" ] pub fn focus_node ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_focus_offset_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `focusOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/focusOffset)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn focus_offset ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_focus_offset_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_focus_offset_Selection ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `focusOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/focusOffset)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn focus_offset ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_collapsed_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isCollapsed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/isCollapsed)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn is_collapsed ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_collapsed_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_collapsed_Selection ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isCollapsed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/isCollapsed)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn is_collapsed ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_range_count_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rangeCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/rangeCount)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn range_count ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_range_count_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_range_count_Selection ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rangeCount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/rangeCount)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn range_count ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/type)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_Selection ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/type)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_caret_bidi_level_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < Option < i16 > as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `caretBidiLevel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/caretBidiLevel)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn caret_bidi_level ( & self , ) -> Result < Option < i16 > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_caret_bidi_level_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < i16 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_caret_bidi_level_Selection ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < i16 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `caretBidiLevel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/caretBidiLevel)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn caret_bidi_level ( & self , ) -> Result < Option < i16 > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_caret_bidi_level_Selection ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Selection as WasmDescribe > :: describe ( ) ; < Option < i16 > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Selection { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `caretBidiLevel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/caretBidiLevel)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn set_caret_bidi_level ( & self , caret_bidi_level : Option < i16 > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_caret_bidi_level_Selection ( self_ : < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , caret_bidi_level : < Option < i16 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Selection as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let caret_bidi_level = < Option < i16 > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( caret_bidi_level , & mut __stack ) ; __widl_f_set_caret_bidi_level_Selection ( self_ , caret_bidi_level , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `caretBidiLevel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Selection/caretBidiLevel)\n\n*This API requires the following crate features to be activated: `Selection`*" ] pub fn set_caret_bidi_level ( & self , caret_bidi_level : Option < i16 > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ServiceWorker` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker)\n\n*This API requires the following crate features to be activated: `ServiceWorker`*" ] # [ repr ( transparent ) ] pub struct ServiceWorker { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ServiceWorker : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ServiceWorker { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ServiceWorker { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ServiceWorker { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ServiceWorker { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ServiceWorker { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ServiceWorker { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ServiceWorker { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ServiceWorker { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ServiceWorker { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ServiceWorker > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ServiceWorker { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ServiceWorker { # [ inline ] fn from ( obj : JsValue ) -> ServiceWorker { ServiceWorker { obj } } } impl AsRef < JsValue > for ServiceWorker { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ServiceWorker > for JsValue { # [ inline ] fn from ( obj : ServiceWorker ) -> JsValue { obj . obj } } impl JsCast for ServiceWorker { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ServiceWorker ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ServiceWorker ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ServiceWorker { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ServiceWorker ) } } } ( ) } ; impl core :: ops :: Deref for ServiceWorker { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < ServiceWorker > for EventTarget { # [ inline ] fn from ( obj : ServiceWorker ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ServiceWorker { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ServiceWorker > for Object { # [ inline ] fn from ( obj : ServiceWorker ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ServiceWorker { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_post_message_ServiceWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorker as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/postMessage)\n\n*This API requires the following crate features to be activated: `ServiceWorker`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_post_message_ServiceWorker ( self_ : < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let message = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; __widl_f_post_message_ServiceWorker ( self_ , message , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/postMessage)\n\n*This API requires the following crate features to be activated: `ServiceWorker`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_script_url_ServiceWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorker as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl ServiceWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scriptURL` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/scriptURL)\n\n*This API requires the following crate features to be activated: `ServiceWorker`*" ] pub fn script_url ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_script_url_ServiceWorker ( self_ : < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_script_url_ServiceWorker ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scriptURL` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/scriptURL)\n\n*This API requires the following crate features to be activated: `ServiceWorker`*" ] pub fn script_url ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_state_ServiceWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorker as WasmDescribe > :: describe ( ) ; < ServiceWorkerState as WasmDescribe > :: describe ( ) ; } impl ServiceWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/state)\n\n*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerState`*" ] pub fn state ( & self , ) -> ServiceWorkerState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_state_ServiceWorker ( self_ : < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ServiceWorkerState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_state_ServiceWorker ( self_ ) } ; < ServiceWorkerState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `state` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/state)\n\n*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerState`*" ] pub fn state ( & self , ) -> ServiceWorkerState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstatechange_ServiceWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorker as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/onstatechange)\n\n*This API requires the following crate features to be activated: `ServiceWorker`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstatechange_ServiceWorker ( self_ : < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstatechange_ServiceWorker ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/onstatechange)\n\n*This API requires the following crate features to be activated: `ServiceWorker`*" ] pub fn onstatechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstatechange_ServiceWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorker as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/onstatechange)\n\n*This API requires the following crate features to be activated: `ServiceWorker`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstatechange_ServiceWorker ( self_ : < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstatechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstatechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstatechange , & mut __stack ) ; __widl_f_set_onstatechange_ServiceWorker ( self_ , onstatechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/onstatechange)\n\n*This API requires the following crate features to be activated: `ServiceWorker`*" ] pub fn set_onstatechange ( & self , onstatechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_ServiceWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorker as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/onerror)\n\n*This API requires the following crate features to be activated: `ServiceWorker`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_ServiceWorker ( self_ : < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_ServiceWorker ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/onerror)\n\n*This API requires the following crate features to be activated: `ServiceWorker`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_ServiceWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorker as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/onerror)\n\n*This API requires the following crate features to be activated: `ServiceWorker`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_ServiceWorker ( self_ : < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_ServiceWorker ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker/onerror)\n\n*This API requires the following crate features to be activated: `ServiceWorker`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ServiceWorkerContainer` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] # [ repr ( transparent ) ] pub struct ServiceWorkerContainer { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ServiceWorkerContainer : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ServiceWorkerContainer { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ServiceWorkerContainer { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ServiceWorkerContainer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ServiceWorkerContainer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ServiceWorkerContainer { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ServiceWorkerContainer { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ServiceWorkerContainer { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ServiceWorkerContainer { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ServiceWorkerContainer { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ServiceWorkerContainer > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ServiceWorkerContainer { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ServiceWorkerContainer { # [ inline ] fn from ( obj : JsValue ) -> ServiceWorkerContainer { ServiceWorkerContainer { obj } } } impl AsRef < JsValue > for ServiceWorkerContainer { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ServiceWorkerContainer > for JsValue { # [ inline ] fn from ( obj : ServiceWorkerContainer ) -> JsValue { obj . obj } } impl JsCast for ServiceWorkerContainer { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ServiceWorkerContainer ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ServiceWorkerContainer ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ServiceWorkerContainer { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ServiceWorkerContainer ) } } } ( ) } ; impl core :: ops :: Deref for ServiceWorkerContainer { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < ServiceWorkerContainer > for EventTarget { # [ inline ] fn from ( obj : ServiceWorkerContainer ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ServiceWorkerContainer { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ServiceWorkerContainer > for Object { # [ inline ] fn from ( obj : ServiceWorkerContainer ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ServiceWorkerContainer { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_registration_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getRegistration()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getRegistration)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn get_registration ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_registration_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_registration_ServiceWorkerContainer ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getRegistration()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getRegistration)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn get_registration ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_registration_with_document_url_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getRegistration()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getRegistration)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn get_registration_with_document_url ( & self , document_url : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_registration_with_document_url_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , document_url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let document_url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( document_url , & mut __stack ) ; __widl_f_get_registration_with_document_url_ServiceWorkerContainer ( self_ , document_url ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getRegistration()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getRegistration)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn get_registration_with_document_url ( & self , document_url : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_registrations_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getRegistrations()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getRegistrations)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn get_registrations ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_registrations_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_registrations_ServiceWorkerContainer ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getRegistrations()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getRegistrations)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn get_registrations ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_scope_for_url_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getScopeForUrl()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getScopeForUrl)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn get_scope_for_url ( & self , url : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_scope_for_url_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_get_scope_for_url_ServiceWorkerContainer ( self_ , url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getScopeForUrl()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getScopeForUrl)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn get_scope_for_url ( & self , url : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_register_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `register()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/register)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn register ( & self , script_url : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_register_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , script_url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let script_url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( script_url , & mut __stack ) ; __widl_f_register_ServiceWorkerContainer ( self_ , script_url ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `register()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/register)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn register ( & self , script_url : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_register_with_options_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & RegistrationOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `register()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/register)\n\n*This API requires the following crate features to be activated: `RegistrationOptions`, `ServiceWorkerContainer`*" ] pub fn register_with_options ( & self , script_url : & str , options : & RegistrationOptions ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_register_with_options_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , script_url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & RegistrationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let script_url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( script_url , & mut __stack ) ; let options = < & RegistrationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_register_with_options_ServiceWorkerContainer ( self_ , script_url , options ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `register()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/register)\n\n*This API requires the following crate features to be activated: `RegistrationOptions`, `ServiceWorkerContainer`*" ] pub fn register_with_options ( & self , script_url : & str , options : & RegistrationOptions ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_controller_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < Option < ServiceWorker > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `controller` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/controller)\n\n*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerContainer`*" ] pub fn controller ( & self , ) -> Option < ServiceWorker > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_controller_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < ServiceWorker > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_controller_ServiceWorkerContainer ( self_ ) } ; < Option < ServiceWorker > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `controller` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/controller)\n\n*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerContainer`*" ] pub fn controller ( & self , ) -> Option < ServiceWorker > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ready` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/ready)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn ready ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_ServiceWorkerContainer ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ready` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/ready)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn ready ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncontrollerchange_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncontrollerchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/oncontrollerchange)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn oncontrollerchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncontrollerchange_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncontrollerchange_ServiceWorkerContainer ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncontrollerchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/oncontrollerchange)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn oncontrollerchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncontrollerchange_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncontrollerchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/oncontrollerchange)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn set_oncontrollerchange ( & self , oncontrollerchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncontrollerchange_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncontrollerchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncontrollerchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncontrollerchange , & mut __stack ) ; __widl_f_set_oncontrollerchange_ServiceWorkerContainer ( self_ , oncontrollerchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncontrollerchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/oncontrollerchange)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn set_oncontrollerchange ( & self , oncontrollerchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/onerror)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_ServiceWorkerContainer ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/onerror)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/onerror)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_ServiceWorkerContainer ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/onerror)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/onmessage)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_ServiceWorkerContainer ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/onmessage)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_ServiceWorkerContainer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerContainer as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerContainer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/onmessage)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_ServiceWorkerContainer ( self_ : < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerContainer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_ServiceWorkerContainer ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/onmessage)\n\n*This API requires the following crate features to be activated: `ServiceWorkerContainer`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ServiceWorkerGlobalScope` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] # [ repr ( transparent ) ] pub struct ServiceWorkerGlobalScope { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ServiceWorkerGlobalScope : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ServiceWorkerGlobalScope { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ServiceWorkerGlobalScope { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ServiceWorkerGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ServiceWorkerGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ServiceWorkerGlobalScope { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ServiceWorkerGlobalScope { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ServiceWorkerGlobalScope { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ServiceWorkerGlobalScope { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ServiceWorkerGlobalScope { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ServiceWorkerGlobalScope > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ServiceWorkerGlobalScope { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ServiceWorkerGlobalScope { # [ inline ] fn from ( obj : JsValue ) -> ServiceWorkerGlobalScope { ServiceWorkerGlobalScope { obj } } } impl AsRef < JsValue > for ServiceWorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ServiceWorkerGlobalScope > for JsValue { # [ inline ] fn from ( obj : ServiceWorkerGlobalScope ) -> JsValue { obj . obj } } impl JsCast for ServiceWorkerGlobalScope { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ServiceWorkerGlobalScope ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ServiceWorkerGlobalScope ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ServiceWorkerGlobalScope { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ServiceWorkerGlobalScope ) } } } ( ) } ; impl core :: ops :: Deref for ServiceWorkerGlobalScope { type Target = WorkerGlobalScope ; # [ inline ] fn deref ( & self ) -> & WorkerGlobalScope { self . as_ref ( ) } } impl From < ServiceWorkerGlobalScope > for WorkerGlobalScope { # [ inline ] fn from ( obj : ServiceWorkerGlobalScope ) -> WorkerGlobalScope { use wasm_bindgen :: JsCast ; WorkerGlobalScope :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < WorkerGlobalScope > for ServiceWorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & WorkerGlobalScope { use wasm_bindgen :: JsCast ; WorkerGlobalScope :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ServiceWorkerGlobalScope > for EventTarget { # [ inline ] fn from ( obj : ServiceWorkerGlobalScope ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ServiceWorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ServiceWorkerGlobalScope > for Object { # [ inline ] fn from ( obj : ServiceWorkerGlobalScope ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ServiceWorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_skip_waiting_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `skipWaiting()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/skipWaiting)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn skip_waiting ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_skip_waiting_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_skip_waiting_ServiceWorkerGlobalScope ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `skipWaiting()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/skipWaiting)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn skip_waiting ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clients_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Clients as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clients` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/clients)\n\n*This API requires the following crate features to be activated: `Clients`, `ServiceWorkerGlobalScope`*" ] pub fn clients ( & self , ) -> Clients { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clients_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Clients as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clients_ServiceWorkerGlobalScope ( self_ ) } ; < Clients as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clients` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/clients)\n\n*This API requires the following crate features to be activated: `Clients`, `ServiceWorkerGlobalScope`*" ] pub fn clients ( & self , ) -> Clients { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_registration_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `registration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/registration)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`, `ServiceWorkerRegistration`*" ] pub fn registration ( & self , ) -> ServiceWorkerRegistration { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_registration_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ServiceWorkerRegistration as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_registration_ServiceWorkerGlobalScope ( self_ ) } ; < ServiceWorkerRegistration as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `registration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/registration)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`, `ServiceWorkerRegistration`*" ] pub fn registration ( & self , ) -> ServiceWorkerRegistration { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oninstall_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninstall` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/oninstall)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn oninstall ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oninstall_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oninstall_ServiceWorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninstall` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/oninstall)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn oninstall ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oninstall_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninstall` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/oninstall)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_oninstall ( & self , oninstall : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oninstall_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oninstall : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oninstall = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oninstall , & mut __stack ) ; __widl_f_set_oninstall_ServiceWorkerGlobalScope ( self_ , oninstall ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninstall` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/oninstall)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_oninstall ( & self , oninstall : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onactivate_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onactivate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onactivate)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onactivate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onactivate_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onactivate_ServiceWorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onactivate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onactivate)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onactivate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onactivate_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onactivate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onactivate)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onactivate ( & self , onactivate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onactivate_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onactivate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onactivate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onactivate , & mut __stack ) ; __widl_f_set_onactivate_ServiceWorkerGlobalScope ( self_ , onactivate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onactivate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onactivate)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onactivate ( & self , onactivate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onfetch_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfetch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onfetch)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onfetch ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onfetch_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onfetch_ServiceWorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfetch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onfetch)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onfetch ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onfetch_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfetch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onfetch)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onfetch ( & self , onfetch : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onfetch_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onfetch : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onfetch = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onfetch , & mut __stack ) ; __widl_f_set_onfetch_ServiceWorkerGlobalScope ( self_ , onfetch ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfetch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onfetch)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onfetch ( & self , onfetch : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onmessage)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_ServiceWorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onmessage)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onmessage)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_ServiceWorkerGlobalScope ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onmessage)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpush_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpush` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onpush)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onpush ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpush_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpush_ServiceWorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpush` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onpush)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onpush ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpush_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpush` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onpush)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onpush ( & self , onpush : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpush_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpush : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpush = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpush , & mut __stack ) ; __widl_f_set_onpush_ServiceWorkerGlobalScope ( self_ , onpush ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpush` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onpush)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onpush ( & self , onpush : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpushsubscriptionchange_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpushsubscriptionchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onpushsubscriptionchange)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onpushsubscriptionchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpushsubscriptionchange_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpushsubscriptionchange_ServiceWorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpushsubscriptionchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onpushsubscriptionchange)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onpushsubscriptionchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpushsubscriptionchange_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpushsubscriptionchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onpushsubscriptionchange)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onpushsubscriptionchange ( & self , onpushsubscriptionchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpushsubscriptionchange_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpushsubscriptionchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpushsubscriptionchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpushsubscriptionchange , & mut __stack ) ; __widl_f_set_onpushsubscriptionchange_ServiceWorkerGlobalScope ( self_ , onpushsubscriptionchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpushsubscriptionchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onpushsubscriptionchange)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onpushsubscriptionchange ( & self , onpushsubscriptionchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onnotificationclick_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onnotificationclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onnotificationclick)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onnotificationclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onnotificationclick_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onnotificationclick_ServiceWorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onnotificationclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onnotificationclick)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onnotificationclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onnotificationclick_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onnotificationclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onnotificationclick)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onnotificationclick ( & self , onnotificationclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onnotificationclick_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onnotificationclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onnotificationclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onnotificationclick , & mut __stack ) ; __widl_f_set_onnotificationclick_ServiceWorkerGlobalScope ( self_ , onnotificationclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onnotificationclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onnotificationclick)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onnotificationclick ( & self , onnotificationclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onnotificationclose_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onnotificationclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onnotificationclose)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onnotificationclose ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onnotificationclose_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onnotificationclose_ServiceWorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onnotificationclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onnotificationclose)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn onnotificationclose ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onnotificationclose_ServiceWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onnotificationclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onnotificationclose)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onnotificationclose ( & self , onnotificationclose : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onnotificationclose_ServiceWorkerGlobalScope ( self_ : < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onnotificationclose : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onnotificationclose = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onnotificationclose , & mut __stack ) ; __widl_f_set_onnotificationclose_ServiceWorkerGlobalScope ( self_ , onnotificationclose ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onnotificationclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/onnotificationclose)\n\n*This API requires the following crate features to be activated: `ServiceWorkerGlobalScope`*" ] pub fn set_onnotificationclose ( & self , onnotificationclose : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ServiceWorkerRegistration` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] # [ repr ( transparent ) ] pub struct ServiceWorkerRegistration { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ServiceWorkerRegistration : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ServiceWorkerRegistration { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ServiceWorkerRegistration { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ServiceWorkerRegistration { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ServiceWorkerRegistration { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ServiceWorkerRegistration { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ServiceWorkerRegistration { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ServiceWorkerRegistration { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ServiceWorkerRegistration { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ServiceWorkerRegistration { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ServiceWorkerRegistration > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ServiceWorkerRegistration { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ServiceWorkerRegistration { # [ inline ] fn from ( obj : JsValue ) -> ServiceWorkerRegistration { ServiceWorkerRegistration { obj } } } impl AsRef < JsValue > for ServiceWorkerRegistration { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ServiceWorkerRegistration > for JsValue { # [ inline ] fn from ( obj : ServiceWorkerRegistration ) -> JsValue { obj . obj } } impl JsCast for ServiceWorkerRegistration { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ServiceWorkerRegistration ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ServiceWorkerRegistration ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ServiceWorkerRegistration { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ServiceWorkerRegistration ) } } } ( ) } ; impl core :: ops :: Deref for ServiceWorkerRegistration { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < ServiceWorkerRegistration > for EventTarget { # [ inline ] fn from ( obj : ServiceWorkerRegistration ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ServiceWorkerRegistration { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ServiceWorkerRegistration > for Object { # [ inline ] fn from ( obj : ServiceWorkerRegistration ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ServiceWorkerRegistration { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_notifications_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getNotifications()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/getNotifications)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn get_notifications ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_notifications_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_notifications_ServiceWorkerRegistration ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getNotifications()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/getNotifications)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn get_notifications ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_notifications_with_filter_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < & GetNotificationOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getNotifications()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/getNotifications)\n\n*This API requires the following crate features to be activated: `GetNotificationOptions`, `ServiceWorkerRegistration`*" ] pub fn get_notifications_with_filter ( & self , filter : & GetNotificationOptions ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_notifications_with_filter_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , filter : < & GetNotificationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let filter = < & GetNotificationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( filter , & mut __stack ) ; __widl_f_get_notifications_with_filter_ServiceWorkerRegistration ( self_ , filter , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getNotifications()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/getNotifications)\n\n*This API requires the following crate features to be activated: `GetNotificationOptions`, `ServiceWorkerRegistration`*" ] pub fn get_notifications_with_filter ( & self , filter : & GetNotificationOptions ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_show_notification_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `showNotification()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn show_notification ( & self , title : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_show_notification_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; __widl_f_show_notification_ServiceWorkerRegistration ( self_ , title , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `showNotification()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn show_notification ( & self , title : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_show_notification_with_options_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & NotificationOptions as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `showNotification()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification)\n\n*This API requires the following crate features to be activated: `NotificationOptions`, `ServiceWorkerRegistration`*" ] pub fn show_notification_with_options ( & self , title : & str , options : & NotificationOptions ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_show_notification_with_options_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , title : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & NotificationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let title = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( title , & mut __stack ) ; let options = < & NotificationOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_show_notification_with_options_ServiceWorkerRegistration ( self_ , title , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `showNotification()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification)\n\n*This API requires the following crate features to be activated: `NotificationOptions`, `ServiceWorkerRegistration`*" ] pub fn show_notification_with_options ( & self , title : & str , options : & NotificationOptions ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unregister_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unregister()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/unregister)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn unregister ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unregister_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unregister_ServiceWorkerRegistration ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unregister()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/unregister)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn unregister ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_update_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `update()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/update)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn update ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_update_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_update_ServiceWorkerRegistration ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `update()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/update)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn update ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_installing_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < Option < ServiceWorker > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `installing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/installing)\n\n*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerRegistration`*" ] pub fn installing ( & self , ) -> Option < ServiceWorker > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_installing_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < ServiceWorker > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_installing_ServiceWorkerRegistration ( self_ ) } ; < Option < ServiceWorker > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `installing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/installing)\n\n*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerRegistration`*" ] pub fn installing ( & self , ) -> Option < ServiceWorker > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_waiting_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < Option < ServiceWorker > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `waiting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/waiting)\n\n*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerRegistration`*" ] pub fn waiting ( & self , ) -> Option < ServiceWorker > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_waiting_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < ServiceWorker > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_waiting_ServiceWorkerRegistration ( self_ ) } ; < Option < ServiceWorker > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `waiting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/waiting)\n\n*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerRegistration`*" ] pub fn waiting ( & self , ) -> Option < ServiceWorker > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_active_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < Option < ServiceWorker > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `active` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/active)\n\n*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerRegistration`*" ] pub fn active ( & self , ) -> Option < ServiceWorker > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_active_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < ServiceWorker > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_active_ServiceWorkerRegistration ( self_ ) } ; < Option < ServiceWorker > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `active` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/active)\n\n*This API requires the following crate features to be activated: `ServiceWorker`, `ServiceWorkerRegistration`*" ] pub fn active ( & self , ) -> Option < ServiceWorker > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scope_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scope` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/scope)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn scope ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scope_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scope_ServiceWorkerRegistration ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scope` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/scope)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn scope ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_update_via_cache_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < ServiceWorkerUpdateViaCache as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `updateViaCache` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/updateViaCache)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`, `ServiceWorkerUpdateViaCache`*" ] pub fn update_via_cache ( & self , ) -> Result < ServiceWorkerUpdateViaCache , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_update_via_cache_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < ServiceWorkerUpdateViaCache as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_update_via_cache_ServiceWorkerRegistration ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < ServiceWorkerUpdateViaCache as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `updateViaCache` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/updateViaCache)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`, `ServiceWorkerUpdateViaCache`*" ] pub fn update_via_cache ( & self , ) -> Result < ServiceWorkerUpdateViaCache , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onupdatefound_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onupdatefound` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/onupdatefound)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn onupdatefound ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onupdatefound_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onupdatefound_ServiceWorkerRegistration ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onupdatefound` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/onupdatefound)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn onupdatefound ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onupdatefound_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onupdatefound` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/onupdatefound)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn set_onupdatefound ( & self , onupdatefound : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onupdatefound_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onupdatefound : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onupdatefound = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onupdatefound , & mut __stack ) ; __widl_f_set_onupdatefound_ServiceWorkerRegistration ( self_ , onupdatefound ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onupdatefound` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/onupdatefound)\n\n*This API requires the following crate features to be activated: `ServiceWorkerRegistration`*" ] pub fn set_onupdatefound ( & self , onupdatefound : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_push_manager_ServiceWorkerRegistration ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ServiceWorkerRegistration as WasmDescribe > :: describe ( ) ; < PushManager as WasmDescribe > :: describe ( ) ; } impl ServiceWorkerRegistration { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pushManager` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/pushManager)\n\n*This API requires the following crate features to be activated: `PushManager`, `ServiceWorkerRegistration`*" ] pub fn push_manager ( & self , ) -> Result < PushManager , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_push_manager_ServiceWorkerRegistration ( self_ : < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < PushManager as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ServiceWorkerRegistration as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_push_manager_ServiceWorkerRegistration ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < PushManager as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pushManager` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/pushManager)\n\n*This API requires the following crate features to be activated: `PushManager`, `ServiceWorkerRegistration`*" ] pub fn push_manager ( & self , ) -> Result < PushManager , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ShadowRoot` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot)\n\n*This API requires the following crate features to be activated: `ShadowRoot`*" ] # [ repr ( transparent ) ] pub struct ShadowRoot { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ShadowRoot : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ShadowRoot { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ShadowRoot { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ShadowRoot { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ShadowRoot { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ShadowRoot { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ShadowRoot { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ShadowRoot { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ShadowRoot { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ShadowRoot { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ShadowRoot > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ShadowRoot { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ShadowRoot { # [ inline ] fn from ( obj : JsValue ) -> ShadowRoot { ShadowRoot { obj } } } impl AsRef < JsValue > for ShadowRoot { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ShadowRoot > for JsValue { # [ inline ] fn from ( obj : ShadowRoot ) -> JsValue { obj . obj } } impl JsCast for ShadowRoot { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ShadowRoot ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ShadowRoot ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ShadowRoot { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ShadowRoot ) } } } ( ) } ; impl core :: ops :: Deref for ShadowRoot { type Target = DocumentFragment ; # [ inline ] fn deref ( & self ) -> & DocumentFragment { self . as_ref ( ) } } impl From < ShadowRoot > for DocumentFragment { # [ inline ] fn from ( obj : ShadowRoot ) -> DocumentFragment { use wasm_bindgen :: JsCast ; DocumentFragment :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < DocumentFragment > for ShadowRoot { # [ inline ] fn as_ref ( & self ) -> & DocumentFragment { use wasm_bindgen :: JsCast ; DocumentFragment :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ShadowRoot > for Node { # [ inline ] fn from ( obj : ShadowRoot ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for ShadowRoot { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ShadowRoot > for EventTarget { # [ inline ] fn from ( obj : ShadowRoot ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for ShadowRoot { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < ShadowRoot > for Object { # [ inline ] fn from ( obj : ShadowRoot ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ShadowRoot { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_element_by_id_ShadowRoot ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ShadowRoot as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl ShadowRoot { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getElementById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/getElementById)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn get_element_by_id ( & self , element_id : & str ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_element_by_id_ShadowRoot ( self_ : < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , element_id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let element_id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( element_id , & mut __stack ) ; __widl_f_get_element_by_id_ShadowRoot ( self_ , element_id ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getElementById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/getElementById)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn get_element_by_id ( & self , element_id : & str ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_elements_by_class_name_ShadowRoot ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ShadowRoot as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl ShadowRoot { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getElementsByClassName()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/getElementsByClassName)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `ShadowRoot`*" ] pub fn get_elements_by_class_name ( & self , class_names : & str ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_elements_by_class_name_ShadowRoot ( self_ : < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , class_names : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let class_names = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( class_names , & mut __stack ) ; __widl_f_get_elements_by_class_name_ShadowRoot ( self_ , class_names ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getElementsByClassName()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/getElementsByClassName)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `ShadowRoot`*" ] pub fn get_elements_by_class_name ( & self , class_names : & str ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_elements_by_tag_name_ShadowRoot ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ShadowRoot as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl ShadowRoot { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getElementsByTagName()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/getElementsByTagName)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `ShadowRoot`*" ] pub fn get_elements_by_tag_name ( & self , local_name : & str ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_elements_by_tag_name_ShadowRoot ( self_ : < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; __widl_f_get_elements_by_tag_name_ShadowRoot ( self_ , local_name ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getElementsByTagName()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/getElementsByTagName)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `ShadowRoot`*" ] pub fn get_elements_by_tag_name ( & self , local_name : & str ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_elements_by_tag_name_ns_ShadowRoot ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & ShadowRoot as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < HtmlCollection as WasmDescribe > :: describe ( ) ; } impl ShadowRoot { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getElementsByTagNameNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/getElementsByTagNameNS)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `ShadowRoot`*" ] pub fn get_elements_by_tag_name_ns ( & self , namespace : Option < & str > , local_name : & str ) -> HtmlCollection { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_elements_by_tag_name_ns_ShadowRoot ( self_ : < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; __widl_f_get_elements_by_tag_name_ns_ShadowRoot ( self_ , namespace , local_name ) } ; < HtmlCollection as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getElementsByTagNameNS()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/getElementsByTagNameNS)\n\n*This API requires the following crate features to be activated: `HtmlCollection`, `ShadowRoot`*" ] pub fn get_elements_by_tag_name_ns ( & self , namespace : Option < & str > , local_name : & str ) -> HtmlCollection { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mode_ShadowRoot ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ShadowRoot as WasmDescribe > :: describe ( ) ; < ShadowRootMode as WasmDescribe > :: describe ( ) ; } impl ShadowRoot { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/mode)\n\n*This API requires the following crate features to be activated: `ShadowRoot`, `ShadowRootMode`*" ] pub fn mode ( & self , ) -> ShadowRootMode { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mode_ShadowRoot ( self_ : < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ShadowRootMode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_mode_ShadowRoot ( self_ ) } ; < ShadowRootMode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/mode)\n\n*This API requires the following crate features to be activated: `ShadowRoot`, `ShadowRootMode`*" ] pub fn mode ( & self , ) -> ShadowRootMode { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_host_ShadowRoot ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ShadowRoot as WasmDescribe > :: describe ( ) ; < Element as WasmDescribe > :: describe ( ) ; } impl ShadowRoot { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `host` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/host)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn host ( & self , ) -> Element { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_host_ShadowRoot ( self_ : < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_host_ShadowRoot ( self_ ) } ; < Element as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `host` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/host)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn host ( & self , ) -> Element { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_inner_html_ShadowRoot ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ShadowRoot as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl ShadowRoot { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `innerHTML` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/innerHTML)\n\n*This API requires the following crate features to be activated: `ShadowRoot`*" ] pub fn inner_html ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_inner_html_ShadowRoot ( self_ : < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_inner_html_ShadowRoot ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `innerHTML` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/innerHTML)\n\n*This API requires the following crate features to be activated: `ShadowRoot`*" ] pub fn inner_html ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_inner_html_ShadowRoot ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & ShadowRoot as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl ShadowRoot { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `innerHTML` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/innerHTML)\n\n*This API requires the following crate features to be activated: `ShadowRoot`*" ] pub fn set_inner_html ( & self , inner_html : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_inner_html_ShadowRoot ( self_ : < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , inner_html : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let inner_html = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( inner_html , & mut __stack ) ; __widl_f_set_inner_html_ShadowRoot ( self_ , inner_html ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `innerHTML` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/innerHTML)\n\n*This API requires the following crate features to be activated: `ShadowRoot`*" ] pub fn set_inner_html ( & self , inner_html : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_element_from_point_ShadowRoot ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & ShadowRoot as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl ShadowRoot { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `elementFromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/elementFromPoint)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn element_from_point ( & self , x : f32 , y : f32 ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_element_from_point_ShadowRoot ( self_ : < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_element_from_point_ShadowRoot ( self_ , x , y ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `elementFromPoint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/elementFromPoint)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn element_from_point ( & self , x : f32 , y : f32 ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_active_element_ShadowRoot ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ShadowRoot as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl ShadowRoot { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `activeElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/activeElement)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn active_element ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_active_element_ShadowRoot ( self_ : < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_active_element_ShadowRoot ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `activeElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/activeElement)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn active_element ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_style_sheets_ShadowRoot ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ShadowRoot as WasmDescribe > :: describe ( ) ; < StyleSheetList as WasmDescribe > :: describe ( ) ; } impl ShadowRoot { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `styleSheets` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/styleSheets)\n\n*This API requires the following crate features to be activated: `ShadowRoot`, `StyleSheetList`*" ] pub fn style_sheets ( & self , ) -> StyleSheetList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_style_sheets_ShadowRoot ( self_ : < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < StyleSheetList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_style_sheets_ShadowRoot ( self_ ) } ; < StyleSheetList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `styleSheets` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/styleSheets)\n\n*This API requires the following crate features to be activated: `ShadowRoot`, `StyleSheetList`*" ] pub fn style_sheets ( & self , ) -> StyleSheetList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pointer_lock_element_ShadowRoot ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ShadowRoot as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl ShadowRoot { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pointerLockElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/pointerLockElement)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn pointer_lock_element ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pointer_lock_element_ShadowRoot ( self_ : < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pointer_lock_element_ShadowRoot ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pointerLockElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/pointerLockElement)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn pointer_lock_element ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fullscreen_element_ShadowRoot ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ShadowRoot as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl ShadowRoot { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fullscreenElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/fullscreenElement)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn fullscreen_element ( & self , ) -> Option < Element > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fullscreen_element_ShadowRoot ( self_ : < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ShadowRoot as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fullscreen_element_ShadowRoot ( self_ ) } ; < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fullscreenElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/fullscreenElement)\n\n*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] pub fn fullscreen_element ( & self , ) -> Option < Element > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SharedWorker` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker)\n\n*This API requires the following crate features to be activated: `SharedWorker`*" ] # [ repr ( transparent ) ] pub struct SharedWorker { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SharedWorker : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SharedWorker { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SharedWorker { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SharedWorker { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SharedWorker { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SharedWorker { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SharedWorker { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SharedWorker { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SharedWorker { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SharedWorker { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SharedWorker > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SharedWorker { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SharedWorker { # [ inline ] fn from ( obj : JsValue ) -> SharedWorker { SharedWorker { obj } } } impl AsRef < JsValue > for SharedWorker { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SharedWorker > for JsValue { # [ inline ] fn from ( obj : SharedWorker ) -> JsValue { obj . obj } } impl JsCast for SharedWorker { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SharedWorker ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SharedWorker ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SharedWorker { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SharedWorker ) } } } ( ) } ; impl core :: ops :: Deref for SharedWorker { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < SharedWorker > for EventTarget { # [ inline ] fn from ( obj : SharedWorker ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SharedWorker { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SharedWorker > for Object { # [ inline ] fn from ( obj : SharedWorker ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SharedWorker { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_SharedWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < SharedWorker as WasmDescribe > :: describe ( ) ; } impl SharedWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SharedWorker(..)` constructor, creating a new instance of `SharedWorker`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/SharedWorker)\n\n*This API requires the following crate features to be activated: `SharedWorker`*" ] pub fn new ( script_url : & str ) -> Result < SharedWorker , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_SharedWorker ( script_url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SharedWorker as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let script_url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( script_url , & mut __stack ) ; __widl_f_new_SharedWorker ( script_url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SharedWorker as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SharedWorker(..)` constructor, creating a new instance of `SharedWorker`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/SharedWorker)\n\n*This API requires the following crate features to be activated: `SharedWorker`*" ] pub fn new ( script_url : & str ) -> Result < SharedWorker , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_str_SharedWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < SharedWorker as WasmDescribe > :: describe ( ) ; } impl SharedWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SharedWorker(..)` constructor, creating a new instance of `SharedWorker`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/SharedWorker)\n\n*This API requires the following crate features to be activated: `SharedWorker`*" ] pub fn new_with_str ( script_url : & str , options : & str ) -> Result < SharedWorker , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_str_SharedWorker ( script_url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SharedWorker as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let script_url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( script_url , & mut __stack ) ; let options = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_str_SharedWorker ( script_url , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SharedWorker as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SharedWorker(..)` constructor, creating a new instance of `SharedWorker`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/SharedWorker)\n\n*This API requires the following crate features to be activated: `SharedWorker`*" ] pub fn new_with_str ( script_url : & str , options : & str ) -> Result < SharedWorker , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_worker_options_SharedWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & WorkerOptions as WasmDescribe > :: describe ( ) ; < SharedWorker as WasmDescribe > :: describe ( ) ; } impl SharedWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SharedWorker(..)` constructor, creating a new instance of `SharedWorker`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/SharedWorker)\n\n*This API requires the following crate features to be activated: `SharedWorker`, `WorkerOptions`*" ] pub fn new_with_worker_options ( script_url : & str , options : & WorkerOptions ) -> Result < SharedWorker , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_worker_options_SharedWorker ( script_url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & WorkerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SharedWorker as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let script_url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( script_url , & mut __stack ) ; let options = < & WorkerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_worker_options_SharedWorker ( script_url , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SharedWorker as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SharedWorker(..)` constructor, creating a new instance of `SharedWorker`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/SharedWorker)\n\n*This API requires the following crate features to be activated: `SharedWorker`, `WorkerOptions`*" ] pub fn new_with_worker_options ( script_url : & str , options : & WorkerOptions ) -> Result < SharedWorker , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_port_SharedWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SharedWorker as WasmDescribe > :: describe ( ) ; < MessagePort as WasmDescribe > :: describe ( ) ; } impl SharedWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/port)\n\n*This API requires the following crate features to be activated: `MessagePort`, `SharedWorker`*" ] pub fn port ( & self , ) -> MessagePort { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_port_SharedWorker ( self_ : < & SharedWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MessagePort as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SharedWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_port_SharedWorker ( self_ ) } ; < MessagePort as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/port)\n\n*This API requires the following crate features to be activated: `MessagePort`, `SharedWorker`*" ] pub fn port ( & self , ) -> MessagePort { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_SharedWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SharedWorker as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SharedWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/onerror)\n\n*This API requires the following crate features to be activated: `SharedWorker`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_SharedWorker ( self_ : < & SharedWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SharedWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_SharedWorker ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/onerror)\n\n*This API requires the following crate features to be activated: `SharedWorker`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_SharedWorker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SharedWorker as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SharedWorker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/onerror)\n\n*This API requires the following crate features to be activated: `SharedWorker`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_SharedWorker ( self_ : < & SharedWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SharedWorker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_SharedWorker ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/onerror)\n\n*This API requires the following crate features to be activated: `SharedWorker`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SharedWorkerGlobalScope` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope)\n\n*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*" ] # [ repr ( transparent ) ] pub struct SharedWorkerGlobalScope { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SharedWorkerGlobalScope : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SharedWorkerGlobalScope { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SharedWorkerGlobalScope { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SharedWorkerGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SharedWorkerGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SharedWorkerGlobalScope { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SharedWorkerGlobalScope { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SharedWorkerGlobalScope { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SharedWorkerGlobalScope { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SharedWorkerGlobalScope { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SharedWorkerGlobalScope > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SharedWorkerGlobalScope { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SharedWorkerGlobalScope { # [ inline ] fn from ( obj : JsValue ) -> SharedWorkerGlobalScope { SharedWorkerGlobalScope { obj } } } impl AsRef < JsValue > for SharedWorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SharedWorkerGlobalScope > for JsValue { # [ inline ] fn from ( obj : SharedWorkerGlobalScope ) -> JsValue { obj . obj } } impl JsCast for SharedWorkerGlobalScope { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SharedWorkerGlobalScope ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SharedWorkerGlobalScope ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SharedWorkerGlobalScope { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SharedWorkerGlobalScope ) } } } ( ) } ; impl core :: ops :: Deref for SharedWorkerGlobalScope { type Target = WorkerGlobalScope ; # [ inline ] fn deref ( & self ) -> & WorkerGlobalScope { self . as_ref ( ) } } impl From < SharedWorkerGlobalScope > for WorkerGlobalScope { # [ inline ] fn from ( obj : SharedWorkerGlobalScope ) -> WorkerGlobalScope { use wasm_bindgen :: JsCast ; WorkerGlobalScope :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < WorkerGlobalScope > for SharedWorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & WorkerGlobalScope { use wasm_bindgen :: JsCast ; WorkerGlobalScope :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SharedWorkerGlobalScope > for EventTarget { # [ inline ] fn from ( obj : SharedWorkerGlobalScope ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SharedWorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SharedWorkerGlobalScope > for Object { # [ inline ] fn from ( obj : SharedWorkerGlobalScope ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SharedWorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_SharedWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SharedWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SharedWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope/close)\n\n*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_SharedWorkerGlobalScope ( self_ : < & SharedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SharedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_SharedWorkerGlobalScope ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope/close)\n\n*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_SharedWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SharedWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SharedWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope/name)\n\n*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_SharedWorkerGlobalScope ( self_ : < & SharedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SharedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_SharedWorkerGlobalScope ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope/name)\n\n*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onconnect_SharedWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SharedWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SharedWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onconnect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope/onconnect)\n\n*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*" ] pub fn onconnect ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onconnect_SharedWorkerGlobalScope ( self_ : < & SharedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SharedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onconnect_SharedWorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onconnect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope/onconnect)\n\n*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*" ] pub fn onconnect ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onconnect_SharedWorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SharedWorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SharedWorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onconnect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope/onconnect)\n\n*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*" ] pub fn set_onconnect ( & self , onconnect : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onconnect_SharedWorkerGlobalScope ( self_ : < & SharedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onconnect : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SharedWorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onconnect = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onconnect , & mut __stack ) ; __widl_f_set_onconnect_SharedWorkerGlobalScope ( self_ , onconnect ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onconnect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope/onconnect)\n\n*This API requires the following crate features to be activated: `SharedWorkerGlobalScope`*" ] pub fn set_onconnect ( & self , onconnect : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SourceBuffer` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] # [ repr ( transparent ) ] pub struct SourceBuffer { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SourceBuffer : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SourceBuffer { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SourceBuffer { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SourceBuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SourceBuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SourceBuffer { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SourceBuffer { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SourceBuffer { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SourceBuffer { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SourceBuffer { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SourceBuffer > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SourceBuffer { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SourceBuffer { # [ inline ] fn from ( obj : JsValue ) -> SourceBuffer { SourceBuffer { obj } } } impl AsRef < JsValue > for SourceBuffer { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SourceBuffer > for JsValue { # [ inline ] fn from ( obj : SourceBuffer ) -> JsValue { obj . obj } } impl JsCast for SourceBuffer { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SourceBuffer ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SourceBuffer ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SourceBuffer { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SourceBuffer ) } } } ( ) } ; impl core :: ops :: Deref for SourceBuffer { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < SourceBuffer > for EventTarget { # [ inline ] fn from ( obj : SourceBuffer ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SourceBuffer { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SourceBuffer > for Object { # [ inline ] fn from ( obj : SourceBuffer ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SourceBuffer { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_abort_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/abort)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn abort ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_abort_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_abort_SourceBuffer ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/abort)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn abort ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_buffer_with_array_buffer_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBuffer)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_buffer_with_array_buffer ( & self , data : & :: js_sys :: ArrayBuffer ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_buffer_with_array_buffer_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_append_buffer_with_array_buffer_SourceBuffer ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBuffer)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_buffer_with_array_buffer ( & self , data : & :: js_sys :: ArrayBuffer ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_buffer_with_array_buffer_view_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBuffer)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_buffer_with_array_buffer_view ( & self , data : & :: js_sys :: Object ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_buffer_with_array_buffer_view_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_append_buffer_with_array_buffer_view_SourceBuffer ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBuffer)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_buffer_with_array_buffer_view ( & self , data : & :: js_sys :: Object ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_buffer_with_u8_array_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBuffer)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_buffer_with_u8_array ( & self , data : & mut [ u8 ] ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_buffer_with_u8_array_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_append_buffer_with_u8_array_SourceBuffer ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBuffer)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_buffer_with_u8_array ( & self , data : & mut [ u8 ] ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_buffer_async_with_array_buffer_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendBufferAsync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBufferAsync)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_buffer_async_with_array_buffer ( & self , data : & :: js_sys :: ArrayBuffer ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_buffer_async_with_array_buffer_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_append_buffer_async_with_array_buffer_SourceBuffer ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendBufferAsync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBufferAsync)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_buffer_async_with_array_buffer ( & self , data : & :: js_sys :: ArrayBuffer ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_buffer_async_with_array_buffer_view_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendBufferAsync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBufferAsync)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_buffer_async_with_array_buffer_view ( & self , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_buffer_async_with_array_buffer_view_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_append_buffer_async_with_array_buffer_view_SourceBuffer ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendBufferAsync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBufferAsync)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_buffer_async_with_array_buffer_view ( & self , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_buffer_async_with_u8_array_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendBufferAsync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBufferAsync)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_buffer_async_with_u8_array ( & self , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_buffer_async_with_u8_array_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_append_buffer_async_with_u8_array_SourceBuffer ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendBufferAsync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBufferAsync)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_buffer_async_with_u8_array ( & self , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_change_type_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `changeType()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/changeType)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn change_type ( & self , type_ : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_change_type_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_change_type_SourceBuffer ( self_ , type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `changeType()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/changeType)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn change_type ( & self , type_ : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/remove)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn remove ( & self , start : f64 , end : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; __widl_f_remove_SourceBuffer ( self_ , start , end , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `remove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/remove)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn remove ( & self , start : f64 , end : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_async_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeAsync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/removeAsync)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn remove_async ( & self , start : f64 , end : f64 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_async_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; __widl_f_remove_async_SourceBuffer ( self_ , start , end , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeAsync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/removeAsync)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn remove_async ( & self , start : f64 , end : f64 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mode_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < SourceBufferAppendMode as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/mode)\n\n*This API requires the following crate features to be activated: `SourceBuffer`, `SourceBufferAppendMode`*" ] pub fn mode ( & self , ) -> SourceBufferAppendMode { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mode_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SourceBufferAppendMode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_mode_SourceBuffer ( self_ ) } ; < SourceBufferAppendMode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/mode)\n\n*This API requires the following crate features to be activated: `SourceBuffer`, `SourceBufferAppendMode`*" ] pub fn mode ( & self , ) -> SourceBufferAppendMode { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_mode_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < SourceBufferAppendMode as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mode` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/mode)\n\n*This API requires the following crate features to be activated: `SourceBuffer`, `SourceBufferAppendMode`*" ] pub fn set_mode ( & self , mode : SourceBufferAppendMode ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_mode_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < SourceBufferAppendMode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < SourceBufferAppendMode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; __widl_f_set_mode_SourceBuffer ( self_ , mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mode` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/mode)\n\n*This API requires the following crate features to be activated: `SourceBuffer`, `SourceBufferAppendMode`*" ] pub fn set_mode ( & self , mode : SourceBufferAppendMode ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_updating_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `updating` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/updating)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn updating ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_updating_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_updating_SourceBuffer ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `updating` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/updating)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn updating ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffered_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < TimeRanges as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `buffered` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/buffered)\n\n*This API requires the following crate features to be activated: `SourceBuffer`, `TimeRanges`*" ] pub fn buffered ( & self , ) -> Result < TimeRanges , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffered_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TimeRanges as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_buffered_SourceBuffer ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TimeRanges as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `buffered` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/buffered)\n\n*This API requires the following crate features to be activated: `SourceBuffer`, `TimeRanges`*" ] pub fn buffered ( & self , ) -> Result < TimeRanges , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_timestamp_offset_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timestampOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/timestampOffset)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn timestamp_offset ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_timestamp_offset_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_timestamp_offset_SourceBuffer ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timestampOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/timestampOffset)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn timestamp_offset ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timestamp_offset_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timestampOffset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/timestampOffset)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_timestamp_offset ( & self , timestamp_offset : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timestamp_offset_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timestamp_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let timestamp_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timestamp_offset , & mut __stack ) ; __widl_f_set_timestamp_offset_SourceBuffer ( self_ , timestamp_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timestampOffset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/timestampOffset)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_timestamp_offset ( & self , timestamp_offset : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_window_start_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendWindowStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowStart)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_window_start ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_window_start_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_append_window_start_SourceBuffer ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendWindowStart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowStart)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_window_start ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_append_window_start_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendWindowStart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowStart)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_append_window_start ( & self , append_window_start : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_append_window_start_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , append_window_start : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let append_window_start = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( append_window_start , & mut __stack ) ; __widl_f_set_append_window_start_SourceBuffer ( self_ , append_window_start ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendWindowStart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowStart)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_append_window_start ( & self , append_window_start : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_window_end_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendWindowEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowEnd)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_window_end ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_window_end_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_append_window_end_SourceBuffer ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendWindowEnd` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowEnd)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn append_window_end ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_append_window_end_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appendWindowEnd` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowEnd)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_append_window_end ( & self , append_window_end : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_append_window_end_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , append_window_end : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let append_window_end = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( append_window_end , & mut __stack ) ; __widl_f_set_append_window_end_SourceBuffer ( self_ , append_window_end ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appendWindowEnd` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowEnd)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_append_window_end ( & self , append_window_end : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onupdatestart_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onupdatestart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdatestart)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn onupdatestart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onupdatestart_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onupdatestart_SourceBuffer ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onupdatestart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdatestart)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn onupdatestart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onupdatestart_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onupdatestart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdatestart)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_onupdatestart ( & self , onupdatestart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onupdatestart_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onupdatestart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onupdatestart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onupdatestart , & mut __stack ) ; __widl_f_set_onupdatestart_SourceBuffer ( self_ , onupdatestart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onupdatestart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdatestart)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_onupdatestart ( & self , onupdatestart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onupdate_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onupdate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdate)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn onupdate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onupdate_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onupdate_SourceBuffer ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onupdate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdate)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn onupdate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onupdate_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onupdate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdate)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_onupdate ( & self , onupdate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onupdate_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onupdate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onupdate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onupdate , & mut __stack ) ; __widl_f_set_onupdate_SourceBuffer ( self_ , onupdate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onupdate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdate)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_onupdate ( & self , onupdate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onupdateend_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onupdateend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdateend)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn onupdateend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onupdateend_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onupdateend_SourceBuffer ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onupdateend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdateend)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn onupdateend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onupdateend_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onupdateend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdateend)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_onupdateend ( & self , onupdateend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onupdateend_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onupdateend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onupdateend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onupdateend , & mut __stack ) ; __widl_f_set_onupdateend_SourceBuffer ( self_ , onupdateend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onupdateend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onupdateend)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_onupdateend ( & self , onupdateend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onerror)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_SourceBuffer ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onerror)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onerror)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_SourceBuffer ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onerror)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onabort_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onabort)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onabort_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onabort_SourceBuffer ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onabort)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onabort_SourceBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBuffer as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onabort)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onabort_SourceBuffer ( self_ : < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onabort : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onabort = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onabort , & mut __stack ) ; __widl_f_set_onabort_SourceBuffer ( self_ , onabort ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/onabort)\n\n*This API requires the following crate features to be activated: `SourceBuffer`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SourceBufferList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList)\n\n*This API requires the following crate features to be activated: `SourceBufferList`*" ] # [ repr ( transparent ) ] pub struct SourceBufferList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SourceBufferList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SourceBufferList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SourceBufferList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SourceBufferList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SourceBufferList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SourceBufferList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SourceBufferList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SourceBufferList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SourceBufferList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SourceBufferList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SourceBufferList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SourceBufferList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SourceBufferList { # [ inline ] fn from ( obj : JsValue ) -> SourceBufferList { SourceBufferList { obj } } } impl AsRef < JsValue > for SourceBufferList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SourceBufferList > for JsValue { # [ inline ] fn from ( obj : SourceBufferList ) -> JsValue { obj . obj } } impl JsCast for SourceBufferList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SourceBufferList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SourceBufferList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SourceBufferList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SourceBufferList ) } } } ( ) } ; impl core :: ops :: Deref for SourceBufferList { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < SourceBufferList > for EventTarget { # [ inline ] fn from ( obj : SourceBufferList ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SourceBufferList { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SourceBufferList > for Object { # [ inline ] fn from ( obj : SourceBufferList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SourceBufferList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_SourceBufferList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBufferList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SourceBuffer as WasmDescribe > :: describe ( ) ; } impl SourceBufferList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SourceBuffer`, `SourceBufferList`*" ] pub fn get ( & self , index : u32 ) -> SourceBuffer { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_SourceBufferList ( self_ : < & SourceBufferList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SourceBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBufferList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_SourceBufferList ( self_ , index ) } ; < SourceBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SourceBuffer`, `SourceBufferList`*" ] pub fn get ( & self , index : u32 ) -> SourceBuffer { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_SourceBufferList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBufferList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SourceBufferList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/length)\n\n*This API requires the following crate features to be activated: `SourceBufferList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_SourceBufferList ( self_ : < & SourceBufferList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBufferList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_SourceBufferList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/length)\n\n*This API requires the following crate features to be activated: `SourceBufferList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onaddsourcebuffer_SourceBufferList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBufferList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SourceBufferList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddsourcebuffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/onaddsourcebuffer)\n\n*This API requires the following crate features to be activated: `SourceBufferList`*" ] pub fn onaddsourcebuffer ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onaddsourcebuffer_SourceBufferList ( self_ : < & SourceBufferList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBufferList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onaddsourcebuffer_SourceBufferList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddsourcebuffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/onaddsourcebuffer)\n\n*This API requires the following crate features to be activated: `SourceBufferList`*" ] pub fn onaddsourcebuffer ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onaddsourcebuffer_SourceBufferList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBufferList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBufferList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddsourcebuffer` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/onaddsourcebuffer)\n\n*This API requires the following crate features to be activated: `SourceBufferList`*" ] pub fn set_onaddsourcebuffer ( & self , onaddsourcebuffer : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onaddsourcebuffer_SourceBufferList ( self_ : < & SourceBufferList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onaddsourcebuffer : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBufferList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onaddsourcebuffer = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onaddsourcebuffer , & mut __stack ) ; __widl_f_set_onaddsourcebuffer_SourceBufferList ( self_ , onaddsourcebuffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddsourcebuffer` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/onaddsourcebuffer)\n\n*This API requires the following crate features to be activated: `SourceBufferList`*" ] pub fn set_onaddsourcebuffer ( & self , onaddsourcebuffer : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onremovesourcebuffer_SourceBufferList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SourceBufferList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SourceBufferList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onremovesourcebuffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/onremovesourcebuffer)\n\n*This API requires the following crate features to be activated: `SourceBufferList`*" ] pub fn onremovesourcebuffer ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onremovesourcebuffer_SourceBufferList ( self_ : < & SourceBufferList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBufferList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onremovesourcebuffer_SourceBufferList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onremovesourcebuffer` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/onremovesourcebuffer)\n\n*This API requires the following crate features to be activated: `SourceBufferList`*" ] pub fn onremovesourcebuffer ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onremovesourcebuffer_SourceBufferList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SourceBufferList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SourceBufferList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onremovesourcebuffer` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/onremovesourcebuffer)\n\n*This API requires the following crate features to be activated: `SourceBufferList`*" ] pub fn set_onremovesourcebuffer ( & self , onremovesourcebuffer : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onremovesourcebuffer_SourceBufferList ( self_ : < & SourceBufferList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onremovesourcebuffer : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SourceBufferList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onremovesourcebuffer = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onremovesourcebuffer , & mut __stack ) ; __widl_f_set_onremovesourcebuffer_SourceBufferList ( self_ , onremovesourcebuffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onremovesourcebuffer` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SourceBufferList/onremovesourcebuffer)\n\n*This API requires the following crate features to be activated: `SourceBufferList`*" ] pub fn set_onremovesourcebuffer ( & self , onremovesourcebuffer : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SpeechGrammar` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar)\n\n*This API requires the following crate features to be activated: `SpeechGrammar`*" ] # [ repr ( transparent ) ] pub struct SpeechGrammar { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SpeechGrammar : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SpeechGrammar { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SpeechGrammar { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SpeechGrammar { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechGrammar { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SpeechGrammar { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SpeechGrammar { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SpeechGrammar { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SpeechGrammar { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SpeechGrammar { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SpeechGrammar > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SpeechGrammar { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SpeechGrammar { # [ inline ] fn from ( obj : JsValue ) -> SpeechGrammar { SpeechGrammar { obj } } } impl AsRef < JsValue > for SpeechGrammar { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SpeechGrammar > for JsValue { # [ inline ] fn from ( obj : SpeechGrammar ) -> JsValue { obj . obj } } impl JsCast for SpeechGrammar { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SpeechGrammar ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SpeechGrammar ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechGrammar { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechGrammar ) } } } ( ) } ; impl core :: ops :: Deref for SpeechGrammar { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SpeechGrammar > for Object { # [ inline ] fn from ( obj : SpeechGrammar ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SpeechGrammar { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_SpeechGrammar ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < SpeechGrammar as WasmDescribe > :: describe ( ) ; } impl SpeechGrammar { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SpeechGrammar(..)` constructor, creating a new instance of `SpeechGrammar`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/SpeechGrammar)\n\n*This API requires the following crate features to be activated: `SpeechGrammar`*" ] pub fn new ( ) -> Result < SpeechGrammar , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_SpeechGrammar ( exn_data_ptr : * mut u32 ) -> < SpeechGrammar as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_SpeechGrammar ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechGrammar as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SpeechGrammar(..)` constructor, creating a new instance of `SpeechGrammar`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/SpeechGrammar)\n\n*This API requires the following crate features to be activated: `SpeechGrammar`*" ] pub fn new ( ) -> Result < SpeechGrammar , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_src_SpeechGrammar ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechGrammar as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SpeechGrammar { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/src)\n\n*This API requires the following crate features to be activated: `SpeechGrammar`*" ] pub fn src ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_src_SpeechGrammar ( self_ : < & SpeechGrammar as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechGrammar as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_src_SpeechGrammar ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/src)\n\n*This API requires the following crate features to be activated: `SpeechGrammar`*" ] pub fn src ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_src_SpeechGrammar ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechGrammar as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechGrammar { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/src)\n\n*This API requires the following crate features to be activated: `SpeechGrammar`*" ] pub fn set_src ( & self , src : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_src_SpeechGrammar ( self_ : < & SpeechGrammar as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechGrammar as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; __widl_f_set_src_SpeechGrammar ( self_ , src , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `src` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/src)\n\n*This API requires the following crate features to be activated: `SpeechGrammar`*" ] pub fn set_src ( & self , src : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_weight_SpeechGrammar ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechGrammar as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SpeechGrammar { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `weight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/weight)\n\n*This API requires the following crate features to be activated: `SpeechGrammar`*" ] pub fn weight ( & self , ) -> Result < f32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_weight_SpeechGrammar ( self_ : < & SpeechGrammar as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechGrammar as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_weight_SpeechGrammar ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `weight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/weight)\n\n*This API requires the following crate features to be activated: `SpeechGrammar`*" ] pub fn weight ( & self , ) -> Result < f32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_weight_SpeechGrammar ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechGrammar as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechGrammar { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `weight` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/weight)\n\n*This API requires the following crate features to be activated: `SpeechGrammar`*" ] pub fn set_weight ( & self , weight : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_weight_SpeechGrammar ( self_ : < & SpeechGrammar as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , weight : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechGrammar as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let weight = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( weight , & mut __stack ) ; __widl_f_set_weight_SpeechGrammar ( self_ , weight , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `weight` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/weight)\n\n*This API requires the following crate features to be activated: `SpeechGrammar`*" ] pub fn set_weight ( & self , weight : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SpeechGrammarList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`*" ] # [ repr ( transparent ) ] pub struct SpeechGrammarList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SpeechGrammarList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SpeechGrammarList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SpeechGrammarList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SpeechGrammarList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechGrammarList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SpeechGrammarList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SpeechGrammarList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SpeechGrammarList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SpeechGrammarList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SpeechGrammarList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SpeechGrammarList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SpeechGrammarList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SpeechGrammarList { # [ inline ] fn from ( obj : JsValue ) -> SpeechGrammarList { SpeechGrammarList { obj } } } impl AsRef < JsValue > for SpeechGrammarList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SpeechGrammarList > for JsValue { # [ inline ] fn from ( obj : SpeechGrammarList ) -> JsValue { obj . obj } } impl JsCast for SpeechGrammarList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SpeechGrammarList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SpeechGrammarList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechGrammarList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechGrammarList ) } } } ( ) } ; impl core :: ops :: Deref for SpeechGrammarList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SpeechGrammarList > for Object { # [ inline ] fn from ( obj : SpeechGrammarList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SpeechGrammarList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_SpeechGrammarList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < SpeechGrammarList as WasmDescribe > :: describe ( ) ; } impl SpeechGrammarList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SpeechGrammarList(..)` constructor, creating a new instance of `SpeechGrammarList`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/SpeechGrammarList)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`*" ] pub fn new ( ) -> Result < SpeechGrammarList , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_SpeechGrammarList ( exn_data_ptr : * mut u32 ) -> < SpeechGrammarList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_SpeechGrammarList ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechGrammarList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SpeechGrammarList(..)` constructor, creating a new instance of `SpeechGrammarList`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/SpeechGrammarList)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`*" ] pub fn new ( ) -> Result < SpeechGrammarList , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_from_string_SpeechGrammarList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechGrammarList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechGrammarList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addFromString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromString)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`*" ] pub fn add_from_string ( & self , string : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_from_string_SpeechGrammarList ( self_ : < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , string : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let string = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( string , & mut __stack ) ; __widl_f_add_from_string_SpeechGrammarList ( self_ , string , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addFromString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromString)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`*" ] pub fn add_from_string ( & self , string : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_from_string_with_weight_SpeechGrammarList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SpeechGrammarList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechGrammarList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addFromString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromString)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`*" ] pub fn add_from_string_with_weight ( & self , string : & str , weight : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_from_string_with_weight_SpeechGrammarList ( self_ : < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , string : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , weight : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let string = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( string , & mut __stack ) ; let weight = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( weight , & mut __stack ) ; __widl_f_add_from_string_with_weight_SpeechGrammarList ( self_ , string , weight , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addFromString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromString)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`*" ] pub fn add_from_string_with_weight ( & self , string : & str , weight : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_from_uri_SpeechGrammarList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechGrammarList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechGrammarList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addFromURI()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromURI)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`*" ] pub fn add_from_uri ( & self , src : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_from_uri_SpeechGrammarList ( self_ : < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; __widl_f_add_from_uri_SpeechGrammarList ( self_ , src , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addFromURI()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromURI)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`*" ] pub fn add_from_uri ( & self , src : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_from_uri_with_weight_SpeechGrammarList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SpeechGrammarList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechGrammarList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addFromURI()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromURI)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`*" ] pub fn add_from_uri_with_weight ( & self , src : & str , weight : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_from_uri_with_weight_SpeechGrammarList ( self_ : < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , weight : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; let weight = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( weight , & mut __stack ) ; __widl_f_add_from_uri_with_weight_SpeechGrammarList ( self_ , src , weight , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addFromURI()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromURI)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`*" ] pub fn add_from_uri_with_weight ( & self , src : & str , weight : f32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_SpeechGrammarList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechGrammarList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SpeechGrammar as WasmDescribe > :: describe ( ) ; } impl SpeechGrammarList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/item)\n\n*This API requires the following crate features to be activated: `SpeechGrammar`, `SpeechGrammarList`*" ] pub fn item ( & self , index : u32 ) -> Result < SpeechGrammar , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_SpeechGrammarList ( self_ : < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SpeechGrammar as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_SpeechGrammarList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechGrammar as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/item)\n\n*This API requires the following crate features to be activated: `SpeechGrammar`, `SpeechGrammarList`*" ] pub fn item ( & self , index : u32 ) -> Result < SpeechGrammar , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_SpeechGrammarList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechGrammarList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SpeechGrammar as WasmDescribe > :: describe ( ) ; } impl SpeechGrammarList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SpeechGrammar`, `SpeechGrammarList`*" ] pub fn get ( & self , index : u32 ) -> Result < SpeechGrammar , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_SpeechGrammarList ( self_ : < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SpeechGrammar as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_SpeechGrammarList ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechGrammar as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SpeechGrammar`, `SpeechGrammarList`*" ] pub fn get ( & self , index : u32 ) -> Result < SpeechGrammar , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_SpeechGrammarList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechGrammarList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SpeechGrammarList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/length)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_SpeechGrammarList ( self_ : < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_SpeechGrammarList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/length)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SpeechRecognition` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] # [ repr ( transparent ) ] pub struct SpeechRecognition { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SpeechRecognition : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SpeechRecognition { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SpeechRecognition { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SpeechRecognition { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechRecognition { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SpeechRecognition { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SpeechRecognition { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SpeechRecognition { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SpeechRecognition { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SpeechRecognition { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SpeechRecognition > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SpeechRecognition { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SpeechRecognition { # [ inline ] fn from ( obj : JsValue ) -> SpeechRecognition { SpeechRecognition { obj } } } impl AsRef < JsValue > for SpeechRecognition { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SpeechRecognition > for JsValue { # [ inline ] fn from ( obj : SpeechRecognition ) -> JsValue { obj . obj } } impl JsCast for SpeechRecognition { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SpeechRecognition ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SpeechRecognition ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechRecognition { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechRecognition ) } } } ( ) } ; impl core :: ops :: Deref for SpeechRecognition { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < SpeechRecognition > for EventTarget { # [ inline ] fn from ( obj : SpeechRecognition ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SpeechRecognition { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SpeechRecognition > for Object { # [ inline ] fn from ( obj : SpeechRecognition ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SpeechRecognition { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < SpeechRecognition as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SpeechRecognition(..)` constructor, creating a new instance of `SpeechRecognition`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/SpeechRecognition)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn new ( ) -> Result < SpeechRecognition , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_SpeechRecognition ( exn_data_ptr : * mut u32 ) -> < SpeechRecognition as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_SpeechRecognition ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechRecognition as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SpeechRecognition(..)` constructor, creating a new instance of `SpeechRecognition`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/SpeechRecognition)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn new ( ) -> Result < SpeechRecognition , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_abort_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/abort)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn abort ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_abort_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_abort_SpeechRecognition ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/abort)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn abort ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/start)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_SpeechRecognition ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/start)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn start ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_with_stream_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < & MediaStream as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/start)\n\n*This API requires the following crate features to be activated: `MediaStream`, `SpeechRecognition`*" ] pub fn start_with_stream ( & self , stream : & MediaStream ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_with_stream_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stream : < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let stream = < & MediaStream as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stream , & mut __stack ) ; __widl_f_start_with_stream_SpeechRecognition ( self_ , stream , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/start)\n\n*This API requires the following crate features to be activated: `MediaStream`, `SpeechRecognition`*" ] pub fn start_with_stream ( & self , stream : & MediaStream ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/stop)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn stop ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stop_SpeechRecognition ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/stop)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn stop ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_grammars_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < SpeechGrammarList as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `grammars` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/grammars)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`, `SpeechRecognition`*" ] pub fn grammars ( & self , ) -> SpeechGrammarList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_grammars_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SpeechGrammarList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_grammars_SpeechRecognition ( self_ ) } ; < SpeechGrammarList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `grammars` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/grammars)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`, `SpeechRecognition`*" ] pub fn grammars ( & self , ) -> SpeechGrammarList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_grammars_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < & SpeechGrammarList as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `grammars` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/grammars)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`, `SpeechRecognition`*" ] pub fn set_grammars ( & self , grammars : & SpeechGrammarList ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_grammars_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , grammars : < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let grammars = < & SpeechGrammarList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( grammars , & mut __stack ) ; __widl_f_set_grammars_SpeechRecognition ( self_ , grammars ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `grammars` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/grammars)\n\n*This API requires the following crate features to be activated: `SpeechGrammarList`, `SpeechRecognition`*" ] pub fn set_grammars ( & self , grammars : & SpeechGrammarList ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lang_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/lang)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn lang ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lang_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_lang_SpeechRecognition ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/lang)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn lang ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_lang_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/lang)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_lang ( & self , lang : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_lang_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , lang : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let lang = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lang , & mut __stack ) ; __widl_f_set_lang_SpeechRecognition ( self_ , lang ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/lang)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_lang ( & self , lang : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_continuous_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `continuous` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/continuous)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn continuous ( & self , ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_continuous_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_continuous_SpeechRecognition ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `continuous` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/continuous)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn continuous ( & self , ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_continuous_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `continuous` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/continuous)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_continuous ( & self , continuous : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_continuous_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , continuous : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let continuous = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( continuous , & mut __stack ) ; __widl_f_set_continuous_SpeechRecognition ( self_ , continuous , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `continuous` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/continuous)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_continuous ( & self , continuous : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_interim_results_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `interimResults` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/interimResults)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn interim_results ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_interim_results_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_interim_results_SpeechRecognition ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `interimResults` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/interimResults)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn interim_results ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interim_results_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `interimResults` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/interimResults)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_interim_results ( & self , interim_results : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interim_results_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , interim_results : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let interim_results = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( interim_results , & mut __stack ) ; __widl_f_set_interim_results_SpeechRecognition ( self_ , interim_results ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `interimResults` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/interimResults)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_interim_results ( & self , interim_results : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_alternatives_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxAlternatives` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/maxAlternatives)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn max_alternatives ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_alternatives_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_alternatives_SpeechRecognition ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxAlternatives` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/maxAlternatives)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn max_alternatives ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_max_alternatives_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxAlternatives` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/maxAlternatives)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_max_alternatives ( & self , max_alternatives : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_max_alternatives_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , max_alternatives : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let max_alternatives = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( max_alternatives , & mut __stack ) ; __widl_f_set_max_alternatives_SpeechRecognition ( self_ , max_alternatives ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxAlternatives` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/maxAlternatives)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_max_alternatives ( & self , max_alternatives : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_service_uri_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `serviceURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/serviceURI)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn service_uri ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_service_uri_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_service_uri_SpeechRecognition ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `serviceURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/serviceURI)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn service_uri ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_service_uri_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `serviceURI` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/serviceURI)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_service_uri ( & self , service_uri : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_service_uri_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , service_uri : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let service_uri = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( service_uri , & mut __stack ) ; __widl_f_set_service_uri_SpeechRecognition ( self_ , service_uri , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `serviceURI` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/serviceURI)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_service_uri ( & self , service_uri : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onaudiostart_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaudiostart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudiostart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onaudiostart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onaudiostart_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onaudiostart_SpeechRecognition ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaudiostart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudiostart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onaudiostart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onaudiostart_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaudiostart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudiostart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onaudiostart ( & self , onaudiostart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onaudiostart_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onaudiostart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onaudiostart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onaudiostart , & mut __stack ) ; __widl_f_set_onaudiostart_SpeechRecognition ( self_ , onaudiostart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaudiostart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudiostart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onaudiostart ( & self , onaudiostart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsoundstart_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsoundstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundstart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onsoundstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsoundstart_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsoundstart_SpeechRecognition ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsoundstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundstart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onsoundstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsoundstart_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsoundstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundstart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onsoundstart ( & self , onsoundstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsoundstart_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsoundstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsoundstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsoundstart , & mut __stack ) ; __widl_f_set_onsoundstart_SpeechRecognition ( self_ , onsoundstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsoundstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundstart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onsoundstart ( & self , onsoundstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onspeechstart_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onspeechstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechstart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onspeechstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onspeechstart_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onspeechstart_SpeechRecognition ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onspeechstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechstart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onspeechstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onspeechstart_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onspeechstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechstart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onspeechstart ( & self , onspeechstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onspeechstart_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onspeechstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onspeechstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onspeechstart , & mut __stack ) ; __widl_f_set_onspeechstart_SpeechRecognition ( self_ , onspeechstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onspeechstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechstart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onspeechstart ( & self , onspeechstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onspeechend_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onspeechend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onspeechend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onspeechend_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onspeechend_SpeechRecognition ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onspeechend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onspeechend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onspeechend_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onspeechend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onspeechend ( & self , onspeechend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onspeechend_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onspeechend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onspeechend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onspeechend , & mut __stack ) ; __widl_f_set_onspeechend_SpeechRecognition ( self_ , onspeechend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onspeechend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onspeechend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onspeechend ( & self , onspeechend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsoundend_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsoundend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onsoundend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsoundend_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsoundend_SpeechRecognition ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsoundend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onsoundend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsoundend_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsoundend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onsoundend ( & self , onsoundend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsoundend_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsoundend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsoundend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsoundend , & mut __stack ) ; __widl_f_set_onsoundend_SpeechRecognition ( self_ , onsoundend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsoundend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onsoundend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onsoundend ( & self , onsoundend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onaudioend_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaudioend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudioend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onaudioend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onaudioend_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onaudioend_SpeechRecognition ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaudioend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudioend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onaudioend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onaudioend_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaudioend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudioend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onaudioend ( & self , onaudioend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onaudioend_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onaudioend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onaudioend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onaudioend , & mut __stack ) ; __widl_f_set_onaudioend_SpeechRecognition ( self_ , onaudioend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaudioend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onaudioend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onaudioend ( & self , onaudioend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onresult_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresult` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onresult)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onresult ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onresult_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onresult_SpeechRecognition ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresult` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onresult)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onresult ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onresult_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresult` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onresult)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onresult ( & self , onresult : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onresult_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onresult : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onresult = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onresult , & mut __stack ) ; __widl_f_set_onresult_SpeechRecognition ( self_ , onresult ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresult` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onresult)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onresult ( & self , onresult : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onnomatch_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onnomatch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onnomatch)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onnomatch ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onnomatch_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onnomatch_SpeechRecognition ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onnomatch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onnomatch)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onnomatch ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onnomatch_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onnomatch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onnomatch)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onnomatch ( & self , onnomatch : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onnomatch_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onnomatch : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onnomatch = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onnomatch , & mut __stack ) ; __widl_f_set_onnomatch_SpeechRecognition ( self_ , onnomatch ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onnomatch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onnomatch)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onnomatch ( & self , onnomatch : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onerror)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_SpeechRecognition ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onerror)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onerror)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_SpeechRecognition ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onerror)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstart_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onstart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstart_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstart_SpeechRecognition ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onstart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstart_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onstart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onstart ( & self , onstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstart_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstart , & mut __stack ) ; __widl_f_set_onstart_SpeechRecognition ( self_ , onstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onstart)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onstart ( & self , onstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onend_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onend_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onend_SpeechRecognition ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn onend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onend_SpeechRecognition ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognition as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechRecognition { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onend ( & self , onend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onend_SpeechRecognition ( self_ : < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognition as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onend , & mut __stack ) ; __widl_f_set_onend_SpeechRecognition ( self_ , onend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/onend)\n\n*This API requires the following crate features to be activated: `SpeechRecognition`*" ] pub fn set_onend ( & self , onend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SpeechRecognitionAlternative` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionAlternative)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`*" ] # [ repr ( transparent ) ] pub struct SpeechRecognitionAlternative { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SpeechRecognitionAlternative : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SpeechRecognitionAlternative { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SpeechRecognitionAlternative { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SpeechRecognitionAlternative { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechRecognitionAlternative { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SpeechRecognitionAlternative { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SpeechRecognitionAlternative { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SpeechRecognitionAlternative { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SpeechRecognitionAlternative { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SpeechRecognitionAlternative { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SpeechRecognitionAlternative > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SpeechRecognitionAlternative { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SpeechRecognitionAlternative { # [ inline ] fn from ( obj : JsValue ) -> SpeechRecognitionAlternative { SpeechRecognitionAlternative { obj } } } impl AsRef < JsValue > for SpeechRecognitionAlternative { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SpeechRecognitionAlternative > for JsValue { # [ inline ] fn from ( obj : SpeechRecognitionAlternative ) -> JsValue { obj . obj } } impl JsCast for SpeechRecognitionAlternative { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SpeechRecognitionAlternative ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SpeechRecognitionAlternative ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechRecognitionAlternative { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechRecognitionAlternative ) } } } ( ) } ; impl core :: ops :: Deref for SpeechRecognitionAlternative { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SpeechRecognitionAlternative > for Object { # [ inline ] fn from ( obj : SpeechRecognitionAlternative ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SpeechRecognitionAlternative { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transcript_SpeechRecognitionAlternative ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognitionAlternative as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionAlternative { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transcript` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionAlternative/transcript)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`*" ] pub fn transcript ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transcript_SpeechRecognitionAlternative ( self_ : < & SpeechRecognitionAlternative as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionAlternative as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_transcript_SpeechRecognitionAlternative ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transcript` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionAlternative/transcript)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`*" ] pub fn transcript ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_confidence_SpeechRecognitionAlternative ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognitionAlternative as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionAlternative { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `confidence` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionAlternative/confidence)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`*" ] pub fn confidence ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_confidence_SpeechRecognitionAlternative ( self_ : < & SpeechRecognitionAlternative as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionAlternative as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_confidence_SpeechRecognitionAlternative ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `confidence` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionAlternative/confidence)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`*" ] pub fn confidence ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SpeechRecognitionError` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionError`*" ] # [ repr ( transparent ) ] pub struct SpeechRecognitionError { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SpeechRecognitionError : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SpeechRecognitionError { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SpeechRecognitionError { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SpeechRecognitionError { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechRecognitionError { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SpeechRecognitionError { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SpeechRecognitionError { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SpeechRecognitionError { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SpeechRecognitionError { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SpeechRecognitionError { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SpeechRecognitionError > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SpeechRecognitionError { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SpeechRecognitionError { # [ inline ] fn from ( obj : JsValue ) -> SpeechRecognitionError { SpeechRecognitionError { obj } } } impl AsRef < JsValue > for SpeechRecognitionError { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SpeechRecognitionError > for JsValue { # [ inline ] fn from ( obj : SpeechRecognitionError ) -> JsValue { obj . obj } } impl JsCast for SpeechRecognitionError { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SpeechRecognitionError ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SpeechRecognitionError ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechRecognitionError { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechRecognitionError ) } } } ( ) } ; impl core :: ops :: Deref for SpeechRecognitionError { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < SpeechRecognitionError > for Event { # [ inline ] fn from ( obj : SpeechRecognitionError ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for SpeechRecognitionError { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SpeechRecognitionError > for Object { # [ inline ] fn from ( obj : SpeechRecognitionError ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SpeechRecognitionError { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_SpeechRecognitionError ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < SpeechRecognitionError as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionError { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SpeechRecognitionError(..)` constructor, creating a new instance of `SpeechRecognitionError`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError/SpeechRecognitionError)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionError`*" ] pub fn new ( type_ : & str ) -> Result < SpeechRecognitionError , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_SpeechRecognitionError ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SpeechRecognitionError as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_SpeechRecognitionError ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechRecognitionError as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SpeechRecognitionError(..)` constructor, creating a new instance of `SpeechRecognitionError`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError/SpeechRecognitionError)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionError`*" ] pub fn new ( type_ : & str ) -> Result < SpeechRecognitionError , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_SpeechRecognitionError ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & SpeechRecognitionErrorInit as WasmDescribe > :: describe ( ) ; < SpeechRecognitionError as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionError { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SpeechRecognitionError(..)` constructor, creating a new instance of `SpeechRecognitionError`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError/SpeechRecognitionError)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionError`, `SpeechRecognitionErrorInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & SpeechRecognitionErrorInit ) -> Result < SpeechRecognitionError , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_SpeechRecognitionError ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & SpeechRecognitionErrorInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SpeechRecognitionError as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & SpeechRecognitionErrorInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_SpeechRecognitionError ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechRecognitionError as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SpeechRecognitionError(..)` constructor, creating a new instance of `SpeechRecognitionError`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError/SpeechRecognitionError)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionError`, `SpeechRecognitionErrorInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & SpeechRecognitionErrorInit ) -> Result < SpeechRecognitionError , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_SpeechRecognitionError ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognitionError as WasmDescribe > :: describe ( ) ; < SpeechRecognitionErrorCode as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionError { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError/error)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionError`, `SpeechRecognitionErrorCode`*" ] pub fn error ( & self , ) -> SpeechRecognitionErrorCode { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_SpeechRecognitionError ( self_ : < & SpeechRecognitionError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SpeechRecognitionErrorCode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_error_SpeechRecognitionError ( self_ ) } ; < SpeechRecognitionErrorCode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError/error)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionError`, `SpeechRecognitionErrorCode`*" ] pub fn error ( & self , ) -> SpeechRecognitionErrorCode { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_message_SpeechRecognitionError ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognitionError as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionError { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError/message)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionError`*" ] pub fn message ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_message_SpeechRecognitionError ( self_ : < & SpeechRecognitionError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionError as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_message_SpeechRecognitionError ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionError/message)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionError`*" ] pub fn message ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SpeechRecognitionEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionEvent`*" ] # [ repr ( transparent ) ] pub struct SpeechRecognitionEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SpeechRecognitionEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SpeechRecognitionEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SpeechRecognitionEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SpeechRecognitionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechRecognitionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SpeechRecognitionEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SpeechRecognitionEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SpeechRecognitionEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SpeechRecognitionEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SpeechRecognitionEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SpeechRecognitionEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SpeechRecognitionEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SpeechRecognitionEvent { # [ inline ] fn from ( obj : JsValue ) -> SpeechRecognitionEvent { SpeechRecognitionEvent { obj } } } impl AsRef < JsValue > for SpeechRecognitionEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SpeechRecognitionEvent > for JsValue { # [ inline ] fn from ( obj : SpeechRecognitionEvent ) -> JsValue { obj . obj } } impl JsCast for SpeechRecognitionEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SpeechRecognitionEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SpeechRecognitionEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechRecognitionEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechRecognitionEvent ) } } } ( ) } ; impl core :: ops :: Deref for SpeechRecognitionEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < SpeechRecognitionEvent > for Event { # [ inline ] fn from ( obj : SpeechRecognitionEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for SpeechRecognitionEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SpeechRecognitionEvent > for Object { # [ inline ] fn from ( obj : SpeechRecognitionEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SpeechRecognitionEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_SpeechRecognitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < SpeechRecognitionEvent as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SpeechRecognitionEvent(..)` constructor, creating a new instance of `SpeechRecognitionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/SpeechRecognitionEvent)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionEvent`*" ] pub fn new ( type_ : & str ) -> Result < SpeechRecognitionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_SpeechRecognitionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SpeechRecognitionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_SpeechRecognitionEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechRecognitionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SpeechRecognitionEvent(..)` constructor, creating a new instance of `SpeechRecognitionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/SpeechRecognitionEvent)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionEvent`*" ] pub fn new ( type_ : & str ) -> Result < SpeechRecognitionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_SpeechRecognitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & SpeechRecognitionEventInit as WasmDescribe > :: describe ( ) ; < SpeechRecognitionEvent as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SpeechRecognitionEvent(..)` constructor, creating a new instance of `SpeechRecognitionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/SpeechRecognitionEvent)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionEvent`, `SpeechRecognitionEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & SpeechRecognitionEventInit ) -> Result < SpeechRecognitionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_SpeechRecognitionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & SpeechRecognitionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SpeechRecognitionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & SpeechRecognitionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_SpeechRecognitionEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechRecognitionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SpeechRecognitionEvent(..)` constructor, creating a new instance of `SpeechRecognitionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/SpeechRecognitionEvent)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionEvent`, `SpeechRecognitionEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & SpeechRecognitionEventInit ) -> Result < SpeechRecognitionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_index_SpeechRecognitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognitionEvent as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `resultIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/resultIndex)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionEvent`*" ] pub fn result_index ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_index_SpeechRecognitionEvent ( self_ : < & SpeechRecognitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_index_SpeechRecognitionEvent ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `resultIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/resultIndex)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionEvent`*" ] pub fn result_index ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_results_SpeechRecognitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognitionEvent as WasmDescribe > :: describe ( ) ; < Option < SpeechRecognitionResultList > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `results` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/results)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionEvent`, `SpeechRecognitionResultList`*" ] pub fn results ( & self , ) -> Option < SpeechRecognitionResultList > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_results_SpeechRecognitionEvent ( self_ : < & SpeechRecognitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < SpeechRecognitionResultList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_results_SpeechRecognitionEvent ( self_ ) } ; < Option < SpeechRecognitionResultList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `results` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/results)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionEvent`, `SpeechRecognitionResultList`*" ] pub fn results ( & self , ) -> Option < SpeechRecognitionResultList > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_interpretation_SpeechRecognitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognitionEvent as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `interpretation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/interpretation)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionEvent`*" ] pub fn interpretation ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_interpretation_SpeechRecognitionEvent ( self_ : < & SpeechRecognitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_interpretation_SpeechRecognitionEvent ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `interpretation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/interpretation)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionEvent`*" ] pub fn interpretation ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_emma_SpeechRecognitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognitionEvent as WasmDescribe > :: describe ( ) ; < Option < Document > as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `emma` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/emma)\n\n*This API requires the following crate features to be activated: `Document`, `SpeechRecognitionEvent`*" ] pub fn emma ( & self , ) -> Option < Document > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_emma_SpeechRecognitionEvent ( self_ : < & SpeechRecognitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_emma_SpeechRecognitionEvent ( self_ ) } ; < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `emma` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent/emma)\n\n*This API requires the following crate features to be activated: `Document`, `SpeechRecognitionEvent`*" ] pub fn emma ( & self , ) -> Option < Document > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SpeechRecognitionResult` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionResult`*" ] # [ repr ( transparent ) ] pub struct SpeechRecognitionResult { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SpeechRecognitionResult : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SpeechRecognitionResult { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SpeechRecognitionResult { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SpeechRecognitionResult { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechRecognitionResult { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SpeechRecognitionResult { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SpeechRecognitionResult { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SpeechRecognitionResult { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SpeechRecognitionResult { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SpeechRecognitionResult { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SpeechRecognitionResult > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SpeechRecognitionResult { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SpeechRecognitionResult { # [ inline ] fn from ( obj : JsValue ) -> SpeechRecognitionResult { SpeechRecognitionResult { obj } } } impl AsRef < JsValue > for SpeechRecognitionResult { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SpeechRecognitionResult > for JsValue { # [ inline ] fn from ( obj : SpeechRecognitionResult ) -> JsValue { obj . obj } } impl JsCast for SpeechRecognitionResult { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SpeechRecognitionResult ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SpeechRecognitionResult ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechRecognitionResult { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechRecognitionResult ) } } } ( ) } ; impl core :: ops :: Deref for SpeechRecognitionResult { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SpeechRecognitionResult > for Object { # [ inline ] fn from ( obj : SpeechRecognitionResult ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SpeechRecognitionResult { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_SpeechRecognitionResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognitionResult as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SpeechRecognitionAlternative as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/item)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`, `SpeechRecognitionResult`*" ] pub fn item ( & self , index : u32 ) -> SpeechRecognitionAlternative { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_SpeechRecognitionResult ( self_ : < & SpeechRecognitionResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SpeechRecognitionAlternative as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_SpeechRecognitionResult ( self_ , index ) } ; < SpeechRecognitionAlternative as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/item)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`, `SpeechRecognitionResult`*" ] pub fn item ( & self , index : u32 ) -> SpeechRecognitionAlternative { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_SpeechRecognitionResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognitionResult as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SpeechRecognitionAlternative as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`, `SpeechRecognitionResult`*" ] pub fn get ( & self , index : u32 ) -> SpeechRecognitionAlternative { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_SpeechRecognitionResult ( self_ : < & SpeechRecognitionResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SpeechRecognitionAlternative as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_SpeechRecognitionResult ( self_ , index ) } ; < SpeechRecognitionAlternative as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SpeechRecognitionAlternative`, `SpeechRecognitionResult`*" ] pub fn get ( & self , index : u32 ) -> SpeechRecognitionAlternative { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_SpeechRecognitionResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognitionResult as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/length)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionResult`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_SpeechRecognitionResult ( self_ : < & SpeechRecognitionResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_SpeechRecognitionResult ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/length)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionResult`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_final_SpeechRecognitionResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognitionResult as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isFinal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/isFinal)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionResult`*" ] pub fn is_final ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_final_SpeechRecognitionResult ( self_ : < & SpeechRecognitionResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_final_SpeechRecognitionResult ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isFinal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/isFinal)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionResult`*" ] pub fn is_final ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SpeechRecognitionResultList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResultList)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionResultList`*" ] # [ repr ( transparent ) ] pub struct SpeechRecognitionResultList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SpeechRecognitionResultList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SpeechRecognitionResultList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SpeechRecognitionResultList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SpeechRecognitionResultList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechRecognitionResultList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SpeechRecognitionResultList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SpeechRecognitionResultList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SpeechRecognitionResultList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SpeechRecognitionResultList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SpeechRecognitionResultList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SpeechRecognitionResultList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SpeechRecognitionResultList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SpeechRecognitionResultList { # [ inline ] fn from ( obj : JsValue ) -> SpeechRecognitionResultList { SpeechRecognitionResultList { obj } } } impl AsRef < JsValue > for SpeechRecognitionResultList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SpeechRecognitionResultList > for JsValue { # [ inline ] fn from ( obj : SpeechRecognitionResultList ) -> JsValue { obj . obj } } impl JsCast for SpeechRecognitionResultList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SpeechRecognitionResultList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SpeechRecognitionResultList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechRecognitionResultList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechRecognitionResultList ) } } } ( ) } ; impl core :: ops :: Deref for SpeechRecognitionResultList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SpeechRecognitionResultList > for Object { # [ inline ] fn from ( obj : SpeechRecognitionResultList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SpeechRecognitionResultList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_SpeechRecognitionResultList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognitionResultList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SpeechRecognitionResult as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionResultList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResultList/item)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionResult`, `SpeechRecognitionResultList`*" ] pub fn item ( & self , index : u32 ) -> SpeechRecognitionResult { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_SpeechRecognitionResultList ( self_ : < & SpeechRecognitionResultList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SpeechRecognitionResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionResultList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_SpeechRecognitionResultList ( self_ , index ) } ; < SpeechRecognitionResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResultList/item)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionResult`, `SpeechRecognitionResultList`*" ] pub fn item ( & self , index : u32 ) -> SpeechRecognitionResult { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_SpeechRecognitionResultList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechRecognitionResultList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < SpeechRecognitionResult as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionResultList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SpeechRecognitionResult`, `SpeechRecognitionResultList`*" ] pub fn get ( & self , index : u32 ) -> SpeechRecognitionResult { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_SpeechRecognitionResultList ( self_ : < & SpeechRecognitionResultList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SpeechRecognitionResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionResultList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_SpeechRecognitionResultList ( self_ , index ) } ; < SpeechRecognitionResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `SpeechRecognitionResult`, `SpeechRecognitionResultList`*" ] pub fn get ( & self , index : u32 ) -> SpeechRecognitionResult { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_SpeechRecognitionResultList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechRecognitionResultList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SpeechRecognitionResultList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResultList/length)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionResultList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_SpeechRecognitionResultList ( self_ : < & SpeechRecognitionResultList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechRecognitionResultList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_SpeechRecognitionResultList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResultList/length)\n\n*This API requires the following crate features to be activated: `SpeechRecognitionResultList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SpeechSynthesis` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] # [ repr ( transparent ) ] pub struct SpeechSynthesis { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SpeechSynthesis : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SpeechSynthesis { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SpeechSynthesis { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SpeechSynthesis { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechSynthesis { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SpeechSynthesis { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SpeechSynthesis { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SpeechSynthesis { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SpeechSynthesis { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SpeechSynthesis { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SpeechSynthesis > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SpeechSynthesis { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SpeechSynthesis { # [ inline ] fn from ( obj : JsValue ) -> SpeechSynthesis { SpeechSynthesis { obj } } } impl AsRef < JsValue > for SpeechSynthesis { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SpeechSynthesis > for JsValue { # [ inline ] fn from ( obj : SpeechSynthesis ) -> JsValue { obj . obj } } impl JsCast for SpeechSynthesis { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SpeechSynthesis ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SpeechSynthesis ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechSynthesis { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechSynthesis ) } } } ( ) } ; impl core :: ops :: Deref for SpeechSynthesis { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < SpeechSynthesis > for EventTarget { # [ inline ] fn from ( obj : SpeechSynthesis ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SpeechSynthesis { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SpeechSynthesis > for Object { # [ inline ] fn from ( obj : SpeechSynthesis ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SpeechSynthesis { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cancel_SpeechSynthesis ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesis as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesis { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cancel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/cancel)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn cancel ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cancel_SpeechSynthesis ( self_ : < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cancel_SpeechSynthesis ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cancel()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/cancel)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn cancel ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pause_SpeechSynthesis ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesis as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesis { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pause()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/pause)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn pause ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pause_SpeechSynthesis ( self_ : < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pause_SpeechSynthesis ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pause()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/pause)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn pause ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_resume_SpeechSynthesis ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesis as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesis { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `resume()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/resume)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn resume ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_resume_SpeechSynthesis ( self_ : < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_resume_SpeechSynthesis ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `resume()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/resume)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn resume ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_speak_SpeechSynthesis ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesis as WasmDescribe > :: describe ( ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesis { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `speak()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/speak)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`, `SpeechSynthesisUtterance`*" ] pub fn speak ( & self , utterance : & SpeechSynthesisUtterance ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_speak_SpeechSynthesis ( self_ : < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , utterance : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let utterance = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( utterance , & mut __stack ) ; __widl_f_speak_SpeechSynthesis ( self_ , utterance ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `speak()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/speak)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`, `SpeechSynthesisUtterance`*" ] pub fn speak ( & self , utterance : & SpeechSynthesisUtterance ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pending_SpeechSynthesis ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesis as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesis { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pending` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/pending)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn pending ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pending_SpeechSynthesis ( self_ : < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pending_SpeechSynthesis ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pending` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/pending)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn pending ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_speaking_SpeechSynthesis ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesis as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesis { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `speaking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/speaking)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn speaking ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_speaking_SpeechSynthesis ( self_ : < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_speaking_SpeechSynthesis ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `speaking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/speaking)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn speaking ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_paused_SpeechSynthesis ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesis as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesis { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `paused` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/paused)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn paused ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_paused_SpeechSynthesis ( self_ : < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_paused_SpeechSynthesis ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `paused` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/paused)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn paused ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onvoiceschanged_SpeechSynthesis ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesis as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesis { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvoiceschanged` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/onvoiceschanged)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn onvoiceschanged ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onvoiceschanged_SpeechSynthesis ( self_ : < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onvoiceschanged_SpeechSynthesis ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvoiceschanged` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/onvoiceschanged)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn onvoiceschanged ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onvoiceschanged_SpeechSynthesis ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesis as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesis { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvoiceschanged` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/onvoiceschanged)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn set_onvoiceschanged ( & self , onvoiceschanged : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onvoiceschanged_SpeechSynthesis ( self_ : < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onvoiceschanged : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesis as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onvoiceschanged = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onvoiceschanged , & mut __stack ) ; __widl_f_set_onvoiceschanged_SpeechSynthesis ( self_ , onvoiceschanged ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvoiceschanged` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis/onvoiceschanged)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`*" ] pub fn set_onvoiceschanged ( & self , onvoiceschanged : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SpeechSynthesisErrorEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisErrorEvent)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisErrorEvent`*" ] # [ repr ( transparent ) ] pub struct SpeechSynthesisErrorEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SpeechSynthesisErrorEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SpeechSynthesisErrorEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SpeechSynthesisErrorEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SpeechSynthesisErrorEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechSynthesisErrorEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SpeechSynthesisErrorEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SpeechSynthesisErrorEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SpeechSynthesisErrorEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SpeechSynthesisErrorEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SpeechSynthesisErrorEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SpeechSynthesisErrorEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SpeechSynthesisErrorEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SpeechSynthesisErrorEvent { # [ inline ] fn from ( obj : JsValue ) -> SpeechSynthesisErrorEvent { SpeechSynthesisErrorEvent { obj } } } impl AsRef < JsValue > for SpeechSynthesisErrorEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SpeechSynthesisErrorEvent > for JsValue { # [ inline ] fn from ( obj : SpeechSynthesisErrorEvent ) -> JsValue { obj . obj } } impl JsCast for SpeechSynthesisErrorEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SpeechSynthesisErrorEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SpeechSynthesisErrorEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechSynthesisErrorEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechSynthesisErrorEvent ) } } } ( ) } ; impl core :: ops :: Deref for SpeechSynthesisErrorEvent { type Target = SpeechSynthesisEvent ; # [ inline ] fn deref ( & self ) -> & SpeechSynthesisEvent { self . as_ref ( ) } } impl From < SpeechSynthesisErrorEvent > for SpeechSynthesisEvent { # [ inline ] fn from ( obj : SpeechSynthesisErrorEvent ) -> SpeechSynthesisEvent { use wasm_bindgen :: JsCast ; SpeechSynthesisEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < SpeechSynthesisEvent > for SpeechSynthesisErrorEvent { # [ inline ] fn as_ref ( & self ) -> & SpeechSynthesisEvent { use wasm_bindgen :: JsCast ; SpeechSynthesisEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SpeechSynthesisErrorEvent > for Event { # [ inline ] fn from ( obj : SpeechSynthesisErrorEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for SpeechSynthesisErrorEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SpeechSynthesisErrorEvent > for Object { # [ inline ] fn from ( obj : SpeechSynthesisErrorEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SpeechSynthesisErrorEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_SpeechSynthesisErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & SpeechSynthesisErrorEventInit as WasmDescribe > :: describe ( ) ; < SpeechSynthesisErrorEvent as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SpeechSynthesisErrorEvent(..)` constructor, creating a new instance of `SpeechSynthesisErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisErrorEvent/SpeechSynthesisErrorEvent)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisErrorEvent`, `SpeechSynthesisErrorEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & SpeechSynthesisErrorEventInit ) -> Result < SpeechSynthesisErrorEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_SpeechSynthesisErrorEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & SpeechSynthesisErrorEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SpeechSynthesisErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & SpeechSynthesisErrorEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_SpeechSynthesisErrorEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechSynthesisErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SpeechSynthesisErrorEvent(..)` constructor, creating a new instance of `SpeechSynthesisErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisErrorEvent/SpeechSynthesisErrorEvent)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisErrorEvent`, `SpeechSynthesisErrorEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & SpeechSynthesisErrorEventInit ) -> Result < SpeechSynthesisErrorEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_SpeechSynthesisErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisErrorEvent as WasmDescribe > :: describe ( ) ; < SpeechSynthesisErrorCode as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisErrorEvent/error)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisErrorCode`, `SpeechSynthesisErrorEvent`*" ] pub fn error ( & self , ) -> SpeechSynthesisErrorCode { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_SpeechSynthesisErrorEvent ( self_ : < & SpeechSynthesisErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SpeechSynthesisErrorCode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_error_SpeechSynthesisErrorEvent ( self_ ) } ; < SpeechSynthesisErrorCode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `error` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisErrorEvent/error)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisErrorCode`, `SpeechSynthesisErrorEvent`*" ] pub fn error ( & self , ) -> SpeechSynthesisErrorCode { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SpeechSynthesisEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*" ] # [ repr ( transparent ) ] pub struct SpeechSynthesisEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SpeechSynthesisEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SpeechSynthesisEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SpeechSynthesisEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SpeechSynthesisEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechSynthesisEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SpeechSynthesisEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SpeechSynthesisEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SpeechSynthesisEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SpeechSynthesisEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SpeechSynthesisEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SpeechSynthesisEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SpeechSynthesisEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SpeechSynthesisEvent { # [ inline ] fn from ( obj : JsValue ) -> SpeechSynthesisEvent { SpeechSynthesisEvent { obj } } } impl AsRef < JsValue > for SpeechSynthesisEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SpeechSynthesisEvent > for JsValue { # [ inline ] fn from ( obj : SpeechSynthesisEvent ) -> JsValue { obj . obj } } impl JsCast for SpeechSynthesisEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SpeechSynthesisEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SpeechSynthesisEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechSynthesisEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechSynthesisEvent ) } } } ( ) } ; impl core :: ops :: Deref for SpeechSynthesisEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < SpeechSynthesisEvent > for Event { # [ inline ] fn from ( obj : SpeechSynthesisEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for SpeechSynthesisEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SpeechSynthesisEvent > for Object { # [ inline ] fn from ( obj : SpeechSynthesisEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SpeechSynthesisEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_SpeechSynthesisEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & SpeechSynthesisEventInit as WasmDescribe > :: describe ( ) ; < SpeechSynthesisEvent as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SpeechSynthesisEvent(..)` constructor, creating a new instance of `SpeechSynthesisEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/SpeechSynthesisEvent)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisEvent`, `SpeechSynthesisEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & SpeechSynthesisEventInit ) -> Result < SpeechSynthesisEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_SpeechSynthesisEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & SpeechSynthesisEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SpeechSynthesisEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & SpeechSynthesisEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_SpeechSynthesisEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechSynthesisEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SpeechSynthesisEvent(..)` constructor, creating a new instance of `SpeechSynthesisEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/SpeechSynthesisEvent)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisEvent`, `SpeechSynthesisEventInit`*" ] pub fn new ( type_ : & str , event_init_dict : & SpeechSynthesisEventInit ) -> Result < SpeechSynthesisEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_utterance_SpeechSynthesisEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisEvent as WasmDescribe > :: describe ( ) ; < SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `utterance` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/utterance)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisEvent`, `SpeechSynthesisUtterance`*" ] pub fn utterance ( & self , ) -> SpeechSynthesisUtterance { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_utterance_SpeechSynthesisEvent ( self_ : < & SpeechSynthesisEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_utterance_SpeechSynthesisEvent ( self_ ) } ; < SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `utterance` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/utterance)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisEvent`, `SpeechSynthesisUtterance`*" ] pub fn utterance ( & self , ) -> SpeechSynthesisUtterance { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_char_index_SpeechSynthesisEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisEvent as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `charIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/charIndex)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*" ] pub fn char_index ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_char_index_SpeechSynthesisEvent ( self_ : < & SpeechSynthesisEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_char_index_SpeechSynthesisEvent ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `charIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/charIndex)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*" ] pub fn char_index ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_char_length_SpeechSynthesisEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisEvent as WasmDescribe > :: describe ( ) ; < Option < u32 > as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `charLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/charLength)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*" ] pub fn char_length ( & self , ) -> Option < u32 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_char_length_SpeechSynthesisEvent ( self_ : < & SpeechSynthesisEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < u32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_char_length_SpeechSynthesisEvent ( self_ ) } ; < Option < u32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `charLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/charLength)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*" ] pub fn char_length ( & self , ) -> Option < u32 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_elapsed_time_SpeechSynthesisEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisEvent as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `elapsedTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/elapsedTime)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*" ] pub fn elapsed_time ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_elapsed_time_SpeechSynthesisEvent ( self_ : < & SpeechSynthesisEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_elapsed_time_SpeechSynthesisEvent ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `elapsedTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/elapsedTime)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*" ] pub fn elapsed_time ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_SpeechSynthesisEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisEvent as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/name)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*" ] pub fn name ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_SpeechSynthesisEvent ( self_ : < & SpeechSynthesisEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_SpeechSynthesisEvent ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent/name)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisEvent`*" ] pub fn name ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SpeechSynthesisUtterance` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] # [ repr ( transparent ) ] pub struct SpeechSynthesisUtterance { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SpeechSynthesisUtterance : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SpeechSynthesisUtterance { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SpeechSynthesisUtterance { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SpeechSynthesisUtterance { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechSynthesisUtterance { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SpeechSynthesisUtterance { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SpeechSynthesisUtterance { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SpeechSynthesisUtterance { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SpeechSynthesisUtterance { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SpeechSynthesisUtterance { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SpeechSynthesisUtterance > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SpeechSynthesisUtterance { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SpeechSynthesisUtterance { # [ inline ] fn from ( obj : JsValue ) -> SpeechSynthesisUtterance { SpeechSynthesisUtterance { obj } } } impl AsRef < JsValue > for SpeechSynthesisUtterance { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SpeechSynthesisUtterance > for JsValue { # [ inline ] fn from ( obj : SpeechSynthesisUtterance ) -> JsValue { obj . obj } } impl JsCast for SpeechSynthesisUtterance { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SpeechSynthesisUtterance ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SpeechSynthesisUtterance ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechSynthesisUtterance { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechSynthesisUtterance ) } } } ( ) } ; impl core :: ops :: Deref for SpeechSynthesisUtterance { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < SpeechSynthesisUtterance > for EventTarget { # [ inline ] fn from ( obj : SpeechSynthesisUtterance ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for SpeechSynthesisUtterance { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < SpeechSynthesisUtterance > for Object { # [ inline ] fn from ( obj : SpeechSynthesisUtterance ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SpeechSynthesisUtterance { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SpeechSynthesisUtterance(..)` constructor, creating a new instance of `SpeechSynthesisUtterance`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/SpeechSynthesisUtterance)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn new ( ) -> Result < SpeechSynthesisUtterance , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_SpeechSynthesisUtterance ( exn_data_ptr : * mut u32 ) -> < SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_SpeechSynthesisUtterance ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SpeechSynthesisUtterance(..)` constructor, creating a new instance of `SpeechSynthesisUtterance`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/SpeechSynthesisUtterance)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn new ( ) -> Result < SpeechSynthesisUtterance , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_text_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new SpeechSynthesisUtterance(..)` constructor, creating a new instance of `SpeechSynthesisUtterance`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/SpeechSynthesisUtterance)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn new_with_text ( text : & str ) -> Result < SpeechSynthesisUtterance , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_text_SpeechSynthesisUtterance ( text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_new_with_text_SpeechSynthesisUtterance ( text , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new SpeechSynthesisUtterance(..)` constructor, creating a new instance of `SpeechSynthesisUtterance`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/SpeechSynthesisUtterance)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn new_with_text ( text : & str ) -> Result < SpeechSynthesisUtterance , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/text)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_SpeechSynthesisUtterance ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/text)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_text_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/text)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_text ( & self , text : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_text_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_set_text_SpeechSynthesisUtterance ( self_ , text ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/text)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_text ( & self , text : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lang_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/lang)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn lang ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lang_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_lang_SpeechSynthesisUtterance ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/lang)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn lang ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_lang_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/lang)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_lang ( & self , lang : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_lang_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , lang : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let lang = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lang , & mut __stack ) ; __widl_f_set_lang_SpeechSynthesisUtterance ( self_ , lang ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lang` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/lang)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_lang ( & self , lang : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_voice_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < SpeechSynthesisVoice > as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `voice` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/voice)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`, `SpeechSynthesisVoice`*" ] pub fn voice ( & self , ) -> Option < SpeechSynthesisVoice > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_voice_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < SpeechSynthesisVoice > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_voice_SpeechSynthesisUtterance ( self_ ) } ; < Option < SpeechSynthesisVoice > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `voice` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/voice)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`, `SpeechSynthesisVoice`*" ] pub fn voice ( & self , ) -> Option < SpeechSynthesisVoice > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_voice_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < & SpeechSynthesisVoice > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `voice` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/voice)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`, `SpeechSynthesisVoice`*" ] pub fn set_voice ( & self , voice : Option < & SpeechSynthesisVoice > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_voice_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , voice : < Option < & SpeechSynthesisVoice > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let voice = < Option < & SpeechSynthesisVoice > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( voice , & mut __stack ) ; __widl_f_set_voice_SpeechSynthesisUtterance ( self_ , voice ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `voice` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/voice)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`, `SpeechSynthesisVoice`*" ] pub fn set_voice ( & self , voice : Option < & SpeechSynthesisVoice > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_volume_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `volume` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/volume)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn volume ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_volume_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_volume_SpeechSynthesisUtterance ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `volume` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/volume)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn volume ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_volume_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `volume` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/volume)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_volume ( & self , volume : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_volume_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , volume : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let volume = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( volume , & mut __stack ) ; __widl_f_set_volume_SpeechSynthesisUtterance ( self_ , volume ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `volume` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/volume)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_volume ( & self , volume : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rate_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/rate)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn rate ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rate_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rate_SpeechSynthesisUtterance ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/rate)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn rate ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_rate_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/rate)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_rate ( & self , rate : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_rate_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rate : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rate = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rate , & mut __stack ) ; __widl_f_set_rate_SpeechSynthesisUtterance ( self_ , rate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/rate)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_rate ( & self , rate : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pitch_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pitch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/pitch)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn pitch ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pitch_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pitch_SpeechSynthesisUtterance ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pitch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/pitch)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn pitch ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_pitch_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pitch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/pitch)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_pitch ( & self , pitch : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_pitch_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pitch : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pitch = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pitch , & mut __stack ) ; __widl_f_set_pitch_SpeechSynthesisUtterance ( self_ , pitch ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pitch` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/pitch)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_pitch ( & self , pitch : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstart_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onstart)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstart_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstart_SpeechSynthesisUtterance ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onstart)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstart_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onstart)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onstart ( & self , onstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstart_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstart , & mut __stack ) ; __widl_f_set_onstart_SpeechSynthesisUtterance ( self_ , onstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onstart)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onstart ( & self , onstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onend_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onend)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onend_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onend_SpeechSynthesisUtterance ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onend)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onend_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onend)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onend ( & self , onend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onend_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onend , & mut __stack ) ; __widl_f_set_onend_SpeechSynthesisUtterance ( self_ , onend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onend)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onend ( & self , onend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onerror)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_SpeechSynthesisUtterance ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onerror)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onerror)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_SpeechSynthesisUtterance ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onerror)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpause_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpause` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onpause)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onpause ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpause_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpause_SpeechSynthesisUtterance ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpause` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onpause)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onpause ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpause_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpause` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onpause)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onpause ( & self , onpause : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpause_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpause : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpause = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpause , & mut __stack ) ; __widl_f_set_onpause_SpeechSynthesisUtterance ( self_ , onpause ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpause` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onpause)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onpause ( & self , onpause : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onresume_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresume` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onresume)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onresume ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onresume_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onresume_SpeechSynthesisUtterance ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresume` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onresume)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onresume ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onresume_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresume` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onresume)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onresume ( & self , onresume : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onresume_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onresume : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onresume = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onresume , & mut __stack ) ; __widl_f_set_onresume_SpeechSynthesisUtterance ( self_ , onresume ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresume` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onresume)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onresume ( & self , onresume : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmark_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmark` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onmark)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onmark ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmark_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmark_SpeechSynthesisUtterance ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmark` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onmark)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onmark ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmark_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmark` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onmark)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onmark ( & self , onmark : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmark_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmark : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmark = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmark , & mut __stack ) ; __widl_f_set_onmark_SpeechSynthesisUtterance ( self_ , onmark ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmark` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onmark)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onmark ( & self , onmark : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onboundary_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onboundary` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onboundary)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onboundary ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onboundary_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onboundary_SpeechSynthesisUtterance ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onboundary` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onboundary)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn onboundary ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onboundary_SpeechSynthesisUtterance ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & SpeechSynthesisUtterance as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisUtterance { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onboundary` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onboundary)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onboundary ( & self , onboundary : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onboundary_SpeechSynthesisUtterance ( self_ : < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onboundary : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisUtterance as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onboundary = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onboundary , & mut __stack ) ; __widl_f_set_onboundary_SpeechSynthesisUtterance ( self_ , onboundary ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onboundary` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onboundary)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisUtterance`*" ] pub fn set_onboundary ( & self , onboundary : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SpeechSynthesisVoice` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*" ] # [ repr ( transparent ) ] pub struct SpeechSynthesisVoice { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SpeechSynthesisVoice : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SpeechSynthesisVoice { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SpeechSynthesisVoice { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SpeechSynthesisVoice { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechSynthesisVoice { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SpeechSynthesisVoice { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SpeechSynthesisVoice { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SpeechSynthesisVoice { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SpeechSynthesisVoice { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SpeechSynthesisVoice { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SpeechSynthesisVoice > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SpeechSynthesisVoice { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SpeechSynthesisVoice { # [ inline ] fn from ( obj : JsValue ) -> SpeechSynthesisVoice { SpeechSynthesisVoice { obj } } } impl AsRef < JsValue > for SpeechSynthesisVoice { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SpeechSynthesisVoice > for JsValue { # [ inline ] fn from ( obj : SpeechSynthesisVoice ) -> JsValue { obj . obj } } impl JsCast for SpeechSynthesisVoice { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SpeechSynthesisVoice ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SpeechSynthesisVoice ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechSynthesisVoice { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechSynthesisVoice ) } } } ( ) } ; impl core :: ops :: Deref for SpeechSynthesisVoice { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SpeechSynthesisVoice > for Object { # [ inline ] fn from ( obj : SpeechSynthesisVoice ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SpeechSynthesisVoice { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_voice_uri_SpeechSynthesisVoice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisVoice as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisVoice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `voiceURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/voiceURI)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*" ] pub fn voice_uri ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_voice_uri_SpeechSynthesisVoice ( self_ : < & SpeechSynthesisVoice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisVoice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_voice_uri_SpeechSynthesisVoice ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `voiceURI` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/voiceURI)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*" ] pub fn voice_uri ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_SpeechSynthesisVoice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisVoice as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisVoice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/name)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_SpeechSynthesisVoice ( self_ : < & SpeechSynthesisVoice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisVoice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_SpeechSynthesisVoice ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/name)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lang_SpeechSynthesisVoice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisVoice as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisVoice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/lang)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*" ] pub fn lang ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lang_SpeechSynthesisVoice ( self_ : < & SpeechSynthesisVoice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisVoice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_lang_SpeechSynthesisVoice ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lang` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/lang)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*" ] pub fn lang ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_local_service_SpeechSynthesisVoice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisVoice as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisVoice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `localService` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/localService)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*" ] pub fn local_service ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_local_service_SpeechSynthesisVoice ( self_ : < & SpeechSynthesisVoice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisVoice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_local_service_SpeechSynthesisVoice ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `localService` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/localService)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*" ] pub fn local_service ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_default_SpeechSynthesisVoice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & SpeechSynthesisVoice as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl SpeechSynthesisVoice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `default` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/default)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*" ] pub fn default ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_default_SpeechSynthesisVoice ( self_ : < & SpeechSynthesisVoice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SpeechSynthesisVoice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_default_SpeechSynthesisVoice ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `default` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/default)\n\n*This API requires the following crate features to be activated: `SpeechSynthesisVoice`*" ] pub fn default ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `StereoPannerNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StereoPannerNode)\n\n*This API requires the following crate features to be activated: `StereoPannerNode`*" ] # [ repr ( transparent ) ] pub struct StereoPannerNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_StereoPannerNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for StereoPannerNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for StereoPannerNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for StereoPannerNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a StereoPannerNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for StereoPannerNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { StereoPannerNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for StereoPannerNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a StereoPannerNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for StereoPannerNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < StereoPannerNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( StereoPannerNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for StereoPannerNode { # [ inline ] fn from ( obj : JsValue ) -> StereoPannerNode { StereoPannerNode { obj } } } impl AsRef < JsValue > for StereoPannerNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < StereoPannerNode > for JsValue { # [ inline ] fn from ( obj : StereoPannerNode ) -> JsValue { obj . obj } } impl JsCast for StereoPannerNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_StereoPannerNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_StereoPannerNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { StereoPannerNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const StereoPannerNode ) } } } ( ) } ; impl core :: ops :: Deref for StereoPannerNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < StereoPannerNode > for AudioNode { # [ inline ] fn from ( obj : StereoPannerNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for StereoPannerNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < StereoPannerNode > for EventTarget { # [ inline ] fn from ( obj : StereoPannerNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for StereoPannerNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < StereoPannerNode > for Object { # [ inline ] fn from ( obj : StereoPannerNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for StereoPannerNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_StereoPannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < StereoPannerNode as WasmDescribe > :: describe ( ) ; } impl StereoPannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new StereoPannerNode(..)` constructor, creating a new instance of `StereoPannerNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StereoPannerNode/StereoPannerNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `StereoPannerNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < StereoPannerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_StereoPannerNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < StereoPannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_StereoPannerNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < StereoPannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new StereoPannerNode(..)` constructor, creating a new instance of `StereoPannerNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StereoPannerNode/StereoPannerNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `StereoPannerNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < StereoPannerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_StereoPannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & StereoPannerOptions as WasmDescribe > :: describe ( ) ; < StereoPannerNode as WasmDescribe > :: describe ( ) ; } impl StereoPannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new StereoPannerNode(..)` constructor, creating a new instance of `StereoPannerNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StereoPannerNode/StereoPannerNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `StereoPannerNode`, `StereoPannerOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & StereoPannerOptions ) -> Result < StereoPannerNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_StereoPannerNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & StereoPannerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < StereoPannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & StereoPannerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_StereoPannerNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < StereoPannerNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new StereoPannerNode(..)` constructor, creating a new instance of `StereoPannerNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StereoPannerNode/StereoPannerNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `StereoPannerNode`, `StereoPannerOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & StereoPannerOptions ) -> Result < StereoPannerNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pan_StereoPannerNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StereoPannerNode as WasmDescribe > :: describe ( ) ; < AudioParam as WasmDescribe > :: describe ( ) ; } impl StereoPannerNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pan` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StereoPannerNode/pan)\n\n*This API requires the following crate features to be activated: `AudioParam`, `StereoPannerNode`*" ] pub fn pan ( & self , ) -> AudioParam { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pan_StereoPannerNode ( self_ : < & StereoPannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StereoPannerNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pan_StereoPannerNode ( self_ ) } ; < AudioParam as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pan` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StereoPannerNode/pan)\n\n*This API requires the following crate features to be activated: `AudioParam`, `StereoPannerNode`*" ] pub fn pan ( & self , ) -> AudioParam { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Storage` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage)\n\n*This API requires the following crate features to be activated: `Storage`*" ] # [ repr ( transparent ) ] pub struct Storage { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Storage : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Storage { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Storage { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Storage { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Storage { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Storage { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Storage { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Storage { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Storage { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Storage { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Storage > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Storage { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Storage { # [ inline ] fn from ( obj : JsValue ) -> Storage { Storage { obj } } } impl AsRef < JsValue > for Storage { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Storage > for JsValue { # [ inline ] fn from ( obj : Storage ) -> JsValue { obj . obj } } impl JsCast for Storage { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Storage ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Storage ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Storage { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Storage ) } } } ( ) } ; impl core :: ops :: Deref for Storage { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Storage > for Object { # [ inline ] fn from ( obj : Storage ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Storage { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_Storage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Storage as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Storage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/clear)\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn clear ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_Storage ( self_ : < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_Storage ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/clear)\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn clear ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_item_Storage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Storage as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Storage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/getItem)\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn get_item ( & self , key : & str ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_item_Storage ( self_ : < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_get_item_Storage ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/getItem)\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn get_item ( & self , key : & str ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_key_Storage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Storage as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Storage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `key()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/key)\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn key ( & self , index : u32 ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_key_Storage ( self_ : < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_key_Storage ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `key()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/key)\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn key ( & self , index : u32 ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_item_Storage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Storage as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Storage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/removeItem)\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn remove_item ( & self , key : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_item_Storage ( self_ : < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_remove_item_Storage ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/removeItem)\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn remove_item ( & self , key : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_item_Storage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Storage as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Storage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem)\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn set_item ( & self , key : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_item_Storage ( self_ : < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_item_Storage ( self_ , key , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem)\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn set_item ( & self , key : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_Storage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Storage as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Storage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn get ( & self , key : & str ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_Storage ( self_ : < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_get_Storage ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn get ( & self , key : & str ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_Storage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Storage as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Storage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing setter\n\n\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn set ( & self , key : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_Storage ( self_ : < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_Storage ( self_ , key , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing setter\n\n\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn set ( & self , key : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_Storage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Storage as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Storage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing deleter\n\n\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn delete ( & self , key : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_Storage ( self_ : < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let key = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_delete_Storage ( self_ , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing deleter\n\n\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn delete ( & self , key : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_Storage ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Storage as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Storage { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/length)\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn length ( & self , ) -> Result < u32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_Storage ( self_ : < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Storage as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_Storage ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Storage/length)\n\n*This API requires the following crate features to be activated: `Storage`*" ] pub fn length ( & self , ) -> Result < u32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `StorageEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] # [ repr ( transparent ) ] pub struct StorageEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_StorageEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for StorageEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for StorageEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for StorageEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a StorageEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for StorageEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { StorageEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for StorageEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a StorageEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for StorageEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < StorageEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( StorageEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for StorageEvent { # [ inline ] fn from ( obj : JsValue ) -> StorageEvent { StorageEvent { obj } } } impl AsRef < JsValue > for StorageEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < StorageEvent > for JsValue { # [ inline ] fn from ( obj : StorageEvent ) -> JsValue { obj . obj } } impl JsCast for StorageEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_StorageEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_StorageEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { StorageEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const StorageEvent ) } } } ( ) } ; impl core :: ops :: Deref for StorageEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < StorageEvent > for Event { # [ inline ] fn from ( obj : StorageEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for StorageEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < StorageEvent > for Object { # [ inline ] fn from ( obj : StorageEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for StorageEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < StorageEvent as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new StorageEvent(..)` constructor, creating a new instance of `StorageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/StorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn new ( type_ : & str ) -> Result < StorageEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_StorageEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < StorageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_StorageEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < StorageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new StorageEvent(..)` constructor, creating a new instance of `StorageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/StorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn new ( type_ : & str ) -> Result < StorageEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & StorageEventInit as WasmDescribe > :: describe ( ) ; < StorageEvent as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new StorageEvent(..)` constructor, creating a new instance of `StorageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/StorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`, `StorageEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & StorageEventInit ) -> Result < StorageEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_StorageEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & StorageEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < StorageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & StorageEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_StorageEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < StorageEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new StorageEvent(..)` constructor, creating a new instance of `StorageEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/StorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`, `StorageEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & StorageEventInit ) -> Result < StorageEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_storage_event_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & StorageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_storage_event_StorageEvent ( self_ : < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_init_storage_event_StorageEvent ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_storage_event_with_can_bubble_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & StorageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_storage_event_with_can_bubble_StorageEvent ( self_ : < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; __widl_f_init_storage_event_with_can_bubble_StorageEvent ( self_ , type_ , can_bubble ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_storage_event_with_can_bubble_and_cancelable_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & StorageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_storage_event_with_can_bubble_and_cancelable_StorageEvent ( self_ : < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; __widl_f_init_storage_event_with_can_bubble_and_cancelable_StorageEvent ( self_ , type_ , can_bubble , cancelable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & StorageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble_and_cancelable_and_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , key : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_StorageEvent ( self_ : < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let key = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_StorageEvent ( self_ , type_ , can_bubble , cancelable , key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble_and_cancelable_and_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , key : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & StorageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value ( & self , type_ : & str , can_bubble : bool , cancelable : bool , key : Option < & str > , old_value : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_StorageEvent ( self_ : < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , old_value : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let key = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let old_value = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( old_value , & mut __stack ) ; __widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_StorageEvent ( self_ , type_ , can_bubble , cancelable , key , old_value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value ( & self , type_ : & str , can_bubble : bool , cancelable : bool , key : Option < & str > , old_value : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & StorageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value ( & self , type_ : & str , can_bubble : bool , cancelable : bool , key : Option < & str > , old_value : Option < & str > , new_value : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_StorageEvent ( self_ : < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , old_value : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_value : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let key = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let old_value = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( old_value , & mut __stack ) ; let new_value = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_value , & mut __stack ) ; __widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_StorageEvent ( self_ , type_ , can_bubble , cancelable , key , old_value , new_value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value ( & self , type_ : & str , can_bubble : bool , cancelable : bool , key : Option < & str > , old_value : Option < & str > , new_value : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & StorageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url ( & self , type_ : & str , can_bubble : bool , cancelable : bool , key : Option < & str > , old_value : Option < & str > , new_value : Option < & str > , url : Option < & str > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url_StorageEvent ( self_ : < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , old_value : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_value : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let key = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let old_value = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( old_value , & mut __stack ) ; let new_value = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_value , & mut __stack ) ; let url = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url_StorageEvent ( self_ , type_ , can_bubble , cancelable , key , old_value , new_value , url ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url ( & self , type_ : & str , can_bubble : bool , cancelable : bool , key : Option < & str > , old_value : Option < & str > , new_value : Option < & str > , url : Option < & str > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url_and_storage_area_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & StorageEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < & Storage > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `Storage`, `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url_and_storage_area ( & self , type_ : & str , can_bubble : bool , cancelable : bool , key : Option < & str > , old_value : Option < & str > , new_value : Option < & str > , url : Option < & str > , storage_area : Option < & Storage > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url_and_storage_area_StorageEvent ( self_ : < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , old_value : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , new_value : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , storage_area : < Option < & Storage > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let key = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let old_value = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( old_value , & mut __stack ) ; let new_value = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( new_value , & mut __stack ) ; let url = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let storage_area = < Option < & Storage > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( storage_area , & mut __stack ) ; __widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url_and_storage_area_StorageEvent ( self_ , type_ , can_bubble , cancelable , key , old_value , new_value , url , storage_area ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initStorageEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/initStorageEvent)\n\n*This API requires the following crate features to be activated: `Storage`, `StorageEvent`*" ] pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url_and_storage_area ( & self , type_ : & str , can_bubble : bool , cancelable : bool , key : Option < & str > , old_value : Option < & str > , new_value : Option < & str > , url : Option < & str > , storage_area : Option < & Storage > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_key_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StorageEvent as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `key` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/key)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn key ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_key_StorageEvent ( self_ : < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_key_StorageEvent ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `key` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/key)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn key ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_old_value_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StorageEvent as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oldValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/oldValue)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn old_value ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_old_value_StorageEvent ( self_ : < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_old_value_StorageEvent ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oldValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/oldValue)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn old_value ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_value_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StorageEvent as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `newValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/newValue)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn new_value ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_value_StorageEvent ( self_ : < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_new_value_StorageEvent ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `newValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/newValue)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn new_value ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_url_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StorageEvent as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/url)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn url ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_url_StorageEvent ( self_ : < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_url_StorageEvent ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/url)\n\n*This API requires the following crate features to be activated: `StorageEvent`*" ] pub fn url ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_storage_area_StorageEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StorageEvent as WasmDescribe > :: describe ( ) ; < Option < Storage > as WasmDescribe > :: describe ( ) ; } impl StorageEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `storageArea` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/storageArea)\n\n*This API requires the following crate features to be activated: `Storage`, `StorageEvent`*" ] pub fn storage_area ( & self , ) -> Option < Storage > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_storage_area_StorageEvent ( self_ : < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Storage > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_storage_area_StorageEvent ( self_ ) } ; < Option < Storage > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `storageArea` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent/storageArea)\n\n*This API requires the following crate features to be activated: `Storage`, `StorageEvent`*" ] pub fn storage_area ( & self , ) -> Option < Storage > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `StorageManager` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager)\n\n*This API requires the following crate features to be activated: `StorageManager`*" ] # [ repr ( transparent ) ] pub struct StorageManager { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_StorageManager : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for StorageManager { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for StorageManager { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for StorageManager { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a StorageManager { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for StorageManager { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { StorageManager { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for StorageManager { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a StorageManager { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for StorageManager { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < StorageManager > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( StorageManager { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for StorageManager { # [ inline ] fn from ( obj : JsValue ) -> StorageManager { StorageManager { obj } } } impl AsRef < JsValue > for StorageManager { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < StorageManager > for JsValue { # [ inline ] fn from ( obj : StorageManager ) -> JsValue { obj . obj } } impl JsCast for StorageManager { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_StorageManager ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_StorageManager ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { StorageManager { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const StorageManager ) } } } ( ) } ; impl core :: ops :: Deref for StorageManager { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < StorageManager > for Object { # [ inline ] fn from ( obj : StorageManager ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for StorageManager { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_estimate_StorageManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StorageManager as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl StorageManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `estimate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/estimate)\n\n*This API requires the following crate features to be activated: `StorageManager`*" ] pub fn estimate ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_estimate_StorageManager ( self_ : < & StorageManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_estimate_StorageManager ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `estimate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/estimate)\n\n*This API requires the following crate features to be activated: `StorageManager`*" ] pub fn estimate ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_persist_StorageManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StorageManager as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl StorageManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `persist()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persist)\n\n*This API requires the following crate features to be activated: `StorageManager`*" ] pub fn persist ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_persist_StorageManager ( self_ : < & StorageManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_persist_StorageManager ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `persist()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persist)\n\n*This API requires the following crate features to be activated: `StorageManager`*" ] pub fn persist ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_persisted_StorageManager ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StorageManager as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl StorageManager { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `persisted()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persisted)\n\n*This API requires the following crate features to be activated: `StorageManager`*" ] pub fn persisted ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_persisted_StorageManager ( self_ : < & StorageManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StorageManager as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_persisted_StorageManager ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `persisted()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persisted)\n\n*This API requires the following crate features to be activated: `StorageManager`*" ] pub fn persisted ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `StyleSheet` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet)\n\n*This API requires the following crate features to be activated: `StyleSheet`*" ] # [ repr ( transparent ) ] pub struct StyleSheet { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_StyleSheet : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for StyleSheet { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for StyleSheet { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for StyleSheet { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a StyleSheet { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for StyleSheet { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { StyleSheet { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for StyleSheet { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a StyleSheet { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for StyleSheet { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < StyleSheet > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( StyleSheet { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for StyleSheet { # [ inline ] fn from ( obj : JsValue ) -> StyleSheet { StyleSheet { obj } } } impl AsRef < JsValue > for StyleSheet { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < StyleSheet > for JsValue { # [ inline ] fn from ( obj : StyleSheet ) -> JsValue { obj . obj } } impl JsCast for StyleSheet { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_StyleSheet ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_StyleSheet ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { StyleSheet { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const StyleSheet ) } } } ( ) } ; impl core :: ops :: Deref for StyleSheet { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < StyleSheet > for Object { # [ inline ] fn from ( obj : StyleSheet ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for StyleSheet { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_StyleSheet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StyleSheet as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl StyleSheet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/type)\n\n*This API requires the following crate features to be activated: `StyleSheet`*" ] pub fn type_ ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_StyleSheet ( self_ : < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_StyleSheet ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/type)\n\n*This API requires the following crate features to be activated: `StyleSheet`*" ] pub fn type_ ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_StyleSheet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StyleSheet as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl StyleSheet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/href)\n\n*This API requires the following crate features to be activated: `StyleSheet`*" ] pub fn href ( & self , ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_StyleSheet ( self_ : < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_StyleSheet ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/href)\n\n*This API requires the following crate features to be activated: `StyleSheet`*" ] pub fn href ( & self , ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_owner_node_StyleSheet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StyleSheet as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl StyleSheet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ownerNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/ownerNode)\n\n*This API requires the following crate features to be activated: `Node`, `StyleSheet`*" ] pub fn owner_node ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_owner_node_StyleSheet ( self_ : < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_owner_node_StyleSheet ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ownerNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/ownerNode)\n\n*This API requires the following crate features to be activated: `Node`, `StyleSheet`*" ] pub fn owner_node ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_parent_style_sheet_StyleSheet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StyleSheet as WasmDescribe > :: describe ( ) ; < Option < StyleSheet > as WasmDescribe > :: describe ( ) ; } impl StyleSheet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `parentStyleSheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/parentStyleSheet)\n\n*This API requires the following crate features to be activated: `StyleSheet`*" ] pub fn parent_style_sheet ( & self , ) -> Option < StyleSheet > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_parent_style_sheet_StyleSheet ( self_ : < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_parent_style_sheet_StyleSheet ( self_ ) } ; < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `parentStyleSheet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/parentStyleSheet)\n\n*This API requires the following crate features to be activated: `StyleSheet`*" ] pub fn parent_style_sheet ( & self , ) -> Option < StyleSheet > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_title_StyleSheet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StyleSheet as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl StyleSheet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `title` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/title)\n\n*This API requires the following crate features to be activated: `StyleSheet`*" ] pub fn title ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_title_StyleSheet ( self_ : < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_title_StyleSheet ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `title` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/title)\n\n*This API requires the following crate features to be activated: `StyleSheet`*" ] pub fn title ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_StyleSheet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StyleSheet as WasmDescribe > :: describe ( ) ; < MediaList as WasmDescribe > :: describe ( ) ; } impl StyleSheet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/media)\n\n*This API requires the following crate features to be activated: `MediaList`, `StyleSheet`*" ] pub fn media ( & self , ) -> MediaList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_StyleSheet ( self_ : < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_StyleSheet ( self_ ) } ; < MediaList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `media` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/media)\n\n*This API requires the following crate features to be activated: `MediaList`, `StyleSheet`*" ] pub fn media ( & self , ) -> MediaList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disabled_StyleSheet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StyleSheet as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl StyleSheet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/disabled)\n\n*This API requires the following crate features to be activated: `StyleSheet`*" ] pub fn disabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disabled_StyleSheet ( self_ : < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_disabled_StyleSheet ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/disabled)\n\n*This API requires the following crate features to be activated: `StyleSheet`*" ] pub fn disabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_disabled_StyleSheet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & StyleSheet as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl StyleSheet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/disabled)\n\n*This API requires the following crate features to be activated: `StyleSheet`*" ] pub fn set_disabled ( & self , disabled : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_disabled_StyleSheet ( self_ : < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , disabled : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StyleSheet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let disabled = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( disabled , & mut __stack ) ; __widl_f_set_disabled_StyleSheet ( self_ , disabled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disabled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheet/disabled)\n\n*This API requires the following crate features to be activated: `StyleSheet`*" ] pub fn set_disabled ( & self , disabled : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `StyleSheetList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheetList)\n\n*This API requires the following crate features to be activated: `StyleSheetList`*" ] # [ repr ( transparent ) ] pub struct StyleSheetList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_StyleSheetList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for StyleSheetList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for StyleSheetList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for StyleSheetList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a StyleSheetList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for StyleSheetList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { StyleSheetList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for StyleSheetList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a StyleSheetList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for StyleSheetList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < StyleSheetList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( StyleSheetList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for StyleSheetList { # [ inline ] fn from ( obj : JsValue ) -> StyleSheetList { StyleSheetList { obj } } } impl AsRef < JsValue > for StyleSheetList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < StyleSheetList > for JsValue { # [ inline ] fn from ( obj : StyleSheetList ) -> JsValue { obj . obj } } impl JsCast for StyleSheetList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_StyleSheetList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_StyleSheetList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { StyleSheetList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const StyleSheetList ) } } } ( ) } ; impl core :: ops :: Deref for StyleSheetList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < StyleSheetList > for Object { # [ inline ] fn from ( obj : StyleSheetList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for StyleSheetList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_StyleSheetList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & StyleSheetList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < StyleSheet > as WasmDescribe > :: describe ( ) ; } impl StyleSheetList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheetList/item)\n\n*This API requires the following crate features to be activated: `StyleSheet`, `StyleSheetList`*" ] pub fn item ( & self , index : u32 ) -> Option < StyleSheet > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_StyleSheetList ( self_ : < & StyleSheetList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StyleSheetList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_StyleSheetList ( self_ , index ) } ; < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheetList/item)\n\n*This API requires the following crate features to be activated: `StyleSheet`, `StyleSheetList`*" ] pub fn item ( & self , index : u32 ) -> Option < StyleSheet > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_StyleSheetList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & StyleSheetList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < StyleSheet > as WasmDescribe > :: describe ( ) ; } impl StyleSheetList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `StyleSheet`, `StyleSheetList`*" ] pub fn get ( & self , index : u32 ) -> Option < StyleSheet > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_StyleSheetList ( self_ : < & StyleSheetList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StyleSheetList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_StyleSheetList ( self_ , index ) } ; < Option < StyleSheet > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `StyleSheet`, `StyleSheetList`*" ] pub fn get ( & self , index : u32 ) -> Option < StyleSheet > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_StyleSheetList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & StyleSheetList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl StyleSheetList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheetList/length)\n\n*This API requires the following crate features to be activated: `StyleSheetList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_StyleSheetList ( self_ : < & StyleSheetList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & StyleSheetList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_StyleSheetList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheetList/length)\n\n*This API requires the following crate features to be activated: `StyleSheetList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `SubtleCrypto` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto)\n\n*This API requires the following crate features to be activated: `SubtleCrypto`*" ] # [ repr ( transparent ) ] pub struct SubtleCrypto { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_SubtleCrypto : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for SubtleCrypto { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for SubtleCrypto { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for SubtleCrypto { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a SubtleCrypto { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for SubtleCrypto { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { SubtleCrypto { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for SubtleCrypto { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a SubtleCrypto { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for SubtleCrypto { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < SubtleCrypto > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( SubtleCrypto { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for SubtleCrypto { # [ inline ] fn from ( obj : JsValue ) -> SubtleCrypto { SubtleCrypto { obj } } } impl AsRef < JsValue > for SubtleCrypto { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < SubtleCrypto > for JsValue { # [ inline ] fn from ( obj : SubtleCrypto ) -> JsValue { obj . obj } } impl JsCast for SubtleCrypto { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_SubtleCrypto ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_SubtleCrypto ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SubtleCrypto { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SubtleCrypto ) } } } ( ) } ; impl core :: ops :: Deref for SubtleCrypto { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < SubtleCrypto > for Object { # [ inline ] fn from ( obj : SubtleCrypto ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for SubtleCrypto { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decrypt_with_object_and_buffer_source_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn decrypt_with_object_and_buffer_source ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decrypt_with_object_and_buffer_source_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_decrypt_with_object_and_buffer_source_SubtleCrypto ( self_ , algorithm , key , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn decrypt_with_object_and_buffer_source ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decrypt_with_str_and_buffer_source_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn decrypt_with_str_and_buffer_source ( & self , algorithm : & str , key : & CryptoKey , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decrypt_with_str_and_buffer_source_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_decrypt_with_str_and_buffer_source_SubtleCrypto ( self_ , algorithm , key , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn decrypt_with_str_and_buffer_source ( & self , algorithm : & str , key : & CryptoKey , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decrypt_with_object_and_u8_array_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn decrypt_with_object_and_u8_array ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decrypt_with_object_and_u8_array_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_decrypt_with_object_and_u8_array_SubtleCrypto ( self_ , algorithm , key , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn decrypt_with_object_and_u8_array ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decrypt_with_str_and_u8_array_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn decrypt_with_str_and_u8_array ( & self , algorithm : & str , key : & CryptoKey , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decrypt_with_str_and_u8_array_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_decrypt_with_str_and_u8_array_SubtleCrypto ( self_ , algorithm , key , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn decrypt_with_str_and_u8_array ( & self , algorithm : & str , key : & CryptoKey , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_derive_bits_with_object_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deriveBits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveBits)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn derive_bits_with_object ( & self , algorithm : & :: js_sys :: Object , base_key : & CryptoKey , length : u32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_derive_bits_with_object_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , base_key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let base_key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( base_key , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_derive_bits_with_object_SubtleCrypto ( self_ , algorithm , base_key , length , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deriveBits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveBits)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn derive_bits_with_object ( & self , algorithm : & :: js_sys :: Object , base_key : & CryptoKey , length : u32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_derive_bits_with_str_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deriveBits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveBits)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn derive_bits_with_str ( & self , algorithm : & str , base_key : & CryptoKey , length : u32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_derive_bits_with_str_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , base_key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let base_key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( base_key , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_derive_bits_with_str_SubtleCrypto ( self_ , algorithm , base_key , length , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deriveBits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveBits)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn derive_bits_with_str ( & self , algorithm : & str , base_key : & CryptoKey , length : u32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_digest_with_object_and_buffer_source_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `digest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest)\n\n*This API requires the following crate features to be activated: `SubtleCrypto`*" ] pub fn digest_with_object_and_buffer_source ( & self , algorithm : & :: js_sys :: Object , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_digest_with_object_and_buffer_source_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_digest_with_object_and_buffer_source_SubtleCrypto ( self_ , algorithm , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `digest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest)\n\n*This API requires the following crate features to be activated: `SubtleCrypto`*" ] pub fn digest_with_object_and_buffer_source ( & self , algorithm : & :: js_sys :: Object , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_digest_with_str_and_buffer_source_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `digest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest)\n\n*This API requires the following crate features to be activated: `SubtleCrypto`*" ] pub fn digest_with_str_and_buffer_source ( & self , algorithm : & str , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_digest_with_str_and_buffer_source_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_digest_with_str_and_buffer_source_SubtleCrypto ( self_ , algorithm , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `digest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest)\n\n*This API requires the following crate features to be activated: `SubtleCrypto`*" ] pub fn digest_with_str_and_buffer_source ( & self , algorithm : & str , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_digest_with_object_and_u8_array_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `digest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest)\n\n*This API requires the following crate features to be activated: `SubtleCrypto`*" ] pub fn digest_with_object_and_u8_array ( & self , algorithm : & :: js_sys :: Object , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_digest_with_object_and_u8_array_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_digest_with_object_and_u8_array_SubtleCrypto ( self_ , algorithm , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `digest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest)\n\n*This API requires the following crate features to be activated: `SubtleCrypto`*" ] pub fn digest_with_object_and_u8_array ( & self , algorithm : & :: js_sys :: Object , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_digest_with_str_and_u8_array_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `digest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest)\n\n*This API requires the following crate features to be activated: `SubtleCrypto`*" ] pub fn digest_with_str_and_u8_array ( & self , algorithm : & str , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_digest_with_str_and_u8_array_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_digest_with_str_and_u8_array_SubtleCrypto ( self_ , algorithm , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `digest()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest)\n\n*This API requires the following crate features to be activated: `SubtleCrypto`*" ] pub fn digest_with_str_and_u8_array ( & self , algorithm : & str , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_encrypt_with_object_and_buffer_source_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `encrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn encrypt_with_object_and_buffer_source ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_encrypt_with_object_and_buffer_source_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_encrypt_with_object_and_buffer_source_SubtleCrypto ( self_ , algorithm , key , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `encrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn encrypt_with_object_and_buffer_source ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_encrypt_with_str_and_buffer_source_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `encrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn encrypt_with_str_and_buffer_source ( & self , algorithm : & str , key : & CryptoKey , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_encrypt_with_str_and_buffer_source_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_encrypt_with_str_and_buffer_source_SubtleCrypto ( self_ , algorithm , key , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `encrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn encrypt_with_str_and_buffer_source ( & self , algorithm : & str , key : & CryptoKey , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_encrypt_with_object_and_u8_array_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `encrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn encrypt_with_object_and_u8_array ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_encrypt_with_object_and_u8_array_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_encrypt_with_object_and_u8_array_SubtleCrypto ( self_ , algorithm , key , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `encrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn encrypt_with_object_and_u8_array ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_encrypt_with_str_and_u8_array_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `encrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn encrypt_with_str_and_u8_array ( & self , algorithm : & str , key : & CryptoKey , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_encrypt_with_str_and_u8_array_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_encrypt_with_str_and_u8_array_SubtleCrypto ( self_ , algorithm , key , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `encrypt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn encrypt_with_str_and_u8_array ( & self , algorithm : & str , key : & CryptoKey , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_export_key_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `exportKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/exportKey)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn export_key ( & self , format : & str , key : & CryptoKey ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_export_key_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let format = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; __widl_f_export_key_SubtleCrypto ( self_ , format , key , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `exportKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/exportKey)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn export_key ( & self , format : & str , key : & CryptoKey ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sign_with_object_and_buffer_source_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sign()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn sign_with_object_and_buffer_source ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sign_with_object_and_buffer_source_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_sign_with_object_and_buffer_source_SubtleCrypto ( self_ , algorithm , key , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sign()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn sign_with_object_and_buffer_source ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sign_with_str_and_buffer_source_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sign()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn sign_with_str_and_buffer_source ( & self , algorithm : & str , key : & CryptoKey , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sign_with_str_and_buffer_source_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_sign_with_str_and_buffer_source_SubtleCrypto ( self_ , algorithm , key , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sign()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn sign_with_str_and_buffer_source ( & self , algorithm : & str , key : & CryptoKey , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sign_with_object_and_u8_array_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sign()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn sign_with_object_and_u8_array ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sign_with_object_and_u8_array_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_sign_with_object_and_u8_array_SubtleCrypto ( self_ , algorithm , key , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sign()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn sign_with_object_and_u8_array ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sign_with_str_and_u8_array_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sign()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn sign_with_str_and_u8_array ( & self , algorithm : & str , key : & CryptoKey , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sign_with_str_and_u8_array_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_sign_with_str_and_u8_array_SubtleCrypto ( self_ , algorithm , key , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sign()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn sign_with_str_and_u8_array ( & self , algorithm : & str , key : & CryptoKey , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_verify_with_object_and_buffer_source_and_buffer_source_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_object_and_buffer_source_and_buffer_source ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , signature : & :: js_sys :: Object , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_verify_with_object_and_buffer_source_and_buffer_source_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , signature : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let signature = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( signature , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_verify_with_object_and_buffer_source_and_buffer_source_SubtleCrypto ( self_ , algorithm , key , signature , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_object_and_buffer_source_and_buffer_source ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , signature : & :: js_sys :: Object , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_verify_with_str_and_buffer_source_and_buffer_source_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_str_and_buffer_source_and_buffer_source ( & self , algorithm : & str , key : & CryptoKey , signature : & :: js_sys :: Object , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_verify_with_str_and_buffer_source_and_buffer_source_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , signature : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let signature = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( signature , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_verify_with_str_and_buffer_source_and_buffer_source_SubtleCrypto ( self_ , algorithm , key , signature , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_str_and_buffer_source_and_buffer_source ( & self , algorithm : & str , key : & CryptoKey , signature : & :: js_sys :: Object , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_verify_with_object_and_u8_array_and_buffer_source_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_object_and_u8_array_and_buffer_source ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , signature : & mut [ u8 ] , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_verify_with_object_and_u8_array_and_buffer_source_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , signature : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let signature = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( signature , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_verify_with_object_and_u8_array_and_buffer_source_SubtleCrypto ( self_ , algorithm , key , signature , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_object_and_u8_array_and_buffer_source ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , signature : & mut [ u8 ] , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_verify_with_str_and_u8_array_and_buffer_source_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_str_and_u8_array_and_buffer_source ( & self , algorithm : & str , key : & CryptoKey , signature : & mut [ u8 ] , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_verify_with_str_and_u8_array_and_buffer_source_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , signature : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let signature = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( signature , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_verify_with_str_and_u8_array_and_buffer_source_SubtleCrypto ( self_ , algorithm , key , signature , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_str_and_u8_array_and_buffer_source ( & self , algorithm : & str , key : & CryptoKey , signature : & mut [ u8 ] , data : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_verify_with_object_and_buffer_source_and_u8_array_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_object_and_buffer_source_and_u8_array ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , signature : & :: js_sys :: Object , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_verify_with_object_and_buffer_source_and_u8_array_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , signature : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let signature = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( signature , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_verify_with_object_and_buffer_source_and_u8_array_SubtleCrypto ( self_ , algorithm , key , signature , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_object_and_buffer_source_and_u8_array ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , signature : & :: js_sys :: Object , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_verify_with_str_and_buffer_source_and_u8_array_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_str_and_buffer_source_and_u8_array ( & self , algorithm : & str , key : & CryptoKey , signature : & :: js_sys :: Object , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_verify_with_str_and_buffer_source_and_u8_array_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , signature : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let signature = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( signature , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_verify_with_str_and_buffer_source_and_u8_array_SubtleCrypto ( self_ , algorithm , key , signature , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_str_and_buffer_source_and_u8_array ( & self , algorithm : & str , key : & CryptoKey , signature : & :: js_sys :: Object , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_verify_with_object_and_u8_array_and_u8_array_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_object_and_u8_array_and_u8_array ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , signature : & mut [ u8 ] , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_verify_with_object_and_u8_array_and_u8_array_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , signature : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let signature = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( signature , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_verify_with_object_and_u8_array_and_u8_array_SubtleCrypto ( self_ , algorithm , key , signature , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_object_and_u8_array_and_u8_array ( & self , algorithm : & :: js_sys :: Object , key : & CryptoKey , signature : & mut [ u8 ] , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_verify_with_str_and_u8_array_and_u8_array_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_str_and_u8_array_and_u8_array ( & self , algorithm : & str , key : & CryptoKey , signature : & mut [ u8 ] , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_verify_with_str_and_u8_array_and_u8_array_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , signature : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( algorithm , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let signature = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( signature , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_verify_with_str_and_u8_array_and_u8_array_SubtleCrypto ( self_ , algorithm , key , signature , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `verify()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn verify_with_str_and_u8_array_and_u8_array ( & self , algorithm : & str , key : & CryptoKey , signature : & mut [ u8 ] , data : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_wrap_key_with_object_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `wrapKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/wrapKey)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn wrap_key_with_object ( & self , format : & str , key : & CryptoKey , wrapping_key : & CryptoKey , wrap_algorithm : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_wrap_key_with_object_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , wrapping_key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , wrap_algorithm : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let format = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let wrapping_key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( wrapping_key , & mut __stack ) ; let wrap_algorithm = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( wrap_algorithm , & mut __stack ) ; __widl_f_wrap_key_with_object_SubtleCrypto ( self_ , format , key , wrapping_key , wrap_algorithm , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `wrapKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/wrapKey)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn wrap_key_with_object ( & self , format : & str , key : & CryptoKey , wrapping_key : & CryptoKey , wrap_algorithm : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_wrap_key_with_str_SubtleCrypto ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & SubtleCrypto as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & CryptoKey as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl SubtleCrypto { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `wrapKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/wrapKey)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn wrap_key_with_str ( & self , format : & str , key : & CryptoKey , wrapping_key : & CryptoKey , wrap_algorithm : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_wrap_key_with_str_SubtleCrypto ( self_ : < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , wrapping_key : < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , wrap_algorithm : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & SubtleCrypto as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let format = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( key , & mut __stack ) ; let wrapping_key = < & CryptoKey as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( wrapping_key , & mut __stack ) ; let wrap_algorithm = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( wrap_algorithm , & mut __stack ) ; __widl_f_wrap_key_with_str_SubtleCrypto ( self_ , format , key , wrapping_key , wrap_algorithm , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `wrapKey()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/wrapKey)\n\n*This API requires the following crate features to be activated: `CryptoKey`, `SubtleCrypto`*" ] pub fn wrap_key_with_str ( & self , format : & str , key : & CryptoKey , wrapping_key : & CryptoKey , wrap_algorithm : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TCPServerSocket` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] # [ repr ( transparent ) ] pub struct TcpServerSocket { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TcpServerSocket : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TcpServerSocket { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TcpServerSocket { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TcpServerSocket { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TcpServerSocket { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TcpServerSocket { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TcpServerSocket { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TcpServerSocket { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TcpServerSocket { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TcpServerSocket { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TcpServerSocket > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TcpServerSocket { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TcpServerSocket { # [ inline ] fn from ( obj : JsValue ) -> TcpServerSocket { TcpServerSocket { obj } } } impl AsRef < JsValue > for TcpServerSocket { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TcpServerSocket > for JsValue { # [ inline ] fn from ( obj : TcpServerSocket ) -> JsValue { obj . obj } } impl JsCast for TcpServerSocket { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TCPServerSocket ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TCPServerSocket ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TcpServerSocket { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TcpServerSocket ) } } } ( ) } ; impl core :: ops :: Deref for TcpServerSocket { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < TcpServerSocket > for EventTarget { # [ inline ] fn from ( obj : TcpServerSocket ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for TcpServerSocket { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < TcpServerSocket > for Object { # [ inline ] fn from ( obj : TcpServerSocket ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TcpServerSocket { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_TCPServerSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < u16 as WasmDescribe > :: describe ( ) ; < TcpServerSocket as WasmDescribe > :: describe ( ) ; } impl TcpServerSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TCPServerSocket(..)` constructor, creating a new instance of `TCPServerSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/TCPServerSocket)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn new ( port : u16 ) -> Result < TcpServerSocket , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_TCPServerSocket ( port : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TcpServerSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let port = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( port , & mut __stack ) ; __widl_f_new_TCPServerSocket ( port , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TcpServerSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TCPServerSocket(..)` constructor, creating a new instance of `TCPServerSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/TCPServerSocket)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn new ( port : u16 ) -> Result < TcpServerSocket , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_TCPServerSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < u16 as WasmDescribe > :: describe ( ) ; < & ServerSocketOptions as WasmDescribe > :: describe ( ) ; < TcpServerSocket as WasmDescribe > :: describe ( ) ; } impl TcpServerSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TCPServerSocket(..)` constructor, creating a new instance of `TCPServerSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/TCPServerSocket)\n\n*This API requires the following crate features to be activated: `ServerSocketOptions`, `TcpServerSocket`*" ] pub fn new_with_options ( port : u16 , options : & ServerSocketOptions ) -> Result < TcpServerSocket , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_TCPServerSocket ( port : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ServerSocketOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TcpServerSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let port = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( port , & mut __stack ) ; let options = < & ServerSocketOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_TCPServerSocket ( port , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TcpServerSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TCPServerSocket(..)` constructor, creating a new instance of `TCPServerSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/TCPServerSocket)\n\n*This API requires the following crate features to be activated: `ServerSocketOptions`, `TcpServerSocket`*" ] pub fn new_with_options ( port : u16 , options : & ServerSocketOptions ) -> Result < TcpServerSocket , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_and_backlog_TCPServerSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < u16 as WasmDescribe > :: describe ( ) ; < & ServerSocketOptions as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < TcpServerSocket as WasmDescribe > :: describe ( ) ; } impl TcpServerSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TCPServerSocket(..)` constructor, creating a new instance of `TCPServerSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/TCPServerSocket)\n\n*This API requires the following crate features to be activated: `ServerSocketOptions`, `TcpServerSocket`*" ] pub fn new_with_options_and_backlog ( port : u16 , options : & ServerSocketOptions , backlog : u16 ) -> Result < TcpServerSocket , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_and_backlog_TCPServerSocket ( port : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ServerSocketOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , backlog : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TcpServerSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let port = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( port , & mut __stack ) ; let options = < & ServerSocketOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; let backlog = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( backlog , & mut __stack ) ; __widl_f_new_with_options_and_backlog_TCPServerSocket ( port , options , backlog , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TcpServerSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TCPServerSocket(..)` constructor, creating a new instance of `TCPServerSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/TCPServerSocket)\n\n*This API requires the following crate features to be activated: `ServerSocketOptions`, `TcpServerSocket`*" ] pub fn new_with_options_and_backlog ( port : u16 , options : & ServerSocketOptions , backlog : u16 ) -> Result < TcpServerSocket , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_TCPServerSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpServerSocket as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TcpServerSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/close)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_TCPServerSocket ( self_ : < & TcpServerSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpServerSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_TCPServerSocket ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/close)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_local_port_TCPServerSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpServerSocket as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl TcpServerSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `localPort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/localPort)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn local_port ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_local_port_TCPServerSocket ( self_ : < & TcpServerSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpServerSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_local_port_TCPServerSocket ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `localPort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/localPort)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn local_port ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onconnect_TCPServerSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpServerSocket as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl TcpServerSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onconnect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/onconnect)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn onconnect ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onconnect_TCPServerSocket ( self_ : < & TcpServerSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpServerSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onconnect_TCPServerSocket ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onconnect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/onconnect)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn onconnect ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onconnect_TCPServerSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TcpServerSocket as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TcpServerSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onconnect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/onconnect)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn set_onconnect ( & self , onconnect : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onconnect_TCPServerSocket ( self_ : < & TcpServerSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onconnect : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpServerSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onconnect = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onconnect , & mut __stack ) ; __widl_f_set_onconnect_TCPServerSocket ( self_ , onconnect ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onconnect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/onconnect)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn set_onconnect ( & self , onconnect : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_TCPServerSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpServerSocket as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl TcpServerSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/onerror)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_TCPServerSocket ( self_ : < & TcpServerSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpServerSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_TCPServerSocket ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/onerror)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_TCPServerSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TcpServerSocket as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TcpServerSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/onerror)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_TCPServerSocket ( self_ : < & TcpServerSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpServerSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_TCPServerSocket ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocket/onerror)\n\n*This API requires the following crate features to be activated: `TcpServerSocket`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TCPServerSocketEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocketEvent)\n\n*This API requires the following crate features to be activated: `TcpServerSocketEvent`*" ] # [ repr ( transparent ) ] pub struct TcpServerSocketEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TcpServerSocketEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TcpServerSocketEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TcpServerSocketEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TcpServerSocketEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TcpServerSocketEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TcpServerSocketEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TcpServerSocketEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TcpServerSocketEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TcpServerSocketEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TcpServerSocketEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TcpServerSocketEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TcpServerSocketEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TcpServerSocketEvent { # [ inline ] fn from ( obj : JsValue ) -> TcpServerSocketEvent { TcpServerSocketEvent { obj } } } impl AsRef < JsValue > for TcpServerSocketEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TcpServerSocketEvent > for JsValue { # [ inline ] fn from ( obj : TcpServerSocketEvent ) -> JsValue { obj . obj } } impl JsCast for TcpServerSocketEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TCPServerSocketEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TCPServerSocketEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TcpServerSocketEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TcpServerSocketEvent ) } } } ( ) } ; impl core :: ops :: Deref for TcpServerSocketEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < TcpServerSocketEvent > for Event { # [ inline ] fn from ( obj : TcpServerSocketEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for TcpServerSocketEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < TcpServerSocketEvent > for Object { # [ inline ] fn from ( obj : TcpServerSocketEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TcpServerSocketEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_TCPServerSocketEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < TcpServerSocketEvent as WasmDescribe > :: describe ( ) ; } impl TcpServerSocketEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TCPServerSocketEvent(..)` constructor, creating a new instance of `TCPServerSocketEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocketEvent/TCPServerSocketEvent)\n\n*This API requires the following crate features to be activated: `TcpServerSocketEvent`*" ] pub fn new ( type_ : & str ) -> Result < TcpServerSocketEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_TCPServerSocketEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TcpServerSocketEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_TCPServerSocketEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TcpServerSocketEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TCPServerSocketEvent(..)` constructor, creating a new instance of `TCPServerSocketEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocketEvent/TCPServerSocketEvent)\n\n*This API requires the following crate features to be activated: `TcpServerSocketEvent`*" ] pub fn new ( type_ : & str ) -> Result < TcpServerSocketEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_TCPServerSocketEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & TcpServerSocketEventInit as WasmDescribe > :: describe ( ) ; < TcpServerSocketEvent as WasmDescribe > :: describe ( ) ; } impl TcpServerSocketEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TCPServerSocketEvent(..)` constructor, creating a new instance of `TCPServerSocketEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocketEvent/TCPServerSocketEvent)\n\n*This API requires the following crate features to be activated: `TcpServerSocketEvent`, `TcpServerSocketEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & TcpServerSocketEventInit ) -> Result < TcpServerSocketEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_TCPServerSocketEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & TcpServerSocketEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TcpServerSocketEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & TcpServerSocketEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_TCPServerSocketEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TcpServerSocketEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TCPServerSocketEvent(..)` constructor, creating a new instance of `TCPServerSocketEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocketEvent/TCPServerSocketEvent)\n\n*This API requires the following crate features to be activated: `TcpServerSocketEvent`, `TcpServerSocketEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & TcpServerSocketEventInit ) -> Result < TcpServerSocketEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_socket_TCPServerSocketEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpServerSocketEvent as WasmDescribe > :: describe ( ) ; < TcpSocket as WasmDescribe > :: describe ( ) ; } impl TcpServerSocketEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `socket` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocketEvent/socket)\n\n*This API requires the following crate features to be activated: `TcpServerSocketEvent`, `TcpSocket`*" ] pub fn socket ( & self , ) -> TcpSocket { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_socket_TCPServerSocketEvent ( self_ : < & TcpServerSocketEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TcpSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpServerSocketEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_socket_TCPServerSocketEvent ( self_ ) } ; < TcpSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `socket` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPServerSocketEvent/socket)\n\n*This API requires the following crate features to be activated: `TcpServerSocketEvent`, `TcpSocket`*" ] pub fn socket ( & self , ) -> TcpSocket { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TCPSocket` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] # [ repr ( transparent ) ] pub struct TcpSocket { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TcpSocket : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TcpSocket { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TcpSocket { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TcpSocket { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TcpSocket { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TcpSocket { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TcpSocket { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TcpSocket { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TcpSocket { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TcpSocket { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TcpSocket > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TcpSocket { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TcpSocket { # [ inline ] fn from ( obj : JsValue ) -> TcpSocket { TcpSocket { obj } } } impl AsRef < JsValue > for TcpSocket { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TcpSocket > for JsValue { # [ inline ] fn from ( obj : TcpSocket ) -> JsValue { obj . obj } } impl JsCast for TcpSocket { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TCPSocket ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TCPSocket ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TcpSocket { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TcpSocket ) } } } ( ) } ; impl core :: ops :: Deref for TcpSocket { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < TcpSocket > for EventTarget { # [ inline ] fn from ( obj : TcpSocket ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for TcpSocket { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < TcpSocket > for Object { # [ inline ] fn from ( obj : TcpSocket ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TcpSocket { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < TcpSocket as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TCPSocket(..)` constructor, creating a new instance of `TCPSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/TCPSocket)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn new ( host : & str , port : u16 ) -> Result < TcpSocket , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_TCPSocket ( host : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , port : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TcpSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let host = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( host , & mut __stack ) ; let port = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( port , & mut __stack ) ; __widl_f_new_TCPSocket ( host , port , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TcpSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TCPSocket(..)` constructor, creating a new instance of `TCPSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/TCPSocket)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn new ( host : & str , port : u16 ) -> Result < TcpSocket , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < & SocketOptions as WasmDescribe > :: describe ( ) ; < TcpSocket as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TCPSocket(..)` constructor, creating a new instance of `TCPSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/TCPSocket)\n\n*This API requires the following crate features to be activated: `SocketOptions`, `TcpSocket`*" ] pub fn new_with_options ( host : & str , port : u16 , options : & SocketOptions ) -> Result < TcpSocket , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_TCPSocket ( host : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , port : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & SocketOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TcpSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let host = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( host , & mut __stack ) ; let port = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( port , & mut __stack ) ; let options = < & SocketOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_TCPSocket ( host , port , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TcpSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TCPSocket(..)` constructor, creating a new instance of `TCPSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/TCPSocket)\n\n*This API requires the following crate features to be activated: `SocketOptions`, `TcpSocket`*" ] pub fn new_with_options ( host : & str , port : u16 , options : & SocketOptions ) -> Result < TcpSocket , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/close)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn close ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_TCPSocket ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/close)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn close ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_resume_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `resume()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/resume)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn resume ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_resume_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_resume_TCPSocket ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `resume()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/resume)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn resume ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_str_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/send)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn send_with_str ( & self , data : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_str_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_str_TCPSocket ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/send)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn send_with_str ( & self , data : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_array_buffer_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/send)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn send_with_array_buffer ( & self , data : & :: js_sys :: ArrayBuffer ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_array_buffer_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_array_buffer_TCPSocket ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/send)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn send_with_array_buffer ( & self , data : & :: js_sys :: ArrayBuffer ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_array_buffer_and_byte_offset_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/send)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn send_with_array_buffer_and_byte_offset ( & self , data : & :: js_sys :: ArrayBuffer , byte_offset : u32 ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_array_buffer_and_byte_offset_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , byte_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let byte_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( byte_offset , & mut __stack ) ; __widl_f_send_with_array_buffer_and_byte_offset_TCPSocket ( self_ , data , byte_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/send)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn send_with_array_buffer_and_byte_offset ( & self , data : & :: js_sys :: ArrayBuffer , byte_offset : u32 ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_array_buffer_and_byte_offset_and_byte_length_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/send)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn send_with_array_buffer_and_byte_offset_and_byte_length ( & self , data : & :: js_sys :: ArrayBuffer , byte_offset : u32 , byte_length : u32 ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_array_buffer_and_byte_offset_and_byte_length_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , byte_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , byte_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let byte_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( byte_offset , & mut __stack ) ; let byte_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( byte_length , & mut __stack ) ; __widl_f_send_with_array_buffer_and_byte_offset_and_byte_length_TCPSocket ( self_ , data , byte_offset , byte_length , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/send)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn send_with_array_buffer_and_byte_offset_and_byte_length ( & self , data : & :: js_sys :: ArrayBuffer , byte_offset : u32 , byte_length : u32 ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_suspend_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `suspend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/suspend)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn suspend ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_suspend_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_suspend_TCPSocket ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `suspend()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/suspend)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn suspend ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_upgrade_to_secure_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `upgradeToSecure()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/upgradeToSecure)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn upgrade_to_secure ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_upgrade_to_secure_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_upgrade_to_secure_TCPSocket ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `upgradeToSecure()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/upgradeToSecure)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn upgrade_to_secure ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_host_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `host` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/host)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn host ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_host_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_host_TCPSocket ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `host` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/host)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn host ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_port_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/port)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn port ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_port_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_port_TCPSocket ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/port)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn port ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ssl_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ssl` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ssl)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn ssl ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ssl_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ssl_TCPSocket ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ssl` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ssl)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn ssl ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffered_amount_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferedAmount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/bufferedAmount)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn buffered_amount ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffered_amount_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_buffered_amount_TCPSocket ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferedAmount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/bufferedAmount)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn buffered_amount ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_state_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < TcpReadyState as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/readyState)\n\n*This API requires the following crate features to be activated: `TcpReadyState`, `TcpSocket`*" ] pub fn ready_state ( & self , ) -> TcpReadyState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_state_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TcpReadyState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_state_TCPSocket ( self_ ) } ; < TcpReadyState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/readyState)\n\n*This API requires the following crate features to be activated: `TcpReadyState`, `TcpSocket`*" ] pub fn ready_state ( & self , ) -> TcpReadyState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_binary_type_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < TcpSocketBinaryType as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `binaryType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/binaryType)\n\n*This API requires the following crate features to be activated: `TcpSocket`, `TcpSocketBinaryType`*" ] pub fn binary_type ( & self , ) -> TcpSocketBinaryType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_binary_type_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TcpSocketBinaryType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_binary_type_TCPSocket ( self_ ) } ; < TcpSocketBinaryType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `binaryType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/binaryType)\n\n*This API requires the following crate features to be activated: `TcpSocket`, `TcpSocketBinaryType`*" ] pub fn binary_type ( & self , ) -> TcpSocketBinaryType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onopen_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onopen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onopen)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn onopen ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onopen_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onopen_TCPSocket ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onopen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onopen)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn onopen ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onopen_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onopen` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onopen)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn set_onopen ( & self , onopen : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onopen_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onopen : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onopen = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onopen , & mut __stack ) ; __widl_f_set_onopen_TCPSocket ( self_ , onopen ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onopen` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onopen)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn set_onopen ( & self , onopen : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondrain_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrain` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ondrain)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn ondrain ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondrain_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondrain_TCPSocket ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrain` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ondrain)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn ondrain ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondrain_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrain` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ondrain)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn set_ondrain ( & self , ondrain : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondrain_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondrain : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondrain = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondrain , & mut __stack ) ; __widl_f_set_ondrain_TCPSocket ( self_ , ondrain ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrain` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ondrain)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn set_ondrain ( & self , ondrain : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondata_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ondata)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn ondata ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondata_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondata_TCPSocket ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ondata)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn ondata ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondata_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ondata)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn set_ondata ( & self , ondata : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondata_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondata : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondata = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondata , & mut __stack ) ; __widl_f_set_ondata_TCPSocket ( self_ , ondata ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/ondata)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn set_ondata ( & self , ondata : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onerror)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_TCPSocket ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onerror)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onerror)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_TCPSocket ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onerror)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclose_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onclose)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclose_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclose_TCPSocket ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onclose)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclose_TCPSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TcpSocket as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TcpSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onclose)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclose_TCPSocket ( self_ : < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclose : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclose = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclose , & mut __stack ) ; __widl_f_set_onclose_TCPSocket ( self_ , onclose ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket/onclose)\n\n*This API requires the following crate features to be activated: `TcpSocket`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TCPSocketErrorEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent)\n\n*This API requires the following crate features to be activated: `TcpSocketErrorEvent`*" ] # [ repr ( transparent ) ] pub struct TcpSocketErrorEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TcpSocketErrorEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TcpSocketErrorEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TcpSocketErrorEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TcpSocketErrorEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TcpSocketErrorEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TcpSocketErrorEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TcpSocketErrorEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TcpSocketErrorEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TcpSocketErrorEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TcpSocketErrorEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TcpSocketErrorEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TcpSocketErrorEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TcpSocketErrorEvent { # [ inline ] fn from ( obj : JsValue ) -> TcpSocketErrorEvent { TcpSocketErrorEvent { obj } } } impl AsRef < JsValue > for TcpSocketErrorEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TcpSocketErrorEvent > for JsValue { # [ inline ] fn from ( obj : TcpSocketErrorEvent ) -> JsValue { obj . obj } } impl JsCast for TcpSocketErrorEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TCPSocketErrorEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TCPSocketErrorEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TcpSocketErrorEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TcpSocketErrorEvent ) } } } ( ) } ; impl core :: ops :: Deref for TcpSocketErrorEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < TcpSocketErrorEvent > for Event { # [ inline ] fn from ( obj : TcpSocketErrorEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for TcpSocketErrorEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < TcpSocketErrorEvent > for Object { # [ inline ] fn from ( obj : TcpSocketErrorEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TcpSocketErrorEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_TCPSocketErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < TcpSocketErrorEvent as WasmDescribe > :: describe ( ) ; } impl TcpSocketErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TCPSocketErrorEvent(..)` constructor, creating a new instance of `TCPSocketErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent/TCPSocketErrorEvent)\n\n*This API requires the following crate features to be activated: `TcpSocketErrorEvent`*" ] pub fn new ( type_ : & str ) -> Result < TcpSocketErrorEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_TCPSocketErrorEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TcpSocketErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_TCPSocketErrorEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TcpSocketErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TCPSocketErrorEvent(..)` constructor, creating a new instance of `TCPSocketErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent/TCPSocketErrorEvent)\n\n*This API requires the following crate features to be activated: `TcpSocketErrorEvent`*" ] pub fn new ( type_ : & str ) -> Result < TcpSocketErrorEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_TCPSocketErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & TcpSocketErrorEventInit as WasmDescribe > :: describe ( ) ; < TcpSocketErrorEvent as WasmDescribe > :: describe ( ) ; } impl TcpSocketErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TCPSocketErrorEvent(..)` constructor, creating a new instance of `TCPSocketErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent/TCPSocketErrorEvent)\n\n*This API requires the following crate features to be activated: `TcpSocketErrorEvent`, `TcpSocketErrorEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & TcpSocketErrorEventInit ) -> Result < TcpSocketErrorEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_TCPSocketErrorEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & TcpSocketErrorEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TcpSocketErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & TcpSocketErrorEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_TCPSocketErrorEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TcpSocketErrorEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TCPSocketErrorEvent(..)` constructor, creating a new instance of `TCPSocketErrorEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent/TCPSocketErrorEvent)\n\n*This API requires the following crate features to be activated: `TcpSocketErrorEvent`, `TcpSocketErrorEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & TcpSocketErrorEventInit ) -> Result < TcpSocketErrorEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_TCPSocketErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocketErrorEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TcpSocketErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent/name)\n\n*This API requires the following crate features to be activated: `TcpSocketErrorEvent`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_TCPSocketErrorEvent ( self_ : < & TcpSocketErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocketErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_TCPSocketErrorEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent/name)\n\n*This API requires the following crate features to be activated: `TcpSocketErrorEvent`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_message_TCPSocketErrorEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocketErrorEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TcpSocketErrorEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent/message)\n\n*This API requires the following crate features to be activated: `TcpSocketErrorEvent`*" ] pub fn message ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_message_TCPSocketErrorEvent ( self_ : < & TcpSocketErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocketErrorEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_message_TCPSocketErrorEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `message` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketErrorEvent/message)\n\n*This API requires the following crate features to be activated: `TcpSocketErrorEvent`*" ] pub fn message ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TCPSocketEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketEvent)\n\n*This API requires the following crate features to be activated: `TcpSocketEvent`*" ] # [ repr ( transparent ) ] pub struct TcpSocketEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TcpSocketEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TcpSocketEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TcpSocketEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TcpSocketEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TcpSocketEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TcpSocketEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TcpSocketEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TcpSocketEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TcpSocketEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TcpSocketEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TcpSocketEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TcpSocketEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TcpSocketEvent { # [ inline ] fn from ( obj : JsValue ) -> TcpSocketEvent { TcpSocketEvent { obj } } } impl AsRef < JsValue > for TcpSocketEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TcpSocketEvent > for JsValue { # [ inline ] fn from ( obj : TcpSocketEvent ) -> JsValue { obj . obj } } impl JsCast for TcpSocketEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TCPSocketEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TCPSocketEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TcpSocketEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TcpSocketEvent ) } } } ( ) } ; impl core :: ops :: Deref for TcpSocketEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < TcpSocketEvent > for Event { # [ inline ] fn from ( obj : TcpSocketEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for TcpSocketEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < TcpSocketEvent > for Object { # [ inline ] fn from ( obj : TcpSocketEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TcpSocketEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_TCPSocketEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < TcpSocketEvent as WasmDescribe > :: describe ( ) ; } impl TcpSocketEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TCPSocketEvent(..)` constructor, creating a new instance of `TCPSocketEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketEvent/TCPSocketEvent)\n\n*This API requires the following crate features to be activated: `TcpSocketEvent`*" ] pub fn new ( type_ : & str ) -> Result < TcpSocketEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_TCPSocketEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TcpSocketEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_TCPSocketEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TcpSocketEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TCPSocketEvent(..)` constructor, creating a new instance of `TCPSocketEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketEvent/TCPSocketEvent)\n\n*This API requires the following crate features to be activated: `TcpSocketEvent`*" ] pub fn new ( type_ : & str ) -> Result < TcpSocketEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_TCPSocketEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & TcpSocketEventInit as WasmDescribe > :: describe ( ) ; < TcpSocketEvent as WasmDescribe > :: describe ( ) ; } impl TcpSocketEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TCPSocketEvent(..)` constructor, creating a new instance of `TCPSocketEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketEvent/TCPSocketEvent)\n\n*This API requires the following crate features to be activated: `TcpSocketEvent`, `TcpSocketEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & TcpSocketEventInit ) -> Result < TcpSocketEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_TCPSocketEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & TcpSocketEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TcpSocketEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & TcpSocketEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_TCPSocketEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TcpSocketEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TCPSocketEvent(..)` constructor, creating a new instance of `TCPSocketEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketEvent/TCPSocketEvent)\n\n*This API requires the following crate features to be activated: `TcpSocketEvent`, `TcpSocketEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & TcpSocketEventInit ) -> Result < TcpSocketEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_data_TCPSocketEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TcpSocketEvent as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl TcpSocketEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketEvent/data)\n\n*This API requires the following crate features to be activated: `TcpSocketEvent`*" ] pub fn data ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_data_TCPSocketEvent ( self_ : < & TcpSocketEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TcpSocketEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_data_TCPSocketEvent ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `data` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TCPSocketEvent/data)\n\n*This API requires the following crate features to be activated: `TcpSocketEvent`*" ] pub fn data ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Text` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text)\n\n*This API requires the following crate features to be activated: `Text`*" ] # [ repr ( transparent ) ] pub struct Text { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Text : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Text { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Text { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Text { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Text { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Text { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Text { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Text { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Text { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Text { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Text > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Text { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Text { # [ inline ] fn from ( obj : JsValue ) -> Text { Text { obj } } } impl AsRef < JsValue > for Text { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Text > for JsValue { # [ inline ] fn from ( obj : Text ) -> JsValue { obj . obj } } impl JsCast for Text { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Text ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Text ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Text { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Text ) } } } ( ) } ; impl core :: ops :: Deref for Text { type Target = CharacterData ; # [ inline ] fn deref ( & self ) -> & CharacterData { self . as_ref ( ) } } impl From < Text > for CharacterData { # [ inline ] fn from ( obj : Text ) -> CharacterData { use wasm_bindgen :: JsCast ; CharacterData :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < CharacterData > for Text { # [ inline ] fn as_ref ( & self ) -> & CharacterData { use wasm_bindgen :: JsCast ; CharacterData :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Text > for Node { # [ inline ] fn from ( obj : Text ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for Text { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Text > for EventTarget { # [ inline ] fn from ( obj : Text ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for Text { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Text > for Object { # [ inline ] fn from ( obj : Text ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Text { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < Text as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Text(..)` constructor, creating a new instance of `Text`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/Text)\n\n*This API requires the following crate features to be activated: `Text`*" ] pub fn new ( ) -> Result < Text , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Text ( exn_data_ptr : * mut u32 ) -> < Text as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_Text ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Text as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Text(..)` constructor, creating a new instance of `Text`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/Text)\n\n*This API requires the following crate features to be activated: `Text`*" ] pub fn new ( ) -> Result < Text , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_data_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < Text as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Text(..)` constructor, creating a new instance of `Text`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/Text)\n\n*This API requires the following crate features to be activated: `Text`*" ] pub fn new_with_data ( data : & str ) -> Result < Text , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_data_Text ( data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Text as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_new_with_data_Text ( data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Text as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Text(..)` constructor, creating a new instance of `Text`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/Text)\n\n*This API requires the following crate features to be activated: `Text`*" ] pub fn new_with_data ( data : & str ) -> Result < Text , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_split_text_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Text as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `splitText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/splitText)\n\n*This API requires the following crate features to be activated: `Text`*" ] pub fn split_text ( & self , offset : u32 ) -> Result < Text , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_split_text_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Text as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_split_text_Text ( self_ , offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Text as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `splitText()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/splitText)\n\n*This API requires the following crate features to be activated: `Text`*" ] pub fn split_text ( & self , offset : u32 ) -> Result < Text , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_whole_text_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `wholeText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/wholeText)\n\n*This API requires the following crate features to be activated: `Text`*" ] pub fn whole_text ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_whole_text_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_whole_text_Text ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `wholeText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/wholeText)\n\n*This API requires the following crate features to be activated: `Text`*" ] pub fn whole_text ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_assigned_slot_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < Option < HtmlSlotElement > as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `assignedSlot` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/assignedSlot)\n\n*This API requires the following crate features to be activated: `HtmlSlotElement`, `Text`*" ] pub fn assigned_slot ( & self , ) -> Option < HtmlSlotElement > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_assigned_slot_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < HtmlSlotElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_assigned_slot_Text ( self_ ) } ; < Option < HtmlSlotElement > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `assignedSlot` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/assignedSlot)\n\n*This API requires the following crate features to be activated: `HtmlSlotElement`, `Text`*" ] pub fn assigned_slot ( & self , ) -> Option < HtmlSlotElement > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_text_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Text`*" ] pub fn convert_point_from_node_with_text ( & self , point : & DomPointInit , from : & Text ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_text_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_point_from_node_with_text_Text ( self_ , point , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Text`*" ] pub fn convert_point_from_node_with_text ( & self , point : & DomPointInit , from : & Text ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_element_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Element`, `Text`*" ] pub fn convert_point_from_node_with_element ( & self , point : & DomPointInit , from : & Element ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_element_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_point_from_node_with_element_Text ( self_ , point , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Element`, `Text`*" ] pub fn convert_point_from_node_with_element ( & self , point : & DomPointInit , from : & Element ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_document_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Text`*" ] pub fn convert_point_from_node_with_document ( & self , point : & DomPointInit , from : & Document ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_document_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_point_from_node_with_document_Text ( self_ , point , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Text`*" ] pub fn convert_point_from_node_with_document ( & self , point : & DomPointInit , from : & Document ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_text_and_options_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Text`*" ] pub fn convert_point_from_node_with_text_and_options ( & self , point : & DomPointInit , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_text_and_options_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_point_from_node_with_text_and_options_Text ( self_ , point , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Text`*" ] pub fn convert_point_from_node_with_text_and_options ( & self , point : & DomPointInit , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_element_and_options_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Element`, `Text`*" ] pub fn convert_point_from_node_with_element_and_options ( & self , point : & DomPointInit , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_element_and_options_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_point_from_node_with_element_and_options_Text ( self_ , point , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Element`, `Text`*" ] pub fn convert_point_from_node_with_element_and_options ( & self , point : & DomPointInit , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_point_from_node_with_document_and_options_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomPointInit as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomPoint as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Text`*" ] pub fn convert_point_from_node_with_document_and_options ( & self , point : & DomPointInit , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_point_from_node_with_document_and_options_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , point : < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let point = < & DomPointInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( point , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_point_from_node_with_document_and_options_Text ( self_ , point , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomPoint as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertPointFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertPointFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Text`*" ] pub fn convert_point_from_node_with_document_and_options ( & self , point : & DomPointInit , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomPoint , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_text_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `Text`*" ] pub fn convert_quad_from_node_with_text ( & self , quad : & DomQuad , from : & Text ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_text_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_quad_from_node_with_text_Text ( self_ , quad , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `Text`*" ] pub fn convert_quad_from_node_with_text ( & self , quad : & DomQuad , from : & Text ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_element_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `Element`, `Text`*" ] pub fn convert_quad_from_node_with_element ( & self , quad : & DomQuad , from : & Element ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_element_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_quad_from_node_with_element_Text ( self_ , quad , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `Element`, `Text`*" ] pub fn convert_quad_from_node_with_element ( & self , quad : & DomQuad , from : & Element ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_document_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Text`*" ] pub fn convert_quad_from_node_with_document ( & self , quad : & DomQuad , from : & Document ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_document_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_quad_from_node_with_document_Text ( self_ , quad , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Text`*" ] pub fn convert_quad_from_node_with_document ( & self , quad : & DomQuad , from : & Document ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_text_and_options_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Text`*" ] pub fn convert_quad_from_node_with_text_and_options ( & self , quad : & DomQuad , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_text_and_options_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_quad_from_node_with_text_and_options_Text ( self_ , quad , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Text`*" ] pub fn convert_quad_from_node_with_text_and_options ( & self , quad : & DomQuad , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_element_and_options_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Element`, `Text`*" ] pub fn convert_quad_from_node_with_element_and_options ( & self , quad : & DomQuad , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_element_and_options_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_quad_from_node_with_element_and_options_Text ( self_ , quad , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Element`, `Text`*" ] pub fn convert_quad_from_node_with_element_and_options ( & self , quad : & DomQuad , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_quad_from_node_with_document_and_options_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomQuad as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Text`*" ] pub fn convert_quad_from_node_with_document_and_options ( & self , quad : & DomQuad , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_quad_from_node_with_document_and_options_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , quad : < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let quad = < & DomQuad as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( quad , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_quad_from_node_with_document_and_options_Text ( self_ , quad , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertQuadFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertQuadFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Text`*" ] pub fn convert_quad_from_node_with_document_and_options ( & self , quad : & DomQuad , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_text_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Text`*" ] pub fn convert_rect_from_node_with_text ( & self , rect : & DomRectReadOnly , from : & Text ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_text_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_rect_from_node_with_text_Text ( self_ , rect , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Text`*" ] pub fn convert_rect_from_node_with_text ( & self , rect : & DomRectReadOnly , from : & Text ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_element_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*" ] pub fn convert_rect_from_node_with_element ( & self , rect : & DomRectReadOnly , from : & Element ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_element_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_rect_from_node_with_element_Text ( self_ , rect , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*" ] pub fn convert_rect_from_node_with_element ( & self , rect : & DomRectReadOnly , from : & Element ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_document_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*" ] pub fn convert_rect_from_node_with_document ( & self , rect : & DomRectReadOnly , from : & Document ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_document_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; __widl_f_convert_rect_from_node_with_document_Text ( self_ , rect , from , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*" ] pub fn convert_rect_from_node_with_document ( & self , rect : & DomRectReadOnly , from : & Document ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_text_and_options_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Text as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Text`*" ] pub fn convert_rect_from_node_with_text_and_options ( & self , rect : & DomRectReadOnly , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_text_and_options_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_rect_from_node_with_text_and_options_Text ( self_ , rect , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Text`*" ] pub fn convert_rect_from_node_with_text_and_options ( & self , rect : & DomRectReadOnly , from : & Text , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_element_and_options_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*" ] pub fn convert_rect_from_node_with_element_and_options ( & self , rect : & DomRectReadOnly , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_element_and_options_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_rect_from_node_with_element_and_options_Text ( self_ , rect , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*" ] pub fn convert_rect_from_node_with_element_and_options ( & self , rect : & DomRectReadOnly , from : & Element , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_convert_rect_from_node_with_document_and_options_Text ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Text as WasmDescribe > :: describe ( ) ; < & DomRectReadOnly as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < & ConvertCoordinateOptions as WasmDescribe > :: describe ( ) ; < DomQuad as WasmDescribe > :: describe ( ) ; } impl Text { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*" ] pub fn convert_rect_from_node_with_document_and_options ( & self , rect : & DomRectReadOnly , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_convert_rect_from_node_with_document_and_options_Text ( self_ : < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rect : < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , from : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Text as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rect = < & DomRectReadOnly as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rect , & mut __stack ) ; let from = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( from , & mut __stack ) ; let options = < & ConvertCoordinateOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_convert_rect_from_node_with_document_and_options_Text ( self_ , rect , from , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DomQuad as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `convertRectFromNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Text/convertRectFromNode)\n\n*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*" ] pub fn convert_rect_from_node_with_document_and_options ( & self , rect : & DomRectReadOnly , from : & Document , options : & ConvertCoordinateOptions ) -> Result < DomQuad , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TextDecoder` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] # [ repr ( transparent ) ] pub struct TextDecoder { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TextDecoder : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TextDecoder { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TextDecoder { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TextDecoder { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TextDecoder { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TextDecoder { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TextDecoder { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TextDecoder { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TextDecoder { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TextDecoder { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TextDecoder > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TextDecoder { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TextDecoder { # [ inline ] fn from ( obj : JsValue ) -> TextDecoder { TextDecoder { obj } } } impl AsRef < JsValue > for TextDecoder { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TextDecoder > for JsValue { # [ inline ] fn from ( obj : TextDecoder ) -> JsValue { obj . obj } } impl JsCast for TextDecoder { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TextDecoder ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TextDecoder ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TextDecoder { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TextDecoder ) } } } ( ) } ; impl core :: ops :: Deref for TextDecoder { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < TextDecoder > for Object { # [ inline ] fn from ( obj : TextDecoder ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TextDecoder { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_TextDecoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < TextDecoder as WasmDescribe > :: describe ( ) ; } impl TextDecoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TextDecoder(..)` constructor, creating a new instance of `TextDecoder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/TextDecoder)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn new ( ) -> Result < TextDecoder , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_TextDecoder ( exn_data_ptr : * mut u32 ) -> < TextDecoder as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_TextDecoder ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TextDecoder as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TextDecoder(..)` constructor, creating a new instance of `TextDecoder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/TextDecoder)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn new ( ) -> Result < TextDecoder , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_label_TextDecoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < TextDecoder as WasmDescribe > :: describe ( ) ; } impl TextDecoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TextDecoder(..)` constructor, creating a new instance of `TextDecoder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/TextDecoder)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn new_with_label ( label : & str ) -> Result < TextDecoder , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_label_TextDecoder ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TextDecoder as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_new_with_label_TextDecoder ( label , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TextDecoder as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TextDecoder(..)` constructor, creating a new instance of `TextDecoder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/TextDecoder)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn new_with_label ( label : & str ) -> Result < TextDecoder , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_label_and_options_TextDecoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & TextDecoderOptions as WasmDescribe > :: describe ( ) ; < TextDecoder as WasmDescribe > :: describe ( ) ; } impl TextDecoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TextDecoder(..)` constructor, creating a new instance of `TextDecoder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/TextDecoder)\n\n*This API requires the following crate features to be activated: `TextDecoder`, `TextDecoderOptions`*" ] pub fn new_with_label_and_options ( label : & str , options : & TextDecoderOptions ) -> Result < TextDecoder , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_label_and_options_TextDecoder ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & TextDecoderOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TextDecoder as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; let options = < & TextDecoderOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_label_and_options_TextDecoder ( label , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TextDecoder as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TextDecoder(..)` constructor, creating a new instance of `TextDecoder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/TextDecoder)\n\n*This API requires the following crate features to be activated: `TextDecoder`, `TextDecoderOptions`*" ] pub fn new_with_label_and_options ( label : & str , options : & TextDecoderOptions ) -> Result < TextDecoder , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_TextDecoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextDecoder as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TextDecoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn decode ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_TextDecoder ( self_ : < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_decode_TextDecoder ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn decode ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_with_buffer_source_TextDecoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextDecoder as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TextDecoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn decode_with_buffer_source ( & self , input : & :: js_sys :: Object ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_with_buffer_source_TextDecoder ( self_ : < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; __widl_f_decode_with_buffer_source_TextDecoder ( self_ , input , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn decode_with_buffer_source ( & self , input : & :: js_sys :: Object ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_with_u8_array_TextDecoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextDecoder as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TextDecoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn decode_with_u8_array ( & self , input : & mut [ u8 ] ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_with_u8_array_TextDecoder ( self_ : < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; __widl_f_decode_with_u8_array_TextDecoder ( self_ , input , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn decode_with_u8_array ( & self , input : & mut [ u8 ] ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_with_buffer_source_and_options_TextDecoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & TextDecoder as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < & TextDecodeOptions as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TextDecoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)\n\n*This API requires the following crate features to be activated: `TextDecodeOptions`, `TextDecoder`*" ] pub fn decode_with_buffer_source_and_options ( & self , input : & :: js_sys :: Object , options : & TextDecodeOptions ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_with_buffer_source_and_options_TextDecoder ( self_ : < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & TextDecodeOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; let options = < & TextDecodeOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_decode_with_buffer_source_and_options_TextDecoder ( self_ , input , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)\n\n*This API requires the following crate features to be activated: `TextDecodeOptions`, `TextDecoder`*" ] pub fn decode_with_buffer_source_and_options ( & self , input : & :: js_sys :: Object , options : & TextDecodeOptions ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_decode_with_u8_array_and_options_TextDecoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & TextDecoder as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < & TextDecodeOptions as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TextDecoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `decode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)\n\n*This API requires the following crate features to be activated: `TextDecodeOptions`, `TextDecoder`*" ] pub fn decode_with_u8_array_and_options ( & self , input : & mut [ u8 ] , options : & TextDecodeOptions ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_decode_with_u8_array_and_options_TextDecoder ( self_ : < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & TextDecodeOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; let options = < & TextDecodeOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_decode_with_u8_array_and_options_TextDecoder ( self_ , input , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `decode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode)\n\n*This API requires the following crate features to be activated: `TextDecodeOptions`, `TextDecoder`*" ] pub fn decode_with_u8_array_and_options ( & self , input : & mut [ u8 ] , options : & TextDecodeOptions ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_encoding_TextDecoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextDecoder as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TextDecoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `encoding` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/encoding)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn encoding ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_encoding_TextDecoder ( self_ : < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_encoding_TextDecoder ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `encoding` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/encoding)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn encoding ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fatal_TextDecoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextDecoder as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl TextDecoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fatal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/fatal)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn fatal ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fatal_TextDecoder ( self_ : < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextDecoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_fatal_TextDecoder ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fatal` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/fatal)\n\n*This API requires the following crate features to be activated: `TextDecoder`*" ] pub fn fatal ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TextEncoder` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder)\n\n*This API requires the following crate features to be activated: `TextEncoder`*" ] # [ repr ( transparent ) ] pub struct TextEncoder { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TextEncoder : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TextEncoder { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TextEncoder { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TextEncoder { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TextEncoder { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TextEncoder { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TextEncoder { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TextEncoder { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TextEncoder { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TextEncoder { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TextEncoder > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TextEncoder { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TextEncoder { # [ inline ] fn from ( obj : JsValue ) -> TextEncoder { TextEncoder { obj } } } impl AsRef < JsValue > for TextEncoder { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TextEncoder > for JsValue { # [ inline ] fn from ( obj : TextEncoder ) -> JsValue { obj . obj } } impl JsCast for TextEncoder { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TextEncoder ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TextEncoder ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TextEncoder { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TextEncoder ) } } } ( ) } ; impl core :: ops :: Deref for TextEncoder { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < TextEncoder > for Object { # [ inline ] fn from ( obj : TextEncoder ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TextEncoder { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_TextEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < TextEncoder as WasmDescribe > :: describe ( ) ; } impl TextEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TextEncoder(..)` constructor, creating a new instance of `TextEncoder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/TextEncoder)\n\n*This API requires the following crate features to be activated: `TextEncoder`*" ] pub fn new ( ) -> Result < TextEncoder , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_TextEncoder ( exn_data_ptr : * mut u32 ) -> < TextEncoder as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_TextEncoder ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TextEncoder as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TextEncoder(..)` constructor, creating a new instance of `TextEncoder`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/TextEncoder)\n\n*This API requires the following crate features to be activated: `TextEncoder`*" ] pub fn new ( ) -> Result < TextEncoder , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_encode_TextEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextEncoder as WasmDescribe > :: describe ( ) ; < Vec < u8 > as WasmDescribe > :: describe ( ) ; } impl TextEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `encode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/encode)\n\n*This API requires the following crate features to be activated: `TextEncoder`*" ] pub fn encode ( & self , ) -> Vec < u8 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_encode_TextEncoder ( self_ : < & TextEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Vec < u8 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_encode_TextEncoder ( self_ ) } ; < Vec < u8 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `encode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/encode)\n\n*This API requires the following crate features to be activated: `TextEncoder`*" ] pub fn encode ( & self , ) -> Vec < u8 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_encode_with_input_TextEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextEncoder as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Vec < u8 > as WasmDescribe > :: describe ( ) ; } impl TextEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `encode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/encode)\n\n*This API requires the following crate features to be activated: `TextEncoder`*" ] pub fn encode_with_input ( & self , input : & str ) -> Vec < u8 > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_encode_with_input_TextEncoder ( self_ : < & TextEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Vec < u8 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; __widl_f_encode_with_input_TextEncoder ( self_ , input ) } ; < Vec < u8 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `encode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/encode)\n\n*This API requires the following crate features to be activated: `TextEncoder`*" ] pub fn encode_with_input ( & self , input : & str ) -> Vec < u8 > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_encoding_TextEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextEncoder as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TextEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `encoding` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/encoding)\n\n*This API requires the following crate features to be activated: `TextEncoder`*" ] pub fn encoding ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_encoding_TextEncoder ( self_ : < & TextEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_encoding_TextEncoder ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `encoding` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/encoding)\n\n*This API requires the following crate features to be activated: `TextEncoder`*" ] pub fn encoding ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TextMetrics` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics)\n\n*This API requires the following crate features to be activated: `TextMetrics`*" ] # [ repr ( transparent ) ] pub struct TextMetrics { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TextMetrics : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TextMetrics { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TextMetrics { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TextMetrics { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TextMetrics { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TextMetrics { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TextMetrics { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TextMetrics { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TextMetrics { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TextMetrics { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TextMetrics > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TextMetrics { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TextMetrics { # [ inline ] fn from ( obj : JsValue ) -> TextMetrics { TextMetrics { obj } } } impl AsRef < JsValue > for TextMetrics { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TextMetrics > for JsValue { # [ inline ] fn from ( obj : TextMetrics ) -> JsValue { obj . obj } } impl JsCast for TextMetrics { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TextMetrics ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TextMetrics ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TextMetrics { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TextMetrics ) } } } ( ) } ; impl core :: ops :: Deref for TextMetrics { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < TextMetrics > for Object { # [ inline ] fn from ( obj : TextMetrics ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TextMetrics { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_TextMetrics ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextMetrics as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl TextMetrics { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/width)\n\n*This API requires the following crate features to be activated: `TextMetrics`*" ] pub fn width ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_TextMetrics ( self_ : < & TextMetrics as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextMetrics as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_TextMetrics ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/width)\n\n*This API requires the following crate features to be activated: `TextMetrics`*" ] pub fn width ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TextTrack` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack)\n\n*This API requires the following crate features to be activated: `TextTrack`*" ] # [ repr ( transparent ) ] pub struct TextTrack { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TextTrack : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TextTrack { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TextTrack { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TextTrack { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TextTrack { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TextTrack { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TextTrack { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TextTrack { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TextTrack { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TextTrack { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TextTrack > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TextTrack { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TextTrack { # [ inline ] fn from ( obj : JsValue ) -> TextTrack { TextTrack { obj } } } impl AsRef < JsValue > for TextTrack { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TextTrack > for JsValue { # [ inline ] fn from ( obj : TextTrack ) -> JsValue { obj . obj } } impl JsCast for TextTrack { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TextTrack ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TextTrack ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TextTrack { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TextTrack ) } } } ( ) } ; impl core :: ops :: Deref for TextTrack { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < TextTrack > for EventTarget { # [ inline ] fn from ( obj : TextTrack ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for TextTrack { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < TextTrack > for Object { # [ inline ] fn from ( obj : TextTrack ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TextTrack { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_add_cue_TextTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrack as WasmDescribe > :: describe ( ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TextTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `addCue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/addCue)\n\n*This API requires the following crate features to be activated: `TextTrack`, `VttCue`*" ] pub fn add_cue ( & self , cue : & VttCue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_add_cue_TextTrack ( self_ : < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cue : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cue = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cue , & mut __stack ) ; __widl_f_add_cue_TextTrack ( self_ , cue ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `addCue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/addCue)\n\n*This API requires the following crate features to be activated: `TextTrack`, `VttCue`*" ] pub fn add_cue ( & self , cue : & VttCue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_cue_TextTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrack as WasmDescribe > :: describe ( ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TextTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeCue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/removeCue)\n\n*This API requires the following crate features to be activated: `TextTrack`, `VttCue`*" ] pub fn remove_cue ( & self , cue : & VttCue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_cue_TextTrack ( self_ : < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cue : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cue = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cue , & mut __stack ) ; __widl_f_remove_cue_TextTrack ( self_ , cue , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeCue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/removeCue)\n\n*This API requires the following crate features to be activated: `TextTrack`, `VttCue`*" ] pub fn remove_cue ( & self , cue : & VttCue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kind_TextTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrack as WasmDescribe > :: describe ( ) ; < TextTrackKind as WasmDescribe > :: describe ( ) ; } impl TextTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/kind)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackKind`*" ] pub fn kind ( & self , ) -> TextTrackKind { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kind_TextTrack ( self_ : < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TextTrackKind as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kind_TextTrack ( self_ ) } ; < TextTrackKind as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/kind)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackKind`*" ] pub fn kind ( & self , ) -> TextTrackKind { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_label_TextTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TextTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/label)\n\n*This API requires the following crate features to be activated: `TextTrack`*" ] pub fn label ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_label_TextTrack ( self_ : < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_label_TextTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/label)\n\n*This API requires the following crate features to be activated: `TextTrack`*" ] pub fn label ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_language_TextTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TextTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `language` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/language)\n\n*This API requires the following crate features to be activated: `TextTrack`*" ] pub fn language ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_language_TextTrack ( self_ : < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_language_TextTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `language` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/language)\n\n*This API requires the following crate features to be activated: `TextTrack`*" ] pub fn language ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_TextTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TextTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/id)\n\n*This API requires the following crate features to be activated: `TextTrack`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_TextTrack ( self_ : < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_TextTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/id)\n\n*This API requires the following crate features to be activated: `TextTrack`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_in_band_metadata_track_dispatch_type_TextTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TextTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `inBandMetadataTrackDispatchType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/inBandMetadataTrackDispatchType)\n\n*This API requires the following crate features to be activated: `TextTrack`*" ] pub fn in_band_metadata_track_dispatch_type ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_in_band_metadata_track_dispatch_type_TextTrack ( self_ : < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_in_band_metadata_track_dispatch_type_TextTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `inBandMetadataTrackDispatchType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/inBandMetadataTrackDispatchType)\n\n*This API requires the following crate features to be activated: `TextTrack`*" ] pub fn in_band_metadata_track_dispatch_type ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mode_TextTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrack as WasmDescribe > :: describe ( ) ; < TextTrackMode as WasmDescribe > :: describe ( ) ; } impl TextTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/mode)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackMode`*" ] pub fn mode ( & self , ) -> TextTrackMode { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mode_TextTrack ( self_ : < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TextTrackMode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_mode_TextTrack ( self_ ) } ; < TextTrackMode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/mode)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackMode`*" ] pub fn mode ( & self , ) -> TextTrackMode { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_mode_TextTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrack as WasmDescribe > :: describe ( ) ; < TextTrackMode as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TextTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mode` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/mode)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackMode`*" ] pub fn set_mode ( & self , mode : TextTrackMode ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_mode_TextTrack ( self_ : < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < TextTrackMode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < TextTrackMode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; __widl_f_set_mode_TextTrack ( self_ , mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mode` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/mode)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackMode`*" ] pub fn set_mode ( & self , mode : TextTrackMode ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cues_TextTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrack as WasmDescribe > :: describe ( ) ; < Option < TextTrackCueList > as WasmDescribe > :: describe ( ) ; } impl TextTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cues` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/cues)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackCueList`*" ] pub fn cues ( & self , ) -> Option < TextTrackCueList > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cues_TextTrack ( self_ : < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < TextTrackCueList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_cues_TextTrack ( self_ ) } ; < Option < TextTrackCueList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cues` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/cues)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackCueList`*" ] pub fn cues ( & self , ) -> Option < TextTrackCueList > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_active_cues_TextTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrack as WasmDescribe > :: describe ( ) ; < Option < TextTrackCueList > as WasmDescribe > :: describe ( ) ; } impl TextTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `activeCues` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/activeCues)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackCueList`*" ] pub fn active_cues ( & self , ) -> Option < TextTrackCueList > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_active_cues_TextTrack ( self_ : < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < TextTrackCueList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_active_cues_TextTrack ( self_ ) } ; < Option < TextTrackCueList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `activeCues` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/activeCues)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackCueList`*" ] pub fn active_cues ( & self , ) -> Option < TextTrackCueList > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncuechange_TextTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrack as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl TextTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncuechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/oncuechange)\n\n*This API requires the following crate features to be activated: `TextTrack`*" ] pub fn oncuechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncuechange_TextTrack ( self_ : < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncuechange_TextTrack ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncuechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/oncuechange)\n\n*This API requires the following crate features to be activated: `TextTrack`*" ] pub fn oncuechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncuechange_TextTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrack as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TextTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncuechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/oncuechange)\n\n*This API requires the following crate features to be activated: `TextTrack`*" ] pub fn set_oncuechange ( & self , oncuechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncuechange_TextTrack ( self_ : < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncuechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncuechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncuechange , & mut __stack ) ; __widl_f_set_oncuechange_TextTrack ( self_ , oncuechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncuechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/oncuechange)\n\n*This API requires the following crate features to be activated: `TextTrack`*" ] pub fn set_oncuechange ( & self , oncuechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TextTrackCue` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] # [ repr ( transparent ) ] pub struct TextTrackCue { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TextTrackCue : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TextTrackCue { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TextTrackCue { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TextTrackCue { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TextTrackCue { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TextTrackCue { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TextTrackCue { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TextTrackCue { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TextTrackCue { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TextTrackCue { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TextTrackCue > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TextTrackCue { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TextTrackCue { # [ inline ] fn from ( obj : JsValue ) -> TextTrackCue { TextTrackCue { obj } } } impl AsRef < JsValue > for TextTrackCue { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TextTrackCue > for JsValue { # [ inline ] fn from ( obj : TextTrackCue ) -> JsValue { obj . obj } } impl JsCast for TextTrackCue { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TextTrackCue ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TextTrackCue ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TextTrackCue { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TextTrackCue ) } } } ( ) } ; impl core :: ops :: Deref for TextTrackCue { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < TextTrackCue > for EventTarget { # [ inline ] fn from ( obj : TextTrackCue ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for TextTrackCue { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < TextTrackCue > for Object { # [ inline ] fn from ( obj : TextTrackCue ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TextTrackCue { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_track_TextTrackCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrackCue as WasmDescribe > :: describe ( ) ; < Option < TextTrack > as WasmDescribe > :: describe ( ) ; } impl TextTrackCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/track)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackCue`*" ] pub fn track ( & self , ) -> Option < TextTrack > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_track_TextTrackCue ( self_ : < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < TextTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_track_TextTrackCue ( self_ ) } ; < Option < TextTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/track)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackCue`*" ] pub fn track ( & self , ) -> Option < TextTrack > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_TextTrackCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrackCue as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TextTrackCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/id)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_TextTrackCue ( self_ : < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_TextTrackCue ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/id)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_id_TextTrackCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrackCue as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TextTrackCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/id)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn set_id ( & self , id : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_id_TextTrackCue ( self_ : < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; __widl_f_set_id_TextTrackCue ( self_ , id ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/id)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn set_id ( & self , id : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_time_TextTrackCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrackCue as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl TextTrackCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `startTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/startTime)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn start_time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_time_TextTrackCue ( self_ : < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_start_time_TextTrackCue ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `startTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/startTime)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn start_time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_start_time_TextTrackCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrackCue as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TextTrackCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `startTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/startTime)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn set_start_time ( & self , start_time : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_start_time_TextTrackCue ( self_ : < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let start_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_time , & mut __stack ) ; __widl_f_set_start_time_TextTrackCue ( self_ , start_time ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `startTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/startTime)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn set_start_time ( & self , start_time : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_end_time_TextTrackCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrackCue as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl TextTrackCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `endTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/endTime)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn end_time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_end_time_TextTrackCue ( self_ : < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_end_time_TextTrackCue ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `endTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/endTime)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn end_time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_end_time_TextTrackCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrackCue as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TextTrackCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `endTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/endTime)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn set_end_time ( & self , end_time : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_end_time_TextTrackCue ( self_ : < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let end_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end_time , & mut __stack ) ; __widl_f_set_end_time_TextTrackCue ( self_ , end_time ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `endTime` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/endTime)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn set_end_time ( & self , end_time : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pause_on_exit_TextTrackCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrackCue as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl TextTrackCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pauseOnExit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/pauseOnExit)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn pause_on_exit ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pause_on_exit_TextTrackCue ( self_ : < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pause_on_exit_TextTrackCue ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pauseOnExit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/pauseOnExit)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn pause_on_exit ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_pause_on_exit_TextTrackCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrackCue as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TextTrackCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pauseOnExit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/pauseOnExit)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn set_pause_on_exit ( & self , pause_on_exit : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_pause_on_exit_TextTrackCue ( self_ : < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pause_on_exit : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pause_on_exit = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pause_on_exit , & mut __stack ) ; __widl_f_set_pause_on_exit_TextTrackCue ( self_ , pause_on_exit ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pauseOnExit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/pauseOnExit)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn set_pause_on_exit ( & self , pause_on_exit : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onenter_TextTrackCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrackCue as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl TextTrackCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/onenter)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn onenter ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onenter_TextTrackCue ( self_ : < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onenter_TextTrackCue ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/onenter)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn onenter ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onenter_TextTrackCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrackCue as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TextTrackCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/onenter)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn set_onenter ( & self , onenter : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onenter_TextTrackCue ( self_ : < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onenter : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onenter = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onenter , & mut __stack ) ; __widl_f_set_onenter_TextTrackCue ( self_ , onenter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/onenter)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn set_onenter ( & self , onenter : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onexit_TextTrackCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrackCue as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl TextTrackCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onexit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/onexit)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn onexit ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onexit_TextTrackCue ( self_ : < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onexit_TextTrackCue ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onexit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/onexit)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn onexit ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onexit_TextTrackCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrackCue as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TextTrackCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onexit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/onexit)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn set_onexit ( & self , onexit : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onexit_TextTrackCue ( self_ : < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onexit : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onexit = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onexit , & mut __stack ) ; __widl_f_set_onexit_TextTrackCue ( self_ , onexit ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onexit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/onexit)\n\n*This API requires the following crate features to be activated: `TextTrackCue`*" ] pub fn set_onexit ( & self , onexit : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TextTrackCueList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCueList)\n\n*This API requires the following crate features to be activated: `TextTrackCueList`*" ] # [ repr ( transparent ) ] pub struct TextTrackCueList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TextTrackCueList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TextTrackCueList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TextTrackCueList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TextTrackCueList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TextTrackCueList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TextTrackCueList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TextTrackCueList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TextTrackCueList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TextTrackCueList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TextTrackCueList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TextTrackCueList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TextTrackCueList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TextTrackCueList { # [ inline ] fn from ( obj : JsValue ) -> TextTrackCueList { TextTrackCueList { obj } } } impl AsRef < JsValue > for TextTrackCueList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TextTrackCueList > for JsValue { # [ inline ] fn from ( obj : TextTrackCueList ) -> JsValue { obj . obj } } impl JsCast for TextTrackCueList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TextTrackCueList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TextTrackCueList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TextTrackCueList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TextTrackCueList ) } } } ( ) } ; impl core :: ops :: Deref for TextTrackCueList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < TextTrackCueList > for Object { # [ inline ] fn from ( obj : TextTrackCueList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TextTrackCueList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_cue_by_id_TextTrackCueList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrackCueList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < VttCue > as WasmDescribe > :: describe ( ) ; } impl TextTrackCueList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getCueById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCueList/getCueById)\n\n*This API requires the following crate features to be activated: `TextTrackCueList`, `VttCue`*" ] pub fn get_cue_by_id ( & self , id : & str ) -> Option < VttCue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_cue_by_id_TextTrackCueList ( self_ : < & TextTrackCueList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < VttCue > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCueList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; __widl_f_get_cue_by_id_TextTrackCueList ( self_ , id ) } ; < Option < VttCue > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getCueById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCueList/getCueById)\n\n*This API requires the following crate features to be activated: `TextTrackCueList`, `VttCue`*" ] pub fn get_cue_by_id ( & self , id : & str ) -> Option < VttCue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_TextTrackCueList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrackCueList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < VttCue as WasmDescribe > :: describe ( ) ; } impl TextTrackCueList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `TextTrackCueList`, `VttCue`*" ] pub fn get ( & self , index : u32 ) -> VttCue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_TextTrackCueList ( self_ : < & TextTrackCueList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < VttCue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCueList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_TextTrackCueList ( self_ , index ) } ; < VttCue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `TextTrackCueList`, `VttCue`*" ] pub fn get ( & self , index : u32 ) -> VttCue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_TextTrackCueList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrackCueList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl TextTrackCueList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCueList/length)\n\n*This API requires the following crate features to be activated: `TextTrackCueList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_TextTrackCueList ( self_ : < & TextTrackCueList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackCueList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_TextTrackCueList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCueList/length)\n\n*This API requires the following crate features to be activated: `TextTrackCueList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TextTrackList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] # [ repr ( transparent ) ] pub struct TextTrackList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TextTrackList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TextTrackList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TextTrackList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TextTrackList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TextTrackList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TextTrackList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TextTrackList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TextTrackList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TextTrackList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TextTrackList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TextTrackList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TextTrackList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TextTrackList { # [ inline ] fn from ( obj : JsValue ) -> TextTrackList { TextTrackList { obj } } } impl AsRef < JsValue > for TextTrackList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TextTrackList > for JsValue { # [ inline ] fn from ( obj : TextTrackList ) -> JsValue { obj . obj } } impl JsCast for TextTrackList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TextTrackList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TextTrackList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TextTrackList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TextTrackList ) } } } ( ) } ; impl core :: ops :: Deref for TextTrackList { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < TextTrackList > for EventTarget { # [ inline ] fn from ( obj : TextTrackList ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for TextTrackList { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < TextTrackList > for Object { # [ inline ] fn from ( obj : TextTrackList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TextTrackList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_track_by_id_TextTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrackList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < TextTrack > as WasmDescribe > :: describe ( ) ; } impl TextTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getTrackById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/getTrackById)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackList`*" ] pub fn get_track_by_id ( & self , id : & str ) -> Option < TextTrack > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_track_by_id_TextTrackList ( self_ : < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < TextTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; __widl_f_get_track_by_id_TextTrackList ( self_ , id ) } ; < Option < TextTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getTrackById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/getTrackById)\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackList`*" ] pub fn get_track_by_id ( & self , id : & str ) -> Option < TextTrack > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_TextTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrackList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < TextTrack as WasmDescribe > :: describe ( ) ; } impl TextTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackList`*" ] pub fn get ( & self , index : u32 ) -> TextTrack { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_TextTrackList ( self_ : < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TextTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_TextTrackList ( self_ , index ) } ; < TextTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `TextTrack`, `TextTrackList`*" ] pub fn get ( & self , index : u32 ) -> TextTrack { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_TextTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrackList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl TextTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/length)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_TextTrackList ( self_ : < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_TextTrackList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/length)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchange_TextTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrackList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl TextTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onchange)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchange_TextTrackList ( self_ : < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchange_TextTrackList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onchange)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchange_TextTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrackList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TextTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onchange)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchange_TextTrackList ( self_ : < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchange , & mut __stack ) ; __widl_f_set_onchange_TextTrackList ( self_ , onchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onchange)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onaddtrack_TextTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrackList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl TextTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddtrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onaddtrack)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn onaddtrack ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onaddtrack_TextTrackList ( self_ : < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onaddtrack_TextTrackList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddtrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onaddtrack)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn onaddtrack ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onaddtrack_TextTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrackList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TextTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddtrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onaddtrack)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn set_onaddtrack ( & self , onaddtrack : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onaddtrack_TextTrackList ( self_ : < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onaddtrack : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onaddtrack = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onaddtrack , & mut __stack ) ; __widl_f_set_onaddtrack_TextTrackList ( self_ , onaddtrack ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddtrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onaddtrack)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn set_onaddtrack ( & self , onaddtrack : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onremovetrack_TextTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TextTrackList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl TextTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onremovetrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onremovetrack)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn onremovetrack ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onremovetrack_TextTrackList ( self_ : < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onremovetrack_TextTrackList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onremovetrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onremovetrack)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn onremovetrack ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onremovetrack_TextTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TextTrackList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TextTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onremovetrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onremovetrack)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn set_onremovetrack ( & self , onremovetrack : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onremovetrack_TextTrackList ( self_ : < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onremovetrack : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TextTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onremovetrack = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onremovetrack , & mut __stack ) ; __widl_f_set_onremovetrack_TextTrackList ( self_ , onremovetrack ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onremovetrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onremovetrack)\n\n*This API requires the following crate features to be activated: `TextTrackList`*" ] pub fn set_onremovetrack ( & self , onremovetrack : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TimeEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent)\n\n*This API requires the following crate features to be activated: `TimeEvent`*" ] # [ repr ( transparent ) ] pub struct TimeEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TimeEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TimeEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TimeEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TimeEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TimeEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TimeEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TimeEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TimeEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TimeEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TimeEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TimeEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TimeEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TimeEvent { # [ inline ] fn from ( obj : JsValue ) -> TimeEvent { TimeEvent { obj } } } impl AsRef < JsValue > for TimeEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TimeEvent > for JsValue { # [ inline ] fn from ( obj : TimeEvent ) -> JsValue { obj . obj } } impl JsCast for TimeEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TimeEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TimeEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TimeEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TimeEvent ) } } } ( ) } ; impl core :: ops :: Deref for TimeEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < TimeEvent > for Event { # [ inline ] fn from ( obj : TimeEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for TimeEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < TimeEvent > for Object { # [ inline ] fn from ( obj : TimeEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TimeEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_time_event_TimeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TimeEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TimeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTimeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/initTimeEvent)\n\n*This API requires the following crate features to be activated: `TimeEvent`*" ] pub fn init_time_event ( & self , a_type : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_time_event_TimeEvent ( self_ : < & TimeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TimeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_type , & mut __stack ) ; __widl_f_init_time_event_TimeEvent ( self_ , a_type ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTimeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/initTimeEvent)\n\n*This API requires the following crate features to be activated: `TimeEvent`*" ] pub fn init_time_event ( & self , a_type : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_time_event_with_a_view_TimeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & TimeEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TimeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTimeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/initTimeEvent)\n\n*This API requires the following crate features to be activated: `TimeEvent`, `Window`*" ] pub fn init_time_event_with_a_view ( & self , a_type : & str , a_view : Option < & Window > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_time_event_with_a_view_TimeEvent ( self_ : < & TimeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TimeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_type , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; __widl_f_init_time_event_with_a_view_TimeEvent ( self_ , a_type , a_view ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTimeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/initTimeEvent)\n\n*This API requires the following crate features to be activated: `TimeEvent`, `Window`*" ] pub fn init_time_event_with_a_view ( & self , a_type : & str , a_view : Option < & Window > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_time_event_with_a_view_and_a_detail_TimeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & TimeEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TimeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTimeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/initTimeEvent)\n\n*This API requires the following crate features to be activated: `TimeEvent`, `Window`*" ] pub fn init_time_event_with_a_view_and_a_detail ( & self , a_type : & str , a_view : Option < & Window > , a_detail : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_time_event_with_a_view_and_a_detail_TimeEvent ( self_ : < & TimeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TimeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_type , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; __widl_f_init_time_event_with_a_view_and_a_detail_TimeEvent ( self_ , a_type , a_view , a_detail ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTimeEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/initTimeEvent)\n\n*This API requires the following crate features to be activated: `TimeEvent`, `Window`*" ] pub fn init_time_event_with_a_view_and_a_detail ( & self , a_type : & str , a_view : Option < & Window > , a_detail : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_detail_TimeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TimeEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl TimeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `detail` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/detail)\n\n*This API requires the following crate features to be activated: `TimeEvent`*" ] pub fn detail ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_detail_TimeEvent ( self_ : < & TimeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TimeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_detail_TimeEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `detail` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/detail)\n\n*This API requires the following crate features to be activated: `TimeEvent`*" ] pub fn detail ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_view_TimeEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TimeEvent as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl TimeEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `view` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/view)\n\n*This API requires the following crate features to be activated: `TimeEvent`, `Window`*" ] pub fn view ( & self , ) -> Option < Window > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_view_TimeEvent ( self_ : < & TimeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TimeEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_view_TimeEvent ( self_ ) } ; < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `view` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/view)\n\n*This API requires the following crate features to be activated: `TimeEvent`, `Window`*" ] pub fn view ( & self , ) -> Option < Window > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TimeRanges` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeRanges)\n\n*This API requires the following crate features to be activated: `TimeRanges`*" ] # [ repr ( transparent ) ] pub struct TimeRanges { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TimeRanges : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TimeRanges { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TimeRanges { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TimeRanges { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TimeRanges { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TimeRanges { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TimeRanges { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TimeRanges { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TimeRanges { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TimeRanges { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TimeRanges > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TimeRanges { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TimeRanges { # [ inline ] fn from ( obj : JsValue ) -> TimeRanges { TimeRanges { obj } } } impl AsRef < JsValue > for TimeRanges { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TimeRanges > for JsValue { # [ inline ] fn from ( obj : TimeRanges ) -> JsValue { obj . obj } } impl JsCast for TimeRanges { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TimeRanges ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TimeRanges ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TimeRanges { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TimeRanges ) } } } ( ) } ; impl core :: ops :: Deref for TimeRanges { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < TimeRanges > for Object { # [ inline ] fn from ( obj : TimeRanges ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TimeRanges { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_end_TimeRanges ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TimeRanges as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl TimeRanges { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `end()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeRanges/end)\n\n*This API requires the following crate features to be activated: `TimeRanges`*" ] pub fn end ( & self , index : u32 ) -> Result < f64 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_end_TimeRanges ( self_ : < & TimeRanges as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TimeRanges as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_end_TimeRanges ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `end()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeRanges/end)\n\n*This API requires the following crate features to be activated: `TimeRanges`*" ] pub fn end ( & self , index : u32 ) -> Result < f64 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_start_TimeRanges ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TimeRanges as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl TimeRanges { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeRanges/start)\n\n*This API requires the following crate features to be activated: `TimeRanges`*" ] pub fn start ( & self , index : u32 ) -> Result < f64 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_start_TimeRanges ( self_ : < & TimeRanges as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TimeRanges as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_start_TimeRanges ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `start()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeRanges/start)\n\n*This API requires the following crate features to be activated: `TimeRanges`*" ] pub fn start ( & self , index : u32 ) -> Result < f64 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_TimeRanges ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TimeRanges as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl TimeRanges { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeRanges/length)\n\n*This API requires the following crate features to be activated: `TimeRanges`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_TimeRanges ( self_ : < & TimeRanges as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TimeRanges as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_TimeRanges ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeRanges/length)\n\n*This API requires the following crate features to be activated: `TimeRanges`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Touch` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch)\n\n*This API requires the following crate features to be activated: `Touch`*" ] # [ repr ( transparent ) ] pub struct Touch { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Touch : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Touch { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Touch { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Touch { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Touch { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Touch { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Touch { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Touch { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Touch { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Touch { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Touch > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Touch { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Touch { # [ inline ] fn from ( obj : JsValue ) -> Touch { Touch { obj } } } impl AsRef < JsValue > for Touch { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Touch > for JsValue { # [ inline ] fn from ( obj : Touch ) -> JsValue { obj . obj } } impl JsCast for Touch { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Touch ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Touch ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Touch { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Touch ) } } } ( ) } ; impl core :: ops :: Deref for Touch { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Touch > for Object { # [ inline ] fn from ( obj : Touch ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Touch { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Touch ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TouchInit as WasmDescribe > :: describe ( ) ; < Touch as WasmDescribe > :: describe ( ) ; } impl Touch { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Touch(..)` constructor, creating a new instance of `Touch`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/Touch)\n\n*This API requires the following crate features to be activated: `Touch`, `TouchInit`*" ] pub fn new ( touch_init_dict : & TouchInit ) -> Result < Touch , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Touch ( touch_init_dict : < & TouchInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Touch as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let touch_init_dict = < & TouchInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( touch_init_dict , & mut __stack ) ; __widl_f_new_Touch ( touch_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Touch as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Touch(..)` constructor, creating a new instance of `Touch`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/Touch)\n\n*This API requires the following crate features to be activated: `Touch`, `TouchInit`*" ] pub fn new ( touch_init_dict : & TouchInit ) -> Result < Touch , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_identifier_Touch ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Touch as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Touch { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `identifier` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/identifier)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn identifier ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_identifier_Touch ( self_ : < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_identifier_Touch ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `identifier` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/identifier)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn identifier ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_Touch ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Touch as WasmDescribe > :: describe ( ) ; < Option < EventTarget > as WasmDescribe > :: describe ( ) ; } impl Touch { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/target)\n\n*This API requires the following crate features to be activated: `EventTarget`, `Touch`*" ] pub fn target ( & self , ) -> Option < EventTarget > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_Touch ( self_ : < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < EventTarget > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_Touch ( self_ ) } ; < Option < EventTarget > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `target` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/target)\n\n*This API requires the following crate features to be activated: `EventTarget`, `Touch`*" ] pub fn target ( & self , ) -> Option < EventTarget > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_screen_x_Touch ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Touch as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Touch { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `screenX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenX)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn screen_x ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_screen_x_Touch ( self_ : < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_screen_x_Touch ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `screenX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenX)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn screen_x ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_screen_y_Touch ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Touch as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Touch { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `screenY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenY)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn screen_y ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_screen_y_Touch ( self_ : < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_screen_y_Touch ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `screenY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenY)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn screen_y ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_client_x_Touch ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Touch as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Touch { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clientX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/clientX)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn client_x ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_client_x_Touch ( self_ : < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_client_x_Touch ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clientX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/clientX)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn client_x ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_client_y_Touch ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Touch as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Touch { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clientY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/clientY)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn client_y ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_client_y_Touch ( self_ : < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_client_y_Touch ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clientY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/clientY)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn client_y ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_page_x_Touch ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Touch as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Touch { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pageX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/pageX)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn page_x ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_page_x_Touch ( self_ : < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_page_x_Touch ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pageX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/pageX)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn page_x ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_page_y_Touch ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Touch as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Touch { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pageY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/pageY)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn page_y ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_page_y_Touch ( self_ : < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_page_y_Touch ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pageY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/pageY)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn page_y ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_radius_x_Touch ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Touch as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Touch { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `radiusX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusX)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn radius_x ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_radius_x_Touch ( self_ : < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_radius_x_Touch ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `radiusX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusX)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn radius_x ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_radius_y_Touch ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Touch as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Touch { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `radiusY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusY)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn radius_y ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_radius_y_Touch ( self_ : < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_radius_y_Touch ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `radiusY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusY)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn radius_y ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotation_angle_Touch ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Touch as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl Touch { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotationAngle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/rotationAngle)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn rotation_angle ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotation_angle_Touch ( self_ : < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rotation_angle_Touch ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotationAngle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/rotationAngle)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn rotation_angle ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_force_Touch ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Touch as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl Touch { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `force` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/force)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn force ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_force_Touch ( self_ : < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Touch as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_force_Touch ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `force` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Touch/force)\n\n*This API requires the following crate features to be activated: `Touch`*" ] pub fn force ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TouchEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] # [ repr ( transparent ) ] pub struct TouchEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TouchEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TouchEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TouchEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TouchEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TouchEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TouchEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TouchEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TouchEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TouchEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TouchEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TouchEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TouchEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TouchEvent { # [ inline ] fn from ( obj : JsValue ) -> TouchEvent { TouchEvent { obj } } } impl AsRef < JsValue > for TouchEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TouchEvent > for JsValue { # [ inline ] fn from ( obj : TouchEvent ) -> JsValue { obj . obj } } impl JsCast for TouchEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TouchEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TouchEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TouchEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TouchEvent ) } } } ( ) } ; impl core :: ops :: Deref for TouchEvent { type Target = UiEvent ; # [ inline ] fn deref ( & self ) -> & UiEvent { self . as_ref ( ) } } impl From < TouchEvent > for UiEvent { # [ inline ] fn from ( obj : TouchEvent ) -> UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < UiEvent > for TouchEvent { # [ inline ] fn as_ref ( & self ) -> & UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < TouchEvent > for Event { # [ inline ] fn from ( obj : TouchEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for TouchEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < TouchEvent > for Object { # [ inline ] fn from ( obj : TouchEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TouchEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < TouchEvent as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TouchEvent(..)` constructor, creating a new instance of `TouchEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn new ( type_ : & str ) -> Result < TouchEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_TouchEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TouchEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_TouchEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TouchEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TouchEvent(..)` constructor, creating a new instance of `TouchEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn new ( type_ : & str ) -> Result < TouchEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & TouchEventInit as WasmDescribe > :: describe ( ) ; < TouchEvent as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TouchEvent(..)` constructor, creating a new instance of `TouchEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & TouchEventInit ) -> Result < TouchEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_TouchEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & TouchEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TouchEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & TouchEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_TouchEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TouchEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TouchEvent(..)` constructor, creating a new instance of `TouchEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & TouchEventInit ) -> Result < TouchEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_touch_event_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn init_touch_event ( & self , type_ : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_touch_event_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_init_touch_event_TouchEvent ( self_ , type_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn init_touch_event ( & self , type_ : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_touch_event_with_can_bubble_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn init_touch_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_touch_event_with_can_bubble_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; __widl_f_init_touch_event_with_can_bubble_TouchEvent ( self_ , type_ , can_bubble ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn init_touch_event_with_can_bubble ( & self , type_ : & str , can_bubble : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_touch_event_with_can_bubble_and_cancelable_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_touch_event_with_can_bubble_and_cancelable_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; __widl_f_init_touch_event_with_can_bubble_and_cancelable_TouchEvent ( self_ , type_ , can_bubble , cancelable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable ( & self , type_ : & str , can_bubble : bool , cancelable : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_TouchEvent ( self_ , type_ , can_bubble , cancelable , view ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_TouchEvent ( self_ , type_ , can_bubble , cancelable , view , detail ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_TouchEvent ( self_ , type_ , can_bubble , cancelable , view , detail , ctrl_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool , alt_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_TouchEvent ( self_ , type_ , can_bubble , cancelable , view , detail , ctrl_key , alt_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool , alt_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_TouchEvent ( self_ , type_ , can_bubble , cancelable , view , detail , ctrl_key , alt_key , shift_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; let meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key , & mut __stack ) ; __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_TouchEvent ( self_ , type_ , can_bubble , cancelable , view , detail , ctrl_key , alt_key , shift_key , meta_key ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & TouchList > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , touches : Option < & TouchList > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , touches : < Option < & TouchList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; let meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key , & mut __stack ) ; let touches = < Option < & TouchList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( touches , & mut __stack ) ; __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_TouchEvent ( self_ , type_ , can_bubble , cancelable , view , detail , ctrl_key , alt_key , shift_key , meta_key , touches ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , touches : Option < & TouchList > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & TouchList > as WasmDescribe > :: describe ( ) ; < Option < & TouchList > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , touches : Option < & TouchList > , target_touches : Option < & TouchList > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , touches : < Option < & TouchList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target_touches : < Option < & TouchList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; let meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key , & mut __stack ) ; let touches = < Option < & TouchList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( touches , & mut __stack ) ; let target_touches = < Option < & TouchList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target_touches , & mut __stack ) ; __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches_TouchEvent ( self_ , type_ , can_bubble , cancelable , view , detail , ctrl_key , alt_key , shift_key , meta_key , touches , target_touches ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , touches : Option < & TouchList > , target_touches : Option < & TouchList > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches_and_changed_touches_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 13u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & TouchList > as WasmDescribe > :: describe ( ) ; < Option < & TouchList > as WasmDescribe > :: describe ( ) ; < Option < & TouchList > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches_and_changed_touches ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , touches : Option < & TouchList > , target_touches : Option < & TouchList > , changed_touches : Option < & TouchList > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches_and_changed_touches_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ctrl_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alt_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shift_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , meta_key : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , touches : < Option < & TouchList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target_touches : < Option < & TouchList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , changed_touches : < Option < & TouchList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( can_bubble , & mut __stack ) ; let cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cancelable , & mut __stack ) ; let view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( view , & mut __stack ) ; let detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( detail , & mut __stack ) ; let ctrl_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ctrl_key , & mut __stack ) ; let alt_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alt_key , & mut __stack ) ; let shift_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shift_key , & mut __stack ) ; let meta_key = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( meta_key , & mut __stack ) ; let touches = < Option < & TouchList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( touches , & mut __stack ) ; let target_touches = < Option < & TouchList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target_touches , & mut __stack ) ; let changed_touches = < Option < & TouchList > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( changed_touches , & mut __stack ) ; __widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches_and_changed_touches_TouchEvent ( self_ , type_ , can_bubble , cancelable , view , detail , ctrl_key , alt_key , shift_key , meta_key , touches , target_touches , changed_touches ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initTouchEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/initTouchEvent)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`, `Window`*" ] pub fn init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches_and_changed_touches ( & self , type_ : & str , can_bubble : bool , cancelable : bool , view : Option < & Window > , detail : i32 , ctrl_key : bool , alt_key : bool , shift_key : bool , meta_key : bool , touches : Option < & TouchList > , target_touches : Option < & TouchList > , changed_touches : Option < & TouchList > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_touches_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < TouchList as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `touches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/touches)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`*" ] pub fn touches ( & self , ) -> TouchList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_touches_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TouchList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_touches_TouchEvent ( self_ ) } ; < TouchList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `touches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/touches)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`*" ] pub fn touches ( & self , ) -> TouchList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_target_touches_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < TouchList as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `targetTouches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/targetTouches)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`*" ] pub fn target_touches ( & self , ) -> TouchList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_target_touches_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TouchList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_target_touches_TouchEvent ( self_ ) } ; < TouchList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `targetTouches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/targetTouches)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`*" ] pub fn target_touches ( & self , ) -> TouchList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_changed_touches_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < TouchList as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `changedTouches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/changedTouches)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`*" ] pub fn changed_touches ( & self , ) -> TouchList { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_changed_touches_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < TouchList as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_changed_touches_TouchEvent ( self_ ) } ; < TouchList as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `changedTouches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/changedTouches)\n\n*This API requires the following crate features to be activated: `TouchEvent`, `TouchList`*" ] pub fn changed_touches ( & self , ) -> TouchList { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_alt_key_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `altKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/altKey)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn alt_key ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_alt_key_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_alt_key_TouchEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `altKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/altKey)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn alt_key ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_meta_key_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `metaKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/metaKey)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn meta_key ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_meta_key_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_meta_key_TouchEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `metaKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/metaKey)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn meta_key ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ctrl_key_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ctrlKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/ctrlKey)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn ctrl_key ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ctrl_key_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ctrl_key_TouchEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ctrlKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/ctrlKey)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn ctrl_key ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shift_key_TouchEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TouchEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl TouchEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shiftKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/shiftKey)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn shift_key ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shift_key_TouchEvent ( self_ : < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_shift_key_TouchEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shiftKey` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/shiftKey)\n\n*This API requires the following crate features to be activated: `TouchEvent`*" ] pub fn shift_key ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TouchList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchList)\n\n*This API requires the following crate features to be activated: `TouchList`*" ] # [ repr ( transparent ) ] pub struct TouchList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TouchList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TouchList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TouchList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TouchList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TouchList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TouchList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TouchList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TouchList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TouchList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TouchList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TouchList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TouchList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TouchList { # [ inline ] fn from ( obj : JsValue ) -> TouchList { TouchList { obj } } } impl AsRef < JsValue > for TouchList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TouchList > for JsValue { # [ inline ] fn from ( obj : TouchList ) -> JsValue { obj . obj } } impl JsCast for TouchList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TouchList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TouchList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TouchList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TouchList ) } } } ( ) } ; impl core :: ops :: Deref for TouchList { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < TouchList > for Object { # [ inline ] fn from ( obj : TouchList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TouchList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_item_TouchList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TouchList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Touch > as WasmDescribe > :: describe ( ) ; } impl TouchList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchList/item)\n\n*This API requires the following crate features to be activated: `Touch`, `TouchList`*" ] pub fn item ( & self , index : u32 ) -> Option < Touch > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_item_TouchList ( self_ : < & TouchList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Touch > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_item_TouchList ( self_ , index ) } ; < Option < Touch > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `item()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchList/item)\n\n*This API requires the following crate features to be activated: `Touch`, `TouchList`*" ] pub fn item ( & self , index : u32 ) -> Option < Touch > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_TouchList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TouchList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Touch > as WasmDescribe > :: describe ( ) ; } impl TouchList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Touch`, `TouchList`*" ] pub fn get ( & self , index : u32 ) -> Option < Touch > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_TouchList ( self_ : < & TouchList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Touch > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_TouchList ( self_ , index ) } ; < Option < Touch > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Touch`, `TouchList`*" ] pub fn get ( & self , index : u32 ) -> Option < Touch > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_TouchList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TouchList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl TouchList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchList/length)\n\n*This API requires the following crate features to be activated: `TouchList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_TouchList ( self_ : < & TouchList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TouchList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_TouchList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TouchList/length)\n\n*This API requires the following crate features to be activated: `TouchList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TrackEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TrackEvent)\n\n*This API requires the following crate features to be activated: `TrackEvent`*" ] # [ repr ( transparent ) ] pub struct TrackEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TrackEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TrackEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TrackEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TrackEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TrackEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TrackEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TrackEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TrackEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TrackEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TrackEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TrackEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TrackEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TrackEvent { # [ inline ] fn from ( obj : JsValue ) -> TrackEvent { TrackEvent { obj } } } impl AsRef < JsValue > for TrackEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TrackEvent > for JsValue { # [ inline ] fn from ( obj : TrackEvent ) -> JsValue { obj . obj } } impl JsCast for TrackEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TrackEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TrackEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TrackEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TrackEvent ) } } } ( ) } ; impl core :: ops :: Deref for TrackEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < TrackEvent > for Event { # [ inline ] fn from ( obj : TrackEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for TrackEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < TrackEvent > for Object { # [ inline ] fn from ( obj : TrackEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TrackEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_TrackEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < TrackEvent as WasmDescribe > :: describe ( ) ; } impl TrackEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TrackEvent(..)` constructor, creating a new instance of `TrackEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TrackEvent/TrackEvent)\n\n*This API requires the following crate features to be activated: `TrackEvent`*" ] pub fn new ( type_ : & str ) -> Result < TrackEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_TrackEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TrackEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_TrackEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TrackEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TrackEvent(..)` constructor, creating a new instance of `TrackEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TrackEvent/TrackEvent)\n\n*This API requires the following crate features to be activated: `TrackEvent`*" ] pub fn new ( type_ : & str ) -> Result < TrackEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_TrackEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & TrackEventInit as WasmDescribe > :: describe ( ) ; < TrackEvent as WasmDescribe > :: describe ( ) ; } impl TrackEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TrackEvent(..)` constructor, creating a new instance of `TrackEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TrackEvent/TrackEvent)\n\n*This API requires the following crate features to be activated: `TrackEvent`, `TrackEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & TrackEventInit ) -> Result < TrackEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_TrackEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & TrackEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TrackEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & TrackEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_TrackEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TrackEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TrackEvent(..)` constructor, creating a new instance of `TrackEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TrackEvent/TrackEvent)\n\n*This API requires the following crate features to be activated: `TrackEvent`, `TrackEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & TrackEventInit ) -> Result < TrackEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_track_TrackEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TrackEvent as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl TrackEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TrackEvent/track)\n\n*This API requires the following crate features to be activated: `TrackEvent`*" ] pub fn track ( & self , ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_track_TrackEvent ( self_ : < & TrackEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TrackEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_track_TrackEvent ( self_ ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `track` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TrackEvent/track)\n\n*This API requires the following crate features to be activated: `TrackEvent`*" ] pub fn track ( & self , ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TransitionEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent)\n\n*This API requires the following crate features to be activated: `TransitionEvent`*" ] # [ repr ( transparent ) ] pub struct TransitionEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TransitionEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TransitionEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TransitionEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TransitionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TransitionEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TransitionEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TransitionEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TransitionEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TransitionEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TransitionEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TransitionEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TransitionEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TransitionEvent { # [ inline ] fn from ( obj : JsValue ) -> TransitionEvent { TransitionEvent { obj } } } impl AsRef < JsValue > for TransitionEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TransitionEvent > for JsValue { # [ inline ] fn from ( obj : TransitionEvent ) -> JsValue { obj . obj } } impl JsCast for TransitionEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TransitionEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TransitionEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TransitionEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TransitionEvent ) } } } ( ) } ; impl core :: ops :: Deref for TransitionEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < TransitionEvent > for Event { # [ inline ] fn from ( obj : TransitionEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for TransitionEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < TransitionEvent > for Object { # [ inline ] fn from ( obj : TransitionEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TransitionEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_TransitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < TransitionEvent as WasmDescribe > :: describe ( ) ; } impl TransitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TransitionEvent(..)` constructor, creating a new instance of `TransitionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/TransitionEvent)\n\n*This API requires the following crate features to be activated: `TransitionEvent`*" ] pub fn new ( type_ : & str ) -> Result < TransitionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_TransitionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TransitionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_TransitionEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TransitionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TransitionEvent(..)` constructor, creating a new instance of `TransitionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/TransitionEvent)\n\n*This API requires the following crate features to be activated: `TransitionEvent`*" ] pub fn new ( type_ : & str ) -> Result < TransitionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_TransitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & TransitionEventInit as WasmDescribe > :: describe ( ) ; < TransitionEvent as WasmDescribe > :: describe ( ) ; } impl TransitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new TransitionEvent(..)` constructor, creating a new instance of `TransitionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/TransitionEvent)\n\n*This API requires the following crate features to be activated: `TransitionEvent`, `TransitionEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & TransitionEventInit ) -> Result < TransitionEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_TransitionEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & TransitionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < TransitionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & TransitionEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_TransitionEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < TransitionEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new TransitionEvent(..)` constructor, creating a new instance of `TransitionEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/TransitionEvent)\n\n*This API requires the following crate features to be activated: `TransitionEvent`, `TransitionEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & TransitionEventInit ) -> Result < TransitionEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_property_name_TransitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TransitionEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TransitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `propertyName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/propertyName)\n\n*This API requires the following crate features to be activated: `TransitionEvent`*" ] pub fn property_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_property_name_TransitionEvent ( self_ : < & TransitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TransitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_property_name_TransitionEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `propertyName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/propertyName)\n\n*This API requires the following crate features to be activated: `TransitionEvent`*" ] pub fn property_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_elapsed_time_TransitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TransitionEvent as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl TransitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `elapsedTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/elapsedTime)\n\n*This API requires the following crate features to be activated: `TransitionEvent`*" ] pub fn elapsed_time ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_elapsed_time_TransitionEvent ( self_ : < & TransitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TransitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_elapsed_time_TransitionEvent ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `elapsedTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/elapsedTime)\n\n*This API requires the following crate features to be activated: `TransitionEvent`*" ] pub fn elapsed_time ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pseudo_element_TransitionEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TransitionEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl TransitionEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pseudoElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/pseudoElement)\n\n*This API requires the following crate features to be activated: `TransitionEvent`*" ] pub fn pseudo_element ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pseudo_element_TransitionEvent ( self_ : < & TransitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TransitionEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pseudo_element_TransitionEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pseudoElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/pseudoElement)\n\n*This API requires the following crate features to be activated: `TransitionEvent`*" ] pub fn pseudo_element ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `TreeWalker` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker)\n\n*This API requires the following crate features to be activated: `TreeWalker`*" ] # [ repr ( transparent ) ] pub struct TreeWalker { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_TreeWalker : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for TreeWalker { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for TreeWalker { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for TreeWalker { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a TreeWalker { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for TreeWalker { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { TreeWalker { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for TreeWalker { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a TreeWalker { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for TreeWalker { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < TreeWalker > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( TreeWalker { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for TreeWalker { # [ inline ] fn from ( obj : JsValue ) -> TreeWalker { TreeWalker { obj } } } impl AsRef < JsValue > for TreeWalker { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < TreeWalker > for JsValue { # [ inline ] fn from ( obj : TreeWalker ) -> JsValue { obj . obj } } impl JsCast for TreeWalker { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_TreeWalker ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_TreeWalker ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TreeWalker { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TreeWalker ) } } } ( ) } ; impl core :: ops :: Deref for TreeWalker { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < TreeWalker > for Object { # [ inline ] fn from ( obj : TreeWalker ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for TreeWalker { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_first_child_TreeWalker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TreeWalker as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl TreeWalker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `firstChild()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/firstChild)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn first_child ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_first_child_TreeWalker ( self_ : < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_first_child_TreeWalker ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `firstChild()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/firstChild)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn first_child ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_last_child_TreeWalker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TreeWalker as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl TreeWalker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lastChild()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/lastChild)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn last_child ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_last_child_TreeWalker ( self_ : < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_last_child_TreeWalker ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lastChild()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/lastChild)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn last_child ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_next_node_TreeWalker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TreeWalker as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl TreeWalker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `nextNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/nextNode)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn next_node ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_next_node_TreeWalker ( self_ : < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_next_node_TreeWalker ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `nextNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/nextNode)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn next_node ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_next_sibling_TreeWalker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TreeWalker as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl TreeWalker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `nextSibling()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/nextSibling)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn next_sibling ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_next_sibling_TreeWalker ( self_ : < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_next_sibling_TreeWalker ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `nextSibling()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/nextSibling)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn next_sibling ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_parent_node_TreeWalker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TreeWalker as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl TreeWalker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `parentNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/parentNode)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn parent_node ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_parent_node_TreeWalker ( self_ : < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_parent_node_TreeWalker ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `parentNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/parentNode)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn parent_node ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_previous_node_TreeWalker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TreeWalker as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl TreeWalker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `previousNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/previousNode)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn previous_node ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_previous_node_TreeWalker ( self_ : < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_previous_node_TreeWalker ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `previousNode()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/previousNode)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn previous_node ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_previous_sibling_TreeWalker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TreeWalker as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl TreeWalker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `previousSibling()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/previousSibling)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn previous_sibling ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_previous_sibling_TreeWalker ( self_ : < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_previous_sibling_TreeWalker ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `previousSibling()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/previousSibling)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn previous_sibling ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_root_TreeWalker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TreeWalker as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl TreeWalker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `root` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/root)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn root ( & self , ) -> Node { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_root_TreeWalker ( self_ : < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_root_TreeWalker ( self_ ) } ; < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `root` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/root)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn root ( & self , ) -> Node { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_what_to_show_TreeWalker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TreeWalker as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl TreeWalker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `whatToShow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/whatToShow)\n\n*This API requires the following crate features to be activated: `TreeWalker`*" ] pub fn what_to_show ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_what_to_show_TreeWalker ( self_ : < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_what_to_show_TreeWalker ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `whatToShow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/whatToShow)\n\n*This API requires the following crate features to be activated: `TreeWalker`*" ] pub fn what_to_show ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_filter_TreeWalker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TreeWalker as WasmDescribe > :: describe ( ) ; < Option < NodeFilter > as WasmDescribe > :: describe ( ) ; } impl TreeWalker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `filter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/filter)\n\n*This API requires the following crate features to be activated: `NodeFilter`, `TreeWalker`*" ] pub fn filter ( & self , ) -> Option < NodeFilter > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_filter_TreeWalker ( self_ : < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < NodeFilter > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_filter_TreeWalker ( self_ ) } ; < Option < NodeFilter > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `filter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/filter)\n\n*This API requires the following crate features to be activated: `NodeFilter`, `TreeWalker`*" ] pub fn filter ( & self , ) -> Option < NodeFilter > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_current_node_TreeWalker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & TreeWalker as WasmDescribe > :: describe ( ) ; < Node as WasmDescribe > :: describe ( ) ; } impl TreeWalker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/currentNode)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn current_node ( & self , ) -> Node { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_current_node_TreeWalker ( self_ : < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_current_node_TreeWalker ( self_ ) } ; < Node as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentNode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/currentNode)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn current_node ( & self , ) -> Node { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_current_node_TreeWalker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & TreeWalker as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl TreeWalker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `currentNode` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/currentNode)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn set_current_node ( & self , current_node : & Node ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_current_node_TreeWalker ( self_ : < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , current_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & TreeWalker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let current_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( current_node , & mut __stack ) ; __widl_f_set_current_node_TreeWalker ( self_ , current_node ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `currentNode` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/currentNode)\n\n*This API requires the following crate features to be activated: `Node`, `TreeWalker`*" ] pub fn set_current_node ( & self , current_node : & Node ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `U2F` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/U2F)\n\n*This API requires the following crate features to be activated: `U2f`*" ] # [ repr ( transparent ) ] pub struct U2f { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_U2f : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for U2f { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for U2f { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for U2f { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a U2f { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for U2f { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { U2f { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for U2f { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a U2f { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for U2f { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < U2f > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( U2f { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for U2f { # [ inline ] fn from ( obj : JsValue ) -> U2f { U2f { obj } } } impl AsRef < JsValue > for U2f { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < U2f > for JsValue { # [ inline ] fn from ( obj : U2f ) -> JsValue { obj . obj } } impl JsCast for U2f { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_U2F ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_U2F ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { U2f { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const U2f ) } } } ( ) } ; impl core :: ops :: Deref for U2f { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < U2f > for Object { # [ inline ] fn from ( obj : U2f ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for U2f { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `UIEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] # [ repr ( transparent ) ] pub struct UiEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_UiEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for UiEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for UiEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for UiEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a UiEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for UiEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { UiEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for UiEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a UiEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for UiEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < UiEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( UiEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for UiEvent { # [ inline ] fn from ( obj : JsValue ) -> UiEvent { UiEvent { obj } } } impl AsRef < JsValue > for UiEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < UiEvent > for JsValue { # [ inline ] fn from ( obj : UiEvent ) -> JsValue { obj . obj } } impl JsCast for UiEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_UIEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_UIEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { UiEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const UiEvent ) } } } ( ) } ; impl core :: ops :: Deref for UiEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < UiEvent > for Event { # [ inline ] fn from ( obj : UiEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for UiEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < UiEvent > for Object { # [ inline ] fn from ( obj : UiEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for UiEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < UiEvent as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new UIEvent(..)` constructor, creating a new instance of `UIEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/UIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn new ( type_ : & str ) -> Result < UiEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_UIEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < UiEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_UIEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < UiEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new UIEvent(..)` constructor, creating a new instance of `UIEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/UIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn new ( type_ : & str ) -> Result < UiEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & UiEventInit as WasmDescribe > :: describe ( ) ; < UiEvent as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new UIEvent(..)` constructor, creating a new instance of `UIEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/UIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`, `UiEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & UiEventInit ) -> Result < UiEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_UIEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & UiEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < UiEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & UiEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_UIEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < UiEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new UIEvent(..)` constructor, creating a new instance of `UIEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/UIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`, `UiEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & UiEventInit ) -> Result < UiEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_ui_event_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initUIEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn init_ui_event ( & self , a_type : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_ui_event_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_type , & mut __stack ) ; __widl_f_init_ui_event_UIEvent ( self_ , a_type ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initUIEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn init_ui_event ( & self , a_type : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_ui_event_with_a_can_bubble_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initUIEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn init_ui_event_with_a_can_bubble ( & self , a_type : & str , a_can_bubble : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_ui_event_with_a_can_bubble_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_type , & mut __stack ) ; let a_can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_can_bubble , & mut __stack ) ; __widl_f_init_ui_event_with_a_can_bubble_UIEvent ( self_ , a_type , a_can_bubble ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initUIEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn init_ui_event_with_a_can_bubble ( & self , a_type : & str , a_can_bubble : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_ui_event_with_a_can_bubble_and_a_cancelable_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initUIEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn init_ui_event_with_a_can_bubble_and_a_cancelable ( & self , a_type : & str , a_can_bubble : bool , a_cancelable : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_ui_event_with_a_can_bubble_and_a_cancelable_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_type , & mut __stack ) ; let a_can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_can_bubble , & mut __stack ) ; let a_cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_cancelable , & mut __stack ) ; __widl_f_init_ui_event_with_a_can_bubble_and_a_cancelable_UIEvent ( self_ , a_type , a_can_bubble , a_cancelable ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initUIEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn init_ui_event_with_a_can_bubble_and_a_cancelable ( & self , a_type : & str , a_can_bubble : bool , a_cancelable : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initUIEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`, `Window`*" ] pub fn init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view ( & self , a_type : & str , a_can_bubble : bool , a_cancelable : bool , a_view : Option < & Window > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_type , & mut __stack ) ; let a_can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_can_bubble , & mut __stack ) ; let a_cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; __widl_f_init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view_UIEvent ( self_ , a_type , a_can_bubble , a_cancelable , a_view ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initUIEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`, `Window`*" ] pub fn init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view ( & self , a_type : & str , a_can_bubble : bool , a_cancelable : bool , a_view : Option < & Window > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view_and_a_detail_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & Window > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `initUIEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`, `Window`*" ] pub fn init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view_and_a_detail ( & self , a_type : & str , a_can_bubble : bool , a_cancelable : bool , a_view : Option < & Window > , a_detail : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view_and_a_detail_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_type : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_can_bubble : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_cancelable : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_view : < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_detail : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_type = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_type , & mut __stack ) ; let a_can_bubble = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_can_bubble , & mut __stack ) ; let a_cancelable = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_cancelable , & mut __stack ) ; let a_view = < Option < & Window > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_view , & mut __stack ) ; let a_detail = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_detail , & mut __stack ) ; __widl_f_init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view_and_a_detail_UIEvent ( self_ , a_type , a_can_bubble , a_cancelable , a_view , a_detail ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `initUIEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent)\n\n*This API requires the following crate features to be activated: `UiEvent`, `Window`*" ] pub fn init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view_and_a_detail ( & self , a_type : & str , a_can_bubble : bool , a_cancelable : bool , a_view : Option < & Window > , a_detail : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_view_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `view` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/view)\n\n*This API requires the following crate features to be activated: `UiEvent`, `Window`*" ] pub fn view ( & self , ) -> Option < Window > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_view_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_view_UIEvent ( self_ ) } ; < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `view` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/view)\n\n*This API requires the following crate features to be activated: `UiEvent`, `Window`*" ] pub fn view ( & self , ) -> Option < Window > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_detail_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `detail` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/detail)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn detail ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_detail_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_detail_UIEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `detail` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/detail)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn detail ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_layer_x_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `layerX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/layerX)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn layer_x ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_layer_x_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_layer_x_UIEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `layerX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/layerX)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn layer_x ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_layer_y_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `layerY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/layerY)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn layer_y ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_layer_y_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_layer_y_UIEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `layerY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/layerY)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn layer_y ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_page_x_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pageX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/pageX)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn page_x ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_page_x_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_page_x_UIEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pageX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/pageX)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn page_x ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_page_y_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pageY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/pageY)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn page_y ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_page_y_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_page_y_UIEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pageY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/pageY)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn page_y ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_which_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `which` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn which ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_which_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_which_UIEvent ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `which` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn which ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_range_parent_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rangeParent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/rangeParent)\n\n*This API requires the following crate features to be activated: `Node`, `UiEvent`*" ] pub fn range_parent ( & self , ) -> Option < Node > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_range_parent_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_range_parent_UIEvent ( self_ ) } ; < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rangeParent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/rangeParent)\n\n*This API requires the following crate features to be activated: `Node`, `UiEvent`*" ] pub fn range_parent ( & self , ) -> Option < Node > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_range_offset_UIEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & UiEvent as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl UiEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rangeOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/rangeOffset)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn range_offset ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_range_offset_UIEvent ( self_ : < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UiEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_range_offset_UIEvent ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rangeOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/rangeOffset)\n\n*This API requires the following crate features to be activated: `UiEvent`*" ] pub fn range_offset ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `URL` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL)\n\n*This API requires the following crate features to be activated: `Url`*" ] # [ repr ( transparent ) ] pub struct Url { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Url : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Url { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Url { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Url { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Url { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Url { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Url { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Url { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Url { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Url { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Url > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Url { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Url { # [ inline ] fn from ( obj : JsValue ) -> Url { Url { obj } } } impl AsRef < JsValue > for Url { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Url > for JsValue { # [ inline ] fn from ( obj : Url ) -> JsValue { obj . obj } } impl JsCast for Url { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_URL ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_URL ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Url { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Url ) } } } ( ) } ; impl core :: ops :: Deref for Url { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Url > for Object { # [ inline ] fn from ( obj : Url ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Url { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < Url as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new URL(..)` constructor, creating a new instance of `URL`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn new ( url : & str ) -> Result < Url , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_URL ( url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Url as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_new_URL ( url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Url as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new URL(..)` constructor, creating a new instance of `URL`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn new ( url : & str ) -> Result < Url , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_base_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Url as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new URL(..)` constructor, creating a new instance of `URL`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn new_with_base ( url : & str , base : & str ) -> Result < Url , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_base_URL ( url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , base : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Url as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let base = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( base , & mut __stack ) ; __widl_f_new_with_base_URL ( url , base , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Url as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new URL(..)` constructor, creating a new instance of `URL`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn new_with_base ( url : & str , base : & str ) -> Result < Url , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_object_url_with_blob_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Blob as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createObjectURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL)\n\n*This API requires the following crate features to be activated: `Blob`, `Url`*" ] pub fn create_object_url_with_blob ( blob : & Blob ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_object_url_with_blob_URL ( blob : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let blob = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blob , & mut __stack ) ; __widl_f_create_object_url_with_blob_URL ( blob , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createObjectURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL)\n\n*This API requires the following crate features to be activated: `Blob`, `Url`*" ] pub fn create_object_url_with_blob ( blob : & Blob ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_object_url_with_source_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & MediaSource as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createObjectURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL)\n\n*This API requires the following crate features to be activated: `MediaSource`, `Url`*" ] pub fn create_object_url_with_source ( source : & MediaSource ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_object_url_with_source_URL ( source : < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let source = < & MediaSource as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_create_object_url_with_source_URL ( source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createObjectURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL)\n\n*This API requires the following crate features to be activated: `MediaSource`, `Url`*" ] pub fn create_object_url_with_source ( source : & MediaSource ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_revoke_object_url_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `revokeObjectURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn revoke_object_url ( url : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_revoke_object_url_URL ( url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_revoke_object_url_URL ( url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `revokeObjectURL()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn revoke_object_url ( url : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_to_json_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/toJSON)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn to_json ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_to_json_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_to_json_URL ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toJSON()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/toJSON)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn to_json ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/href)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn href ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_URL ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/href)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn href ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_href_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/href)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_href ( & self , href : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_href_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , href : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let href = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( href , & mut __stack ) ; __widl_f_set_href_URL ( self_ , href ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/href)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_href ( & self , href : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_origin_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/origin)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn origin ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_origin_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_origin_URL ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/origin)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn origin ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_protocol_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `protocol` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/protocol)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn protocol ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_protocol_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_protocol_URL ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `protocol` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/protocol)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn protocol ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_protocol_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `protocol` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/protocol)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_protocol ( & self , protocol : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_protocol_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , protocol : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let protocol = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( protocol , & mut __stack ) ; __widl_f_set_protocol_URL ( self_ , protocol ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `protocol` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/protocol)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_protocol ( & self , protocol : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_username_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `username` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/username)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn username ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_username_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_username_URL ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `username` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/username)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn username ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_username_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `username` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/username)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_username ( & self , username : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_username_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , username : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let username = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( username , & mut __stack ) ; __widl_f_set_username_URL ( self_ , username ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `username` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/username)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_username ( & self , username : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_password_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `password` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/password)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn password ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_password_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_password_URL ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `password` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/password)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn password ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_password_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `password` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/password)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_password ( & self , password : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_password_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , password : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let password = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( password , & mut __stack ) ; __widl_f_set_password_URL ( self_ , password ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `password` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/password)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_password ( & self , password : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_host_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `host` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/host)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn host ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_host_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_host_URL ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `host` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/host)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn host ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_host_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `host` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/host)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_host ( & self , host : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_host_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , host : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let host = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( host , & mut __stack ) ; __widl_f_set_host_URL ( self_ , host ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `host` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/host)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_host ( & self , host : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hostname_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hostname` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/hostname)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn hostname ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hostname_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hostname_URL ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hostname` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/hostname)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn hostname ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_hostname_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hostname` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/hostname)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_hostname ( & self , hostname : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_hostname_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , hostname : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let hostname = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( hostname , & mut __stack ) ; __widl_f_set_hostname_URL ( self_ , hostname ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hostname` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/hostname)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_hostname ( & self , hostname : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_port_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/port)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn port ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_port_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_port_URL ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/port)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn port ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_port_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `port` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/port)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_port ( & self , port : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_port_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , port : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let port = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( port , & mut __stack ) ; __widl_f_set_port_URL ( self_ , port ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `port` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/port)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_port ( & self , port : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pathname_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pathname` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/pathname)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn pathname ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pathname_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pathname_URL ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pathname` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/pathname)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn pathname ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_pathname_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pathname` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/pathname)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_pathname ( & self , pathname : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_pathname_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pathname : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pathname = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pathname , & mut __stack ) ; __widl_f_set_pathname_URL ( self_ , pathname ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pathname` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/pathname)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_pathname ( & self , pathname : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_search_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `search` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/search)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn search ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_search_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_search_URL ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `search` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/search)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn search ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_search_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `search` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/search)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_search ( & self , search : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_search_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , search : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let search = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( search , & mut __stack ) ; __widl_f_set_search_URL ( self_ , search ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `search` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/search)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_search ( & self , search : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_search_params_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < UrlSearchParams as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `searchParams` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/searchParams)\n\n*This API requires the following crate features to be activated: `Url`, `UrlSearchParams`*" ] pub fn search_params ( & self , ) -> UrlSearchParams { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_search_params_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < UrlSearchParams as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_search_params_URL ( self_ ) } ; < UrlSearchParams as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `searchParams` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/searchParams)\n\n*This API requires the following crate features to be activated: `Url`, `UrlSearchParams`*" ] pub fn search_params ( & self , ) -> UrlSearchParams { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hash_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hash` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/hash)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn hash ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hash_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hash_URL ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hash` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/hash)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn hash ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_hash_URL ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Url as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Url { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hash` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/hash)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_hash ( & self , hash : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_hash_URL ( self_ : < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , hash : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Url as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let hash = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( hash , & mut __stack ) ; __widl_f_set_hash_URL ( self_ , hash ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hash` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URL/hash)\n\n*This API requires the following crate features to be activated: `Url`*" ] pub fn set_hash ( & self , hash : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `URLSearchParams` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] # [ repr ( transparent ) ] pub struct UrlSearchParams { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_UrlSearchParams : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for UrlSearchParams { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for UrlSearchParams { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for UrlSearchParams { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a UrlSearchParams { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for UrlSearchParams { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { UrlSearchParams { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for UrlSearchParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a UrlSearchParams { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for UrlSearchParams { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < UrlSearchParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( UrlSearchParams { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for UrlSearchParams { # [ inline ] fn from ( obj : JsValue ) -> UrlSearchParams { UrlSearchParams { obj } } } impl AsRef < JsValue > for UrlSearchParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < UrlSearchParams > for JsValue { # [ inline ] fn from ( obj : UrlSearchParams ) -> JsValue { obj . obj } } impl JsCast for UrlSearchParams { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_URLSearchParams ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_URLSearchParams ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { UrlSearchParams { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const UrlSearchParams ) } } } ( ) } ; impl core :: ops :: Deref for UrlSearchParams { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < UrlSearchParams > for Object { # [ inline ] fn from ( obj : UrlSearchParams ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for UrlSearchParams { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_URLSearchParams ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < UrlSearchParams as WasmDescribe > :: describe ( ) ; } impl UrlSearchParams { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new URLSearchParams(..)` constructor, creating a new instance of `URLSearchParams`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn new ( ) -> Result < UrlSearchParams , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_URLSearchParams ( exn_data_ptr : * mut u32 ) -> < UrlSearchParams as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_URLSearchParams ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < UrlSearchParams as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new URLSearchParams(..)` constructor, creating a new instance of `URLSearchParams`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn new ( ) -> Result < UrlSearchParams , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_str_URLSearchParams ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < UrlSearchParams as WasmDescribe > :: describe ( ) ; } impl UrlSearchParams { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new URLSearchParams(..)` constructor, creating a new instance of `URLSearchParams`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn new_with_str ( init : & str ) -> Result < UrlSearchParams , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_str_URLSearchParams ( init : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < UrlSearchParams as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let init = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_new_with_str_URLSearchParams ( init , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < UrlSearchParams as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new URLSearchParams(..)` constructor, creating a new instance of `URLSearchParams`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn new_with_str ( init : & str ) -> Result < UrlSearchParams , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_append_URLSearchParams ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & UrlSearchParams as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl UrlSearchParams { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/append)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn append ( & self , name : & str , value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_append_URLSearchParams ( self_ : < & UrlSearchParams as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UrlSearchParams as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_append_URLSearchParams ( self_ , name , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `append()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/append)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn append ( & self , name : & str , value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_URLSearchParams ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & UrlSearchParams as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl UrlSearchParams { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/delete)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn delete ( & self , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_URLSearchParams ( self_ : < & UrlSearchParams as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UrlSearchParams as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_delete_URLSearchParams ( self_ , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `delete()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/delete)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn delete ( & self , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_URLSearchParams ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & UrlSearchParams as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl UrlSearchParams { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/get)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn get ( & self , name : & str ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_URLSearchParams ( self_ : < & UrlSearchParams as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UrlSearchParams as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_URLSearchParams ( self_ , name ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `get()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/get)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn get ( & self , name : & str ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_URLSearchParams ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & UrlSearchParams as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl UrlSearchParams { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/has)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn has ( & self , name : & str ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_URLSearchParams ( self_ : < & UrlSearchParams as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UrlSearchParams as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_has_URLSearchParams ( self_ , name ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `has()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/has)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn has ( & self , name : & str ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_URLSearchParams ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & UrlSearchParams as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl UrlSearchParams { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `set()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/set)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn set ( & self , name : & str , value : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_URLSearchParams ( self_ : < & UrlSearchParams as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UrlSearchParams as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_URLSearchParams ( self_ , name , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `set()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/set)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn set ( & self , name : & str , value : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sort_URLSearchParams ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & UrlSearchParams as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl UrlSearchParams { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/sort)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn sort ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sort_URLSearchParams ( self_ : < & UrlSearchParams as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UrlSearchParams as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sort_URLSearchParams ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/sort)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`*" ] pub fn sort ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `UserProximityEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UserProximityEvent)\n\n*This API requires the following crate features to be activated: `UserProximityEvent`*" ] # [ repr ( transparent ) ] pub struct UserProximityEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_UserProximityEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for UserProximityEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for UserProximityEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for UserProximityEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a UserProximityEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for UserProximityEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { UserProximityEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for UserProximityEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a UserProximityEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for UserProximityEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < UserProximityEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( UserProximityEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for UserProximityEvent { # [ inline ] fn from ( obj : JsValue ) -> UserProximityEvent { UserProximityEvent { obj } } } impl AsRef < JsValue > for UserProximityEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < UserProximityEvent > for JsValue { # [ inline ] fn from ( obj : UserProximityEvent ) -> JsValue { obj . obj } } impl JsCast for UserProximityEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_UserProximityEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_UserProximityEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { UserProximityEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const UserProximityEvent ) } } } ( ) } ; impl core :: ops :: Deref for UserProximityEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < UserProximityEvent > for Event { # [ inline ] fn from ( obj : UserProximityEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for UserProximityEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < UserProximityEvent > for Object { # [ inline ] fn from ( obj : UserProximityEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for UserProximityEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_UserProximityEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < UserProximityEvent as WasmDescribe > :: describe ( ) ; } impl UserProximityEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new UserProximityEvent(..)` constructor, creating a new instance of `UserProximityEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UserProximityEvent/UserProximityEvent)\n\n*This API requires the following crate features to be activated: `UserProximityEvent`*" ] pub fn new ( type_ : & str ) -> Result < UserProximityEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_UserProximityEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < UserProximityEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_UserProximityEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < UserProximityEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new UserProximityEvent(..)` constructor, creating a new instance of `UserProximityEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UserProximityEvent/UserProximityEvent)\n\n*This API requires the following crate features to be activated: `UserProximityEvent`*" ] pub fn new ( type_ : & str ) -> Result < UserProximityEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_UserProximityEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & UserProximityEventInit as WasmDescribe > :: describe ( ) ; < UserProximityEvent as WasmDescribe > :: describe ( ) ; } impl UserProximityEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new UserProximityEvent(..)` constructor, creating a new instance of `UserProximityEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UserProximityEvent/UserProximityEvent)\n\n*This API requires the following crate features to be activated: `UserProximityEvent`, `UserProximityEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & UserProximityEventInit ) -> Result < UserProximityEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_UserProximityEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & UserProximityEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < UserProximityEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & UserProximityEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_UserProximityEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < UserProximityEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new UserProximityEvent(..)` constructor, creating a new instance of `UserProximityEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UserProximityEvent/UserProximityEvent)\n\n*This API requires the following crate features to be activated: `UserProximityEvent`, `UserProximityEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & UserProximityEventInit ) -> Result < UserProximityEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_near_UserProximityEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & UserProximityEvent as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl UserProximityEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `near` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UserProximityEvent/near)\n\n*This API requires the following crate features to be activated: `UserProximityEvent`*" ] pub fn near ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_near_UserProximityEvent ( self_ : < & UserProximityEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & UserProximityEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_near_UserProximityEvent ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `near` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/UserProximityEvent/near)\n\n*This API requires the following crate features to be activated: `UserProximityEvent`*" ] pub fn near ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VRDisplay` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] # [ repr ( transparent ) ] pub struct VrDisplay { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VrDisplay : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VrDisplay { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VrDisplay { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VrDisplay { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VrDisplay { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VrDisplay { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VrDisplay { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VrDisplay { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VrDisplay { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VrDisplay { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VrDisplay > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VrDisplay { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VrDisplay { # [ inline ] fn from ( obj : JsValue ) -> VrDisplay { VrDisplay { obj } } } impl AsRef < JsValue > for VrDisplay { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VrDisplay > for JsValue { # [ inline ] fn from ( obj : VrDisplay ) -> JsValue { obj . obj } } impl JsCast for VrDisplay { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VRDisplay ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VRDisplay ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VrDisplay { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VrDisplay ) } } } ( ) } ; impl core :: ops :: Deref for VrDisplay { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < VrDisplay > for EventTarget { # [ inline ] fn from ( obj : VrDisplay ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for VrDisplay { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < VrDisplay > for Object { # [ inline ] fn from ( obj : VrDisplay ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VrDisplay { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cancel_animation_frame_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cancelAnimationFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/cancelAnimationFrame)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn cancel_animation_frame ( & self , handle : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cancel_animation_frame_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handle : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handle = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handle , & mut __stack ) ; __widl_f_cancel_animation_frame_VRDisplay ( self_ , handle , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cancelAnimationFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/cancelAnimationFrame)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn cancel_animation_frame ( & self , handle : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exit_present_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `exitPresent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/exitPresent)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn exit_present ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exit_present_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_exit_present_VRDisplay ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `exitPresent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/exitPresent)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn exit_present ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_eye_parameters_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < VrEye as WasmDescribe > :: describe ( ) ; < VrEyeParameters as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getEyeParameters()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/getEyeParameters)\n\n*This API requires the following crate features to be activated: `VrDisplay`, `VrEye`, `VrEyeParameters`*" ] pub fn get_eye_parameters ( & self , which_eye : VrEye ) -> VrEyeParameters { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_eye_parameters_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , which_eye : < VrEye as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < VrEyeParameters as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let which_eye = < VrEye as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( which_eye , & mut __stack ) ; __widl_f_get_eye_parameters_VRDisplay ( self_ , which_eye ) } ; < VrEyeParameters as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getEyeParameters()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/getEyeParameters)\n\n*This API requires the following crate features to be activated: `VrDisplay`, `VrEye`, `VrEyeParameters`*" ] pub fn get_eye_parameters ( & self , which_eye : VrEye ) -> VrEyeParameters { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_frame_data_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < & VrFrameData as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFrameData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/getFrameData)\n\n*This API requires the following crate features to be activated: `VrDisplay`, `VrFrameData`*" ] pub fn get_frame_data ( & self , frame_data : & VrFrameData ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_frame_data_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , frame_data : < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let frame_data = < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( frame_data , & mut __stack ) ; __widl_f_get_frame_data_VRDisplay ( self_ , frame_data ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFrameData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/getFrameData)\n\n*This API requires the following crate features to be activated: `VrDisplay`, `VrFrameData`*" ] pub fn get_frame_data ( & self , frame_data : & VrFrameData ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_pose_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < VrPose as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getPose()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/getPose)\n\n*This API requires the following crate features to be activated: `VrDisplay`, `VrPose`*" ] pub fn get_pose ( & self , ) -> VrPose { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_pose_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < VrPose as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_pose_VRDisplay ( self_ ) } ; < VrPose as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getPose()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/getPose)\n\n*This API requires the following crate features to be activated: `VrDisplay`, `VrPose`*" ] pub fn get_pose ( & self , ) -> VrPose { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_submit_frame_result_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < & VrSubmitFrameResult as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getSubmitFrameResult()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/getSubmitFrameResult)\n\n*This API requires the following crate features to be activated: `VrDisplay`, `VrSubmitFrameResult`*" ] pub fn get_submit_frame_result ( & self , result : & VrSubmitFrameResult ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_submit_frame_result_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , result : < & VrSubmitFrameResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let result = < & VrSubmitFrameResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( result , & mut __stack ) ; __widl_f_get_submit_frame_result_VRDisplay ( self_ , result ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getSubmitFrameResult()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/getSubmitFrameResult)\n\n*This API requires the following crate features to be activated: `VrDisplay`, `VrSubmitFrameResult`*" ] pub fn get_submit_frame_result ( & self , result : & VrSubmitFrameResult ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_animation_frame_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestAnimationFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/requestAnimationFrame)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn request_animation_frame ( & self , callback : & :: js_sys :: Function ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_animation_frame_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( callback , & mut __stack ) ; __widl_f_request_animation_frame_VRDisplay ( self_ , callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestAnimationFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/requestAnimationFrame)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn request_animation_frame ( & self , callback : & :: js_sys :: Function ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reset_pose_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `resetPose()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/resetPose)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn reset_pose ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reset_pose_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reset_pose_VRDisplay ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `resetPose()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/resetPose)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn reset_pose ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_submit_frame_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `submitFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/submitFrame)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn submit_frame ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_submit_frame_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_submit_frame_VRDisplay ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `submitFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/submitFrame)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn submit_frame ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_connected_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isConnected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/isConnected)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn is_connected ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_connected_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_connected_VRDisplay ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isConnected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/isConnected)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn is_connected ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_presenting_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isPresenting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/isPresenting)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn is_presenting ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_presenting_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_presenting_VRDisplay ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isPresenting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/isPresenting)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn is_presenting ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_capabilities_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < VrDisplayCapabilities as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `capabilities` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/capabilities)\n\n*This API requires the following crate features to be activated: `VrDisplay`, `VrDisplayCapabilities`*" ] pub fn capabilities ( & self , ) -> VrDisplayCapabilities { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_capabilities_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < VrDisplayCapabilities as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_capabilities_VRDisplay ( self_ ) } ; < VrDisplayCapabilities as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `capabilities` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/capabilities)\n\n*This API requires the following crate features to be activated: `VrDisplay`, `VrDisplayCapabilities`*" ] pub fn capabilities ( & self , ) -> VrDisplayCapabilities { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stage_parameters_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < Option < VrStageParameters > as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stageParameters` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/stageParameters)\n\n*This API requires the following crate features to be activated: `VrDisplay`, `VrStageParameters`*" ] pub fn stage_parameters ( & self , ) -> Option < VrStageParameters > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stage_parameters_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < VrStageParameters > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stage_parameters_VRDisplay ( self_ ) } ; < Option < VrStageParameters > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stageParameters` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/stageParameters)\n\n*This API requires the following crate features to be activated: `VrDisplay`, `VrStageParameters`*" ] pub fn stage_parameters ( & self , ) -> Option < VrStageParameters > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_display_id_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `displayId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/displayId)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn display_id ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_display_id_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_display_id_VRDisplay ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `displayId` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/displayId)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn display_id ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_display_name_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `displayName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/displayName)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn display_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_display_name_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_display_name_VRDisplay ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `displayName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/displayName)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn display_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_depth_near_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `depthNear` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/depthNear)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn depth_near ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_depth_near_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_depth_near_VRDisplay ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `depthNear` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/depthNear)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn depth_near ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_depth_near_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `depthNear` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/depthNear)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn set_depth_near ( & self , depth_near : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_depth_near_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth_near : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let depth_near = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth_near , & mut __stack ) ; __widl_f_set_depth_near_VRDisplay ( self_ , depth_near ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `depthNear` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/depthNear)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn set_depth_near ( & self , depth_near : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_depth_far_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `depthFar` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/depthFar)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn depth_far ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_depth_far_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_depth_far_VRDisplay ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `depthFar` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/depthFar)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn depth_far ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_depth_far_VRDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VrDisplay as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VrDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `depthFar` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/depthFar)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn set_depth_far ( & self , depth_far : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_depth_far_VRDisplay ( self_ : < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth_far : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let depth_far = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth_far , & mut __stack ) ; __widl_f_set_depth_far_VRDisplay ( self_ , depth_far ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `depthFar` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplay/depthFar)\n\n*This API requires the following crate features to be activated: `VrDisplay`*" ] pub fn set_depth_far ( & self , depth_far : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VRDisplayCapabilities` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities)\n\n*This API requires the following crate features to be activated: `VrDisplayCapabilities`*" ] # [ repr ( transparent ) ] pub struct VrDisplayCapabilities { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VrDisplayCapabilities : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VrDisplayCapabilities { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VrDisplayCapabilities { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VrDisplayCapabilities { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VrDisplayCapabilities { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VrDisplayCapabilities { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VrDisplayCapabilities { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VrDisplayCapabilities { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VrDisplayCapabilities { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VrDisplayCapabilities { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VrDisplayCapabilities > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VrDisplayCapabilities { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VrDisplayCapabilities { # [ inline ] fn from ( obj : JsValue ) -> VrDisplayCapabilities { VrDisplayCapabilities { obj } } } impl AsRef < JsValue > for VrDisplayCapabilities { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VrDisplayCapabilities > for JsValue { # [ inline ] fn from ( obj : VrDisplayCapabilities ) -> JsValue { obj . obj } } impl JsCast for VrDisplayCapabilities { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VRDisplayCapabilities ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VRDisplayCapabilities ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VrDisplayCapabilities { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VrDisplayCapabilities ) } } } ( ) } ; impl core :: ops :: Deref for VrDisplayCapabilities { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < VrDisplayCapabilities > for Object { # [ inline ] fn from ( obj : VrDisplayCapabilities ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VrDisplayCapabilities { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_position_VRDisplayCapabilities ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplayCapabilities as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl VrDisplayCapabilities { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasPosition` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasPosition)\n\n*This API requires the following crate features to be activated: `VrDisplayCapabilities`*" ] pub fn has_position ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_position_VRDisplayCapabilities ( self_ : < & VrDisplayCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplayCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_has_position_VRDisplayCapabilities ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasPosition` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasPosition)\n\n*This API requires the following crate features to be activated: `VrDisplayCapabilities`*" ] pub fn has_position ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_orientation_VRDisplayCapabilities ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplayCapabilities as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl VrDisplayCapabilities { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasOrientation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasOrientation)\n\n*This API requires the following crate features to be activated: `VrDisplayCapabilities`*" ] pub fn has_orientation ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_orientation_VRDisplayCapabilities ( self_ : < & VrDisplayCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplayCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_has_orientation_VRDisplayCapabilities ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasOrientation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasOrientation)\n\n*This API requires the following crate features to be activated: `VrDisplayCapabilities`*" ] pub fn has_orientation ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_has_external_display_VRDisplayCapabilities ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplayCapabilities as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl VrDisplayCapabilities { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hasExternalDisplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasExternalDisplay)\n\n*This API requires the following crate features to be activated: `VrDisplayCapabilities`*" ] pub fn has_external_display ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_has_external_display_VRDisplayCapabilities ( self_ : < & VrDisplayCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplayCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_has_external_display_VRDisplayCapabilities ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hasExternalDisplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/hasExternalDisplay)\n\n*This API requires the following crate features to be activated: `VrDisplayCapabilities`*" ] pub fn has_external_display ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_can_present_VRDisplayCapabilities ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplayCapabilities as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl VrDisplayCapabilities { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `canPresent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/canPresent)\n\n*This API requires the following crate features to be activated: `VrDisplayCapabilities`*" ] pub fn can_present ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_can_present_VRDisplayCapabilities ( self_ : < & VrDisplayCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplayCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_can_present_VRDisplayCapabilities ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `canPresent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/canPresent)\n\n*This API requires the following crate features to be activated: `VrDisplayCapabilities`*" ] pub fn can_present ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_max_layers_VRDisplayCapabilities ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrDisplayCapabilities as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl VrDisplayCapabilities { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `maxLayers` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/maxLayers)\n\n*This API requires the following crate features to be activated: `VrDisplayCapabilities`*" ] pub fn max_layers ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_max_layers_VRDisplayCapabilities ( self_ : < & VrDisplayCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrDisplayCapabilities as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_max_layers_VRDisplayCapabilities ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `maxLayers` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRDisplayCapabilities/maxLayers)\n\n*This API requires the following crate features to be activated: `VrDisplayCapabilities`*" ] pub fn max_layers ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VREyeParameters` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters)\n\n*This API requires the following crate features to be activated: `VrEyeParameters`*" ] # [ repr ( transparent ) ] pub struct VrEyeParameters { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VrEyeParameters : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VrEyeParameters { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VrEyeParameters { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VrEyeParameters { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VrEyeParameters { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VrEyeParameters { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VrEyeParameters { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VrEyeParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VrEyeParameters { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VrEyeParameters { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VrEyeParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VrEyeParameters { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VrEyeParameters { # [ inline ] fn from ( obj : JsValue ) -> VrEyeParameters { VrEyeParameters { obj } } } impl AsRef < JsValue > for VrEyeParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VrEyeParameters > for JsValue { # [ inline ] fn from ( obj : VrEyeParameters ) -> JsValue { obj . obj } } impl JsCast for VrEyeParameters { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VREyeParameters ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VREyeParameters ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VrEyeParameters { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VrEyeParameters ) } } } ( ) } ; impl core :: ops :: Deref for VrEyeParameters { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < VrEyeParameters > for Object { # [ inline ] fn from ( obj : VrEyeParameters ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VrEyeParameters { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_offset_VREyeParameters ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrEyeParameters as WasmDescribe > :: describe ( ) ; < Vec < f32 > as WasmDescribe > :: describe ( ) ; } impl VrEyeParameters { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `offset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/offset)\n\n*This API requires the following crate features to be activated: `VrEyeParameters`*" ] pub fn offset ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_offset_VREyeParameters ( self_ : < & VrEyeParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrEyeParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_offset_VREyeParameters ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `offset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/offset)\n\n*This API requires the following crate features to be activated: `VrEyeParameters`*" ] pub fn offset ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_field_of_view_VREyeParameters ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrEyeParameters as WasmDescribe > :: describe ( ) ; < VrFieldOfView as WasmDescribe > :: describe ( ) ; } impl VrEyeParameters { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fieldOfView` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/fieldOfView)\n\n*This API requires the following crate features to be activated: `VrEyeParameters`, `VrFieldOfView`*" ] pub fn field_of_view ( & self , ) -> VrFieldOfView { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_field_of_view_VREyeParameters ( self_ : < & VrEyeParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < VrFieldOfView as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrEyeParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_field_of_view_VREyeParameters ( self_ ) } ; < VrFieldOfView as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fieldOfView` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/fieldOfView)\n\n*This API requires the following crate features to be activated: `VrEyeParameters`, `VrFieldOfView`*" ] pub fn field_of_view ( & self , ) -> VrFieldOfView { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_render_width_VREyeParameters ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrEyeParameters as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl VrEyeParameters { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `renderWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/renderWidth)\n\n*This API requires the following crate features to be activated: `VrEyeParameters`*" ] pub fn render_width ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_render_width_VREyeParameters ( self_ : < & VrEyeParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrEyeParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_render_width_VREyeParameters ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `renderWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/renderWidth)\n\n*This API requires the following crate features to be activated: `VrEyeParameters`*" ] pub fn render_width ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_render_height_VREyeParameters ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrEyeParameters as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl VrEyeParameters { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `renderHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/renderHeight)\n\n*This API requires the following crate features to be activated: `VrEyeParameters`*" ] pub fn render_height ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_render_height_VREyeParameters ( self_ : < & VrEyeParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrEyeParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_render_height_VREyeParameters ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `renderHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/renderHeight)\n\n*This API requires the following crate features to be activated: `VrEyeParameters`*" ] pub fn render_height ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VRFieldOfView` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView)\n\n*This API requires the following crate features to be activated: `VrFieldOfView`*" ] # [ repr ( transparent ) ] pub struct VrFieldOfView { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VrFieldOfView : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VrFieldOfView { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VrFieldOfView { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VrFieldOfView { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VrFieldOfView { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VrFieldOfView { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VrFieldOfView { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VrFieldOfView { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VrFieldOfView { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VrFieldOfView { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VrFieldOfView > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VrFieldOfView { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VrFieldOfView { # [ inline ] fn from ( obj : JsValue ) -> VrFieldOfView { VrFieldOfView { obj } } } impl AsRef < JsValue > for VrFieldOfView { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VrFieldOfView > for JsValue { # [ inline ] fn from ( obj : VrFieldOfView ) -> JsValue { obj . obj } } impl JsCast for VrFieldOfView { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VRFieldOfView ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VRFieldOfView ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VrFieldOfView { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VrFieldOfView ) } } } ( ) } ; impl core :: ops :: Deref for VrFieldOfView { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < VrFieldOfView > for Object { # [ inline ] fn from ( obj : VrFieldOfView ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VrFieldOfView { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_up_degrees_VRFieldOfView ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrFieldOfView as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VrFieldOfView { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `upDegrees` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/upDegrees)\n\n*This API requires the following crate features to be activated: `VrFieldOfView`*" ] pub fn up_degrees ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_up_degrees_VRFieldOfView ( self_ : < & VrFieldOfView as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrFieldOfView as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_up_degrees_VRFieldOfView ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `upDegrees` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/upDegrees)\n\n*This API requires the following crate features to be activated: `VrFieldOfView`*" ] pub fn up_degrees ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_right_degrees_VRFieldOfView ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrFieldOfView as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VrFieldOfView { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rightDegrees` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/rightDegrees)\n\n*This API requires the following crate features to be activated: `VrFieldOfView`*" ] pub fn right_degrees ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_right_degrees_VRFieldOfView ( self_ : < & VrFieldOfView as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrFieldOfView as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_right_degrees_VRFieldOfView ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rightDegrees` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/rightDegrees)\n\n*This API requires the following crate features to be activated: `VrFieldOfView`*" ] pub fn right_degrees ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_down_degrees_VRFieldOfView ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrFieldOfView as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VrFieldOfView { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `downDegrees` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/downDegrees)\n\n*This API requires the following crate features to be activated: `VrFieldOfView`*" ] pub fn down_degrees ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_down_degrees_VRFieldOfView ( self_ : < & VrFieldOfView as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrFieldOfView as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_down_degrees_VRFieldOfView ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `downDegrees` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/downDegrees)\n\n*This API requires the following crate features to be activated: `VrFieldOfView`*" ] pub fn down_degrees ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_left_degrees_VRFieldOfView ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrFieldOfView as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VrFieldOfView { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `leftDegrees` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/leftDegrees)\n\n*This API requires the following crate features to be activated: `VrFieldOfView`*" ] pub fn left_degrees ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_left_degrees_VRFieldOfView ( self_ : < & VrFieldOfView as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrFieldOfView as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_left_degrees_VRFieldOfView ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `leftDegrees` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/leftDegrees)\n\n*This API requires the following crate features to be activated: `VrFieldOfView`*" ] pub fn left_degrees ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VRFrameData` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData)\n\n*This API requires the following crate features to be activated: `VrFrameData`*" ] # [ repr ( transparent ) ] pub struct VrFrameData { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VrFrameData : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VrFrameData { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VrFrameData { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VrFrameData { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VrFrameData { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VrFrameData { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VrFrameData { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VrFrameData { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VrFrameData { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VrFrameData { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VrFrameData > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VrFrameData { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VrFrameData { # [ inline ] fn from ( obj : JsValue ) -> VrFrameData { VrFrameData { obj } } } impl AsRef < JsValue > for VrFrameData { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VrFrameData > for JsValue { # [ inline ] fn from ( obj : VrFrameData ) -> JsValue { obj . obj } } impl JsCast for VrFrameData { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VRFrameData ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VRFrameData ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VrFrameData { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VrFrameData ) } } } ( ) } ; impl core :: ops :: Deref for VrFrameData { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < VrFrameData > for Object { # [ inline ] fn from ( obj : VrFrameData ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VrFrameData { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_VRFrameData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < VrFrameData as WasmDescribe > :: describe ( ) ; } impl VrFrameData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new VRFrameData(..)` constructor, creating a new instance of `VRFrameData`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/VRFrameData)\n\n*This API requires the following crate features to be activated: `VrFrameData`*" ] pub fn new ( ) -> Result < VrFrameData , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_VRFrameData ( exn_data_ptr : * mut u32 ) -> < VrFrameData as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_VRFrameData ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < VrFrameData as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new VRFrameData(..)` constructor, creating a new instance of `VRFrameData`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/VRFrameData)\n\n*This API requires the following crate features to be activated: `VrFrameData`*" ] pub fn new ( ) -> Result < VrFrameData , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_timestamp_VRFrameData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrFrameData as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VrFrameData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timestamp` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/timestamp)\n\n*This API requires the following crate features to be activated: `VrFrameData`*" ] pub fn timestamp ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_timestamp_VRFrameData ( self_ : < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_timestamp_VRFrameData ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timestamp` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/timestamp)\n\n*This API requires the following crate features to be activated: `VrFrameData`*" ] pub fn timestamp ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_left_projection_matrix_VRFrameData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrFrameData as WasmDescribe > :: describe ( ) ; < Vec < f32 > as WasmDescribe > :: describe ( ) ; } impl VrFrameData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `leftProjectionMatrix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/leftProjectionMatrix)\n\n*This API requires the following crate features to be activated: `VrFrameData`*" ] pub fn left_projection_matrix ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_left_projection_matrix_VRFrameData ( self_ : < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_left_projection_matrix_VRFrameData ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `leftProjectionMatrix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/leftProjectionMatrix)\n\n*This API requires the following crate features to be activated: `VrFrameData`*" ] pub fn left_projection_matrix ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_left_view_matrix_VRFrameData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrFrameData as WasmDescribe > :: describe ( ) ; < Vec < f32 > as WasmDescribe > :: describe ( ) ; } impl VrFrameData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `leftViewMatrix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/leftViewMatrix)\n\n*This API requires the following crate features to be activated: `VrFrameData`*" ] pub fn left_view_matrix ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_left_view_matrix_VRFrameData ( self_ : < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_left_view_matrix_VRFrameData ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `leftViewMatrix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/leftViewMatrix)\n\n*This API requires the following crate features to be activated: `VrFrameData`*" ] pub fn left_view_matrix ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_right_projection_matrix_VRFrameData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrFrameData as WasmDescribe > :: describe ( ) ; < Vec < f32 > as WasmDescribe > :: describe ( ) ; } impl VrFrameData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rightProjectionMatrix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/rightProjectionMatrix)\n\n*This API requires the following crate features to be activated: `VrFrameData`*" ] pub fn right_projection_matrix ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_right_projection_matrix_VRFrameData ( self_ : < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_right_projection_matrix_VRFrameData ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rightProjectionMatrix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/rightProjectionMatrix)\n\n*This API requires the following crate features to be activated: `VrFrameData`*" ] pub fn right_projection_matrix ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_right_view_matrix_VRFrameData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrFrameData as WasmDescribe > :: describe ( ) ; < Vec < f32 > as WasmDescribe > :: describe ( ) ; } impl VrFrameData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rightViewMatrix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/rightViewMatrix)\n\n*This API requires the following crate features to be activated: `VrFrameData`*" ] pub fn right_view_matrix ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_right_view_matrix_VRFrameData ( self_ : < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_right_view_matrix_VRFrameData ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rightViewMatrix` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/rightViewMatrix)\n\n*This API requires the following crate features to be activated: `VrFrameData`*" ] pub fn right_view_matrix ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pose_VRFrameData ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrFrameData as WasmDescribe > :: describe ( ) ; < VrPose as WasmDescribe > :: describe ( ) ; } impl VrFrameData { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/pose)\n\n*This API requires the following crate features to be activated: `VrFrameData`, `VrPose`*" ] pub fn pose ( & self , ) -> VrPose { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pose_VRFrameData ( self_ : < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < VrPose as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrFrameData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pose_VRFrameData ( self_ ) } ; < VrPose as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFrameData/pose)\n\n*This API requires the following crate features to be activated: `VrFrameData`, `VrPose`*" ] pub fn pose ( & self , ) -> VrPose { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VRMockController` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockController)\n\n*This API requires the following crate features to be activated: `VrMockController`*" ] # [ repr ( transparent ) ] pub struct VrMockController { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VrMockController : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VrMockController { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VrMockController { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VrMockController { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VrMockController { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VrMockController { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VrMockController { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VrMockController { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VrMockController { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VrMockController { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VrMockController > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VrMockController { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VrMockController { # [ inline ] fn from ( obj : JsValue ) -> VrMockController { VrMockController { obj } } } impl AsRef < JsValue > for VrMockController { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VrMockController > for JsValue { # [ inline ] fn from ( obj : VrMockController ) -> JsValue { obj . obj } } impl JsCast for VrMockController { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VRMockController ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VRMockController ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VrMockController { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VrMockController ) } } } ( ) } ; impl core :: ops :: Deref for VrMockController { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < VrMockController > for Object { # [ inline ] fn from ( obj : VrMockController ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VrMockController { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_axis_move_event_VRMockController ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & VrMockController as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VrMockController { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `newAxisMoveEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockController/newAxisMoveEvent)\n\n*This API requires the following crate features to be activated: `VrMockController`*" ] pub fn new_axis_move_event ( & self , axis : u32 , value : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_axis_move_event_VRMockController ( self_ : < & VrMockController as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , axis : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrMockController as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let axis = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( axis , & mut __stack ) ; let value = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_new_axis_move_event_VRMockController ( self_ , axis , value ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `newAxisMoveEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockController/newAxisMoveEvent)\n\n*This API requires the following crate features to be activated: `VrMockController`*" ] pub fn new_axis_move_event ( & self , axis : u32 , value : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_button_event_VRMockController ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & VrMockController as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VrMockController { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `newButtonEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockController/newButtonEvent)\n\n*This API requires the following crate features to be activated: `VrMockController`*" ] pub fn new_button_event ( & self , button : u32 , pressed : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_button_event_VRMockController ( self_ : < & VrMockController as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , button : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pressed : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrMockController as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let button = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( button , & mut __stack ) ; let pressed = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pressed , & mut __stack ) ; __widl_f_new_button_event_VRMockController ( self_ , button , pressed ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `newButtonEvent()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockController/newButtonEvent)\n\n*This API requires the following crate features to be activated: `VrMockController`*" ] pub fn new_button_event ( & self , button : u32 , pressed : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_pose_move_VRMockController ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & VrMockController as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VrMockController { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `newPoseMove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockController/newPoseMove)\n\n*This API requires the following crate features to be activated: `VrMockController`*" ] pub fn new_pose_move ( & self , position : Option < & mut [ f32 ] > , linear_velocity : Option < & mut [ f32 ] > , linear_acceleration : Option < & mut [ f32 ] > , orientation : Option < & mut [ f32 ] > , angular_velocity : Option < & mut [ f32 ] > , angular_acceleration : Option < & mut [ f32 ] > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_pose_move_VRMockController ( self_ : < & VrMockController as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , position : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , linear_velocity : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , linear_acceleration : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , orientation : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angular_velocity : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angular_acceleration : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrMockController as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let position = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( position , & mut __stack ) ; let linear_velocity = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( linear_velocity , & mut __stack ) ; let linear_acceleration = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( linear_acceleration , & mut __stack ) ; let orientation = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( orientation , & mut __stack ) ; let angular_velocity = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angular_velocity , & mut __stack ) ; let angular_acceleration = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angular_acceleration , & mut __stack ) ; __widl_f_new_pose_move_VRMockController ( self_ , position , linear_velocity , linear_acceleration , orientation , angular_velocity , angular_acceleration ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `newPoseMove()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockController/newPoseMove)\n\n*This API requires the following crate features to be activated: `VrMockController`*" ] pub fn new_pose_move ( & self , position : Option < & mut [ f32 ] > , linear_velocity : Option < & mut [ f32 ] > , linear_acceleration : Option < & mut [ f32 ] > , orientation : Option < & mut [ f32 ] > , angular_velocity : Option < & mut [ f32 ] > , angular_acceleration : Option < & mut [ f32 ] > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VRMockDisplay` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay)\n\n*This API requires the following crate features to be activated: `VrMockDisplay`*" ] # [ repr ( transparent ) ] pub struct VrMockDisplay { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VrMockDisplay : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VrMockDisplay { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VrMockDisplay { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VrMockDisplay { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VrMockDisplay { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VrMockDisplay { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VrMockDisplay { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VrMockDisplay { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VrMockDisplay { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VrMockDisplay { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VrMockDisplay > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VrMockDisplay { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VrMockDisplay { # [ inline ] fn from ( obj : JsValue ) -> VrMockDisplay { VrMockDisplay { obj } } } impl AsRef < JsValue > for VrMockDisplay { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VrMockDisplay > for JsValue { # [ inline ] fn from ( obj : VrMockDisplay ) -> JsValue { obj . obj } } impl JsCast for VrMockDisplay { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VRMockDisplay ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VRMockDisplay ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VrMockDisplay { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VrMockDisplay ) } } } ( ) } ; impl core :: ops :: Deref for VrMockDisplay { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < VrMockDisplay > for Object { # [ inline ] fn from ( obj : VrMockDisplay ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VrMockDisplay { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_eye_parameter_VRMockDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & VrMockDisplay as WasmDescribe > :: describe ( ) ; < VrEye as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VrMockDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setEyeParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setEyeParameter)\n\n*This API requires the following crate features to be activated: `VrEye`, `VrMockDisplay`*" ] pub fn set_eye_parameter ( & self , eye : VrEye , offset_x : f64 , offset_y : f64 , offset_z : f64 , up_degree : f64 , right_degree : f64 , down_degree : f64 , left_degree : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_eye_parameter_VRMockDisplay ( self_ : < & VrMockDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , eye : < VrEye as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , up_degree : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , right_degree : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , down_degree : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , left_degree : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrMockDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let eye = < VrEye as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( eye , & mut __stack ) ; let offset_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset_x , & mut __stack ) ; let offset_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset_y , & mut __stack ) ; let offset_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset_z , & mut __stack ) ; let up_degree = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( up_degree , & mut __stack ) ; let right_degree = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( right_degree , & mut __stack ) ; let down_degree = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( down_degree , & mut __stack ) ; let left_degree = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( left_degree , & mut __stack ) ; __widl_f_set_eye_parameter_VRMockDisplay ( self_ , eye , offset_x , offset_y , offset_z , up_degree , right_degree , down_degree , left_degree ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setEyeParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setEyeParameter)\n\n*This API requires the following crate features to be activated: `VrEye`, `VrMockDisplay`*" ] pub fn set_eye_parameter ( & self , eye : VrEye , offset_x : f64 , offset_y : f64 , offset_z : f64 , up_degree : f64 , right_degree : f64 , down_degree : f64 , left_degree : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_eye_resolution_VRMockDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & VrMockDisplay as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VrMockDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setEyeResolution()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setEyeResolution)\n\n*This API requires the following crate features to be activated: `VrMockDisplay`*" ] pub fn set_eye_resolution ( & self , a_render_width : u32 , a_render_height : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_eye_resolution_VRMockDisplay ( self_ : < & VrMockDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_render_width : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_render_height : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrMockDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_render_width = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_render_width , & mut __stack ) ; let a_render_height = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_render_height , & mut __stack ) ; __widl_f_set_eye_resolution_VRMockDisplay ( self_ , a_render_width , a_render_height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setEyeResolution()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setEyeResolution)\n\n*This API requires the following crate features to be activated: `VrMockDisplay`*" ] pub fn set_eye_resolution ( & self , a_render_width : u32 , a_render_height : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_mount_state_VRMockDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VrMockDisplay as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VrMockDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setMountState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setMountState)\n\n*This API requires the following crate features to be activated: `VrMockDisplay`*" ] pub fn set_mount_state ( & self , is_mounted : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_mount_state_VRMockDisplay ( self_ : < & VrMockDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , is_mounted : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrMockDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let is_mounted = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( is_mounted , & mut __stack ) ; __widl_f_set_mount_state_VRMockDisplay ( self_ , is_mounted ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setMountState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setMountState)\n\n*This API requires the following crate features to be activated: `VrMockDisplay`*" ] pub fn set_mount_state ( & self , is_mounted : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_pose_VRMockDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & VrMockDisplay as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VrMockDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setPose()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)\n\n*This API requires the following crate features to be activated: `VrMockDisplay`*" ] pub fn set_pose ( & self , position : Option < & mut [ f32 ] > , linear_velocity : Option < & mut [ f32 ] > , linear_acceleration : Option < & mut [ f32 ] > , orientation : Option < & mut [ f32 ] > , angular_velocity : Option < & mut [ f32 ] > , angular_acceleration : Option < & mut [ f32 ] > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_pose_VRMockDisplay ( self_ : < & VrMockDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , position : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , linear_velocity : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , linear_acceleration : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , orientation : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angular_velocity : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angular_acceleration : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrMockDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let position = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( position , & mut __stack ) ; let linear_velocity = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( linear_velocity , & mut __stack ) ; let linear_acceleration = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( linear_acceleration , & mut __stack ) ; let orientation = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( orientation , & mut __stack ) ; let angular_velocity = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angular_velocity , & mut __stack ) ; let angular_acceleration = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angular_acceleration , & mut __stack ) ; __widl_f_set_pose_VRMockDisplay ( self_ , position , linear_velocity , linear_acceleration , orientation , angular_velocity , angular_acceleration ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setPose()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)\n\n*This API requires the following crate features to be activated: `VrMockDisplay`*" ] pub fn set_pose ( & self , position : Option < & mut [ f32 ] > , linear_velocity : Option < & mut [ f32 ] > , linear_acceleration : Option < & mut [ f32 ] > , orientation : Option < & mut [ f32 ] > , angular_velocity : Option < & mut [ f32 ] > , angular_acceleration : Option < & mut [ f32 ] > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_update_VRMockDisplay ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrMockDisplay as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VrMockDisplay { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `update()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/update)\n\n*This API requires the following crate features to be activated: `VrMockDisplay`*" ] pub fn update ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_update_VRMockDisplay ( self_ : < & VrMockDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrMockDisplay as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_update_VRMockDisplay ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `update()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/update)\n\n*This API requires the following crate features to be activated: `VrMockDisplay`*" ] pub fn update ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VRPose` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose)\n\n*This API requires the following crate features to be activated: `VrPose`*" ] # [ repr ( transparent ) ] pub struct VrPose { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VrPose : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VrPose { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VrPose { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VrPose { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VrPose { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VrPose { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VrPose { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VrPose { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VrPose { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VrPose { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VrPose > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VrPose { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VrPose { # [ inline ] fn from ( obj : JsValue ) -> VrPose { VrPose { obj } } } impl AsRef < JsValue > for VrPose { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VrPose > for JsValue { # [ inline ] fn from ( obj : VrPose ) -> JsValue { obj . obj } } impl JsCast for VrPose { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VRPose ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VRPose ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VrPose { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VrPose ) } } } ( ) } ; impl core :: ops :: Deref for VrPose { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < VrPose > for Object { # [ inline ] fn from ( obj : VrPose ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VrPose { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_position_VRPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrPose as WasmDescribe > :: describe ( ) ; < Option < Vec < f32 > > as WasmDescribe > :: describe ( ) ; } impl VrPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `position` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/position)\n\n*This API requires the following crate features to be activated: `VrPose`*" ] pub fn position ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_position_VRPose ( self_ : < & VrPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_position_VRPose ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `position` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/position)\n\n*This API requires the following crate features to be activated: `VrPose`*" ] pub fn position ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_linear_velocity_VRPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrPose as WasmDescribe > :: describe ( ) ; < Option < Vec < f32 > > as WasmDescribe > :: describe ( ) ; } impl VrPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `linearVelocity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearVelocity)\n\n*This API requires the following crate features to be activated: `VrPose`*" ] pub fn linear_velocity ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_linear_velocity_VRPose ( self_ : < & VrPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_linear_velocity_VRPose ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `linearVelocity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearVelocity)\n\n*This API requires the following crate features to be activated: `VrPose`*" ] pub fn linear_velocity ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_linear_acceleration_VRPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrPose as WasmDescribe > :: describe ( ) ; < Option < Vec < f32 > > as WasmDescribe > :: describe ( ) ; } impl VrPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `linearAcceleration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearAcceleration)\n\n*This API requires the following crate features to be activated: `VrPose`*" ] pub fn linear_acceleration ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_linear_acceleration_VRPose ( self_ : < & VrPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_linear_acceleration_VRPose ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `linearAcceleration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/linearAcceleration)\n\n*This API requires the following crate features to be activated: `VrPose`*" ] pub fn linear_acceleration ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_orientation_VRPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrPose as WasmDescribe > :: describe ( ) ; < Option < Vec < f32 > > as WasmDescribe > :: describe ( ) ; } impl VrPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `orientation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/orientation)\n\n*This API requires the following crate features to be activated: `VrPose`*" ] pub fn orientation ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_orientation_VRPose ( self_ : < & VrPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_orientation_VRPose ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `orientation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/orientation)\n\n*This API requires the following crate features to be activated: `VrPose`*" ] pub fn orientation ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_angular_velocity_VRPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrPose as WasmDescribe > :: describe ( ) ; < Option < Vec < f32 > > as WasmDescribe > :: describe ( ) ; } impl VrPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `angularVelocity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularVelocity)\n\n*This API requires the following crate features to be activated: `VrPose`*" ] pub fn angular_velocity ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_angular_velocity_VRPose ( self_ : < & VrPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_angular_velocity_VRPose ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `angularVelocity` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularVelocity)\n\n*This API requires the following crate features to be activated: `VrPose`*" ] pub fn angular_velocity ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_angular_acceleration_VRPose ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrPose as WasmDescribe > :: describe ( ) ; < Option < Vec < f32 > > as WasmDescribe > :: describe ( ) ; } impl VrPose { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `angularAcceleration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularAcceleration)\n\n*This API requires the following crate features to be activated: `VrPose`*" ] pub fn angular_acceleration ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_angular_acceleration_VRPose ( self_ : < & VrPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrPose as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_angular_acceleration_VRPose ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `angularAcceleration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRPose/angularAcceleration)\n\n*This API requires the following crate features to be activated: `VrPose`*" ] pub fn angular_acceleration ( & self , ) -> Result < Option < Vec < f32 > > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VRServiceTest` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest)\n\n*This API requires the following crate features to be activated: `VrServiceTest`*" ] # [ repr ( transparent ) ] pub struct VrServiceTest { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VrServiceTest : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VrServiceTest { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VrServiceTest { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VrServiceTest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VrServiceTest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VrServiceTest { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VrServiceTest { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VrServiceTest { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VrServiceTest { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VrServiceTest { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VrServiceTest > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VrServiceTest { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VrServiceTest { # [ inline ] fn from ( obj : JsValue ) -> VrServiceTest { VrServiceTest { obj } } } impl AsRef < JsValue > for VrServiceTest { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VrServiceTest > for JsValue { # [ inline ] fn from ( obj : VrServiceTest ) -> JsValue { obj . obj } } impl JsCast for VrServiceTest { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VRServiceTest ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VRServiceTest ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VrServiceTest { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VrServiceTest ) } } } ( ) } ; impl core :: ops :: Deref for VrServiceTest { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < VrServiceTest > for Object { # [ inline ] fn from ( obj : VrServiceTest ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VrServiceTest { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_attach_vr_controller_VRServiceTest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VrServiceTest as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl VrServiceTest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `attachVRController()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest/attachVRController)\n\n*This API requires the following crate features to be activated: `VrServiceTest`*" ] pub fn attach_vr_controller ( & self , id : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_attach_vr_controller_VRServiceTest ( self_ : < & VrServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; __widl_f_attach_vr_controller_VRServiceTest ( self_ , id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `attachVRController()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest/attachVRController)\n\n*This API requires the following crate features to be activated: `VrServiceTest`*" ] pub fn attach_vr_controller ( & self , id : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_attach_vr_display_VRServiceTest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VrServiceTest as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl VrServiceTest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `attachVRDisplay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest/attachVRDisplay)\n\n*This API requires the following crate features to be activated: `VrServiceTest`*" ] pub fn attach_vr_display ( & self , id : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_attach_vr_display_VRServiceTest ( self_ : < & VrServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrServiceTest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; __widl_f_attach_vr_display_VRServiceTest ( self_ , id , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `attachVRDisplay()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRServiceTest/attachVRDisplay)\n\n*This API requires the following crate features to be activated: `VrServiceTest`*" ] pub fn attach_vr_display ( & self , id : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VRStageParameters` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters)\n\n*This API requires the following crate features to be activated: `VrStageParameters`*" ] # [ repr ( transparent ) ] pub struct VrStageParameters { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VrStageParameters : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VrStageParameters { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VrStageParameters { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VrStageParameters { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VrStageParameters { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VrStageParameters { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VrStageParameters { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VrStageParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VrStageParameters { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VrStageParameters { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VrStageParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VrStageParameters { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VrStageParameters { # [ inline ] fn from ( obj : JsValue ) -> VrStageParameters { VrStageParameters { obj } } } impl AsRef < JsValue > for VrStageParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VrStageParameters > for JsValue { # [ inline ] fn from ( obj : VrStageParameters ) -> JsValue { obj . obj } } impl JsCast for VrStageParameters { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VRStageParameters ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VRStageParameters ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VrStageParameters { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VrStageParameters ) } } } ( ) } ; impl core :: ops :: Deref for VrStageParameters { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < VrStageParameters > for Object { # [ inline ] fn from ( obj : VrStageParameters ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VrStageParameters { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sitting_to_standing_transform_VRStageParameters ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrStageParameters as WasmDescribe > :: describe ( ) ; < Vec < f32 > as WasmDescribe > :: describe ( ) ; } impl VrStageParameters { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sittingToStandingTransform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sittingToStandingTransform)\n\n*This API requires the following crate features to be activated: `VrStageParameters`*" ] pub fn sitting_to_standing_transform ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sitting_to_standing_transform_VRStageParameters ( self_ : < & VrStageParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrStageParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_sitting_to_standing_transform_VRStageParameters ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Vec < f32 > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sittingToStandingTransform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sittingToStandingTransform)\n\n*This API requires the following crate features to be activated: `VrStageParameters`*" ] pub fn sitting_to_standing_transform ( & self , ) -> Result < Vec < f32 > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_size_x_VRStageParameters ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrStageParameters as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl VrStageParameters { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sizeX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sizeX)\n\n*This API requires the following crate features to be activated: `VrStageParameters`*" ] pub fn size_x ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_size_x_VRStageParameters ( self_ : < & VrStageParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrStageParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_size_x_VRStageParameters ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sizeX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sizeX)\n\n*This API requires the following crate features to be activated: `VrStageParameters`*" ] pub fn size_x ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_size_z_VRStageParameters ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrStageParameters as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; } impl VrStageParameters { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sizeZ` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sizeZ)\n\n*This API requires the following crate features to be activated: `VrStageParameters`*" ] pub fn size_z ( & self , ) -> f32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_size_z_VRStageParameters ( self_ : < & VrStageParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrStageParameters as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_size_z_VRStageParameters ( self_ ) } ; < f32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sizeZ` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sizeZ)\n\n*This API requires the following crate features to be activated: `VrStageParameters`*" ] pub fn size_z ( & self , ) -> f32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VRSubmitFrameResult` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult)\n\n*This API requires the following crate features to be activated: `VrSubmitFrameResult`*" ] # [ repr ( transparent ) ] pub struct VrSubmitFrameResult { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VrSubmitFrameResult : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VrSubmitFrameResult { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VrSubmitFrameResult { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VrSubmitFrameResult { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VrSubmitFrameResult { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VrSubmitFrameResult { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VrSubmitFrameResult { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VrSubmitFrameResult { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VrSubmitFrameResult { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VrSubmitFrameResult { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VrSubmitFrameResult > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VrSubmitFrameResult { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VrSubmitFrameResult { # [ inline ] fn from ( obj : JsValue ) -> VrSubmitFrameResult { VrSubmitFrameResult { obj } } } impl AsRef < JsValue > for VrSubmitFrameResult { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VrSubmitFrameResult > for JsValue { # [ inline ] fn from ( obj : VrSubmitFrameResult ) -> JsValue { obj . obj } } impl JsCast for VrSubmitFrameResult { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VRSubmitFrameResult ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VRSubmitFrameResult ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VrSubmitFrameResult { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VrSubmitFrameResult ) } } } ( ) } ; impl core :: ops :: Deref for VrSubmitFrameResult { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < VrSubmitFrameResult > for Object { # [ inline ] fn from ( obj : VrSubmitFrameResult ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VrSubmitFrameResult { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_VRSubmitFrameResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < VrSubmitFrameResult as WasmDescribe > :: describe ( ) ; } impl VrSubmitFrameResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new VRSubmitFrameResult(..)` constructor, creating a new instance of `VRSubmitFrameResult`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult/VRSubmitFrameResult)\n\n*This API requires the following crate features to be activated: `VrSubmitFrameResult`*" ] pub fn new ( ) -> Result < VrSubmitFrameResult , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_VRSubmitFrameResult ( exn_data_ptr : * mut u32 ) -> < VrSubmitFrameResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_VRSubmitFrameResult ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < VrSubmitFrameResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new VRSubmitFrameResult(..)` constructor, creating a new instance of `VRSubmitFrameResult`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult/VRSubmitFrameResult)\n\n*This API requires the following crate features to be activated: `VrSubmitFrameResult`*" ] pub fn new ( ) -> Result < VrSubmitFrameResult , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_frame_num_VRSubmitFrameResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrSubmitFrameResult as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl VrSubmitFrameResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frameNum` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult/frameNum)\n\n*This API requires the following crate features to be activated: `VrSubmitFrameResult`*" ] pub fn frame_num ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_frame_num_VRSubmitFrameResult ( self_ : < & VrSubmitFrameResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrSubmitFrameResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_frame_num_VRSubmitFrameResult ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frameNum` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult/frameNum)\n\n*This API requires the following crate features to be activated: `VrSubmitFrameResult`*" ] pub fn frame_num ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_base64_image_VRSubmitFrameResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VrSubmitFrameResult as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl VrSubmitFrameResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `base64Image` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult/base64Image)\n\n*This API requires the following crate features to be activated: `VrSubmitFrameResult`*" ] pub fn base64_image ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_base64_image_VRSubmitFrameResult ( self_ : < & VrSubmitFrameResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VrSubmitFrameResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_base64_image_VRSubmitFrameResult ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `base64Image` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRSubmitFrameResult/base64Image)\n\n*This API requires the following crate features to be activated: `VrSubmitFrameResult`*" ] pub fn base64_image ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VTTCue` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] # [ repr ( transparent ) ] pub struct VttCue { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VttCue : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VttCue { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VttCue { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VttCue { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VttCue { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VttCue { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VttCue { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VttCue { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VttCue { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VttCue { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VttCue > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VttCue { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VttCue { # [ inline ] fn from ( obj : JsValue ) -> VttCue { VttCue { obj } } } impl AsRef < JsValue > for VttCue { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VttCue > for JsValue { # [ inline ] fn from ( obj : VttCue ) -> JsValue { obj . obj } } impl JsCast for VttCue { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VTTCue ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VTTCue ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VttCue { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VttCue ) } } } ( ) } ; impl core :: ops :: Deref for VttCue { type Target = TextTrackCue ; # [ inline ] fn deref ( & self ) -> & TextTrackCue { self . as_ref ( ) } } impl From < VttCue > for TextTrackCue { # [ inline ] fn from ( obj : VttCue ) -> TextTrackCue { use wasm_bindgen :: JsCast ; TextTrackCue :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < TextTrackCue > for VttCue { # [ inline ] fn as_ref ( & self ) -> & TextTrackCue { use wasm_bindgen :: JsCast ; TextTrackCue :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < VttCue > for EventTarget { # [ inline ] fn from ( obj : VttCue ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for VttCue { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < VttCue > for Object { # [ inline ] fn from ( obj : VttCue ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VttCue { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < VttCue as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new VTTCue(..)` constructor, creating a new instance of `VTTCue`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/VTTCue)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn new ( start_time : f64 , end_time : f64 , text : & str ) -> Result < VttCue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_VTTCue ( start_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end_time : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < VttCue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let start_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start_time , & mut __stack ) ; let end_time = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end_time , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_new_VTTCue ( start_time , end_time , text , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < VttCue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new VTTCue(..)` constructor, creating a new instance of `VTTCue`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/VTTCue)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn new ( start_time : f64 , end_time : f64 , text : & str ) -> Result < VttCue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_cue_as_html_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < DocumentFragment as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getCueAsHTML()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/getCueAsHTML)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `VttCue`*" ] pub fn get_cue_as_html ( & self , ) -> DocumentFragment { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_cue_as_html_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_cue_as_html_VTTCue ( self_ ) } ; < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getCueAsHTML()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/getCueAsHTML)\n\n*This API requires the following crate features to be activated: `DocumentFragment`, `VttCue`*" ] pub fn get_cue_as_html ( & self , ) -> DocumentFragment { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_region_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < Option < VttRegion > as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `region` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/region)\n\n*This API requires the following crate features to be activated: `VttCue`, `VttRegion`*" ] pub fn region ( & self , ) -> Option < VttRegion > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_region_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < VttRegion > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_region_VTTCue ( self_ ) } ; < Option < VttRegion > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `region` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/region)\n\n*This API requires the following crate features to be activated: `VttCue`, `VttRegion`*" ] pub fn region ( & self , ) -> Option < VttRegion > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_region_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < Option < & VttRegion > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `region` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/region)\n\n*This API requires the following crate features to be activated: `VttCue`, `VttRegion`*" ] pub fn set_region ( & self , region : Option < & VttRegion > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_region_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , region : < Option < & VttRegion > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let region = < Option < & VttRegion > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( region , & mut __stack ) ; __widl_f_set_region_VTTCue ( self_ , region ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `region` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/region)\n\n*This API requires the following crate features to be activated: `VttCue`, `VttRegion`*" ] pub fn set_region ( & self , region : Option < & VttRegion > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertical_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < DirectionSetting as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertical` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/vertical)\n\n*This API requires the following crate features to be activated: `DirectionSetting`, `VttCue`*" ] pub fn vertical ( & self , ) -> DirectionSetting { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertical_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < DirectionSetting as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_vertical_VTTCue ( self_ ) } ; < DirectionSetting as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertical` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/vertical)\n\n*This API requires the following crate features to be activated: `DirectionSetting`, `VttCue`*" ] pub fn vertical ( & self , ) -> DirectionSetting { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_vertical_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < DirectionSetting as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertical` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/vertical)\n\n*This API requires the following crate features to be activated: `DirectionSetting`, `VttCue`*" ] pub fn set_vertical ( & self , vertical : DirectionSetting ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_vertical_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , vertical : < DirectionSetting as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let vertical = < DirectionSetting as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( vertical , & mut __stack ) ; __widl_f_set_vertical_VTTCue ( self_ , vertical ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertical` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/vertical)\n\n*This API requires the following crate features to be activated: `DirectionSetting`, `VttCue`*" ] pub fn set_vertical ( & self , vertical : DirectionSetting ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_snap_to_lines_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `snapToLines` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/snapToLines)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn snap_to_lines ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_snap_to_lines_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_snap_to_lines_VTTCue ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `snapToLines` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/snapToLines)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn snap_to_lines ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_snap_to_lines_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `snapToLines` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/snapToLines)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn set_snap_to_lines ( & self , snap_to_lines : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_snap_to_lines_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , snap_to_lines : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let snap_to_lines = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( snap_to_lines , & mut __stack ) ; __widl_f_set_snap_to_lines_VTTCue ( self_ , snap_to_lines ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `snapToLines` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/snapToLines)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn set_snap_to_lines ( & self , snap_to_lines : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_line_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `line` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/line)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn line ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_line_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_line_VTTCue ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `line` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/line)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn line ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_line_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `line` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/line)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn set_line ( & self , line : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_line_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , line : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let line = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( line , & mut __stack ) ; __widl_f_set_line_VTTCue ( self_ , line ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `line` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/line)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn set_line ( & self , line : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_line_align_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < LineAlignSetting as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/lineAlign)\n\n*This API requires the following crate features to be activated: `LineAlignSetting`, `VttCue`*" ] pub fn line_align ( & self , ) -> LineAlignSetting { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_line_align_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < LineAlignSetting as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_line_align_VTTCue ( self_ ) } ; < LineAlignSetting as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/lineAlign)\n\n*This API requires the following crate features to be activated: `LineAlignSetting`, `VttCue`*" ] pub fn line_align ( & self , ) -> LineAlignSetting { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_line_align_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < LineAlignSetting as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/lineAlign)\n\n*This API requires the following crate features to be activated: `LineAlignSetting`, `VttCue`*" ] pub fn set_line_align ( & self , line_align : LineAlignSetting ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_line_align_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , line_align : < LineAlignSetting as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let line_align = < LineAlignSetting as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( line_align , & mut __stack ) ; __widl_f_set_line_align_VTTCue ( self_ , line_align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/lineAlign)\n\n*This API requires the following crate features to be activated: `LineAlignSetting`, `VttCue`*" ] pub fn set_line_align ( & self , line_align : LineAlignSetting ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_position_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `position` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/position)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn position ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_position_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_position_VTTCue ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `position` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/position)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn position ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_position_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `position` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/position)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn set_position ( & self , position : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_position_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , position : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let position = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( position , & mut __stack ) ; __widl_f_set_position_VTTCue ( self_ , position ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `position` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/position)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn set_position ( & self , position : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_position_align_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < PositionAlignSetting as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `positionAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/positionAlign)\n\n*This API requires the following crate features to be activated: `PositionAlignSetting`, `VttCue`*" ] pub fn position_align ( & self , ) -> PositionAlignSetting { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_position_align_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < PositionAlignSetting as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_position_align_VTTCue ( self_ ) } ; < PositionAlignSetting as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `positionAlign` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/positionAlign)\n\n*This API requires the following crate features to be activated: `PositionAlignSetting`, `VttCue`*" ] pub fn position_align ( & self , ) -> PositionAlignSetting { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_position_align_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < PositionAlignSetting as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `positionAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/positionAlign)\n\n*This API requires the following crate features to be activated: `PositionAlignSetting`, `VttCue`*" ] pub fn set_position_align ( & self , position_align : PositionAlignSetting ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_position_align_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , position_align : < PositionAlignSetting as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let position_align = < PositionAlignSetting as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( position_align , & mut __stack ) ; __widl_f_set_position_align_VTTCue ( self_ , position_align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `positionAlign` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/positionAlign)\n\n*This API requires the following crate features to be activated: `PositionAlignSetting`, `VttCue`*" ] pub fn set_position_align ( & self , position_align : PositionAlignSetting ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_size_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/size)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn size ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_size_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_size_VTTCue ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/size)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn size ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_size_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/size)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn set_size ( & self , size : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_size_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let size = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_set_size_VTTCue ( self_ , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/size)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn set_size ( & self , size : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_align_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < AlignSetting as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/align)\n\n*This API requires the following crate features to be activated: `AlignSetting`, `VttCue`*" ] pub fn align ( & self , ) -> AlignSetting { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_align_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < AlignSetting as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_align_VTTCue ( self_ ) } ; < AlignSetting as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/align)\n\n*This API requires the following crate features to be activated: `AlignSetting`, `VttCue`*" ] pub fn align ( & self , ) -> AlignSetting { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_align_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < AlignSetting as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/align)\n\n*This API requires the following crate features to be activated: `AlignSetting`, `VttCue`*" ] pub fn set_align ( & self , align : AlignSetting ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_align_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , align : < AlignSetting as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let align = < AlignSetting as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( align , & mut __stack ) ; __widl_f_set_align_VTTCue ( self_ , align ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `align` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/align)\n\n*This API requires the following crate features to be activated: `AlignSetting`, `VttCue`*" ] pub fn set_align ( & self , align : AlignSetting ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_text_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/text)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn text ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_text_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_text_VTTCue ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/text)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn text ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_text_VTTCue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttCue as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttCue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/text)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn set_text ( & self , text : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_text_VTTCue ( self_ : < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttCue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( text , & mut __stack ) ; __widl_f_set_text_VTTCue ( self_ , text ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `text` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTCue/text)\n\n*This API requires the following crate features to be activated: `VttCue`*" ] pub fn set_text ( & self , text : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VTTRegion` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] # [ repr ( transparent ) ] pub struct VttRegion { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VttRegion : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VttRegion { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VttRegion { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VttRegion { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VttRegion { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VttRegion { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VttRegion { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VttRegion { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VttRegion { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VttRegion { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VttRegion > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VttRegion { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VttRegion { # [ inline ] fn from ( obj : JsValue ) -> VttRegion { VttRegion { obj } } } impl AsRef < JsValue > for VttRegion { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VttRegion > for JsValue { # [ inline ] fn from ( obj : VttRegion ) -> JsValue { obj . obj } } impl JsCast for VttRegion { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VTTRegion ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VTTRegion ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VttRegion { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VttRegion ) } } } ( ) } ; impl core :: ops :: Deref for VttRegion { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < VttRegion > for Object { # [ inline ] fn from ( obj : VttRegion ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VttRegion { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < VttRegion as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new VTTRegion(..)` constructor, creating a new instance of `VTTRegion`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/VTTRegion)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn new ( ) -> Result < VttRegion , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_VTTRegion ( exn_data_ptr : * mut u32 ) -> < VttRegion as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_VTTRegion ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < VttRegion as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new VTTRegion(..)` constructor, creating a new instance of `VTTRegion`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/VTTRegion)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn new ( ) -> Result < VttRegion , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/id)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_VTTRegion ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/id)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_id_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/id)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_id ( & self , id : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_id_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; __widl_f_set_id_VTTRegion ( self_ , id ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/id)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_id ( & self , id : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_width_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/width)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn width ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_width_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_width_VTTRegion ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/width)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn width ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_width_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/width)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_width ( & self , width : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_width_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_set_width_VTTRegion ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `width` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/width)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_width ( & self , width : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_lines_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lines` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/lines)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn lines ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_lines_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_lines_VTTRegion ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lines` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/lines)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn lines ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_lines_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lines` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/lines)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_lines ( & self , lines : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_lines_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , lines : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let lines = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( lines , & mut __stack ) ; __widl_f_set_lines_VTTRegion ( self_ , lines ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lines` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/lines)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_lines ( & self , lines : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_region_anchor_x_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `regionAnchorX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorX)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn region_anchor_x ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_region_anchor_x_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_region_anchor_x_VTTRegion ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `regionAnchorX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorX)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn region_anchor_x ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_region_anchor_x_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `regionAnchorX` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorX)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_region_anchor_x ( & self , region_anchor_x : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_region_anchor_x_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , region_anchor_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let region_anchor_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( region_anchor_x , & mut __stack ) ; __widl_f_set_region_anchor_x_VTTRegion ( self_ , region_anchor_x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `regionAnchorX` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorX)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_region_anchor_x ( & self , region_anchor_x : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_region_anchor_y_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `regionAnchorY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorY)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn region_anchor_y ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_region_anchor_y_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_region_anchor_y_VTTRegion ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `regionAnchorY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorY)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn region_anchor_y ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_region_anchor_y_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `regionAnchorY` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorY)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_region_anchor_y ( & self , region_anchor_y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_region_anchor_y_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , region_anchor_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let region_anchor_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( region_anchor_y , & mut __stack ) ; __widl_f_set_region_anchor_y_VTTRegion ( self_ , region_anchor_y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `regionAnchorY` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorY)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_region_anchor_y ( & self , region_anchor_y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_viewport_anchor_x_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `viewportAnchorX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorX)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn viewport_anchor_x ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_viewport_anchor_x_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_viewport_anchor_x_VTTRegion ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `viewportAnchorX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorX)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn viewport_anchor_x ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_viewport_anchor_x_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `viewportAnchorX` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorX)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_viewport_anchor_x ( & self , viewport_anchor_x : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_viewport_anchor_x_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , viewport_anchor_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let viewport_anchor_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( viewport_anchor_x , & mut __stack ) ; __widl_f_set_viewport_anchor_x_VTTRegion ( self_ , viewport_anchor_x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `viewportAnchorX` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorX)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_viewport_anchor_x ( & self , viewport_anchor_x : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_viewport_anchor_y_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `viewportAnchorY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorY)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn viewport_anchor_y ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_viewport_anchor_y_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_viewport_anchor_y_VTTRegion ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `viewportAnchorY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorY)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn viewport_anchor_y ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_viewport_anchor_y_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `viewportAnchorY` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorY)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_viewport_anchor_y ( & self , viewport_anchor_y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_viewport_anchor_y_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , viewport_anchor_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let viewport_anchor_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( viewport_anchor_y , & mut __stack ) ; __widl_f_set_viewport_anchor_y_VTTRegion ( self_ , viewport_anchor_y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `viewportAnchorY` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorY)\n\n*This API requires the following crate features to be activated: `VttRegion`*" ] pub fn set_viewport_anchor_y ( & self , viewport_anchor_y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < ScrollSetting as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scroll` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/scroll)\n\n*This API requires the following crate features to be activated: `ScrollSetting`, `VttRegion`*" ] pub fn scroll ( & self , ) -> ScrollSetting { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < ScrollSetting as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_VTTRegion ( self_ ) } ; < ScrollSetting as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scroll` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/scroll)\n\n*This API requires the following crate features to be activated: `ScrollSetting`, `VttRegion`*" ] pub fn scroll ( & self , ) -> ScrollSetting { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_scroll_VTTRegion ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VttRegion as WasmDescribe > :: describe ( ) ; < ScrollSetting as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VttRegion { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scroll` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/scroll)\n\n*This API requires the following crate features to be activated: `ScrollSetting`, `VttRegion`*" ] pub fn set_scroll ( & self , scroll : ScrollSetting ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_scroll_VTTRegion ( self_ : < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scroll : < ScrollSetting as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VttRegion as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scroll = < ScrollSetting as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scroll , & mut __stack ) ; __widl_f_set_scroll_VTTRegion ( self_ , scroll ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scroll` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/scroll)\n\n*This API requires the following crate features to be activated: `ScrollSetting`, `VttRegion`*" ] pub fn set_scroll ( & self , scroll : ScrollSetting ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `ValidityState` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] # [ repr ( transparent ) ] pub struct ValidityState { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_ValidityState : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for ValidityState { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for ValidityState { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for ValidityState { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a ValidityState { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for ValidityState { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { ValidityState { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for ValidityState { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a ValidityState { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for ValidityState { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < ValidityState > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( ValidityState { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for ValidityState { # [ inline ] fn from ( obj : JsValue ) -> ValidityState { ValidityState { obj } } } impl AsRef < JsValue > for ValidityState { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < ValidityState > for JsValue { # [ inline ] fn from ( obj : ValidityState ) -> JsValue { obj . obj } } impl JsCast for ValidityState { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_ValidityState ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_ValidityState ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ValidityState { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ValidityState ) } } } ( ) } ; impl core :: ops :: Deref for ValidityState { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < ValidityState > for Object { # [ inline ] fn from ( obj : ValidityState ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for ValidityState { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_value_missing_ValidityState ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ValidityState as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl ValidityState { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valueMissing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/valueMissing)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn value_missing ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_value_missing_ValidityState ( self_ : < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_value_missing_ValidityState ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valueMissing` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/valueMissing)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn value_missing ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_mismatch_ValidityState ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ValidityState as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl ValidityState { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `typeMismatch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/typeMismatch)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn type_mismatch ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_mismatch_ValidityState ( self_ : < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_mismatch_ValidityState ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `typeMismatch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/typeMismatch)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn type_mismatch ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pattern_mismatch_ValidityState ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ValidityState as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl ValidityState { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `patternMismatch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/patternMismatch)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn pattern_mismatch ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pattern_mismatch_ValidityState ( self_ : < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pattern_mismatch_ValidityState ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `patternMismatch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/patternMismatch)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn pattern_mismatch ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_too_long_ValidityState ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ValidityState as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl ValidityState { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tooLong` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooLong)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn too_long ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_too_long_ValidityState ( self_ : < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_too_long_ValidityState ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tooLong` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooLong)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn too_long ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_too_short_ValidityState ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ValidityState as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl ValidityState { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `tooShort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooShort)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn too_short ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_too_short_ValidityState ( self_ : < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_too_short_ValidityState ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `tooShort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooShort)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn too_short ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_range_underflow_ValidityState ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ValidityState as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl ValidityState { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rangeUnderflow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/rangeUnderflow)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn range_underflow ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_range_underflow_ValidityState ( self_ : < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_range_underflow_ValidityState ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rangeUnderflow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/rangeUnderflow)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn range_underflow ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_range_overflow_ValidityState ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ValidityState as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl ValidityState { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rangeOverflow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/rangeOverflow)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn range_overflow ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_range_overflow_ValidityState ( self_ : < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_range_overflow_ValidityState ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rangeOverflow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/rangeOverflow)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn range_overflow ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_step_mismatch_ValidityState ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ValidityState as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl ValidityState { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stepMismatch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/stepMismatch)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn step_mismatch ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_step_mismatch_ValidityState ( self_ : < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_step_mismatch_ValidityState ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stepMismatch` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/stepMismatch)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn step_mismatch ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bad_input_ValidityState ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ValidityState as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl ValidityState { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `badInput` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/badInput)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn bad_input ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bad_input_ValidityState ( self_ : < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_bad_input_ValidityState ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `badInput` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/badInput)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn bad_input ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_custom_error_ValidityState ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ValidityState as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl ValidityState { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `customError` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/customError)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn custom_error ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_custom_error_ValidityState ( self_ : < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_custom_error_ValidityState ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `customError` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/customError)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn custom_error ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_valid_ValidityState ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & ValidityState as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl ValidityState { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `valid` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/valid)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn valid ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_valid_ValidityState ( self_ : < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & ValidityState as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_valid_ValidityState ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `valid` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/valid)\n\n*This API requires the following crate features to be activated: `ValidityState`*" ] pub fn valid ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VideoPlaybackQuality` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality)\n\n*This API requires the following crate features to be activated: `VideoPlaybackQuality`*" ] # [ repr ( transparent ) ] pub struct VideoPlaybackQuality { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VideoPlaybackQuality : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VideoPlaybackQuality { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VideoPlaybackQuality { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VideoPlaybackQuality { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VideoPlaybackQuality { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VideoPlaybackQuality { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VideoPlaybackQuality { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VideoPlaybackQuality { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VideoPlaybackQuality { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VideoPlaybackQuality { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VideoPlaybackQuality > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VideoPlaybackQuality { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VideoPlaybackQuality { # [ inline ] fn from ( obj : JsValue ) -> VideoPlaybackQuality { VideoPlaybackQuality { obj } } } impl AsRef < JsValue > for VideoPlaybackQuality { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VideoPlaybackQuality > for JsValue { # [ inline ] fn from ( obj : VideoPlaybackQuality ) -> JsValue { obj . obj } } impl JsCast for VideoPlaybackQuality { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VideoPlaybackQuality ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VideoPlaybackQuality ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VideoPlaybackQuality { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VideoPlaybackQuality ) } } } ( ) } ; impl core :: ops :: Deref for VideoPlaybackQuality { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < VideoPlaybackQuality > for Object { # [ inline ] fn from ( obj : VideoPlaybackQuality ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VideoPlaybackQuality { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_creation_time_VideoPlaybackQuality ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoPlaybackQuality as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl VideoPlaybackQuality { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `creationTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/creationTime)\n\n*This API requires the following crate features to be activated: `VideoPlaybackQuality`*" ] pub fn creation_time ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_creation_time_VideoPlaybackQuality ( self_ : < & VideoPlaybackQuality as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoPlaybackQuality as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_creation_time_VideoPlaybackQuality ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `creationTime` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/creationTime)\n\n*This API requires the following crate features to be activated: `VideoPlaybackQuality`*" ] pub fn creation_time ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_total_video_frames_VideoPlaybackQuality ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoPlaybackQuality as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl VideoPlaybackQuality { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `totalVideoFrames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/totalVideoFrames)\n\n*This API requires the following crate features to be activated: `VideoPlaybackQuality`*" ] pub fn total_video_frames ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_total_video_frames_VideoPlaybackQuality ( self_ : < & VideoPlaybackQuality as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoPlaybackQuality as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_total_video_frames_VideoPlaybackQuality ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `totalVideoFrames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/totalVideoFrames)\n\n*This API requires the following crate features to be activated: `VideoPlaybackQuality`*" ] pub fn total_video_frames ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dropped_video_frames_VideoPlaybackQuality ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoPlaybackQuality as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl VideoPlaybackQuality { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `droppedVideoFrames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/droppedVideoFrames)\n\n*This API requires the following crate features to be activated: `VideoPlaybackQuality`*" ] pub fn dropped_video_frames ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dropped_video_frames_VideoPlaybackQuality ( self_ : < & VideoPlaybackQuality as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoPlaybackQuality as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dropped_video_frames_VideoPlaybackQuality ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `droppedVideoFrames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/droppedVideoFrames)\n\n*This API requires the following crate features to be activated: `VideoPlaybackQuality`*" ] pub fn dropped_video_frames ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_corrupted_video_frames_VideoPlaybackQuality ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoPlaybackQuality as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl VideoPlaybackQuality { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `corruptedVideoFrames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/corruptedVideoFrames)\n\n*This API requires the following crate features to be activated: `VideoPlaybackQuality`*" ] pub fn corrupted_video_frames ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_corrupted_video_frames_VideoPlaybackQuality ( self_ : < & VideoPlaybackQuality as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoPlaybackQuality as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_corrupted_video_frames_VideoPlaybackQuality ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `corruptedVideoFrames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality/corruptedVideoFrames)\n\n*This API requires the following crate features to be activated: `VideoPlaybackQuality`*" ] pub fn corrupted_video_frames ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VideoStreamTrack` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoStreamTrack)\n\n*This API requires the following crate features to be activated: `VideoStreamTrack`*" ] # [ repr ( transparent ) ] pub struct VideoStreamTrack { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VideoStreamTrack : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VideoStreamTrack { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VideoStreamTrack { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VideoStreamTrack { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VideoStreamTrack { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VideoStreamTrack { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VideoStreamTrack { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VideoStreamTrack { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VideoStreamTrack { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VideoStreamTrack { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VideoStreamTrack > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VideoStreamTrack { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VideoStreamTrack { # [ inline ] fn from ( obj : JsValue ) -> VideoStreamTrack { VideoStreamTrack { obj } } } impl AsRef < JsValue > for VideoStreamTrack { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VideoStreamTrack > for JsValue { # [ inline ] fn from ( obj : VideoStreamTrack ) -> JsValue { obj . obj } } impl JsCast for VideoStreamTrack { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VideoStreamTrack ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VideoStreamTrack ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VideoStreamTrack { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VideoStreamTrack ) } } } ( ) } ; impl core :: ops :: Deref for VideoStreamTrack { type Target = MediaStreamTrack ; # [ inline ] fn deref ( & self ) -> & MediaStreamTrack { self . as_ref ( ) } } impl From < VideoStreamTrack > for MediaStreamTrack { # [ inline ] fn from ( obj : VideoStreamTrack ) -> MediaStreamTrack { use wasm_bindgen :: JsCast ; MediaStreamTrack :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < MediaStreamTrack > for VideoStreamTrack { # [ inline ] fn as_ref ( & self ) -> & MediaStreamTrack { use wasm_bindgen :: JsCast ; MediaStreamTrack :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < VideoStreamTrack > for EventTarget { # [ inline ] fn from ( obj : VideoStreamTrack ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for VideoStreamTrack { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < VideoStreamTrack > for Object { # [ inline ] fn from ( obj : VideoStreamTrack ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VideoStreamTrack { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VideoTrack` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack)\n\n*This API requires the following crate features to be activated: `VideoTrack`*" ] # [ repr ( transparent ) ] pub struct VideoTrack { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VideoTrack : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VideoTrack { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VideoTrack { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VideoTrack { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VideoTrack { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VideoTrack { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VideoTrack { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VideoTrack { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VideoTrack { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VideoTrack { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VideoTrack > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VideoTrack { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VideoTrack { # [ inline ] fn from ( obj : JsValue ) -> VideoTrack { VideoTrack { obj } } } impl AsRef < JsValue > for VideoTrack { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VideoTrack > for JsValue { # [ inline ] fn from ( obj : VideoTrack ) -> JsValue { obj . obj } } impl JsCast for VideoTrack { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VideoTrack ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VideoTrack ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VideoTrack { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VideoTrack ) } } } ( ) } ; impl core :: ops :: Deref for VideoTrack { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < VideoTrack > for Object { # [ inline ] fn from ( obj : VideoTrack ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VideoTrack { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_id_VideoTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl VideoTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/id)\n\n*This API requires the following crate features to be activated: `VideoTrack`*" ] pub fn id ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_id_VideoTrack ( self_ : < & VideoTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_id_VideoTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `id` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/id)\n\n*This API requires the following crate features to be activated: `VideoTrack`*" ] pub fn id ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_kind_VideoTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl VideoTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/kind)\n\n*This API requires the following crate features to be activated: `VideoTrack`*" ] pub fn kind ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_kind_VideoTrack ( self_ : < & VideoTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_kind_VideoTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `kind` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/kind)\n\n*This API requires the following crate features to be activated: `VideoTrack`*" ] pub fn kind ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_label_VideoTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl VideoTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/label)\n\n*This API requires the following crate features to be activated: `VideoTrack`*" ] pub fn label ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_label_VideoTrack ( self_ : < & VideoTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_label_VideoTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `label` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/label)\n\n*This API requires the following crate features to be activated: `VideoTrack`*" ] pub fn label ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_language_VideoTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoTrack as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl VideoTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `language` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/language)\n\n*This API requires the following crate features to be activated: `VideoTrack`*" ] pub fn language ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_language_VideoTrack ( self_ : < & VideoTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_language_VideoTrack ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `language` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/language)\n\n*This API requires the following crate features to be activated: `VideoTrack`*" ] pub fn language ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_selected_VideoTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoTrack as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl VideoTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/selected)\n\n*This API requires the following crate features to be activated: `VideoTrack`*" ] pub fn selected ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_selected_VideoTrack ( self_ : < & VideoTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_selected_VideoTrack ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selected` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/selected)\n\n*This API requires the following crate features to be activated: `VideoTrack`*" ] pub fn selected ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_selected_VideoTrack ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VideoTrack as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VideoTrack { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selected` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/selected)\n\n*This API requires the following crate features to be activated: `VideoTrack`*" ] pub fn set_selected ( & self , selected : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_selected_VideoTrack ( self_ : < & VideoTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , selected : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrack as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let selected = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( selected , & mut __stack ) ; __widl_f_set_selected_VideoTrack ( self_ , selected ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selected` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/selected)\n\n*This API requires the following crate features to be activated: `VideoTrack`*" ] pub fn set_selected ( & self , selected : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `VideoTrackList` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] # [ repr ( transparent ) ] pub struct VideoTrackList { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_VideoTrackList : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for VideoTrackList { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for VideoTrackList { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for VideoTrackList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a VideoTrackList { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for VideoTrackList { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { VideoTrackList { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for VideoTrackList { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a VideoTrackList { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for VideoTrackList { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < VideoTrackList > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( VideoTrackList { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for VideoTrackList { # [ inline ] fn from ( obj : JsValue ) -> VideoTrackList { VideoTrackList { obj } } } impl AsRef < JsValue > for VideoTrackList { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < VideoTrackList > for JsValue { # [ inline ] fn from ( obj : VideoTrackList ) -> JsValue { obj . obj } } impl JsCast for VideoTrackList { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_VideoTrackList ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_VideoTrackList ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VideoTrackList { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VideoTrackList ) } } } ( ) } ; impl core :: ops :: Deref for VideoTrackList { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < VideoTrackList > for EventTarget { # [ inline ] fn from ( obj : VideoTrackList ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for VideoTrackList { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < VideoTrackList > for Object { # [ inline ] fn from ( obj : VideoTrackList ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for VideoTrackList { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_track_by_id_VideoTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VideoTrackList as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < VideoTrack > as WasmDescribe > :: describe ( ) ; } impl VideoTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getTrackById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/getTrackById)\n\n*This API requires the following crate features to be activated: `VideoTrack`, `VideoTrackList`*" ] pub fn get_track_by_id ( & self , id : & str ) -> Option < VideoTrack > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_track_by_id_VideoTrackList ( self_ : < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , id : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < VideoTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let id = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( id , & mut __stack ) ; __widl_f_get_track_by_id_VideoTrackList ( self_ , id ) } ; < Option < VideoTrack > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getTrackById()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/getTrackById)\n\n*This API requires the following crate features to be activated: `VideoTrack`, `VideoTrackList`*" ] pub fn get_track_by_id ( & self , id : & str ) -> Option < VideoTrack > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_VideoTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VideoTrackList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < VideoTrack as WasmDescribe > :: describe ( ) ; } impl VideoTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `VideoTrack`, `VideoTrackList`*" ] pub fn get ( & self , index : u32 ) -> VideoTrack { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_VideoTrackList ( self_ : < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < VideoTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_VideoTrackList ( self_ , index ) } ; < VideoTrack as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `VideoTrack`, `VideoTrackList`*" ] pub fn get ( & self , index : u32 ) -> VideoTrack { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_VideoTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoTrackList as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl VideoTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/length)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_VideoTrackList ( self_ : < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_VideoTrackList ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/length)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_selected_index_VideoTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoTrackList as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl VideoTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `selectedIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/selectedIndex)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn selected_index ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_selected_index_VideoTrackList ( self_ : < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_selected_index_VideoTrackList ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `selectedIndex` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/selectedIndex)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn selected_index ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchange_VideoTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoTrackList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl VideoTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onchange)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchange_VideoTrackList ( self_ : < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchange_VideoTrackList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onchange)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchange_VideoTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VideoTrackList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VideoTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onchange)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchange_VideoTrackList ( self_ : < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchange , & mut __stack ) ; __widl_f_set_onchange_VideoTrackList ( self_ , onchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onchange)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onaddtrack_VideoTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoTrackList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl VideoTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddtrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onaddtrack)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn onaddtrack ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onaddtrack_VideoTrackList ( self_ : < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onaddtrack_VideoTrackList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddtrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onaddtrack)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn onaddtrack ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onaddtrack_VideoTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VideoTrackList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VideoTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onaddtrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onaddtrack)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn set_onaddtrack ( & self , onaddtrack : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onaddtrack_VideoTrackList ( self_ : < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onaddtrack : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onaddtrack = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onaddtrack , & mut __stack ) ; __widl_f_set_onaddtrack_VideoTrackList ( self_ , onaddtrack ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onaddtrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onaddtrack)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn set_onaddtrack ( & self , onaddtrack : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onremovetrack_VideoTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & VideoTrackList as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl VideoTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onremovetrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onremovetrack)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn onremovetrack ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onremovetrack_VideoTrackList ( self_ : < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onremovetrack_VideoTrackList ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onremovetrack` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onremovetrack)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn onremovetrack ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onremovetrack_VideoTrackList ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & VideoTrackList as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl VideoTrackList { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onremovetrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onremovetrack)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn set_onremovetrack ( & self , onremovetrack : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onremovetrack_VideoTrackList ( self_ : < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onremovetrack : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & VideoTrackList as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onremovetrack = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onremovetrack , & mut __stack ) ; __widl_f_set_onremovetrack_VideoTrackList ( self_ , onremovetrack ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onremovetrack` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onremovetrack)\n\n*This API requires the following crate features to be activated: `VideoTrackList`*" ] pub fn set_onremovetrack ( & self , onremovetrack : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WaveShaperNode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode)\n\n*This API requires the following crate features to be activated: `WaveShaperNode`*" ] # [ repr ( transparent ) ] pub struct WaveShaperNode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WaveShaperNode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WaveShaperNode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WaveShaperNode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WaveShaperNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WaveShaperNode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WaveShaperNode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WaveShaperNode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WaveShaperNode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WaveShaperNode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WaveShaperNode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WaveShaperNode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WaveShaperNode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WaveShaperNode { # [ inline ] fn from ( obj : JsValue ) -> WaveShaperNode { WaveShaperNode { obj } } } impl AsRef < JsValue > for WaveShaperNode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WaveShaperNode > for JsValue { # [ inline ] fn from ( obj : WaveShaperNode ) -> JsValue { obj . obj } } impl JsCast for WaveShaperNode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WaveShaperNode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WaveShaperNode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WaveShaperNode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WaveShaperNode ) } } } ( ) } ; impl core :: ops :: Deref for WaveShaperNode { type Target = AudioNode ; # [ inline ] fn deref ( & self ) -> & AudioNode { self . as_ref ( ) } } impl From < WaveShaperNode > for AudioNode { # [ inline ] fn from ( obj : WaveShaperNode ) -> AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < AudioNode > for WaveShaperNode { # [ inline ] fn as_ref ( & self ) -> & AudioNode { use wasm_bindgen :: JsCast ; AudioNode :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < WaveShaperNode > for EventTarget { # [ inline ] fn from ( obj : WaveShaperNode ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for WaveShaperNode { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < WaveShaperNode > for Object { # [ inline ] fn from ( obj : WaveShaperNode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WaveShaperNode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_WaveShaperNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < WaveShaperNode as WasmDescribe > :: describe ( ) ; } impl WaveShaperNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new WaveShaperNode(..)` constructor, creating a new instance of `WaveShaperNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/WaveShaperNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `WaveShaperNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < WaveShaperNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_WaveShaperNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WaveShaperNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; __widl_f_new_WaveShaperNode ( context , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WaveShaperNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new WaveShaperNode(..)` constructor, creating a new instance of `WaveShaperNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/WaveShaperNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `WaveShaperNode`*" ] pub fn new ( context : & BaseAudioContext ) -> Result < WaveShaperNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_WaveShaperNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & BaseAudioContext as WasmDescribe > :: describe ( ) ; < & WaveShaperOptions as WasmDescribe > :: describe ( ) ; < WaveShaperNode as WasmDescribe > :: describe ( ) ; } impl WaveShaperNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new WaveShaperNode(..)` constructor, creating a new instance of `WaveShaperNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/WaveShaperNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `WaveShaperNode`, `WaveShaperOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & WaveShaperOptions ) -> Result < WaveShaperNode , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_WaveShaperNode ( context : < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & WaveShaperOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WaveShaperNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let context = < & BaseAudioContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context , & mut __stack ) ; let options = < & WaveShaperOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_WaveShaperNode ( context , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WaveShaperNode as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new WaveShaperNode(..)` constructor, creating a new instance of `WaveShaperNode`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/WaveShaperNode)\n\n*This API requires the following crate features to be activated: `BaseAudioContext`, `WaveShaperNode`, `WaveShaperOptions`*" ] pub fn new_with_options ( context : & BaseAudioContext , options : & WaveShaperOptions ) -> Result < WaveShaperNode , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_curve_WaveShaperNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WaveShaperNode as WasmDescribe > :: describe ( ) ; < Option < Vec < f32 > > as WasmDescribe > :: describe ( ) ; } impl WaveShaperNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `curve` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/curve)\n\n*This API requires the following crate features to be activated: `WaveShaperNode`*" ] pub fn curve ( & self , ) -> Option < Vec < f32 > > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_curve_WaveShaperNode ( self_ : < & WaveShaperNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WaveShaperNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_curve_WaveShaperNode ( self_ ) } ; < Option < Vec < f32 > > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `curve` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/curve)\n\n*This API requires the following crate features to be activated: `WaveShaperNode`*" ] pub fn curve ( & self , ) -> Option < Vec < f32 > > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_curve_WaveShaperNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WaveShaperNode as WasmDescribe > :: describe ( ) ; < Option < & mut [ f32 ] > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WaveShaperNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `curve` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/curve)\n\n*This API requires the following crate features to be activated: `WaveShaperNode`*" ] pub fn set_curve ( & self , curve : Option < & mut [ f32 ] > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_curve_WaveShaperNode ( self_ : < & WaveShaperNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , curve : < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WaveShaperNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let curve = < Option < & mut [ f32 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( curve , & mut __stack ) ; __widl_f_set_curve_WaveShaperNode ( self_ , curve ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `curve` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/curve)\n\n*This API requires the following crate features to be activated: `WaveShaperNode`*" ] pub fn set_curve ( & self , curve : Option < & mut [ f32 ] > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oversample_WaveShaperNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WaveShaperNode as WasmDescribe > :: describe ( ) ; < OverSampleType as WasmDescribe > :: describe ( ) ; } impl WaveShaperNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oversample` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/oversample)\n\n*This API requires the following crate features to be activated: `OverSampleType`, `WaveShaperNode`*" ] pub fn oversample ( & self , ) -> OverSampleType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oversample_WaveShaperNode ( self_ : < & WaveShaperNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < OverSampleType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WaveShaperNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oversample_WaveShaperNode ( self_ ) } ; < OverSampleType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oversample` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/oversample)\n\n*This API requires the following crate features to be activated: `OverSampleType`, `WaveShaperNode`*" ] pub fn oversample ( & self , ) -> OverSampleType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oversample_WaveShaperNode ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WaveShaperNode as WasmDescribe > :: describe ( ) ; < OverSampleType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WaveShaperNode { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oversample` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/oversample)\n\n*This API requires the following crate features to be activated: `OverSampleType`, `WaveShaperNode`*" ] pub fn set_oversample ( & self , oversample : OverSampleType ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oversample_WaveShaperNode ( self_ : < & WaveShaperNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oversample : < OverSampleType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WaveShaperNode as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oversample = < OverSampleType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oversample , & mut __stack ) ; __widl_f_set_oversample_WaveShaperNode ( self_ , oversample ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oversample` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/oversample)\n\n*This API requires the following crate features to be activated: `OverSampleType`, `WaveShaperNode`*" ] pub fn set_oversample ( & self , oversample : OverSampleType ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGL2RenderingContext` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] # [ repr ( transparent ) ] pub struct WebGl2RenderingContext { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGl2RenderingContext : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGl2RenderingContext { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGl2RenderingContext { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGl2RenderingContext { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGl2RenderingContext { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGl2RenderingContext { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGl2RenderingContext { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGl2RenderingContext { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGl2RenderingContext { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGl2RenderingContext { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGl2RenderingContext > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGl2RenderingContext { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGl2RenderingContext { # [ inline ] fn from ( obj : JsValue ) -> WebGl2RenderingContext { WebGl2RenderingContext { obj } } } impl AsRef < JsValue > for WebGl2RenderingContext { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGl2RenderingContext > for JsValue { # [ inline ] fn from ( obj : WebGl2RenderingContext ) -> JsValue { obj . obj } } impl JsCast for WebGl2RenderingContext { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGL2RenderingContext ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGL2RenderingContext ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGl2RenderingContext { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGl2RenderingContext ) } } } ( ) } ; impl core :: ops :: Deref for WebGl2RenderingContext { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGl2RenderingContext > for Object { # [ inline ] fn from ( obj : WebGl2RenderingContext ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGl2RenderingContext { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_begin_query_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & WebGlQuery as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `beginQuery()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginQuery)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] pub fn begin_query ( & self , target : u32 , query : & WebGlQuery ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_begin_query_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , query : < & WebGlQuery as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let query = < & WebGlQuery as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( query , & mut __stack ) ; __widl_f_begin_query_WebGL2RenderingContext ( self_ , target , query ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `beginQuery()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginQuery)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] pub fn begin_query ( & self , target : u32 , query : & WebGlQuery ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_begin_transform_feedback_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `beginTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn begin_transform_feedback ( & self , primitive_mode : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_begin_transform_feedback_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , primitive_mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let primitive_mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( primitive_mode , & mut __stack ) ; __widl_f_begin_transform_feedback_WebGL2RenderingContext ( self_ , primitive_mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `beginTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/beginTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn begin_transform_feedback ( & self , primitive_mode : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_buffer_base_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlBuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindBufferBase()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferBase)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn bind_buffer_base ( & self , target : u32 , index : u32 , buffer : Option < & WebGlBuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_buffer_base_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let buffer = < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; __widl_f_bind_buffer_base_WebGL2RenderingContext ( self_ , target , index , buffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindBufferBase()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferBase)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn bind_buffer_base ( & self , target : u32 , index : u32 , buffer : Option < & WebGlBuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_buffer_range_with_i32_and_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlBuffer > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindBufferRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn bind_buffer_range_with_i32_and_i32 ( & self , target : u32 , index : u32 , buffer : Option < & WebGlBuffer > , offset : i32 , size : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_buffer_range_with_i32_and_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let buffer = < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_bind_buffer_range_with_i32_and_i32_WebGL2RenderingContext ( self_ , target , index , buffer , offset , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindBufferRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn bind_buffer_range_with_i32_and_i32 ( & self , target : u32 , index : u32 , buffer : Option < & WebGlBuffer > , offset : i32 , size : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_buffer_range_with_f64_and_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlBuffer > as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindBufferRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn bind_buffer_range_with_f64_and_i32 ( & self , target : u32 , index : u32 , buffer : Option < & WebGlBuffer > , offset : f64 , size : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_buffer_range_with_f64_and_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let buffer = < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_bind_buffer_range_with_f64_and_i32_WebGL2RenderingContext ( self_ , target , index , buffer , offset , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindBufferRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn bind_buffer_range_with_f64_and_i32 ( & self , target : u32 , index : u32 , buffer : Option < & WebGlBuffer > , offset : f64 , size : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_buffer_range_with_i32_and_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlBuffer > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindBufferRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn bind_buffer_range_with_i32_and_f64 ( & self , target : u32 , index : u32 , buffer : Option < & WebGlBuffer > , offset : i32 , size : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_buffer_range_with_i32_and_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let buffer = < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let size = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_bind_buffer_range_with_i32_and_f64_WebGL2RenderingContext ( self_ , target , index , buffer , offset , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindBufferRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn bind_buffer_range_with_i32_and_f64 ( & self , target : u32 , index : u32 , buffer : Option < & WebGlBuffer > , offset : i32 , size : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_buffer_range_with_f64_and_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlBuffer > as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindBufferRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn bind_buffer_range_with_f64_and_f64 ( & self , target : u32 , index : u32 , buffer : Option < & WebGlBuffer > , offset : f64 , size : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_buffer_range_with_f64_and_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let buffer = < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let size = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_bind_buffer_range_with_f64_and_f64_WebGL2RenderingContext ( self_ , target , index , buffer , offset , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindBufferRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBufferRange)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn bind_buffer_range_with_f64_and_f64 ( & self , target : u32 , index : u32 , buffer : Option < & WebGlBuffer > , offset : f64 , size : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_sampler_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlSampler > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindSampler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindSampler)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn bind_sampler ( & self , unit : u32 , sampler : Option < & WebGlSampler > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_sampler_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unit : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sampler : < Option < & WebGlSampler > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let unit = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unit , & mut __stack ) ; let sampler = < Option < & WebGlSampler > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sampler , & mut __stack ) ; __widl_f_bind_sampler_WebGL2RenderingContext ( self_ , unit , sampler ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindSampler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindSampler)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn bind_sampler ( & self , unit : u32 , sampler : Option < & WebGlSampler > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_transform_feedback_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlTransformFeedback > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*" ] pub fn bind_transform_feedback ( & self , target : u32 , tf : Option < & WebGlTransformFeedback > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_transform_feedback_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tf : < Option < & WebGlTransformFeedback > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let tf = < Option < & WebGlTransformFeedback > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tf , & mut __stack ) ; __widl_f_bind_transform_feedback_WebGL2RenderingContext ( self_ , target , tf ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*" ] pub fn bind_transform_feedback ( & self , target : u32 , tf : Option < & WebGlTransformFeedback > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_vertex_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlVertexArrayObject > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindVertexArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindVertexArray)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*" ] pub fn bind_vertex_array ( & self , array : Option < & WebGlVertexArrayObject > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_vertex_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , array : < Option < & WebGlVertexArrayObject > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let array = < Option < & WebGlVertexArrayObject > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( array , & mut __stack ) ; __widl_f_bind_vertex_array_WebGL2RenderingContext ( self_ , array ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindVertexArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindVertexArray)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*" ] pub fn bind_vertex_array ( & self , array : Option < & WebGlVertexArrayObject > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blit_framebuffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blitFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blitFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn blit_framebuffer ( & self , src_x0 : i32 , src_y0 : i32 , src_x1 : i32 , src_y1 : i32 , dst_x0 : i32 , dst_y0 : i32 , dst_x1 : i32 , dst_y1 : i32 , mask : u32 , filter : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blit_framebuffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_x0 : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_y0 : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_x1 : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_y1 : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_x0 : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_y0 : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_x1 : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_y1 : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mask : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , filter : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src_x0 = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_x0 , & mut __stack ) ; let src_y0 = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_y0 , & mut __stack ) ; let src_x1 = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_x1 , & mut __stack ) ; let src_y1 = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_y1 , & mut __stack ) ; let dst_x0 = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_x0 , & mut __stack ) ; let dst_y0 = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_y0 , & mut __stack ) ; let dst_x1 = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_x1 , & mut __stack ) ; let dst_y1 = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_y1 , & mut __stack ) ; let mask = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mask , & mut __stack ) ; let filter = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( filter , & mut __stack ) ; __widl_f_blit_framebuffer_WebGL2RenderingContext ( self_ , src_x0 , src_y0 , src_x1 , src_y1 , dst_x0 , dst_y0 , dst_x1 , dst_y1 , mask , filter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blitFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blitFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn blit_framebuffer ( & self , src_x0 : i32 , src_y0 : i32 , src_x1 : i32 , src_y1 : i32 , dst_x0 : i32 , dst_y0 : i32 , dst_x1 : i32 , dst_y1 : i32 , mask : u32 , filter : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_i32 ( & self , target : u32 , size : i32 , usage : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; __widl_f_buffer_data_with_i32_WebGL2RenderingContext ( self_ , target , size , usage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_i32 ( & self , target : u32 , size : i32 , usage : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_f64 ( & self , target : u32 , size : f64 , usage : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let size = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; __widl_f_buffer_data_with_f64_WebGL2RenderingContext ( self_ , target , size , usage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_f64 ( & self , target : u32 , size : f64 , usage : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_opt_array_buffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: ArrayBuffer > as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_opt_array_buffer ( & self , target : u32 , src_data : Option < & :: js_sys :: ArrayBuffer > , usage : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_opt_array_buffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < Option < & :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_data = < Option < & :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; __widl_f_buffer_data_with_opt_array_buffer_WebGL2RenderingContext ( self_ , target , src_data , usage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_opt_array_buffer ( & self , target : u32 , src_data : Option < & :: js_sys :: ArrayBuffer > , usage : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_array_buffer_view ( & self , target : u32 , src_data : & :: js_sys :: Object , usage : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; __widl_f_buffer_data_with_array_buffer_view_WebGL2RenderingContext ( self_ , target , src_data , usage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_array_buffer_view ( & self , target : u32 , src_data : & :: js_sys :: Object , usage : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_u8_array ( & self , target : u32 , src_data : & mut [ u8 ] , usage : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; __widl_f_buffer_data_with_u8_array_WebGL2RenderingContext ( self_ , target , src_data , usage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_u8_array ( & self , target : u32 , src_data : & mut [ u8 ] , usage : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_array_buffer_view_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_array_buffer_view_and_src_offset ( & self , target : u32 , src_data : & :: js_sys :: Object , usage : u32 , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_buffer_data_with_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ , target , src_data , usage , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_array_buffer_view_and_src_offset ( & self , target : u32 , src_data : & :: js_sys :: Object , usage : u32 , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_u8_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_u8_array_and_src_offset ( & self , target : u32 , src_data : & mut [ u8 ] , usage : u32 , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_u8_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_buffer_data_with_u8_array_and_src_offset_WebGL2RenderingContext ( self_ , target , src_data , usage , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_u8_array_and_src_offset ( & self , target : u32 , src_data : & mut [ u8 ] , usage : u32 , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_array_buffer_view_and_src_offset_and_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_array_buffer_view_and_src_offset_and_length ( & self , target : u32 , src_data : & :: js_sys :: Object , usage : u32 , src_offset : u32 , length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_array_buffer_view_and_src_offset_and_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_buffer_data_with_array_buffer_view_and_src_offset_and_length_WebGL2RenderingContext ( self_ , target , src_data , usage , src_offset , length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_array_buffer_view_and_src_offset_and_length ( & self , target : u32 , src_data : & :: js_sys :: Object , usage : u32 , src_offset : u32 , length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_u8_array_and_src_offset_and_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_u8_array_and_src_offset_and_length ( & self , target : u32 , src_data : & mut [ u8 ] , usage : u32 , src_offset : u32 , length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_u8_array_and_src_offset_and_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_buffer_data_with_u8_array_and_src_offset_and_length_WebGL2RenderingContext ( self_ , target , src_data , usage , src_offset , length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_data_with_u8_array_and_src_offset_and_length ( & self , target : u32 , src_data : & mut [ u8 ] , usage : u32 , src_offset : u32 , length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_i32_and_array_buffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_array_buffer ( & self , target : u32 , offset : i32 , src_data : & :: js_sys :: ArrayBuffer ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_i32_and_array_buffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let src_data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_buffer_sub_data_with_i32_and_array_buffer_WebGL2RenderingContext ( self_ , target , offset , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_array_buffer ( & self , target : u32 , offset : i32 , src_data : & :: js_sys :: ArrayBuffer ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_f64_and_array_buffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_array_buffer ( & self , target : u32 , offset : f64 , src_data : & :: js_sys :: ArrayBuffer ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_f64_and_array_buffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let src_data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_buffer_sub_data_with_f64_and_array_buffer_WebGL2RenderingContext ( self_ , target , offset , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_array_buffer ( & self , target : u32 , offset : f64 , src_data : & :: js_sys :: ArrayBuffer ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_i32_and_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_array_buffer_view ( & self , target : u32 , offset : i32 , src_data : & :: js_sys :: Object ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_i32_and_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_buffer_sub_data_with_i32_and_array_buffer_view_WebGL2RenderingContext ( self_ , target , offset , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_array_buffer_view ( & self , target : u32 , offset : i32 , src_data : & :: js_sys :: Object ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_f64_and_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_array_buffer_view ( & self , target : u32 , offset : f64 , src_data : & :: js_sys :: Object ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_f64_and_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_buffer_sub_data_with_f64_and_array_buffer_view_WebGL2RenderingContext ( self_ , target , offset , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_array_buffer_view ( & self , target : u32 , offset : f64 , src_data : & :: js_sys :: Object ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_i32_and_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_u8_array ( & self , target : u32 , offset : i32 , src_data : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_i32_and_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_buffer_sub_data_with_i32_and_u8_array_WebGL2RenderingContext ( self_ , target , offset , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_u8_array ( & self , target : u32 , offset : i32 , src_data : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_f64_and_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_u8_array ( & self , target : u32 , offset : f64 , src_data : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_f64_and_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_buffer_sub_data_with_f64_and_u8_array_WebGL2RenderingContext ( self_ , target , offset , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_u8_array ( & self , target : u32 , offset : f64 , src_data : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset ( & self , target : u32 , dst_byte_offset : i32 , src_data : & :: js_sys :: Object , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_byte_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let dst_byte_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_byte_offset , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ , target , dst_byte_offset , src_data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset ( & self , target : u32 , dst_byte_offset : i32 , src_data : & :: js_sys :: Object , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset ( & self , target : u32 , dst_byte_offset : f64 , src_data : & :: js_sys :: Object , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_byte_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let dst_byte_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_byte_offset , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ , target , dst_byte_offset , src_data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset ( & self , target : u32 , dst_byte_offset : f64 , src_data : & :: js_sys :: Object , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_i32_and_u8_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset ( & self , target : u32 , dst_byte_offset : i32 , src_data : & mut [ u8 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_i32_and_u8_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_byte_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let dst_byte_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_byte_offset , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_buffer_sub_data_with_i32_and_u8_array_and_src_offset_WebGL2RenderingContext ( self_ , target , dst_byte_offset , src_data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset ( & self , target : u32 , dst_byte_offset : i32 , src_data : & mut [ u8 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_f64_and_u8_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset ( & self , target : u32 , dst_byte_offset : f64 , src_data : & mut [ u8 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_f64_and_u8_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_byte_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let dst_byte_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_byte_offset , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_buffer_sub_data_with_f64_and_u8_array_and_src_offset_WebGL2RenderingContext ( self_ , target , dst_byte_offset , src_data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset ( & self , target : u32 , dst_byte_offset : f64 , src_data : & mut [ u8 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length ( & self , target : u32 , dst_byte_offset : i32 , src_data : & :: js_sys :: Object , src_offset : u32 , length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_byte_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let dst_byte_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_byte_offset , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length_WebGL2RenderingContext ( self_ , target , dst_byte_offset , src_data , src_offset , length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length ( & self , target : u32 , dst_byte_offset : i32 , src_data : & :: js_sys :: Object , src_offset : u32 , length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length ( & self , target : u32 , dst_byte_offset : f64 , src_data : & :: js_sys :: Object , src_offset : u32 , length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_byte_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let dst_byte_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_byte_offset , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length_WebGL2RenderingContext ( self_ , target , dst_byte_offset , src_data , src_offset , length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length ( & self , target : u32 , dst_byte_offset : f64 , src_data : & :: js_sys :: Object , src_offset : u32 , length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length ( & self , target : u32 , dst_byte_offset : i32 , src_data : & mut [ u8 ] , src_offset : u32 , length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_byte_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let dst_byte_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_byte_offset , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length_WebGL2RenderingContext ( self_ , target , dst_byte_offset , src_data , src_offset , length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length ( & self , target : u32 , dst_byte_offset : i32 , src_data : & mut [ u8 ] , src_offset : u32 , length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_f64_and_u8_array_and_src_offset_and_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset_and_length ( & self , target : u32 , dst_byte_offset : f64 , src_data : & mut [ u8 ] , src_offset : u32 , length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_f64_and_u8_array_and_src_offset_and_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_byte_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let dst_byte_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_byte_offset , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_buffer_sub_data_with_f64_and_u8_array_and_src_offset_and_length_WebGL2RenderingContext ( self_ , target , dst_byte_offset , src_data , src_offset , length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_u8_array_and_src_offset_and_length ( & self , target : u32 , dst_byte_offset : f64 , src_data : & mut [ u8 ] , src_offset : u32 , length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_bufferfi_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearBufferfi()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfi)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferfi ( & self , buffer : u32 , drawbuffer : i32 , depth : f32 , stencil : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_bufferfi_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , drawbuffer : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stencil : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; let drawbuffer = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( drawbuffer , & mut __stack ) ; let depth = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let stencil = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stencil , & mut __stack ) ; __widl_f_clear_bufferfi_WebGL2RenderingContext ( self_ , buffer , drawbuffer , depth , stencil ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearBufferfi()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfi)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferfi ( & self , buffer : u32 , drawbuffer : i32 , depth : f32 , stencil : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_bufferfv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearBufferfv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferfv_with_f32_array ( & self , buffer : u32 , drawbuffer : i32 , values : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_bufferfv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , drawbuffer : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; let drawbuffer = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( drawbuffer , & mut __stack ) ; let values = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; __widl_f_clear_bufferfv_with_f32_array_WebGL2RenderingContext ( self_ , buffer , drawbuffer , values ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearBufferfv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferfv_with_f32_array ( & self , buffer : u32 , drawbuffer : i32 , values : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_bufferfv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearBufferfv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferfv_with_f32_array_and_src_offset ( & self , buffer : u32 , drawbuffer : i32 , values : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_bufferfv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , drawbuffer : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; let drawbuffer = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( drawbuffer , & mut __stack ) ; let values = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_clear_bufferfv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , buffer , drawbuffer , values , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearBufferfv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferfv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferfv_with_f32_array_and_src_offset ( & self , buffer : u32 , drawbuffer : i32 , values : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_bufferiv_with_i32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearBufferiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferiv_with_i32_array ( & self , buffer : u32 , drawbuffer : i32 , values : & mut [ i32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_bufferiv_with_i32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , drawbuffer : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; let drawbuffer = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( drawbuffer , & mut __stack ) ; let values = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; __widl_f_clear_bufferiv_with_i32_array_WebGL2RenderingContext ( self_ , buffer , drawbuffer , values ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearBufferiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferiv_with_i32_array ( & self , buffer : u32 , drawbuffer : i32 , values : & mut [ i32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_bufferiv_with_i32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearBufferiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferiv_with_i32_array_and_src_offset ( & self , buffer : u32 , drawbuffer : i32 , values : & mut [ i32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_bufferiv_with_i32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , drawbuffer : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; let drawbuffer = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( drawbuffer , & mut __stack ) ; let values = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_clear_bufferiv_with_i32_array_and_src_offset_WebGL2RenderingContext ( self_ , buffer , drawbuffer , values , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearBufferiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferiv_with_i32_array_and_src_offset ( & self , buffer : u32 , drawbuffer : i32 , values : & mut [ i32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_bufferuiv_with_u32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearBufferuiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferuiv_with_u32_array ( & self , buffer : u32 , drawbuffer : i32 , values : & mut [ u32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_bufferuiv_with_u32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , drawbuffer : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; let drawbuffer = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( drawbuffer , & mut __stack ) ; let values = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; __widl_f_clear_bufferuiv_with_u32_array_WebGL2RenderingContext ( self_ , buffer , drawbuffer , values ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearBufferuiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferuiv_with_u32_array ( & self , buffer : u32 , drawbuffer : i32 , values : & mut [ u32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_bufferuiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearBufferuiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferuiv_with_u32_array_and_src_offset ( & self , buffer : u32 , drawbuffer : i32 , values : & mut [ u32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_bufferuiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , drawbuffer : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; let drawbuffer = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( drawbuffer , & mut __stack ) ; let values = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_clear_bufferuiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( self_ , buffer , drawbuffer , values , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearBufferuiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearBufferuiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_bufferuiv_with_u32_array_and_src_offset ( & self , buffer : u32 , drawbuffer : i32 , values : & mut [ u32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_client_wait_sync_with_u32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlSync as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clientWaitSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn client_wait_sync_with_u32 ( & self , sync : & WebGlSync , flags : u32 , timeout : u32 ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_client_wait_sync_with_u32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sync : < & WebGlSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , flags : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sync = < & WebGlSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sync , & mut __stack ) ; let flags = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( flags , & mut __stack ) ; let timeout = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; __widl_f_client_wait_sync_with_u32_WebGL2RenderingContext ( self_ , sync , flags , timeout ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clientWaitSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn client_wait_sync_with_u32 ( & self , sync : & WebGlSync , flags : u32 , timeout : u32 ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_client_wait_sync_with_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlSync as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clientWaitSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn client_wait_sync_with_f64 ( & self , sync : & WebGlSync , flags : u32 , timeout : f64 ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_client_wait_sync_with_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sync : < & WebGlSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , flags : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sync = < & WebGlSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sync , & mut __stack ) ; let flags = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( flags , & mut __stack ) ; let timeout = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; __widl_f_client_wait_sync_with_f64_WebGL2RenderingContext ( self_ , sync , flags , timeout ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clientWaitSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clientWaitSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn client_wait_sync_with_f64 ( & self , sync : & WebGlSync , flags : u32 , timeout : f64 ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_2d_with_i32_and_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_i32_and_i32 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , image_size : i32 , offset : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_2d_with_i32_and_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image_size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let image_size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image_size , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_compressed_tex_image_2d_with_i32_and_i32_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , image_size , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_i32_and_i32 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , image_size : i32 , offset : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_2d_with_i32_and_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_i32_and_f64 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , image_size : i32 , offset : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_2d_with_i32_and_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image_size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let image_size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image_size , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_compressed_tex_image_2d_with_i32_and_f64_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , image_size , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_i32_and_f64 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , image_size : i32 , offset : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_2d_with_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_array_buffer_view ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , src_data : & :: js_sys :: Object ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_2d_with_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_compressed_tex_image_2d_with_array_buffer_view_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_array_buffer_view ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , src_data : & :: js_sys :: Object ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_2d_with_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_u8_array ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , src_data : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_2d_with_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_compressed_tex_image_2d_with_u8_array_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_u8_array ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , src_data : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_2d_with_array_buffer_view_and_u32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , src_data : & :: js_sys :: Object , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_2d_with_array_buffer_view_and_u32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_compressed_tex_image_2d_with_array_buffer_view_and_u32_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , src_data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , src_data : & :: js_sys :: Object , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_2d_with_u8_array_and_u32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_u8_array_and_u32 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , src_data : & mut [ u8 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_2d_with_u8_array_and_u32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_compressed_tex_image_2d_with_u8_array_and_u32_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , src_data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_u8_array_and_u32 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , src_data : & mut [ u8 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_2d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , src_data : & :: js_sys :: Object , src_offset : u32 , src_length_override : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_2d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length_override : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length_override = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length_override , & mut __stack ) ; __widl_f_compressed_tex_image_2d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , src_data , src_offset , src_length_override ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_array_buffer_view_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , src_data : & :: js_sys :: Object , src_offset : u32 , src_length_override : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , src_data : & mut [ u8 ] , src_offset : u32 , src_length_override : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length_override : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length_override = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length_override , & mut __stack ) ; __widl_f_compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , src_data , src_offset , src_length_override ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , src_data : & mut [ u8 ] , src_offset : u32 , src_length_override : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_3d_with_i32_and_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_i32_and_i32 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , image_size : i32 , offset : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_3d_with_i32_and_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image_size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let image_size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image_size , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_compressed_tex_image_3d_with_i32_and_i32_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , image_size , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_i32_and_i32 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , image_size : i32 , offset : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_3d_with_i32_and_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_i32_and_f64 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , image_size : i32 , offset : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_3d_with_i32_and_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image_size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let image_size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image_size , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_compressed_tex_image_3d_with_i32_and_f64_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , image_size , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_i32_and_f64 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , image_size : i32 , offset : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_3d_with_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_array_buffer_view ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , src_data : & :: js_sys :: Object ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_3d_with_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_compressed_tex_image_3d_with_array_buffer_view_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_array_buffer_view ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , src_data : & :: js_sys :: Object ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_3d_with_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_u8_array ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , src_data : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_3d_with_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_compressed_tex_image_3d_with_u8_array_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_u8_array ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , src_data : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_3d_with_array_buffer_view_and_u32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , src_data : & :: js_sys :: Object , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_3d_with_array_buffer_view_and_u32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_compressed_tex_image_3d_with_array_buffer_view_and_u32_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , src_data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , src_data : & :: js_sys :: Object , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_3d_with_u8_array_and_u32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_u8_array_and_u32 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , src_data : & mut [ u8 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_3d_with_u8_array_and_u32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_compressed_tex_image_3d_with_u8_array_and_u32_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , src_data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_u8_array_and_u32 ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , src_data : & mut [ u8 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , src_data : & :: js_sys :: Object , src_offset : u32 , src_length_override : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length_override : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length_override = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length_override , & mut __stack ) ; __widl_f_compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , src_data , src_offset , src_length_override ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , src_data : & :: js_sys :: Object , src_offset : u32 , src_length_override : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , src_data : & mut [ u8 ] , src_offset : u32 , src_length_override : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length_override : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length_override = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length_override , & mut __stack ) ; __widl_f_compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , src_data , src_offset , src_length_override ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 , border : i32 , src_data : & mut [ u8 ] , src_offset : u32 , src_length_override : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_2d_with_i32_and_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_i32_and_i32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , image_size : i32 , offset : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_2d_with_i32_and_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image_size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let image_size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image_size , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_compressed_tex_sub_image_2d_with_i32_and_i32_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , image_size , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_i32_and_i32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , image_size : i32 , offset : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_2d_with_i32_and_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_i32_and_f64 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , image_size : i32 , offset : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_2d_with_i32_and_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image_size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let image_size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image_size , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_compressed_tex_sub_image_2d_with_i32_and_f64_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , image_size , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_i32_and_f64 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , image_size : i32 , offset : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_array_buffer_view ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , src_data : & :: js_sys :: Object ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_array_buffer_view ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , src_data : & :: js_sys :: Object ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_2d_with_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_u8_array ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , src_data : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_2d_with_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_compressed_tex_sub_image_2d_with_u8_array_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_u8_array ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , src_data : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , src_data : & :: js_sys :: Object , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , src_data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , src_data : & :: js_sys :: Object , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_2d_with_u8_array_and_u32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , src_data : & mut [ u8 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_2d_with_u8_array_and_u32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_compressed_tex_sub_image_2d_with_u8_array_and_u32_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , src_data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , src_data : & mut [ u8 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , src_data : & :: js_sys :: Object , src_offset : u32 , src_length_override : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length_override : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length_override = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length_override , & mut __stack ) ; __widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , src_data , src_offset , src_length_override ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , src_data : & :: js_sys :: Object , src_offset : u32 , src_length_override : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , src_data : & mut [ u8 ] , src_offset : u32 , src_length_override : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length_override : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length_override = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length_override , & mut __stack ) ; __widl_f_compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , src_data , src_offset , src_length_override ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , src_data : & mut [ u8 ] , src_offset : u32 , src_length_override : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_3d_with_i32_and_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_i32_and_i32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , image_size : i32 , offset : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_3d_with_i32_and_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image_size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let image_size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image_size , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_compressed_tex_sub_image_3d_with_i32_and_i32_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , image_size , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_i32_and_i32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , image_size : i32 , offset : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_3d_with_i32_and_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_i32_and_f64 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , image_size : i32 , offset : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_3d_with_i32_and_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image_size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let image_size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image_size , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_compressed_tex_sub_image_3d_with_i32_and_f64_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , image_size , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_i32_and_f64 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , image_size : i32 , offset : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_3d_with_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_array_buffer_view ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , src_data : & :: js_sys :: Object ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_3d_with_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_compressed_tex_sub_image_3d_with_array_buffer_view_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_array_buffer_view ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , src_data : & :: js_sys :: Object ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_3d_with_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_u8_array ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , src_data : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_3d_with_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_compressed_tex_sub_image_3d_with_u8_array_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , src_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_u8_array ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , src_data : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , src_data : & :: js_sys :: Object , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , src_data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , src_data : & :: js_sys :: Object , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_3d_with_u8_array_and_u32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , src_data : & mut [ u8 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_3d_with_u8_array_and_u32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_compressed_tex_sub_image_3d_with_u8_array_and_u32_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , src_data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , src_data : & mut [ u8 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 13u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , src_data : & :: js_sys :: Object , src_offset : u32 , src_length_override : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length_override : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length_override = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length_override , & mut __stack ) ; __widl_f_compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , src_data , src_offset , src_length_override ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , src_data : & :: js_sys :: Object , src_offset : u32 , src_length_override : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 13u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , src_data : & mut [ u8 ] , src_offset : u32 , src_length_override : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length_override : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length_override = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length_override , & mut __stack ) ; __widl_f_compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , src_data , src_offset , src_length_override ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , src_data : & mut [ u8 ] , src_offset : u32 , src_length_override : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_buffer_sub_data_with_i32_and_i32_and_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_i32_and_i32_and_i32 ( & self , read_target : u32 , write_target : u32 , read_offset : i32 , write_offset : i32 , size : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_buffer_sub_data_with_i32_and_i32_and_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let read_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_target , & mut __stack ) ; let write_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_target , & mut __stack ) ; let read_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_offset , & mut __stack ) ; let write_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_offset , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_copy_buffer_sub_data_with_i32_and_i32_and_i32_WebGL2RenderingContext ( self_ , read_target , write_target , read_offset , write_offset , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_i32_and_i32_and_i32 ( & self , read_target : u32 , write_target : u32 , read_offset : i32 , write_offset : i32 , size : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_buffer_sub_data_with_f64_and_i32_and_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_f64_and_i32_and_i32 ( & self , read_target : u32 , write_target : u32 , read_offset : f64 , write_offset : i32 , size : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_buffer_sub_data_with_f64_and_i32_and_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let read_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_target , & mut __stack ) ; let write_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_target , & mut __stack ) ; let read_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_offset , & mut __stack ) ; let write_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_offset , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_copy_buffer_sub_data_with_f64_and_i32_and_i32_WebGL2RenderingContext ( self_ , read_target , write_target , read_offset , write_offset , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_f64_and_i32_and_i32 ( & self , read_target : u32 , write_target : u32 , read_offset : f64 , write_offset : i32 , size : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_buffer_sub_data_with_i32_and_f64_and_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_i32_and_f64_and_i32 ( & self , read_target : u32 , write_target : u32 , read_offset : i32 , write_offset : f64 , size : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_buffer_sub_data_with_i32_and_f64_and_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let read_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_target , & mut __stack ) ; let write_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_target , & mut __stack ) ; let read_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_offset , & mut __stack ) ; let write_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_offset , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_copy_buffer_sub_data_with_i32_and_f64_and_i32_WebGL2RenderingContext ( self_ , read_target , write_target , read_offset , write_offset , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_i32_and_f64_and_i32 ( & self , read_target : u32 , write_target : u32 , read_offset : i32 , write_offset : f64 , size : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_buffer_sub_data_with_f64_and_f64_and_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_f64_and_f64_and_i32 ( & self , read_target : u32 , write_target : u32 , read_offset : f64 , write_offset : f64 , size : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_buffer_sub_data_with_f64_and_f64_and_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let read_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_target , & mut __stack ) ; let write_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_target , & mut __stack ) ; let read_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_offset , & mut __stack ) ; let write_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_offset , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_copy_buffer_sub_data_with_f64_and_f64_and_i32_WebGL2RenderingContext ( self_ , read_target , write_target , read_offset , write_offset , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_f64_and_f64_and_i32 ( & self , read_target : u32 , write_target : u32 , read_offset : f64 , write_offset : f64 , size : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_buffer_sub_data_with_i32_and_i32_and_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_i32_and_i32_and_f64 ( & self , read_target : u32 , write_target : u32 , read_offset : i32 , write_offset : i32 , size : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_buffer_sub_data_with_i32_and_i32_and_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let read_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_target , & mut __stack ) ; let write_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_target , & mut __stack ) ; let read_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_offset , & mut __stack ) ; let write_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_offset , & mut __stack ) ; let size = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_copy_buffer_sub_data_with_i32_and_i32_and_f64_WebGL2RenderingContext ( self_ , read_target , write_target , read_offset , write_offset , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_i32_and_i32_and_f64 ( & self , read_target : u32 , write_target : u32 , read_offset : i32 , write_offset : i32 , size : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_buffer_sub_data_with_f64_and_i32_and_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_f64_and_i32_and_f64 ( & self , read_target : u32 , write_target : u32 , read_offset : f64 , write_offset : i32 , size : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_buffer_sub_data_with_f64_and_i32_and_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let read_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_target , & mut __stack ) ; let write_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_target , & mut __stack ) ; let read_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_offset , & mut __stack ) ; let write_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_offset , & mut __stack ) ; let size = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_copy_buffer_sub_data_with_f64_and_i32_and_f64_WebGL2RenderingContext ( self_ , read_target , write_target , read_offset , write_offset , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_f64_and_i32_and_f64 ( & self , read_target : u32 , write_target : u32 , read_offset : f64 , write_offset : i32 , size : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_buffer_sub_data_with_i32_and_f64_and_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_i32_and_f64_and_f64 ( & self , read_target : u32 , write_target : u32 , read_offset : i32 , write_offset : f64 , size : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_buffer_sub_data_with_i32_and_f64_and_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let read_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_target , & mut __stack ) ; let write_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_target , & mut __stack ) ; let read_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_offset , & mut __stack ) ; let write_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_offset , & mut __stack ) ; let size = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_copy_buffer_sub_data_with_i32_and_f64_and_f64_WebGL2RenderingContext ( self_ , read_target , write_target , read_offset , write_offset , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_i32_and_f64_and_f64 ( & self , read_target : u32 , write_target : u32 , read_offset : i32 , write_offset : f64 , size : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_buffer_sub_data_with_f64_and_f64_and_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_f64_and_f64_and_f64 ( & self , read_target : u32 , write_target : u32 , read_offset : f64 , write_offset : f64 , size : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_buffer_sub_data_with_f64_and_f64_and_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , read_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , write_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let read_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_target , & mut __stack ) ; let write_target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_target , & mut __stack ) ; let read_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( read_offset , & mut __stack ) ; let write_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( write_offset , & mut __stack ) ; let size = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_copy_buffer_sub_data_with_f64_and_f64_and_f64_WebGL2RenderingContext ( self_ , read_target , write_target , read_offset , write_offset , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_buffer_sub_data_with_f64_and_f64_and_f64 ( & self , read_target : u32 , write_target : u32 , read_offset : f64 , write_offset : f64 , size : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_tex_sub_image_3d_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_tex_sub_image_3d ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , x : i32 , y : i32 , width : i32 , height : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_tex_sub_image_3d_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_copy_tex_sub_image_3d_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , x , y , width , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyTexSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_tex_sub_image_3d ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , x : i32 , y : i32 , width : i32 , height : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_query_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlQuery > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createQuery()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createQuery)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] pub fn create_query ( & self , ) -> Option < WebGlQuery > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_query_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlQuery > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_query_WebGL2RenderingContext ( self_ ) } ; < Option < WebGlQuery > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createQuery()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createQuery)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] pub fn create_query ( & self , ) -> Option < WebGlQuery > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_sampler_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlSampler > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSampler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createSampler)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn create_sampler ( & self , ) -> Option < WebGlSampler > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_sampler_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlSampler > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_sampler_WebGL2RenderingContext ( self_ ) } ; < Option < WebGlSampler > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSampler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createSampler)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn create_sampler ( & self , ) -> Option < WebGlSampler > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_transform_feedback_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlTransformFeedback > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*" ] pub fn create_transform_feedback ( & self , ) -> Option < WebGlTransformFeedback > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_transform_feedback_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlTransformFeedback > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_transform_feedback_WebGL2RenderingContext ( self_ ) } ; < Option < WebGlTransformFeedback > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*" ] pub fn create_transform_feedback ( & self , ) -> Option < WebGlTransformFeedback > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_vertex_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlVertexArrayObject > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createVertexArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createVertexArray)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*" ] pub fn create_vertex_array ( & self , ) -> Option < WebGlVertexArrayObject > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_vertex_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlVertexArrayObject > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_vertex_array_WebGL2RenderingContext ( self_ ) } ; < Option < WebGlVertexArrayObject > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createVertexArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createVertexArray)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*" ] pub fn create_vertex_array ( & self , ) -> Option < WebGlVertexArrayObject > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_query_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlQuery > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteQuery()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteQuery)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] pub fn delete_query ( & self , query : Option < & WebGlQuery > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_query_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , query : < Option < & WebGlQuery > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let query = < Option < & WebGlQuery > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( query , & mut __stack ) ; __widl_f_delete_query_WebGL2RenderingContext ( self_ , query ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteQuery()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteQuery)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] pub fn delete_query ( & self , query : Option < & WebGlQuery > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_sampler_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlSampler > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteSampler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSampler)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn delete_sampler ( & self , sampler : Option < & WebGlSampler > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_sampler_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sampler : < Option < & WebGlSampler > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sampler = < Option < & WebGlSampler > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sampler , & mut __stack ) ; __widl_f_delete_sampler_WebGL2RenderingContext ( self_ , sampler ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteSampler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSampler)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn delete_sampler ( & self , sampler : Option < & WebGlSampler > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_sync_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlSync > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn delete_sync ( & self , sync : Option < & WebGlSync > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_sync_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sync : < Option < & WebGlSync > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sync = < Option < & WebGlSync > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sync , & mut __stack ) ; __widl_f_delete_sync_WebGL2RenderingContext ( self_ , sync ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn delete_sync ( & self , sync : Option < & WebGlSync > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_transform_feedback_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlTransformFeedback > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*" ] pub fn delete_transform_feedback ( & self , tf : Option < & WebGlTransformFeedback > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_transform_feedback_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tf : < Option < & WebGlTransformFeedback > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tf = < Option < & WebGlTransformFeedback > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tf , & mut __stack ) ; __widl_f_delete_transform_feedback_WebGL2RenderingContext ( self_ , tf ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*" ] pub fn delete_transform_feedback ( & self , tf : Option < & WebGlTransformFeedback > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_vertex_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlVertexArrayObject > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteVertexArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteVertexArray)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*" ] pub fn delete_vertex_array ( & self , vertex_array : Option < & WebGlVertexArrayObject > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_vertex_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , vertex_array : < Option < & WebGlVertexArrayObject > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let vertex_array = < Option < & WebGlVertexArrayObject > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( vertex_array , & mut __stack ) ; __widl_f_delete_vertex_array_WebGL2RenderingContext ( self_ , vertex_array ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteVertexArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteVertexArray)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*" ] pub fn delete_vertex_array ( & self , vertex_array : Option < & WebGlVertexArrayObject > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_arrays_instanced_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawArraysInstanced()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArraysInstanced)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_arrays_instanced ( & self , mode : u32 , first : i32 , count : i32 , instance_count : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_arrays_instanced_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , first : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , instance_count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; let first = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( first , & mut __stack ) ; let count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; let instance_count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( instance_count , & mut __stack ) ; __widl_f_draw_arrays_instanced_WebGL2RenderingContext ( self_ , mode , first , count , instance_count ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawArraysInstanced()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArraysInstanced)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_arrays_instanced ( & self , mode : u32 , first : i32 , count : i32 , instance_count : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_elements_instanced_with_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawElementsInstanced()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_elements_instanced_with_i32 ( & self , mode : u32 , count : i32 , type_ : u32 , offset : i32 , instance_count : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_elements_instanced_with_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , instance_count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; let count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let instance_count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( instance_count , & mut __stack ) ; __widl_f_draw_elements_instanced_with_i32_WebGL2RenderingContext ( self_ , mode , count , type_ , offset , instance_count ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawElementsInstanced()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_elements_instanced_with_i32 ( & self , mode : u32 , count : i32 , type_ : u32 , offset : i32 , instance_count : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_elements_instanced_with_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawElementsInstanced()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_elements_instanced_with_f64 ( & self , mode : u32 , count : i32 , type_ : u32 , offset : f64 , instance_count : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_elements_instanced_with_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , instance_count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; let count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let instance_count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( instance_count , & mut __stack ) ; __widl_f_draw_elements_instanced_with_f64_WebGL2RenderingContext ( self_ , mode , count , type_ , offset , instance_count ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawElementsInstanced()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_elements_instanced_with_f64 ( & self , mode : u32 , count : i32 , type_ : u32 , offset : f64 , instance_count : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_range_elements_with_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawRangeElements()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_range_elements_with_i32 ( & self , mode : u32 , start : u32 , end : u32 , count : i32 , type_ : u32 , offset : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_range_elements_with_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; let start = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; let count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_draw_range_elements_with_i32_WebGL2RenderingContext ( self_ , mode , start , end , count , type_ , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawRangeElements()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_range_elements_with_i32 ( & self , mode : u32 , start : u32 , end : u32 , count : i32 , type_ : u32 , offset : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_range_elements_with_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawRangeElements()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_range_elements_with_f64 ( & self , mode : u32 , start : u32 , end : u32 , count : i32 , type_ : u32 , offset : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_range_elements_with_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , start : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , end : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; let start = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( start , & mut __stack ) ; let end = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( end , & mut __stack ) ; let count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_draw_range_elements_with_f64_WebGL2RenderingContext ( self_ , mode , start , end , count , type_ , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawRangeElements()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawRangeElements)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_range_elements_with_f64 ( & self , mode : u32 , start : u32 , end : u32 , count : i32 , type_ : u32 , offset : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_end_query_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `endQuery()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endQuery)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn end_query ( & self , target : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_end_query_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_end_query_WebGL2RenderingContext ( self_ , target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `endQuery()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endQuery)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn end_query ( & self , target : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_end_transform_feedback_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `endTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn end_transform_feedback ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_end_transform_feedback_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_end_transform_feedback_WebGL2RenderingContext ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `endTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/endTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn end_transform_feedback ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fence_sync_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < WebGlSync > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fenceSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/fenceSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn fence_sync ( & self , condition : u32 , flags : u32 ) -> Option < WebGlSync > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fence_sync_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , condition : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , flags : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlSync > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let condition = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( condition , & mut __stack ) ; let flags = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( flags , & mut __stack ) ; __widl_f_fence_sync_WebGL2RenderingContext ( self_ , condition , flags ) } ; < Option < WebGlSync > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fenceSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/fenceSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn fence_sync ( & self , condition : u32 , flags : u32 ) -> Option < WebGlSync > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_framebuffer_texture_layer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlTexture > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `framebufferTextureLayer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTextureLayer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] pub fn framebuffer_texture_layer ( & self , target : u32 , attachment : u32 , texture : Option < & WebGlTexture > , level : i32 , layer : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_framebuffer_texture_layer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , attachment : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , texture : < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , layer : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let attachment = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( attachment , & mut __stack ) ; let texture = < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( texture , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let layer = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( layer , & mut __stack ) ; __widl_f_framebuffer_texture_layer_WebGL2RenderingContext ( self_ , target , attachment , texture , level , layer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `framebufferTextureLayer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTextureLayer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] pub fn framebuffer_texture_layer ( & self , target : u32 , attachment : u32 , texture : Option < & WebGlTexture > , level : i32 , layer : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_active_uniform_block_name_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getActiveUniformBlockName()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockName)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_active_uniform_block_name ( & self , program : & WebGlProgram , uniform_block_index : u32 ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_active_uniform_block_name_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , uniform_block_index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let uniform_block_index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( uniform_block_index , & mut __stack ) ; __widl_f_get_active_uniform_block_name_WebGL2RenderingContext ( self_ , program , uniform_block_index ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getActiveUniformBlockName()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockName)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_active_uniform_block_name ( & self , program : & WebGlProgram , uniform_block_index : u32 ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_active_uniform_block_parameter_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getActiveUniformBlockParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_active_uniform_block_parameter ( & self , program : & WebGlProgram , uniform_block_index : u32 , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_active_uniform_block_parameter_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , uniform_block_index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let uniform_block_index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( uniform_block_index , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_active_uniform_block_parameter_WebGL2RenderingContext ( self_ , program , uniform_block_index , pname , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getActiveUniformBlockParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_active_uniform_block_parameter ( & self , program : & WebGlProgram , uniform_block_index : u32 , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_sub_data_with_i32_and_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_i32_and_array_buffer_view ( & self , target : u32 , src_byte_offset : i32 , dst_data : & :: js_sys :: Object ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_sub_data_with_i32_and_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_byte_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_byte_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_byte_offset , & mut __stack ) ; let dst_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; __widl_f_get_buffer_sub_data_with_i32_and_array_buffer_view_WebGL2RenderingContext ( self_ , target , src_byte_offset , dst_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_i32_and_array_buffer_view ( & self , target : u32 , src_byte_offset : i32 , dst_data : & :: js_sys :: Object ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_sub_data_with_f64_and_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_f64_and_array_buffer_view ( & self , target : u32 , src_byte_offset : f64 , dst_data : & :: js_sys :: Object ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_sub_data_with_f64_and_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_byte_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_byte_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_byte_offset , & mut __stack ) ; let dst_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; __widl_f_get_buffer_sub_data_with_f64_and_array_buffer_view_WebGL2RenderingContext ( self_ , target , src_byte_offset , dst_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_f64_and_array_buffer_view ( & self , target : u32 , src_byte_offset : f64 , dst_data : & :: js_sys :: Object ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_sub_data_with_i32_and_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_i32_and_u8_array ( & self , target : u32 , src_byte_offset : i32 , dst_data : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_sub_data_with_i32_and_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_byte_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_byte_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_byte_offset , & mut __stack ) ; let dst_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; __widl_f_get_buffer_sub_data_with_i32_and_u8_array_WebGL2RenderingContext ( self_ , target , src_byte_offset , dst_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_i32_and_u8_array ( & self , target : u32 , src_byte_offset : i32 , dst_data : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_sub_data_with_f64_and_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_f64_and_u8_array ( & self , target : u32 , src_byte_offset : f64 , dst_data : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_sub_data_with_f64_and_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_byte_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_byte_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_byte_offset , & mut __stack ) ; let dst_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; __widl_f_get_buffer_sub_data_with_f64_and_u8_array_WebGL2RenderingContext ( self_ , target , src_byte_offset , dst_data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_f64_and_u8_array ( & self , target : u32 , src_byte_offset : f64 , dst_data : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset ( & self , target : u32 , src_byte_offset : i32 , dst_data : & :: js_sys :: Object , dst_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_byte_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_byte_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_byte_offset , & mut __stack ) ; let dst_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; let dst_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_offset , & mut __stack ) ; __widl_f_get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_WebGL2RenderingContext ( self_ , target , src_byte_offset , dst_data , dst_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset ( & self , target : u32 , src_byte_offset : i32 , dst_data : & :: js_sys :: Object , dst_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset ( & self , target : u32 , src_byte_offset : f64 , dst_data : & :: js_sys :: Object , dst_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_byte_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_byte_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_byte_offset , & mut __stack ) ; let dst_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; let dst_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_offset , & mut __stack ) ; __widl_f_get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_WebGL2RenderingContext ( self_ , target , src_byte_offset , dst_data , dst_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset ( & self , target : u32 , src_byte_offset : f64 , dst_data : & :: js_sys :: Object , dst_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset ( & self , target : u32 , src_byte_offset : i32 , dst_data : & mut [ u8 ] , dst_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_byte_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_byte_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_byte_offset , & mut __stack ) ; let dst_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; let dst_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_offset , & mut __stack ) ; __widl_f_get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_WebGL2RenderingContext ( self_ , target , src_byte_offset , dst_data , dst_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset ( & self , target : u32 , src_byte_offset : i32 , dst_data : & mut [ u8 ] , dst_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset ( & self , target : u32 , src_byte_offset : f64 , dst_data : & mut [ u8 ] , dst_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_byte_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_byte_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_byte_offset , & mut __stack ) ; let dst_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; let dst_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_offset , & mut __stack ) ; __widl_f_get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_WebGL2RenderingContext ( self_ , target , src_byte_offset , dst_data , dst_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset ( & self , target : u32 , src_byte_offset : f64 , dst_data : & mut [ u8 ] , dst_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length ( & self , target : u32 , src_byte_offset : i32 , dst_data : & :: js_sys :: Object , dst_offset : u32 , length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_byte_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_byte_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_byte_offset , & mut __stack ) ; let dst_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; let dst_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_offset , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length_WebGL2RenderingContext ( self_ , target , src_byte_offset , dst_data , dst_offset , length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length ( & self , target : u32 , src_byte_offset : i32 , dst_data : & :: js_sys :: Object , dst_offset : u32 , length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length ( & self , target : u32 , src_byte_offset : f64 , dst_data : & :: js_sys :: Object , dst_offset : u32 , length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_byte_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_byte_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_byte_offset , & mut __stack ) ; let dst_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; let dst_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_offset , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length_WebGL2RenderingContext ( self_ , target , src_byte_offset , dst_data , dst_offset , length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length ( & self , target : u32 , src_byte_offset : f64 , dst_data : & :: js_sys :: Object , dst_offset : u32 , length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length ( & self , target : u32 , src_byte_offset : i32 , dst_data : & mut [ u8 ] , dst_offset : u32 , length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_byte_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_byte_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_byte_offset , & mut __stack ) ; let dst_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; let dst_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_offset , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length_WebGL2RenderingContext ( self_ , target , src_byte_offset , dst_data , dst_offset , length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length ( & self , target : u32 , src_byte_offset : i32 , dst_data : & mut [ u8 ] , dst_offset : u32 , length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length ( & self , target : u32 , src_byte_offset : f64 , dst_data : & mut [ u8 ] , dst_offset : u32 , length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_byte_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let src_byte_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_byte_offset , & mut __stack ) ; let dst_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; let dst_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_offset , & mut __stack ) ; let length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( length , & mut __stack ) ; __widl_f_get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length_WebGL2RenderingContext ( self_ , target , src_byte_offset , dst_data , dst_offset , length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length ( & self , target : u32 , src_byte_offset : f64 , dst_data : & mut [ u8 ] , dst_offset : u32 , length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_frag_data_location_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFragDataLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFragDataLocation)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_frag_data_location ( & self , program : & WebGlProgram , name : & str ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_frag_data_location_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_frag_data_location_WebGL2RenderingContext ( self_ , program , name ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFragDataLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFragDataLocation)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_frag_data_location ( & self , program : & WebGlProgram , name : & str ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_indexed_parameter_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getIndexedParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getIndexedParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_indexed_parameter ( & self , target : u32 , index : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_indexed_parameter_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_indexed_parameter_WebGL2RenderingContext ( self_ , target , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getIndexedParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getIndexedParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_indexed_parameter ( & self , target : u32 , index : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_internalformat_parameter_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getInternalformatParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_internalformat_parameter ( & self , target : u32 , internalformat : u32 , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_internalformat_parameter_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_internalformat_parameter_WebGL2RenderingContext ( self_ , target , internalformat , pname , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getInternalformatParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_internalformat_parameter ( & self , target : u32 , internalformat : u32 , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_query_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getQuery()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQuery)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_query ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_query_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_query_WebGL2RenderingContext ( self_ , target , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getQuery()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQuery)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_query ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_query_parameter_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlQuery as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getQueryParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQueryParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] pub fn get_query_parameter ( & self , query : & WebGlQuery , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_query_parameter_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , query : < & WebGlQuery as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let query = < & WebGlQuery as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( query , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_query_parameter_WebGL2RenderingContext ( self_ , query , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getQueryParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getQueryParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] pub fn get_query_parameter ( & self , query : & WebGlQuery , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_sampler_parameter_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlSampler as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getSamplerParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSamplerParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn get_sampler_parameter ( & self , sampler : & WebGlSampler , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_sampler_parameter_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sampler : < & WebGlSampler as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sampler = < & WebGlSampler as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sampler , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_sampler_parameter_WebGL2RenderingContext ( self_ , sampler , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getSamplerParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSamplerParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn get_sampler_parameter ( & self , sampler : & WebGlSampler , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_sync_parameter_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlSync as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getSyncParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSyncParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn get_sync_parameter ( & self , sync : & WebGlSync , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_sync_parameter_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sync : < & WebGlSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sync = < & WebGlSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sync , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_sync_parameter_WebGL2RenderingContext ( self_ , sync , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getSyncParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getSyncParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn get_sync_parameter ( & self , sync : & WebGlSync , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_transform_feedback_varying_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < WebGlActiveInfo > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getTransformFeedbackVarying()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*" ] pub fn get_transform_feedback_varying ( & self , program : & WebGlProgram , index : u32 ) -> Option < WebGlActiveInfo > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_transform_feedback_varying_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlActiveInfo > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_transform_feedback_varying_WebGL2RenderingContext ( self_ , program , index ) } ; < Option < WebGlActiveInfo > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getTransformFeedbackVarying()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*" ] pub fn get_transform_feedback_varying ( & self , program : & WebGlProgram , index : u32 ) -> Option < WebGlActiveInfo > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_uniform_block_index_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getUniformBlockIndex()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformBlockIndex)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_uniform_block_index ( & self , program : & WebGlProgram , uniform_block_name : & str ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_uniform_block_index_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , uniform_block_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let uniform_block_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( uniform_block_name , & mut __stack ) ; __widl_f_get_uniform_block_index_WebGL2RenderingContext ( self_ , program , uniform_block_name ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getUniformBlockIndex()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformBlockIndex)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_uniform_block_index ( & self , program : & WebGlProgram , uniform_block_name : & str ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_query_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlQuery > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isQuery()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isQuery)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] pub fn is_query ( & self , query : Option < & WebGlQuery > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_query_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , query : < Option < & WebGlQuery > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let query = < Option < & WebGlQuery > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( query , & mut __stack ) ; __widl_f_is_query_WebGL2RenderingContext ( self_ , query ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isQuery()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isQuery)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlQuery`*" ] pub fn is_query ( & self , query : Option < & WebGlQuery > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_sampler_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlSampler > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isSampler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSampler)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn is_sampler ( & self , sampler : Option < & WebGlSampler > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_sampler_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sampler : < Option < & WebGlSampler > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sampler = < Option < & WebGlSampler > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sampler , & mut __stack ) ; __widl_f_is_sampler_WebGL2RenderingContext ( self_ , sampler ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isSampler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSampler)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn is_sampler ( & self , sampler : Option < & WebGlSampler > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_sync_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlSync > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn is_sync ( & self , sync : Option < & WebGlSync > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_sync_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sync : < Option < & WebGlSync > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sync = < Option < & WebGlSync > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sync , & mut __stack ) ; __widl_f_is_sync_WebGL2RenderingContext ( self_ , sync ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn is_sync ( & self , sync : Option < & WebGlSync > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_transform_feedback_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlTransformFeedback > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*" ] pub fn is_transform_feedback ( & self , tf : Option < & WebGlTransformFeedback > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_transform_feedback_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tf : < Option < & WebGlTransformFeedback > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tf = < Option < & WebGlTransformFeedback > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tf , & mut __stack ) ; __widl_f_is_transform_feedback_WebGL2RenderingContext ( self_ , tf ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTransformFeedback`*" ] pub fn is_transform_feedback ( & self , tf : Option < & WebGlTransformFeedback > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_vertex_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlVertexArrayObject > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isVertexArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isVertexArray)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*" ] pub fn is_vertex_array ( & self , vertex_array : Option < & WebGlVertexArrayObject > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_vertex_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , vertex_array : < Option < & WebGlVertexArrayObject > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let vertex_array = < Option < & WebGlVertexArrayObject > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( vertex_array , & mut __stack ) ; __widl_f_is_vertex_array_WebGL2RenderingContext ( self_ , vertex_array ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isVertexArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isVertexArray)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlVertexArrayObject`*" ] pub fn is_vertex_array ( & self , vertex_array : Option < & WebGlVertexArrayObject > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pause_transform_feedback_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pauseTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pauseTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn pause_transform_feedback ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pause_transform_feedback_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pause_transform_feedback_WebGL2RenderingContext ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pauseTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pauseTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn pause_transform_feedback ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_buffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readBuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_buffer ( & self , src : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_buffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; __widl_f_read_buffer_WebGL2RenderingContext ( self_ , src ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readBuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_buffer ( & self , src : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_pixels_with_opt_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_pixels_with_opt_array_buffer_view ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , dst_data : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_pixels_with_opt_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let dst_data = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; __widl_f_read_pixels_with_opt_array_buffer_view_WebGL2RenderingContext ( self_ , x , y , width , height , format , type_ , dst_data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_pixels_with_opt_array_buffer_view ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , dst_data : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_pixels_with_opt_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_pixels_with_opt_u8_array ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , dst_data : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_pixels_with_opt_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let dst_data = < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; __widl_f_read_pixels_with_opt_u8_array_WebGL2RenderingContext ( self_ , x , y , width , height , format , type_ , dst_data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_pixels_with_opt_u8_array ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , dst_data : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_pixels_with_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_pixels_with_i32 ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , offset : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_pixels_with_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_read_pixels_with_i32_WebGL2RenderingContext ( self_ , x , y , width , height , format , type_ , offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_pixels_with_i32 ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , offset : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_pixels_with_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_pixels_with_f64 ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , offset : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_pixels_with_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_read_pixels_with_f64_WebGL2RenderingContext ( self_ , x , y , width , height , format , type_ , offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_pixels_with_f64 ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , offset : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_pixels_with_array_buffer_view_and_dst_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_pixels_with_array_buffer_view_and_dst_offset ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , dst_data : & :: js_sys :: Object , dst_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_pixels_with_array_buffer_view_and_dst_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let dst_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; let dst_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_offset , & mut __stack ) ; __widl_f_read_pixels_with_array_buffer_view_and_dst_offset_WebGL2RenderingContext ( self_ , x , y , width , height , format , type_ , dst_data , dst_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_pixels_with_array_buffer_view_and_dst_offset ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , dst_data : & :: js_sys :: Object , dst_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_pixels_with_u8_array_and_dst_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_pixels_with_u8_array_and_dst_offset ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , dst_data : & mut [ u8 ] , dst_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_pixels_with_u8_array_and_dst_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let dst_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_data , & mut __stack ) ; let dst_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_offset , & mut __stack ) ; __widl_f_read_pixels_with_u8_array_and_dst_offset_WebGL2RenderingContext ( self_ , x , y , width , height , format , type_ , dst_data , dst_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn read_pixels_with_u8_array_and_dst_offset ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , dst_data : & mut [ u8 ] , dst_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_renderbuffer_storage_multisample_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `renderbufferStorageMultisample()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorageMultisample)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn renderbuffer_storage_multisample ( & self , target : u32 , samples : i32 , internalformat : u32 , width : i32 , height : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_renderbuffer_storage_multisample_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , samples : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let samples = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( samples , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_renderbuffer_storage_multisample_WebGL2RenderingContext ( self_ , target , samples , internalformat , width , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `renderbufferStorageMultisample()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorageMultisample)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn renderbuffer_storage_multisample ( & self , target : u32 , samples : i32 , internalformat : u32 , width : i32 , height : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_resume_transform_feedback_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `resumeTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/resumeTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn resume_transform_feedback ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_resume_transform_feedback_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_resume_transform_feedback_WebGL2RenderingContext ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `resumeTransformFeedback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/resumeTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn resume_transform_feedback ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sampler_parameterf_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlSampler as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `samplerParameterf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameterf)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn sampler_parameterf ( & self , sampler : & WebGlSampler , pname : u32 , param : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sampler_parameterf_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sampler : < & WebGlSampler as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , param : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sampler = < & WebGlSampler as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sampler , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; let param = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( param , & mut __stack ) ; __widl_f_sampler_parameterf_WebGL2RenderingContext ( self_ , sampler , pname , param ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `samplerParameterf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameterf)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn sampler_parameterf ( & self , sampler : & WebGlSampler , pname : u32 , param : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sampler_parameteri_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlSampler as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `samplerParameteri()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameteri)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn sampler_parameteri ( & self , sampler : & WebGlSampler , pname : u32 , param : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sampler_parameteri_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sampler : < & WebGlSampler as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , param : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sampler = < & WebGlSampler as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sampler , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; let param = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( param , & mut __stack ) ; __widl_f_sampler_parameteri_WebGL2RenderingContext ( self_ , sampler , pname , param ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `samplerParameteri()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/samplerParameteri)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSampler`*" ] pub fn sampler_parameteri ( & self , sampler : & WebGlSampler , pname : u32 , param : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , pixels : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , pixels : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , pixels : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , pixels : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_u32_and_u32_and_html_canvas_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_html_canvas_element ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , source : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_u32_and_u32_and_html_canvas_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_2d_with_u32_and_u32_and_html_canvas_element_WebGL2RenderingContext ( self_ , target , level , internalformat , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_html_canvas_element ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , source : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_u32_and_u32_and_html_image_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_html_image_element ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , source : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_u32_and_u32_and_html_image_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_2d_with_u32_and_u32_and_html_image_element_WebGL2RenderingContext ( self_ , target , level , internalformat , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_html_image_element ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , source : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_u32_and_u32_and_html_video_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_html_video_element ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , source : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_u32_and_u32_and_html_video_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_2d_with_u32_and_u32_and_html_video_element_WebGL2RenderingContext ( self_ , target , level , internalformat , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_html_video_element ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , source : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_u32_and_u32_and_image_bitmap_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , source : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_u32_and_u32_and_image_bitmap_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_2d_with_u32_and_u32_and_image_bitmap_WebGL2RenderingContext ( self_ , target , level , internalformat , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , source : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_u32_and_u32_and_image_data_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_image_data ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , source : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_u32_and_u32_and_image_data_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_2d_with_u32_and_u32_and_image_data_WebGL2RenderingContext ( self_ , target , level , internalformat , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_image_data ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , source : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32 ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , pbo_offset : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pbo_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pbo_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pbo_offset , & mut __stack ) ; __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , format , type_ , pbo_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32 ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , pbo_offset : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64 ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , pbo_offset : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pbo_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pbo_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pbo_offset , & mut __stack ) ; __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , format , type_ , pbo_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64 ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , pbo_offset : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , source : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , source : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , source : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , source : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , source : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , source : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , source : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , source : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , source : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , source : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , src_data : & :: js_sys :: Object , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , format , type_ , src_data , src_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , src_data : & :: js_sys :: Object , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , src_data : & mut [ u8 ] , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , border , format , type_ , src_data , src_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , src_data : & mut [ u8 ] , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_3d_with_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_i32 ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , pbo_offset : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_3d_with_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pbo_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pbo_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pbo_offset , & mut __stack ) ; __widl_f_tex_image_3d_with_i32_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , format , type_ , pbo_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_i32 ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , pbo_offset : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_3d_with_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_f64 ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , pbo_offset : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_3d_with_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pbo_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pbo_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pbo_offset , & mut __stack ) ; __widl_f_tex_image_3d_with_f64_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , format , type_ , pbo_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_f64 ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , pbo_offset : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_3d_with_html_canvas_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_html_canvas_element ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , source : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_3d_with_html_canvas_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_3d_with_html_canvas_element_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_html_canvas_element ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , source : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_3d_with_html_image_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_html_image_element ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , source : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_3d_with_html_image_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_3d_with_html_image_element_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_html_image_element ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , source : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_3d_with_html_video_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_html_video_element ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , source : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_3d_with_html_video_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_3d_with_html_video_element_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_html_video_element ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , source : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_3d_with_image_bitmap_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_image_bitmap ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , source : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_3d_with_image_bitmap_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_3d_with_image_bitmap_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_image_bitmap ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , source : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_3d_with_image_data_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_image_data ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , source : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_3d_with_image_data_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_image_3d_with_image_data_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_image_data ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , source : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_3d_with_opt_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_opt_array_buffer_view ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , src_data : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_3d_with_opt_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let src_data = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_tex_image_3d_with_opt_array_buffer_view_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , format , type_ , src_data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_opt_array_buffer_view ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , src_data : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_3d_with_opt_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_opt_u8_array ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , src_data : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_3d_with_opt_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let src_data = < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_tex_image_3d_with_opt_u8_array_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , format , type_ , src_data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_opt_u8_array ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , src_data : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_3d_with_array_buffer_view_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_array_buffer_view_and_src_offset ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , src_data : & :: js_sys :: Object , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_3d_with_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_tex_image_3d_with_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , format , type_ , src_data , src_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_array_buffer_view_and_src_offset ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , src_data : & :: js_sys :: Object , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_3d_with_u8_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_u8_array_and_src_offset ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , src_data : & mut [ u8 ] , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_3d_with_u8_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_tex_image_3d_with_u8_array_and_src_offset_WebGL2RenderingContext ( self_ , target , level , internalformat , width , height , depth , border , format , type_ , src_data , src_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_image_3d_with_u8_array_and_src_offset ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , depth : i32 , border : i32 , format : u32 , type_ : u32 , src_data : & mut [ u8 ] , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_storage_2d_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texStorage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_storage_2d ( & self , target : u32 , levels : i32 , internalformat : u32 , width : i32 , height : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_storage_2d_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , levels : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let levels = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( levels , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_tex_storage_2d_WebGL2RenderingContext ( self_ , target , levels , internalformat , width , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texStorage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_storage_2d ( & self , target : u32 , levels : i32 , internalformat : u32 , width : i32 , height : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_storage_3d_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texStorage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_storage_3d ( & self , target : u32 , levels : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_storage_3d_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , levels : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let levels = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( levels , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; __widl_f_tex_storage_3d_WebGL2RenderingContext ( self_ , target , levels , internalformat , width , height , depth ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texStorage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_storage_3d ( & self , target : u32 , levels : i32 , internalformat : u32 , width : i32 , height : i32 , depth : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pixels : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pixels : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pixels : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pixels : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , source : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , source : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_u32_and_u32_and_html_image_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_html_image_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , source : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_u32_and_u32_and_html_image_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_u32_and_u32_and_html_image_element_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_html_image_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , source : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_u32_and_u32_and_html_video_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_html_video_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , source : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_u32_and_u32_and_html_video_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_u32_and_u32_and_html_video_element_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_html_video_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , source : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_bitmap_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , source : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_bitmap_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_bitmap_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , source : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_data_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_image_data ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , source : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_data_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_data_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_image_data ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , source : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pbo_offset : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pbo_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pbo_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pbo_offset , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , type_ , pbo_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pbo_offset : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pbo_offset : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pbo_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pbo_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pbo_offset , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , type_ , pbo_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pbo_offset : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , source : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , source : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , source : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , source : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , source : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , source : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , source : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , source : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , source : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , source : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , src_data : & :: js_sys :: Object , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let src_data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , type_ , src_data , src_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , src_data : & :: js_sys :: Object , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 11u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , src_data : & mut [ u8 ] , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let src_data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , type_ , src_data , src_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , src_data : & mut [ u8 ] , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_3d_with_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_i32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , pbo_offset : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_3d_with_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pbo_offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pbo_offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pbo_offset , & mut __stack ) ; __widl_f_tex_sub_image_3d_with_i32_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , type_ , pbo_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_i32 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , pbo_offset : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_3d_with_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_f64 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , pbo_offset : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_3d_with_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pbo_offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pbo_offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pbo_offset , & mut __stack ) ; __widl_f_tex_sub_image_3d_with_f64_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , type_ , pbo_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_f64 ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , pbo_offset : f64 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_3d_with_html_canvas_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_html_canvas_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , source : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_3d_with_html_canvas_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_3d_with_html_canvas_element_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_html_canvas_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , source : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_3d_with_html_image_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_html_image_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , source : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_3d_with_html_image_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_3d_with_html_image_element_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_html_image_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , source : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_3d_with_html_video_element_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_html_video_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , source : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_3d_with_html_video_element_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_3d_with_html_video_element_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_html_video_element ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , source : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_3d_with_image_bitmap_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_image_bitmap ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , source : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_3d_with_image_bitmap_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_3d_with_image_bitmap_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_image_bitmap ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , source : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_3d_with_image_data_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_image_data ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , source : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_3d_with_image_data_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let source = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_tex_sub_image_3d_with_image_data_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , type_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_image_data ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , source : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_3d_with_opt_array_buffer_view_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_opt_array_buffer_view ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , src_data : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_3d_with_opt_array_buffer_view_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let src_data = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_tex_sub_image_3d_with_opt_array_buffer_view_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , type_ , src_data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_opt_array_buffer_view ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , src_data : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_3d_with_opt_u8_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 12u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_opt_u8_array ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , src_data : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_3d_with_opt_u8_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let src_data = < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; __widl_f_tex_sub_image_3d_with_opt_u8_array_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , type_ , src_data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_opt_u8_array ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , src_data : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 13u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , src_data : Option < & :: js_sys :: Object > , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let src_data = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , type_ , src_data , src_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , src_data : Option < & :: js_sys :: Object > , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_3d_with_opt_u8_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 13u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_opt_u8_array_and_src_offset ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , src_data : Option < & mut [ u8 ] > , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_3d_with_opt_u8_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_data : < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let zoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let depth = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let src_data = < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_tex_sub_image_3d_with_opt_u8_array_and_src_offset_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , zoffset , width , height , depth , format , type_ , src_data , src_offset , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage3D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_sub_image_3d_with_opt_u8_array_and_src_offset ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , zoffset : i32 , width : i32 , height : i32 , depth : i32 , format : u32 , type_ : u32 , src_data : Option < & mut [ u8 ] > , src_offset : u32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform1fv_with_f32_array_WebGL2RenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform1fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform1fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1iv_with_i32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1iv_with_i32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform1iv_with_i32_array_WebGL2RenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1iv_with_i32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1iv_with_i32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1iv_with_i32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform1iv_with_i32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1iv_with_i32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1iv_with_i32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform1iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1iv_with_i32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1ui_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1ui()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1ui)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1ui ( & self , location : Option < & WebGlUniformLocation > , v0 : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1ui_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v0 : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let v0 = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v0 , & mut __stack ) ; __widl_f_uniform1ui_WebGL2RenderingContext ( self_ , location , v0 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1ui()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1ui)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1ui ( & self , location : Option < & WebGlUniformLocation > , v0 : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1uiv_with_u32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1uiv_with_u32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1uiv_with_u32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform1uiv_with_u32_array_WebGL2RenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1uiv_with_u32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1uiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1uiv_with_u32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1uiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform1uiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1uiv_with_u32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1uiv_with_u32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform1uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1uiv_with_u32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform2fv_with_f32_array_WebGL2RenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform2fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2iv_with_i32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2iv_with_i32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform2iv_with_i32_array_WebGL2RenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2iv_with_i32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2iv_with_i32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2iv_with_i32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform2iv_with_i32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2iv_with_i32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2iv_with_i32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform2iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2iv_with_i32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2ui_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2ui()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2ui)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2ui ( & self , location : Option < & WebGlUniformLocation > , v0 : u32 , v1 : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2ui_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v0 : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v1 : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let v0 = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v0 , & mut __stack ) ; let v1 = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v1 , & mut __stack ) ; __widl_f_uniform2ui_WebGL2RenderingContext ( self_ , location , v0 , v1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2ui()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2ui)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2ui ( & self , location : Option < & WebGlUniformLocation > , v0 : u32 , v1 : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2uiv_with_u32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2uiv_with_u32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2uiv_with_u32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform2uiv_with_u32_array_WebGL2RenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2uiv_with_u32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2uiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2uiv_with_u32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2uiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform2uiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2uiv_with_u32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2uiv_with_u32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform2uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2uiv_with_u32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform3fv_with_f32_array_WebGL2RenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform3fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3iv_with_i32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3iv_with_i32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform3iv_with_i32_array_WebGL2RenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3iv_with_i32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3iv_with_i32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3iv_with_i32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform3iv_with_i32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3iv_with_i32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3iv_with_i32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform3iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3iv_with_i32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3ui_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3ui()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3ui)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3ui ( & self , location : Option < & WebGlUniformLocation > , v0 : u32 , v1 : u32 , v2 : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3ui_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v0 : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v1 : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v2 : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let v0 = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v0 , & mut __stack ) ; let v1 = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v1 , & mut __stack ) ; let v2 = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v2 , & mut __stack ) ; __widl_f_uniform3ui_WebGL2RenderingContext ( self_ , location , v0 , v1 , v2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3ui()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3ui)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3ui ( & self , location : Option < & WebGlUniformLocation > , v0 : u32 , v1 : u32 , v2 : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3uiv_with_u32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3uiv_with_u32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3uiv_with_u32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform3uiv_with_u32_array_WebGL2RenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3uiv_with_u32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3uiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3uiv_with_u32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3uiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform3uiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3uiv_with_u32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3uiv_with_u32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform3uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3uiv_with_u32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform4fv_with_f32_array_WebGL2RenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform4fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4iv_with_i32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4iv_with_i32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform4iv_with_i32_array_WebGL2RenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4iv_with_i32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4iv_with_i32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4iv_with_i32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform4iv_with_i32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4iv_with_i32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4iv_with_i32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform4iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4iv_with_i32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4ui_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4ui()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4ui)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4ui ( & self , location : Option < & WebGlUniformLocation > , v0 : u32 , v1 : u32 , v2 : u32 , v3 : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4ui_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v0 : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v1 : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v2 : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , v3 : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let v0 = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v0 , & mut __stack ) ; let v1 = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v1 , & mut __stack ) ; let v2 = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v2 , & mut __stack ) ; let v3 = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( v3 , & mut __stack ) ; __widl_f_uniform4ui_WebGL2RenderingContext ( self_ , location , v0 , v1 , v2 , v3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4ui()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4ui)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4ui ( & self , location : Option < & WebGlUniformLocation > , v0 : u32 , v1 : u32 , v2 : u32 , v3 : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4uiv_with_u32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4uiv_with_u32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4uiv_with_u32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform4uiv_with_u32_array_WebGL2RenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4uiv_with_u32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4uiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4uiv_with_u32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4uiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform4uiv_with_u32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4uiv_with_u32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4uiv_with_u32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform4uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4uiv_with_u32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ u32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_block_binding_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformBlockBinding()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn uniform_block_binding ( & self , program : & WebGlProgram , uniform_block_index : u32 , uniform_block_binding : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_block_binding_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , uniform_block_index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , uniform_block_binding : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let uniform_block_index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( uniform_block_index , & mut __stack ) ; let uniform_block_binding = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( uniform_block_binding , & mut __stack ) ; __widl_f_uniform_block_binding_WebGL2RenderingContext ( self_ , program , uniform_block_index , uniform_block_binding ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformBlockBinding()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn uniform_block_binding ( & self , program : & WebGlProgram , uniform_block_index : u32 , uniform_block_binding : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix2fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix2fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform_matrix2fv_with_f32_array_WebGL2RenderingContext ( self_ , location , transpose , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix2fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix2fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform_matrix2fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix2x3fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix2x3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2x3fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix2x3fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform_matrix2x3fv_with_f32_array_WebGL2RenderingContext ( self_ , location , transpose , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix2x3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2x3fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix2x3fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix2x3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix2x3fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform_matrix2x3fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix2x3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix2x3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix2x3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix2x4fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix2x4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2x4fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix2x4fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform_matrix2x4fv_with_f32_array_WebGL2RenderingContext ( self_ , location , transpose , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix2x4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2x4fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix2x4fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix2x4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix2x4fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform_matrix2x4fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix2x4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix2x4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix2x4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix2x4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix3fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix3fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform_matrix3fv_with_f32_array_WebGL2RenderingContext ( self_ , location , transpose , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix3fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix3fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform_matrix3fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix3x2fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix3x2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3x2fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix3x2fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform_matrix3x2fv_with_f32_array_WebGL2RenderingContext ( self_ , location , transpose , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix3x2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3x2fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix3x2fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix3x2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix3x2fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform_matrix3x2fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix3x2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix3x2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix3x2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix3x4fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix3x4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3x4fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix3x4fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform_matrix3x4fv_with_f32_array_WebGL2RenderingContext ( self_ , location , transpose , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix3x4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3x4fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix3x4fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix3x4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix3x4fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform_matrix3x4fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix3x4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix3x4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix3x4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix3x4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix4fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix4fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform_matrix4fv_with_f32_array_WebGL2RenderingContext ( self_ , location , transpose , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix4fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix4fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform_matrix4fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix4x2fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix4x2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4x2fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix4x2fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform_matrix4x2fv_with_f32_array_WebGL2RenderingContext ( self_ , location , transpose , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix4x2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4x2fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix4x2fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix4x2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix4x2fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform_matrix4x2fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix4x2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix4x2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix4x2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix4x3fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix4x3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4x3fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix4x3fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform_matrix4x3fv_with_f32_array_WebGL2RenderingContext ( self_ , location , transpose , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix4x3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4x3fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix4x3fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix4x3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix4x3fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; __widl_f_uniform_matrix4x3fv_with_f32_array_and_src_offset_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix4x3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix4x3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_length : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let src_length = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_length , & mut __stack ) ; __widl_f_uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext ( self_ , location , transpose , data , src_offset , src_length ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix4x3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniformMatrix4x3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] , src_offset : u32 , src_length : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib_divisor_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttribDivisor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_divisor ( & self , index : u32 , divisor : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib_divisor_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , divisor : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let divisor = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( divisor , & mut __stack ) ; __widl_f_vertex_attrib_divisor_WebGL2RenderingContext ( self_ , index , divisor ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttribDivisor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_divisor ( & self , index : u32 , divisor : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib_i4i_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttribI4i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4i)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_i4i ( & self , index : u32 , x : i32 , y : i32 , z : i32 , w : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib_i4i_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let w = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; __widl_f_vertex_attrib_i4i_WebGL2RenderingContext ( self_ , index , x , y , z , w ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttribI4i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4i)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_i4i ( & self , index : u32 , x : i32 , y : i32 , z : i32 , w : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib_i4iv_with_i32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttribI4iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_i4iv_with_i32_array ( & self , index : u32 , values : & mut [ i32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib_i4iv_with_i32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let values = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; __widl_f_vertex_attrib_i4iv_with_i32_array_WebGL2RenderingContext ( self_ , index , values ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttribI4iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4iv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_i4iv_with_i32_array ( & self , index : u32 , values : & mut [ i32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib_i4ui_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttribI4ui()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4ui)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_i4ui ( & self , index : u32 , x : u32 , y : u32 , z : u32 , w : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib_i4ui_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let x = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let w = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; __widl_f_vertex_attrib_i4ui_WebGL2RenderingContext ( self_ , index , x , y , z , w ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttribI4ui()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4ui)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_i4ui ( & self , index : u32 , x : u32 , y : u32 , z : u32 , w : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib_i4uiv_with_u32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttribI4uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_i4uiv_with_u32_array ( & self , index : u32 , values : & mut [ u32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib_i4uiv_with_u32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let values = < & mut [ u32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; __widl_f_vertex_attrib_i4uiv_with_u32_array_WebGL2RenderingContext ( self_ , index , values ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttribI4uiv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribI4uiv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_i4uiv_with_u32_array ( & self , index : u32 , values : & mut [ u32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib_i_pointer_with_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttribIPointer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_i_pointer_with_i32 ( & self , index : u32 , size : i32 , type_ : u32 , stride : i32 , offset : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib_i_pointer_with_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stride : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let stride = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stride , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_vertex_attrib_i_pointer_with_i32_WebGL2RenderingContext ( self_ , index , size , type_ , stride , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttribIPointer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_i_pointer_with_i32 ( & self , index : u32 , size : i32 , type_ : u32 , stride : i32 , offset : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib_i_pointer_with_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttribIPointer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_i_pointer_with_f64 ( & self , index : u32 , size : i32 , type_ : u32 , stride : i32 , offset : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib_i_pointer_with_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stride : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let stride = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stride , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_vertex_attrib_i_pointer_with_f64_WebGL2RenderingContext ( self_ , index , size , type_ , stride , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttribIPointer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_i_pointer_with_f64 ( & self , index : u32 , size : i32 , type_ : u32 , stride : i32 , offset : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_wait_sync_with_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlSync as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `waitSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn wait_sync_with_i32 ( & self , sync : & WebGlSync , flags : u32 , timeout : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_wait_sync_with_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sync : < & WebGlSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , flags : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sync = < & WebGlSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sync , & mut __stack ) ; let flags = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( flags , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; __widl_f_wait_sync_with_i32_WebGL2RenderingContext ( self_ , sync , flags , timeout ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `waitSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn wait_sync_with_i32 ( & self , sync : & WebGlSync , flags : u32 , timeout : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_wait_sync_with_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlSync as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `waitSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn wait_sync_with_f64 ( & self , sync : & WebGlSync , flags : u32 , timeout : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_wait_sync_with_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sync : < & WebGlSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , flags : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sync = < & WebGlSync as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sync , & mut __stack ) ; let flags = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( flags , & mut __stack ) ; let timeout = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; __widl_f_wait_sync_with_f64_WebGL2RenderingContext ( self_ , sync , flags , timeout ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `waitSync()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/waitSync)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlSync`*" ] pub fn wait_sync_with_f64 ( & self , sync : & WebGlSync , flags : u32 , timeout : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_active_texture_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `activeTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/activeTexture)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn active_texture ( & self , texture : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_active_texture_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , texture : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let texture = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( texture , & mut __stack ) ; __widl_f_active_texture_WebGL2RenderingContext ( self_ , texture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `activeTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/activeTexture)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn active_texture ( & self , texture : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_attach_shader_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `attachShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/attachShader)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*" ] pub fn attach_shader ( & self , program : & WebGlProgram , shader : & WebGlShader ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_attach_shader_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_attach_shader_WebGL2RenderingContext ( self_ , program , shader ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `attachShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/attachShader)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*" ] pub fn attach_shader ( & self , program : & WebGlProgram , shader : & WebGlShader ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_attrib_location_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindAttribLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindAttribLocation)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn bind_attrib_location ( & self , program : & WebGlProgram , index : u32 , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_attrib_location_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_bind_attrib_location_WebGL2RenderingContext ( self_ , program , index , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindAttribLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindAttribLocation)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn bind_attrib_location ( & self , program : & WebGlProgram , index : u32 , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_buffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlBuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn bind_buffer ( & self , target : u32 , buffer : Option < & WebGlBuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_buffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let buffer = < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; __widl_f_bind_buffer_WebGL2RenderingContext ( self_ , target , buffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindBuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn bind_buffer ( & self , target : u32 , buffer : Option < & WebGlBuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_framebuffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlFramebuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*" ] pub fn bind_framebuffer ( & self , target : u32 , framebuffer : Option < & WebGlFramebuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_framebuffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , framebuffer : < Option < & WebGlFramebuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let framebuffer = < Option < & WebGlFramebuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( framebuffer , & mut __stack ) ; __widl_f_bind_framebuffer_WebGL2RenderingContext ( self_ , target , framebuffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*" ] pub fn bind_framebuffer ( & self , target : u32 , framebuffer : Option < & WebGlFramebuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_renderbuffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlRenderbuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] pub fn bind_renderbuffer ( & self , target : u32 , renderbuffer : Option < & WebGlRenderbuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_renderbuffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , renderbuffer : < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let renderbuffer = < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( renderbuffer , & mut __stack ) ; __widl_f_bind_renderbuffer_WebGL2RenderingContext ( self_ , target , renderbuffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] pub fn bind_renderbuffer ( & self , target : u32 , renderbuffer : Option < & WebGlRenderbuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_texture_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlTexture > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTexture)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] pub fn bind_texture ( & self , target : u32 , texture : Option < & WebGlTexture > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_texture_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , texture : < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let texture = < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( texture , & mut __stack ) ; __widl_f_bind_texture_WebGL2RenderingContext ( self_ , target , texture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/bindTexture)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] pub fn bind_texture ( & self , target : u32 , texture : Option < & WebGlTexture > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blend_color_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blendColor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendColor)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn blend_color ( & self , red : f32 , green : f32 , blue : f32 , alpha : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blend_color_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , red : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , green : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blue : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alpha : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let red = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( red , & mut __stack ) ; let green = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( green , & mut __stack ) ; let blue = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blue , & mut __stack ) ; let alpha = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alpha , & mut __stack ) ; __widl_f_blend_color_WebGL2RenderingContext ( self_ , red , green , blue , alpha ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blendColor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendColor)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn blend_color ( & self , red : f32 , green : f32 , blue : f32 , alpha : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blend_equation_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blendEquation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquation)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn blend_equation ( & self , mode : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blend_equation_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; __widl_f_blend_equation_WebGL2RenderingContext ( self_ , mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blendEquation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquation)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn blend_equation ( & self , mode : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blend_equation_separate_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blendEquationSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquationSeparate)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn blend_equation_separate ( & self , mode_rgb : u32 , mode_alpha : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blend_equation_separate_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode_rgb : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode_alpha : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode_rgb = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode_rgb , & mut __stack ) ; let mode_alpha = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode_alpha , & mut __stack ) ; __widl_f_blend_equation_separate_WebGL2RenderingContext ( self_ , mode_rgb , mode_alpha ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blendEquationSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendEquationSeparate)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn blend_equation_separate ( & self , mode_rgb : u32 , mode_alpha : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blend_func_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blendFunc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFunc)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn blend_func ( & self , sfactor : u32 , dfactor : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blend_func_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sfactor : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dfactor : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sfactor = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sfactor , & mut __stack ) ; let dfactor = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dfactor , & mut __stack ) ; __widl_f_blend_func_WebGL2RenderingContext ( self_ , sfactor , dfactor ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blendFunc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFunc)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn blend_func ( & self , sfactor : u32 , dfactor : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blend_func_separate_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blendFuncSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFuncSeparate)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn blend_func_separate ( & self , src_rgb : u32 , dst_rgb : u32 , src_alpha : u32 , dst_alpha : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blend_func_separate_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_rgb : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_rgb : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_alpha : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_alpha : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src_rgb = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_rgb , & mut __stack ) ; let dst_rgb = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_rgb , & mut __stack ) ; let src_alpha = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_alpha , & mut __stack ) ; let dst_alpha = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_alpha , & mut __stack ) ; __widl_f_blend_func_separate_WebGL2RenderingContext ( self_ , src_rgb , dst_rgb , src_alpha , dst_alpha ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blendFuncSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/blendFuncSeparate)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn blend_func_separate ( & self , src_rgb : u32 , dst_rgb : u32 , src_alpha : u32 , dst_alpha : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_check_framebuffer_status_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checkFramebufferStatus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/checkFramebufferStatus)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn check_framebuffer_status ( & self , target : u32 ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_check_framebuffer_status_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_check_framebuffer_status_WebGL2RenderingContext ( self_ , target ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checkFramebufferStatus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/checkFramebufferStatus)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn check_framebuffer_status ( & self , target : u32 ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clear)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear ( & self , mask : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mask : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mask = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mask , & mut __stack ) ; __widl_f_clear_WebGL2RenderingContext ( self_ , mask ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clear)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear ( & self , mask : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_color_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearColor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearColor)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_color ( & self , red : f32 , green : f32 , blue : f32 , alpha : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_color_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , red : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , green : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blue : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alpha : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let red = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( red , & mut __stack ) ; let green = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( green , & mut __stack ) ; let blue = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blue , & mut __stack ) ; let alpha = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alpha , & mut __stack ) ; __widl_f_clear_color_WebGL2RenderingContext ( self_ , red , green , blue , alpha ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearColor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearColor)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_color ( & self , red : f32 , green : f32 , blue : f32 , alpha : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_depth_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearDepth()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearDepth)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_depth ( & self , depth : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_depth_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let depth = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; __widl_f_clear_depth_WebGL2RenderingContext ( self_ , depth ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearDepth()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearDepth)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_depth ( & self , depth : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_stencil_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearStencil()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearStencil)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_stencil ( & self , s : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_stencil_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , s : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let s = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( s , & mut __stack ) ; __widl_f_clear_stencil_WebGL2RenderingContext ( self_ , s ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearStencil()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/clearStencil)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn clear_stencil ( & self , s : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_color_mask_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `colorMask()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/colorMask)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn color_mask ( & self , red : bool , green : bool , blue : bool , alpha : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_color_mask_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , red : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , green : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blue : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alpha : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let red = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( red , & mut __stack ) ; let green = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( green , & mut __stack ) ; let blue = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blue , & mut __stack ) ; let alpha = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alpha , & mut __stack ) ; __widl_f_color_mask_WebGL2RenderingContext ( self_ , red , green , blue , alpha ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `colorMask()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/colorMask)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn color_mask ( & self , red : bool , green : bool , blue : bool , alpha : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compile_shader_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compileShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compileShader)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn compile_shader ( & self , shader : & WebGlShader ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compile_shader_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_compile_shader_WebGL2RenderingContext ( self_ , shader ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compileShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/compileShader)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn compile_shader ( & self , shader : & WebGlShader ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_tex_image_2d_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_tex_image_2d ( & self , target : u32 , level : i32 , internalformat : u32 , x : i32 , y : i32 , width : i32 , height : i32 , border : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_tex_image_2d_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; __widl_f_copy_tex_image_2d_WebGL2RenderingContext ( self_ , target , level , internalformat , x , y , width , height , border ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_tex_image_2d ( & self , target : u32 , level : i32 , internalformat : u32 , x : i32 , y : i32 , width : i32 , height : i32 , border : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_tex_sub_image_2d_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_tex_sub_image_2d ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , x : i32 , y : i32 , width : i32 , height : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_tex_sub_image_2d_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_copy_tex_sub_image_2d_WebGL2RenderingContext ( self_ , target , level , xoffset , yoffset , x , y , width , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/copyTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn copy_tex_sub_image_2d ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , x : i32 , y : i32 , width : i32 , height : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_buffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlBuffer > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createBuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn create_buffer ( & self , ) -> Option < WebGlBuffer > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_buffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_buffer_WebGL2RenderingContext ( self_ ) } ; < Option < WebGlBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createBuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn create_buffer ( & self , ) -> Option < WebGlBuffer > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_framebuffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlFramebuffer > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*" ] pub fn create_framebuffer ( & self , ) -> Option < WebGlFramebuffer > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_framebuffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlFramebuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_framebuffer_WebGL2RenderingContext ( self_ ) } ; < Option < WebGlFramebuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*" ] pub fn create_framebuffer ( & self , ) -> Option < WebGlFramebuffer > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_program_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlProgram > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createProgram)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn create_program ( & self , ) -> Option < WebGlProgram > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_program_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlProgram > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_program_WebGL2RenderingContext ( self_ ) } ; < Option < WebGlProgram > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createProgram)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn create_program ( & self , ) -> Option < WebGlProgram > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_renderbuffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlRenderbuffer > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] pub fn create_renderbuffer ( & self , ) -> Option < WebGlRenderbuffer > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_renderbuffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlRenderbuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_renderbuffer_WebGL2RenderingContext ( self_ ) } ; < Option < WebGlRenderbuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] pub fn create_renderbuffer ( & self , ) -> Option < WebGlRenderbuffer > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_shader_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < WebGlShader > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createShader)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn create_shader ( & self , type_ : u32 ) -> Option < WebGlShader > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_shader_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlShader > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_create_shader_WebGL2RenderingContext ( self_ , type_ ) } ; < Option < WebGlShader > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createShader)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn create_shader ( & self , type_ : u32 ) -> Option < WebGlShader > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_texture_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlTexture > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTexture)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] pub fn create_texture ( & self , ) -> Option < WebGlTexture > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_texture_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlTexture > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_texture_WebGL2RenderingContext ( self_ ) } ; < Option < WebGlTexture > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/createTexture)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] pub fn create_texture ( & self , ) -> Option < WebGlTexture > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cull_face_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cullFace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/cullFace)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn cull_face ( & self , mode : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cull_face_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; __widl_f_cull_face_WebGL2RenderingContext ( self_ , mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cullFace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/cullFace)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn cull_face ( & self , mode : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_buffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlBuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteBuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn delete_buffer ( & self , buffer : Option < & WebGlBuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_buffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; __widl_f_delete_buffer_WebGL2RenderingContext ( self_ , buffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteBuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn delete_buffer ( & self , buffer : Option < & WebGlBuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_framebuffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlFramebuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*" ] pub fn delete_framebuffer ( & self , framebuffer : Option < & WebGlFramebuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_framebuffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , framebuffer : < Option < & WebGlFramebuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let framebuffer = < Option < & WebGlFramebuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( framebuffer , & mut __stack ) ; __widl_f_delete_framebuffer_WebGL2RenderingContext ( self_ , framebuffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*" ] pub fn delete_framebuffer ( & self , framebuffer : Option < & WebGlFramebuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_program_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlProgram > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteProgram)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn delete_program ( & self , program : Option < & WebGlProgram > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_program_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < Option < & WebGlProgram > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < Option < & WebGlProgram > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; __widl_f_delete_program_WebGL2RenderingContext ( self_ , program ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteProgram)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn delete_program ( & self , program : Option < & WebGlProgram > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_renderbuffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlRenderbuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] pub fn delete_renderbuffer ( & self , renderbuffer : Option < & WebGlRenderbuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_renderbuffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , renderbuffer : < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let renderbuffer = < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( renderbuffer , & mut __stack ) ; __widl_f_delete_renderbuffer_WebGL2RenderingContext ( self_ , renderbuffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] pub fn delete_renderbuffer ( & self , renderbuffer : Option < & WebGlRenderbuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_shader_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlShader > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteShader)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn delete_shader ( & self , shader : Option < & WebGlShader > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_shader_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < Option < & WebGlShader > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < Option < & WebGlShader > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_delete_shader_WebGL2RenderingContext ( self_ , shader ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteShader)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn delete_shader ( & self , shader : Option < & WebGlShader > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_texture_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlTexture > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTexture)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] pub fn delete_texture ( & self , texture : Option < & WebGlTexture > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_texture_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , texture : < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let texture = < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( texture , & mut __stack ) ; __widl_f_delete_texture_WebGL2RenderingContext ( self_ , texture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/deleteTexture)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] pub fn delete_texture ( & self , texture : Option < & WebGlTexture > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_depth_func_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `depthFunc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthFunc)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn depth_func ( & self , func : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_depth_func_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , func : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let func = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( func , & mut __stack ) ; __widl_f_depth_func_WebGL2RenderingContext ( self_ , func ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `depthFunc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthFunc)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn depth_func ( & self , func : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_depth_mask_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `depthMask()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthMask)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn depth_mask ( & self , flag : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_depth_mask_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , flag : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let flag = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( flag , & mut __stack ) ; __widl_f_depth_mask_WebGL2RenderingContext ( self_ , flag ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `depthMask()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthMask)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn depth_mask ( & self , flag : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_depth_range_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `depthRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthRange)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn depth_range ( & self , z_near : f32 , z_far : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_depth_range_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z_near : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z_far : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let z_near = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z_near , & mut __stack ) ; let z_far = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z_far , & mut __stack ) ; __widl_f_depth_range_WebGL2RenderingContext ( self_ , z_near , z_far ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `depthRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/depthRange)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn depth_range ( & self , z_near : f32 , z_far : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_detach_shader_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `detachShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/detachShader)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*" ] pub fn detach_shader ( & self , program : & WebGlProgram , shader : & WebGlShader ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_detach_shader_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_detach_shader_WebGL2RenderingContext ( self_ , program , shader ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `detachShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/detachShader)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlShader`*" ] pub fn detach_shader ( & self , program : & WebGlProgram , shader : & WebGlShader ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disable_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disable()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disable)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn disable ( & self , cap : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disable_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cap : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cap = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cap , & mut __stack ) ; __widl_f_disable_WebGL2RenderingContext ( self_ , cap ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disable()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disable)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn disable ( & self , cap : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disable_vertex_attrib_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disableVertexAttribArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disableVertexAttribArray)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn disable_vertex_attrib_array ( & self , index : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disable_vertex_attrib_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_disable_vertex_attrib_array_WebGL2RenderingContext ( self_ , index ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disableVertexAttribArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/disableVertexAttribArray)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn disable_vertex_attrib_array ( & self , index : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_arrays_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawArrays()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArrays)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_arrays ( & self , mode : u32 , first : i32 , count : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_arrays_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , first : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; let first = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( first , & mut __stack ) ; let count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; __widl_f_draw_arrays_WebGL2RenderingContext ( self_ , mode , first , count ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawArrays()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawArrays)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_arrays ( & self , mode : u32 , first : i32 , count : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_elements_with_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawElements()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_elements_with_i32 ( & self , mode : u32 , count : i32 , type_ : u32 , offset : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_elements_with_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; let count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_draw_elements_with_i32_WebGL2RenderingContext ( self_ , mode , count , type_ , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawElements()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_elements_with_i32 ( & self , mode : u32 , count : i32 , type_ : u32 , offset : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_elements_with_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawElements()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_elements_with_f64 ( & self , mode : u32 , count : i32 , type_ : u32 , offset : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_elements_with_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; let count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_draw_elements_with_f64_WebGL2RenderingContext ( self_ , mode , count , type_ , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawElements()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawElements)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn draw_elements_with_f64 ( & self , mode : u32 , count : i32 , type_ : u32 , offset : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_enable_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enable()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enable)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn enable ( & self , cap : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_enable_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cap : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cap = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cap , & mut __stack ) ; __widl_f_enable_WebGL2RenderingContext ( self_ , cap ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enable()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enable)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn enable ( & self , cap : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_enable_vertex_attrib_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enableVertexAttribArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enableVertexAttribArray)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn enable_vertex_attrib_array ( & self , index : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_enable_vertex_attrib_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_enable_vertex_attrib_array_WebGL2RenderingContext ( self_ , index ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enableVertexAttribArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/enableVertexAttribArray)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn enable_vertex_attrib_array ( & self , index : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_finish_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `finish()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/finish)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn finish ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_finish_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_finish_WebGL2RenderingContext ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `finish()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/finish)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn finish ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_flush_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `flush()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/flush)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn flush ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_flush_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_flush_WebGL2RenderingContext ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `flush()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/flush)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn flush ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_framebuffer_renderbuffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlRenderbuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `framebufferRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] pub fn framebuffer_renderbuffer ( & self , target : u32 , attachment : u32 , renderbuffertarget : u32 , renderbuffer : Option < & WebGlRenderbuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_framebuffer_renderbuffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , attachment : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , renderbuffertarget : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , renderbuffer : < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let attachment = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( attachment , & mut __stack ) ; let renderbuffertarget = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( renderbuffertarget , & mut __stack ) ; let renderbuffer = < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( renderbuffer , & mut __stack ) ; __widl_f_framebuffer_renderbuffer_WebGL2RenderingContext ( self_ , target , attachment , renderbuffertarget , renderbuffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `framebufferRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] pub fn framebuffer_renderbuffer ( & self , target : u32 , attachment : u32 , renderbuffertarget : u32 , renderbuffer : Option < & WebGlRenderbuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_framebuffer_texture_2d_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlTexture > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `framebufferTexture2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTexture2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] pub fn framebuffer_texture_2d ( & self , target : u32 , attachment : u32 , textarget : u32 , texture : Option < & WebGlTexture > , level : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_framebuffer_texture_2d_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , attachment : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , textarget : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , texture : < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let attachment = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( attachment , & mut __stack ) ; let textarget = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( textarget , & mut __stack ) ; let texture = < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( texture , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; __widl_f_framebuffer_texture_2d_WebGL2RenderingContext ( self_ , target , attachment , textarget , texture , level ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `framebufferTexture2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/framebufferTexture2D)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] pub fn framebuffer_texture_2d ( & self , target : u32 , attachment : u32 , textarget : u32 , texture : Option < & WebGlTexture > , level : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_front_face_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frontFace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/frontFace)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn front_face ( & self , mode : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_front_face_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; __widl_f_front_face_WebGL2RenderingContext ( self_ , mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frontFace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/frontFace)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn front_face ( & self , mode : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_generate_mipmap_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `generateMipmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/generateMipmap)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn generate_mipmap ( & self , target : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_generate_mipmap_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_generate_mipmap_WebGL2RenderingContext ( self_ , target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `generateMipmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/generateMipmap)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn generate_mipmap ( & self , target : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_active_attrib_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < WebGlActiveInfo > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getActiveAttrib()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveAttrib)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*" ] pub fn get_active_attrib ( & self , program : & WebGlProgram , index : u32 ) -> Option < WebGlActiveInfo > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_active_attrib_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlActiveInfo > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_active_attrib_WebGL2RenderingContext ( self_ , program , index ) } ; < Option < WebGlActiveInfo > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getActiveAttrib()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveAttrib)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*" ] pub fn get_active_attrib ( & self , program : & WebGlProgram , index : u32 ) -> Option < WebGlActiveInfo > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_active_uniform_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < WebGlActiveInfo > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getActiveUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniform)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*" ] pub fn get_active_uniform ( & self , program : & WebGlProgram , index : u32 ) -> Option < WebGlActiveInfo > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_active_uniform_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlActiveInfo > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_active_uniform_WebGL2RenderingContext ( self_ , program , index ) } ; < Option < WebGlActiveInfo > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getActiveUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getActiveUniform)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlActiveInfo`, `WebGlProgram`*" ] pub fn get_active_uniform ( & self , program : & WebGlProgram , index : u32 ) -> Option < WebGlActiveInfo > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_attrib_location_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAttribLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttribLocation)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_attrib_location ( & self , program : & WebGlProgram , name : & str ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_attrib_location_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_attrib_location_WebGL2RenderingContext ( self_ , program , name ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAttribLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getAttribLocation)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_attrib_location ( & self , program : & WebGlProgram , name : & str ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_parameter_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_parameter ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_parameter_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_buffer_parameter_WebGL2RenderingContext ( self_ , target , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getBufferParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_buffer_parameter ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_context_attributes_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlContextAttributes > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getContextAttributes()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getContextAttributes)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlContextAttributes`*" ] pub fn get_context_attributes ( & self , ) -> Option < WebGlContextAttributes > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_context_attributes_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlContextAttributes > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_context_attributes_WebGL2RenderingContext ( self_ ) } ; < Option < WebGlContextAttributes > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getContextAttributes()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getContextAttributes)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlContextAttributes`*" ] pub fn get_context_attributes ( & self , ) -> Option < WebGlContextAttributes > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_error_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getError()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getError)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_error ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_error_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_error_WebGL2RenderingContext ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getError()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getError)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_error ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_extension_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getExtension()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getExtension)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_extension ( & self , name : & str ) -> Result < Option < :: js_sys :: Object > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_extension_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_extension_WebGL2RenderingContext ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getExtension()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getExtension)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_extension ( & self , name : & str ) -> Result < Option < :: js_sys :: Object > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_framebuffer_attachment_parameter_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFramebufferAttachmentParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFramebufferAttachmentParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_framebuffer_attachment_parameter ( & self , target : u32 , attachment : u32 , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_framebuffer_attachment_parameter_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , attachment : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let attachment = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( attachment , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_framebuffer_attachment_parameter_WebGL2RenderingContext ( self_ , target , attachment , pname , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFramebufferAttachmentParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getFramebufferAttachmentParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_framebuffer_attachment_parameter ( & self , target : u32 , attachment : u32 , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_parameter_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_parameter ( & self , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_parameter_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_parameter_WebGL2RenderingContext ( self_ , pname , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_parameter ( & self , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_program_info_log_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getProgramInfoLog()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramInfoLog)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_program_info_log ( & self , program : & WebGlProgram ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_program_info_log_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; __widl_f_get_program_info_log_WebGL2RenderingContext ( self_ , program ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getProgramInfoLog()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramInfoLog)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_program_info_log ( & self , program : & WebGlProgram ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_program_parameter_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getProgramParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_program_parameter ( & self , program : & WebGlProgram , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_program_parameter_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_program_parameter_WebGL2RenderingContext ( self_ , program , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getProgramParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getProgramParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn get_program_parameter ( & self , program : & WebGlProgram , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_renderbuffer_parameter_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getRenderbufferParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getRenderbufferParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_renderbuffer_parameter ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_renderbuffer_parameter_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_renderbuffer_parameter_WebGL2RenderingContext ( self_ , target , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getRenderbufferParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getRenderbufferParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_renderbuffer_parameter ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_shader_info_log_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getShaderInfoLog()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderInfoLog)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn get_shader_info_log ( & self , shader : & WebGlShader ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_shader_info_log_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_get_shader_info_log_WebGL2RenderingContext ( self_ , shader ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getShaderInfoLog()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderInfoLog)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn get_shader_info_log ( & self , shader : & WebGlShader ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_shader_parameter_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getShaderParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn get_shader_parameter ( & self , shader : & WebGlShader , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_shader_parameter_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_shader_parameter_WebGL2RenderingContext ( self_ , shader , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getShaderParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn get_shader_parameter ( & self , shader : & WebGlShader , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_shader_precision_format_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < WebGlShaderPrecisionFormat > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getShaderPrecisionFormat()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderPrecisionFormat)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShaderPrecisionFormat`*" ] pub fn get_shader_precision_format ( & self , shadertype : u32 , precisiontype : u32 ) -> Option < WebGlShaderPrecisionFormat > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_shader_precision_format_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shadertype : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , precisiontype : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlShaderPrecisionFormat > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shadertype = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shadertype , & mut __stack ) ; let precisiontype = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( precisiontype , & mut __stack ) ; __widl_f_get_shader_precision_format_WebGL2RenderingContext ( self_ , shadertype , precisiontype ) } ; < Option < WebGlShaderPrecisionFormat > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getShaderPrecisionFormat()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderPrecisionFormat)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShaderPrecisionFormat`*" ] pub fn get_shader_precision_format ( & self , shadertype : u32 , precisiontype : u32 ) -> Option < WebGlShaderPrecisionFormat > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_shader_source_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getShaderSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderSource)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn get_shader_source ( & self , shader : & WebGlShader ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_shader_source_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_get_shader_source_WebGL2RenderingContext ( self_ , shader ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getShaderSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getShaderSource)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn get_shader_source ( & self , shader : & WebGlShader ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_tex_parameter_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getTexParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTexParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_tex_parameter ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_tex_parameter_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_tex_parameter_WebGL2RenderingContext ( self_ , target , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getTexParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getTexParameter)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_tex_parameter ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_uniform_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < & WebGlUniformLocation as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniform)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*" ] pub fn get_uniform ( & self , program : & WebGlProgram , location : & WebGlUniformLocation ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_uniform_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < & WebGlUniformLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let location = < & WebGlUniformLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; __widl_f_get_uniform_WebGL2RenderingContext ( self_ , program , location ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniform)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*" ] pub fn get_uniform ( & self , program : & WebGlProgram , location : & WebGlUniformLocation ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_uniform_location_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getUniformLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformLocation)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*" ] pub fn get_uniform_location ( & self , program : & WebGlProgram , name : & str ) -> Option < WebGlUniformLocation > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_uniform_location_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlUniformLocation > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_uniform_location_WebGL2RenderingContext ( self_ , program , name ) } ; < Option < WebGlUniformLocation > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getUniformLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getUniformLocation)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`, `WebGlUniformLocation`*" ] pub fn get_uniform_location ( & self , program : & WebGlProgram , name : & str ) -> Option < WebGlUniformLocation > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_vertex_attrib_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getVertexAttrib()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttrib)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_vertex_attrib ( & self , index : u32 , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_vertex_attrib_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_vertex_attrib_WebGL2RenderingContext ( self_ , index , pname , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getVertexAttrib()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttrib)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_vertex_attrib ( & self , index : u32 , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_vertex_attrib_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getVertexAttribOffset()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttribOffset)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_vertex_attrib_offset ( & self , index : u32 , pname : u32 ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_vertex_attrib_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_vertex_attrib_offset_WebGL2RenderingContext ( self_ , index , pname ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getVertexAttribOffset()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/getVertexAttribOffset)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn get_vertex_attrib_offset ( & self , index : u32 , pname : u32 ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hint_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/hint)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn hint ( & self , target : u32 , mode : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hint_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; __widl_f_hint_WebGL2RenderingContext ( self_ , target , mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/hint)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn hint ( & self , target : u32 , mode : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_buffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlBuffer > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isBuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn is_buffer ( & self , buffer : Option < & WebGlBuffer > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_buffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; __widl_f_is_buffer_WebGL2RenderingContext ( self_ , buffer ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isBuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlBuffer`*" ] pub fn is_buffer ( & self , buffer : Option < & WebGlBuffer > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_context_lost_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isContextLost()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isContextLost)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn is_context_lost ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_context_lost_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_context_lost_WebGL2RenderingContext ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isContextLost()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isContextLost)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn is_context_lost ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_enabled_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isEnabled)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn is_enabled ( & self , cap : u32 ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_enabled_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cap : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cap = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cap , & mut __stack ) ; __widl_f_is_enabled_WebGL2RenderingContext ( self_ , cap ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isEnabled)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn is_enabled ( & self , cap : u32 ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_framebuffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlFramebuffer > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*" ] pub fn is_framebuffer ( & self , framebuffer : Option < & WebGlFramebuffer > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_framebuffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , framebuffer : < Option < & WebGlFramebuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let framebuffer = < Option < & WebGlFramebuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( framebuffer , & mut __stack ) ; __widl_f_is_framebuffer_WebGL2RenderingContext ( self_ , framebuffer ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlFramebuffer`*" ] pub fn is_framebuffer ( & self , framebuffer : Option < & WebGlFramebuffer > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_program_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlProgram > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isProgram)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn is_program ( & self , program : Option < & WebGlProgram > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_program_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < Option < & WebGlProgram > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < Option < & WebGlProgram > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; __widl_f_is_program_WebGL2RenderingContext ( self_ , program ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isProgram)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn is_program ( & self , program : Option < & WebGlProgram > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_renderbuffer_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlRenderbuffer > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] pub fn is_renderbuffer ( & self , renderbuffer : Option < & WebGlRenderbuffer > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_renderbuffer_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , renderbuffer : < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let renderbuffer = < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( renderbuffer , & mut __stack ) ; __widl_f_is_renderbuffer_WebGL2RenderingContext ( self_ , renderbuffer ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlRenderbuffer`*" ] pub fn is_renderbuffer ( & self , renderbuffer : Option < & WebGlRenderbuffer > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_shader_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlShader > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isShader)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn is_shader ( & self , shader : Option < & WebGlShader > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_shader_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < Option < & WebGlShader > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < Option < & WebGlShader > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_is_shader_WebGL2RenderingContext ( self_ , shader ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isShader)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn is_shader ( & self , shader : Option < & WebGlShader > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_texture_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlTexture > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTexture)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] pub fn is_texture ( & self , texture : Option < & WebGlTexture > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_texture_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , texture : < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let texture = < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( texture , & mut __stack ) ; __widl_f_is_texture_WebGL2RenderingContext ( self_ , texture ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/isTexture)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlTexture`*" ] pub fn is_texture ( & self , texture : Option < & WebGlTexture > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_line_width_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineWidth()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/lineWidth)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn line_width ( & self , width : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_line_width_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_line_width_WebGL2RenderingContext ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineWidth()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/lineWidth)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn line_width ( & self , width : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_link_program_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `linkProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/linkProgram)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn link_program ( & self , program : & WebGlProgram ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_link_program_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; __widl_f_link_program_WebGL2RenderingContext ( self_ , program ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `linkProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/linkProgram)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn link_program ( & self , program : & WebGlProgram ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pixel_storei_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pixelStorei()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pixelStorei)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn pixel_storei ( & self , pname : u32 , param : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pixel_storei_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , param : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; let param = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( param , & mut __stack ) ; __widl_f_pixel_storei_WebGL2RenderingContext ( self_ , pname , param ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pixelStorei()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/pixelStorei)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn pixel_storei ( & self , pname : u32 , param : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_polygon_offset_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `polygonOffset()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/polygonOffset)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn polygon_offset ( & self , factor : f32 , units : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_polygon_offset_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , factor : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , units : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let factor = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( factor , & mut __stack ) ; let units = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( units , & mut __stack ) ; __widl_f_polygon_offset_WebGL2RenderingContext ( self_ , factor , units ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `polygonOffset()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/polygonOffset)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn polygon_offset ( & self , factor : f32 , units : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_renderbuffer_storage_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `renderbufferStorage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorage)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn renderbuffer_storage ( & self , target : u32 , internalformat : u32 , width : i32 , height : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_renderbuffer_storage_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_renderbuffer_storage_WebGL2RenderingContext ( self_ , target , internalformat , width , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `renderbufferStorage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/renderbufferStorage)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn renderbuffer_storage ( & self , target : u32 , internalformat : u32 , width : i32 , height : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sample_coverage_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sampleCoverage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/sampleCoverage)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn sample_coverage ( & self , value : f32 , invert : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sample_coverage_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , invert : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; let invert = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( invert , & mut __stack ) ; __widl_f_sample_coverage_WebGL2RenderingContext ( self_ , value , invert ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sampleCoverage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/sampleCoverage)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn sample_coverage ( & self , value : f32 , invert : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scissor_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scissor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/scissor)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn scissor ( & self , x : i32 , y : i32 , width : i32 , height : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scissor_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_scissor_WebGL2RenderingContext ( self_ , x , y , width , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scissor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/scissor)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn scissor ( & self , x : i32 , y : i32 , width : i32 , height : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shader_source_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shaderSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/shaderSource)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn shader_source ( & self , shader : & WebGlShader , source : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shader_source_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; let source = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_shader_source_WebGL2RenderingContext ( self_ , shader , source ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shaderSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/shaderSource)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlShader`*" ] pub fn shader_source ( & self , shader : & WebGlShader , source : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stencil_func_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stencilFunc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFunc)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn stencil_func ( & self , func : u32 , ref_ : i32 , mask : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stencil_func_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , func : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ref_ : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mask : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let func = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( func , & mut __stack ) ; let ref_ = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ref_ , & mut __stack ) ; let mask = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mask , & mut __stack ) ; __widl_f_stencil_func_WebGL2RenderingContext ( self_ , func , ref_ , mask ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stencilFunc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFunc)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn stencil_func ( & self , func : u32 , ref_ : i32 , mask : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stencil_func_separate_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stencilFuncSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFuncSeparate)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn stencil_func_separate ( & self , face : u32 , func : u32 , ref_ : i32 , mask : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stencil_func_separate_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , face : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , func : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ref_ : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mask : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let face = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( face , & mut __stack ) ; let func = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( func , & mut __stack ) ; let ref_ = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ref_ , & mut __stack ) ; let mask = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mask , & mut __stack ) ; __widl_f_stencil_func_separate_WebGL2RenderingContext ( self_ , face , func , ref_ , mask ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stencilFuncSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilFuncSeparate)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn stencil_func_separate ( & self , face : u32 , func : u32 , ref_ : i32 , mask : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stencil_mask_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stencilMask()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMask)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn stencil_mask ( & self , mask : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stencil_mask_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mask : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mask = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mask , & mut __stack ) ; __widl_f_stencil_mask_WebGL2RenderingContext ( self_ , mask ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stencilMask()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMask)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn stencil_mask ( & self , mask : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stencil_mask_separate_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stencilMaskSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMaskSeparate)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn stencil_mask_separate ( & self , face : u32 , mask : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stencil_mask_separate_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , face : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mask : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let face = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( face , & mut __stack ) ; let mask = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mask , & mut __stack ) ; __widl_f_stencil_mask_separate_WebGL2RenderingContext ( self_ , face , mask ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stencilMaskSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilMaskSeparate)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn stencil_mask_separate ( & self , face : u32 , mask : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stencil_op_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stencilOp()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOp)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn stencil_op ( & self , fail : u32 , zfail : u32 , zpass : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stencil_op_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , fail : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zfail : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zpass : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let fail = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( fail , & mut __stack ) ; let zfail = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zfail , & mut __stack ) ; let zpass = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zpass , & mut __stack ) ; __widl_f_stencil_op_WebGL2RenderingContext ( self_ , fail , zfail , zpass ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stencilOp()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOp)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn stencil_op ( & self , fail : u32 , zfail : u32 , zpass : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stencil_op_separate_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stencilOpSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOpSeparate)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn stencil_op_separate ( & self , face : u32 , fail : u32 , zfail : u32 , zpass : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stencil_op_separate_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , face : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , fail : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zfail : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zpass : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let face = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( face , & mut __stack ) ; let fail = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( fail , & mut __stack ) ; let zfail = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zfail , & mut __stack ) ; let zpass = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zpass , & mut __stack ) ; __widl_f_stencil_op_separate_WebGL2RenderingContext ( self_ , face , fail , zfail , zpass ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stencilOpSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/stencilOpSeparate)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn stencil_op_separate ( & self , face : u32 , fail : u32 , zfail : u32 , zpass : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_parameterf_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texParameterf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameterf)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_parameterf ( & self , target : u32 , pname : u32 , param : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_parameterf_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , param : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; let param = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( param , & mut __stack ) ; __widl_f_tex_parameterf_WebGL2RenderingContext ( self_ , target , pname , param ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texParameterf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameterf)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_parameterf ( & self , target : u32 , pname : u32 , param : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_parameteri_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texParameteri()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameteri)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_parameteri ( & self , target : u32 , pname : u32 , param : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_parameteri_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , param : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; let param = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( param , & mut __stack ) ; __widl_f_tex_parameteri_WebGL2RenderingContext ( self_ , target , pname , param ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texParameteri()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texParameteri)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn tex_parameteri ( & self , target : u32 , pname : u32 , param : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1f_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1f ( & self , location : Option < & WebGlUniformLocation > , x : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1f_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_uniform1f_WebGL2RenderingContext ( self_ , location , x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1f ( & self , location : Option < & WebGlUniformLocation > , x : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1i_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1i)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1i ( & self , location : Option < & WebGlUniformLocation > , x : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1i_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_uniform1i_WebGL2RenderingContext ( self_ , location , x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform1i)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1i ( & self , location : Option < & WebGlUniformLocation > , x : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2f_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2f ( & self , location : Option < & WebGlUniformLocation > , x : f32 , y : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2f_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_uniform2f_WebGL2RenderingContext ( self_ , location , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2f ( & self , location : Option < & WebGlUniformLocation > , x : f32 , y : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2i_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2i)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2i ( & self , location : Option < & WebGlUniformLocation > , x : i32 , y : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2i_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_uniform2i_WebGL2RenderingContext ( self_ , location , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform2i)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2i ( & self , location : Option < & WebGlUniformLocation > , x : i32 , y : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3f_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3f ( & self , location : Option < & WebGlUniformLocation > , x : f32 , y : f32 , z : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3f_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_uniform3f_WebGL2RenderingContext ( self_ , location , x , y , z ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3f ( & self , location : Option < & WebGlUniformLocation > , x : f32 , y : f32 , z : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3i_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3i)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3i ( & self , location : Option < & WebGlUniformLocation > , x : i32 , y : i32 , z : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3i_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_uniform3i_WebGL2RenderingContext ( self_ , location , x , y , z ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform3i)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3i ( & self , location : Option < & WebGlUniformLocation > , x : i32 , y : i32 , z : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4f_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4f ( & self , location : Option < & WebGlUniformLocation > , x : f32 , y : f32 , z : f32 , w : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4f_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let w = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; __widl_f_uniform4f_WebGL2RenderingContext ( self_ , location , x , y , z , w ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4f ( & self , location : Option < & WebGlUniformLocation > , x : f32 , y : f32 , z : f32 , w : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4i_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4i)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4i ( & self , location : Option < & WebGlUniformLocation > , x : i32 , y : i32 , z : i32 , w : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4i_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let w = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; __widl_f_uniform4i_WebGL2RenderingContext ( self_ , location , x , y , z , w ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/uniform4i)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4i ( & self , location : Option < & WebGlUniformLocation > , x : i32 , y : i32 , z : i32 , w : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_use_program_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlProgram > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `useProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/useProgram)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn use_program ( & self , program : Option < & WebGlProgram > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_use_program_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < Option < & WebGlProgram > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < Option < & WebGlProgram > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; __widl_f_use_program_WebGL2RenderingContext ( self_ , program ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `useProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/useProgram)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn use_program ( & self , program : Option < & WebGlProgram > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validate_program_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validateProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/validateProgram)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn validate_program ( & self , program : & WebGlProgram ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validate_program_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; __widl_f_validate_program_WebGL2RenderingContext ( self_ , program ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validateProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/validateProgram)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`, `WebGlProgram`*" ] pub fn validate_program ( & self , program : & WebGlProgram ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib1f_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib1f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib1f ( & self , indx : u32 , x : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib1f_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_vertex_attrib1f_WebGL2RenderingContext ( self_ , indx , x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib1f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib1f ( & self , indx : u32 , x : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib1fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib1fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib1fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib1fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let values = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; __widl_f_vertex_attrib1fv_with_f32_array_WebGL2RenderingContext ( self_ , indx , values ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib1fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib1fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib1fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib2f_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib2f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib2f ( & self , indx : u32 , x : f32 , y : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib2f_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_vertex_attrib2f_WebGL2RenderingContext ( self_ , indx , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib2f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib2f ( & self , indx : u32 , x : f32 , y : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib2fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib2fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib2fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let values = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; __widl_f_vertex_attrib2fv_with_f32_array_WebGL2RenderingContext ( self_ , indx , values ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib2fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib2fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib3f_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib3f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib3f ( & self , indx : u32 , x : f32 , y : f32 , z : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib3f_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_vertex_attrib3f_WebGL2RenderingContext ( self_ , indx , x , y , z ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib3f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib3f ( & self , indx : u32 , x : f32 , y : f32 , z : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib3fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib3fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib3fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let values = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; __widl_f_vertex_attrib3fv_with_f32_array_WebGL2RenderingContext ( self_ , indx , values ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib3fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib3fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib4f_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib4f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib4f ( & self , indx : u32 , x : f32 , y : f32 , z : f32 , w : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib4f_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let w = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; __widl_f_vertex_attrib4f_WebGL2RenderingContext ( self_ , indx , x , y , z , w ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib4f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4f)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib4f ( & self , indx : u32 , x : f32 , y : f32 , z : f32 , w : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib4fv_with_f32_array_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib4fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib4fv_with_f32_array_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let values = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; __widl_f_vertex_attrib4fv_with_f32_array_WebGL2RenderingContext ( self_ , indx , values ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttrib4fv)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib4fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib_pointer_with_i32_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttribPointer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_pointer_with_i32 ( & self , indx : u32 , size : i32 , type_ : u32 , normalized : bool , stride : i32 , offset : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib_pointer_with_i32_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , normalized : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stride : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let normalized = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( normalized , & mut __stack ) ; let stride = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stride , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_vertex_attrib_pointer_with_i32_WebGL2RenderingContext ( self_ , indx , size , type_ , normalized , stride , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttribPointer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_pointer_with_i32 ( & self , indx : u32 , size : i32 , type_ : u32 , normalized : bool , stride : i32 , offset : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib_pointer_with_f64_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttribPointer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_pointer_with_f64 ( & self , indx : u32 , size : i32 , type_ : u32 , normalized : bool , stride : i32 , offset : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib_pointer_with_f64_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , normalized : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stride : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let normalized = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( normalized , & mut __stack ) ; let stride = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stride , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_vertex_attrib_pointer_with_f64_WebGL2RenderingContext ( self_ , indx , size , type_ , normalized , stride , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttribPointer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/vertexAttribPointer)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn vertex_attrib_pointer_with_f64 ( & self , indx : u32 , size : i32 , type_ : u32 , normalized : bool , stride : i32 , offset : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_viewport_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `viewport()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/viewport)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn viewport ( & self , x : i32 , y : i32 , width : i32 , height : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_viewport_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_viewport_WebGL2RenderingContext ( self_ , x , y , width , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `viewport()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/viewport)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn viewport ( & self , x : i32 , y : i32 , width : i32 , height : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_canvas_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `canvas` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/canvas)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn canvas ( & self , ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_canvas_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_canvas_WebGL2RenderingContext ( self_ ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `canvas` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/canvas)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn canvas ( & self , ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_drawing_buffer_width_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawingBufferWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferWidth)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn drawing_buffer_width ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_drawing_buffer_width_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_drawing_buffer_width_WebGL2RenderingContext ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawingBufferWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferWidth)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn drawing_buffer_width ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_drawing_buffer_height_WebGL2RenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGl2RenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WebGl2RenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawingBufferHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferHeight)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn drawing_buffer_height ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_drawing_buffer_height_WebGL2RenderingContext ( self_ : < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGl2RenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_drawing_buffer_height_WebGL2RenderingContext ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawingBufferHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawingBufferHeight)\n\n*This API requires the following crate features to be activated: `WebGl2RenderingContext`*" ] pub fn drawing_buffer_height ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLActiveInfo` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo)\n\n*This API requires the following crate features to be activated: `WebGlActiveInfo`*" ] # [ repr ( transparent ) ] pub struct WebGlActiveInfo { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlActiveInfo : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlActiveInfo { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlActiveInfo { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlActiveInfo { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlActiveInfo { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlActiveInfo { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlActiveInfo { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlActiveInfo { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlActiveInfo { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlActiveInfo { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlActiveInfo > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlActiveInfo { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlActiveInfo { # [ inline ] fn from ( obj : JsValue ) -> WebGlActiveInfo { WebGlActiveInfo { obj } } } impl AsRef < JsValue > for WebGlActiveInfo { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlActiveInfo > for JsValue { # [ inline ] fn from ( obj : WebGlActiveInfo ) -> JsValue { obj . obj } } impl JsCast for WebGlActiveInfo { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLActiveInfo ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLActiveInfo ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlActiveInfo { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlActiveInfo ) } } } ( ) } ; impl core :: ops :: Deref for WebGlActiveInfo { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlActiveInfo > for Object { # [ inline ] fn from ( obj : WebGlActiveInfo ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlActiveInfo { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_size_WebGLActiveInfo ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlActiveInfo as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WebGlActiveInfo { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/size)\n\n*This API requires the following crate features to be activated: `WebGlActiveInfo`*" ] pub fn size ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_size_WebGLActiveInfo ( self_ : < & WebGlActiveInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlActiveInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_size_WebGLActiveInfo ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `size` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/size)\n\n*This API requires the following crate features to be activated: `WebGlActiveInfo`*" ] pub fn size ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_WebGLActiveInfo ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlActiveInfo as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl WebGlActiveInfo { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/type)\n\n*This API requires the following crate features to be activated: `WebGlActiveInfo`*" ] pub fn type_ ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_WebGLActiveInfo ( self_ : < & WebGlActiveInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlActiveInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_WebGLActiveInfo ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/type)\n\n*This API requires the following crate features to be activated: `WebGlActiveInfo`*" ] pub fn type_ ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_WebGLActiveInfo ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlActiveInfo as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WebGlActiveInfo { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/name)\n\n*This API requires the following crate features to be activated: `WebGlActiveInfo`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_WebGLActiveInfo ( self_ : < & WebGlActiveInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlActiveInfo as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_WebGLActiveInfo ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/name)\n\n*This API requires the following crate features to be activated: `WebGlActiveInfo`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLBuffer` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLBuffer)\n\n*This API requires the following crate features to be activated: `WebGlBuffer`*" ] # [ repr ( transparent ) ] pub struct WebGlBuffer { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlBuffer : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlBuffer { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlBuffer { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlBuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlBuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlBuffer { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlBuffer { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlBuffer { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlBuffer { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlBuffer { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlBuffer > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlBuffer { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlBuffer { # [ inline ] fn from ( obj : JsValue ) -> WebGlBuffer { WebGlBuffer { obj } } } impl AsRef < JsValue > for WebGlBuffer { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlBuffer > for JsValue { # [ inline ] fn from ( obj : WebGlBuffer ) -> JsValue { obj . obj } } impl JsCast for WebGlBuffer { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLBuffer ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLBuffer ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlBuffer { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlBuffer ) } } } ( ) } ; impl core :: ops :: Deref for WebGlBuffer { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlBuffer > for Object { # [ inline ] fn from ( obj : WebGlBuffer ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlBuffer { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLContextEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLContextEvent)\n\n*This API requires the following crate features to be activated: `WebGlContextEvent`*" ] # [ repr ( transparent ) ] pub struct WebGlContextEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlContextEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlContextEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlContextEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlContextEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlContextEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlContextEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlContextEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlContextEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlContextEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlContextEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlContextEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlContextEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlContextEvent { # [ inline ] fn from ( obj : JsValue ) -> WebGlContextEvent { WebGlContextEvent { obj } } } impl AsRef < JsValue > for WebGlContextEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlContextEvent > for JsValue { # [ inline ] fn from ( obj : WebGlContextEvent ) -> JsValue { obj . obj } } impl JsCast for WebGlContextEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLContextEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLContextEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlContextEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlContextEvent ) } } } ( ) } ; impl core :: ops :: Deref for WebGlContextEvent { type Target = Event ; # [ inline ] fn deref ( & self ) -> & Event { self . as_ref ( ) } } impl From < WebGlContextEvent > for Event { # [ inline ] fn from ( obj : WebGlContextEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for WebGlContextEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < WebGlContextEvent > for Object { # [ inline ] fn from ( obj : WebGlContextEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlContextEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_WebGLContextEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < WebGlContextEvent as WasmDescribe > :: describe ( ) ; } impl WebGlContextEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new WebGLContextEvent(..)` constructor, creating a new instance of `WebGLContextEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLContextEvent/WebGLContextEvent)\n\n*This API requires the following crate features to be activated: `WebGlContextEvent`*" ] pub fn new ( type_ : & str ) -> Result < WebGlContextEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_WebGLContextEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WebGlContextEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_WebGLContextEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WebGlContextEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new WebGLContextEvent(..)` constructor, creating a new instance of `WebGLContextEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLContextEvent/WebGLContextEvent)\n\n*This API requires the following crate features to be activated: `WebGlContextEvent`*" ] pub fn new ( type_ : & str ) -> Result < WebGlContextEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_WebGLContextEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & WebGlContextEventInit as WasmDescribe > :: describe ( ) ; < WebGlContextEvent as WasmDescribe > :: describe ( ) ; } impl WebGlContextEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new WebGLContextEvent(..)` constructor, creating a new instance of `WebGLContextEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLContextEvent/WebGLContextEvent)\n\n*This API requires the following crate features to be activated: `WebGlContextEvent`, `WebGlContextEventInit`*" ] pub fn new_with_event_init ( type_ : & str , event_init : & WebGlContextEventInit ) -> Result < WebGlContextEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_WebGLContextEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init : < & WebGlContextEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WebGlContextEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init = < & WebGlContextEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init , & mut __stack ) ; __widl_f_new_with_event_init_WebGLContextEvent ( type_ , event_init , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WebGlContextEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new WebGLContextEvent(..)` constructor, creating a new instance of `WebGLContextEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLContextEvent/WebGLContextEvent)\n\n*This API requires the following crate features to be activated: `WebGlContextEvent`, `WebGlContextEventInit`*" ] pub fn new_with_event_init ( type_ : & str , event_init : & WebGlContextEventInit ) -> Result < WebGlContextEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_status_message_WebGLContextEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlContextEvent as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WebGlContextEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `statusMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLContextEvent/statusMessage)\n\n*This API requires the following crate features to be activated: `WebGlContextEvent`*" ] pub fn status_message ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_status_message_WebGLContextEvent ( self_ : < & WebGlContextEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlContextEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_status_message_WebGLContextEvent ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `statusMessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLContextEvent/statusMessage)\n\n*This API requires the following crate features to be activated: `WebGlContextEvent`*" ] pub fn status_message ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLFramebuffer` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGlFramebuffer`*" ] # [ repr ( transparent ) ] pub struct WebGlFramebuffer { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlFramebuffer : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlFramebuffer { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlFramebuffer { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlFramebuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlFramebuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlFramebuffer { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlFramebuffer { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlFramebuffer { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlFramebuffer { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlFramebuffer { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlFramebuffer > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlFramebuffer { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlFramebuffer { # [ inline ] fn from ( obj : JsValue ) -> WebGlFramebuffer { WebGlFramebuffer { obj } } } impl AsRef < JsValue > for WebGlFramebuffer { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlFramebuffer > for JsValue { # [ inline ] fn from ( obj : WebGlFramebuffer ) -> JsValue { obj . obj } } impl JsCast for WebGlFramebuffer { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLFramebuffer ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLFramebuffer ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlFramebuffer { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlFramebuffer ) } } } ( ) } ; impl core :: ops :: Deref for WebGlFramebuffer { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlFramebuffer > for Object { # [ inline ] fn from ( obj : WebGlFramebuffer ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlFramebuffer { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLProgram` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLProgram)\n\n*This API requires the following crate features to be activated: `WebGlProgram`*" ] # [ repr ( transparent ) ] pub struct WebGlProgram { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlProgram : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlProgram { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlProgram { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlProgram { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlProgram { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlProgram { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlProgram { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlProgram { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlProgram { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlProgram { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlProgram > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlProgram { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlProgram { # [ inline ] fn from ( obj : JsValue ) -> WebGlProgram { WebGlProgram { obj } } } impl AsRef < JsValue > for WebGlProgram { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlProgram > for JsValue { # [ inline ] fn from ( obj : WebGlProgram ) -> JsValue { obj . obj } } impl JsCast for WebGlProgram { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLProgram ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLProgram ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlProgram { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlProgram ) } } } ( ) } ; impl core :: ops :: Deref for WebGlProgram { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlProgram > for Object { # [ inline ] fn from ( obj : WebGlProgram ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlProgram { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLQuery` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLQuery)\n\n*This API requires the following crate features to be activated: `WebGlQuery`*" ] # [ repr ( transparent ) ] pub struct WebGlQuery { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlQuery : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlQuery { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlQuery { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlQuery { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlQuery { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlQuery { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlQuery { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlQuery { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlQuery { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlQuery { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlQuery > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlQuery { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlQuery { # [ inline ] fn from ( obj : JsValue ) -> WebGlQuery { WebGlQuery { obj } } } impl AsRef < JsValue > for WebGlQuery { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlQuery > for JsValue { # [ inline ] fn from ( obj : WebGlQuery ) -> JsValue { obj . obj } } impl JsCast for WebGlQuery { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLQuery ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLQuery ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlQuery { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlQuery ) } } } ( ) } ; impl core :: ops :: Deref for WebGlQuery { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlQuery > for Object { # [ inline ] fn from ( obj : WebGlQuery ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlQuery { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLRenderbuffer` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGlRenderbuffer`*" ] # [ repr ( transparent ) ] pub struct WebGlRenderbuffer { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlRenderbuffer : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlRenderbuffer { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlRenderbuffer { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlRenderbuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlRenderbuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlRenderbuffer { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlRenderbuffer { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlRenderbuffer { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlRenderbuffer { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlRenderbuffer { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlRenderbuffer > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlRenderbuffer { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlRenderbuffer { # [ inline ] fn from ( obj : JsValue ) -> WebGlRenderbuffer { WebGlRenderbuffer { obj } } } impl AsRef < JsValue > for WebGlRenderbuffer { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlRenderbuffer > for JsValue { # [ inline ] fn from ( obj : WebGlRenderbuffer ) -> JsValue { obj . obj } } impl JsCast for WebGlRenderbuffer { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLRenderbuffer ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLRenderbuffer ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlRenderbuffer { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlRenderbuffer ) } } } ( ) } ; impl core :: ops :: Deref for WebGlRenderbuffer { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlRenderbuffer > for Object { # [ inline ] fn from ( obj : WebGlRenderbuffer ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlRenderbuffer { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLRenderingContext` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] # [ repr ( transparent ) ] pub struct WebGlRenderingContext { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlRenderingContext : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlRenderingContext { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlRenderingContext { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlRenderingContext { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlRenderingContext { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlRenderingContext { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlRenderingContext { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlRenderingContext { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlRenderingContext { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlRenderingContext { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlRenderingContext > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlRenderingContext { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlRenderingContext { # [ inline ] fn from ( obj : JsValue ) -> WebGlRenderingContext { WebGlRenderingContext { obj } } } impl AsRef < JsValue > for WebGlRenderingContext { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlRenderingContext > for JsValue { # [ inline ] fn from ( obj : WebGlRenderingContext ) -> JsValue { obj . obj } } impl JsCast for WebGlRenderingContext { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLRenderingContext ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLRenderingContext ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlRenderingContext { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlRenderingContext ) } } } ( ) } ; impl core :: ops :: Deref for WebGlRenderingContext { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlRenderingContext > for Object { # [ inline ] fn from ( obj : WebGlRenderingContext ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlRenderingContext { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_i32_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_data_with_i32 ( & self , target : u32 , size : i32 , usage : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_i32_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; __widl_f_buffer_data_with_i32_WebGLRenderingContext ( self_ , target , size , usage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_data_with_i32 ( & self , target : u32 , size : i32 , usage : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_f64_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_data_with_f64 ( & self , target : u32 , size : f64 , usage : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_f64_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let size = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; __widl_f_buffer_data_with_f64_WebGLRenderingContext ( self_ , target , size , usage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_data_with_f64 ( & self , target : u32 , size : f64 , usage : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_opt_array_buffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: ArrayBuffer > as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_data_with_opt_array_buffer ( & self , target : u32 , data : Option < & :: js_sys :: ArrayBuffer > , usage : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_opt_array_buffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < Option < & :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let data = < Option < & :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; __widl_f_buffer_data_with_opt_array_buffer_WebGLRenderingContext ( self_ , target , data , usage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_data_with_opt_array_buffer ( & self , target : u32 , data : Option < & :: js_sys :: ArrayBuffer > , usage : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_array_buffer_view_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_data_with_array_buffer_view ( & self , target : u32 , data : & :: js_sys :: Object , usage : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_array_buffer_view_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; __widl_f_buffer_data_with_array_buffer_view_WebGLRenderingContext ( self_ , target , data , usage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_data_with_array_buffer_view ( & self , target : u32 , data : & :: js_sys :: Object , usage : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_data_with_u8_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_data_with_u8_array ( & self , target : u32 , data : & mut [ u8 ] , usage : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_data_with_u8_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , usage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; let usage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( usage , & mut __stack ) ; __widl_f_buffer_data_with_u8_array_WebGLRenderingContext ( self_ , target , data , usage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_data_with_u8_array ( & self , target : u32 , data : & mut [ u8 ] , usage : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_i32_and_array_buffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_array_buffer ( & self , target : u32 , offset : i32 , data : & :: js_sys :: ArrayBuffer ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_i32_and_array_buffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_buffer_sub_data_with_i32_and_array_buffer_WebGLRenderingContext ( self_ , target , offset , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_array_buffer ( & self , target : u32 , offset : i32 , data : & :: js_sys :: ArrayBuffer ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_f64_and_array_buffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_array_buffer ( & self , target : u32 , offset : f64 , data : & :: js_sys :: ArrayBuffer ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_f64_and_array_buffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_buffer_sub_data_with_f64_and_array_buffer_WebGLRenderingContext ( self_ , target , offset , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_array_buffer ( & self , target : u32 , offset : f64 , data : & :: js_sys :: ArrayBuffer ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_i32_and_array_buffer_view_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_array_buffer_view ( & self , target : u32 , offset : i32 , data : & :: js_sys :: Object ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_i32_and_array_buffer_view_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_buffer_sub_data_with_i32_and_array_buffer_view_WebGLRenderingContext ( self_ , target , offset , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_array_buffer_view ( & self , target : u32 , offset : i32 , data : & :: js_sys :: Object ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_f64_and_array_buffer_view_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_array_buffer_view ( & self , target : u32 , offset : f64 , data : & :: js_sys :: Object ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_f64_and_array_buffer_view_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_buffer_sub_data_with_f64_and_array_buffer_view_WebGLRenderingContext ( self_ , target , offset , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_array_buffer_view ( & self , target : u32 , offset : f64 , data : & :: js_sys :: Object ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_i32_and_u8_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_u8_array ( & self , target : u32 , offset : i32 , data : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_i32_and_u8_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_buffer_sub_data_with_i32_and_u8_array_WebGLRenderingContext ( self_ , target , offset , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_sub_data_with_i32_and_u8_array ( & self , target : u32 , offset : i32 , data : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffer_sub_data_with_f64_and_u8_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_u8_array ( & self , target : u32 , offset : f64 , data : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffer_sub_data_with_f64_and_u8_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_buffer_sub_data_with_f64_and_u8_array_WebGLRenderingContext ( self_ , target , offset , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferSubData()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn buffer_sub_data_with_f64_and_u8_array ( & self , target : u32 , offset : f64 , data : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_commit_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `commit()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/commit)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn commit ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_commit_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_commit_WebGLRenderingContext ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `commit()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/commit)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn commit ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_2d_with_array_buffer_view_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn compressed_tex_image_2d_with_array_buffer_view ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , data : & :: js_sys :: Object ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_2d_with_array_buffer_view_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_compressed_tex_image_2d_with_array_buffer_view_WebGLRenderingContext ( self_ , target , level , internalformat , width , height , border , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn compressed_tex_image_2d_with_array_buffer_view ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , data : & :: js_sys :: Object ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_image_2d_with_u8_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn compressed_tex_image_2d_with_u8_array ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , data : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_image_2d_with_u8_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_compressed_tex_image_2d_with_u8_array_WebGLRenderingContext ( self_ , target , level , internalformat , width , height , border , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn compressed_tex_image_2d_with_u8_array ( & self , target : u32 , level : i32 , internalformat : u32 , width : i32 , height : i32 , border : i32 , data : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_array_buffer_view ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , data : & :: js_sys :: Object ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_WebGLRenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_array_buffer_view ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , data : & :: js_sys :: Object ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compressed_tex_sub_image_2d_with_u8_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_u8_array ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , data : & mut [ u8 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compressed_tex_sub_image_2d_with_u8_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_compressed_tex_sub_image_2d_with_u8_array_WebGLRenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compressedTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn compressed_tex_sub_image_2d_with_u8_array ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , data : & mut [ u8 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_pixels_with_opt_array_buffer_view_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn read_pixels_with_opt_array_buffer_view ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pixels : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_pixels_with_opt_array_buffer_view_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_read_pixels_with_opt_array_buffer_view_WebGLRenderingContext ( self_ , x , y , width , height , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn read_pixels_with_opt_array_buffer_view ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pixels : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_read_pixels_with_opt_u8_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn read_pixels_with_opt_u8_array ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pixels : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_read_pixels_with_opt_u8_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_read_pixels_with_opt_u8_array_WebGLRenderingContext ( self_ , x , y , width , height , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readPixels()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/readPixels)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn read_pixels_with_opt_u8_array ( & self , x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pixels : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , pixels : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view_WebGLRenderingContext ( self_ , target , level , internalformat , width , height , border , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , pixels : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , pixels : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array_WebGLRenderingContext ( self_ , target , level , internalformat , width , height , border , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array ( & self , target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , type_ : u32 , pixels : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_u32_and_u32_and_image_bitmap_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , pixels : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_u32_and_u32_and_image_bitmap_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_tex_image_2d_with_u32_and_u32_and_image_bitmap_WebGLRenderingContext ( self_ , target , level , internalformat , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_image_bitmap ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , pixels : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_u32_and_u32_and_image_data_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_image_data ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , pixels : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_u32_and_u32_and_image_data_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_tex_image_2d_with_u32_and_u32_and_image_data_WebGLRenderingContext ( self_ , target , level , internalformat , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_image_data ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , pixels : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_u32_and_u32_and_image_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_image ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , image : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_u32_and_u32_and_image_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let image = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; __widl_f_tex_image_2d_with_u32_and_u32_and_image_WebGLRenderingContext ( self_ , target , level , internalformat , format , type_ , image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_image ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , image : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_u32_and_u32_and_canvas_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_canvas ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , canvas : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_u32_and_u32_and_canvas_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , canvas : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let canvas = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( canvas , & mut __stack ) ; __widl_f_tex_image_2d_with_u32_and_u32_and_canvas_WebGLRenderingContext ( self_ , target , level , internalformat , format , type_ , canvas , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_canvas ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , canvas : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_image_2d_with_u32_and_u32_and_video_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_video ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , video : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_image_2d_with_u32_and_u32_and_video_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , video : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let video = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( video , & mut __stack ) ; __widl_f_tex_image_2d_with_u32_and_u32_and_video_WebGLRenderingContext ( self_ , target , level , internalformat , format , type_ , video , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGlRenderingContext`*" ] pub fn tex_image_2d_with_u32_and_u32_and_video ( & self , target : u32 , level : i32 , internalformat : i32 , format : u32 , type_ : u32 , video : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pixels : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view_WebGLRenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pixels : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pixels : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array_WebGLRenderingContext ( self_ , target , level , xoffset , yoffset , width , height , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , type_ : u32 , pixels : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_bitmap_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , pixels : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_bitmap_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_bitmap_WebGLRenderingContext ( self_ , target , level , xoffset , yoffset , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_image_bitmap ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , pixels : & ImageBitmap ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_data_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_image_data ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , pixels : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_data_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pixels : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let pixels = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pixels , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_data_WebGLRenderingContext ( self_ , target , level , xoffset , yoffset , format , type_ , pixels , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `ImageData`, `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_image_data ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , pixels : & ImageData ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_image ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , image : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , image : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let image = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( image , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_WebGLRenderingContext ( self_ , target , level , xoffset , yoffset , format , type_ , image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_image ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , image : & HtmlImageElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_u32_and_u32_and_canvas_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_canvas ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , canvas : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_u32_and_u32_and_canvas_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , canvas : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let canvas = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( canvas , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_u32_and_u32_and_canvas_WebGLRenderingContext ( self_ , target , level , xoffset , yoffset , format , type_ , canvas , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_canvas ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , canvas : & HtmlCanvasElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_sub_image_2d_with_u32_and_u32_and_video_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_video ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , video : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_sub_image_2d_with_u32_and_u32_and_video_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , format : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , video : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let format = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( format , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let video = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( video , & mut __stack ) ; __widl_f_tex_sub_image_2d_with_u32_and_u32_and_video_WebGLRenderingContext ( self_ , target , level , xoffset , yoffset , format , type_ , video , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WebGlRenderingContext`*" ] pub fn tex_sub_image_2d_with_u32_and_u32_and_video ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , format : u32 , type_ : u32 , video : & HtmlVideoElement ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1fv_with_f32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1fv_with_f32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform1fv_with_f32_array_WebGLRenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1iv_with_i32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1iv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1iv_with_i32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform1iv_with_i32_array_WebGLRenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1iv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2fv_with_f32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2fv_with_f32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform2fv_with_f32_array_WebGLRenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2iv_with_i32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2iv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2iv_with_i32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform2iv_with_i32_array_WebGLRenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2iv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3fv_with_f32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3fv_with_f32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform3fv_with_f32_array_WebGLRenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3iv_with_i32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3iv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3iv_with_i32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform3iv_with_i32_array_WebGLRenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3iv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4fv_with_f32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4fv_with_f32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform4fv_with_f32_array_WebGLRenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4iv_with_i32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < & mut [ i32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4iv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4iv_with_i32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let data = < & mut [ i32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform4iv_with_i32_array_WebGLRenderingContext ( self_ , location , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4iv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4iv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4iv_with_i32_array ( & self , location : Option < & WebGlUniformLocation > , data : & mut [ i32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix2fv_with_f32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix2fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix2fv_with_f32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform_matrix2fv_with_f32_array_WebGLRenderingContext ( self_ , location , transpose , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix2fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix2fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix3fv_with_f32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix3fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix3fv_with_f32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform_matrix3fv_with_f32_array_WebGLRenderingContext ( self_ , location , transpose , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix3fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix3fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform_matrix4fv_with_f32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniformMatrix4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix4fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform_matrix4fv_with_f32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transpose : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let transpose = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transpose , & mut __stack ) ; let data = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_uniform_matrix4fv_with_f32_array_WebGLRenderingContext ( self_ , location , transpose , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniformMatrix4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix4fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform_matrix4fv_with_f32_array ( & self , location : Option < & WebGlUniformLocation > , transpose : bool , data : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_active_texture_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `activeTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/activeTexture)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn active_texture ( & self , texture : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_active_texture_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , texture : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let texture = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( texture , & mut __stack ) ; __widl_f_active_texture_WebGLRenderingContext ( self_ , texture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `activeTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/activeTexture)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn active_texture ( & self , texture : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_attach_shader_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `attachShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/attachShader)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlShader`*" ] pub fn attach_shader ( & self , program : & WebGlProgram , shader : & WebGlShader ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_attach_shader_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_attach_shader_WebGLRenderingContext ( self_ , program , shader ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `attachShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/attachShader)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlShader`*" ] pub fn attach_shader ( & self , program : & WebGlProgram , shader : & WebGlShader ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_attrib_location_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindAttribLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindAttribLocation)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn bind_attrib_location ( & self , program : & WebGlProgram , index : u32 , name : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_attrib_location_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_bind_attrib_location_WebGLRenderingContext ( self_ , program , index , name ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindAttribLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindAttribLocation)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn bind_attrib_location ( & self , program : & WebGlProgram , index : u32 , name : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_buffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlBuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindBuffer)\n\n*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*" ] pub fn bind_buffer ( & self , target : u32 , buffer : Option < & WebGlBuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_buffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let buffer = < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; __widl_f_bind_buffer_WebGLRenderingContext ( self_ , target , buffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindBuffer)\n\n*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*" ] pub fn bind_buffer ( & self , target : u32 , buffer : Option < & WebGlBuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_framebuffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlFramebuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*" ] pub fn bind_framebuffer ( & self , target : u32 , framebuffer : Option < & WebGlFramebuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_framebuffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , framebuffer : < Option < & WebGlFramebuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let framebuffer = < Option < & WebGlFramebuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( framebuffer , & mut __stack ) ; __widl_f_bind_framebuffer_WebGLRenderingContext ( self_ , target , framebuffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*" ] pub fn bind_framebuffer ( & self , target : u32 , framebuffer : Option < & WebGlFramebuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_renderbuffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlRenderbuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*" ] pub fn bind_renderbuffer ( & self , target : u32 , renderbuffer : Option < & WebGlRenderbuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_renderbuffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , renderbuffer : < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let renderbuffer = < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( renderbuffer , & mut __stack ) ; __widl_f_bind_renderbuffer_WebGLRenderingContext ( self_ , target , renderbuffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*" ] pub fn bind_renderbuffer ( & self , target : u32 , renderbuffer : Option < & WebGlRenderbuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_bind_texture_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlTexture > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bindTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindTexture)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*" ] pub fn bind_texture ( & self , target : u32 , texture : Option < & WebGlTexture > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_bind_texture_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , texture : < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let texture = < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( texture , & mut __stack ) ; __widl_f_bind_texture_WebGLRenderingContext ( self_ , target , texture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bindTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindTexture)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*" ] pub fn bind_texture ( & self , target : u32 , texture : Option < & WebGlTexture > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blend_color_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blendColor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendColor)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn blend_color ( & self , red : f32 , green : f32 , blue : f32 , alpha : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blend_color_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , red : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , green : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blue : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alpha : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let red = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( red , & mut __stack ) ; let green = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( green , & mut __stack ) ; let blue = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blue , & mut __stack ) ; let alpha = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alpha , & mut __stack ) ; __widl_f_blend_color_WebGLRenderingContext ( self_ , red , green , blue , alpha ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blendColor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendColor)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn blend_color ( & self , red : f32 , green : f32 , blue : f32 , alpha : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blend_equation_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blendEquation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendEquation)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn blend_equation ( & self , mode : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blend_equation_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; __widl_f_blend_equation_WebGLRenderingContext ( self_ , mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blendEquation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendEquation)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn blend_equation ( & self , mode : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blend_equation_separate_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blendEquationSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendEquationSeparate)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn blend_equation_separate ( & self , mode_rgb : u32 , mode_alpha : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blend_equation_separate_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode_rgb : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode_alpha : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode_rgb = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode_rgb , & mut __stack ) ; let mode_alpha = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode_alpha , & mut __stack ) ; __widl_f_blend_equation_separate_WebGLRenderingContext ( self_ , mode_rgb , mode_alpha ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blendEquationSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendEquationSeparate)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn blend_equation_separate ( & self , mode_rgb : u32 , mode_alpha : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blend_func_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blendFunc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendFunc)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn blend_func ( & self , sfactor : u32 , dfactor : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blend_func_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sfactor : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dfactor : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sfactor = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sfactor , & mut __stack ) ; let dfactor = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dfactor , & mut __stack ) ; __widl_f_blend_func_WebGLRenderingContext ( self_ , sfactor , dfactor ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blendFunc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendFunc)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn blend_func ( & self , sfactor : u32 , dfactor : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blend_func_separate_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blendFuncSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendFuncSeparate)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn blend_func_separate ( & self , src_rgb : u32 , dst_rgb : u32 , src_alpha : u32 , dst_alpha : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blend_func_separate_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_rgb : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_rgb : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_alpha : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_alpha : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src_rgb = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_rgb , & mut __stack ) ; let dst_rgb = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_rgb , & mut __stack ) ; let src_alpha = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_alpha , & mut __stack ) ; let dst_alpha = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_alpha , & mut __stack ) ; __widl_f_blend_func_separate_WebGLRenderingContext ( self_ , src_rgb , dst_rgb , src_alpha , dst_alpha ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blendFuncSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendFuncSeparate)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn blend_func_separate ( & self , src_rgb : u32 , dst_rgb : u32 , src_alpha : u32 , dst_alpha : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_check_framebuffer_status_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `checkFramebufferStatus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/checkFramebufferStatus)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn check_framebuffer_status ( & self , target : u32 ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_check_framebuffer_status_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_check_framebuffer_status_WebGLRenderingContext ( self_ , target ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `checkFramebufferStatus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/checkFramebufferStatus)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn check_framebuffer_status ( & self , target : u32 ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clear)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn clear ( & self , mask : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mask : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mask = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mask , & mut __stack ) ; __widl_f_clear_WebGLRenderingContext ( self_ , mask ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clear()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clear)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn clear ( & self , mask : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_color_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearColor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clearColor)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn clear_color ( & self , red : f32 , green : f32 , blue : f32 , alpha : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_color_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , red : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , green : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blue : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alpha : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let red = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( red , & mut __stack ) ; let green = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( green , & mut __stack ) ; let blue = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blue , & mut __stack ) ; let alpha = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alpha , & mut __stack ) ; __widl_f_clear_color_WebGLRenderingContext ( self_ , red , green , blue , alpha ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearColor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clearColor)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn clear_color ( & self , red : f32 , green : f32 , blue : f32 , alpha : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_depth_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearDepth()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clearDepth)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn clear_depth ( & self , depth : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_depth_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , depth : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let depth = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( depth , & mut __stack ) ; __widl_f_clear_depth_WebGLRenderingContext ( self_ , depth ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearDepth()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clearDepth)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn clear_depth ( & self , depth : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_stencil_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearStencil()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clearStencil)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn clear_stencil ( & self , s : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_stencil_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , s : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let s = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( s , & mut __stack ) ; __widl_f_clear_stencil_WebGLRenderingContext ( self_ , s ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearStencil()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/clearStencil)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn clear_stencil ( & self , s : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_color_mask_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `colorMask()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/colorMask)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn color_mask ( & self , red : bool , green : bool , blue : bool , alpha : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_color_mask_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , red : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , green : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , blue : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , alpha : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let red = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( red , & mut __stack ) ; let green = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( green , & mut __stack ) ; let blue = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( blue , & mut __stack ) ; let alpha = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( alpha , & mut __stack ) ; __widl_f_color_mask_WebGLRenderingContext ( self_ , red , green , blue , alpha ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `colorMask()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/colorMask)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn color_mask ( & self , red : bool , green : bool , blue : bool , alpha : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_compile_shader_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `compileShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compileShader)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn compile_shader ( & self , shader : & WebGlShader ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_compile_shader_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_compile_shader_WebGLRenderingContext ( self_ , shader ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `compileShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compileShader)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn compile_shader ( & self , shader : & WebGlShader ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_tex_image_2d_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/copyTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn copy_tex_image_2d ( & self , target : u32 , level : i32 , internalformat : u32 , x : i32 , y : i32 , width : i32 , height : i32 , border : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_tex_image_2d_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , border : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; let border = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( border , & mut __stack ) ; __widl_f_copy_tex_image_2d_WebGLRenderingContext ( self_ , target , level , internalformat , x , y , width , height , border ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyTexImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/copyTexImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn copy_tex_image_2d ( & self , target : u32 , level : i32 , internalformat : u32 , x : i32 , y : i32 , width : i32 , height : i32 , border : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_tex_sub_image_2d_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/copyTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn copy_tex_sub_image_2d ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , x : i32 , y : i32 , width : i32 , height : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_tex_sub_image_2d_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , xoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , yoffset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; let xoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( xoffset , & mut __stack ) ; let yoffset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( yoffset , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_copy_tex_sub_image_2d_WebGLRenderingContext ( self_ , target , level , xoffset , yoffset , x , y , width , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyTexSubImage2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/copyTexSubImage2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn copy_tex_sub_image_2d ( & self , target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , x : i32 , y : i32 , width : i32 , height : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_buffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlBuffer > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createBuffer)\n\n*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*" ] pub fn create_buffer ( & self , ) -> Option < WebGlBuffer > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_buffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_buffer_WebGLRenderingContext ( self_ ) } ; < Option < WebGlBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createBuffer)\n\n*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*" ] pub fn create_buffer ( & self , ) -> Option < WebGlBuffer > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_framebuffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlFramebuffer > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*" ] pub fn create_framebuffer ( & self , ) -> Option < WebGlFramebuffer > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_framebuffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlFramebuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_framebuffer_WebGLRenderingContext ( self_ ) } ; < Option < WebGlFramebuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*" ] pub fn create_framebuffer ( & self , ) -> Option < WebGlFramebuffer > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_program_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlProgram > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createProgram)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn create_program ( & self , ) -> Option < WebGlProgram > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_program_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlProgram > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_program_WebGLRenderingContext ( self_ ) } ; < Option < WebGlProgram > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createProgram)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn create_program ( & self , ) -> Option < WebGlProgram > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_renderbuffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlRenderbuffer > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*" ] pub fn create_renderbuffer ( & self , ) -> Option < WebGlRenderbuffer > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_renderbuffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlRenderbuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_renderbuffer_WebGLRenderingContext ( self_ ) } ; < Option < WebGlRenderbuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*" ] pub fn create_renderbuffer ( & self , ) -> Option < WebGlRenderbuffer > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_shader_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < WebGlShader > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createShader)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn create_shader ( & self , type_ : u32 ) -> Option < WebGlShader > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_shader_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlShader > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_create_shader_WebGLRenderingContext ( self_ , type_ ) } ; < Option < WebGlShader > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createShader)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn create_shader ( & self , type_ : u32 ) -> Option < WebGlShader > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_texture_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlTexture > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createTexture)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*" ] pub fn create_texture ( & self , ) -> Option < WebGlTexture > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_texture_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlTexture > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_texture_WebGLRenderingContext ( self_ ) } ; < Option < WebGlTexture > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createTexture)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*" ] pub fn create_texture ( & self , ) -> Option < WebGlTexture > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cull_face_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cullFace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/cullFace)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn cull_face ( & self , mode : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cull_face_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; __widl_f_cull_face_WebGLRenderingContext ( self_ , mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cullFace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/cullFace)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn cull_face ( & self , mode : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_buffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlBuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteBuffer)\n\n*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*" ] pub fn delete_buffer ( & self , buffer : Option < & WebGlBuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_buffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; __widl_f_delete_buffer_WebGLRenderingContext ( self_ , buffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteBuffer)\n\n*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*" ] pub fn delete_buffer ( & self , buffer : Option < & WebGlBuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_framebuffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlFramebuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*" ] pub fn delete_framebuffer ( & self , framebuffer : Option < & WebGlFramebuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_framebuffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , framebuffer : < Option < & WebGlFramebuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let framebuffer = < Option < & WebGlFramebuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( framebuffer , & mut __stack ) ; __widl_f_delete_framebuffer_WebGLRenderingContext ( self_ , framebuffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*" ] pub fn delete_framebuffer ( & self , framebuffer : Option < & WebGlFramebuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_program_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlProgram > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteProgram)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn delete_program ( & self , program : Option < & WebGlProgram > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_program_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < Option < & WebGlProgram > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < Option < & WebGlProgram > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; __widl_f_delete_program_WebGLRenderingContext ( self_ , program ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteProgram)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn delete_program ( & self , program : Option < & WebGlProgram > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_renderbuffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlRenderbuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*" ] pub fn delete_renderbuffer ( & self , renderbuffer : Option < & WebGlRenderbuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_renderbuffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , renderbuffer : < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let renderbuffer = < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( renderbuffer , & mut __stack ) ; __widl_f_delete_renderbuffer_WebGLRenderingContext ( self_ , renderbuffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*" ] pub fn delete_renderbuffer ( & self , renderbuffer : Option < & WebGlRenderbuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_shader_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlShader > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteShader)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn delete_shader ( & self , shader : Option < & WebGlShader > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_shader_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < Option < & WebGlShader > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < Option < & WebGlShader > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_delete_shader_WebGLRenderingContext ( self_ , shader ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteShader)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn delete_shader ( & self , shader : Option < & WebGlShader > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delete_texture_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlTexture > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deleteTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteTexture)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*" ] pub fn delete_texture ( & self , texture : Option < & WebGlTexture > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delete_texture_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , texture : < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let texture = < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( texture , & mut __stack ) ; __widl_f_delete_texture_WebGLRenderingContext ( self_ , texture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deleteTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/deleteTexture)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*" ] pub fn delete_texture ( & self , texture : Option < & WebGlTexture > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_depth_func_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `depthFunc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/depthFunc)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn depth_func ( & self , func : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_depth_func_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , func : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let func = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( func , & mut __stack ) ; __widl_f_depth_func_WebGLRenderingContext ( self_ , func ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `depthFunc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/depthFunc)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn depth_func ( & self , func : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_depth_mask_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `depthMask()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/depthMask)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn depth_mask ( & self , flag : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_depth_mask_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , flag : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let flag = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( flag , & mut __stack ) ; __widl_f_depth_mask_WebGLRenderingContext ( self_ , flag ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `depthMask()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/depthMask)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn depth_mask ( & self , flag : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_depth_range_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `depthRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/depthRange)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn depth_range ( & self , z_near : f32 , z_far : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_depth_range_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z_near : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z_far : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let z_near = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z_near , & mut __stack ) ; let z_far = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z_far , & mut __stack ) ; __widl_f_depth_range_WebGLRenderingContext ( self_ , z_near , z_far ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `depthRange()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/depthRange)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn depth_range ( & self , z_near : f32 , z_far : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_detach_shader_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `detachShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/detachShader)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlShader`*" ] pub fn detach_shader ( & self , program : & WebGlProgram , shader : & WebGlShader ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_detach_shader_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_detach_shader_WebGLRenderingContext ( self_ , program , shader ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `detachShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/detachShader)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlShader`*" ] pub fn detach_shader ( & self , program : & WebGlProgram , shader : & WebGlShader ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disable_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disable()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/disable)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn disable ( & self , cap : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disable_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cap : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cap = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cap , & mut __stack ) ; __widl_f_disable_WebGLRenderingContext ( self_ , cap ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disable()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/disable)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn disable ( & self , cap : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_disable_vertex_attrib_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `disableVertexAttribArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/disableVertexAttribArray)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn disable_vertex_attrib_array ( & self , index : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_disable_vertex_attrib_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_disable_vertex_attrib_array_WebGLRenderingContext ( self_ , index ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `disableVertexAttribArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/disableVertexAttribArray)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn disable_vertex_attrib_array ( & self , index : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_arrays_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawArrays()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawArrays)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn draw_arrays ( & self , mode : u32 , first : i32 , count : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_arrays_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , first : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; let first = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( first , & mut __stack ) ; let count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; __widl_f_draw_arrays_WebGLRenderingContext ( self_ , mode , first , count ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawArrays()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawArrays)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn draw_arrays ( & self , mode : u32 , first : i32 , count : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_elements_with_i32_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawElements()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawElements)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn draw_elements_with_i32 ( & self , mode : u32 , count : i32 , type_ : u32 , offset : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_elements_with_i32_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; let count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_draw_elements_with_i32_WebGLRenderingContext ( self_ , mode , count , type_ , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawElements()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawElements)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn draw_elements_with_i32 ( & self , mode : u32 , count : i32 , type_ : u32 , offset : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_elements_with_f64_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawElements()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawElements)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn draw_elements_with_f64 ( & self , mode : u32 , count : i32 , type_ : u32 , offset : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_elements_with_f64_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; let count = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_draw_elements_with_f64_WebGLRenderingContext ( self_ , mode , count , type_ , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawElements()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawElements)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn draw_elements_with_f64 ( & self , mode : u32 , count : i32 , type_ : u32 , offset : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_enable_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enable()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/enable)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn enable ( & self , cap : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_enable_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cap : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cap = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cap , & mut __stack ) ; __widl_f_enable_WebGLRenderingContext ( self_ , cap ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enable()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/enable)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn enable ( & self , cap : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_enable_vertex_attrib_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enableVertexAttribArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/enableVertexAttribArray)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn enable_vertex_attrib_array ( & self , index : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_enable_vertex_attrib_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_enable_vertex_attrib_array_WebGLRenderingContext ( self_ , index ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enableVertexAttribArray()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/enableVertexAttribArray)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn enable_vertex_attrib_array ( & self , index : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_finish_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `finish()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/finish)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn finish ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_finish_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_finish_WebGLRenderingContext ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `finish()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/finish)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn finish ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_flush_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `flush()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/flush)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn flush ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_flush_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_flush_WebGLRenderingContext ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `flush()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/flush)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn flush ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_framebuffer_renderbuffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlRenderbuffer > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `framebufferRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/framebufferRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*" ] pub fn framebuffer_renderbuffer ( & self , target : u32 , attachment : u32 , renderbuffertarget : u32 , renderbuffer : Option < & WebGlRenderbuffer > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_framebuffer_renderbuffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , attachment : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , renderbuffertarget : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , renderbuffer : < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let attachment = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( attachment , & mut __stack ) ; let renderbuffertarget = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( renderbuffertarget , & mut __stack ) ; let renderbuffer = < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( renderbuffer , & mut __stack ) ; __widl_f_framebuffer_renderbuffer_WebGLRenderingContext ( self_ , target , attachment , renderbuffertarget , renderbuffer ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `framebufferRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/framebufferRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*" ] pub fn framebuffer_renderbuffer ( & self , target : u32 , attachment : u32 , renderbuffertarget : u32 , renderbuffer : Option < & WebGlRenderbuffer > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_framebuffer_texture_2d_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < & WebGlTexture > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `framebufferTexture2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/framebufferTexture2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*" ] pub fn framebuffer_texture_2d ( & self , target : u32 , attachment : u32 , textarget : u32 , texture : Option < & WebGlTexture > , level : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_framebuffer_texture_2d_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , attachment : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , textarget : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , texture : < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , level : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let attachment = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( attachment , & mut __stack ) ; let textarget = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( textarget , & mut __stack ) ; let texture = < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( texture , & mut __stack ) ; let level = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( level , & mut __stack ) ; __widl_f_framebuffer_texture_2d_WebGLRenderingContext ( self_ , target , attachment , textarget , texture , level ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `framebufferTexture2D()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/framebufferTexture2D)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*" ] pub fn framebuffer_texture_2d ( & self , target : u32 , attachment : u32 , textarget : u32 , texture : Option < & WebGlTexture > , level : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_front_face_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frontFace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/frontFace)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn front_face ( & self , mode : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_front_face_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; __widl_f_front_face_WebGLRenderingContext ( self_ , mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frontFace()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/frontFace)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn front_face ( & self , mode : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_generate_mipmap_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `generateMipmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/generateMipmap)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn generate_mipmap ( & self , target : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_generate_mipmap_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_generate_mipmap_WebGLRenderingContext ( self_ , target ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `generateMipmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/generateMipmap)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn generate_mipmap ( & self , target : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_active_attrib_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < WebGlActiveInfo > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getActiveAttrib()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getActiveAttrib)\n\n*This API requires the following crate features to be activated: `WebGlActiveInfo`, `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn get_active_attrib ( & self , program : & WebGlProgram , index : u32 ) -> Option < WebGlActiveInfo > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_active_attrib_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlActiveInfo > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_active_attrib_WebGLRenderingContext ( self_ , program , index ) } ; < Option < WebGlActiveInfo > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getActiveAttrib()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getActiveAttrib)\n\n*This API requires the following crate features to be activated: `WebGlActiveInfo`, `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn get_active_attrib ( & self , program : & WebGlProgram , index : u32 ) -> Option < WebGlActiveInfo > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_active_uniform_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < WebGlActiveInfo > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getActiveUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getActiveUniform)\n\n*This API requires the following crate features to be activated: `WebGlActiveInfo`, `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn get_active_uniform ( & self , program : & WebGlProgram , index : u32 ) -> Option < WebGlActiveInfo > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_active_uniform_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlActiveInfo > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_get_active_uniform_WebGLRenderingContext ( self_ , program , index ) } ; < Option < WebGlActiveInfo > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getActiveUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getActiveUniform)\n\n*This API requires the following crate features to be activated: `WebGlActiveInfo`, `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn get_active_uniform ( & self , program : & WebGlProgram , index : u32 ) -> Option < WebGlActiveInfo > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_attrib_location_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAttribLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getAttribLocation)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn get_attrib_location ( & self , program : & WebGlProgram , name : & str ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_attrib_location_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_attrib_location_WebGLRenderingContext ( self_ , program , name ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAttribLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getAttribLocation)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn get_attrib_location ( & self , program : & WebGlProgram , name : & str ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_buffer_parameter_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getBufferParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getBufferParameter)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_buffer_parameter ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_buffer_parameter_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_buffer_parameter_WebGLRenderingContext ( self_ , target , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getBufferParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getBufferParameter)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_buffer_parameter ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_context_attributes_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < WebGlContextAttributes > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getContextAttributes()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getContextAttributes)\n\n*This API requires the following crate features to be activated: `WebGlContextAttributes`, `WebGlRenderingContext`*" ] pub fn get_context_attributes ( & self , ) -> Option < WebGlContextAttributes > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_context_attributes_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlContextAttributes > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_context_attributes_WebGLRenderingContext ( self_ ) } ; < Option < WebGlContextAttributes > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getContextAttributes()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getContextAttributes)\n\n*This API requires the following crate features to be activated: `WebGlContextAttributes`, `WebGlRenderingContext`*" ] pub fn get_context_attributes ( & self , ) -> Option < WebGlContextAttributes > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_error_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getError()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getError)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_error ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_error_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_error_WebGLRenderingContext ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getError()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getError)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_error ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_extension_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getExtension()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getExtension)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_extension ( & self , name : & str ) -> Result < Option < :: js_sys :: Object > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_extension_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_extension_WebGLRenderingContext ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getExtension()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getExtension)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_extension ( & self , name : & str ) -> Result < Option < :: js_sys :: Object > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_framebuffer_attachment_parameter_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getFramebufferAttachmentParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_framebuffer_attachment_parameter ( & self , target : u32 , attachment : u32 , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_framebuffer_attachment_parameter_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , attachment : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let attachment = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( attachment , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_framebuffer_attachment_parameter_WebGLRenderingContext ( self_ , target , attachment , pname , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getFramebufferAttachmentParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_framebuffer_attachment_parameter ( & self , target : u32 , attachment : u32 , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_parameter_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getParameter)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_parameter ( & self , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_parameter_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_parameter_WebGLRenderingContext ( self_ , pname , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getParameter)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_parameter ( & self , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_program_info_log_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getProgramInfoLog()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getProgramInfoLog)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn get_program_info_log ( & self , program : & WebGlProgram ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_program_info_log_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; __widl_f_get_program_info_log_WebGLRenderingContext ( self_ , program ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getProgramInfoLog()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getProgramInfoLog)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn get_program_info_log ( & self , program : & WebGlProgram ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_program_parameter_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getProgramParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getProgramParameter)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn get_program_parameter ( & self , program : & WebGlProgram , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_program_parameter_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_program_parameter_WebGLRenderingContext ( self_ , program , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getProgramParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getProgramParameter)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn get_program_parameter ( & self , program : & WebGlProgram , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_renderbuffer_parameter_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getRenderbufferParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getRenderbufferParameter)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_renderbuffer_parameter ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_renderbuffer_parameter_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_renderbuffer_parameter_WebGLRenderingContext ( self_ , target , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getRenderbufferParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getRenderbufferParameter)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_renderbuffer_parameter ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_shader_info_log_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getShaderInfoLog()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderInfoLog)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn get_shader_info_log ( & self , shader : & WebGlShader ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_shader_info_log_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_get_shader_info_log_WebGLRenderingContext ( self_ , shader ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getShaderInfoLog()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderInfoLog)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn get_shader_info_log ( & self , shader : & WebGlShader ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_shader_parameter_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getShaderParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderParameter)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn get_shader_parameter ( & self , shader : & WebGlShader , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_shader_parameter_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_shader_parameter_WebGLRenderingContext ( self_ , shader , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getShaderParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderParameter)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn get_shader_parameter ( & self , shader : & WebGlShader , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_shader_precision_format_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < WebGlShaderPrecisionFormat > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getShaderPrecisionFormat()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderPrecisionFormat)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShaderPrecisionFormat`*" ] pub fn get_shader_precision_format ( & self , shadertype : u32 , precisiontype : u32 ) -> Option < WebGlShaderPrecisionFormat > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_shader_precision_format_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shadertype : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , precisiontype : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlShaderPrecisionFormat > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shadertype = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shadertype , & mut __stack ) ; let precisiontype = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( precisiontype , & mut __stack ) ; __widl_f_get_shader_precision_format_WebGLRenderingContext ( self_ , shadertype , precisiontype ) } ; < Option < WebGlShaderPrecisionFormat > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getShaderPrecisionFormat()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderPrecisionFormat)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShaderPrecisionFormat`*" ] pub fn get_shader_precision_format ( & self , shadertype : u32 , precisiontype : u32 ) -> Option < WebGlShaderPrecisionFormat > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_shader_source_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getShaderSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderSource)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn get_shader_source ( & self , shader : & WebGlShader ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_shader_source_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_get_shader_source_WebGLRenderingContext ( self_ , shader ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getShaderSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getShaderSource)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn get_shader_source ( & self , shader : & WebGlShader ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_tex_parameter_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getTexParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getTexParameter)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_tex_parameter ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_tex_parameter_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_tex_parameter_WebGLRenderingContext ( self_ , target , pname ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getTexParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getTexParameter)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_tex_parameter ( & self , target : u32 , pname : u32 ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_uniform_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < & WebGlUniformLocation as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getUniform)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn get_uniform ( & self , program : & WebGlProgram , location : & WebGlUniformLocation ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_uniform_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < & WebGlUniformLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let location = < & WebGlUniformLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; __widl_f_get_uniform_WebGLRenderingContext ( self_ , program , location ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getUniform()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getUniform)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn get_uniform ( & self , program : & WebGlProgram , location : & WebGlUniformLocation ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_uniform_location_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getUniformLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getUniformLocation)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn get_uniform_location ( & self , program : & WebGlProgram , name : & str ) -> Option < WebGlUniformLocation > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_uniform_location_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < WebGlUniformLocation > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_uniform_location_WebGLRenderingContext ( self_ , program , name ) } ; < Option < WebGlUniformLocation > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getUniformLocation()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getUniformLocation)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn get_uniform_location ( & self , program : & WebGlProgram , name : & str ) -> Option < WebGlUniformLocation > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_vertex_attrib_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getVertexAttrib()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getVertexAttrib)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_vertex_attrib ( & self , index : u32 , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_vertex_attrib_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_vertex_attrib_WebGLRenderingContext ( self_ , index , pname , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getVertexAttrib()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getVertexAttrib)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_vertex_attrib ( & self , index : u32 , pname : u32 ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_vertex_attrib_offset_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getVertexAttribOffset()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getVertexAttribOffset)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_vertex_attrib_offset ( & self , index : u32 , pname : u32 ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_vertex_attrib_offset_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; __widl_f_get_vertex_attrib_offset_WebGLRenderingContext ( self_ , index , pname ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getVertexAttribOffset()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getVertexAttribOffset)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn get_vertex_attrib_offset ( & self , index : u32 , pname : u32 ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hint_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/hint)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn hint ( & self , target : u32 , mode : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hint_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mode : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let mode = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mode , & mut __stack ) ; __widl_f_hint_WebGLRenderingContext ( self_ , target , mode ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hint()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/hint)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn hint ( & self , target : u32 , mode : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_buffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlBuffer > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isBuffer)\n\n*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*" ] pub fn is_buffer ( & self , buffer : Option < & WebGlBuffer > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_buffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < Option < & WebGlBuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; __widl_f_is_buffer_WebGLRenderingContext ( self_ , buffer ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isBuffer)\n\n*This API requires the following crate features to be activated: `WebGlBuffer`, `WebGlRenderingContext`*" ] pub fn is_buffer ( & self , buffer : Option < & WebGlBuffer > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_context_lost_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isContextLost()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isContextLost)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn is_context_lost ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_context_lost_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_context_lost_WebGLRenderingContext ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isContextLost()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isContextLost)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn is_context_lost ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_enabled_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isEnabled)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn is_enabled ( & self , cap : u32 ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_enabled_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , cap : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let cap = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( cap , & mut __stack ) ; __widl_f_is_enabled_WebGLRenderingContext ( self_ , cap ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isEnabled)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn is_enabled ( & self , cap : u32 ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_framebuffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlFramebuffer > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*" ] pub fn is_framebuffer ( & self , framebuffer : Option < & WebGlFramebuffer > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_framebuffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , framebuffer : < Option < & WebGlFramebuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let framebuffer = < Option < & WebGlFramebuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( framebuffer , & mut __stack ) ; __widl_f_is_framebuffer_WebGLRenderingContext ( self_ , framebuffer ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isFramebuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isFramebuffer)\n\n*This API requires the following crate features to be activated: `WebGlFramebuffer`, `WebGlRenderingContext`*" ] pub fn is_framebuffer ( & self , framebuffer : Option < & WebGlFramebuffer > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_program_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlProgram > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isProgram)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn is_program ( & self , program : Option < & WebGlProgram > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_program_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < Option < & WebGlProgram > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < Option < & WebGlProgram > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; __widl_f_is_program_WebGLRenderingContext ( self_ , program ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isProgram)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn is_program ( & self , program : Option < & WebGlProgram > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_renderbuffer_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlRenderbuffer > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*" ] pub fn is_renderbuffer ( & self , renderbuffer : Option < & WebGlRenderbuffer > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_renderbuffer_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , renderbuffer : < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let renderbuffer = < Option < & WebGlRenderbuffer > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( renderbuffer , & mut __stack ) ; __widl_f_is_renderbuffer_WebGLRenderingContext ( self_ , renderbuffer ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isRenderbuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isRenderbuffer)\n\n*This API requires the following crate features to be activated: `WebGlRenderbuffer`, `WebGlRenderingContext`*" ] pub fn is_renderbuffer ( & self , renderbuffer : Option < & WebGlRenderbuffer > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_shader_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlShader > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isShader)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn is_shader ( & self , shader : Option < & WebGlShader > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_shader_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < Option < & WebGlShader > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < Option < & WebGlShader > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; __widl_f_is_shader_WebGLRenderingContext ( self_ , shader ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isShader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isShader)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn is_shader ( & self , shader : Option < & WebGlShader > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_texture_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlTexture > as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isTexture)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*" ] pub fn is_texture ( & self , texture : Option < & WebGlTexture > ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_texture_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , texture : < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let texture = < Option < & WebGlTexture > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( texture , & mut __stack ) ; __widl_f_is_texture_WebGLRenderingContext ( self_ , texture ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isTexture)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlTexture`*" ] pub fn is_texture ( & self , texture : Option < & WebGlTexture > ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_line_width_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `lineWidth()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/lineWidth)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn line_width ( & self , width : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_line_width_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let width = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; __widl_f_line_width_WebGLRenderingContext ( self_ , width ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `lineWidth()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/lineWidth)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn line_width ( & self , width : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_link_program_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `linkProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/linkProgram)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn link_program ( & self , program : & WebGlProgram ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_link_program_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; __widl_f_link_program_WebGLRenderingContext ( self_ , program ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `linkProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/linkProgram)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn link_program ( & self , program : & WebGlProgram ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pixel_storei_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pixelStorei()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/pixelStorei)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn pixel_storei ( & self , pname : u32 , param : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pixel_storei_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , param : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; let param = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( param , & mut __stack ) ; __widl_f_pixel_storei_WebGLRenderingContext ( self_ , pname , param ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pixelStorei()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/pixelStorei)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn pixel_storei ( & self , pname : u32 , param : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_polygon_offset_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `polygonOffset()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/polygonOffset)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn polygon_offset ( & self , factor : f32 , units : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_polygon_offset_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , factor : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , units : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let factor = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( factor , & mut __stack ) ; let units = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( units , & mut __stack ) ; __widl_f_polygon_offset_WebGLRenderingContext ( self_ , factor , units ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `polygonOffset()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/polygonOffset)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn polygon_offset ( & self , factor : f32 , units : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_renderbuffer_storage_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `renderbufferStorage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/renderbufferStorage)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn renderbuffer_storage ( & self , target : u32 , internalformat : u32 , width : i32 , height : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_renderbuffer_storage_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , internalformat : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let internalformat = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( internalformat , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_renderbuffer_storage_WebGLRenderingContext ( self_ , target , internalformat , width , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `renderbufferStorage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/renderbufferStorage)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn renderbuffer_storage ( & self , target : u32 , internalformat : u32 , width : i32 , height : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_sample_coverage_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sampleCoverage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/sampleCoverage)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn sample_coverage ( & self , value : f32 , invert : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_sample_coverage_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , invert : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let value = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; let invert = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( invert , & mut __stack ) ; __widl_f_sample_coverage_WebGLRenderingContext ( self_ , value , invert ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sampleCoverage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/sampleCoverage)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn sample_coverage ( & self , value : f32 , invert : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scissor_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scissor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/scissor)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn scissor ( & self , x : i32 , y : i32 , width : i32 , height : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scissor_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_scissor_WebGLRenderingContext ( self_ , x , y , width , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scissor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/scissor)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn scissor ( & self , x : i32 , y : i32 , width : i32 , height : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_shader_source_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlShader as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `shaderSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/shaderSource)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn shader_source ( & self , shader : & WebGlShader , source : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_shader_source_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , shader : < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let shader = < & WebGlShader as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( shader , & mut __stack ) ; let source = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_shader_source_WebGLRenderingContext ( self_ , shader , source ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `shaderSource()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/shaderSource)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlShader`*" ] pub fn shader_source ( & self , shader : & WebGlShader , source : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stencil_func_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stencilFunc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilFunc)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn stencil_func ( & self , func : u32 , ref_ : i32 , mask : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stencil_func_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , func : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ref_ : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mask : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let func = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( func , & mut __stack ) ; let ref_ = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ref_ , & mut __stack ) ; let mask = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mask , & mut __stack ) ; __widl_f_stencil_func_WebGLRenderingContext ( self_ , func , ref_ , mask ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stencilFunc()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilFunc)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn stencil_func ( & self , func : u32 , ref_ : i32 , mask : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stencil_func_separate_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stencilFuncSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilFuncSeparate)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn stencil_func_separate ( & self , face : u32 , func : u32 , ref_ : i32 , mask : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stencil_func_separate_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , face : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , func : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ref_ : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mask : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let face = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( face , & mut __stack ) ; let func = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( func , & mut __stack ) ; let ref_ = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ref_ , & mut __stack ) ; let mask = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mask , & mut __stack ) ; __widl_f_stencil_func_separate_WebGLRenderingContext ( self_ , face , func , ref_ , mask ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stencilFuncSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilFuncSeparate)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn stencil_func_separate ( & self , face : u32 , func : u32 , ref_ : i32 , mask : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stencil_mask_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stencilMask()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilMask)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn stencil_mask ( & self , mask : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stencil_mask_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mask : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mask = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mask , & mut __stack ) ; __widl_f_stencil_mask_WebGLRenderingContext ( self_ , mask ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stencilMask()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilMask)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn stencil_mask ( & self , mask : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stencil_mask_separate_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stencilMaskSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilMaskSeparate)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn stencil_mask_separate ( & self , face : u32 , mask : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stencil_mask_separate_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , face : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mask : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let face = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( face , & mut __stack ) ; let mask = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mask , & mut __stack ) ; __widl_f_stencil_mask_separate_WebGLRenderingContext ( self_ , face , mask ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stencilMaskSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilMaskSeparate)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn stencil_mask_separate ( & self , face : u32 , mask : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stencil_op_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stencilOp()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilOp)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn stencil_op ( & self , fail : u32 , zfail : u32 , zpass : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stencil_op_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , fail : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zfail : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zpass : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let fail = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( fail , & mut __stack ) ; let zfail = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zfail , & mut __stack ) ; let zpass = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zpass , & mut __stack ) ; __widl_f_stencil_op_WebGLRenderingContext ( self_ , fail , zfail , zpass ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stencilOp()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilOp)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn stencil_op ( & self , fail : u32 , zfail : u32 , zpass : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stencil_op_separate_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stencilOpSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilOpSeparate)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn stencil_op_separate ( & self , face : u32 , fail : u32 , zfail : u32 , zpass : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stencil_op_separate_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , face : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , fail : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zfail : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , zpass : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let face = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( face , & mut __stack ) ; let fail = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( fail , & mut __stack ) ; let zfail = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zfail , & mut __stack ) ; let zpass = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( zpass , & mut __stack ) ; __widl_f_stencil_op_separate_WebGLRenderingContext ( self_ , face , fail , zfail , zpass ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stencilOpSeparate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/stencilOpSeparate)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn stencil_op_separate ( & self , face : u32 , fail : u32 , zfail : u32 , zpass : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_parameterf_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texParameterf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texParameterf)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn tex_parameterf ( & self , target : u32 , pname : u32 , param : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_parameterf_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , param : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; let param = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( param , & mut __stack ) ; __widl_f_tex_parameterf_WebGLRenderingContext ( self_ , target , pname , param ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texParameterf()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texParameterf)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn tex_parameterf ( & self , target : u32 , pname : u32 , param : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_tex_parameteri_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `texParameteri()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texParameteri)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn tex_parameteri ( & self , target : u32 , pname : u32 , param : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_tex_parameteri_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pname : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , param : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let target = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let pname = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pname , & mut __stack ) ; let param = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( param , & mut __stack ) ; __widl_f_tex_parameteri_WebGLRenderingContext ( self_ , target , pname , param ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `texParameteri()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texParameteri)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn tex_parameteri ( & self , target : u32 , pname : u32 , param : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1f_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1f ( & self , location : Option < & WebGlUniformLocation > , x : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1f_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_uniform1f_WebGLRenderingContext ( self_ , location , x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1f ( & self , location : Option < & WebGlUniformLocation > , x : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform1i_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform1i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1i)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1i ( & self , location : Option < & WebGlUniformLocation > , x : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform1i_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_uniform1i_WebGLRenderingContext ( self_ , location , x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform1i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform1i)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform1i ( & self , location : Option < & WebGlUniformLocation > , x : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2f_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2f ( & self , location : Option < & WebGlUniformLocation > , x : f32 , y : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2f_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_uniform2f_WebGLRenderingContext ( self_ , location , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2f ( & self , location : Option < & WebGlUniformLocation > , x : f32 , y : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform2i_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform2i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2i)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2i ( & self , location : Option < & WebGlUniformLocation > , x : i32 , y : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform2i_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_uniform2i_WebGLRenderingContext ( self_ , location , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform2i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform2i)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform2i ( & self , location : Option < & WebGlUniformLocation > , x : i32 , y : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3f_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3f ( & self , location : Option < & WebGlUniformLocation > , x : f32 , y : f32 , z : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3f_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_uniform3f_WebGLRenderingContext ( self_ , location , x , y , z ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3f ( & self , location : Option < & WebGlUniformLocation > , x : f32 , y : f32 , z : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform3i_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform3i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3i)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3i ( & self , location : Option < & WebGlUniformLocation > , x : i32 , y : i32 , z : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform3i_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_uniform3i_WebGLRenderingContext ( self_ , location , x , y , z ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform3i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform3i)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform3i ( & self , location : Option < & WebGlUniformLocation > , x : i32 , y : i32 , z : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4f_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4f ( & self , location : Option < & WebGlUniformLocation > , x : f32 , y : f32 , z : f32 , w : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4f_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let w = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; __widl_f_uniform4f_WebGLRenderingContext ( self_ , location , x , y , z , w ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4f ( & self , location : Option < & WebGlUniformLocation > , x : f32 , y : f32 , z : f32 , w : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_uniform4i_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlUniformLocation > as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `uniform4i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4i)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4i ( & self , location : Option < & WebGlUniformLocation > , x : i32 , y : i32 , z : i32 , w : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_uniform4i_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , location : < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let location = < Option < & WebGlUniformLocation > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( location , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let w = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; __widl_f_uniform4i_WebGLRenderingContext ( self_ , location , x , y , z , w ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `uniform4i()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniform4i)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`, `WebGlUniformLocation`*" ] pub fn uniform4i ( & self , location : Option < & WebGlUniformLocation > , x : i32 , y : i32 , z : i32 , w : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_use_program_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < & WebGlProgram > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `useProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/useProgram)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn use_program ( & self , program : Option < & WebGlProgram > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_use_program_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < Option < & WebGlProgram > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < Option < & WebGlProgram > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; __widl_f_use_program_WebGLRenderingContext ( self_ , program ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `useProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/useProgram)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn use_program ( & self , program : Option < & WebGlProgram > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_validate_program_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < & WebGlProgram as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `validateProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/validateProgram)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn validate_program ( & self , program : & WebGlProgram ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_validate_program_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , program : < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let program = < & WebGlProgram as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( program , & mut __stack ) ; __widl_f_validate_program_WebGLRenderingContext ( self_ , program ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `validateProgram()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/validateProgram)\n\n*This API requires the following crate features to be activated: `WebGlProgram`, `WebGlRenderingContext`*" ] pub fn validate_program ( & self , program : & WebGlProgram ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib1f_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib1f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib1f ( & self , indx : u32 , x : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib1f_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_vertex_attrib1f_WebGLRenderingContext ( self_ , indx , x ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib1f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib1f ( & self , indx : u32 , x : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib1fv_with_f32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib1fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib1fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib1fv_with_f32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let values = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; __widl_f_vertex_attrib1fv_with_f32_array_WebGLRenderingContext ( self_ , indx , values ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib1fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib1fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib1fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib2f_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib2f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib2f ( & self , indx : u32 , x : f32 , y : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib2f_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_vertex_attrib2f_WebGLRenderingContext ( self_ , indx , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib2f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib2f ( & self , indx : u32 , x : f32 , y : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib2fv_with_f32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib2fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib2fv_with_f32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let values = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; __widl_f_vertex_attrib2fv_with_f32_array_WebGLRenderingContext ( self_ , indx , values ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib2fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib2fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib2fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib3f_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib3f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib3f ( & self , indx : u32 , x : f32 , y : f32 , z : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib3f_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_vertex_attrib3f_WebGLRenderingContext ( self_ , indx , x , y , z ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib3f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib3f ( & self , indx : u32 , x : f32 , y : f32 , z : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib3fv_with_f32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib3fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib3fv_with_f32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let values = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; __widl_f_vertex_attrib3fv_with_f32_array_WebGLRenderingContext ( self_ , indx , values ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib3fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib3fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib3fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib4f_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib4f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib4f ( & self , indx : u32 , x : f32 , y : f32 , z : f32 , w : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib4f_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , w : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let x = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let w = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( w , & mut __stack ) ; __widl_f_vertex_attrib4f_WebGLRenderingContext ( self_ , indx , x , y , z , w ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib4f()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4f)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib4f ( & self , indx : u32 , x : f32 , y : f32 , z : f32 , w : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib4fv_with_f32_array_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & mut [ f32 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttrib4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib4fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib4fv_with_f32_array_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , values : < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let values = < & mut [ f32 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( values , & mut __stack ) ; __widl_f_vertex_attrib4fv_with_f32_array_WebGLRenderingContext ( self_ , indx , values ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttrib4fv()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttrib4fv)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib4fv_with_f32_array ( & self , indx : u32 , values : & mut [ f32 ] ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib_pointer_with_i32_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttribPointer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttribPointer)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib_pointer_with_i32 ( & self , indx : u32 , size : i32 , type_ : u32 , normalized : bool , stride : i32 , offset : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib_pointer_with_i32_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , normalized : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stride : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let normalized = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( normalized , & mut __stack ) ; let stride = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stride , & mut __stack ) ; let offset = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_vertex_attrib_pointer_with_i32_WebGLRenderingContext ( self_ , indx , size , type_ , normalized , stride , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttribPointer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttribPointer)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib_pointer_with_i32 ( & self , indx : u32 , size : i32 , type_ : u32 , normalized : bool , stride : i32 , offset : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_vertex_attrib_pointer_with_f64_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `vertexAttribPointer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttribPointer)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib_pointer_with_f64 ( & self , indx : u32 , size : i32 , type_ : u32 , normalized : bool , stride : i32 , offset : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_vertex_attrib_pointer_with_f64_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , indx : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , normalized : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stride : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let indx = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( indx , & mut __stack ) ; let size = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; let type_ = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let normalized = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( normalized , & mut __stack ) ; let stride = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stride , & mut __stack ) ; let offset = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_vertex_attrib_pointer_with_f64_WebGLRenderingContext ( self_ , indx , size , type_ , normalized , stride , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `vertexAttribPointer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttribPointer)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn vertex_attrib_pointer_with_f64 ( & self , indx : u32 , size : i32 , type_ : u32 , normalized : bool , stride : i32 , offset : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_viewport_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `viewport()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/viewport)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn viewport ( & self , x : i32 , y : i32 , width : i32 , height : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_viewport_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , width : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , height : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let width = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( width , & mut __stack ) ; let height = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( height , & mut __stack ) ; __widl_f_viewport_WebGLRenderingContext ( self_ , x , y , width , height ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `viewport()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/viewport)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn viewport ( & self , x : i32 , y : i32 , width : i32 , height : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_canvas_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `canvas` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/canvas)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn canvas ( & self , ) -> Option < :: js_sys :: Object > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_canvas_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_canvas_WebGLRenderingContext ( self_ ) } ; < Option < :: js_sys :: Object > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `canvas` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/canvas)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn canvas ( & self , ) -> Option < :: js_sys :: Object > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_drawing_buffer_width_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawingBufferWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawingBufferWidth)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn drawing_buffer_width ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_drawing_buffer_width_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_drawing_buffer_width_WebGLRenderingContext ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawingBufferWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawingBufferWidth)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn drawing_buffer_width ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_drawing_buffer_height_WebGLRenderingContext ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlRenderingContext as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WebGlRenderingContext { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawingBufferHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawingBufferHeight)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn drawing_buffer_height ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_drawing_buffer_height_WebGLRenderingContext ( self_ : < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlRenderingContext as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_drawing_buffer_height_WebGLRenderingContext ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawingBufferHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawingBufferHeight)\n\n*This API requires the following crate features to be activated: `WebGlRenderingContext`*" ] pub fn drawing_buffer_height ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLSampler` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLSampler)\n\n*This API requires the following crate features to be activated: `WebGlSampler`*" ] # [ repr ( transparent ) ] pub struct WebGlSampler { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlSampler : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlSampler { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlSampler { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlSampler { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlSampler { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlSampler { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlSampler { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlSampler { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlSampler { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlSampler { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlSampler > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlSampler { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlSampler { # [ inline ] fn from ( obj : JsValue ) -> WebGlSampler { WebGlSampler { obj } } } impl AsRef < JsValue > for WebGlSampler { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlSampler > for JsValue { # [ inline ] fn from ( obj : WebGlSampler ) -> JsValue { obj . obj } } impl JsCast for WebGlSampler { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLSampler ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLSampler ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlSampler { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlSampler ) } } } ( ) } ; impl core :: ops :: Deref for WebGlSampler { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlSampler > for Object { # [ inline ] fn from ( obj : WebGlSampler ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlSampler { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLShader` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShader)\n\n*This API requires the following crate features to be activated: `WebGlShader`*" ] # [ repr ( transparent ) ] pub struct WebGlShader { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlShader : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlShader { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlShader { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlShader { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlShader { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlShader { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlShader { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlShader { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlShader { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlShader { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlShader > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlShader { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlShader { # [ inline ] fn from ( obj : JsValue ) -> WebGlShader { WebGlShader { obj } } } impl AsRef < JsValue > for WebGlShader { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlShader > for JsValue { # [ inline ] fn from ( obj : WebGlShader ) -> JsValue { obj . obj } } impl JsCast for WebGlShader { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLShader ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLShader ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlShader { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlShader ) } } } ( ) } ; impl core :: ops :: Deref for WebGlShader { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlShader > for Object { # [ inline ] fn from ( obj : WebGlShader ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlShader { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLShaderPrecisionFormat` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat)\n\n*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*" ] # [ repr ( transparent ) ] pub struct WebGlShaderPrecisionFormat { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlShaderPrecisionFormat : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlShaderPrecisionFormat { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlShaderPrecisionFormat { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlShaderPrecisionFormat { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlShaderPrecisionFormat { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlShaderPrecisionFormat { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlShaderPrecisionFormat { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlShaderPrecisionFormat { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlShaderPrecisionFormat { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlShaderPrecisionFormat { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlShaderPrecisionFormat > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlShaderPrecisionFormat { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlShaderPrecisionFormat { # [ inline ] fn from ( obj : JsValue ) -> WebGlShaderPrecisionFormat { WebGlShaderPrecisionFormat { obj } } } impl AsRef < JsValue > for WebGlShaderPrecisionFormat { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlShaderPrecisionFormat > for JsValue { # [ inline ] fn from ( obj : WebGlShaderPrecisionFormat ) -> JsValue { obj . obj } } impl JsCast for WebGlShaderPrecisionFormat { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLShaderPrecisionFormat ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLShaderPrecisionFormat ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlShaderPrecisionFormat { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlShaderPrecisionFormat ) } } } ( ) } ; impl core :: ops :: Deref for WebGlShaderPrecisionFormat { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlShaderPrecisionFormat > for Object { # [ inline ] fn from ( obj : WebGlShaderPrecisionFormat ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlShaderPrecisionFormat { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_range_min_WebGLShaderPrecisionFormat ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlShaderPrecisionFormat as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WebGlShaderPrecisionFormat { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rangeMin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat/rangeMin)\n\n*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*" ] pub fn range_min ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_range_min_WebGLShaderPrecisionFormat ( self_ : < & WebGlShaderPrecisionFormat as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlShaderPrecisionFormat as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_range_min_WebGLShaderPrecisionFormat ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rangeMin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat/rangeMin)\n\n*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*" ] pub fn range_min ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_range_max_WebGLShaderPrecisionFormat ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlShaderPrecisionFormat as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WebGlShaderPrecisionFormat { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rangeMax` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat/rangeMax)\n\n*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*" ] pub fn range_max ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_range_max_WebGLShaderPrecisionFormat ( self_ : < & WebGlShaderPrecisionFormat as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlShaderPrecisionFormat as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_range_max_WebGLShaderPrecisionFormat ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rangeMax` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat/rangeMax)\n\n*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*" ] pub fn range_max ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_precision_WebGLShaderPrecisionFormat ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGlShaderPrecisionFormat as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WebGlShaderPrecisionFormat { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `precision` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat/precision)\n\n*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*" ] pub fn precision ( & self , ) -> i32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_precision_WebGLShaderPrecisionFormat ( self_ : < & WebGlShaderPrecisionFormat as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGlShaderPrecisionFormat as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_precision_WebGLShaderPrecisionFormat ( self_ ) } ; < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `precision` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLShaderPrecisionFormat/precision)\n\n*This API requires the following crate features to be activated: `WebGlShaderPrecisionFormat`*" ] pub fn precision ( & self , ) -> i32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLSync` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLSync)\n\n*This API requires the following crate features to be activated: `WebGlSync`*" ] # [ repr ( transparent ) ] pub struct WebGlSync { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlSync : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlSync { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlSync { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlSync { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlSync { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlSync { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlSync { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlSync { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlSync { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlSync { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlSync > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlSync { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlSync { # [ inline ] fn from ( obj : JsValue ) -> WebGlSync { WebGlSync { obj } } } impl AsRef < JsValue > for WebGlSync { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlSync > for JsValue { # [ inline ] fn from ( obj : WebGlSync ) -> JsValue { obj . obj } } impl JsCast for WebGlSync { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLSync ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLSync ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlSync { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlSync ) } } } ( ) } ; impl core :: ops :: Deref for WebGlSync { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlSync > for Object { # [ inline ] fn from ( obj : WebGlSync ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlSync { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLTexture` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLTexture)\n\n*This API requires the following crate features to be activated: `WebGlTexture`*" ] # [ repr ( transparent ) ] pub struct WebGlTexture { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlTexture : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlTexture { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlTexture { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlTexture { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlTexture { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlTexture { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlTexture { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlTexture { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlTexture { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlTexture { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlTexture > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlTexture { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlTexture { # [ inline ] fn from ( obj : JsValue ) -> WebGlTexture { WebGlTexture { obj } } } impl AsRef < JsValue > for WebGlTexture { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlTexture > for JsValue { # [ inline ] fn from ( obj : WebGlTexture ) -> JsValue { obj . obj } } impl JsCast for WebGlTexture { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLTexture ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLTexture ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlTexture { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlTexture ) } } } ( ) } ; impl core :: ops :: Deref for WebGlTexture { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlTexture > for Object { # [ inline ] fn from ( obj : WebGlTexture ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlTexture { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLTransformFeedback` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLTransformFeedback)\n\n*This API requires the following crate features to be activated: `WebGlTransformFeedback`*" ] # [ repr ( transparent ) ] pub struct WebGlTransformFeedback { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlTransformFeedback : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlTransformFeedback { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlTransformFeedback { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlTransformFeedback { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlTransformFeedback { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlTransformFeedback { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlTransformFeedback { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlTransformFeedback { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlTransformFeedback { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlTransformFeedback { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlTransformFeedback > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlTransformFeedback { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlTransformFeedback { # [ inline ] fn from ( obj : JsValue ) -> WebGlTransformFeedback { WebGlTransformFeedback { obj } } } impl AsRef < JsValue > for WebGlTransformFeedback { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlTransformFeedback > for JsValue { # [ inline ] fn from ( obj : WebGlTransformFeedback ) -> JsValue { obj . obj } } impl JsCast for WebGlTransformFeedback { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLTransformFeedback ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLTransformFeedback ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlTransformFeedback { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlTransformFeedback ) } } } ( ) } ; impl core :: ops :: Deref for WebGlTransformFeedback { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlTransformFeedback > for Object { # [ inline ] fn from ( obj : WebGlTransformFeedback ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlTransformFeedback { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLUniformLocation` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLUniformLocation)\n\n*This API requires the following crate features to be activated: `WebGlUniformLocation`*" ] # [ repr ( transparent ) ] pub struct WebGlUniformLocation { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlUniformLocation : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlUniformLocation { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlUniformLocation { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlUniformLocation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlUniformLocation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlUniformLocation { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlUniformLocation { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlUniformLocation { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlUniformLocation { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlUniformLocation { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlUniformLocation > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlUniformLocation { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlUniformLocation { # [ inline ] fn from ( obj : JsValue ) -> WebGlUniformLocation { WebGlUniformLocation { obj } } } impl AsRef < JsValue > for WebGlUniformLocation { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlUniformLocation > for JsValue { # [ inline ] fn from ( obj : WebGlUniformLocation ) -> JsValue { obj . obj } } impl JsCast for WebGlUniformLocation { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLUniformLocation ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLUniformLocation ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlUniformLocation { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlUniformLocation ) } } } ( ) } ; impl core :: ops :: Deref for WebGlUniformLocation { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlUniformLocation > for Object { # [ inline ] fn from ( obj : WebGlUniformLocation ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlUniformLocation { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGLVertexArrayObject` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLVertexArrayObject)\n\n*This API requires the following crate features to be activated: `WebGlVertexArrayObject`*" ] # [ repr ( transparent ) ] pub struct WebGlVertexArrayObject { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGlVertexArrayObject : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGlVertexArrayObject { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGlVertexArrayObject { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGlVertexArrayObject { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlVertexArrayObject { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGlVertexArrayObject { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGlVertexArrayObject { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGlVertexArrayObject { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGlVertexArrayObject { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGlVertexArrayObject { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGlVertexArrayObject > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGlVertexArrayObject { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGlVertexArrayObject { # [ inline ] fn from ( obj : JsValue ) -> WebGlVertexArrayObject { WebGlVertexArrayObject { obj } } } impl AsRef < JsValue > for WebGlVertexArrayObject { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGlVertexArrayObject > for JsValue { # [ inline ] fn from ( obj : WebGlVertexArrayObject ) -> JsValue { obj . obj } } impl JsCast for WebGlVertexArrayObject { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGLVertexArrayObject ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGLVertexArrayObject ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlVertexArrayObject { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlVertexArrayObject ) } } } ( ) } ; impl core :: ops :: Deref for WebGlVertexArrayObject { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGlVertexArrayObject > for Object { # [ inline ] fn from ( obj : WebGlVertexArrayObject ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGlVertexArrayObject { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPU` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPU)\n\n*This API requires the following crate features to be activated: `WebGpu`*" ] # [ repr ( transparent ) ] pub struct WebGpu { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpu : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpu { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpu { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpu { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpu { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpu { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpu { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpu { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpu { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpu { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpu > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpu { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpu { # [ inline ] fn from ( obj : JsValue ) -> WebGpu { WebGpu { obj } } } impl AsRef < JsValue > for WebGpu { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpu > for JsValue { # [ inline ] fn from ( obj : WebGpu ) -> JsValue { obj . obj } } impl JsCast for WebGpu { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPU ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPU ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpu { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpu ) } } } ( ) } ; impl core :: ops :: Deref for WebGpu { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpu > for Object { # [ inline ] fn from ( obj : WebGpu ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpu { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_adapter_WebGPU ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpu as WasmDescribe > :: describe ( ) ; < WebGpuAdapter as WasmDescribe > :: describe ( ) ; } impl WebGpu { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAdapter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPU/getAdapter)\n\n*This API requires the following crate features to be activated: `WebGpu`, `WebGpuAdapter`*" ] pub fn get_adapter ( & self , ) -> WebGpuAdapter { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_adapter_WebGPU ( self_ : < & WebGpu as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuAdapter as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpu as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_adapter_WebGPU ( self_ ) } ; < WebGpuAdapter as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAdapter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPU/getAdapter)\n\n*This API requires the following crate features to be activated: `WebGpu`, `WebGpuAdapter`*" ] pub fn get_adapter ( & self , ) -> WebGpuAdapter { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_adapter_with_desc_WebGPU ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpu as WasmDescribe > :: describe ( ) ; < & WebGpuAdapterDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuAdapter as WasmDescribe > :: describe ( ) ; } impl WebGpu { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAdapter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPU/getAdapter)\n\n*This API requires the following crate features to be activated: `WebGpu`, `WebGpuAdapter`, `WebGpuAdapterDescriptor`*" ] pub fn get_adapter_with_desc ( & self , desc : & WebGpuAdapterDescriptor ) -> WebGpuAdapter { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_adapter_with_desc_WebGPU ( self_ : < & WebGpu as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , desc : < & WebGpuAdapterDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuAdapter as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpu as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let desc = < & WebGpuAdapterDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( desc , & mut __stack ) ; __widl_f_get_adapter_with_desc_WebGPU ( self_ , desc ) } ; < WebGpuAdapter as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAdapter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPU/getAdapter)\n\n*This API requires the following crate features to be activated: `WebGpu`, `WebGpuAdapter`, `WebGpuAdapterDescriptor`*" ] pub fn get_adapter_with_desc ( & self , desc : & WebGpuAdapterDescriptor ) -> WebGpuAdapter { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUAdapter` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUAdapter)\n\n*This API requires the following crate features to be activated: `WebGpuAdapter`*" ] # [ repr ( transparent ) ] pub struct WebGpuAdapter { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuAdapter : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuAdapter { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuAdapter { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuAdapter { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuAdapter { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuAdapter { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuAdapter { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuAdapter { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuAdapter { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuAdapter { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuAdapter > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuAdapter { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuAdapter { # [ inline ] fn from ( obj : JsValue ) -> WebGpuAdapter { WebGpuAdapter { obj } } } impl AsRef < JsValue > for WebGpuAdapter { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuAdapter > for JsValue { # [ inline ] fn from ( obj : WebGpuAdapter ) -> JsValue { obj . obj } } impl JsCast for WebGpuAdapter { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUAdapter ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUAdapter ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuAdapter { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuAdapter ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuAdapter { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuAdapter > for Object { # [ inline ] fn from ( obj : WebGpuAdapter ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuAdapter { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_device_WebGPUAdapter ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuAdapter as WasmDescribe > :: describe ( ) ; < WebGpuDevice as WasmDescribe > :: describe ( ) ; } impl WebGpuAdapter { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDevice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUAdapter/createDevice)\n\n*This API requires the following crate features to be activated: `WebGpuAdapter`, `WebGpuDevice`*" ] pub fn create_device ( & self , ) -> WebGpuDevice { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_device_WebGPUAdapter ( self_ : < & WebGpuAdapter as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuDevice as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuAdapter as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_device_WebGPUAdapter ( self_ ) } ; < WebGpuDevice as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDevice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUAdapter/createDevice)\n\n*This API requires the following crate features to be activated: `WebGpuAdapter`, `WebGpuDevice`*" ] pub fn create_device ( & self , ) -> WebGpuDevice { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_device_with_descriptor_WebGPUAdapter ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuAdapter as WasmDescribe > :: describe ( ) ; < & WebGpuDeviceDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuDevice as WasmDescribe > :: describe ( ) ; } impl WebGpuAdapter { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDevice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUAdapter/createDevice)\n\n*This API requires the following crate features to be activated: `WebGpuAdapter`, `WebGpuDevice`, `WebGpuDeviceDescriptor`*" ] pub fn create_device_with_descriptor ( & self , descriptor : & WebGpuDeviceDescriptor ) -> WebGpuDevice { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_device_with_descriptor_WebGPUAdapter ( self_ : < & WebGpuAdapter as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuDeviceDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuDevice as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuAdapter as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuDeviceDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_device_with_descriptor_WebGPUAdapter ( self_ , descriptor ) } ; < WebGpuDevice as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDevice()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUAdapter/createDevice)\n\n*This API requires the following crate features to be activated: `WebGpuAdapter`, `WebGpuDevice`, `WebGpuDeviceDescriptor`*" ] pub fn create_device_with_descriptor ( & self , descriptor : & WebGpuDeviceDescriptor ) -> WebGpuDevice { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_extensions_WebGPUAdapter ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuAdapter as WasmDescribe > :: describe ( ) ; < WebGpuExtensions as WasmDescribe > :: describe ( ) ; } impl WebGpuAdapter { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `extensions()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUAdapter/extensions)\n\n*This API requires the following crate features to be activated: `WebGpuAdapter`, `WebGpuExtensions`*" ] pub fn extensions ( & self , ) -> WebGpuExtensions { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_extensions_WebGPUAdapter ( self_ : < & WebGpuAdapter as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuExtensions as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuAdapter as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_extensions_WebGPUAdapter ( self_ ) } ; < WebGpuExtensions as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `extensions()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUAdapter/extensions)\n\n*This API requires the following crate features to be activated: `WebGpuAdapter`, `WebGpuExtensions`*" ] pub fn extensions ( & self , ) -> WebGpuExtensions { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_WebGPUAdapter ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuAdapter as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WebGpuAdapter { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUAdapter/name)\n\n*This API requires the following crate features to be activated: `WebGpuAdapter`*" ] pub fn name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_WebGPUAdapter ( self_ : < & WebGpuAdapter as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuAdapter as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_WebGPUAdapter ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUAdapter/name)\n\n*This API requires the following crate features to be activated: `WebGpuAdapter`*" ] pub fn name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUAttachmentState` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUAttachmentState)\n\n*This API requires the following crate features to be activated: `WebGpuAttachmentState`*" ] # [ repr ( transparent ) ] pub struct WebGpuAttachmentState { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuAttachmentState : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuAttachmentState { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuAttachmentState { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuAttachmentState { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuAttachmentState { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuAttachmentState { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuAttachmentState { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuAttachmentState { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuAttachmentState { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuAttachmentState { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuAttachmentState > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuAttachmentState { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuAttachmentState { # [ inline ] fn from ( obj : JsValue ) -> WebGpuAttachmentState { WebGpuAttachmentState { obj } } } impl AsRef < JsValue > for WebGpuAttachmentState { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuAttachmentState > for JsValue { # [ inline ] fn from ( obj : WebGpuAttachmentState ) -> JsValue { obj . obj } } impl JsCast for WebGpuAttachmentState { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUAttachmentState ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUAttachmentState ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuAttachmentState { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuAttachmentState ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuAttachmentState { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuAttachmentState > for Object { # [ inline ] fn from ( obj : WebGpuAttachmentState ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuAttachmentState { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUBindGroup` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUBindGroup)\n\n*This API requires the following crate features to be activated: `WebGpuBindGroup`*" ] # [ repr ( transparent ) ] pub struct WebGpuBindGroup { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuBindGroup : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuBindGroup { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBindGroup { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuBindGroup { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBindGroup { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuBindGroup { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBindGroup { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuBindGroup { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuBindGroup { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuBindGroup { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuBindGroup > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuBindGroup { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuBindGroup { # [ inline ] fn from ( obj : JsValue ) -> WebGpuBindGroup { WebGpuBindGroup { obj } } } impl AsRef < JsValue > for WebGpuBindGroup { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuBindGroup > for JsValue { # [ inline ] fn from ( obj : WebGpuBindGroup ) -> JsValue { obj . obj } } impl JsCast for WebGpuBindGroup { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUBindGroup ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUBindGroup ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBindGroup { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBindGroup ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuBindGroup { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuBindGroup > for Object { # [ inline ] fn from ( obj : WebGpuBindGroup ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuBindGroup { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUBindGroupLayout` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUBindGroupLayout)\n\n*This API requires the following crate features to be activated: `WebGpuBindGroupLayout`*" ] # [ repr ( transparent ) ] pub struct WebGpuBindGroupLayout { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuBindGroupLayout : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuBindGroupLayout { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBindGroupLayout { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuBindGroupLayout { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBindGroupLayout { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuBindGroupLayout { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBindGroupLayout { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuBindGroupLayout { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuBindGroupLayout { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuBindGroupLayout { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuBindGroupLayout > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuBindGroupLayout { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuBindGroupLayout { # [ inline ] fn from ( obj : JsValue ) -> WebGpuBindGroupLayout { WebGpuBindGroupLayout { obj } } } impl AsRef < JsValue > for WebGpuBindGroupLayout { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuBindGroupLayout > for JsValue { # [ inline ] fn from ( obj : WebGpuBindGroupLayout ) -> JsValue { obj . obj } } impl JsCast for WebGpuBindGroupLayout { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUBindGroupLayout ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUBindGroupLayout ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBindGroupLayout { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBindGroupLayout ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuBindGroupLayout { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuBindGroupLayout > for Object { # [ inline ] fn from ( obj : WebGpuBindGroupLayout ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuBindGroupLayout { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUBindingType` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUBindingType)\n\n*This API requires the following crate features to be activated: `WebGpuBindingType`*" ] # [ repr ( transparent ) ] pub struct WebGpuBindingType { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuBindingType : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuBindingType { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBindingType { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuBindingType { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBindingType { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuBindingType { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBindingType { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuBindingType { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuBindingType { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuBindingType { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuBindingType > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuBindingType { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuBindingType { # [ inline ] fn from ( obj : JsValue ) -> WebGpuBindingType { WebGpuBindingType { obj } } } impl AsRef < JsValue > for WebGpuBindingType { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuBindingType > for JsValue { # [ inline ] fn from ( obj : WebGpuBindingType ) -> JsValue { obj . obj } } impl JsCast for WebGpuBindingType { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUBindingType ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUBindingType ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBindingType { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBindingType ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuBindingType { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuBindingType > for Object { # [ inline ] fn from ( obj : WebGpuBindingType ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuBindingType { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUBlendFactor` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUBlendFactor)\n\n*This API requires the following crate features to be activated: `WebGpuBlendFactor`*" ] # [ repr ( transparent ) ] pub struct WebGpuBlendFactor { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuBlendFactor : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuBlendFactor { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBlendFactor { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuBlendFactor { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBlendFactor { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuBlendFactor { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBlendFactor { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuBlendFactor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuBlendFactor { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuBlendFactor { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuBlendFactor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuBlendFactor { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuBlendFactor { # [ inline ] fn from ( obj : JsValue ) -> WebGpuBlendFactor { WebGpuBlendFactor { obj } } } impl AsRef < JsValue > for WebGpuBlendFactor { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuBlendFactor > for JsValue { # [ inline ] fn from ( obj : WebGpuBlendFactor ) -> JsValue { obj . obj } } impl JsCast for WebGpuBlendFactor { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUBlendFactor ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUBlendFactor ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBlendFactor { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBlendFactor ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuBlendFactor { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuBlendFactor > for Object { # [ inline ] fn from ( obj : WebGpuBlendFactor ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuBlendFactor { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUBlendOperation` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUBlendOperation)\n\n*This API requires the following crate features to be activated: `WebGpuBlendOperation`*" ] # [ repr ( transparent ) ] pub struct WebGpuBlendOperation { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuBlendOperation : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuBlendOperation { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBlendOperation { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuBlendOperation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBlendOperation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuBlendOperation { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBlendOperation { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuBlendOperation { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuBlendOperation { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuBlendOperation { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuBlendOperation > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuBlendOperation { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuBlendOperation { # [ inline ] fn from ( obj : JsValue ) -> WebGpuBlendOperation { WebGpuBlendOperation { obj } } } impl AsRef < JsValue > for WebGpuBlendOperation { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuBlendOperation > for JsValue { # [ inline ] fn from ( obj : WebGpuBlendOperation ) -> JsValue { obj . obj } } impl JsCast for WebGpuBlendOperation { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUBlendOperation ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUBlendOperation ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBlendOperation { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBlendOperation ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuBlendOperation { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuBlendOperation > for Object { # [ inline ] fn from ( obj : WebGpuBlendOperation ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuBlendOperation { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUBlendState` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUBlendState)\n\n*This API requires the following crate features to be activated: `WebGpuBlendState`*" ] # [ repr ( transparent ) ] pub struct WebGpuBlendState { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuBlendState : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuBlendState { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBlendState { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuBlendState { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBlendState { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuBlendState { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBlendState { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuBlendState { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuBlendState { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuBlendState { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuBlendState > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuBlendState { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuBlendState { # [ inline ] fn from ( obj : JsValue ) -> WebGpuBlendState { WebGpuBlendState { obj } } } impl AsRef < JsValue > for WebGpuBlendState { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuBlendState > for JsValue { # [ inline ] fn from ( obj : WebGpuBlendState ) -> JsValue { obj . obj } } impl JsCast for WebGpuBlendState { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUBlendState ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUBlendState ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBlendState { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBlendState ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuBlendState { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuBlendState > for Object { # [ inline ] fn from ( obj : WebGpuBlendState ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuBlendState { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUBuffer` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`*" ] # [ repr ( transparent ) ] pub struct WebGpuBuffer { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuBuffer : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuBuffer { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBuffer { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuBuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuBuffer { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBuffer { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuBuffer { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuBuffer { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuBuffer { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuBuffer > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuBuffer { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuBuffer { # [ inline ] fn from ( obj : JsValue ) -> WebGpuBuffer { WebGpuBuffer { obj } } } impl AsRef < JsValue > for WebGpuBuffer { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuBuffer > for JsValue { # [ inline ] fn from ( obj : WebGpuBuffer ) -> JsValue { obj . obj } } impl JsCast for WebGpuBuffer { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUBuffer ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUBuffer ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBuffer { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBuffer ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuBuffer { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuBuffer > for Object { # [ inline ] fn from ( obj : WebGpuBuffer ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuBuffer { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_unmap_WebGPUBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuBuffer as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `unmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUBuffer/unmap)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`*" ] pub fn unmap ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_unmap_WebGPUBuffer ( self_ : < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_unmap_WebGPUBuffer ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `unmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUBuffer/unmap)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`*" ] pub fn unmap ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_mapping_WebGPUBuffer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuBuffer as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: ArrayBuffer > as WasmDescribe > :: describe ( ) ; } impl WebGpuBuffer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mapping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUBuffer/mapping)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`*" ] pub fn mapping ( & self , ) -> Option < :: js_sys :: ArrayBuffer > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_mapping_WebGPUBuffer ( self_ : < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_mapping_WebGPUBuffer ( self_ ) } ; < Option < :: js_sys :: ArrayBuffer > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mapping` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUBuffer/mapping)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`*" ] pub fn mapping ( & self , ) -> Option < :: js_sys :: ArrayBuffer > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUBufferUsage` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUBufferUsage)\n\n*This API requires the following crate features to be activated: `WebGpuBufferUsage`*" ] # [ repr ( transparent ) ] pub struct WebGpuBufferUsage { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuBufferUsage : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuBufferUsage { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBufferUsage { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuBufferUsage { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBufferUsage { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuBufferUsage { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBufferUsage { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuBufferUsage { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuBufferUsage { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuBufferUsage { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuBufferUsage > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuBufferUsage { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuBufferUsage { # [ inline ] fn from ( obj : JsValue ) -> WebGpuBufferUsage { WebGpuBufferUsage { obj } } } impl AsRef < JsValue > for WebGpuBufferUsage { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuBufferUsage > for JsValue { # [ inline ] fn from ( obj : WebGpuBufferUsage ) -> JsValue { obj . obj } } impl JsCast for WebGpuBufferUsage { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUBufferUsage ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUBufferUsage ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBufferUsage { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBufferUsage ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuBufferUsage { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuBufferUsage > for Object { # [ inline ] fn from ( obj : WebGpuBufferUsage ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuBufferUsage { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUColorWriteBits` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUColorWriteBits)\n\n*This API requires the following crate features to be activated: `WebGpuColorWriteBits`*" ] # [ repr ( transparent ) ] pub struct WebGpuColorWriteBits { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuColorWriteBits : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuColorWriteBits { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuColorWriteBits { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuColorWriteBits { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuColorWriteBits { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuColorWriteBits { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuColorWriteBits { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuColorWriteBits { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuColorWriteBits { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuColorWriteBits { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuColorWriteBits > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuColorWriteBits { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuColorWriteBits { # [ inline ] fn from ( obj : JsValue ) -> WebGpuColorWriteBits { WebGpuColorWriteBits { obj } } } impl AsRef < JsValue > for WebGpuColorWriteBits { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuColorWriteBits > for JsValue { # [ inline ] fn from ( obj : WebGpuColorWriteBits ) -> JsValue { obj . obj } } impl JsCast for WebGpuColorWriteBits { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUColorWriteBits ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUColorWriteBits ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuColorWriteBits { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuColorWriteBits ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuColorWriteBits { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuColorWriteBits > for Object { # [ inline ] fn from ( obj : WebGpuColorWriteBits ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuColorWriteBits { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUCommandBuffer` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuCommandBuffer`*" ] # [ repr ( transparent ) ] pub struct WebGpuCommandBuffer { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuCommandBuffer : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuCommandBuffer { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuCommandBuffer { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuCommandBuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuCommandBuffer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuCommandBuffer { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuCommandBuffer { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuCommandBuffer { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuCommandBuffer { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuCommandBuffer { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuCommandBuffer > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuCommandBuffer { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuCommandBuffer { # [ inline ] fn from ( obj : JsValue ) -> WebGpuCommandBuffer { WebGpuCommandBuffer { obj } } } impl AsRef < JsValue > for WebGpuCommandBuffer { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuCommandBuffer > for JsValue { # [ inline ] fn from ( obj : WebGpuCommandBuffer ) -> JsValue { obj . obj } } impl JsCast for WebGpuCommandBuffer { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUCommandBuffer ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUCommandBuffer ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuCommandBuffer { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuCommandBuffer ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuCommandBuffer { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuCommandBuffer > for Object { # [ inline ] fn from ( obj : WebGpuCommandBuffer ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuCommandBuffer { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUCommandEncoder` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] # [ repr ( transparent ) ] pub struct WebGpuCommandEncoder { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuCommandEncoder : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuCommandEncoder { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuCommandEncoder { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuCommandEncoder { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuCommandEncoder { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuCommandEncoder { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuCommandEncoder { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuCommandEncoder { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuCommandEncoder { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuCommandEncoder { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuCommandEncoder > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuCommandEncoder { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuCommandEncoder { # [ inline ] fn from ( obj : JsValue ) -> WebGpuCommandEncoder { WebGpuCommandEncoder { obj } } } impl AsRef < JsValue > for WebGpuCommandEncoder { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuCommandEncoder > for JsValue { # [ inline ] fn from ( obj : WebGpuCommandEncoder ) -> JsValue { obj . obj } } impl JsCast for WebGpuCommandEncoder { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUCommandEncoder ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUCommandEncoder ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuCommandEncoder { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuCommandEncoder ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuCommandEncoder { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuCommandEncoder > for Object { # [ inline ] fn from ( obj : WebGpuCommandEncoder ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuCommandEncoder { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_begin_compute_pass_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `beginComputePass()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/beginComputePass)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn begin_compute_pass ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_begin_compute_pass_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_begin_compute_pass_WebGPUCommandEncoder ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `beginComputePass()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/beginComputePass)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn begin_compute_pass ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_begin_render_pass_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `beginRenderPass()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/beginRenderPass)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn begin_render_pass ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_begin_render_pass_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_begin_render_pass_WebGPUCommandEncoder ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `beginRenderPass()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/beginRenderPass)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn begin_render_pass ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_begin_render_pass_with_descriptor_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < & WebGpuRenderPassDescriptor as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `beginRenderPass()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/beginRenderPass)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`, `WebGpuRenderPassDescriptor`*" ] pub fn begin_render_pass_with_descriptor ( & self , descriptor : & WebGpuRenderPassDescriptor ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_begin_render_pass_with_descriptor_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuRenderPassDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuRenderPassDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_begin_render_pass_with_descriptor_WebGPUCommandEncoder ( self_ , descriptor ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `beginRenderPass()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/beginRenderPass)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`, `WebGpuRenderPassDescriptor`*" ] pub fn begin_render_pass_with_descriptor ( & self , descriptor : & WebGpuRenderPassDescriptor ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blit_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blit()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/blit)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn blit ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blit_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_blit_WebGPUCommandEncoder ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blit()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/blit)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn blit ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_buffer_to_buffer_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < & WebGpuBuffer as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & WebGpuBuffer as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyBufferToBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/copyBufferToBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`, `WebGpuCommandEncoder`*" ] pub fn copy_buffer_to_buffer ( & self , src : & WebGpuBuffer , src_offset : u32 , dst : & WebGpuBuffer , dst_offset : u32 , size : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_buffer_to_buffer_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src : < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , src_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst : < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , dst_offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , size : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let src = < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src , & mut __stack ) ; let src_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( src_offset , & mut __stack ) ; let dst = < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst , & mut __stack ) ; let dst_offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( dst_offset , & mut __stack ) ; let size = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( size , & mut __stack ) ; __widl_f_copy_buffer_to_buffer_WebGPUCommandEncoder ( self_ , src , src_offset , dst , dst_offset , size ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyBufferToBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/copyBufferToBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`, `WebGpuCommandEncoder`*" ] pub fn copy_buffer_to_buffer ( & self , src : & WebGpuBuffer , src_offset : u32 , dst : & WebGpuBuffer , dst_offset : u32 , size : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_buffer_to_texture_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyBufferToTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/copyBufferToTexture)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn copy_buffer_to_texture ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_buffer_to_texture_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_copy_buffer_to_texture_WebGPUCommandEncoder ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyBufferToTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/copyBufferToTexture)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn copy_buffer_to_texture ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_texture_to_buffer_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyTextureToBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/copyTextureToBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn copy_texture_to_buffer ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_texture_to_buffer_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_copy_texture_to_buffer_WebGPUCommandEncoder ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyTextureToBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/copyTextureToBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn copy_texture_to_buffer ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_copy_texture_to_texture_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `copyTextureToTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/copyTextureToTexture)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn copy_texture_to_texture ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_copy_texture_to_texture_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_copy_texture_to_texture_WebGPUCommandEncoder ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `copyTextureToTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/copyTextureToTexture)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn copy_texture_to_texture ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dispatch_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dispatch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/dispatch)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn dispatch ( & self , x : u32 , y : u32 , z : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dispatch_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_dispatch_WebGPUCommandEncoder ( self_ , x , y , z ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dispatch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/dispatch)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn dispatch ( & self , x : u32 , y : u32 , z : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `draw()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/draw)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn draw ( & self , vertex_count : u32 , instance_count : u32 , first_vertex : u32 , first_instance : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , vertex_count : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , instance_count : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , first_vertex : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , first_instance : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let vertex_count = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( vertex_count , & mut __stack ) ; let instance_count = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( instance_count , & mut __stack ) ; let first_vertex = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( first_vertex , & mut __stack ) ; let first_instance = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( first_instance , & mut __stack ) ; __widl_f_draw_WebGPUCommandEncoder ( self_ , vertex_count , instance_count , first_vertex , first_instance ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `draw()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/draw)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn draw ( & self , vertex_count : u32 , instance_count : u32 , first_vertex : u32 , first_instance : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_draw_indexed_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `drawIndexed()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/drawIndexed)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn draw_indexed ( & self , index_count : u32 , instance_count : u32 , first_index : u32 , first_instance : u32 , first_vertex : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_draw_indexed_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index_count : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , instance_count : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , first_index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , first_instance : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , first_vertex : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index_count = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index_count , & mut __stack ) ; let instance_count = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( instance_count , & mut __stack ) ; let first_index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( first_index , & mut __stack ) ; let first_instance = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( first_instance , & mut __stack ) ; let first_vertex = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( first_vertex , & mut __stack ) ; __widl_f_draw_indexed_WebGPUCommandEncoder ( self_ , index_count , instance_count , first_index , first_instance , first_vertex ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `drawIndexed()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/drawIndexed)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn draw_indexed ( & self , index_count : u32 , instance_count : u32 , first_index : u32 , first_instance : u32 , first_vertex : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_end_compute_pass_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `endComputePass()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/endComputePass)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn end_compute_pass ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_end_compute_pass_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_end_compute_pass_WebGPUCommandEncoder ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `endComputePass()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/endComputePass)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn end_compute_pass ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_end_render_pass_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `endRenderPass()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/endRenderPass)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn end_render_pass ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_end_render_pass_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_end_render_pass_WebGPUCommandEncoder ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `endRenderPass()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/endRenderPass)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn end_render_pass ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_finish_encoding_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < WebGpuCommandBuffer as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `finishEncoding()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/finishEncoding)\n\n*This API requires the following crate features to be activated: `WebGpuCommandBuffer`, `WebGpuCommandEncoder`*" ] pub fn finish_encoding ( & self , ) -> WebGpuCommandBuffer { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_finish_encoding_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuCommandBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_finish_encoding_WebGPUCommandEncoder ( self_ ) } ; < WebGpuCommandBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `finishEncoding()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/finishEncoding)\n\n*This API requires the following crate features to be activated: `WebGpuCommandBuffer`, `WebGpuCommandEncoder`*" ] pub fn finish_encoding ( & self , ) -> WebGpuCommandBuffer { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_bind_group_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & WebGpuBindGroup as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setBindGroup()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/setBindGroup)\n\n*This API requires the following crate features to be activated: `WebGpuBindGroup`, `WebGpuCommandEncoder`*" ] pub fn set_bind_group ( & self , index : u32 , bind_group : & WebGpuBindGroup ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_bind_group_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , bind_group : < & WebGpuBindGroup as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; let bind_group = < & WebGpuBindGroup as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( bind_group , & mut __stack ) ; __widl_f_set_bind_group_WebGPUCommandEncoder ( self_ , index , bind_group ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setBindGroup()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/setBindGroup)\n\n*This API requires the following crate features to be activated: `WebGpuBindGroup`, `WebGpuCommandEncoder`*" ] pub fn set_bind_group ( & self , index : u32 , bind_group : & WebGpuBindGroup ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_blend_color_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < f32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setBlendColor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/setBlendColor)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn set_blend_color ( & self , r : f32 , g : f32 , b : f32 , a : f32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_blend_color_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , r : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , g : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , b : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a : < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let r = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( r , & mut __stack ) ; let g = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( g , & mut __stack ) ; let b = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( b , & mut __stack ) ; let a = < f32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a , & mut __stack ) ; __widl_f_set_blend_color_WebGPUCommandEncoder ( self_ , r , g , b , a ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setBlendColor()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/setBlendColor)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn set_blend_color ( & self , r : f32 , g : f32 , b : f32 , a : f32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_index_buffer_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < & WebGpuBuffer as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setIndexBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/setIndexBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`, `WebGpuCommandEncoder`*" ] pub fn set_index_buffer ( & self , buffer : & WebGpuBuffer , offset : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_index_buffer_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , buffer : < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let buffer = < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( buffer , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; __widl_f_set_index_buffer_WebGPUCommandEncoder ( self_ , buffer , offset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setIndexBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/setIndexBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`, `WebGpuCommandEncoder`*" ] pub fn set_index_buffer ( & self , buffer : & WebGpuBuffer , offset : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_pipeline_with_web_gpu_compute_pipeline_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < & WebGpuComputePipeline as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setPipeline()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/setPipeline)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`, `WebGpuComputePipeline`*" ] pub fn set_pipeline_with_web_gpu_compute_pipeline ( & self , pipeline : & WebGpuComputePipeline ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_pipeline_with_web_gpu_compute_pipeline_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pipeline : < & WebGpuComputePipeline as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pipeline = < & WebGpuComputePipeline as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pipeline , & mut __stack ) ; __widl_f_set_pipeline_with_web_gpu_compute_pipeline_WebGPUCommandEncoder ( self_ , pipeline ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setPipeline()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/setPipeline)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`, `WebGpuComputePipeline`*" ] pub fn set_pipeline_with_web_gpu_compute_pipeline ( & self , pipeline : & WebGpuComputePipeline ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_pipeline_with_web_gpu_render_pipeline_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < & WebGpuRenderPipeline as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setPipeline()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/setPipeline)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`, `WebGpuRenderPipeline`*" ] pub fn set_pipeline_with_web_gpu_render_pipeline ( & self , pipeline : & WebGpuRenderPipeline ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_pipeline_with_web_gpu_render_pipeline_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pipeline : < & WebGpuRenderPipeline as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let pipeline = < & WebGpuRenderPipeline as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pipeline , & mut __stack ) ; __widl_f_set_pipeline_with_web_gpu_render_pipeline_WebGPUCommandEncoder ( self_ , pipeline ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setPipeline()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/setPipeline)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`, `WebGpuRenderPipeline`*" ] pub fn set_pipeline_with_web_gpu_render_pipeline ( & self , pipeline : & WebGpuRenderPipeline ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_push_constants_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setPushConstants()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/setPushConstants)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn set_push_constants ( & self , stage : u32 , offset : u32 , count : u32 , data : & :: js_sys :: ArrayBuffer ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_push_constants_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , stage : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , offset : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , count : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let stage = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( stage , & mut __stack ) ; let offset = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( offset , & mut __stack ) ; let count = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( count , & mut __stack ) ; let data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_set_push_constants_WebGPUCommandEncoder ( self_ , stage , offset , count , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setPushConstants()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/setPushConstants)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`*" ] pub fn set_push_constants ( & self , stage : u32 , offset : u32 , count : u32 , data : & :: js_sys :: ArrayBuffer ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transition_buffer_WebGPUCommandEncoder ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; < & WebGpuBuffer as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuCommandEncoder { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transitionBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/transitionBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`, `WebGpuCommandEncoder`*" ] pub fn transition_buffer ( & self , b : & WebGpuBuffer , f : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transition_buffer_WebGPUCommandEncoder ( self_ : < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , b : < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , f : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuCommandEncoder as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let b = < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( b , & mut __stack ) ; let f = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( f , & mut __stack ) ; __widl_f_transition_buffer_WebGPUCommandEncoder ( self_ , b , f ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transitionBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCommandEncoder/transitionBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`, `WebGpuCommandEncoder`*" ] pub fn transition_buffer ( & self , b : & WebGpuBuffer , f : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUCompareFunction` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUCompareFunction)\n\n*This API requires the following crate features to be activated: `WebGpuCompareFunction`*" ] # [ repr ( transparent ) ] pub struct WebGpuCompareFunction { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuCompareFunction : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuCompareFunction { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuCompareFunction { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuCompareFunction { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuCompareFunction { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuCompareFunction { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuCompareFunction { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuCompareFunction { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuCompareFunction { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuCompareFunction { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuCompareFunction > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuCompareFunction { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuCompareFunction { # [ inline ] fn from ( obj : JsValue ) -> WebGpuCompareFunction { WebGpuCompareFunction { obj } } } impl AsRef < JsValue > for WebGpuCompareFunction { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuCompareFunction > for JsValue { # [ inline ] fn from ( obj : WebGpuCompareFunction ) -> JsValue { obj . obj } } impl JsCast for WebGpuCompareFunction { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUCompareFunction ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUCompareFunction ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuCompareFunction { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuCompareFunction ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuCompareFunction { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuCompareFunction > for Object { # [ inline ] fn from ( obj : WebGpuCompareFunction ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuCompareFunction { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUComputePipeline` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUComputePipeline)\n\n*This API requires the following crate features to be activated: `WebGpuComputePipeline`*" ] # [ repr ( transparent ) ] pub struct WebGpuComputePipeline { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuComputePipeline : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuComputePipeline { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuComputePipeline { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuComputePipeline { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuComputePipeline { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuComputePipeline { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuComputePipeline { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuComputePipeline { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuComputePipeline { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuComputePipeline { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuComputePipeline > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuComputePipeline { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuComputePipeline { # [ inline ] fn from ( obj : JsValue ) -> WebGpuComputePipeline { WebGpuComputePipeline { obj } } } impl AsRef < JsValue > for WebGpuComputePipeline { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuComputePipeline > for JsValue { # [ inline ] fn from ( obj : WebGpuComputePipeline ) -> JsValue { obj . obj } } impl JsCast for WebGpuComputePipeline { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUComputePipeline ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUComputePipeline ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuComputePipeline { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuComputePipeline ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuComputePipeline { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuComputePipeline > for Object { # [ inline ] fn from ( obj : WebGpuComputePipeline ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuComputePipeline { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUDepthStencilState` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDepthStencilState)\n\n*This API requires the following crate features to be activated: `WebGpuDepthStencilState`*" ] # [ repr ( transparent ) ] pub struct WebGpuDepthStencilState { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuDepthStencilState : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuDepthStencilState { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuDepthStencilState { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuDepthStencilState { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuDepthStencilState { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuDepthStencilState { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuDepthStencilState { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuDepthStencilState { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuDepthStencilState { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuDepthStencilState { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuDepthStencilState > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuDepthStencilState { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuDepthStencilState { # [ inline ] fn from ( obj : JsValue ) -> WebGpuDepthStencilState { WebGpuDepthStencilState { obj } } } impl AsRef < JsValue > for WebGpuDepthStencilState { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuDepthStencilState > for JsValue { # [ inline ] fn from ( obj : WebGpuDepthStencilState ) -> JsValue { obj . obj } } impl JsCast for WebGpuDepthStencilState { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUDepthStencilState ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUDepthStencilState ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuDepthStencilState { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuDepthStencilState ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuDepthStencilState { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuDepthStencilState > for Object { # [ inline ] fn from ( obj : WebGpuDepthStencilState ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuDepthStencilState { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUDevice` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`*" ] # [ repr ( transparent ) ] pub struct WebGpuDevice { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuDevice : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuDevice { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuDevice { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuDevice { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuDevice { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuDevice { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuDevice { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuDevice { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuDevice { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuDevice { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuDevice > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuDevice { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuDevice { # [ inline ] fn from ( obj : JsValue ) -> WebGpuDevice { WebGpuDevice { obj } } } impl AsRef < JsValue > for WebGpuDevice { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuDevice > for JsValue { # [ inline ] fn from ( obj : WebGpuDevice ) -> JsValue { obj . obj } } impl JsCast for WebGpuDevice { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUDevice ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUDevice ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuDevice { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuDevice ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuDevice { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuDevice > for Object { # [ inline ] fn from ( obj : WebGpuDevice ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuDevice { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_attachment_state_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuAttachmentState as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createAttachmentState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createAttachmentState)\n\n*This API requires the following crate features to be activated: `WebGpuAttachmentState`, `WebGpuDevice`*" ] pub fn create_attachment_state ( & self , ) -> WebGpuAttachmentState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_attachment_state_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuAttachmentState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_attachment_state_WebGPUDevice ( self_ ) } ; < WebGpuAttachmentState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createAttachmentState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createAttachmentState)\n\n*This API requires the following crate features to be activated: `WebGpuAttachmentState`, `WebGpuDevice`*" ] pub fn create_attachment_state ( & self , ) -> WebGpuAttachmentState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_attachment_state_with_descriptor_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuAttachmentStateDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuAttachmentState as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createAttachmentState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createAttachmentState)\n\n*This API requires the following crate features to be activated: `WebGpuAttachmentState`, `WebGpuAttachmentStateDescriptor`, `WebGpuDevice`*" ] pub fn create_attachment_state_with_descriptor ( & self , descriptor : & WebGpuAttachmentStateDescriptor ) -> WebGpuAttachmentState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_attachment_state_with_descriptor_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuAttachmentStateDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuAttachmentState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuAttachmentStateDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_attachment_state_with_descriptor_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuAttachmentState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createAttachmentState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createAttachmentState)\n\n*This API requires the following crate features to be activated: `WebGpuAttachmentState`, `WebGpuAttachmentStateDescriptor`, `WebGpuDevice`*" ] pub fn create_attachment_state_with_descriptor ( & self , descriptor : & WebGpuAttachmentStateDescriptor ) -> WebGpuAttachmentState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_bind_group_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuBindGroup as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBindGroup()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBindGroup)\n\n*This API requires the following crate features to be activated: `WebGpuBindGroup`, `WebGpuDevice`*" ] pub fn create_bind_group ( & self , ) -> WebGpuBindGroup { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_bind_group_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuBindGroup as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_bind_group_WebGPUDevice ( self_ ) } ; < WebGpuBindGroup as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBindGroup()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBindGroup)\n\n*This API requires the following crate features to be activated: `WebGpuBindGroup`, `WebGpuDevice`*" ] pub fn create_bind_group ( & self , ) -> WebGpuBindGroup { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_bind_group_with_descriptor_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuBindGroupDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuBindGroup as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBindGroup()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBindGroup)\n\n*This API requires the following crate features to be activated: `WebGpuBindGroup`, `WebGpuBindGroupDescriptor`, `WebGpuDevice`*" ] pub fn create_bind_group_with_descriptor ( & self , descriptor : & WebGpuBindGroupDescriptor ) -> WebGpuBindGroup { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_bind_group_with_descriptor_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuBindGroupDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuBindGroup as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuBindGroupDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_bind_group_with_descriptor_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuBindGroup as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBindGroup()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBindGroup)\n\n*This API requires the following crate features to be activated: `WebGpuBindGroup`, `WebGpuBindGroupDescriptor`, `WebGpuDevice`*" ] pub fn create_bind_group_with_descriptor ( & self , descriptor : & WebGpuBindGroupDescriptor ) -> WebGpuBindGroup { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_bind_group_layout_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuBindGroupLayout as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBindGroupLayout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBindGroupLayout)\n\n*This API requires the following crate features to be activated: `WebGpuBindGroupLayout`, `WebGpuDevice`*" ] pub fn create_bind_group_layout ( & self , ) -> WebGpuBindGroupLayout { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_bind_group_layout_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuBindGroupLayout as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_bind_group_layout_WebGPUDevice ( self_ ) } ; < WebGpuBindGroupLayout as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBindGroupLayout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBindGroupLayout)\n\n*This API requires the following crate features to be activated: `WebGpuBindGroupLayout`, `WebGpuDevice`*" ] pub fn create_bind_group_layout ( & self , ) -> WebGpuBindGroupLayout { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_bind_group_layout_with_descriptor_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuBindGroupLayoutDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuBindGroupLayout as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBindGroupLayout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBindGroupLayout)\n\n*This API requires the following crate features to be activated: `WebGpuBindGroupLayout`, `WebGpuBindGroupLayoutDescriptor`, `WebGpuDevice`*" ] pub fn create_bind_group_layout_with_descriptor ( & self , descriptor : & WebGpuBindGroupLayoutDescriptor ) -> WebGpuBindGroupLayout { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_bind_group_layout_with_descriptor_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuBindGroupLayoutDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuBindGroupLayout as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuBindGroupLayoutDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_bind_group_layout_with_descriptor_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuBindGroupLayout as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBindGroupLayout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBindGroupLayout)\n\n*This API requires the following crate features to be activated: `WebGpuBindGroupLayout`, `WebGpuBindGroupLayoutDescriptor`, `WebGpuDevice`*" ] pub fn create_bind_group_layout_with_descriptor ( & self , descriptor : & WebGpuBindGroupLayoutDescriptor ) -> WebGpuBindGroupLayout { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_blend_state_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuBlendState as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBlendState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBlendState)\n\n*This API requires the following crate features to be activated: `WebGpuBlendState`, `WebGpuDevice`*" ] pub fn create_blend_state ( & self , ) -> WebGpuBlendState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_blend_state_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuBlendState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_blend_state_WebGPUDevice ( self_ ) } ; < WebGpuBlendState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBlendState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBlendState)\n\n*This API requires the following crate features to be activated: `WebGpuBlendState`, `WebGpuDevice`*" ] pub fn create_blend_state ( & self , ) -> WebGpuBlendState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_blend_state_with_descriptor_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuBlendStateDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuBlendState as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBlendState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBlendState)\n\n*This API requires the following crate features to be activated: `WebGpuBlendState`, `WebGpuBlendStateDescriptor`, `WebGpuDevice`*" ] pub fn create_blend_state_with_descriptor ( & self , descriptor : & WebGpuBlendStateDescriptor ) -> WebGpuBlendState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_blend_state_with_descriptor_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuBlendStateDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuBlendState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuBlendStateDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_blend_state_with_descriptor_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuBlendState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBlendState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBlendState)\n\n*This API requires the following crate features to be activated: `WebGpuBlendState`, `WebGpuBlendStateDescriptor`, `WebGpuDevice`*" ] pub fn create_blend_state_with_descriptor ( & self , descriptor : & WebGpuBlendStateDescriptor ) -> WebGpuBlendState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_buffer_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuBuffer as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`, `WebGpuDevice`*" ] pub fn create_buffer ( & self , ) -> WebGpuBuffer { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_buffer_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_buffer_WebGPUDevice ( self_ ) } ; < WebGpuBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`, `WebGpuDevice`*" ] pub fn create_buffer ( & self , ) -> WebGpuBuffer { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_buffer_with_descriptor_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuBufferDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuBuffer as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`, `WebGpuBufferDescriptor`, `WebGpuDevice`*" ] pub fn create_buffer_with_descriptor ( & self , descriptor : & WebGpuBufferDescriptor ) -> WebGpuBuffer { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_buffer_with_descriptor_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuBufferDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuBufferDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_buffer_with_descriptor_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuBuffer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createBuffer()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createBuffer)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`, `WebGpuBufferDescriptor`, `WebGpuDevice`*" ] pub fn create_buffer_with_descriptor ( & self , descriptor : & WebGpuBufferDescriptor ) -> WebGpuBuffer { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_command_encoder_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createCommandEncoder()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createCommandEncoder)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`, `WebGpuDevice`*" ] pub fn create_command_encoder ( & self , ) -> WebGpuCommandEncoder { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_command_encoder_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuCommandEncoder as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_command_encoder_WebGPUDevice ( self_ ) } ; < WebGpuCommandEncoder as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createCommandEncoder()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createCommandEncoder)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`, `WebGpuDevice`*" ] pub fn create_command_encoder ( & self , ) -> WebGpuCommandEncoder { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_command_encoder_with_descriptor_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuCommandEncoderDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuCommandEncoder as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createCommandEncoder()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createCommandEncoder)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`, `WebGpuCommandEncoderDescriptor`, `WebGpuDevice`*" ] pub fn create_command_encoder_with_descriptor ( & self , descriptor : & WebGpuCommandEncoderDescriptor ) -> WebGpuCommandEncoder { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_command_encoder_with_descriptor_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuCommandEncoderDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuCommandEncoder as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuCommandEncoderDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_command_encoder_with_descriptor_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuCommandEncoder as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createCommandEncoder()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createCommandEncoder)\n\n*This API requires the following crate features to be activated: `WebGpuCommandEncoder`, `WebGpuCommandEncoderDescriptor`, `WebGpuDevice`*" ] pub fn create_command_encoder_with_descriptor ( & self , descriptor : & WebGpuCommandEncoderDescriptor ) -> WebGpuCommandEncoder { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_compute_pipeline_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuComputePipelineDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuComputePipeline as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createComputePipeline()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createComputePipeline)\n\n*This API requires the following crate features to be activated: `WebGpuComputePipeline`, `WebGpuComputePipelineDescriptor`, `WebGpuDevice`*" ] pub fn create_compute_pipeline ( & self , descriptor : & WebGpuComputePipelineDescriptor ) -> WebGpuComputePipeline { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_compute_pipeline_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuComputePipelineDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuComputePipeline as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuComputePipelineDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_compute_pipeline_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuComputePipeline as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createComputePipeline()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createComputePipeline)\n\n*This API requires the following crate features to be activated: `WebGpuComputePipeline`, `WebGpuComputePipelineDescriptor`, `WebGpuDevice`*" ] pub fn create_compute_pipeline ( & self , descriptor : & WebGpuComputePipelineDescriptor ) -> WebGpuComputePipeline { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_depth_stencil_state_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuDepthStencilState as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDepthStencilState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createDepthStencilState)\n\n*This API requires the following crate features to be activated: `WebGpuDepthStencilState`, `WebGpuDevice`*" ] pub fn create_depth_stencil_state ( & self , ) -> WebGpuDepthStencilState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_depth_stencil_state_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuDepthStencilState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_depth_stencil_state_WebGPUDevice ( self_ ) } ; < WebGpuDepthStencilState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDepthStencilState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createDepthStencilState)\n\n*This API requires the following crate features to be activated: `WebGpuDepthStencilState`, `WebGpuDevice`*" ] pub fn create_depth_stencil_state ( & self , ) -> WebGpuDepthStencilState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_depth_stencil_state_with_descriptor_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuDepthStencilStateDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuDepthStencilState as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createDepthStencilState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createDepthStencilState)\n\n*This API requires the following crate features to be activated: `WebGpuDepthStencilState`, `WebGpuDepthStencilStateDescriptor`, `WebGpuDevice`*" ] pub fn create_depth_stencil_state_with_descriptor ( & self , descriptor : & WebGpuDepthStencilStateDescriptor ) -> WebGpuDepthStencilState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_depth_stencil_state_with_descriptor_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuDepthStencilStateDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuDepthStencilState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuDepthStencilStateDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_depth_stencil_state_with_descriptor_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuDepthStencilState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createDepthStencilState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createDepthStencilState)\n\n*This API requires the following crate features to be activated: `WebGpuDepthStencilState`, `WebGpuDepthStencilStateDescriptor`, `WebGpuDevice`*" ] pub fn create_depth_stencil_state_with_descriptor ( & self , descriptor : & WebGpuDepthStencilStateDescriptor ) -> WebGpuDepthStencilState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_input_state_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuInputState as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createInputState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createInputState)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuInputState`*" ] pub fn create_input_state ( & self , ) -> WebGpuInputState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_input_state_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuInputState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_input_state_WebGPUDevice ( self_ ) } ; < WebGpuInputState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createInputState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createInputState)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuInputState`*" ] pub fn create_input_state ( & self , ) -> WebGpuInputState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_input_state_with_descriptor_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuInputStateDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuInputState as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createInputState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createInputState)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuInputState`, `WebGpuInputStateDescriptor`*" ] pub fn create_input_state_with_descriptor ( & self , descriptor : & WebGpuInputStateDescriptor ) -> WebGpuInputState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_input_state_with_descriptor_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuInputStateDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuInputState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuInputStateDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_input_state_with_descriptor_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuInputState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createInputState()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createInputState)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuInputState`, `WebGpuInputStateDescriptor`*" ] pub fn create_input_state_with_descriptor ( & self , descriptor : & WebGpuInputStateDescriptor ) -> WebGpuInputState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_pipeline_layout_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuPipelineLayout as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPipelineLayout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createPipelineLayout)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuPipelineLayout`*" ] pub fn create_pipeline_layout ( & self , ) -> WebGpuPipelineLayout { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_pipeline_layout_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuPipelineLayout as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_pipeline_layout_WebGPUDevice ( self_ ) } ; < WebGpuPipelineLayout as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPipelineLayout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createPipelineLayout)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuPipelineLayout`*" ] pub fn create_pipeline_layout ( & self , ) -> WebGpuPipelineLayout { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_pipeline_layout_with_descriptor_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuPipelineLayoutDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuPipelineLayout as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createPipelineLayout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createPipelineLayout)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuPipelineLayout`, `WebGpuPipelineLayoutDescriptor`*" ] pub fn create_pipeline_layout_with_descriptor ( & self , descriptor : & WebGpuPipelineLayoutDescriptor ) -> WebGpuPipelineLayout { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_pipeline_layout_with_descriptor_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuPipelineLayoutDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuPipelineLayout as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuPipelineLayoutDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_pipeline_layout_with_descriptor_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuPipelineLayout as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createPipelineLayout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createPipelineLayout)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuPipelineLayout`, `WebGpuPipelineLayoutDescriptor`*" ] pub fn create_pipeline_layout_with_descriptor ( & self , descriptor : & WebGpuPipelineLayoutDescriptor ) -> WebGpuPipelineLayout { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_render_pipeline_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuRenderPipelineDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuRenderPipeline as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createRenderPipeline()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createRenderPipeline)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuRenderPipeline`, `WebGpuRenderPipelineDescriptor`*" ] pub fn create_render_pipeline ( & self , descriptor : & WebGpuRenderPipelineDescriptor ) -> WebGpuRenderPipeline { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_render_pipeline_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuRenderPipelineDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuRenderPipeline as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuRenderPipelineDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_render_pipeline_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuRenderPipeline as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createRenderPipeline()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createRenderPipeline)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuRenderPipeline`, `WebGpuRenderPipelineDescriptor`*" ] pub fn create_render_pipeline ( & self , descriptor : & WebGpuRenderPipelineDescriptor ) -> WebGpuRenderPipeline { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_sampler_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuSampler as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSampler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createSampler)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuSampler`*" ] pub fn create_sampler ( & self , ) -> WebGpuSampler { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_sampler_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuSampler as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_sampler_WebGPUDevice ( self_ ) } ; < WebGpuSampler as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSampler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createSampler)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuSampler`*" ] pub fn create_sampler ( & self , ) -> WebGpuSampler { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_sampler_with_descriptor_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuSamplerDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuSampler as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSampler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createSampler)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuSampler`, `WebGpuSamplerDescriptor`*" ] pub fn create_sampler_with_descriptor ( & self , descriptor : & WebGpuSamplerDescriptor ) -> WebGpuSampler { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_sampler_with_descriptor_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuSamplerDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuSampler as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuSamplerDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_sampler_with_descriptor_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuSampler as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSampler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createSampler)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuSampler`, `WebGpuSamplerDescriptor`*" ] pub fn create_sampler_with_descriptor ( & self , descriptor : & WebGpuSamplerDescriptor ) -> WebGpuSampler { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_shader_module_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuShaderModuleDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuShaderModule as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createShaderModule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createShaderModule)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuShaderModule`, `WebGpuShaderModuleDescriptor`*" ] pub fn create_shader_module ( & self , descriptor : & WebGpuShaderModuleDescriptor ) -> WebGpuShaderModule { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_shader_module_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuShaderModuleDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuShaderModule as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuShaderModuleDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_shader_module_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuShaderModule as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createShaderModule()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createShaderModule)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuShaderModule`, `WebGpuShaderModuleDescriptor`*" ] pub fn create_shader_module ( & self , descriptor : & WebGpuShaderModuleDescriptor ) -> WebGpuShaderModule { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_texture_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuTexture as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createTexture)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuTexture`*" ] pub fn create_texture ( & self , ) -> WebGpuTexture { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_texture_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuTexture as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_texture_WebGPUDevice ( self_ ) } ; < WebGpuTexture as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createTexture)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuTexture`*" ] pub fn create_texture ( & self , ) -> WebGpuTexture { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_texture_with_descriptor_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuTextureDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuTexture as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createTexture)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuTexture`, `WebGpuTextureDescriptor`*" ] pub fn create_texture_with_descriptor ( & self , descriptor : & WebGpuTextureDescriptor ) -> WebGpuTexture { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_texture_with_descriptor_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuTextureDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuTexture as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuTextureDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_create_texture_with_descriptor_WebGPUDevice ( self_ , descriptor ) } ; < WebGpuTexture as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/createTexture)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuTexture`, `WebGpuTextureDescriptor`*" ] pub fn create_texture_with_descriptor ( & self , descriptor : & WebGpuTextureDescriptor ) -> WebGpuTexture { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_extensions_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuExtensions as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `extensions()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/extensions)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuExtensions`*" ] pub fn extensions ( & self , ) -> WebGpuExtensions { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_extensions_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuExtensions as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_extensions_WebGPUDevice ( self_ ) } ; < WebGpuExtensions as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `extensions()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/extensions)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuExtensions`*" ] pub fn extensions ( & self , ) -> WebGpuExtensions { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_object_status_with_web_gpu_buffer_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuBuffer as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getObjectStatus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/getObjectStatus)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`, `WebGpuDevice`*" ] pub fn get_object_status_with_web_gpu_buffer ( & self , obj : & WebGpuBuffer ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_object_status_with_web_gpu_buffer_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , obj : < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let obj = < & WebGpuBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( obj , & mut __stack ) ; __widl_f_get_object_status_with_web_gpu_buffer_WebGPUDevice ( self_ , obj ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getObjectStatus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/getObjectStatus)\n\n*This API requires the following crate features to be activated: `WebGpuBuffer`, `WebGpuDevice`*" ] pub fn get_object_status_with_web_gpu_buffer ( & self , obj : & WebGpuBuffer ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_object_status_with_web_gpu_texture_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & WebGpuTexture as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getObjectStatus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/getObjectStatus)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuTexture`*" ] pub fn get_object_status_with_web_gpu_texture ( & self , obj : & WebGpuTexture ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_object_status_with_web_gpu_texture_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , obj : < & WebGpuTexture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let obj = < & WebGpuTexture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( obj , & mut __stack ) ; __widl_f_get_object_status_with_web_gpu_texture_WebGPUDevice ( self_ , obj ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getObjectStatus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/getObjectStatus)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuTexture`*" ] pub fn get_object_status_with_web_gpu_texture ( & self , obj : & WebGpuTexture ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_queue_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuQueue as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getQueue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/getQueue)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuQueue`*" ] pub fn get_queue ( & self , ) -> WebGpuQueue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_queue_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuQueue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_queue_WebGPUDevice ( self_ ) } ; < WebGpuQueue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getQueue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/getQueue)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuQueue`*" ] pub fn get_queue ( & self , ) -> WebGpuQueue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_limits_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuLimits as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `limits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/limits)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuLimits`*" ] pub fn limits ( & self , ) -> WebGpuLimits { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_limits_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuLimits as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_limits_WebGPUDevice ( self_ ) } ; < WebGpuLimits as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `limits()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/limits)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`, `WebGpuLimits`*" ] pub fn limits ( & self , ) -> WebGpuLimits { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_adapter_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < WebGpuAdapter as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `adapter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/adapter)\n\n*This API requires the following crate features to be activated: `WebGpuAdapter`, `WebGpuDevice`*" ] pub fn adapter ( & self , ) -> WebGpuAdapter { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_adapter_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuAdapter as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_adapter_WebGPUDevice ( self_ ) } ; < WebGpuAdapter as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `adapter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/adapter)\n\n*This API requires the following crate features to be activated: `WebGpuAdapter`, `WebGpuDevice`*" ] pub fn adapter ( & self , ) -> WebGpuAdapter { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_on_log_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < :: js_sys :: Function as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onLog` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/onLog)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`*" ] pub fn on_log ( & self , ) -> :: js_sys :: Function { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_on_log_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Function as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_on_log_WebGPUDevice ( self_ ) } ; < :: js_sys :: Function as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onLog` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/onLog)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`*" ] pub fn on_log ( & self , ) -> :: js_sys :: Function { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_on_log_WebGPUDevice ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuDevice as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuDevice { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onLog` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/onLog)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`*" ] pub fn set_on_log ( & self , on_log : & :: js_sys :: Function ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_on_log_WebGPUDevice ( self_ : < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , on_log : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuDevice as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let on_log = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( on_log , & mut __stack ) ; __widl_f_set_on_log_WebGPUDevice ( self_ , on_log ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onLog` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUDevice/onLog)\n\n*This API requires the following crate features to be activated: `WebGpuDevice`*" ] pub fn set_on_log ( & self , on_log : & :: js_sys :: Function ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUFence` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUFence)\n\n*This API requires the following crate features to be activated: `WebGpuFence`*" ] # [ repr ( transparent ) ] pub struct WebGpuFence { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuFence : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuFence { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuFence { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuFence { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuFence { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuFence { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuFence { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuFence { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuFence { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuFence { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuFence > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuFence { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuFence { # [ inline ] fn from ( obj : JsValue ) -> WebGpuFence { WebGpuFence { obj } } } impl AsRef < JsValue > for WebGpuFence { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuFence > for JsValue { # [ inline ] fn from ( obj : WebGpuFence ) -> JsValue { obj . obj } } impl JsCast for WebGpuFence { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUFence ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUFence ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuFence { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuFence ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuFence { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuFence > for Object { # [ inline ] fn from ( obj : WebGpuFence ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuFence { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_wait_WebGPUFence ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuFence as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WebGpuFence { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `wait()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUFence/wait)\n\n*This API requires the following crate features to be activated: `WebGpuFence`*" ] pub fn wait ( & self , milliseconds : f64 ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_wait_WebGPUFence ( self_ : < & WebGpuFence as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , milliseconds : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuFence as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let milliseconds = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( milliseconds , & mut __stack ) ; __widl_f_wait_WebGPUFence ( self_ , milliseconds ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `wait()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUFence/wait)\n\n*This API requires the following crate features to be activated: `WebGpuFence`*" ] pub fn wait ( & self , milliseconds : f64 ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_promise_WebGPUFence ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuFence as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WebGpuFence { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `promise` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUFence/promise)\n\n*This API requires the following crate features to be activated: `WebGpuFence`*" ] pub fn promise ( & self , ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_promise_WebGPUFence ( self_ : < & WebGpuFence as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuFence as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_promise_WebGPUFence ( self_ ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `promise` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUFence/promise)\n\n*This API requires the following crate features to be activated: `WebGpuFence`*" ] pub fn promise ( & self , ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUFilterMode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUFilterMode)\n\n*This API requires the following crate features to be activated: `WebGpuFilterMode`*" ] # [ repr ( transparent ) ] pub struct WebGpuFilterMode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuFilterMode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuFilterMode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuFilterMode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuFilterMode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuFilterMode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuFilterMode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuFilterMode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuFilterMode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuFilterMode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuFilterMode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuFilterMode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuFilterMode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuFilterMode { # [ inline ] fn from ( obj : JsValue ) -> WebGpuFilterMode { WebGpuFilterMode { obj } } } impl AsRef < JsValue > for WebGpuFilterMode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuFilterMode > for JsValue { # [ inline ] fn from ( obj : WebGpuFilterMode ) -> JsValue { obj . obj } } impl JsCast for WebGpuFilterMode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUFilterMode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUFilterMode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuFilterMode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuFilterMode ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuFilterMode { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuFilterMode > for Object { # [ inline ] fn from ( obj : WebGpuFilterMode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuFilterMode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUIndexFormat` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUIndexFormat)\n\n*This API requires the following crate features to be activated: `WebGpuIndexFormat`*" ] # [ repr ( transparent ) ] pub struct WebGpuIndexFormat { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuIndexFormat : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuIndexFormat { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuIndexFormat { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuIndexFormat { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuIndexFormat { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuIndexFormat { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuIndexFormat { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuIndexFormat { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuIndexFormat { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuIndexFormat { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuIndexFormat > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuIndexFormat { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuIndexFormat { # [ inline ] fn from ( obj : JsValue ) -> WebGpuIndexFormat { WebGpuIndexFormat { obj } } } impl AsRef < JsValue > for WebGpuIndexFormat { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuIndexFormat > for JsValue { # [ inline ] fn from ( obj : WebGpuIndexFormat ) -> JsValue { obj . obj } } impl JsCast for WebGpuIndexFormat { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUIndexFormat ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUIndexFormat ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuIndexFormat { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuIndexFormat ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuIndexFormat { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuIndexFormat > for Object { # [ inline ] fn from ( obj : WebGpuIndexFormat ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuIndexFormat { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUInputState` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUInputState)\n\n*This API requires the following crate features to be activated: `WebGpuInputState`*" ] # [ repr ( transparent ) ] pub struct WebGpuInputState { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuInputState : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuInputState { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuInputState { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuInputState { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuInputState { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuInputState { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuInputState { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuInputState { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuInputState { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuInputState { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuInputState > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuInputState { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuInputState { # [ inline ] fn from ( obj : JsValue ) -> WebGpuInputState { WebGpuInputState { obj } } } impl AsRef < JsValue > for WebGpuInputState { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuInputState > for JsValue { # [ inline ] fn from ( obj : WebGpuInputState ) -> JsValue { obj . obj } } impl JsCast for WebGpuInputState { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUInputState ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUInputState ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuInputState { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuInputState ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuInputState { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuInputState > for Object { # [ inline ] fn from ( obj : WebGpuInputState ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuInputState { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUInputStepMode` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUInputStepMode)\n\n*This API requires the following crate features to be activated: `WebGpuInputStepMode`*" ] # [ repr ( transparent ) ] pub struct WebGpuInputStepMode { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuInputStepMode : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuInputStepMode { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuInputStepMode { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuInputStepMode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuInputStepMode { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuInputStepMode { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuInputStepMode { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuInputStepMode { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuInputStepMode { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuInputStepMode { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuInputStepMode > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuInputStepMode { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuInputStepMode { # [ inline ] fn from ( obj : JsValue ) -> WebGpuInputStepMode { WebGpuInputStepMode { obj } } } impl AsRef < JsValue > for WebGpuInputStepMode { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuInputStepMode > for JsValue { # [ inline ] fn from ( obj : WebGpuInputStepMode ) -> JsValue { obj . obj } } impl JsCast for WebGpuInputStepMode { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUInputStepMode ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUInputStepMode ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuInputStepMode { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuInputStepMode ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuInputStepMode { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuInputStepMode > for Object { # [ inline ] fn from ( obj : WebGpuInputStepMode ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuInputStepMode { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPULoadOp` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPULoadOp)\n\n*This API requires the following crate features to be activated: `WebGpuLoadOp`*" ] # [ repr ( transparent ) ] pub struct WebGpuLoadOp { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuLoadOp : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuLoadOp { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuLoadOp { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuLoadOp { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuLoadOp { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuLoadOp { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuLoadOp { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuLoadOp { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuLoadOp { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuLoadOp { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuLoadOp > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuLoadOp { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuLoadOp { # [ inline ] fn from ( obj : JsValue ) -> WebGpuLoadOp { WebGpuLoadOp { obj } } } impl AsRef < JsValue > for WebGpuLoadOp { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuLoadOp > for JsValue { # [ inline ] fn from ( obj : WebGpuLoadOp ) -> JsValue { obj . obj } } impl JsCast for WebGpuLoadOp { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPULoadOp ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPULoadOp ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuLoadOp { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuLoadOp ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuLoadOp { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuLoadOp > for Object { # [ inline ] fn from ( obj : WebGpuLoadOp ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuLoadOp { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPULogEntry` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPULogEntry)\n\n*This API requires the following crate features to be activated: `WebGpuLogEntry`*" ] # [ repr ( transparent ) ] pub struct WebGpuLogEntry { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuLogEntry : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuLogEntry { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuLogEntry { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuLogEntry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuLogEntry { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuLogEntry { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuLogEntry { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuLogEntry { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuLogEntry { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuLogEntry { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuLogEntry > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuLogEntry { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuLogEntry { # [ inline ] fn from ( obj : JsValue ) -> WebGpuLogEntry { WebGpuLogEntry { obj } } } impl AsRef < JsValue > for WebGpuLogEntry { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuLogEntry > for JsValue { # [ inline ] fn from ( obj : WebGpuLogEntry ) -> JsValue { obj . obj } } impl JsCast for WebGpuLogEntry { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPULogEntry ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPULogEntry ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuLogEntry { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuLogEntry ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuLogEntry { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuLogEntry > for Object { # [ inline ] fn from ( obj : WebGpuLogEntry ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuLogEntry { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_type_WebGPULogEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuLogEntry as WasmDescribe > :: describe ( ) ; < WebGpuLogEntryType as WasmDescribe > :: describe ( ) ; } impl WebGpuLogEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPULogEntry/type)\n\n*This API requires the following crate features to be activated: `WebGpuLogEntry`, `WebGpuLogEntryType`*" ] pub fn type_ ( & self , ) -> WebGpuLogEntryType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_type_WebGPULogEntry ( self_ : < & WebGpuLogEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuLogEntryType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuLogEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_type_WebGPULogEntry ( self_ ) } ; < WebGpuLogEntryType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `type` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPULogEntry/type)\n\n*This API requires the following crate features to be activated: `WebGpuLogEntry`, `WebGpuLogEntryType`*" ] pub fn type_ ( & self , ) -> WebGpuLogEntryType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_obj_WebGPULogEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuLogEntry as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl WebGpuLogEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `obj` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPULogEntry/obj)\n\n*This API requires the following crate features to be activated: `WebGpuLogEntry`*" ] pub fn obj ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_obj_WebGPULogEntry ( self_ : < & WebGpuLogEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuLogEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_obj_WebGPULogEntry ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `obj` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPULogEntry/obj)\n\n*This API requires the following crate features to be activated: `WebGpuLogEntry`*" ] pub fn obj ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reason_WebGPULogEntry ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuLogEntry as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl WebGpuLogEntry { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reason` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPULogEntry/reason)\n\n*This API requires the following crate features to be activated: `WebGpuLogEntry`*" ] pub fn reason ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reason_WebGPULogEntry ( self_ : < & WebGpuLogEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuLogEntry as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reason_WebGPULogEntry ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reason` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPULogEntry/reason)\n\n*This API requires the following crate features to be activated: `WebGpuLogEntry`*" ] pub fn reason ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUPipelineLayout` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUPipelineLayout)\n\n*This API requires the following crate features to be activated: `WebGpuPipelineLayout`*" ] # [ repr ( transparent ) ] pub struct WebGpuPipelineLayout { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuPipelineLayout : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuPipelineLayout { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuPipelineLayout { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuPipelineLayout { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuPipelineLayout { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuPipelineLayout { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuPipelineLayout { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuPipelineLayout { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuPipelineLayout { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuPipelineLayout { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuPipelineLayout > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuPipelineLayout { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuPipelineLayout { # [ inline ] fn from ( obj : JsValue ) -> WebGpuPipelineLayout { WebGpuPipelineLayout { obj } } } impl AsRef < JsValue > for WebGpuPipelineLayout { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuPipelineLayout > for JsValue { # [ inline ] fn from ( obj : WebGpuPipelineLayout ) -> JsValue { obj . obj } } impl JsCast for WebGpuPipelineLayout { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUPipelineLayout ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUPipelineLayout ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuPipelineLayout { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuPipelineLayout ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuPipelineLayout { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuPipelineLayout > for Object { # [ inline ] fn from ( obj : WebGpuPipelineLayout ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuPipelineLayout { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUPrimitiveTopology` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUPrimitiveTopology)\n\n*This API requires the following crate features to be activated: `WebGpuPrimitiveTopology`*" ] # [ repr ( transparent ) ] pub struct WebGpuPrimitiveTopology { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuPrimitiveTopology : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuPrimitiveTopology { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuPrimitiveTopology { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuPrimitiveTopology { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuPrimitiveTopology { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuPrimitiveTopology { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuPrimitiveTopology { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuPrimitiveTopology { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuPrimitiveTopology { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuPrimitiveTopology { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuPrimitiveTopology > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuPrimitiveTopology { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuPrimitiveTopology { # [ inline ] fn from ( obj : JsValue ) -> WebGpuPrimitiveTopology { WebGpuPrimitiveTopology { obj } } } impl AsRef < JsValue > for WebGpuPrimitiveTopology { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuPrimitiveTopology > for JsValue { # [ inline ] fn from ( obj : WebGpuPrimitiveTopology ) -> JsValue { obj . obj } } impl JsCast for WebGpuPrimitiveTopology { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUPrimitiveTopology ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUPrimitiveTopology ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuPrimitiveTopology { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuPrimitiveTopology ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuPrimitiveTopology { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuPrimitiveTopology > for Object { # [ inline ] fn from ( obj : WebGpuPrimitiveTopology ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuPrimitiveTopology { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUQueue` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUQueue)\n\n*This API requires the following crate features to be activated: `WebGpuQueue`*" ] # [ repr ( transparent ) ] pub struct WebGpuQueue { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuQueue : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuQueue { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuQueue { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuQueue { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuQueue { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuQueue { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuQueue { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuQueue { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuQueue { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuQueue { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuQueue > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuQueue { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuQueue { # [ inline ] fn from ( obj : JsValue ) -> WebGpuQueue { WebGpuQueue { obj } } } impl AsRef < JsValue > for WebGpuQueue { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuQueue > for JsValue { # [ inline ] fn from ( obj : WebGpuQueue ) -> JsValue { obj . obj } } impl JsCast for WebGpuQueue { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUQueue ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUQueue ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuQueue { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuQueue ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuQueue { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuQueue > for Object { # [ inline ] fn from ( obj : WebGpuQueue ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuQueue { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_insert_fence_WebGPUQueue ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuQueue as WasmDescribe > :: describe ( ) ; < WebGpuFence as WasmDescribe > :: describe ( ) ; } impl WebGpuQueue { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `insertFence()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUQueue/insertFence)\n\n*This API requires the following crate features to be activated: `WebGpuFence`, `WebGpuQueue`*" ] pub fn insert_fence ( & self , ) -> WebGpuFence { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_insert_fence_WebGPUQueue ( self_ : < & WebGpuQueue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuFence as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuQueue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_insert_fence_WebGPUQueue ( self_ ) } ; < WebGpuFence as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `insertFence()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUQueue/insertFence)\n\n*This API requires the following crate features to be activated: `WebGpuFence`, `WebGpuQueue`*" ] pub fn insert_fence ( & self , ) -> WebGpuFence { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPURenderPipeline` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPURenderPipeline)\n\n*This API requires the following crate features to be activated: `WebGpuRenderPipeline`*" ] # [ repr ( transparent ) ] pub struct WebGpuRenderPipeline { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuRenderPipeline : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuRenderPipeline { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuRenderPipeline { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuRenderPipeline { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuRenderPipeline { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuRenderPipeline { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuRenderPipeline { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuRenderPipeline { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuRenderPipeline { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuRenderPipeline { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuRenderPipeline > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuRenderPipeline { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuRenderPipeline { # [ inline ] fn from ( obj : JsValue ) -> WebGpuRenderPipeline { WebGpuRenderPipeline { obj } } } impl AsRef < JsValue > for WebGpuRenderPipeline { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuRenderPipeline > for JsValue { # [ inline ] fn from ( obj : WebGpuRenderPipeline ) -> JsValue { obj . obj } } impl JsCast for WebGpuRenderPipeline { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPURenderPipeline ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPURenderPipeline ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuRenderPipeline { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuRenderPipeline ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuRenderPipeline { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuRenderPipeline > for Object { # [ inline ] fn from ( obj : WebGpuRenderPipeline ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuRenderPipeline { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUSampler` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUSampler)\n\n*This API requires the following crate features to be activated: `WebGpuSampler`*" ] # [ repr ( transparent ) ] pub struct WebGpuSampler { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuSampler : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuSampler { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuSampler { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuSampler { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuSampler { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuSampler { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuSampler { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuSampler { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuSampler { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuSampler { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuSampler > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuSampler { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuSampler { # [ inline ] fn from ( obj : JsValue ) -> WebGpuSampler { WebGpuSampler { obj } } } impl AsRef < JsValue > for WebGpuSampler { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuSampler > for JsValue { # [ inline ] fn from ( obj : WebGpuSampler ) -> JsValue { obj . obj } } impl JsCast for WebGpuSampler { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUSampler ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUSampler ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuSampler { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuSampler ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuSampler { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuSampler > for Object { # [ inline ] fn from ( obj : WebGpuSampler ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuSampler { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUShaderModule` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUShaderModule)\n\n*This API requires the following crate features to be activated: `WebGpuShaderModule`*" ] # [ repr ( transparent ) ] pub struct WebGpuShaderModule { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuShaderModule : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuShaderModule { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuShaderModule { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuShaderModule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuShaderModule { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuShaderModule { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuShaderModule { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuShaderModule { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuShaderModule { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuShaderModule { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuShaderModule > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuShaderModule { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuShaderModule { # [ inline ] fn from ( obj : JsValue ) -> WebGpuShaderModule { WebGpuShaderModule { obj } } } impl AsRef < JsValue > for WebGpuShaderModule { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuShaderModule > for JsValue { # [ inline ] fn from ( obj : WebGpuShaderModule ) -> JsValue { obj . obj } } impl JsCast for WebGpuShaderModule { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUShaderModule ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUShaderModule ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuShaderModule { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuShaderModule ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuShaderModule { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuShaderModule > for Object { # [ inline ] fn from ( obj : WebGpuShaderModule ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuShaderModule { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUShaderStage` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUShaderStage)\n\n*This API requires the following crate features to be activated: `WebGpuShaderStage`*" ] # [ repr ( transparent ) ] pub struct WebGpuShaderStage { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuShaderStage : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuShaderStage { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuShaderStage { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuShaderStage { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuShaderStage { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuShaderStage { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuShaderStage { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuShaderStage { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuShaderStage { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuShaderStage { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuShaderStage > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuShaderStage { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuShaderStage { # [ inline ] fn from ( obj : JsValue ) -> WebGpuShaderStage { WebGpuShaderStage { obj } } } impl AsRef < JsValue > for WebGpuShaderStage { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuShaderStage > for JsValue { # [ inline ] fn from ( obj : WebGpuShaderStage ) -> JsValue { obj . obj } } impl JsCast for WebGpuShaderStage { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUShaderStage ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUShaderStage ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuShaderStage { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuShaderStage ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuShaderStage { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuShaderStage > for Object { # [ inline ] fn from ( obj : WebGpuShaderStage ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuShaderStage { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUShaderStageBit` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUShaderStageBit)\n\n*This API requires the following crate features to be activated: `WebGpuShaderStageBit`*" ] # [ repr ( transparent ) ] pub struct WebGpuShaderStageBit { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuShaderStageBit : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuShaderStageBit { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuShaderStageBit { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuShaderStageBit { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuShaderStageBit { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuShaderStageBit { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuShaderStageBit { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuShaderStageBit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuShaderStageBit { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuShaderStageBit { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuShaderStageBit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuShaderStageBit { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuShaderStageBit { # [ inline ] fn from ( obj : JsValue ) -> WebGpuShaderStageBit { WebGpuShaderStageBit { obj } } } impl AsRef < JsValue > for WebGpuShaderStageBit { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuShaderStageBit > for JsValue { # [ inline ] fn from ( obj : WebGpuShaderStageBit ) -> JsValue { obj . obj } } impl JsCast for WebGpuShaderStageBit { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUShaderStageBit ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUShaderStageBit ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuShaderStageBit { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuShaderStageBit ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuShaderStageBit { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuShaderStageBit > for Object { # [ inline ] fn from ( obj : WebGpuShaderStageBit ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuShaderStageBit { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUStencilOperation` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUStencilOperation)\n\n*This API requires the following crate features to be activated: `WebGpuStencilOperation`*" ] # [ repr ( transparent ) ] pub struct WebGpuStencilOperation { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuStencilOperation : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuStencilOperation { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuStencilOperation { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuStencilOperation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuStencilOperation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuStencilOperation { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuStencilOperation { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuStencilOperation { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuStencilOperation { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuStencilOperation { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuStencilOperation > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuStencilOperation { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuStencilOperation { # [ inline ] fn from ( obj : JsValue ) -> WebGpuStencilOperation { WebGpuStencilOperation { obj } } } impl AsRef < JsValue > for WebGpuStencilOperation { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuStencilOperation > for JsValue { # [ inline ] fn from ( obj : WebGpuStencilOperation ) -> JsValue { obj . obj } } impl JsCast for WebGpuStencilOperation { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUStencilOperation ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUStencilOperation ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuStencilOperation { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuStencilOperation ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuStencilOperation { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuStencilOperation > for Object { # [ inline ] fn from ( obj : WebGpuStencilOperation ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuStencilOperation { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUStoreOp` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUStoreOp)\n\n*This API requires the following crate features to be activated: `WebGpuStoreOp`*" ] # [ repr ( transparent ) ] pub struct WebGpuStoreOp { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuStoreOp : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuStoreOp { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuStoreOp { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuStoreOp { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuStoreOp { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuStoreOp { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuStoreOp { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuStoreOp { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuStoreOp { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuStoreOp { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuStoreOp > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuStoreOp { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuStoreOp { # [ inline ] fn from ( obj : JsValue ) -> WebGpuStoreOp { WebGpuStoreOp { obj } } } impl AsRef < JsValue > for WebGpuStoreOp { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuStoreOp > for JsValue { # [ inline ] fn from ( obj : WebGpuStoreOp ) -> JsValue { obj . obj } } impl JsCast for WebGpuStoreOp { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUStoreOp ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUStoreOp ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuStoreOp { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuStoreOp ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuStoreOp { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuStoreOp > for Object { # [ inline ] fn from ( obj : WebGpuStoreOp ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuStoreOp { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUSwapChain` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUSwapChain)\n\n*This API requires the following crate features to be activated: `WebGpuSwapChain`*" ] # [ repr ( transparent ) ] pub struct WebGpuSwapChain { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuSwapChain : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuSwapChain { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuSwapChain { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuSwapChain { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuSwapChain { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuSwapChain { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuSwapChain { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuSwapChain { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuSwapChain { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuSwapChain { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuSwapChain > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuSwapChain { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuSwapChain { # [ inline ] fn from ( obj : JsValue ) -> WebGpuSwapChain { WebGpuSwapChain { obj } } } impl AsRef < JsValue > for WebGpuSwapChain { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuSwapChain > for JsValue { # [ inline ] fn from ( obj : WebGpuSwapChain ) -> JsValue { obj . obj } } impl JsCast for WebGpuSwapChain { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUSwapChain ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUSwapChain ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuSwapChain { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuSwapChain ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuSwapChain { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuSwapChain > for Object { # [ inline ] fn from ( obj : WebGpuSwapChain ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuSwapChain { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_configure_WebGPUSwapChain ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuSwapChain as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuSwapChain { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `configure()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUSwapChain/configure)\n\n*This API requires the following crate features to be activated: `WebGpuSwapChain`*" ] pub fn configure ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_configure_WebGPUSwapChain ( self_ : < & WebGpuSwapChain as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuSwapChain as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_configure_WebGPUSwapChain ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `configure()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUSwapChain/configure)\n\n*This API requires the following crate features to be activated: `WebGpuSwapChain`*" ] pub fn configure ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_configure_with_descriptor_WebGPUSwapChain ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuSwapChain as WasmDescribe > :: describe ( ) ; < & WebGpuSwapChainDescriptor as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuSwapChain { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `configure()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUSwapChain/configure)\n\n*This API requires the following crate features to be activated: `WebGpuSwapChain`, `WebGpuSwapChainDescriptor`*" ] pub fn configure_with_descriptor ( & self , descriptor : & WebGpuSwapChainDescriptor ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_configure_with_descriptor_WebGPUSwapChain ( self_ : < & WebGpuSwapChain as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , descriptor : < & WebGpuSwapChainDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuSwapChain as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let descriptor = < & WebGpuSwapChainDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( descriptor , & mut __stack ) ; __widl_f_configure_with_descriptor_WebGPUSwapChain ( self_ , descriptor ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `configure()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUSwapChain/configure)\n\n*This API requires the following crate features to be activated: `WebGpuSwapChain`, `WebGpuSwapChainDescriptor`*" ] pub fn configure_with_descriptor ( & self , descriptor : & WebGpuSwapChainDescriptor ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_next_texture_WebGPUSwapChain ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuSwapChain as WasmDescribe > :: describe ( ) ; < WebGpuTexture as WasmDescribe > :: describe ( ) ; } impl WebGpuSwapChain { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getNextTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUSwapChain/getNextTexture)\n\n*This API requires the following crate features to be activated: `WebGpuSwapChain`, `WebGpuTexture`*" ] pub fn get_next_texture ( & self , ) -> WebGpuTexture { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_next_texture_WebGPUSwapChain ( self_ : < & WebGpuSwapChain as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuTexture as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuSwapChain as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_next_texture_WebGPUSwapChain ( self_ ) } ; < WebGpuTexture as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getNextTexture()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUSwapChain/getNextTexture)\n\n*This API requires the following crate features to be activated: `WebGpuSwapChain`, `WebGpuTexture`*" ] pub fn get_next_texture ( & self , ) -> WebGpuTexture { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_present_WebGPUSwapChain ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuSwapChain as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebGpuSwapChain { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `present()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUSwapChain/present)\n\n*This API requires the following crate features to be activated: `WebGpuSwapChain`*" ] pub fn present ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_present_WebGPUSwapChain ( self_ : < & WebGpuSwapChain as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuSwapChain as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_present_WebGPUSwapChain ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `present()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUSwapChain/present)\n\n*This API requires the following crate features to be activated: `WebGpuSwapChain`*" ] pub fn present ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUTexture` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUTexture)\n\n*This API requires the following crate features to be activated: `WebGpuTexture`*" ] # [ repr ( transparent ) ] pub struct WebGpuTexture { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuTexture : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuTexture { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuTexture { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuTexture { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuTexture { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuTexture { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuTexture { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuTexture { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuTexture { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuTexture { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuTexture > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuTexture { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuTexture { # [ inline ] fn from ( obj : JsValue ) -> WebGpuTexture { WebGpuTexture { obj } } } impl AsRef < JsValue > for WebGpuTexture { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuTexture > for JsValue { # [ inline ] fn from ( obj : WebGpuTexture ) -> JsValue { obj . obj } } impl JsCast for WebGpuTexture { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUTexture ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUTexture ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuTexture { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuTexture ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuTexture { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuTexture > for Object { # [ inline ] fn from ( obj : WebGpuTexture ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuTexture { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_texture_view_WebGPUTexture ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebGpuTexture as WasmDescribe > :: describe ( ) ; < WebGpuTextureView as WasmDescribe > :: describe ( ) ; } impl WebGpuTexture { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTextureView()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUTexture/createTextureView)\n\n*This API requires the following crate features to be activated: `WebGpuTexture`, `WebGpuTextureView`*" ] pub fn create_texture_view ( & self , ) -> WebGpuTextureView { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_texture_view_WebGPUTexture ( self_ : < & WebGpuTexture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuTextureView as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuTexture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_create_texture_view_WebGPUTexture ( self_ ) } ; < WebGpuTextureView as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTextureView()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUTexture/createTextureView)\n\n*This API requires the following crate features to be activated: `WebGpuTexture`, `WebGpuTextureView`*" ] pub fn create_texture_view ( & self , ) -> WebGpuTextureView { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_texture_view_with_desc_WebGPUTexture ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebGpuTexture as WasmDescribe > :: describe ( ) ; < & WebGpuTextureViewDescriptor as WasmDescribe > :: describe ( ) ; < WebGpuTextureView as WasmDescribe > :: describe ( ) ; } impl WebGpuTexture { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createTextureView()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUTexture/createTextureView)\n\n*This API requires the following crate features to be activated: `WebGpuTexture`, `WebGpuTextureView`, `WebGpuTextureViewDescriptor`*" ] pub fn create_texture_view_with_desc ( & self , desc : & WebGpuTextureViewDescriptor ) -> WebGpuTextureView { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_texture_view_with_desc_WebGPUTexture ( self_ : < & WebGpuTexture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , desc : < & WebGpuTextureViewDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpuTextureView as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebGpuTexture as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let desc = < & WebGpuTextureViewDescriptor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( desc , & mut __stack ) ; __widl_f_create_texture_view_with_desc_WebGPUTexture ( self_ , desc ) } ; < WebGpuTextureView as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createTextureView()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUTexture/createTextureView)\n\n*This API requires the following crate features to be activated: `WebGpuTexture`, `WebGpuTextureView`, `WebGpuTextureViewDescriptor`*" ] pub fn create_texture_view_with_desc ( & self , desc : & WebGpuTextureViewDescriptor ) -> WebGpuTextureView { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUTextureDimension` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUTextureDimension)\n\n*This API requires the following crate features to be activated: `WebGpuTextureDimension`*" ] # [ repr ( transparent ) ] pub struct WebGpuTextureDimension { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuTextureDimension : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuTextureDimension { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuTextureDimension { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuTextureDimension { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuTextureDimension { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuTextureDimension { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuTextureDimension { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuTextureDimension { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuTextureDimension { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuTextureDimension { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuTextureDimension > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuTextureDimension { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuTextureDimension { # [ inline ] fn from ( obj : JsValue ) -> WebGpuTextureDimension { WebGpuTextureDimension { obj } } } impl AsRef < JsValue > for WebGpuTextureDimension { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuTextureDimension > for JsValue { # [ inline ] fn from ( obj : WebGpuTextureDimension ) -> JsValue { obj . obj } } impl JsCast for WebGpuTextureDimension { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUTextureDimension ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUTextureDimension ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuTextureDimension { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuTextureDimension ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuTextureDimension { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuTextureDimension > for Object { # [ inline ] fn from ( obj : WebGpuTextureDimension ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuTextureDimension { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUTextureFormat` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUTextureFormat)\n\n*This API requires the following crate features to be activated: `WebGpuTextureFormat`*" ] # [ repr ( transparent ) ] pub struct WebGpuTextureFormat { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuTextureFormat : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuTextureFormat { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuTextureFormat { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuTextureFormat { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuTextureFormat { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuTextureFormat { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuTextureFormat { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuTextureFormat { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuTextureFormat { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuTextureFormat { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuTextureFormat > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuTextureFormat { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuTextureFormat { # [ inline ] fn from ( obj : JsValue ) -> WebGpuTextureFormat { WebGpuTextureFormat { obj } } } impl AsRef < JsValue > for WebGpuTextureFormat { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuTextureFormat > for JsValue { # [ inline ] fn from ( obj : WebGpuTextureFormat ) -> JsValue { obj . obj } } impl JsCast for WebGpuTextureFormat { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUTextureFormat ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUTextureFormat ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuTextureFormat { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuTextureFormat ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuTextureFormat { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuTextureFormat > for Object { # [ inline ] fn from ( obj : WebGpuTextureFormat ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuTextureFormat { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUTextureUsage` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUTextureUsage)\n\n*This API requires the following crate features to be activated: `WebGpuTextureUsage`*" ] # [ repr ( transparent ) ] pub struct WebGpuTextureUsage { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuTextureUsage : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuTextureUsage { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuTextureUsage { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuTextureUsage { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuTextureUsage { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuTextureUsage { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuTextureUsage { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuTextureUsage { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuTextureUsage { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuTextureUsage { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuTextureUsage > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuTextureUsage { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuTextureUsage { # [ inline ] fn from ( obj : JsValue ) -> WebGpuTextureUsage { WebGpuTextureUsage { obj } } } impl AsRef < JsValue > for WebGpuTextureUsage { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuTextureUsage > for JsValue { # [ inline ] fn from ( obj : WebGpuTextureUsage ) -> JsValue { obj . obj } } impl JsCast for WebGpuTextureUsage { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUTextureUsage ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUTextureUsage ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuTextureUsage { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuTextureUsage ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuTextureUsage { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuTextureUsage > for Object { # [ inline ] fn from ( obj : WebGpuTextureUsage ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuTextureUsage { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUTextureView` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUTextureView)\n\n*This API requires the following crate features to be activated: `WebGpuTextureView`*" ] # [ repr ( transparent ) ] pub struct WebGpuTextureView { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuTextureView : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuTextureView { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuTextureView { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuTextureView { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuTextureView { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuTextureView { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuTextureView { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuTextureView { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuTextureView { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuTextureView { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuTextureView > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuTextureView { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuTextureView { # [ inline ] fn from ( obj : JsValue ) -> WebGpuTextureView { WebGpuTextureView { obj } } } impl AsRef < JsValue > for WebGpuTextureView { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuTextureView > for JsValue { # [ inline ] fn from ( obj : WebGpuTextureView ) -> JsValue { obj . obj } } impl JsCast for WebGpuTextureView { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUTextureView ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUTextureView ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuTextureView { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuTextureView ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuTextureView { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuTextureView > for Object { # [ inline ] fn from ( obj : WebGpuTextureView ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuTextureView { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebGPUVertexFormat` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGPUVertexFormat)\n\n*This API requires the following crate features to be activated: `WebGpuVertexFormat`*" ] # [ repr ( transparent ) ] pub struct WebGpuVertexFormat { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebGpuVertexFormat : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebGpuVertexFormat { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebGpuVertexFormat { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebGpuVertexFormat { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuVertexFormat { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebGpuVertexFormat { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuVertexFormat { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebGpuVertexFormat { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebGpuVertexFormat { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebGpuVertexFormat { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebGpuVertexFormat > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebGpuVertexFormat { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebGpuVertexFormat { # [ inline ] fn from ( obj : JsValue ) -> WebGpuVertexFormat { WebGpuVertexFormat { obj } } } impl AsRef < JsValue > for WebGpuVertexFormat { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebGpuVertexFormat > for JsValue { # [ inline ] fn from ( obj : WebGpuVertexFormat ) -> JsValue { obj . obj } } impl JsCast for WebGpuVertexFormat { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebGPUVertexFormat ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebGPUVertexFormat ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuVertexFormat { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuVertexFormat ) } } } ( ) } ; impl core :: ops :: Deref for WebGpuVertexFormat { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WebGpuVertexFormat > for Object { # [ inline ] fn from ( obj : WebGpuVertexFormat ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebGpuVertexFormat { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebKitCSSMatrix` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] # [ repr ( transparent ) ] pub struct WebKitCssMatrix { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebKitCssMatrix : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebKitCssMatrix { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebKitCssMatrix { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebKitCssMatrix { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebKitCssMatrix { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebKitCssMatrix { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebKitCssMatrix { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebKitCssMatrix { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebKitCssMatrix { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebKitCssMatrix { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebKitCssMatrix > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebKitCssMatrix { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebKitCssMatrix { # [ inline ] fn from ( obj : JsValue ) -> WebKitCssMatrix { WebKitCssMatrix { obj } } } impl AsRef < JsValue > for WebKitCssMatrix { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebKitCssMatrix > for JsValue { # [ inline ] fn from ( obj : WebKitCssMatrix ) -> JsValue { obj . obj } } impl JsCast for WebKitCssMatrix { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebKitCSSMatrix ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebKitCSSMatrix ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebKitCssMatrix { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebKitCssMatrix ) } } } ( ) } ; impl core :: ops :: Deref for WebKitCssMatrix { type Target = DomMatrix ; # [ inline ] fn deref ( & self ) -> & DomMatrix { self . as_ref ( ) } } impl From < WebKitCssMatrix > for DomMatrix { # [ inline ] fn from ( obj : WebKitCssMatrix ) -> DomMatrix { use wasm_bindgen :: JsCast ; DomMatrix :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < DomMatrix > for WebKitCssMatrix { # [ inline ] fn as_ref ( & self ) -> & DomMatrix { use wasm_bindgen :: JsCast ; DomMatrix :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < WebKitCssMatrix > for DomMatrixReadOnly { # [ inline ] fn from ( obj : WebKitCssMatrix ) -> DomMatrixReadOnly { use wasm_bindgen :: JsCast ; DomMatrixReadOnly :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < DomMatrixReadOnly > for WebKitCssMatrix { # [ inline ] fn as_ref ( & self ) -> & DomMatrixReadOnly { use wasm_bindgen :: JsCast ; DomMatrixReadOnly :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < WebKitCssMatrix > for Object { # [ inline ] fn from ( obj : WebKitCssMatrix ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebKitCssMatrix { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new WebKitCSSMatrix(..)` constructor, creating a new instance of `WebKitCSSMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/WebKitCSSMatrix)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn new ( ) -> Result < WebKitCssMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_WebKitCSSMatrix ( exn_data_ptr : * mut u32 ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_WebKitCSSMatrix ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new WebKitCSSMatrix(..)` constructor, creating a new instance of `WebKitCSSMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/WebKitCSSMatrix)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn new ( ) -> Result < WebKitCssMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_transform_list_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new WebKitCSSMatrix(..)` constructor, creating a new instance of `WebKitCSSMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/WebKitCSSMatrix)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn new_with_transform_list ( transform_list : & str ) -> Result < WebKitCssMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_transform_list_WebKitCSSMatrix ( transform_list : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let transform_list = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transform_list , & mut __stack ) ; __widl_f_new_with_transform_list_WebKitCSSMatrix ( transform_list , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new WebKitCSSMatrix(..)` constructor, creating a new instance of `WebKitCSSMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/WebKitCSSMatrix)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn new_with_transform_list ( transform_list : & str ) -> Result < WebKitCssMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_other_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new WebKitCSSMatrix(..)` constructor, creating a new instance of `WebKitCSSMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/WebKitCSSMatrix)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn new_with_other ( other : & WebKitCssMatrix ) -> Result < WebKitCssMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_other_WebKitCSSMatrix ( other : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let other = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( other , & mut __stack ) ; __widl_f_new_with_other_WebKitCSSMatrix ( other , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new WebKitCSSMatrix(..)` constructor, creating a new instance of `WebKitCSSMatrix`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/WebKitCSSMatrix)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn new_with_other ( other : & WebKitCssMatrix ) -> Result < WebKitCssMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_inverse_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `inverse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/inverse)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn inverse ( & self , ) -> Result < WebKitCssMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_inverse_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_inverse_WebKitCSSMatrix ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `inverse()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/inverse)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn inverse ( & self , ) -> Result < WebKitCssMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_multiply_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `multiply()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/multiply)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn multiply ( & self , other : & WebKitCssMatrix ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_multiply_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , other : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let other = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( other , & mut __stack ) ; __widl_f_multiply_WebKitCSSMatrix ( self_ , other ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `multiply()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/multiply)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn multiply ( & self , other : & WebKitCssMatrix ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate ( & self , ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rotate_WebKitCSSMatrix ( self_ ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate ( & self , ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_with_rot_x_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_with_rot_x ( & self , rot_x : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_with_rot_x_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rot_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rot_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rot_x , & mut __stack ) ; __widl_f_rotate_with_rot_x_WebKitCSSMatrix ( self_ , rot_x ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_with_rot_x ( & self , rot_x : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_with_rot_x_and_rot_y_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_with_rot_x_and_rot_y ( & self , rot_x : f64 , rot_y : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_with_rot_x_and_rot_y_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rot_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rot_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rot_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rot_x , & mut __stack ) ; let rot_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rot_y , & mut __stack ) ; __widl_f_rotate_with_rot_x_and_rot_y_WebKitCSSMatrix ( self_ , rot_x , rot_y ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_with_rot_x_and_rot_y ( & self , rot_x : f64 , rot_y : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_with_rot_x_and_rot_y_and_rot_z_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_with_rot_x_and_rot_y_and_rot_z ( & self , rot_x : f64 , rot_y : f64 , rot_z : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_with_rot_x_and_rot_y_and_rot_z_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rot_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rot_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , rot_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let rot_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rot_x , & mut __stack ) ; let rot_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rot_y , & mut __stack ) ; let rot_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( rot_z , & mut __stack ) ; __widl_f_rotate_with_rot_x_and_rot_y_and_rot_z_WebKitCSSMatrix ( self_ , rot_x , rot_y , rot_z ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_with_rot_x_and_rot_y_and_rot_z ( & self , rot_x : f64 , rot_y : f64 , rot_z : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_axis_angle_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotateAxisAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_axis_angle ( & self , ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_axis_angle_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_rotate_axis_angle_WebKitCSSMatrix ( self_ ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotateAxisAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_axis_angle ( & self , ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_axis_angle_with_x_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotateAxisAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_axis_angle_with_x ( & self , x : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_axis_angle_with_x_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; __widl_f_rotate_axis_angle_with_x_WebKitCSSMatrix ( self_ , x ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotateAxisAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_axis_angle_with_x ( & self , x : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_axis_angle_with_x_and_y_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotateAxisAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_axis_angle_with_x_and_y ( & self , x : f64 , y : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_axis_angle_with_x_and_y_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_rotate_axis_angle_with_x_and_y_WebKitCSSMatrix ( self_ , x , y ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotateAxisAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_axis_angle_with_x_and_y ( & self , x : f64 , y : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_axis_angle_with_x_and_y_and_z_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotateAxisAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_axis_angle_with_x_and_y_and_z ( & self , x : f64 , y : f64 , z : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_axis_angle_with_x_and_y_and_z_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; __widl_f_rotate_axis_angle_with_x_and_y_and_z_WebKitCSSMatrix ( self_ , x , y , z ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotateAxisAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_axis_angle_with_x_and_y_and_z ( & self , x : f64 , y : f64 , z : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_rotate_axis_angle_with_x_and_y_and_z_and_angle_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `rotateAxisAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_axis_angle_with_x_and_y_and_z_and_angle ( & self , x : f64 , y : f64 , z : f64 , angle : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_rotate_axis_angle_with_x_and_y_and_z_and_angle_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , angle : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; let z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( z , & mut __stack ) ; let angle = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( angle , & mut __stack ) ; __widl_f_rotate_axis_angle_with_x_and_y_and_z_and_angle_WebKitCSSMatrix ( self_ , x , y , z , angle ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `rotateAxisAngle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn rotate_axis_angle_with_x_and_y_and_z_and_angle ( & self , x : f64 , y : f64 , z : f64 , angle : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn scale ( & self , ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scale_WebKitCSSMatrix ( self_ ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn scale ( & self , ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_with_scale_x_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn scale_with_scale_x ( & self , scale_x : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_with_scale_x_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; __widl_f_scale_with_scale_x_WebKitCSSMatrix ( self_ , scale_x ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn scale_with_scale_x ( & self , scale_x : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_with_scale_x_and_scale_y_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn scale_with_scale_x_and_scale_y ( & self , scale_x : f64 , scale_y : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_with_scale_x_and_scale_y_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; let scale_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_y , & mut __stack ) ; __widl_f_scale_with_scale_x_and_scale_y_WebKitCSSMatrix ( self_ , scale_x , scale_y ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn scale_with_scale_x_and_scale_y ( & self , scale_x : f64 , scale_y : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scale_with_scale_x_and_scale_y_and_scale_z_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn scale_with_scale_x_and_scale_y_and_scale_z ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scale_with_scale_x_and_scale_y_and_scale_z_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , scale_z : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let scale_x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_x , & mut __stack ) ; let scale_y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_y , & mut __stack ) ; let scale_z = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( scale_z , & mut __stack ) ; __widl_f_scale_with_scale_x_and_scale_y_and_scale_z_WebKitCSSMatrix ( self_ , scale_x , scale_y , scale_z ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scale()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn scale_with_scale_x_and_scale_y_and_scale_z ( & self , scale_x : f64 , scale_y : f64 , scale_z : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_matrix_value_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setMatrixValue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/setMatrixValue)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn set_matrix_value ( & self , transform_list : & str ) -> Result < WebKitCssMatrix , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_matrix_value_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , transform_list : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let transform_list = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( transform_list , & mut __stack ) ; __widl_f_set_matrix_value_WebKitCSSMatrix ( self_ , transform_list , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setMatrixValue()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/setMatrixValue)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn set_matrix_value ( & self , transform_list : & str ) -> Result < WebKitCssMatrix , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_skew_x_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `skewX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewX)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn skew_x ( & self , ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_skew_x_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_skew_x_WebKitCSSMatrix ( self_ ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `skewX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewX)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn skew_x ( & self , ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_skew_x_with_sx_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `skewX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewX)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn skew_x_with_sx ( & self , sx : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_skew_x_with_sx_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sx , & mut __stack ) ; __widl_f_skew_x_with_sx_WebKitCSSMatrix ( self_ , sx ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `skewX()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewX)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn skew_x_with_sx ( & self , sx : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_skew_y_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `skewY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewY)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn skew_y ( & self , ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_skew_y_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_skew_y_WebKitCSSMatrix ( self_ ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `skewY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewY)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn skew_y ( & self , ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_skew_y_with_sy_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `skewY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewY)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn skew_y_with_sy ( & self , sy : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_skew_y_with_sy_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sy : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let sy = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sy , & mut __stack ) ; __widl_f_skew_y_with_sy_WebKitCSSMatrix ( self_ , sy ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `skewY()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewY)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn skew_y_with_sy ( & self , sy : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_translate_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn translate ( & self , ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_translate_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_translate_WebKitCSSMatrix ( self_ ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn translate ( & self , ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_translate_with_tx_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn translate_with_tx ( & self , tx : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_translate_with_tx_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tx , & mut __stack ) ; __widl_f_translate_with_tx_WebKitCSSMatrix ( self_ , tx ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn translate_with_tx ( & self , tx : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_translate_with_tx_and_ty_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn translate_with_tx_and_ty ( & self , tx : f64 , ty : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_translate_with_tx_and_ty_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ty : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tx , & mut __stack ) ; let ty = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ty , & mut __stack ) ; __widl_f_translate_with_tx_and_ty_WebKitCSSMatrix ( self_ , tx , ty ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn translate_with_tx_and_ty ( & self , tx : f64 , ty : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_translate_with_tx_and_ty_and_tz_WebKitCSSMatrix ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WebKitCssMatrix as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < WebKitCssMatrix as WasmDescribe > :: describe ( ) ; } impl WebKitCssMatrix { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn translate_with_tx_and_ty_and_tz ( & self , tx : f64 , ty : f64 , tz : f64 ) -> WebKitCssMatrix { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_translate_with_tx_and_ty_and_tz_WebKitCSSMatrix ( self_ : < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tx : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ty : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , tz : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebKitCssMatrix as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let tx = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tx , & mut __stack ) ; let ty = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ty , & mut __stack ) ; let tz = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( tz , & mut __stack ) ; __widl_f_translate_with_tx_and_ty_and_tz_WebKitCSSMatrix ( self_ , tx , ty , tz ) } ; < WebKitCssMatrix as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `translate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)\n\n*This API requires the following crate features to be activated: `WebKitCssMatrix`*" ] pub fn translate_with_tx_and_ty_and_tz ( & self , tx : f64 , ty : f64 , tz : f64 ) -> WebKitCssMatrix { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WebSocket` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] # [ repr ( transparent ) ] pub struct WebSocket { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WebSocket : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WebSocket { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WebSocket { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WebSocket { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WebSocket { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WebSocket { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WebSocket { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WebSocket { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WebSocket { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WebSocket { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WebSocket > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WebSocket { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WebSocket { # [ inline ] fn from ( obj : JsValue ) -> WebSocket { WebSocket { obj } } } impl AsRef < JsValue > for WebSocket { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WebSocket > for JsValue { # [ inline ] fn from ( obj : WebSocket ) -> JsValue { obj . obj } } impl JsCast for WebSocket { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WebSocket ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WebSocket ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebSocket { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebSocket ) } } } ( ) } ; impl core :: ops :: Deref for WebSocket { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < WebSocket > for EventTarget { # [ inline ] fn from ( obj : WebSocket ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for WebSocket { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < WebSocket > for Object { # [ inline ] fn from ( obj : WebSocket ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WebSocket { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < WebSocket as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new WebSocket(..)` constructor, creating a new instance of `WebSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn new ( url : & str ) -> Result < WebSocket , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_WebSocket ( url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WebSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_new_WebSocket ( url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WebSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new WebSocket(..)` constructor, creating a new instance of `WebSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn new ( url : & str ) -> Result < WebSocket , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_str_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < WebSocket as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new WebSocket(..)` constructor, creating a new instance of `WebSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn new_with_str ( url : & str , protocols : & str ) -> Result < WebSocket , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_str_WebSocket ( url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , protocols : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WebSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let protocols = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( protocols , & mut __stack ) ; __widl_f_new_with_str_WebSocket ( url , protocols , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WebSocket as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new WebSocket(..)` constructor, creating a new instance of `WebSocket`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn new_with_str ( url : & str , protocols : & str ) -> Result < WebSocket , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn close ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_WebSocket ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn close ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_with_code_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn close_with_code ( & self , code : u16 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_with_code_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , code : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let code = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( code , & mut __stack ) ; __widl_f_close_with_code_WebSocket ( self_ , code , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn close_with_code ( & self , code : u16 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_with_code_and_reason_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn close_with_code_and_reason ( & self , code : u16 , reason : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_with_code_and_reason_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , code : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , reason : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let code = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( code , & mut __stack ) ; let reason = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( reason , & mut __stack ) ; __widl_f_close_with_code_and_reason_WebSocket ( self_ , code , reason , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn close_with_code_and_reason ( & self , code : u16 , reason : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_str_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn send_with_str ( & self , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_str_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_str_WebSocket ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn send_with_str ( & self , data : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_blob_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)\n\n*This API requires the following crate features to be activated: `Blob`, `WebSocket`*" ] pub fn send_with_blob ( & self , data : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_blob_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_blob_WebSocket ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)\n\n*This API requires the following crate features to be activated: `Blob`, `WebSocket`*" ] pub fn send_with_blob ( & self , data : & Blob ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_array_buffer_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < & :: js_sys :: ArrayBuffer as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn send_with_array_buffer ( & self , data : & :: js_sys :: ArrayBuffer ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_array_buffer_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: js_sys :: ArrayBuffer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_array_buffer_WebSocket ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn send_with_array_buffer ( & self , data : & :: js_sys :: ArrayBuffer ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_array_buffer_view_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn send_with_array_buffer_view ( & self , data : & :: js_sys :: Object ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_array_buffer_view_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_array_buffer_view_WebSocket ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn send_with_array_buffer_view ( & self , data : & :: js_sys :: Object ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_u8_array_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn send_with_u8_array ( & self , data : & mut [ u8 ] ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_u8_array_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let data = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_send_with_u8_array_WebSocket ( self_ , data , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn send_with_u8_array ( & self , data : & mut [ u8 ] ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_url_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/url)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn url ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_url_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_url_WebSocket ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `url` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/url)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn url ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_state_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/readyState)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn ready_state ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_state_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_state_WebSocket ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/readyState)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn ready_state ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_buffered_amount_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `bufferedAmount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/bufferedAmount)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn buffered_amount ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_buffered_amount_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_buffered_amount_WebSocket ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `bufferedAmount` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/bufferedAmount)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn buffered_amount ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onopen_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onopen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onopen)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn onopen ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onopen_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onopen_WebSocket ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onopen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onopen)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn onopen ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onopen_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onopen` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onopen)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn set_onopen ( & self , onopen : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onopen_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onopen : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onopen = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onopen , & mut __stack ) ; __widl_f_set_onopen_WebSocket ( self_ , onopen ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onopen` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onopen)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn set_onopen ( & self , onopen : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onerror)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_WebSocket ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onerror)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onerror)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_WebSocket ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onerror)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclose_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onclose)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclose_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclose_WebSocket ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onclose)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclose_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onclose)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclose_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclose : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclose = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclose , & mut __stack ) ; __widl_f_set_onclose_WebSocket ( self_ , onclose ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onclose)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_extensions_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `extensions` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/extensions)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn extensions ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_extensions_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_extensions_WebSocket ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `extensions` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/extensions)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn extensions ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_protocol_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `protocol` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/protocol)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn protocol ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_protocol_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_protocol_WebSocket ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `protocol` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/protocol)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn protocol ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onmessage)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_WebSocket ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onmessage)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onmessage)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_WebSocket ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onmessage)\n\n*This API requires the following crate features to be activated: `WebSocket`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_binary_type_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < BinaryType as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `binaryType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/binaryType)\n\n*This API requires the following crate features to be activated: `BinaryType`, `WebSocket`*" ] pub fn binary_type ( & self , ) -> BinaryType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_binary_type_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < BinaryType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_binary_type_WebSocket ( self_ ) } ; < BinaryType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `binaryType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/binaryType)\n\n*This API requires the following crate features to be activated: `BinaryType`, `WebSocket`*" ] pub fn binary_type ( & self , ) -> BinaryType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_binary_type_WebSocket ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WebSocket as WasmDescribe > :: describe ( ) ; < BinaryType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WebSocket { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `binaryType` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/binaryType)\n\n*This API requires the following crate features to be activated: `BinaryType`, `WebSocket`*" ] pub fn set_binary_type ( & self , binary_type : BinaryType ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_binary_type_WebSocket ( self_ : < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , binary_type : < BinaryType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WebSocket as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let binary_type = < BinaryType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( binary_type , & mut __stack ) ; __widl_f_set_binary_type_WebSocket ( self_ , binary_type ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `binaryType` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/binaryType)\n\n*This API requires the following crate features to be activated: `BinaryType`, `WebSocket`*" ] pub fn set_binary_type ( & self , binary_type : BinaryType ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WheelEvent` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent)\n\n*This API requires the following crate features to be activated: `WheelEvent`*" ] # [ repr ( transparent ) ] pub struct WheelEvent { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WheelEvent : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WheelEvent { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WheelEvent { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WheelEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WheelEvent { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WheelEvent { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WheelEvent { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WheelEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WheelEvent { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WheelEvent { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WheelEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WheelEvent { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WheelEvent { # [ inline ] fn from ( obj : JsValue ) -> WheelEvent { WheelEvent { obj } } } impl AsRef < JsValue > for WheelEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WheelEvent > for JsValue { # [ inline ] fn from ( obj : WheelEvent ) -> JsValue { obj . obj } } impl JsCast for WheelEvent { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WheelEvent ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WheelEvent ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WheelEvent { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WheelEvent ) } } } ( ) } ; impl core :: ops :: Deref for WheelEvent { type Target = MouseEvent ; # [ inline ] fn deref ( & self ) -> & MouseEvent { self . as_ref ( ) } } impl From < WheelEvent > for MouseEvent { # [ inline ] fn from ( obj : WheelEvent ) -> MouseEvent { use wasm_bindgen :: JsCast ; MouseEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < MouseEvent > for WheelEvent { # [ inline ] fn as_ref ( & self ) -> & MouseEvent { use wasm_bindgen :: JsCast ; MouseEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < WheelEvent > for UiEvent { # [ inline ] fn from ( obj : WheelEvent ) -> UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < UiEvent > for WheelEvent { # [ inline ] fn as_ref ( & self ) -> & UiEvent { use wasm_bindgen :: JsCast ; UiEvent :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < WheelEvent > for Event { # [ inline ] fn from ( obj : WheelEvent ) -> Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Event > for WheelEvent { # [ inline ] fn as_ref ( & self ) -> & Event { use wasm_bindgen :: JsCast ; Event :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < WheelEvent > for Object { # [ inline ] fn from ( obj : WheelEvent ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WheelEvent { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_WheelEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < WheelEvent as WasmDescribe > :: describe ( ) ; } impl WheelEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new WheelEvent(..)` constructor, creating a new instance of `WheelEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/WheelEvent)\n\n*This API requires the following crate features to be activated: `WheelEvent`*" ] pub fn new ( type_ : & str ) -> Result < WheelEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_WheelEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WheelEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_new_WheelEvent ( type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WheelEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new WheelEvent(..)` constructor, creating a new instance of `WheelEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/WheelEvent)\n\n*This API requires the following crate features to be activated: `WheelEvent`*" ] pub fn new ( type_ : & str ) -> Result < WheelEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_event_init_dict_WheelEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & WheelEventInit as WasmDescribe > :: describe ( ) ; < WheelEvent as WasmDescribe > :: describe ( ) ; } impl WheelEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new WheelEvent(..)` constructor, creating a new instance of `WheelEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/WheelEvent)\n\n*This API requires the following crate features to be activated: `WheelEvent`, `WheelEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & WheelEventInit ) -> Result < WheelEvent , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_event_init_dict_WheelEvent ( type_ : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , event_init_dict : < & WheelEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < WheelEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let type_ = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let event_init_dict = < & WheelEventInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( event_init_dict , & mut __stack ) ; __widl_f_new_with_event_init_dict_WheelEvent ( type_ , event_init_dict , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < WheelEvent as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new WheelEvent(..)` constructor, creating a new instance of `WheelEvent`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/WheelEvent)\n\n*This API requires the following crate features to be activated: `WheelEvent`, `WheelEventInit`*" ] pub fn new_with_event_init_dict ( type_ : & str , event_init_dict : & WheelEventInit ) -> Result < WheelEvent , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delta_x_WheelEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WheelEvent as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl WheelEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deltaX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaX)\n\n*This API requires the following crate features to be activated: `WheelEvent`*" ] pub fn delta_x ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delta_x_WheelEvent ( self_ : < & WheelEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WheelEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_delta_x_WheelEvent ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deltaX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaX)\n\n*This API requires the following crate features to be activated: `WheelEvent`*" ] pub fn delta_x ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delta_y_WheelEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WheelEvent as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl WheelEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deltaY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaY)\n\n*This API requires the following crate features to be activated: `WheelEvent`*" ] pub fn delta_y ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delta_y_WheelEvent ( self_ : < & WheelEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WheelEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_delta_y_WheelEvent ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deltaY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaY)\n\n*This API requires the following crate features to be activated: `WheelEvent`*" ] pub fn delta_y ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delta_z_WheelEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WheelEvent as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl WheelEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deltaZ` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaZ)\n\n*This API requires the following crate features to be activated: `WheelEvent`*" ] pub fn delta_z ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delta_z_WheelEvent ( self_ : < & WheelEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WheelEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_delta_z_WheelEvent ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deltaZ` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaZ)\n\n*This API requires the following crate features to be activated: `WheelEvent`*" ] pub fn delta_z ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_delta_mode_WheelEvent ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WheelEvent as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl WheelEvent { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `deltaMode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaMode)\n\n*This API requires the following crate features to be activated: `WheelEvent`*" ] pub fn delta_mode ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_delta_mode_WheelEvent ( self_ : < & WheelEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WheelEvent as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_delta_mode_WheelEvent ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `deltaMode` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaMode)\n\n*This API requires the following crate features to be activated: `WheelEvent`*" ] pub fn delta_mode ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Window` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window)\n\n*This API requires the following crate features to be activated: `Window`*" ] # [ repr ( transparent ) ] pub struct Window { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Window : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Window { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Window { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Window { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Window { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Window { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Window { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Window { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Window { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Window { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Window > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Window { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Window { # [ inline ] fn from ( obj : JsValue ) -> Window { Window { obj } } } impl AsRef < JsValue > for Window { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Window > for JsValue { # [ inline ] fn from ( obj : Window ) -> JsValue { obj . obj } } impl JsCast for Window { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Window ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Window ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Window { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Window ) } } } ( ) } ; impl core :: ops :: Deref for Window { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < Window > for EventTarget { # [ inline ] fn from ( obj : Window ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for Window { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Window > for Object { # [ inline ] fn from ( obj : Window ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Window { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_alert_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `alert()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/alert)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn alert ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_alert_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_alert_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `alert()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/alert)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn alert ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_alert_with_message_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `alert()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/alert)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn alert_with_message ( & self , message : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_alert_with_message_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let message = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; __widl_f_alert_with_message_Window ( self_ , message , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `alert()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/alert)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn alert_with_message ( & self , message : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_blur_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `blur()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/blur)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn blur ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_blur_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_blur_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `blur()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/blur)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn blur ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cancel_animation_frame_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cancelAnimationFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelAnimationFrame)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn cancel_animation_frame ( & self , handle : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cancel_animation_frame_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handle : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handle = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handle , & mut __stack ) ; __widl_f_cancel_animation_frame_Window ( self_ , handle , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cancelAnimationFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelAnimationFrame)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn cancel_animation_frame ( & self , handle : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_cancel_idle_callback_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `cancelIdleCallback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelIdleCallback)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn cancel_idle_callback ( & self , handle : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_cancel_idle_callback_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handle : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handle = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handle , & mut __stack ) ; __widl_f_cancel_idle_callback_Window ( self_ , handle ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `cancelIdleCallback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelIdleCallback)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn cancel_idle_callback ( & self , handle : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_capture_events_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `captureEvents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/captureEvents)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn capture_events ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_capture_events_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_capture_events_Window ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `captureEvents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/captureEvents)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn capture_events ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_close_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/close)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn close ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_close_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_close_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `close()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/close)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn close ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_confirm_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `confirm()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn confirm ( & self , ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_confirm_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_confirm_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `confirm()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn confirm ( & self , ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_confirm_with_message_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `confirm()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn confirm_with_message ( & self , message : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_confirm_with_message_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let message = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; __widl_f_confirm_with_message_Window ( self_ , message , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `confirm()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn confirm_with_message ( & self , message : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_focus_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `focus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/focus)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn focus ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_focus_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_focus_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `focus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/focus)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn focus ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_computed_style_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < Option < CssStyleDeclaration > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getComputedStyle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`, `Element`, `Window`*" ] pub fn get_computed_style ( & self , elt : & Element ) -> Result < Option < CssStyleDeclaration > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_computed_style_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , elt : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < CssStyleDeclaration > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let elt = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( elt , & mut __stack ) ; __widl_f_get_computed_style_Window ( self_ , elt , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < CssStyleDeclaration > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getComputedStyle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`, `Element`, `Window`*" ] pub fn get_computed_style ( & self , elt : & Element ) -> Result < Option < CssStyleDeclaration > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_computed_style_with_pseudo_elt_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & Element as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < CssStyleDeclaration > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getComputedStyle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`, `Element`, `Window`*" ] pub fn get_computed_style_with_pseudo_elt ( & self , elt : & Element , pseudo_elt : & str ) -> Result < Option < CssStyleDeclaration > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_computed_style_with_pseudo_elt_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , elt : < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , pseudo_elt : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < CssStyleDeclaration > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let elt = < & Element as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( elt , & mut __stack ) ; let pseudo_elt = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( pseudo_elt , & mut __stack ) ; __widl_f_get_computed_style_with_pseudo_elt_Window ( self_ , elt , pseudo_elt , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < CssStyleDeclaration > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getComputedStyle()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle)\n\n*This API requires the following crate features to be activated: `CssStyleDeclaration`, `Element`, `Window`*" ] pub fn get_computed_style_with_pseudo_elt ( & self , elt : & Element , pseudo_elt : & str ) -> Result < Option < CssStyleDeclaration > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_selection_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < Selection > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getSelection()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection)\n\n*This API requires the following crate features to be activated: `Selection`, `Window`*" ] pub fn get_selection ( & self , ) -> Result < Option < Selection > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_selection_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Selection > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_selection_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Selection > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getSelection()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection)\n\n*This API requires the following crate features to be activated: `Selection`, `Window`*" ] pub fn get_selection ( & self , ) -> Result < Option < Selection > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_match_media_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < MediaQueryList > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `matchMedia()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia)\n\n*This API requires the following crate features to be activated: `MediaQueryList`, `Window`*" ] pub fn match_media ( & self , query : & str ) -> Result < Option < MediaQueryList > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_match_media_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , query : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < MediaQueryList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let query = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( query , & mut __stack ) ; __widl_f_match_media_Window ( self_ , query , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < MediaQueryList > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `matchMedia()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia)\n\n*This API requires the following crate features to be activated: `MediaQueryList`, `Window`*" ] pub fn match_media ( & self , query : & str ) -> Result < Option < MediaQueryList > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_move_by_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `moveBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/moveBy)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn move_by ( & self , x : i32 , y : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_move_by_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_move_by_Window ( self_ , x , y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `moveBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/moveBy)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn move_by ( & self , x : i32 , y : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_move_to_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `moveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/moveTo)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn move_to ( & self , x : i32 , y : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_move_to_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_move_to_Window ( self_ , x , y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `moveTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/moveTo)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn move_to ( & self , x : i32 , y : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn open ( & self , ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_open_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn open ( & self , ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_with_url_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn open_with_url ( & self , url : & str ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_with_url_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_open_with_url_Window ( self_ , url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn open_with_url ( & self , url : & str ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_with_url_and_target_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn open_with_url_and_target ( & self , url : & str , target : & str ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_with_url_and_target_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let target = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; __widl_f_open_with_url_and_target_Window ( self_ , url , target , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn open_with_url_and_target ( & self , url : & str , target : & str ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_with_url_and_target_and_features_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn open_with_url_and_target_and_features ( & self , url : & str , target : & str , features : & str ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_with_url_and_target_and_features_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , features : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let target = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target , & mut __stack ) ; let features = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( features , & mut __stack ) ; __widl_f_open_with_url_and_target_and_features_Window ( self_ , url , target , features , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn open_with_url_and_target_and_features ( & self , url : & str , target : & str , features : & str ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_post_message_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue , target_origin : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_post_message_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , target_origin : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let message = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; let target_origin = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( target_origin , & mut __stack ) ; __widl_f_post_message_Window ( self_ , message , target_origin , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue , target_origin : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_print_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `print()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/print)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn print ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_print_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_print_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `print()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/print)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn print ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prompt_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prompt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn prompt ( & self , ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prompt_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_prompt_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prompt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn prompt ( & self , ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prompt_with_message_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prompt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn prompt_with_message ( & self , message : & str ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prompt_with_message_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let message = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; __widl_f_prompt_with_message_Window ( self_ , message , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prompt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn prompt_with_message ( & self , message : & str ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_prompt_with_message_and_default_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `prompt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn prompt_with_message_and_default ( & self , message : & str , default : & str ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_prompt_with_message_and_default_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , default : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let message = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; let default = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( default , & mut __stack ) ; __widl_f_prompt_with_message_and_default_Window ( self_ , message , default , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `prompt()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn prompt_with_message_and_default ( & self , message : & str , default : & str ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_release_events_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `releaseEvents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/releaseEvents)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn release_events ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_release_events_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_release_events_Window ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `releaseEvents()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/releaseEvents)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn release_events ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_animation_frame_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestAnimationFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn request_animation_frame ( & self , callback : & :: js_sys :: Function ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_animation_frame_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( callback , & mut __stack ) ; __widl_f_request_animation_frame_Window ( self_ , callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestAnimationFrame()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn request_animation_frame ( & self , callback : & :: js_sys :: Function ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_idle_callback_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestIdleCallback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn request_idle_callback ( & self , callback : & :: js_sys :: Function ) -> Result < u32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_idle_callback_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( callback , & mut __stack ) ; __widl_f_request_idle_callback_Window ( self_ , callback , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestIdleCallback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn request_idle_callback ( & self , callback : & :: js_sys :: Function ) -> Result < u32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_request_idle_callback_with_options_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < & IdleRequestOptions as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `requestIdleCallback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)\n\n*This API requires the following crate features to be activated: `IdleRequestOptions`, `Window`*" ] pub fn request_idle_callback_with_options ( & self , callback : & :: js_sys :: Function , options : & IdleRequestOptions ) -> Result < u32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_request_idle_callback_with_options_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , callback : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & IdleRequestOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let callback = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( callback , & mut __stack ) ; let options = < & IdleRequestOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_request_idle_callback_with_options_Window ( self_ , callback , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `requestIdleCallback()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)\n\n*This API requires the following crate features to be activated: `IdleRequestOptions`, `Window`*" ] pub fn request_idle_callback_with_options ( & self , callback : & :: js_sys :: Function , options : & IdleRequestOptions ) -> Result < u32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_resize_by_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `resizeBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeBy)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn resize_by ( & self , x : i32 , y : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_resize_by_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_resize_by_Window ( self_ , x , y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `resizeBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeBy)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn resize_by ( & self , x : i32 , y : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_resize_to_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `resizeTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeTo)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn resize_to ( & self , x : i32 , y : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_resize_to_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_resize_to_Window ( self_ , x , y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `resizeTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeTo)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn resize_to ( & self , x : i32 , y : i32 ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_with_x_and_y_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scroll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_with_x_and_y ( & self , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_with_x_and_y_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_scroll_with_x_and_y_Window ( self_ , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scroll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_with_x_and_y ( & self , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scroll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_Window ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scroll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_with_scroll_to_options_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & ScrollToOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scroll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)\n\n*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*" ] pub fn scroll_with_scroll_to_options ( & self , options : & ScrollToOptions ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_with_scroll_to_options_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ScrollToOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & ScrollToOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_scroll_with_scroll_to_options_Window ( self_ , options ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scroll()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)\n\n*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*" ] pub fn scroll_with_scroll_to_options ( & self , options : & ScrollToOptions ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_by_with_x_and_y_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_by_with_x_and_y ( & self , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_by_with_x_and_y_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_scroll_by_with_x_and_y_Window ( self_ , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_by_with_x_and_y ( & self , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_by_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_by ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_by_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_by_Window ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_by ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_by_with_scroll_to_options_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & ScrollToOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)\n\n*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*" ] pub fn scroll_by_with_scroll_to_options ( & self , options : & ScrollToOptions ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_by_with_scroll_to_options_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ScrollToOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & ScrollToOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_scroll_by_with_scroll_to_options_Window ( self_ , options ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollBy()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)\n\n*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*" ] pub fn scroll_by_with_scroll_to_options ( & self , options : & ScrollToOptions ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_to_with_x_and_y_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_to_with_x_and_y ( & self , x : f64 , y : f64 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_to_with_x_and_y_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , x : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , y : < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let x = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( x , & mut __stack ) ; let y = < f64 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( y , & mut __stack ) ; __widl_f_scroll_to_with_x_and_y_Window ( self_ , x , y ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_to_with_x_and_y ( & self , x : f64 , y : f64 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_to_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_to ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_to_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_to_Window ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_to ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_to_with_scroll_to_options_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & ScrollToOptions as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)\n\n*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*" ] pub fn scroll_to_with_scroll_to_options ( & self , options : & ScrollToOptions ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_to_with_scroll_to_options_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & ScrollToOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let options = < & ScrollToOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_scroll_to_with_scroll_to_options_Window ( self_ , options ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollTo()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)\n\n*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*" ] pub fn scroll_to_with_scroll_to_options ( & self , options : & ScrollToOptions ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_stop_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/stop)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn stop ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_stop_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_stop_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/stop)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn stop ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn get ( & self , name : & str ) -> :: js_sys :: Object { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_get_Window ( self_ , name ) } ; < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The indexing getter\n\n\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn get ( & self , name : & str ) -> :: js_sys :: Object { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_window_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Window as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `window` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/window)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn window ( & self , ) -> Window { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_window_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Window as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_window_Window ( self_ ) } ; < Window as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `window` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/window)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn window ( & self , ) -> Window { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_self_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Window as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `self` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/self)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn self_ ( & self , ) -> Window { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_self_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Window as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_self_Window ( self_ ) } ; < Window as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `self` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/self)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn self_ ( & self , ) -> Window { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_document_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < Document > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `document` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/document)\n\n*This API requires the following crate features to be activated: `Document`, `Window`*" ] pub fn document ( & self , ) -> Option < Document > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_document_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_document_Window ( self_ ) } ; < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `document` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/document)\n\n*This API requires the following crate features to be activated: `Document`, `Window`*" ] pub fn document ( & self , ) -> Option < Document > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_name_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/name)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn name ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_name_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_name_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/name)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn name ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_name_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/name)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_name ( & self , name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_name_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; __widl_f_set_name_Window ( self_ , name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `name` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/name)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_name ( & self , name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_location_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Location as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `location` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/location)\n\n*This API requires the following crate features to be activated: `Location`, `Window`*" ] pub fn location ( & self , ) -> Location { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_location_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Location as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_location_Window ( self_ ) } ; < Location as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `location` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/location)\n\n*This API requires the following crate features to be activated: `Location`, `Window`*" ] pub fn location ( & self , ) -> Location { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_history_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < History as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `history` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/history)\n\n*This API requires the following crate features to be activated: `History`, `Window`*" ] pub fn history ( & self , ) -> Result < History , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_history_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < History as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_history_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < History as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `history` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/history)\n\n*This API requires the following crate features to be activated: `History`, `Window`*" ] pub fn history ( & self , ) -> Result < History , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_custom_elements_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < CustomElementRegistry as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `customElements` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/customElements)\n\n*This API requires the following crate features to be activated: `CustomElementRegistry`, `Window`*" ] pub fn custom_elements ( & self , ) -> CustomElementRegistry { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_custom_elements_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < CustomElementRegistry as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_custom_elements_Window ( self_ ) } ; < CustomElementRegistry as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `customElements` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/customElements)\n\n*This API requires the following crate features to be activated: `CustomElementRegistry`, `Window`*" ] pub fn custom_elements ( & self , ) -> CustomElementRegistry { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_locationbar_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < BarProp as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `locationbar` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/locationbar)\n\n*This API requires the following crate features to be activated: `BarProp`, `Window`*" ] pub fn locationbar ( & self , ) -> Result < BarProp , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_locationbar_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BarProp as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_locationbar_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BarProp as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `locationbar` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/locationbar)\n\n*This API requires the following crate features to be activated: `BarProp`, `Window`*" ] pub fn locationbar ( & self , ) -> Result < BarProp , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_menubar_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < BarProp as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `menubar` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/menubar)\n\n*This API requires the following crate features to be activated: `BarProp`, `Window`*" ] pub fn menubar ( & self , ) -> Result < BarProp , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_menubar_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BarProp as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_menubar_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BarProp as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `menubar` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/menubar)\n\n*This API requires the following crate features to be activated: `BarProp`, `Window`*" ] pub fn menubar ( & self , ) -> Result < BarProp , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_personalbar_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < BarProp as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `personalbar` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/personalbar)\n\n*This API requires the following crate features to be activated: `BarProp`, `Window`*" ] pub fn personalbar ( & self , ) -> Result < BarProp , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_personalbar_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BarProp as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_personalbar_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BarProp as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `personalbar` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/personalbar)\n\n*This API requires the following crate features to be activated: `BarProp`, `Window`*" ] pub fn personalbar ( & self , ) -> Result < BarProp , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scrollbars_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < BarProp as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollbars` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollbars)\n\n*This API requires the following crate features to be activated: `BarProp`, `Window`*" ] pub fn scrollbars ( & self , ) -> Result < BarProp , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scrollbars_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BarProp as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scrollbars_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BarProp as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollbars` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollbars)\n\n*This API requires the following crate features to be activated: `BarProp`, `Window`*" ] pub fn scrollbars ( & self , ) -> Result < BarProp , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_statusbar_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < BarProp as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `statusbar` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/statusbar)\n\n*This API requires the following crate features to be activated: `BarProp`, `Window`*" ] pub fn statusbar ( & self , ) -> Result < BarProp , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_statusbar_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BarProp as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_statusbar_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BarProp as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `statusbar` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/statusbar)\n\n*This API requires the following crate features to be activated: `BarProp`, `Window`*" ] pub fn statusbar ( & self , ) -> Result < BarProp , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_toolbar_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < BarProp as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `toolbar` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/toolbar)\n\n*This API requires the following crate features to be activated: `BarProp`, `Window`*" ] pub fn toolbar ( & self , ) -> Result < BarProp , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_toolbar_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < BarProp as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_toolbar_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < BarProp as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `toolbar` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/toolbar)\n\n*This API requires the following crate features to be activated: `BarProp`, `Window`*" ] pub fn toolbar ( & self , ) -> Result < BarProp , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_status_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `status` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/status)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn status ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_status_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_status_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `status` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/status)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn status ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_status_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `status` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/status)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_status ( & self , status : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_status_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , status : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let status = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( status , & mut __stack ) ; __widl_f_set_status_Window ( self_ , status , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `status` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/status)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_status ( & self , status : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_closed_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `closed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/closed)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn closed ( & self , ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_closed_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_closed_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `closed` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/closed)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn closed ( & self , ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_event_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `event` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/event)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn event ( & self , ) -> :: wasm_bindgen :: JsValue { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_event_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_event_Window ( self_ ) } ; < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `event` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/event)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn event ( & self , ) -> :: wasm_bindgen :: JsValue { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_frames_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Window as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/frames)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn frames ( & self , ) -> Result < Window , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_frames_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Window as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_frames_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Window as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frames` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/frames)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn frames ( & self , ) -> Result < Window , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_length_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/length)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn length ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_length_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_length_Window ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `length` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/length)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn length ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_top_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `top` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/top)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn top ( & self , ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_top_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_top_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `top` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/top)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn top ( & self , ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_opener_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `opener` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/opener)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn opener ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_opener_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_opener_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `opener` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/opener)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn opener ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_opener_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `opener` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/opener)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_opener ( & self , opener : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_opener_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , opener : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let opener = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( opener , & mut __stack ) ; __widl_f_set_opener_Window ( self_ , opener , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `opener` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/opener)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_opener ( & self , opener : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_parent_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < Window > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `parent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/parent)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn parent ( & self , ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_parent_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_parent_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Window > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `parent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/parent)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn parent ( & self , ) -> Result < Option < Window > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_frame_element_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < Element > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `frameElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/frameElement)\n\n*This API requires the following crate features to be activated: `Element`, `Window`*" ] pub fn frame_element ( & self , ) -> Result < Option < Element > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_frame_element_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_frame_element_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Element > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `frameElement` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/frameElement)\n\n*This API requires the following crate features to be activated: `Element`, `Window`*" ] pub fn frame_element ( & self , ) -> Result < Option < Element > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_navigator_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Navigator as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `navigator` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator)\n\n*This API requires the following crate features to be activated: `Navigator`, `Window`*" ] pub fn navigator ( & self , ) -> Navigator { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_navigator_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Navigator as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_navigator_Window ( self_ ) } ; < Navigator as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `navigator` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator)\n\n*This API requires the following crate features to be activated: `Navigator`, `Window`*" ] pub fn navigator ( & self , ) -> Navigator { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onappinstalled_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onappinstalled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onappinstalled ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onappinstalled_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onappinstalled_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onappinstalled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onappinstalled ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onappinstalled_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onappinstalled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onappinstalled ( & self , onappinstalled : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onappinstalled_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onappinstalled : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onappinstalled = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onappinstalled , & mut __stack ) ; __widl_f_set_onappinstalled_Window ( self_ , onappinstalled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onappinstalled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onappinstalled ( & self , onappinstalled : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_screen_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Screen as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `screen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screen)\n\n*This API requires the following crate features to be activated: `Screen`, `Window`*" ] pub fn screen ( & self , ) -> Result < Screen , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_screen_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Screen as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_screen_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Screen as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `screen` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screen)\n\n*This API requires the following crate features to be activated: `Screen`, `Window`*" ] pub fn screen ( & self , ) -> Result < Screen , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_inner_width_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `innerWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn inner_width ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_inner_width_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_inner_width_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `innerWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn inner_width ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_inner_width_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `innerWidth` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_inner_width ( & self , inner_width : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_inner_width_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , inner_width : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let inner_width = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( inner_width , & mut __stack ) ; __widl_f_set_inner_width_Window ( self_ , inner_width , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `innerWidth` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_inner_width ( & self , inner_width : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_inner_height_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `innerHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn inner_height ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_inner_height_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_inner_height_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `innerHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn inner_height ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_inner_height_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `innerHeight` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_inner_height ( & self , inner_height : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_inner_height_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , inner_height : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let inner_height = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( inner_height , & mut __stack ) ; __widl_f_set_inner_height_Window ( self_ , inner_height , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `innerHeight` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_inner_height ( & self , inner_height : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_x_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollX)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_x ( & self , ) -> Result < f64 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_x_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_x_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollX)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_x ( & self , ) -> Result < f64 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_page_x_offset_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pageXOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/pageXOffset)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn page_x_offset ( & self , ) -> Result < f64 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_page_x_offset_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_page_x_offset_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pageXOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/pageXOffset)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn page_x_offset ( & self , ) -> Result < f64 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_scroll_y_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `scrollY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_y ( & self , ) -> Result < f64 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_scroll_y_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_scroll_y_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `scrollY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn scroll_y ( & self , ) -> Result < f64 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_page_y_offset_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pageYOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/pageYOffset)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn page_y_offset ( & self , ) -> Result < f64 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_page_y_offset_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_page_y_offset_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pageYOffset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/pageYOffset)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn page_y_offset ( & self , ) -> Result < f64 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_screen_x_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `screenX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn screen_x ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_screen_x_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_screen_x_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `screenX` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn screen_x ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_screen_x_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `screenX` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_screen_x ( & self , screen_x : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_screen_x_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_x : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let screen_x = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_x , & mut __stack ) ; __widl_f_set_screen_x_Window ( self_ , screen_x , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `screenX` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_screen_x ( & self , screen_x : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_screen_y_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `screenY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn screen_y ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_screen_y_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_screen_y_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `screenY` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn screen_y ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_screen_y_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `screenY` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_screen_y ( & self , screen_y : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_screen_y_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , screen_y : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let screen_y = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( screen_y , & mut __stack ) ; __widl_f_set_screen_y_Window ( self_ , screen_y , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `screenY` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_screen_y ( & self , screen_y : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_outer_width_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `outerWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn outer_width ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_outer_width_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_outer_width_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `outerWidth` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn outer_width ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_outer_width_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `outerWidth` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_outer_width ( & self , outer_width : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_outer_width_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , outer_width : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let outer_width = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( outer_width , & mut __stack ) ; __widl_f_set_outer_width_Window ( self_ , outer_width , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `outerWidth` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_outer_width ( & self , outer_width : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_outer_height_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `outerHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn outer_height ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_outer_height_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_outer_height_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `outerHeight` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn outer_height ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_outer_height_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `outerHeight` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_outer_height ( & self , outer_height : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_outer_height_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , outer_height : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let outer_height = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( outer_height , & mut __stack ) ; __widl_f_set_outer_height_Window ( self_ , outer_height , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `outerHeight` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_outer_height ( & self , outer_height : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_device_pixel_ratio_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `devicePixelRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn device_pixel_ratio ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_device_pixel_ratio_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_device_pixel_ratio_Window ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `devicePixelRatio` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn device_pixel_ratio ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_performance_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < Performance > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `performance` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/performance)\n\n*This API requires the following crate features to be activated: `Performance`, `Window`*" ] pub fn performance ( & self , ) -> Option < Performance > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_performance_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < Performance > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_performance_Window ( self_ ) } ; < Option < Performance > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `performance` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/performance)\n\n*This API requires the following crate features to be activated: `Performance`, `Window`*" ] pub fn performance ( & self , ) -> Option < Performance > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_orientation_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < i16 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `orientation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/orientation)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn orientation ( & self , ) -> i16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_orientation_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < i16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_orientation_Window ( self_ ) } ; < i16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `orientation` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/orientation)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn orientation ( & self , ) -> i16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onorientationchange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onorientationchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onorientationchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onorientationchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onorientationchange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onorientationchange_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onorientationchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onorientationchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onorientationchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onorientationchange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onorientationchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onorientationchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onorientationchange ( & self , onorientationchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onorientationchange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onorientationchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onorientationchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onorientationchange , & mut __stack ) ; __widl_f_set_onorientationchange_Window ( self_ , onorientationchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onorientationchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onorientationchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onorientationchange ( & self , onorientationchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onvrdisplayconnect_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvrdisplayconnect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onvrdisplayconnect ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onvrdisplayconnect_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onvrdisplayconnect_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvrdisplayconnect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onvrdisplayconnect ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onvrdisplayconnect_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvrdisplayconnect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onvrdisplayconnect ( & self , onvrdisplayconnect : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onvrdisplayconnect_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onvrdisplayconnect : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onvrdisplayconnect = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onvrdisplayconnect , & mut __stack ) ; __widl_f_set_onvrdisplayconnect_Window ( self_ , onvrdisplayconnect ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvrdisplayconnect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onvrdisplayconnect ( & self , onvrdisplayconnect : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onvrdisplaydisconnect_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvrdisplaydisconnect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onvrdisplaydisconnect ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onvrdisplaydisconnect_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onvrdisplaydisconnect_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvrdisplaydisconnect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onvrdisplaydisconnect ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onvrdisplaydisconnect_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvrdisplaydisconnect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onvrdisplaydisconnect ( & self , onvrdisplaydisconnect : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onvrdisplaydisconnect_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onvrdisplaydisconnect : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onvrdisplaydisconnect = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onvrdisplaydisconnect , & mut __stack ) ; __widl_f_set_onvrdisplaydisconnect_Window ( self_ , onvrdisplaydisconnect ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvrdisplaydisconnect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onvrdisplaydisconnect ( & self , onvrdisplaydisconnect : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onvrdisplayactivate_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvrdisplayactivate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onvrdisplayactivate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onvrdisplayactivate_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onvrdisplayactivate_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvrdisplayactivate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onvrdisplayactivate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onvrdisplayactivate_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvrdisplayactivate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onvrdisplayactivate ( & self , onvrdisplayactivate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onvrdisplayactivate_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onvrdisplayactivate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onvrdisplayactivate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onvrdisplayactivate , & mut __stack ) ; __widl_f_set_onvrdisplayactivate_Window ( self_ , onvrdisplayactivate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvrdisplayactivate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onvrdisplayactivate ( & self , onvrdisplayactivate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onvrdisplaydeactivate_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvrdisplaydeactivate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onvrdisplaydeactivate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onvrdisplaydeactivate_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onvrdisplaydeactivate_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvrdisplaydeactivate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onvrdisplaydeactivate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onvrdisplaydeactivate_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvrdisplaydeactivate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onvrdisplaydeactivate ( & self , onvrdisplaydeactivate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onvrdisplaydeactivate_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onvrdisplaydeactivate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onvrdisplaydeactivate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onvrdisplaydeactivate , & mut __stack ) ; __widl_f_set_onvrdisplaydeactivate_Window ( self_ , onvrdisplaydeactivate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvrdisplaydeactivate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onvrdisplaydeactivate ( & self , onvrdisplaydeactivate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onvrdisplaypresentchange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvrdisplaypresentchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onvrdisplaypresentchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onvrdisplaypresentchange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onvrdisplaypresentchange_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvrdisplaypresentchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onvrdisplaypresentchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onvrdisplaypresentchange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvrdisplaypresentchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onvrdisplaypresentchange ( & self , onvrdisplaypresentchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onvrdisplaypresentchange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onvrdisplaypresentchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onvrdisplaypresentchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onvrdisplaypresentchange , & mut __stack ) ; __widl_f_set_onvrdisplaypresentchange_Window ( self_ , onvrdisplaypresentchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvrdisplaypresentchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onvrdisplaypresentchange ( & self , onvrdisplaypresentchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_paint_worklet_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Worklet as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `paintWorklet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/paintWorklet)\n\n*This API requires the following crate features to be activated: `Window`, `Worklet`*" ] pub fn paint_worklet ( & self , ) -> Result < Worklet , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_paint_worklet_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Worklet as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_paint_worklet_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Worklet as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `paintWorklet` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/paintWorklet)\n\n*This API requires the following crate features to be activated: `Window`, `Worklet`*" ] pub fn paint_worklet ( & self , ) -> Result < Worklet , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_crypto_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Crypto as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `crypto` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/crypto)\n\n*This API requires the following crate features to be activated: `Crypto`, `Window`*" ] pub fn crypto ( & self , ) -> Result < Crypto , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_crypto_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Crypto as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_crypto_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Crypto as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `crypto` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/crypto)\n\n*This API requires the following crate features to be activated: `Crypto`, `Window`*" ] pub fn crypto ( & self , ) -> Result < Crypto , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onabort_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onabort)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onabort_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onabort_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onabort)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onabort_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onabort)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onabort_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onabort : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onabort = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onabort , & mut __stack ) ; __widl_f_set_onabort_Window ( self_ , onabort ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onabort)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onblur_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onblur` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onblur)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onblur ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onblur_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onblur_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onblur` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onblur)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onblur ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onblur_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onblur` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onblur)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onblur ( & self , onblur : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onblur_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onblur : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onblur = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onblur , & mut __stack ) ; __widl_f_set_onblur_Window ( self_ , onblur ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onblur` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onblur)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onblur ( & self , onblur : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onfocus_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onfocus)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onfocus ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onfocus_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onfocus_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfocus` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onfocus)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onfocus ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onfocus_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onfocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onfocus)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onfocus ( & self , onfocus : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onfocus_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onfocus : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onfocus = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onfocus , & mut __stack ) ; __widl_f_set_onfocus_Window ( self_ , onfocus ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onfocus` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onfocus)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onfocus ( & self , onfocus : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onauxclick_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onauxclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onauxclick)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onauxclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onauxclick_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onauxclick_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onauxclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onauxclick)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onauxclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onauxclick_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onauxclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onauxclick)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onauxclick ( & self , onauxclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onauxclick_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onauxclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onauxclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onauxclick , & mut __stack ) ; __widl_f_set_onauxclick_Window ( self_ , onauxclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onauxclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onauxclick)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onauxclick ( & self , onauxclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncanplay_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplay)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn oncanplay ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncanplay_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncanplay_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplay)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn oncanplay ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncanplay_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplay)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_oncanplay ( & self , oncanplay : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncanplay_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncanplay : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncanplay = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncanplay , & mut __stack ) ; __widl_f_set_oncanplay_Window ( self_ , oncanplay ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplay)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_oncanplay ( & self , oncanplay : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncanplaythrough_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplaythrough` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn oncanplaythrough ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncanplaythrough_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncanplaythrough_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplaythrough` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn oncanplaythrough ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncanplaythrough_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncanplaythrough` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_oncanplaythrough ( & self , oncanplaythrough : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncanplaythrough_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncanplaythrough : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncanplaythrough = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncanplaythrough , & mut __stack ) ; __widl_f_set_oncanplaythrough_Window ( self_ , oncanplaythrough ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncanplaythrough` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplaythrough)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_oncanplaythrough ( & self , oncanplaythrough : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onchange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onchange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onchange_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onchange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onchange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onchange , & mut __stack ) ; __widl_f_set_onchange_Window ( self_ , onchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onchange ( & self , onchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclick_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclick)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclick_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclick_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclick)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclick_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclick)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onclick ( & self , onclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclick_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclick , & mut __stack ) ; __widl_f_set_onclick_Window ( self_ , onclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclick)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onclick ( & self , onclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onclose_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclose)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onclose_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onclose_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclose)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onclose ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onclose_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclose)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onclose_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onclose : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onclose = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onclose , & mut __stack ) ; __widl_f_set_onclose_Window ( self_ , onclose ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onclose` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclose)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onclose ( & self , onclose : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oncontextmenu_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncontextmenu` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncontextmenu)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn oncontextmenu ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oncontextmenu_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oncontextmenu_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncontextmenu` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncontextmenu)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn oncontextmenu ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oncontextmenu_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oncontextmenu` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncontextmenu)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_oncontextmenu ( & self , oncontextmenu : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oncontextmenu_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oncontextmenu : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oncontextmenu = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oncontextmenu , & mut __stack ) ; __widl_f_set_oncontextmenu_Window ( self_ , oncontextmenu ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oncontextmenu` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncontextmenu)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_oncontextmenu ( & self , oncontextmenu : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondblclick_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondblclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondblclick)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondblclick ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondblclick_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondblclick_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondblclick` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondblclick)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondblclick ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondblclick_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondblclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondblclick)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondblclick ( & self , ondblclick : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondblclick_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondblclick : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondblclick = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondblclick , & mut __stack ) ; __widl_f_set_ondblclick_Window ( self_ , ondblclick ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondblclick` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondblclick)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondblclick ( & self , ondblclick : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondrag_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrag` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrag)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondrag ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondrag_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondrag_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrag` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrag)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondrag ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondrag_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrag` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrag)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondrag ( & self , ondrag : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondrag_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondrag : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondrag = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondrag , & mut __stack ) ; __widl_f_set_ondrag_Window ( self_ , ondrag ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrag` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrag)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondrag ( & self , ondrag : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondragend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragend_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondragend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondragend ( & self , ondragend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragend , & mut __stack ) ; __widl_f_set_ondragend_Window ( self_ , ondragend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondragend ( & self , ondragend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragenter_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragenter)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondragenter ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragenter_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragenter_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragenter)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondragenter ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragenter_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragenter)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondragenter ( & self , ondragenter : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragenter_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragenter : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragenter = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragenter , & mut __stack ) ; __widl_f_set_ondragenter_Window ( self_ , ondragenter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragenter)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondragenter ( & self , ondragenter : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragexit_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragexit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragexit)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondragexit ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragexit_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragexit_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragexit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragexit)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondragexit ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragexit_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragexit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragexit)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondragexit ( & self , ondragexit : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragexit_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragexit : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragexit = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragexit , & mut __stack ) ; __widl_f_set_ondragexit_Window ( self_ , ondragexit ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragexit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragexit)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondragexit ( & self , ondragexit : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragleave_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragleave)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondragleave ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragleave_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragleave_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragleave)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondragleave ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragleave_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragleave)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondragleave ( & self , ondragleave : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragleave_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragleave : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragleave = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragleave , & mut __stack ) ; __widl_f_set_ondragleave_Window ( self_ , ondragleave ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragleave)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondragleave ( & self , ondragleave : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragover_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragover)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondragover ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragover_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragover_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragover)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondragover ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragover_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragover)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondragover ( & self , ondragover : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragover_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragover : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragover = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragover , & mut __stack ) ; __widl_f_set_ondragover_Window ( self_ , ondragover ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragover)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondragover ( & self , ondragover : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondragstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondragstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondragstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondragstart_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondragstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondragstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondragstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondragstart ( & self , ondragstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondragstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondragstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondragstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondragstart , & mut __stack ) ; __widl_f_set_ondragstart_Window ( self_ , ondragstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondragstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondragstart ( & self , ondragstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondrop_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrop)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondrop ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondrop_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondrop_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrop` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrop)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondrop ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondrop_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondrop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrop)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondrop ( & self , ondrop : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondrop_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondrop : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondrop = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondrop , & mut __stack ) ; __widl_f_set_ondrop_Window ( self_ , ondrop ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondrop` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrop)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondrop ( & self , ondrop : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ondurationchange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondurationchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondurationchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondurationchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ondurationchange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ondurationchange_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondurationchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondurationchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ondurationchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ondurationchange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ondurationchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondurationchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondurationchange ( & self , ondurationchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ondurationchange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ondurationchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ondurationchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ondurationchange , & mut __stack ) ; __widl_f_set_ondurationchange_Window ( self_ , ondurationchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ondurationchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondurationchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ondurationchange ( & self , ondurationchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onemptied_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onemptied` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onemptied)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onemptied ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onemptied_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onemptied_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onemptied` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onemptied)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onemptied ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onemptied_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onemptied` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onemptied)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onemptied ( & self , onemptied : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onemptied_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onemptied : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onemptied = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onemptied , & mut __stack ) ; __widl_f_set_onemptied_Window ( self_ , onemptied ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onemptied` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onemptied)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onemptied ( & self , onemptied : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onended_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onended)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onended_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onended_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onended)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onended ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onended_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onended)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onended_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onended : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onended = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onended , & mut __stack ) ; __widl_f_set_onended_Window ( self_ , onended ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onended` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onended)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onended ( & self , onended : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oninput_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninput` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninput)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn oninput ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oninput_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oninput_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninput` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninput)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn oninput ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oninput_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninput` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninput)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_oninput ( & self , oninput : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oninput_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oninput : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oninput = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oninput , & mut __stack ) ; __widl_f_set_oninput_Window ( self_ , oninput ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninput` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninput)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_oninput ( & self , oninput : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_oninvalid_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninvalid` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninvalid)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn oninvalid ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_oninvalid_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_oninvalid_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninvalid` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninvalid)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn oninvalid ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_oninvalid_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `oninvalid` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninvalid)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_oninvalid ( & self , oninvalid : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_oninvalid_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , oninvalid : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let oninvalid = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( oninvalid , & mut __stack ) ; __widl_f_set_oninvalid_Window ( self_ , oninvalid ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `oninvalid` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninvalid)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_oninvalid ( & self , oninvalid : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onkeydown_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeydown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeydown)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onkeydown ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onkeydown_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onkeydown_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeydown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeydown)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onkeydown ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onkeydown_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeydown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeydown)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onkeydown ( & self , onkeydown : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onkeydown_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onkeydown : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onkeydown = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onkeydown , & mut __stack ) ; __widl_f_set_onkeydown_Window ( self_ , onkeydown ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeydown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeydown)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onkeydown ( & self , onkeydown : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onkeypress_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeypress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeypress)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onkeypress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onkeypress_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onkeypress_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeypress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeypress)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onkeypress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onkeypress_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeypress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeypress)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onkeypress ( & self , onkeypress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onkeypress_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onkeypress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onkeypress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onkeypress , & mut __stack ) ; __widl_f_set_onkeypress_Window ( self_ , onkeypress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeypress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeypress)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onkeypress ( & self , onkeypress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onkeyup_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeyup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeyup)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onkeyup ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onkeyup_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onkeyup_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeyup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeyup)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onkeyup ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onkeyup_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onkeyup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeyup)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onkeyup ( & self , onkeyup : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onkeyup_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onkeyup : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onkeyup = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onkeyup , & mut __stack ) ; __widl_f_set_onkeyup_Window ( self_ , onkeyup ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onkeyup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeyup)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onkeyup ( & self , onkeyup : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onload_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onload)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onload ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onload_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onload_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onload)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onload ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onload_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onload)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onload ( & self , onload : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onload_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onload : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onload = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onload , & mut __stack ) ; __widl_f_set_onload_Window ( self_ , onload ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onload)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onload ( & self , onload : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadeddata_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadeddata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadeddata)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onloadeddata ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadeddata_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadeddata_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadeddata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadeddata)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onloadeddata ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadeddata_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadeddata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadeddata)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onloadeddata ( & self , onloadeddata : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadeddata_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadeddata : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadeddata = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadeddata , & mut __stack ) ; __widl_f_set_onloadeddata_Window ( self_ , onloadeddata ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadeddata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadeddata)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onloadeddata ( & self , onloadeddata : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadedmetadata_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadedmetadata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onloadedmetadata ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadedmetadata_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadedmetadata_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadedmetadata` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onloadedmetadata ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadedmetadata_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadedmetadata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onloadedmetadata ( & self , onloadedmetadata : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadedmetadata_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadedmetadata : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadedmetadata = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadedmetadata , & mut __stack ) ; __widl_f_set_onloadedmetadata_Window ( self_ , onloadedmetadata ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadedmetadata` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadedmetadata)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onloadedmetadata ( & self , onloadedmetadata : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onloadend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadend_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onloadend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onloadend ( & self , onloadend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadend , & mut __stack ) ; __widl_f_set_onloadend_Window ( self_ , onloadend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onloadend ( & self , onloadend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onloadstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadstart_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onloadstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onloadstart ( & self , onloadstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadstart , & mut __stack ) ; __widl_f_set_onloadstart_Window ( self_ , onloadstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onloadstart ( & self , onloadstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmousedown_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousedown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousedown)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmousedown ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmousedown_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmousedown_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousedown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousedown)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmousedown ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmousedown_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousedown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousedown)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmousedown ( & self , onmousedown : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmousedown_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmousedown : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmousedown = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmousedown , & mut __stack ) ; __widl_f_set_onmousedown_Window ( self_ , onmousedown ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousedown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousedown)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmousedown ( & self , onmousedown : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseenter_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseenter)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmouseenter ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseenter_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseenter_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseenter)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmouseenter ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseenter_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseenter)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmouseenter ( & self , onmouseenter : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseenter_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseenter : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseenter = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseenter , & mut __stack ) ; __widl_f_set_onmouseenter_Window ( self_ , onmouseenter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseenter)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmouseenter ( & self , onmouseenter : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseleave_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseleave)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmouseleave ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseleave_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseleave_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseleave)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmouseleave ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseleave_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseleave)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmouseleave ( & self , onmouseleave : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseleave_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseleave : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseleave = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseleave , & mut __stack ) ; __widl_f_set_onmouseleave_Window ( self_ , onmouseleave ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseleave)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmouseleave ( & self , onmouseleave : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmousemove_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousemove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousemove)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmousemove ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmousemove_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmousemove_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousemove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousemove)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmousemove ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmousemove_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmousemove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousemove)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmousemove ( & self , onmousemove : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmousemove_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmousemove : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmousemove = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmousemove , & mut __stack ) ; __widl_f_set_onmousemove_Window ( self_ , onmousemove ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmousemove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousemove)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmousemove ( & self , onmousemove : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseout_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmouseout ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseout_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseout_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmouseout ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseout_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmouseout ( & self , onmouseout : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseout_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseout : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseout = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseout , & mut __stack ) ; __widl_f_set_onmouseout_Window ( self_ , onmouseout ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmouseout ( & self , onmouseout : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseover_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseover)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmouseover ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseover_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseover_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseover)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmouseover ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseover_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseover)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmouseover ( & self , onmouseover : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseover_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseover : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseover = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseover , & mut __stack ) ; __widl_f_set_onmouseover_Window ( self_ , onmouseover ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseover)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmouseover ( & self , onmouseover : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmouseup_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseup)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmouseup ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmouseup_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmouseup_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseup)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmouseup ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmouseup_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmouseup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseup)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmouseup ( & self , onmouseup : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmouseup_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmouseup : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmouseup = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmouseup , & mut __stack ) ; __widl_f_set_onmouseup_Window ( self_ , onmouseup ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmouseup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseup)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmouseup ( & self , onmouseup : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwheel_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwheel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwheel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onwheel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwheel_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwheel_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwheel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwheel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onwheel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwheel_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwheel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwheel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onwheel ( & self , onwheel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwheel_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwheel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwheel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwheel , & mut __stack ) ; __widl_f_set_onwheel_Window ( self_ , onwheel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwheel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwheel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onwheel ( & self , onwheel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpause_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpause` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpause)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpause ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpause_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpause_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpause` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpause)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpause ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpause_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpause` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpause)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpause ( & self , onpause : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpause_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpause : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpause = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpause , & mut __stack ) ; __widl_f_set_onpause_Window ( self_ , onpause ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpause` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpause)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpause ( & self , onpause : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onplay_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplay)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onplay ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onplay_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onplay_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplay` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplay)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onplay ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onplay_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplay)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onplay ( & self , onplay : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onplay_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onplay : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onplay = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onplay , & mut __stack ) ; __widl_f_set_onplay_Window ( self_ , onplay ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplay` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplay)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onplay ( & self , onplay : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onplaying_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplaying` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplaying)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onplaying ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onplaying_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onplaying_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplaying` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplaying)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onplaying ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onplaying_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onplaying` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplaying)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onplaying ( & self , onplaying : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onplaying_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onplaying : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onplaying = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onplaying , & mut __stack ) ; __widl_f_set_onplaying_Window ( self_ , onplaying ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onplaying` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplaying)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onplaying ( & self , onplaying : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onprogress_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onprogress)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onprogress_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onprogress_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onprogress)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onprogress_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onprogress)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onprogress_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onprogress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onprogress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onprogress , & mut __stack ) ; __widl_f_set_onprogress_Window ( self_ , onprogress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onprogress)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onratechange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onratechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onratechange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onratechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onratechange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onratechange_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onratechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onratechange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onratechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onratechange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onratechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onratechange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onratechange ( & self , onratechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onratechange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onratechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onratechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onratechange , & mut __stack ) ; __widl_f_set_onratechange_Window ( self_ , onratechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onratechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onratechange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onratechange ( & self , onratechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onreset_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onreset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onreset)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onreset ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onreset_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onreset_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onreset` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onreset)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onreset ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onreset_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onreset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onreset)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onreset ( & self , onreset : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onreset_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onreset : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onreset = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onreset , & mut __stack ) ; __widl_f_set_onreset_Window ( self_ , onreset ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onreset` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onreset)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onreset ( & self , onreset : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onresize_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onresize)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onresize ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onresize_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onresize_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresize` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onresize)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onresize ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onresize_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onresize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onresize)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onresize ( & self , onresize : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onresize_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onresize : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onresize = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onresize , & mut __stack ) ; __widl_f_set_onresize_Window ( self_ , onresize ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onresize` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onresize)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onresize ( & self , onresize : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onscroll_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onscroll` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onscroll)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onscroll ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onscroll_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onscroll_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onscroll` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onscroll)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onscroll ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onscroll_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onscroll` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onscroll)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onscroll ( & self , onscroll : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onscroll_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onscroll : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onscroll = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onscroll , & mut __stack ) ; __widl_f_set_onscroll_Window ( self_ , onscroll ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onscroll` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onscroll)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onscroll ( & self , onscroll : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onseeked_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeked)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onseeked ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onseeked_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onseeked_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeked` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeked)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onseeked ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onseeked_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeked)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onseeked ( & self , onseeked : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onseeked_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onseeked : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onseeked = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onseeked , & mut __stack ) ; __widl_f_set_onseeked_Window ( self_ , onseeked ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeked` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeked)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onseeked ( & self , onseeked : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onseeking_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeking)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onseeking ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onseeking_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onseeking_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeking` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeking)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onseeking ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onseeking_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onseeking` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeking)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onseeking ( & self , onseeking : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onseeking_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onseeking : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onseeking = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onseeking , & mut __stack ) ; __widl_f_set_onseeking_Window ( self_ , onseeking ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onseeking` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeking)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onseeking ( & self , onseeking : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onselect_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselect)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onselect ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onselect_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onselect_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselect` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselect)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onselect ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onselect_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselect)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onselect ( & self , onselect : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onselect_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onselect : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onselect = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onselect , & mut __stack ) ; __widl_f_set_onselect_Window ( self_ , onselect ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselect` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselect)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onselect ( & self , onselect : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onshow_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onshow)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onshow ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onshow_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onshow_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onshow)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onshow ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onshow_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onshow)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onshow ( & self , onshow : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onshow_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onshow : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onshow = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onshow , & mut __stack ) ; __widl_f_set_onshow_Window ( self_ , onshow ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onshow)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onshow ( & self , onshow : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstalled_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstalled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstalled)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onstalled ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstalled_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstalled_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstalled` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstalled)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onstalled ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstalled_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstalled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstalled)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onstalled ( & self , onstalled : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstalled_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstalled : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstalled = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstalled , & mut __stack ) ; __widl_f_set_onstalled_Window ( self_ , onstalled ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstalled` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstalled)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onstalled ( & self , onstalled : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsubmit_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsubmit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsubmit)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onsubmit ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsubmit_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsubmit_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsubmit` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsubmit)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onsubmit ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsubmit_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsubmit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsubmit)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onsubmit ( & self , onsubmit : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsubmit_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsubmit : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsubmit = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsubmit , & mut __stack ) ; __widl_f_set_onsubmit_Window ( self_ , onsubmit ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsubmit` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsubmit)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onsubmit ( & self , onsubmit : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onsuspend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsuspend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsuspend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onsuspend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onsuspend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onsuspend_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsuspend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsuspend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onsuspend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onsuspend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onsuspend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsuspend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onsuspend ( & self , onsuspend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onsuspend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onsuspend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onsuspend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onsuspend , & mut __stack ) ; __widl_f_set_onsuspend_Window ( self_ , onsuspend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onsuspend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsuspend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onsuspend ( & self , onsuspend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontimeupdate_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontimeupdate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontimeupdate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontimeupdate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontimeupdate_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontimeupdate_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontimeupdate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontimeupdate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontimeupdate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontimeupdate_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontimeupdate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontimeupdate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontimeupdate ( & self , ontimeupdate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontimeupdate_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontimeupdate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontimeupdate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontimeupdate , & mut __stack ) ; __widl_f_set_ontimeupdate_Window ( self_ , ontimeupdate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontimeupdate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontimeupdate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontimeupdate ( & self , ontimeupdate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onvolumechange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvolumechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvolumechange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onvolumechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onvolumechange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onvolumechange_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvolumechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvolumechange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onvolumechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onvolumechange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onvolumechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvolumechange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onvolumechange ( & self , onvolumechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onvolumechange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onvolumechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onvolumechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onvolumechange , & mut __stack ) ; __widl_f_set_onvolumechange_Window ( self_ , onvolumechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onvolumechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvolumechange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onvolumechange ( & self , onvolumechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwaiting_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwaiting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwaiting)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onwaiting ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwaiting_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwaiting_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwaiting` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwaiting)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onwaiting ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwaiting_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwaiting` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwaiting)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onwaiting ( & self , onwaiting : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwaiting_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwaiting : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwaiting = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwaiting , & mut __stack ) ; __widl_f_set_onwaiting_Window ( self_ , onwaiting ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwaiting` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwaiting)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onwaiting ( & self , onwaiting : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onselectstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselectstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselectstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onselectstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onselectstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onselectstart_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselectstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselectstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onselectstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onselectstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onselectstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselectstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onselectstart ( & self , onselectstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onselectstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onselectstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onselectstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onselectstart , & mut __stack ) ; __widl_f_set_onselectstart_Window ( self_ , onselectstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onselectstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselectstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onselectstart ( & self , onselectstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontoggle_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontoggle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontoggle)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontoggle ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontoggle_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontoggle_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontoggle` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontoggle)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontoggle ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontoggle_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontoggle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontoggle)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontoggle ( & self , ontoggle : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontoggle_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontoggle : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontoggle = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontoggle , & mut __stack ) ; __widl_f_set_ontoggle_Window ( self_ , ontoggle ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontoggle` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontoggle)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontoggle ( & self , ontoggle : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointercancel_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointercancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointercancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointercancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointercancel_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointercancel_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointercancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointercancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointercancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointercancel_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointercancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointercancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointercancel ( & self , onpointercancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointercancel_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointercancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointercancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointercancel , & mut __stack ) ; __widl_f_set_onpointercancel_Window ( self_ , onpointercancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointercancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointercancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointercancel ( & self , onpointercancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerdown_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerdown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerdown)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointerdown ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerdown_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerdown_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerdown` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerdown)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointerdown ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerdown_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerdown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerdown)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointerdown ( & self , onpointerdown : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerdown_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerdown : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerdown = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerdown , & mut __stack ) ; __widl_f_set_onpointerdown_Window ( self_ , onpointerdown ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerdown` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerdown)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointerdown ( & self , onpointerdown : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerup_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerup)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointerup ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerup_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerup_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerup` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerup)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointerup ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerup_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerup)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointerup ( & self , onpointerup : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerup_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerup : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerup = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerup , & mut __stack ) ; __widl_f_set_onpointerup_Window ( self_ , onpointerup ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerup` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerup)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointerup ( & self , onpointerup : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointermove_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointermove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointermove)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointermove ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointermove_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointermove_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointermove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointermove)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointermove ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointermove_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointermove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointermove)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointermove ( & self , onpointermove : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointermove_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointermove : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointermove = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointermove , & mut __stack ) ; __widl_f_set_onpointermove_Window ( self_ , onpointermove ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointermove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointermove)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointermove ( & self , onpointermove : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerout_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointerout ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerout_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerout_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointerout ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerout_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointerout ( & self , onpointerout : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerout_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerout : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerout = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerout , & mut __stack ) ; __widl_f_set_onpointerout_Window ( self_ , onpointerout ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointerout ( & self , onpointerout : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerover_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerover)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointerover ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerover_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerover_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerover` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerover)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointerover ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerover_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerover)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointerover ( & self , onpointerover : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerover_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerover : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerover = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerover , & mut __stack ) ; __widl_f_set_onpointerover_Window ( self_ , onpointerover ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerover` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerover)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointerover ( & self , onpointerover : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerenter_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerenter)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointerenter ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerenter_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerenter_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerenter` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerenter)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointerenter ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerenter_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerenter)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointerenter ( & self , onpointerenter : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerenter_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerenter : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerenter = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerenter , & mut __stack ) ; __widl_f_set_onpointerenter_Window ( self_ , onpointerenter ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerenter` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerenter)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointerenter ( & self , onpointerenter : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpointerleave_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerleave)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointerleave ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpointerleave_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpointerleave_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerleave` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerleave)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpointerleave ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpointerleave_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpointerleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerleave)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointerleave ( & self , onpointerleave : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpointerleave_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpointerleave : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpointerleave = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpointerleave , & mut __stack ) ; __widl_f_set_onpointerleave_Window ( self_ , onpointerleave ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpointerleave` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerleave)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpointerleave ( & self , onpointerleave : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ongotpointercapture_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ongotpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ongotpointercapture ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ongotpointercapture_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ongotpointercapture_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ongotpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ongotpointercapture ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ongotpointercapture_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ongotpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ongotpointercapture ( & self , ongotpointercapture : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ongotpointercapture_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ongotpointercapture : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ongotpointercapture = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ongotpointercapture , & mut __stack ) ; __widl_f_set_ongotpointercapture_Window ( self_ , ongotpointercapture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ongotpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongotpointercapture)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ongotpointercapture ( & self , ongotpointercapture : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onlostpointercapture_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlostpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onlostpointercapture ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onlostpointercapture_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onlostpointercapture_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlostpointercapture` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onlostpointercapture ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onlostpointercapture_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlostpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onlostpointercapture ( & self , onlostpointercapture : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onlostpointercapture_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onlostpointercapture : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onlostpointercapture = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onlostpointercapture , & mut __stack ) ; __widl_f_set_onlostpointercapture_Window ( self_ , onlostpointercapture ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlostpointercapture` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlostpointercapture)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onlostpointercapture ( & self , onlostpointercapture : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationcancel_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationcancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onanimationcancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationcancel_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationcancel_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationcancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onanimationcancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationcancel_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationcancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onanimationcancel ( & self , onanimationcancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationcancel_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationcancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationcancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationcancel , & mut __stack ) ; __widl_f_set_onanimationcancel_Window ( self_ , onanimationcancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationcancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onanimationcancel ( & self , onanimationcancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onanimationend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationend_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onanimationend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onanimationend ( & self , onanimationend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationend , & mut __stack ) ; __widl_f_set_onanimationend_Window ( self_ , onanimationend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onanimationend ( & self , onanimationend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationiteration_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationiteration)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationiteration_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationiteration_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationiteration)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationiteration_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationiteration)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onanimationiteration ( & self , onanimationiteration : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationiteration_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationiteration : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationiteration = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationiteration , & mut __stack ) ; __widl_f_set_onanimationiteration_Window ( self_ , onanimationiteration ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationiteration)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onanimationiteration ( & self , onanimationiteration : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onanimationstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onanimationstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onanimationstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onanimationstart_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onanimationstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onanimationstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onanimationstart ( & self , onanimationstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onanimationstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onanimationstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onanimationstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onanimationstart , & mut __stack ) ; __widl_f_set_onanimationstart_Window ( self_ , onanimationstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onanimationstart ( & self , onanimationstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitioncancel_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitioncancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontransitioncancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitioncancel_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitioncancel_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitioncancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontransitioncancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitioncancel_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitioncancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontransitioncancel ( & self , ontransitioncancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitioncancel_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitioncancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitioncancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitioncancel , & mut __stack ) ; __widl_f_set_ontransitioncancel_Window ( self_ , ontransitioncancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitioncancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitioncancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontransitioncancel ( & self , ontransitioncancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitionend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontransitionend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitionend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitionend_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontransitionend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitionend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontransitionend ( & self , ontransitionend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitionend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitionend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitionend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitionend , & mut __stack ) ; __widl_f_set_ontransitionend_Window ( self_ , ontransitionend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontransitionend ( & self , ontransitionend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitionrun_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionrun` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionrun)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontransitionrun ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitionrun_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitionrun_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionrun` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionrun)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontransitionrun ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitionrun_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionrun` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionrun)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontransitionrun ( & self , ontransitionrun : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitionrun_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitionrun : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitionrun = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitionrun , & mut __stack ) ; __widl_f_set_ontransitionrun_Window ( self_ , ontransitionrun ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionrun` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionrun)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontransitionrun ( & self , ontransitionrun : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontransitionstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontransitionstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontransitionstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontransitionstart_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontransitionstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontransitionstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontransitionstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontransitionstart ( & self , ontransitionstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontransitionstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontransitionstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontransitionstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontransitionstart , & mut __stack ) ; __widl_f_set_ontransitionstart_Window ( self_ , ontransitionstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontransitionstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontransitionstart ( & self , ontransitionstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkitanimationend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onwebkitanimationend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkitanimationend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkitanimationend_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onwebkitanimationend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkitanimationend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onwebkitanimationend ( & self , onwebkitanimationend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkitanimationend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkitanimationend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkitanimationend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkitanimationend , & mut __stack ) ; __widl_f_set_onwebkitanimationend_Window ( self_ , onwebkitanimationend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onwebkitanimationend ( & self , onwebkitanimationend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkitanimationiteration_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onwebkitanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkitanimationiteration_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkitanimationiteration_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationiteration` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onwebkitanimationiteration ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkitanimationiteration_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onwebkitanimationiteration ( & self , onwebkitanimationiteration : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkitanimationiteration_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkitanimationiteration : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkitanimationiteration = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkitanimationiteration , & mut __stack ) ; __widl_f_set_onwebkitanimationiteration_Window ( self_ , onwebkitanimationiteration ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationiteration` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationiteration)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onwebkitanimationiteration ( & self , onwebkitanimationiteration : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkitanimationstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onwebkitanimationstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkitanimationstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkitanimationstart_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onwebkitanimationstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkitanimationstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkitanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onwebkitanimationstart ( & self , onwebkitanimationstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkitanimationstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkitanimationstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkitanimationstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkitanimationstart , & mut __stack ) ; __widl_f_set_onwebkitanimationstart_Window ( self_ , onwebkitanimationstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkitanimationstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onwebkitanimationstart ( & self , onwebkitanimationstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onwebkittransitionend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkittransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onwebkittransitionend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onwebkittransitionend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onwebkittransitionend_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkittransitionend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onwebkittransitionend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onwebkittransitionend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onwebkittransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onwebkittransitionend ( & self , onwebkittransitionend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onwebkittransitionend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onwebkittransitionend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onwebkittransitionend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onwebkittransitionend , & mut __stack ) ; __widl_f_set_onwebkittransitionend_Window ( self_ , onwebkittransitionend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onwebkittransitionend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkittransitionend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onwebkittransitionend ( & self , onwebkittransitionend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_u2f_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < U2f as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `u2f` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/u2f)\n\n*This API requires the following crate features to be activated: `U2f`, `Window`*" ] pub fn u2f ( & self , ) -> Result < U2f , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_u2f_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < U2f as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_u2f_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < U2f as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `u2f` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/u2f)\n\n*This API requires the following crate features to be activated: `U2f`, `Window`*" ] pub fn u2f ( & self , ) -> Result < U2f , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onerror)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onerror)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onerror)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_Window ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onerror)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_speech_synthesis_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < SpeechSynthesis as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `speechSynthesis` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/speechSynthesis)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`, `Window`*" ] pub fn speech_synthesis ( & self , ) -> Result < SpeechSynthesis , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_speech_synthesis_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < SpeechSynthesis as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_speech_synthesis_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < SpeechSynthesis as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `speechSynthesis` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/speechSynthesis)\n\n*This API requires the following crate features to be activated: `SpeechSynthesis`, `Window`*" ] pub fn speech_synthesis ( & self , ) -> Result < SpeechSynthesis , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontouchstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchstart_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontouchstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchstart_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontouchstart ( & self , ontouchstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchstart_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchstart , & mut __stack ) ; __widl_f_set_ontouchstart_Window ( self_ , ontouchstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchstart)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontouchstart ( & self , ontouchstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontouchend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchend_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontouchend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchend_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontouchend ( & self , ontouchend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchend_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchend , & mut __stack ) ; __widl_f_set_ontouchend_Window ( self_ , ontouchend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchend)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontouchend ( & self , ontouchend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchmove_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchmove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchmove)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontouchmove ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchmove_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchmove_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchmove` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchmove)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontouchmove ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchmove_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchmove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchmove)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontouchmove ( & self , ontouchmove : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchmove_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchmove : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchmove = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchmove , & mut __stack ) ; __widl_f_set_ontouchmove_Window ( self_ , ontouchmove ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchmove` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchmove)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontouchmove ( & self , ontouchmove : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontouchcancel_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchcancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontouchcancel ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontouchcancel_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontouchcancel_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchcancel` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchcancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ontouchcancel ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontouchcancel_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontouchcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchcancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontouchcancel ( & self , ontouchcancel : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontouchcancel_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontouchcancel : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontouchcancel = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontouchcancel , & mut __stack ) ; __widl_f_set_ontouchcancel_Window ( self_ , ontouchcancel ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontouchcancel` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchcancel)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ontouchcancel ( & self , ontouchcancel : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_webgpu_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < WebGpu as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `webgpu` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/webgpu)\n\n*This API requires the following crate features to be activated: `WebGpu`, `Window`*" ] pub fn webgpu ( & self , ) -> WebGpu { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_webgpu_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WebGpu as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_webgpu_Window ( self_ ) } ; < WebGpu as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `webgpu` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/webgpu)\n\n*This API requires the following crate features to be activated: `WebGpu`, `Window`*" ] pub fn webgpu ( & self , ) -> WebGpu { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onafterprint_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onafterprint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onafterprint)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onafterprint ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onafterprint_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onafterprint_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onafterprint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onafterprint)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onafterprint ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onafterprint_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onafterprint` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onafterprint)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onafterprint ( & self , onafterprint : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onafterprint_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onafterprint : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onafterprint = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onafterprint , & mut __stack ) ; __widl_f_set_onafterprint_Window ( self_ , onafterprint ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onafterprint` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onafterprint)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onafterprint ( & self , onafterprint : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onbeforeprint_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforeprint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeprint)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onbeforeprint ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onbeforeprint_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onbeforeprint_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforeprint` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeprint)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onbeforeprint ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onbeforeprint_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforeprint` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeprint)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onbeforeprint ( & self , onbeforeprint : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onbeforeprint_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onbeforeprint : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onbeforeprint = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onbeforeprint , & mut __stack ) ; __widl_f_set_onbeforeprint_Window ( self_ , onbeforeprint ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforeprint` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeprint)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onbeforeprint ( & self , onbeforeprint : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onbeforeunload_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforeunload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeunload)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onbeforeunload ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onbeforeunload_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onbeforeunload_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforeunload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeunload)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onbeforeunload ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onbeforeunload_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onbeforeunload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeunload)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onbeforeunload ( & self , onbeforeunload : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onbeforeunload_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onbeforeunload : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onbeforeunload = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onbeforeunload , & mut __stack ) ; __widl_f_set_onbeforeunload_Window ( self_ , onbeforeunload ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onbeforeunload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeunload)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onbeforeunload ( & self , onbeforeunload : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onhashchange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onhashchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onhashchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onhashchange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onhashchange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onhashchange_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onhashchange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onhashchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onhashchange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onhashchange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onhashchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onhashchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onhashchange ( & self , onhashchange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onhashchange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onhashchange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onhashchange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onhashchange , & mut __stack ) ; __widl_f_set_onhashchange_Window ( self_ , onhashchange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onhashchange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onhashchange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onhashchange ( & self , onhashchange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onlanguagechange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlanguagechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlanguagechange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onlanguagechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onlanguagechange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onlanguagechange_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlanguagechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlanguagechange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onlanguagechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onlanguagechange_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onlanguagechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlanguagechange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onlanguagechange ( & self , onlanguagechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onlanguagechange_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onlanguagechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onlanguagechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onlanguagechange , & mut __stack ) ; __widl_f_set_onlanguagechange_Window ( self_ , onlanguagechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onlanguagechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlanguagechange)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onlanguagechange ( & self , onlanguagechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessage)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessage)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessage)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_Window ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessage)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessageerror_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessageerror)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessageerror_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessageerror_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessageerror)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessageerror_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessageerror)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessageerror_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessageerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessageerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessageerror , & mut __stack ) ; __widl_f_set_onmessageerror_Window ( self_ , onmessageerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessageerror)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onoffline_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onoffline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onoffline)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onoffline ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onoffline_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onoffline_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onoffline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onoffline)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onoffline ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onoffline_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onoffline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onoffline)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onoffline ( & self , onoffline : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onoffline_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onoffline : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onoffline = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onoffline , & mut __stack ) ; __widl_f_set_onoffline_Window ( self_ , onoffline ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onoffline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onoffline)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onoffline ( & self , onoffline : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ononline_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ononline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ononline)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ononline ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ononline_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ononline_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ononline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ononline)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn ononline ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ononline_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ononline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ononline)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ononline ( & self , ononline : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ononline_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ononline : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ononline = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ononline , & mut __stack ) ; __widl_f_set_ononline_Window ( self_ , ononline ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ononline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ononline)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_ononline ( & self , ononline : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpagehide_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpagehide` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpagehide)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpagehide ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpagehide_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpagehide_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpagehide` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpagehide)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpagehide ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpagehide_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpagehide` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpagehide)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpagehide ( & self , onpagehide : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpagehide_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpagehide : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpagehide = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpagehide , & mut __stack ) ; __widl_f_set_onpagehide_Window ( self_ , onpagehide ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpagehide` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpagehide)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpagehide ( & self , onpagehide : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpageshow_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpageshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpageshow)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpageshow ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpageshow_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpageshow_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpageshow` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpageshow)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpageshow ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpageshow_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpageshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpageshow)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpageshow ( & self , onpageshow : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpageshow_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpageshow : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpageshow = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpageshow , & mut __stack ) ; __widl_f_set_onpageshow_Window ( self_ , onpageshow ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpageshow` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpageshow)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpageshow ( & self , onpageshow : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onpopstate_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpopstate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpopstate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpopstate ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onpopstate_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onpopstate_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpopstate` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpopstate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onpopstate ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onpopstate_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onpopstate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpopstate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpopstate ( & self , onpopstate : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onpopstate_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onpopstate : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onpopstate = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onpopstate , & mut __stack ) ; __widl_f_set_onpopstate_Window ( self_ , onpopstate ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onpopstate` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpopstate)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onpopstate ( & self , onpopstate : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onstorage_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstorage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstorage)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onstorage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onstorage_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onstorage_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstorage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstorage)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onstorage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onstorage_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onstorage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstorage)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onstorage ( & self , onstorage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onstorage_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onstorage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onstorage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onstorage , & mut __stack ) ; __widl_f_set_onstorage_Window ( self_ , onstorage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onstorage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstorage)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onstorage ( & self , onstorage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onunload_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onunload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onunload)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onunload ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onunload_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onunload_Window ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onunload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onunload)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn onunload ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onunload_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onunload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onunload)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onunload ( & self , onunload : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onunload_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onunload : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onunload = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onunload , & mut __stack ) ; __widl_f_set_onunload_Window ( self_ , onunload ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onunload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onunload)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_onunload ( & self , onunload : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_local_storage_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < Storage > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `localStorage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)\n\n*This API requires the following crate features to be activated: `Storage`, `Window`*" ] pub fn local_storage ( & self , ) -> Result < Option < Storage > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_local_storage_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Storage > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_local_storage_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Storage > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `localStorage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)\n\n*This API requires the following crate features to be activated: `Storage`, `Window`*" ] pub fn local_storage ( & self , ) -> Result < Option < Storage > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_atob_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `atob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/atob)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn atob ( & self , atob : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_atob_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , atob : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let atob = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( atob , & mut __stack ) ; __widl_f_atob_Window ( self_ , atob , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `atob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/atob)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn atob ( & self , atob : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_btoa_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `btoa()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/btoa)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn btoa ( & self , btoa : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_btoa_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , btoa : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let btoa = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( btoa , & mut __stack ) ; __widl_f_btoa_Window ( self_ , btoa , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `btoa()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/btoa)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn btoa ( & self , btoa : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_interval_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn clear_interval ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_interval_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_interval_Window ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn clear_interval ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_interval_with_handle_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn clear_interval_with_handle ( & self , handle : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_interval_with_handle_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handle : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handle = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handle , & mut __stack ) ; __widl_f_clear_interval_with_handle_Window ( self_ , handle ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn clear_interval_with_handle ( & self , handle : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_timeout_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn clear_timeout ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_timeout_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_timeout_Window ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn clear_timeout ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_timeout_with_handle_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn clear_timeout_with_handle ( & self , handle : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_timeout_with_handle_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handle : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handle = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handle , & mut __stack ) ; __widl_f_clear_timeout_with_handle_Window ( self_ , handle ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn clear_timeout_with_handle ( & self , handle : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_html_image_element_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `Window`*" ] pub fn create_image_bitmap_with_html_image_element ( & self , a_image : & HtmlImageElement ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_html_image_element_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_html_image_element_Window ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `Window`*" ] pub fn create_image_bitmap_with_html_image_element ( & self , a_image : & HtmlImageElement ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_html_video_element_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `Window`*" ] pub fn create_image_bitmap_with_html_video_element ( & self , a_image : & HtmlVideoElement ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_html_video_element_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_html_video_element_Window ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `Window`*" ] pub fn create_image_bitmap_with_html_video_element ( & self , a_image : & HtmlVideoElement ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_html_canvas_element_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `Window`*" ] pub fn create_image_bitmap_with_html_canvas_element ( & self , a_image : & HtmlCanvasElement ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_html_canvas_element_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_html_canvas_element_Window ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `Window`*" ] pub fn create_image_bitmap_with_html_canvas_element ( & self , a_image : & HtmlCanvasElement ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_blob_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Blob`, `Window`*" ] pub fn create_image_bitmap_with_blob ( & self , a_image : & Blob ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_blob_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_blob_Window ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Blob`, `Window`*" ] pub fn create_image_bitmap_with_blob ( & self , a_image : & Blob ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_image_data_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageData`, `Window`*" ] pub fn create_image_bitmap_with_image_data ( & self , a_image : & ImageData ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_image_data_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_image_data_Window ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageData`, `Window`*" ] pub fn create_image_bitmap_with_image_data ( & self , a_image : & ImageData ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_canvas_rendering_context_2d_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Window`*" ] pub fn create_image_bitmap_with_canvas_rendering_context_2d ( & self , a_image : & CanvasRenderingContext2d ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_canvas_rendering_context_2d_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_canvas_rendering_context_2d_Window ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Window`*" ] pub fn create_image_bitmap_with_canvas_rendering_context_2d ( & self , a_image : & CanvasRenderingContext2d ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_image_bitmap_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `Window`*" ] pub fn create_image_bitmap_with_image_bitmap ( & self , a_image : & ImageBitmap ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_image_bitmap_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_image_bitmap_Window ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `Window`*" ] pub fn create_image_bitmap_with_image_bitmap ( & self , a_image : & ImageBitmap ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_buffer_source_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn create_image_bitmap_with_buffer_source ( & self , a_image : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_buffer_source_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_buffer_source_Window ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn create_image_bitmap_with_buffer_source ( & self , a_image : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_u8_array_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn create_image_bitmap_with_u8_array ( & self , a_image : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_u8_array_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_u8_array_Window ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn create_image_bitmap_with_u8_array ( & self , a_image : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `Window`*" ] pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & HtmlImageElement , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `Window`*" ] pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & HtmlImageElement , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `Window`*" ] pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & HtmlVideoElement , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `Window`*" ] pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & HtmlVideoElement , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `Window`*" ] pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & HtmlCanvasElement , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `Window`*" ] pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & HtmlCanvasElement , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Blob`, `Window`*" ] pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & Blob , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Blob`, `Window`*" ] pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & Blob , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageData`, `Window`*" ] pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & ImageData , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageData`, `Window`*" ] pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & ImageData , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Window`*" ] pub fn create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & CanvasRenderingContext2d , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `Window`*" ] pub fn create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & CanvasRenderingContext2d , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `Window`*" ] pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & ImageBitmap , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `Window`*" ] pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & ImageBitmap , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & :: js_sys :: Object , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & :: js_sys :: Object , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & mut [ u8 ] , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & mut [ u8 ] , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fetch_with_request_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)\n\n*This API requires the following crate features to be activated: `Request`, `Window`*" ] pub fn fetch_with_request ( & self , input : & Request ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fetch_with_request_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; __widl_f_fetch_with_request_Window ( self_ , input ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)\n\n*This API requires the following crate features to be activated: `Request`, `Window`*" ] pub fn fetch_with_request ( & self , input : & Request ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fetch_with_str_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn fetch_with_str ( & self , input : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fetch_with_str_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; __widl_f_fetch_with_str_Window ( self_ , input ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn fetch_with_str ( & self , input : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fetch_with_request_and_init_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < & RequestInit as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)\n\n*This API requires the following crate features to be activated: `Request`, `RequestInit`, `Window`*" ] pub fn fetch_with_request_and_init ( & self , input : & Request , init : & RequestInit ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fetch_with_request_and_init_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init : < & RequestInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; let init = < & RequestInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_fetch_with_request_and_init_Window ( self_ , input , init ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)\n\n*This API requires the following crate features to be activated: `Request`, `RequestInit`, `Window`*" ] pub fn fetch_with_request_and_init ( & self , input : & Request , init : & RequestInit ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fetch_with_str_and_init_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & RequestInit as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)\n\n*This API requires the following crate features to be activated: `RequestInit`, `Window`*" ] pub fn fetch_with_str_and_init ( & self , input : & str , init : & RequestInit ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fetch_with_str_and_init_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init : < & RequestInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; let init = < & RequestInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_fetch_with_str_and_init_Window ( self_ , input , init ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)\n\n*This API requires the following crate features to be activated: `RequestInit`, `Window`*" ] pub fn fetch_with_str_and_init ( & self , input : & str , init : & RequestInit ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback ( & self , handler : & :: js_sys :: Function ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; __widl_f_set_interval_with_callback_Window ( self_ , handler , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback ( & self , handler : & :: js_sys :: Function ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_Window ( self_ , handler , timeout , arguments , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_0_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_0 ( & self , handler : & :: js_sys :: Function , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_0_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_0_Window ( self_ , handler , timeout , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_0 ( & self , handler : & :: js_sys :: Function , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_1_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_1 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_1_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_1_Window ( self_ , handler , timeout , arguments_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_1 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_2_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_2 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_2_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_2_Window ( self_ , handler , timeout , arguments_1 , arguments_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_2 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_3_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_3 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_3_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_3_Window ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_3 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_4_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_4 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_4_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_4_Window ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_4 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_5_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_5 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_5_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; let arguments_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_5 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_5_Window ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , arguments_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_5 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_6_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_6 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_6_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; let arguments_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_5 , & mut __stack ) ; let arguments_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_6 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_6_Window ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , arguments_5 , arguments_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_6 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_7_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_7 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue , arguments_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_7_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; let arguments_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_5 , & mut __stack ) ; let arguments_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_6 , & mut __stack ) ; let arguments_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_7 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_7_Window ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , arguments_5 , arguments_6 , arguments_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_7 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue , arguments_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str ( & self , handler : & str ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; __widl_f_set_interval_with_str_Window ( self_ , handler , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str ( & self , handler : & str ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused ( & self , handler : & str , timeout : i32 , unused : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_Window ( self_ , handler , timeout , unused , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused ( & self , handler : & str , timeout : i32 , unused : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_0_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_0 ( & self , handler : & str , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_0_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_0_Window ( self_ , handler , timeout , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_0 ( & self , handler : & str , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_1_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_1 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_1_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_1_Window ( self_ , handler , timeout , unused_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_1 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_2_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_2 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_2_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_2_Window ( self_ , handler , timeout , unused_1 , unused_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_2 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_3_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_3 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_3_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_3_Window ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_3 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_4_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_4 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_4_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_4_Window ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_4 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_5_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_5 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_5_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; let unused_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_5 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_5_Window ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , unused_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_5 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_6_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_6 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_6_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; let unused_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_5 , & mut __stack ) ; let unused_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_6 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_6_Window ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , unused_5 , unused_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_6 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_7_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_7 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue , unused_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_7_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; let unused_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_5 , & mut __stack ) ; let unused_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_6 , & mut __stack ) ; let unused_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_7 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_7_Window ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , unused_5 , unused_6 , unused_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_interval_with_str_and_timeout_and_unused_7 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue , unused_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback ( & self , handler : & :: js_sys :: Function ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; __widl_f_set_timeout_with_callback_Window ( self_ , handler , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback ( & self , handler : & :: js_sys :: Function ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_Window ( self_ , handler , timeout , arguments , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_0_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_0 ( & self , handler : & :: js_sys :: Function , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_0_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_0_Window ( self_ , handler , timeout , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_0 ( & self , handler : & :: js_sys :: Function , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_1_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_1 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_1_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_1_Window ( self_ , handler , timeout , arguments_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_1 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_2_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_2 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_2_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_2_Window ( self_ , handler , timeout , arguments_1 , arguments_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_2 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_3_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_3 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_3_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_3_Window ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_3 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_4_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_4 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_4_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_4_Window ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_4 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_5_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_5 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_5_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; let arguments_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_5 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_5_Window ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , arguments_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_5 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_6_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_6 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_6_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; let arguments_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_5 , & mut __stack ) ; let arguments_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_6 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_6_Window ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , arguments_5 , arguments_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_6 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_7_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_7 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue , arguments_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_7_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; let arguments_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_5 , & mut __stack ) ; let arguments_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_6 , & mut __stack ) ; let arguments_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_7 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_7_Window ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , arguments_5 , arguments_6 , arguments_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_7 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue , arguments_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str ( & self , handler : & str ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; __widl_f_set_timeout_with_str_Window ( self_ , handler , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str ( & self , handler : & str ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused ( & self , handler : & str , timeout : i32 , unused : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_Window ( self_ , handler , timeout , unused , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused ( & self , handler : & str , timeout : i32 , unused : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_0_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_0 ( & self , handler : & str , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_0_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_0_Window ( self_ , handler , timeout , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_0 ( & self , handler : & str , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_1_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_1 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_1_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_1_Window ( self_ , handler , timeout , unused_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_1 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_2_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_2 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_2_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_2_Window ( self_ , handler , timeout , unused_1 , unused_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_2 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_3_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_3 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_3_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_3_Window ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_3 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_4_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_4 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_4_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_4_Window ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_4 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_5_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_5 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_5_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; let unused_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_5 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_5_Window ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , unused_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_5 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_6_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_6 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_6_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; let unused_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_5 , & mut __stack ) ; let unused_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_6 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_6_Window ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , unused_5 , unused_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_6 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_7_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_7 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue , unused_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_7_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; let unused_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_5 , & mut __stack ) ; let unused_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_6 , & mut __stack ) ; let unused_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_7 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_7_Window ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , unused_5 , unused_6 , unused_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_7 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue , unused_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_origin_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/origin)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn origin ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_origin_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_origin_Window ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/origin)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn origin ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_secure_context_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isSecureContext` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/isSecureContext)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn is_secure_context ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_secure_context_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_secure_context_Window ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isSecureContext` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/isSecureContext)\n\n*This API requires the following crate features to be activated: `Window`*" ] pub fn is_secure_context ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_indexed_db_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < IdbFactory > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `indexedDB` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/indexedDB)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `Window`*" ] pub fn indexed_db ( & self , ) -> Result < Option < IdbFactory > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_indexed_db_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFactory > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_indexed_db_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFactory > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `indexedDB` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/indexedDB)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `Window`*" ] pub fn indexed_db ( & self , ) -> Result < Option < IdbFactory > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_caches_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < CacheStorage as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `caches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/caches)\n\n*This API requires the following crate features to be activated: `CacheStorage`, `Window`*" ] pub fn caches ( & self , ) -> Result < CacheStorage , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_caches_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < CacheStorage as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_caches_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < CacheStorage as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `caches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/caches)\n\n*This API requires the following crate features to be activated: `CacheStorage`, `Window`*" ] pub fn caches ( & self , ) -> Result < CacheStorage , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_session_storage_Window ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Window as WasmDescribe > :: describe ( ) ; < Option < Storage > as WasmDescribe > :: describe ( ) ; } impl Window { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `sessionStorage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)\n\n*This API requires the following crate features to be activated: `Storage`, `Window`*" ] pub fn session_storage ( & self , ) -> Result < Option < Storage > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_session_storage_Window ( self_ : < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Storage > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Window as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_session_storage_Window ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Storage > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `sessionStorage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)\n\n*This API requires the following crate features to be activated: `Storage`, `Window`*" ] pub fn session_storage ( & self , ) -> Result < Option < Storage > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WindowClient` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient)\n\n*This API requires the following crate features to be activated: `WindowClient`*" ] # [ repr ( transparent ) ] pub struct WindowClient { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WindowClient : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WindowClient { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WindowClient { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WindowClient { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WindowClient { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WindowClient { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WindowClient { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WindowClient { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WindowClient { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WindowClient { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WindowClient > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WindowClient { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WindowClient { # [ inline ] fn from ( obj : JsValue ) -> WindowClient { WindowClient { obj } } } impl AsRef < JsValue > for WindowClient { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WindowClient > for JsValue { # [ inline ] fn from ( obj : WindowClient ) -> JsValue { obj . obj } } impl JsCast for WindowClient { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WindowClient ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WindowClient ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WindowClient { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WindowClient ) } } } ( ) } ; impl core :: ops :: Deref for WindowClient { type Target = Client ; # [ inline ] fn deref ( & self ) -> & Client { self . as_ref ( ) } } impl From < WindowClient > for Client { # [ inline ] fn from ( obj : WindowClient ) -> Client { use wasm_bindgen :: JsCast ; Client :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Client > for WindowClient { # [ inline ] fn as_ref ( & self ) -> & Client { use wasm_bindgen :: JsCast ; Client :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < WindowClient > for Object { # [ inline ] fn from ( obj : WindowClient ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WindowClient { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_focus_WindowClient ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WindowClient as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WindowClient { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `focus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient/focus)\n\n*This API requires the following crate features to be activated: `WindowClient`*" ] pub fn focus ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_focus_WindowClient ( self_ : < & WindowClient as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WindowClient as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_focus_WindowClient ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `focus()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient/focus)\n\n*This API requires the following crate features to be activated: `WindowClient`*" ] pub fn focus ( & self , ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_navigate_WindowClient ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WindowClient as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WindowClient { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `navigate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient/navigate)\n\n*This API requires the following crate features to be activated: `WindowClient`*" ] pub fn navigate ( & self , url : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_navigate_WindowClient ( self_ : < & WindowClient as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WindowClient as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_navigate_WindowClient ( self_ , url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `navigate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient/navigate)\n\n*This API requires the following crate features to be activated: `WindowClient`*" ] pub fn navigate ( & self , url : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_visibility_state_WindowClient ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WindowClient as WasmDescribe > :: describe ( ) ; < VisibilityState as WasmDescribe > :: describe ( ) ; } impl WindowClient { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `visibilityState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient/visibilityState)\n\n*This API requires the following crate features to be activated: `VisibilityState`, `WindowClient`*" ] pub fn visibility_state ( & self , ) -> VisibilityState { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_visibility_state_WindowClient ( self_ : < & WindowClient as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < VisibilityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WindowClient as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_visibility_state_WindowClient ( self_ ) } ; < VisibilityState as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `visibilityState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient/visibilityState)\n\n*This API requires the following crate features to be activated: `VisibilityState`, `WindowClient`*" ] pub fn visibility_state ( & self , ) -> VisibilityState { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_focused_WindowClient ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WindowClient as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WindowClient { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `focused` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient/focused)\n\n*This API requires the following crate features to be activated: `WindowClient`*" ] pub fn focused ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_focused_WindowClient ( self_ : < & WindowClient as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WindowClient as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_focused_WindowClient ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `focused` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WindowClient/focused)\n\n*This API requires the following crate features to be activated: `WindowClient`*" ] pub fn focused ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Worker` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker)\n\n*This API requires the following crate features to be activated: `Worker`*" ] # [ repr ( transparent ) ] pub struct Worker { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Worker : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Worker { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Worker { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Worker { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Worker { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Worker { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Worker { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Worker { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Worker { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Worker { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Worker > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Worker { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Worker { # [ inline ] fn from ( obj : JsValue ) -> Worker { Worker { obj } } } impl AsRef < JsValue > for Worker { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Worker > for JsValue { # [ inline ] fn from ( obj : Worker ) -> JsValue { obj . obj } } impl JsCast for Worker { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Worker ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Worker ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Worker { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Worker ) } } } ( ) } ; impl core :: ops :: Deref for Worker { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < Worker > for EventTarget { # [ inline ] fn from ( obj : Worker ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for Worker { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < Worker > for Object { # [ inline ] fn from ( obj : Worker ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Worker { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_Worker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < Worker as WasmDescribe > :: describe ( ) ; } impl Worker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Worker(..)` constructor, creating a new instance of `Worker`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn new ( script_url : & str ) -> Result < Worker , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_Worker ( script_url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Worker as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let script_url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( script_url , & mut __stack ) ; __widl_f_new_Worker ( script_url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Worker as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Worker(..)` constructor, creating a new instance of `Worker`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn new ( script_url : & str ) -> Result < Worker , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_options_Worker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & WorkerOptions as WasmDescribe > :: describe ( ) ; < Worker as WasmDescribe > :: describe ( ) ; } impl Worker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new Worker(..)` constructor, creating a new instance of `Worker`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker)\n\n*This API requires the following crate features to be activated: `Worker`, `WorkerOptions`*" ] pub fn new_with_options ( script_url : & str , options : & WorkerOptions ) -> Result < Worker , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_options_Worker ( script_url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , options : < & WorkerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Worker as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let script_url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( script_url , & mut __stack ) ; let options = < & WorkerOptions as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( options , & mut __stack ) ; __widl_f_new_with_options_Worker ( script_url , options , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Worker as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new Worker(..)` constructor, creating a new instance of `Worker`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker)\n\n*This API requires the following crate features to be activated: `Worker`, `WorkerOptions`*" ] pub fn new_with_options ( script_url : & str , options : & WorkerOptions ) -> Result < Worker , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_post_message_Worker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Worker as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Worker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/postMessage)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_post_message_Worker ( self_ : < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let message = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; __widl_f_post_message_Worker ( self_ , message , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/postMessage)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn post_message ( & self , message : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_terminate_Worker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Worker as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Worker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `terminate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/terminate)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn terminate ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_terminate_Worker ( self_ : < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_terminate_Worker ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `terminate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/terminate)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn terminate ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_Worker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Worker as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Worker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onmessage)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_Worker ( self_ : < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_Worker ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onmessage)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_Worker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Worker as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Worker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onmessage)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_Worker ( self_ : < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_Worker ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onmessage)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessageerror_Worker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Worker as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Worker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onmessageerror)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessageerror_Worker ( self_ : < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessageerror_Worker ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onmessageerror)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn onmessageerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessageerror_Worker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Worker as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Worker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onmessageerror)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessageerror_Worker ( self_ : < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessageerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessageerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessageerror , & mut __stack ) ; __widl_f_set_onmessageerror_Worker ( self_ , onmessageerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessageerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onmessageerror)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn set_onmessageerror ( & self , onmessageerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_Worker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & Worker as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl Worker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onerror)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_Worker ( self_ : < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_Worker ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onerror)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_Worker ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Worker as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl Worker { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onerror)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_Worker ( self_ : < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Worker as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_Worker ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worker/onerror)\n\n*This API requires the following crate features to be activated: `Worker`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WorkerDebuggerGlobalScope` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] # [ repr ( transparent ) ] pub struct WorkerDebuggerGlobalScope { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WorkerDebuggerGlobalScope : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WorkerDebuggerGlobalScope { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WorkerDebuggerGlobalScope { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WorkerDebuggerGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WorkerDebuggerGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WorkerDebuggerGlobalScope { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WorkerDebuggerGlobalScope { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WorkerDebuggerGlobalScope { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WorkerDebuggerGlobalScope { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WorkerDebuggerGlobalScope { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WorkerDebuggerGlobalScope > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WorkerDebuggerGlobalScope { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WorkerDebuggerGlobalScope { # [ inline ] fn from ( obj : JsValue ) -> WorkerDebuggerGlobalScope { WorkerDebuggerGlobalScope { obj } } } impl AsRef < JsValue > for WorkerDebuggerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WorkerDebuggerGlobalScope > for JsValue { # [ inline ] fn from ( obj : WorkerDebuggerGlobalScope ) -> JsValue { obj . obj } } impl JsCast for WorkerDebuggerGlobalScope { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WorkerDebuggerGlobalScope ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WorkerDebuggerGlobalScope ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WorkerDebuggerGlobalScope { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WorkerDebuggerGlobalScope ) } } } ( ) } ; impl core :: ops :: Deref for WorkerDebuggerGlobalScope { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < WorkerDebuggerGlobalScope > for EventTarget { # [ inline ] fn from ( obj : WorkerDebuggerGlobalScope ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for WorkerDebuggerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < WorkerDebuggerGlobalScope > for Object { # [ inline ] fn from ( obj : WorkerDebuggerGlobalScope ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WorkerDebuggerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_sandbox_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createSandbox()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/createSandbox)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn create_sandbox ( & self , name : & str , prototype : & :: js_sys :: Object ) -> Result < :: js_sys :: Object , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_sandbox_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , prototype : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( name , & mut __stack ) ; let prototype = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( prototype , & mut __stack ) ; __widl_f_create_sandbox_WorkerDebuggerGlobalScope ( self_ , name , prototype , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createSandbox()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/createSandbox)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn create_sandbox ( & self , name : & str , prototype : & :: js_sys :: Object ) -> Result < :: js_sys :: Object , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dump_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dump()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/dump)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn dump ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dump_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_dump_WorkerDebuggerGlobalScope ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dump()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/dump)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn dump ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dump_with_string_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `dump()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/dump)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn dump_with_string ( & self , string : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dump_with_string_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , string : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let string = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( string , & mut __stack ) ; __widl_f_dump_with_string_WorkerDebuggerGlobalScope ( self_ , string ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `dump()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/dump)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn dump_with_string ( & self , string : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_enter_event_loop_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `enterEventLoop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/enterEventLoop)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn enter_event_loop ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_enter_event_loop_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_enter_event_loop_WorkerDebuggerGlobalScope ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `enterEventLoop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/enterEventLoop)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn enter_event_loop ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_leave_event_loop_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `leaveEventLoop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/leaveEventLoop)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn leave_event_loop ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_leave_event_loop_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_leave_event_loop_WorkerDebuggerGlobalScope ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `leaveEventLoop()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/leaveEventLoop)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn leave_event_loop ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_load_sub_script_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loadSubScript()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/loadSubScript)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn load_sub_script ( & self , url : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_load_sub_script_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_load_sub_script_WorkerDebuggerGlobalScope ( self_ , url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loadSubScript()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/loadSubScript)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn load_sub_script ( & self , url : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_load_sub_script_with_sandbox_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `loadSubScript()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/loadSubScript)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn load_sub_script_with_sandbox ( & self , url : & str , sandbox : & :: js_sys :: Object ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_load_sub_script_with_sandbox_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , sandbox : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let sandbox = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( sandbox , & mut __stack ) ; __widl_f_load_sub_script_with_sandbox_WorkerDebuggerGlobalScope ( self_ , url , sandbox , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `loadSubScript()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/loadSubScript)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn load_sub_script_with_sandbox ( & self , url : & str , sandbox : & :: js_sys :: Object ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_post_message_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/postMessage)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn post_message ( & self , message : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_post_message_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let message = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; __widl_f_post_message_WorkerDebuggerGlobalScope ( self_ , message ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `postMessage()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/postMessage)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn post_message ( & self , message : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_report_error_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reportError()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/reportError)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn report_error ( & self , message : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_report_error_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , message : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let message = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( message , & mut __stack ) ; __widl_f_report_error_WorkerDebuggerGlobalScope ( self_ , message ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reportError()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/reportError)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn report_error ( & self , message : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_console_event_handler_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setConsoleEventHandler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/setConsoleEventHandler)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn set_console_event_handler ( & self , handler : Option < & :: js_sys :: Function > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_console_event_handler_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; __widl_f_set_console_event_handler_WorkerDebuggerGlobalScope ( self_ , handler , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setConsoleEventHandler()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/setConsoleEventHandler)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn set_console_event_handler ( & self , handler : Option < & :: js_sys :: Function > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_immediate_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setImmediate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/setImmediate)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn set_immediate ( & self , handler : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_immediate_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; __widl_f_set_immediate_WorkerDebuggerGlobalScope ( self_ , handler , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setImmediate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/setImmediate)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn set_immediate ( & self , handler : & :: js_sys :: Function ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_global_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < :: js_sys :: Object as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `global` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/global)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn global ( & self , ) -> Result < :: js_sys :: Object , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_global_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_global_WorkerDebuggerGlobalScope ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Object as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `global` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/global)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn global ( & self , ) -> Result < :: js_sys :: Object , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onmessage_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/onmessage)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onmessage_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onmessage_WorkerDebuggerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/onmessage)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn onmessage ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onmessage_WorkerDebuggerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerDebuggerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerDebuggerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/onmessage)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onmessage_WorkerDebuggerGlobalScope ( self_ : < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onmessage : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerDebuggerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onmessage = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onmessage , & mut __stack ) ; __widl_f_set_onmessage_WorkerDebuggerGlobalScope ( self_ , onmessage ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onmessage` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerDebuggerGlobalScope/onmessage)\n\n*This API requires the following crate features to be activated: `WorkerDebuggerGlobalScope`*" ] pub fn set_onmessage ( & self , onmessage : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WorkerGlobalScope` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] # [ repr ( transparent ) ] pub struct WorkerGlobalScope { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WorkerGlobalScope : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WorkerGlobalScope { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WorkerGlobalScope { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WorkerGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WorkerGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WorkerGlobalScope { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WorkerGlobalScope { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WorkerGlobalScope { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WorkerGlobalScope { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WorkerGlobalScope { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WorkerGlobalScope > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WorkerGlobalScope { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WorkerGlobalScope { # [ inline ] fn from ( obj : JsValue ) -> WorkerGlobalScope { WorkerGlobalScope { obj } } } impl AsRef < JsValue > for WorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WorkerGlobalScope > for JsValue { # [ inline ] fn from ( obj : WorkerGlobalScope ) -> JsValue { obj . obj } } impl JsCast for WorkerGlobalScope { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WorkerGlobalScope ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WorkerGlobalScope ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WorkerGlobalScope { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WorkerGlobalScope ) } } } ( ) } ; impl core :: ops :: Deref for WorkerGlobalScope { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < WorkerGlobalScope > for EventTarget { # [ inline ] fn from ( obj : WorkerGlobalScope ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for WorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < WorkerGlobalScope > for Object { # [ inline ] fn from ( obj : WorkerGlobalScope ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WorkerGlobalScope { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_import_scripts_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts ( & self , urls : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_import_scripts_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let urls = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls , & mut __stack ) ; __widl_f_import_scripts_WorkerGlobalScope ( self_ , urls , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts ( & self , urls : & :: js_sys :: Array ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_import_scripts_0_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_import_scripts_0_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_import_scripts_0_WorkerGlobalScope ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_0 ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_import_scripts_1_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_1 ( & self , urls_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_import_scripts_1_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let urls_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_1 , & mut __stack ) ; __widl_f_import_scripts_1_WorkerGlobalScope ( self_ , urls_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_1 ( & self , urls_1 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_import_scripts_2_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_2 ( & self , urls_1 : & str , urls_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_import_scripts_2_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let urls_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_1 , & mut __stack ) ; let urls_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_2 , & mut __stack ) ; __widl_f_import_scripts_2_WorkerGlobalScope ( self_ , urls_1 , urls_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_2 ( & self , urls_1 : & str , urls_2 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_import_scripts_3_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_3 ( & self , urls_1 : & str , urls_2 : & str , urls_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_import_scripts_3_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let urls_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_1 , & mut __stack ) ; let urls_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_2 , & mut __stack ) ; let urls_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_3 , & mut __stack ) ; __widl_f_import_scripts_3_WorkerGlobalScope ( self_ , urls_1 , urls_2 , urls_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_3 ( & self , urls_1 : & str , urls_2 : & str , urls_3 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_import_scripts_4_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_4 ( & self , urls_1 : & str , urls_2 : & str , urls_3 : & str , urls_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_import_scripts_4_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let urls_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_1 , & mut __stack ) ; let urls_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_2 , & mut __stack ) ; let urls_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_3 , & mut __stack ) ; let urls_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_4 , & mut __stack ) ; __widl_f_import_scripts_4_WorkerGlobalScope ( self_ , urls_1 , urls_2 , urls_3 , urls_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_4 ( & self , urls_1 : & str , urls_2 : & str , urls_3 : & str , urls_4 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_import_scripts_5_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_5 ( & self , urls_1 : & str , urls_2 : & str , urls_3 : & str , urls_4 : & str , urls_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_import_scripts_5_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let urls_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_1 , & mut __stack ) ; let urls_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_2 , & mut __stack ) ; let urls_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_3 , & mut __stack ) ; let urls_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_4 , & mut __stack ) ; let urls_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_5 , & mut __stack ) ; __widl_f_import_scripts_5_WorkerGlobalScope ( self_ , urls_1 , urls_2 , urls_3 , urls_4 , urls_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_5 ( & self , urls_1 : & str , urls_2 : & str , urls_3 : & str , urls_4 : & str , urls_5 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_import_scripts_6_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_6 ( & self , urls_1 : & str , urls_2 : & str , urls_3 : & str , urls_4 : & str , urls_5 : & str , urls_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_import_scripts_6_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let urls_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_1 , & mut __stack ) ; let urls_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_2 , & mut __stack ) ; let urls_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_3 , & mut __stack ) ; let urls_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_4 , & mut __stack ) ; let urls_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_5 , & mut __stack ) ; let urls_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_6 , & mut __stack ) ; __widl_f_import_scripts_6_WorkerGlobalScope ( self_ , urls_1 , urls_2 , urls_3 , urls_4 , urls_5 , urls_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_6 ( & self , urls_1 : & str , urls_2 : & str , urls_3 : & str , urls_4 : & str , urls_5 : & str , urls_6 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_import_scripts_7_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_7 ( & self , urls_1 : & str , urls_2 : & str , urls_3 : & str , urls_4 : & str , urls_5 : & str , urls_6 : & str , urls_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_import_scripts_7_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_1 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_2 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_3 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_4 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_5 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_6 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , urls_7 : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let urls_1 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_1 , & mut __stack ) ; let urls_2 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_2 , & mut __stack ) ; let urls_3 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_3 , & mut __stack ) ; let urls_4 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_4 , & mut __stack ) ; let urls_5 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_5 , & mut __stack ) ; let urls_6 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_6 , & mut __stack ) ; let urls_7 = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( urls_7 , & mut __stack ) ; __widl_f_import_scripts_7_WorkerGlobalScope ( self_ , urls_1 , urls_2 , urls_3 , urls_4 , urls_5 , urls_6 , urls_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `importScripts()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn import_scripts_7 ( & self , urls_1 : & str , urls_2 : & str , urls_3 : & str , urls_4 : & str , urls_5 : & str , urls_6 : & str , urls_7 : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_self_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < WorkerGlobalScope as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `self` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/self)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn self_ ( & self , ) -> WorkerGlobalScope { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_self_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WorkerGlobalScope as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_self_WorkerGlobalScope ( self_ ) } ; < WorkerGlobalScope as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `self` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/self)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn self_ ( & self , ) -> WorkerGlobalScope { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_location_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < WorkerLocation as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `location` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/location)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`, `WorkerLocation`*" ] pub fn location ( & self , ) -> WorkerLocation { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_location_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WorkerLocation as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_location_WorkerGlobalScope ( self_ ) } ; < WorkerLocation as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `location` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/location)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`, `WorkerLocation`*" ] pub fn location ( & self , ) -> WorkerLocation { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_navigator_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < WorkerNavigator as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `navigator` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/navigator)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`, `WorkerNavigator`*" ] pub fn navigator ( & self , ) -> WorkerNavigator { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_navigator_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < WorkerNavigator as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_navigator_WorkerGlobalScope ( self_ ) } ; < WorkerNavigator as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `navigator` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/navigator)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`, `WorkerNavigator`*" ] pub fn navigator ( & self , ) -> WorkerNavigator { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onerror)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_WorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onerror)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onerror)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_WorkerGlobalScope ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onerror)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onoffline_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onoffline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onoffline)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn onoffline ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onoffline_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onoffline_WorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onoffline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onoffline)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn onoffline ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onoffline_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onoffline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onoffline)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_onoffline ( & self , onoffline : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onoffline_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onoffline : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onoffline = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onoffline , & mut __stack ) ; __widl_f_set_onoffline_WorkerGlobalScope ( self_ , onoffline ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onoffline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onoffline)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_onoffline ( & self , onoffline : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ononline_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ononline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/ononline)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn ononline ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ononline_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ononline_WorkerGlobalScope ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ononline` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/ononline)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn ononline ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ononline_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ononline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/ononline)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_ononline ( & self , ononline : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ononline_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ononline : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ononline = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ononline , & mut __stack ) ; __widl_f_set_ononline_WorkerGlobalScope ( self_ , ononline ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ononline` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/ononline)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_ononline ( & self , ononline : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_crypto_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Crypto as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `crypto` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/crypto)\n\n*This API requires the following crate features to be activated: `Crypto`, `WorkerGlobalScope`*" ] pub fn crypto ( & self , ) -> Result < Crypto , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_crypto_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Crypto as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_crypto_WorkerGlobalScope ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Crypto as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `crypto` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/crypto)\n\n*This API requires the following crate features to be activated: `Crypto`, `WorkerGlobalScope`*" ] pub fn crypto ( & self , ) -> Result < Crypto , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_atob_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `atob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/atob)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn atob ( & self , atob : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_atob_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , atob : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let atob = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( atob , & mut __stack ) ; __widl_f_atob_WorkerGlobalScope ( self_ , atob , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `atob()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/atob)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn atob ( & self , atob : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_btoa_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `btoa()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/btoa)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn btoa ( & self , btoa : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_btoa_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , btoa : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let btoa = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( btoa , & mut __stack ) ; __widl_f_btoa_WorkerGlobalScope ( self_ , btoa , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `btoa()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/btoa)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn btoa ( & self , btoa : & str ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_interval_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn clear_interval ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_interval_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_interval_WorkerGlobalScope ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn clear_interval ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_interval_with_handle_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn clear_interval_with_handle ( & self , handle : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_interval_with_handle_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handle : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handle = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handle , & mut __stack ) ; __widl_f_clear_interval_with_handle_WorkerGlobalScope ( self_ , handle ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn clear_interval_with_handle ( & self , handle : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_timeout_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn clear_timeout ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_timeout_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_timeout_WorkerGlobalScope ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn clear_timeout ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_timeout_with_handle_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn clear_timeout_with_handle ( & self , handle : i32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_timeout_with_handle_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handle : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handle = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handle , & mut __stack ) ; __widl_f_clear_timeout_with_handle_WorkerGlobalScope ( self_ , handle ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn clear_timeout_with_handle ( & self , handle : i32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_html_image_element_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_html_image_element ( & self , a_image : & HtmlImageElement ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_html_image_element_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_html_image_element_WorkerGlobalScope ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_html_image_element ( & self , a_image : & HtmlImageElement ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_html_video_element_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_html_video_element ( & self , a_image : & HtmlVideoElement ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_html_video_element_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_html_video_element_WorkerGlobalScope ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_html_video_element ( & self , a_image : & HtmlVideoElement ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_html_canvas_element_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_html_canvas_element ( & self , a_image : & HtmlCanvasElement ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_html_canvas_element_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_html_canvas_element_WorkerGlobalScope ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_html_canvas_element ( & self , a_image : & HtmlCanvasElement ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_blob_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Blob`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_blob ( & self , a_image : & Blob ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_blob_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_blob_WorkerGlobalScope ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Blob`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_blob ( & self , a_image : & Blob ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_image_data_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageData`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_image_data ( & self , a_image : & ImageData ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_image_data_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_image_data_WorkerGlobalScope ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageData`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_image_data ( & self , a_image : & ImageData ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_canvas_rendering_context_2d_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_canvas_rendering_context_2d ( & self , a_image : & CanvasRenderingContext2d ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_canvas_rendering_context_2d_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_canvas_rendering_context_2d_WorkerGlobalScope ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_canvas_rendering_context_2d ( & self , a_image : & CanvasRenderingContext2d ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_image_bitmap_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_image_bitmap ( & self , a_image : & ImageBitmap ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_image_bitmap_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_image_bitmap_WorkerGlobalScope ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_image_bitmap ( & self , a_image : & ImageBitmap ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_buffer_source_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_buffer_source ( & self , a_image : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_buffer_source_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_buffer_source_WorkerGlobalScope ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_buffer_source ( & self , a_image : & :: js_sys :: Object ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_u8_array_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_u8_array ( & self , a_image : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_u8_array_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; __widl_f_create_image_bitmap_with_u8_array_WorkerGlobalScope ( self_ , a_image , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_u8_array ( & self , a_image : & mut [ u8 ] ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & HtmlImageElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & HtmlImageElement , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & HtmlImageElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlImageElement`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & HtmlImageElement , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & HtmlVideoElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & HtmlVideoElement , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & HtmlVideoElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlVideoElement`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & HtmlVideoElement , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & HtmlCanvasElement as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & HtmlCanvasElement , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & HtmlCanvasElement as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & HtmlCanvasElement , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & Blob as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Blob`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & Blob , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & Blob as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `Blob`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & Blob , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & ImageData as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageData`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & ImageData , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & ImageData as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageData`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & ImageData , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & CanvasRenderingContext2d as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & CanvasRenderingContext2d , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & CanvasRenderingContext2d as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & CanvasRenderingContext2d , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & ImageBitmap as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & ImageBitmap , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & ImageBitmap as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `ImageBitmap`, `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & ImageBitmap , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Object as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & :: js_sys :: Object , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & :: js_sys :: Object as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & :: js_sys :: Object , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & mut [ u8 ] as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & mut [ u8 ] , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_image : < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sx : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sy : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sw : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , a_sh : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let a_image = < & mut [ u8 ] as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_image , & mut __stack ) ; let a_sx = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sx , & mut __stack ) ; let a_sy = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sy , & mut __stack ) ; let a_sw = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sw , & mut __stack ) ; let a_sh = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( a_sh , & mut __stack ) ; __widl_f_create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope ( self_ , a_image , a_sx , a_sy , a_sw , a_sh , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `createImageBitmap()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh ( & self , a_image : & mut [ u8 ] , a_sx : i32 , a_sy : i32 , a_sw : i32 , a_sh : i32 ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fetch_with_request_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)\n\n*This API requires the following crate features to be activated: `Request`, `WorkerGlobalScope`*" ] pub fn fetch_with_request ( & self , input : & Request ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fetch_with_request_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; __widl_f_fetch_with_request_WorkerGlobalScope ( self_ , input ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)\n\n*This API requires the following crate features to be activated: `Request`, `WorkerGlobalScope`*" ] pub fn fetch_with_request ( & self , input : & Request ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fetch_with_str_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn fetch_with_str ( & self , input : & str ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fetch_with_str_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; __widl_f_fetch_with_str_WorkerGlobalScope ( self_ , input ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn fetch_with_str ( & self , input : & str ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fetch_with_request_and_init_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & Request as WasmDescribe > :: describe ( ) ; < & RequestInit as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)\n\n*This API requires the following crate features to be activated: `Request`, `RequestInit`, `WorkerGlobalScope`*" ] pub fn fetch_with_request_and_init ( & self , input : & Request , init : & RequestInit ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fetch_with_request_and_init_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init : < & RequestInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input = < & Request as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; let init = < & RequestInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_fetch_with_request_and_init_WorkerGlobalScope ( self_ , input , init ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)\n\n*This API requires the following crate features to be activated: `Request`, `RequestInit`, `WorkerGlobalScope`*" ] pub fn fetch_with_request_and_init ( & self , input : & Request , init : & RequestInit ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_fetch_with_str_and_init_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & RequestInit as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)\n\n*This API requires the following crate features to be activated: `RequestInit`, `WorkerGlobalScope`*" ] pub fn fetch_with_str_and_init ( & self , input : & str , init : & RequestInit ) -> :: js_sys :: Promise { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_fetch_with_str_and_init_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , input : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , init : < & RequestInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let input = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( input , & mut __stack ) ; let init = < & RequestInit as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( init , & mut __stack ) ; __widl_f_fetch_with_str_and_init_WorkerGlobalScope ( self_ , input , init ) } ; < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `fetch()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)\n\n*This API requires the following crate features to be activated: `RequestInit`, `WorkerGlobalScope`*" ] pub fn fetch_with_str_and_init ( & self , input : & str , init : & RequestInit ) -> :: js_sys :: Promise { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback ( & self , handler : & :: js_sys :: Function ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; __widl_f_set_interval_with_callback_WorkerGlobalScope ( self_ , handler , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback ( & self , handler : & :: js_sys :: Function ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_WorkerGlobalScope ( self_ , handler , timeout , arguments , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_0_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_0 ( & self , handler : & :: js_sys :: Function , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_0_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_0_WorkerGlobalScope ( self_ , handler , timeout , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_0 ( & self , handler : & :: js_sys :: Function , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_1_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_1 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_1_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_1_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_1 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_2_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_2 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_2_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_2_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , arguments_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_2 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_3_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_3 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_3_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_3_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_3 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_4_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_4 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_4_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_4_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_4 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_5_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_5 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_5_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; let arguments_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_5 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_5_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , arguments_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_5 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_6_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_6 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_6_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; let arguments_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_5 , & mut __stack ) ; let arguments_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_6 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_6_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , arguments_5 , arguments_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_6 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_callback_and_timeout_and_arguments_7_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_7 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue , arguments_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_callback_and_timeout_and_arguments_7_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; let arguments_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_5 , & mut __stack ) ; let arguments_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_6 , & mut __stack ) ; let arguments_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_7 , & mut __stack ) ; __widl_f_set_interval_with_callback_and_timeout_and_arguments_7_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , arguments_5 , arguments_6 , arguments_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_callback_and_timeout_and_arguments_7 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue , arguments_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str ( & self , handler : & str ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; __widl_f_set_interval_with_str_WorkerGlobalScope ( self_ , handler , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str ( & self , handler : & str ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused ( & self , handler : & str , timeout : i32 , unused : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_WorkerGlobalScope ( self_ , handler , timeout , unused , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused ( & self , handler : & str , timeout : i32 , unused : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_0_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_0 ( & self , handler : & str , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_0_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_0_WorkerGlobalScope ( self_ , handler , timeout , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_0 ( & self , handler : & str , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_1_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_1 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_1_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_1_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_1 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_2_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_2 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_2_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_2_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , unused_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_2 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_3_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_3 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_3_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_3_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_3 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_4_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_4 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_4_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_4_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_4 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_5_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_5 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_5_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; let unused_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_5 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_5_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , unused_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_5 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_6_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_6 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_6_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; let unused_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_5 , & mut __stack ) ; let unused_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_6 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_6_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , unused_5 , unused_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_6 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_interval_with_str_and_timeout_and_unused_7_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_7 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue , unused_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_interval_with_str_and_timeout_and_unused_7_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; let unused_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_5 , & mut __stack ) ; let unused_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_6 , & mut __stack ) ; let unused_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_7 , & mut __stack ) ; __widl_f_set_interval_with_str_and_timeout_and_unused_7_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , unused_5 , unused_6 , unused_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setInterval()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_interval_with_str_and_timeout_and_unused_7 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue , unused_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback ( & self , handler : & :: js_sys :: Function ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; __widl_f_set_timeout_with_callback_WorkerGlobalScope ( self_ , handler , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback ( & self , handler : & :: js_sys :: Function ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_WorkerGlobalScope ( self_ , handler , timeout , arguments , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_0_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_0 ( & self , handler : & :: js_sys :: Function , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_0_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_0_WorkerGlobalScope ( self_ , handler , timeout , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_0 ( & self , handler : & :: js_sys :: Function , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_1_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_1 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_1_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_1_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_1 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_2_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_2 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_2_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_2_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , arguments_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_2 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_3_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_3 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_3_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_3_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_3 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_4_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_4 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_4_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_4_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_4 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_5_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_5 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_5_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; let arguments_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_5 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_5_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , arguments_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_5 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_6_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_6 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_6_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; let arguments_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_5 , & mut __stack ) ; let arguments_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_6 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_6_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , arguments_5 , arguments_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_6 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_callback_and_timeout_and_arguments_7_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Function as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_7 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue , arguments_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_callback_and_timeout_and_arguments_7_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , arguments_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & :: js_sys :: Function as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let arguments_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_1 , & mut __stack ) ; let arguments_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_2 , & mut __stack ) ; let arguments_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_3 , & mut __stack ) ; let arguments_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_4 , & mut __stack ) ; let arguments_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_5 , & mut __stack ) ; let arguments_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_6 , & mut __stack ) ; let arguments_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( arguments_7 , & mut __stack ) ; __widl_f_set_timeout_with_callback_and_timeout_and_arguments_7_WorkerGlobalScope ( self_ , handler , timeout , arguments_1 , arguments_2 , arguments_3 , arguments_4 , arguments_5 , arguments_6 , arguments_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_callback_and_timeout_and_arguments_7 ( & self , handler : & :: js_sys :: Function , timeout : i32 , arguments_1 : & :: wasm_bindgen :: JsValue , arguments_2 : & :: wasm_bindgen :: JsValue , arguments_3 : & :: wasm_bindgen :: JsValue , arguments_4 : & :: wasm_bindgen :: JsValue , arguments_5 : & :: wasm_bindgen :: JsValue , arguments_6 : & :: wasm_bindgen :: JsValue , arguments_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str ( & self , handler : & str ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; __widl_f_set_timeout_with_str_WorkerGlobalScope ( self_ , handler , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str ( & self , handler : & str ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused ( & self , handler : & str , timeout : i32 , unused : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_WorkerGlobalScope ( self_ , handler , timeout , unused , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused ( & self , handler : & str , timeout : i32 , unused : & :: js_sys :: Array ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_0_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_0 ( & self , handler : & str , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_0_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_0_WorkerGlobalScope ( self_ , handler , timeout , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_0 ( & self , handler : & str , timeout : i32 ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_1_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_1 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_1_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_1_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_1 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_2_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_2 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_2_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_2_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , unused_2 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_2 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_3_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_3 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_3_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_3_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_3 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_4_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_4 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_4_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_4_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_4 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_5_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_5 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_5_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; let unused_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_5 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_5_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , unused_5 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_5 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_6_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 9u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_6 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_6_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; let unused_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_5 , & mut __stack ) ; let unused_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_6 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_6_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , unused_5 , unused_6 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_6 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_with_str_and_timeout_and_unused_7_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 10u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < i32 as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_7 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue , unused_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_with_str_and_timeout_and_unused_7_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , handler : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , unused_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let handler = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( handler , & mut __stack ) ; let timeout = < i32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; let unused_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_1 , & mut __stack ) ; let unused_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_2 , & mut __stack ) ; let unused_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_3 , & mut __stack ) ; let unused_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_4 , & mut __stack ) ; let unused_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_5 , & mut __stack ) ; let unused_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_6 , & mut __stack ) ; let unused_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( unused_7 , & mut __stack ) ; __widl_f_set_timeout_with_str_and_timeout_and_unused_7_WorkerGlobalScope ( self_ , handler , timeout , unused_1 , unused_2 , unused_3 , unused_4 , unused_5 , unused_6 , unused_7 , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < i32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setTimeout()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn set_timeout_with_str_and_timeout_and_unused_7 ( & self , handler : & str , timeout : i32 , unused_1 : & :: wasm_bindgen :: JsValue , unused_2 : & :: wasm_bindgen :: JsValue , unused_3 : & :: wasm_bindgen :: JsValue , unused_4 : & :: wasm_bindgen :: JsValue , unused_5 : & :: wasm_bindgen :: JsValue , unused_6 : & :: wasm_bindgen :: JsValue , unused_7 : & :: wasm_bindgen :: JsValue ) -> Result < i32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_origin_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/origin)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn origin ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_origin_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_origin_WorkerGlobalScope ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/origin)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn origin ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_is_secure_context_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `isSecureContext` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/isSecureContext)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn is_secure_context ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_is_secure_context_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_is_secure_context_WorkerGlobalScope ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `isSecureContext` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/isSecureContext)\n\n*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] pub fn is_secure_context ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_indexed_db_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < Option < IdbFactory > as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `indexedDB` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/indexedDB)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `WorkerGlobalScope`*" ] pub fn indexed_db ( & self , ) -> Result < Option < IdbFactory > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_indexed_db_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < IdbFactory > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_indexed_db_WorkerGlobalScope ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < IdbFactory > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `indexedDB` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/indexedDB)\n\n*This API requires the following crate features to be activated: `IdbFactory`, `WorkerGlobalScope`*" ] pub fn indexed_db ( & self , ) -> Result < Option < IdbFactory > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_caches_WorkerGlobalScope ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerGlobalScope as WasmDescribe > :: describe ( ) ; < CacheStorage as WasmDescribe > :: describe ( ) ; } impl WorkerGlobalScope { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `caches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/caches)\n\n*This API requires the following crate features to be activated: `CacheStorage`, `WorkerGlobalScope`*" ] pub fn caches ( & self , ) -> Result < CacheStorage , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_caches_WorkerGlobalScope ( self_ : < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < CacheStorage as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerGlobalScope as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_caches_WorkerGlobalScope ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < CacheStorage as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `caches` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/caches)\n\n*This API requires the following crate features to be activated: `CacheStorage`, `WorkerGlobalScope`*" ] pub fn caches ( & self , ) -> Result < CacheStorage , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WorkerLocation` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] # [ repr ( transparent ) ] pub struct WorkerLocation { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WorkerLocation : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WorkerLocation { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WorkerLocation { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WorkerLocation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WorkerLocation { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WorkerLocation { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WorkerLocation { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WorkerLocation { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WorkerLocation { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WorkerLocation { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WorkerLocation > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WorkerLocation { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WorkerLocation { # [ inline ] fn from ( obj : JsValue ) -> WorkerLocation { WorkerLocation { obj } } } impl AsRef < JsValue > for WorkerLocation { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WorkerLocation > for JsValue { # [ inline ] fn from ( obj : WorkerLocation ) -> JsValue { obj . obj } } impl JsCast for WorkerLocation { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WorkerLocation ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WorkerLocation ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WorkerLocation { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WorkerLocation ) } } } ( ) } ; impl core :: ops :: Deref for WorkerLocation { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WorkerLocation > for Object { # [ inline ] fn from ( obj : WorkerLocation ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WorkerLocation { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_href_WorkerLocation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerLocation as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerLocation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/href)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn href ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_href_WorkerLocation ( self_ : < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_href_WorkerLocation ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `href` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/href)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn href ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_origin_WorkerLocation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerLocation as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerLocation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/origin)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn origin ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_origin_WorkerLocation ( self_ : < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_origin_WorkerLocation ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `origin` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/origin)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn origin ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_protocol_WorkerLocation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerLocation as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerLocation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `protocol` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/protocol)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn protocol ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_protocol_WorkerLocation ( self_ : < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_protocol_WorkerLocation ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `protocol` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/protocol)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn protocol ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_host_WorkerLocation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerLocation as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerLocation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `host` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/host)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn host ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_host_WorkerLocation ( self_ : < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_host_WorkerLocation ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `host` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/host)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn host ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hostname_WorkerLocation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerLocation as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerLocation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hostname` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/hostname)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn hostname ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hostname_WorkerLocation ( self_ : < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hostname_WorkerLocation ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hostname` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/hostname)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn hostname ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_port_WorkerLocation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerLocation as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerLocation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/port)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn port ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_port_WorkerLocation ( self_ : < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_port_WorkerLocation ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `port` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/port)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn port ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_pathname_WorkerLocation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerLocation as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerLocation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `pathname` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/pathname)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn pathname ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_pathname_WorkerLocation ( self_ : < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_pathname_WorkerLocation ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `pathname` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/pathname)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn pathname ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_search_WorkerLocation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerLocation as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerLocation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `search` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/search)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn search ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_search_WorkerLocation ( self_ : < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_search_WorkerLocation ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `search` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/search)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn search ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hash_WorkerLocation ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerLocation as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerLocation { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hash` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/hash)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn hash ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hash_WorkerLocation ( self_ : < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerLocation as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hash_WorkerLocation ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hash` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation/hash)\n\n*This API requires the following crate features to be activated: `WorkerLocation`*" ] pub fn hash ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WorkerNavigator` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] # [ repr ( transparent ) ] pub struct WorkerNavigator { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WorkerNavigator : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WorkerNavigator { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WorkerNavigator { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WorkerNavigator { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WorkerNavigator { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WorkerNavigator { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WorkerNavigator { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WorkerNavigator { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WorkerNavigator { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WorkerNavigator { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WorkerNavigator > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WorkerNavigator { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WorkerNavigator { # [ inline ] fn from ( obj : JsValue ) -> WorkerNavigator { WorkerNavigator { obj } } } impl AsRef < JsValue > for WorkerNavigator { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WorkerNavigator > for JsValue { # [ inline ] fn from ( obj : WorkerNavigator ) -> JsValue { obj . obj } } impl JsCast for WorkerNavigator { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WorkerNavigator ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WorkerNavigator ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WorkerNavigator { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WorkerNavigator ) } } } ( ) } ; impl core :: ops :: Deref for WorkerNavigator { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WorkerNavigator > for Object { # [ inline ] fn from ( obj : WorkerNavigator ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WorkerNavigator { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_connection_WorkerNavigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerNavigator as WasmDescribe > :: describe ( ) ; < NetworkInformation as WasmDescribe > :: describe ( ) ; } impl WorkerNavigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `connection` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/connection)\n\n*This API requires the following crate features to be activated: `NetworkInformation`, `WorkerNavigator`*" ] pub fn connection ( & self , ) -> Result < NetworkInformation , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_connection_WorkerNavigator ( self_ : < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < NetworkInformation as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_connection_WorkerNavigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < NetworkInformation as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `connection` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/connection)\n\n*This API requires the following crate features to be activated: `NetworkInformation`, `WorkerNavigator`*" ] pub fn connection ( & self , ) -> Result < NetworkInformation , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_media_capabilities_WorkerNavigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerNavigator as WasmDescribe > :: describe ( ) ; < MediaCapabilities as WasmDescribe > :: describe ( ) ; } impl WorkerNavigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `mediaCapabilities` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/mediaCapabilities)\n\n*This API requires the following crate features to be activated: `MediaCapabilities`, `WorkerNavigator`*" ] pub fn media_capabilities ( & self , ) -> MediaCapabilities { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_media_capabilities_WorkerNavigator ( self_ : < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < MediaCapabilities as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_media_capabilities_WorkerNavigator ( self_ ) } ; < MediaCapabilities as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `mediaCapabilities` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/mediaCapabilities)\n\n*This API requires the following crate features to be activated: `MediaCapabilities`, `WorkerNavigator`*" ] pub fn media_capabilities ( & self , ) -> MediaCapabilities { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_hardware_concurrency_WorkerNavigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerNavigator as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl WorkerNavigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `hardwareConcurrency` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/hardwareConcurrency)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn hardware_concurrency ( & self , ) -> f64 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_hardware_concurrency_WorkerNavigator ( self_ : < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_hardware_concurrency_WorkerNavigator ( self_ ) } ; < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `hardwareConcurrency` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/hardwareConcurrency)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn hardware_concurrency ( & self , ) -> f64 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_taint_enabled_WorkerNavigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerNavigator as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WorkerNavigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `taintEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/taintEnabled)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn taint_enabled ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_taint_enabled_WorkerNavigator ( self_ : < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_taint_enabled_WorkerNavigator ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `taintEnabled()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/taintEnabled)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn taint_enabled ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_app_code_name_WorkerNavigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerNavigator as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerNavigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appCodeName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/appCodeName)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn app_code_name ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_app_code_name_WorkerNavigator ( self_ : < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_app_code_name_WorkerNavigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appCodeName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/appCodeName)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn app_code_name ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_app_name_WorkerNavigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerNavigator as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerNavigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/appName)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn app_name ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_app_name_WorkerNavigator ( self_ : < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_app_name_WorkerNavigator ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appName` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/appName)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn app_name ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_app_version_WorkerNavigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerNavigator as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerNavigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `appVersion` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/appVersion)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn app_version ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_app_version_WorkerNavigator ( self_ : < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_app_version_WorkerNavigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `appVersion` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/appVersion)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn app_version ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_platform_WorkerNavigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerNavigator as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerNavigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `platform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/platform)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn platform ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_platform_WorkerNavigator ( self_ : < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_platform_WorkerNavigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `platform` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/platform)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn platform ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_user_agent_WorkerNavigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerNavigator as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerNavigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `userAgent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/userAgent)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn user_agent ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_user_agent_WorkerNavigator ( self_ : < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_user_agent_WorkerNavigator ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `userAgent` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/userAgent)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn user_agent ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_product_WorkerNavigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerNavigator as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl WorkerNavigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `product` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/product)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn product ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_product_WorkerNavigator ( self_ : < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_product_WorkerNavigator ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `product` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/product)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn product ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_language_WorkerNavigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerNavigator as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl WorkerNavigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `language` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/language)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn language ( & self , ) -> Option < String > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_language_WorkerNavigator ( self_ : < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_language_WorkerNavigator ( self_ ) } ; < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `language` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/language)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn language ( & self , ) -> Option < String > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_on_line_WorkerNavigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerNavigator as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl WorkerNavigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onLine` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/onLine)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn on_line ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_on_line_WorkerNavigator ( self_ : < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_on_line_WorkerNavigator ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onLine` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/onLine)\n\n*This API requires the following crate features to be activated: `WorkerNavigator`*" ] pub fn on_line ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_storage_WorkerNavigator ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & WorkerNavigator as WasmDescribe > :: describe ( ) ; < StorageManager as WasmDescribe > :: describe ( ) ; } impl WorkerNavigator { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `storage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/storage)\n\n*This API requires the following crate features to be activated: `StorageManager`, `WorkerNavigator`*" ] pub fn storage ( & self , ) -> StorageManager { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_storage_WorkerNavigator ( self_ : < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < StorageManager as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & WorkerNavigator as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_storage_WorkerNavigator ( self_ ) } ; < StorageManager as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `storage` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerNavigator/storage)\n\n*This API requires the following crate features to be activated: `StorageManager`, `WorkerNavigator`*" ] pub fn storage ( & self , ) -> StorageManager { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `Worklet` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worklet)\n\n*This API requires the following crate features to be activated: `Worklet`*" ] # [ repr ( transparent ) ] pub struct Worklet { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_Worklet : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for Worklet { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for Worklet { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for Worklet { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a Worklet { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for Worklet { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { Worklet { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for Worklet { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a Worklet { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for Worklet { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < Worklet > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( Worklet { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for Worklet { # [ inline ] fn from ( obj : JsValue ) -> Worklet { Worklet { obj } } } impl AsRef < JsValue > for Worklet { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < Worklet > for JsValue { # [ inline ] fn from ( obj : Worklet ) -> JsValue { obj . obj } } impl JsCast for Worklet { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_Worklet ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_Worklet ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Worklet { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Worklet ) } } } ( ) } ; impl core :: ops :: Deref for Worklet { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < Worklet > for Object { # [ inline ] fn from ( obj : Worklet ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for Worklet { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_import_Worklet ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & Worklet as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < :: js_sys :: Promise as WasmDescribe > :: describe ( ) ; } impl Worklet { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `import()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worklet/import)\n\n*This API requires the following crate features to be activated: `Worklet`*" ] pub fn import ( & self , module_url : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_import_Worklet ( self_ : < & Worklet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , module_url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & Worklet as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let module_url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( module_url , & mut __stack ) ; __widl_f_import_Worklet ( self_ , module_url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: js_sys :: Promise as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `import()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Worklet/import)\n\n*This API requires the following crate features to be activated: `Worklet`*" ] pub fn import ( & self , module_url : & str ) -> Result < :: js_sys :: Promise , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `WorkletGlobalScope` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkletGlobalScope)\n\n*This API requires the following crate features to be activated: `WorkletGlobalScope`*" ] # [ repr ( transparent ) ] pub struct WorkletGlobalScope { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_WorkletGlobalScope : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for WorkletGlobalScope { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for WorkletGlobalScope { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for WorkletGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a WorkletGlobalScope { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for WorkletGlobalScope { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { WorkletGlobalScope { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for WorkletGlobalScope { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a WorkletGlobalScope { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for WorkletGlobalScope { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < WorkletGlobalScope > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( WorkletGlobalScope { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for WorkletGlobalScope { # [ inline ] fn from ( obj : JsValue ) -> WorkletGlobalScope { WorkletGlobalScope { obj } } } impl AsRef < JsValue > for WorkletGlobalScope { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < WorkletGlobalScope > for JsValue { # [ inline ] fn from ( obj : WorkletGlobalScope ) -> JsValue { obj . obj } } impl JsCast for WorkletGlobalScope { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_WorkletGlobalScope ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_WorkletGlobalScope ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WorkletGlobalScope { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WorkletGlobalScope ) } } } ( ) } ; impl core :: ops :: Deref for WorkletGlobalScope { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < WorkletGlobalScope > for Object { # [ inline ] fn from ( obj : WorkletGlobalScope ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for WorkletGlobalScope { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `XMLDocument` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument)\n\n*This API requires the following crate features to be activated: `XmlDocument`*" ] # [ repr ( transparent ) ] pub struct XmlDocument { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_XmlDocument : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for XmlDocument { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for XmlDocument { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for XmlDocument { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a XmlDocument { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for XmlDocument { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { XmlDocument { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for XmlDocument { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a XmlDocument { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for XmlDocument { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < XmlDocument > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( XmlDocument { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for XmlDocument { # [ inline ] fn from ( obj : JsValue ) -> XmlDocument { XmlDocument { obj } } } impl AsRef < JsValue > for XmlDocument { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < XmlDocument > for JsValue { # [ inline ] fn from ( obj : XmlDocument ) -> JsValue { obj . obj } } impl JsCast for XmlDocument { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_XMLDocument ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_XMLDocument ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { XmlDocument { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const XmlDocument ) } } } ( ) } ; impl core :: ops :: Deref for XmlDocument { type Target = Document ; # [ inline ] fn deref ( & self ) -> & Document { self . as_ref ( ) } } impl From < XmlDocument > for Document { # [ inline ] fn from ( obj : XmlDocument ) -> Document { use wasm_bindgen :: JsCast ; Document :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Document > for XmlDocument { # [ inline ] fn as_ref ( & self ) -> & Document { use wasm_bindgen :: JsCast ; Document :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < XmlDocument > for Node { # [ inline ] fn from ( obj : XmlDocument ) -> Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Node > for XmlDocument { # [ inline ] fn as_ref ( & self ) -> & Node { use wasm_bindgen :: JsCast ; Node :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < XmlDocument > for EventTarget { # [ inline ] fn from ( obj : XmlDocument ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for XmlDocument { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < XmlDocument > for Object { # [ inline ] fn from ( obj : XmlDocument ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for XmlDocument { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_load_XMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlDocument as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl XmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `load()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument/load)\n\n*This API requires the following crate features to be activated: `XmlDocument`*" ] pub fn load ( & self , url : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_load_XMLDocument ( self_ : < & XmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_load_XMLDocument ( self_ , url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `load()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument/load)\n\n*This API requires the following crate features to be activated: `XmlDocument`*" ] pub fn load ( & self , url : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_async_XMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlDocument as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl XmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `async` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument/async)\n\n*This API requires the following crate features to be activated: `XmlDocument`*" ] pub fn async ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_async_XMLDocument ( self_ : < & XmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_async_XMLDocument ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `async` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument/async)\n\n*This API requires the following crate features to be activated: `XmlDocument`*" ] pub fn async ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_async_XMLDocument ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlDocument as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlDocument { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `async` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument/async)\n\n*This API requires the following crate features to be activated: `XmlDocument`*" ] pub fn set_async ( & self , async : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_async_XMLDocument ( self_ : < & XmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , async : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlDocument as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let async = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( async , & mut __stack ) ; __widl_f_set_async_XMLDocument ( self_ , async ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `async` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument/async)\n\n*This API requires the following crate features to be activated: `XmlDocument`*" ] pub fn set_async ( & self , async : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `XMLHttpRequest` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] # [ repr ( transparent ) ] pub struct XmlHttpRequest { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_XmlHttpRequest : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for XmlHttpRequest { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for XmlHttpRequest { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for XmlHttpRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a XmlHttpRequest { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for XmlHttpRequest { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { XmlHttpRequest { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for XmlHttpRequest { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a XmlHttpRequest { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for XmlHttpRequest { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < XmlHttpRequest > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( XmlHttpRequest { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for XmlHttpRequest { # [ inline ] fn from ( obj : JsValue ) -> XmlHttpRequest { XmlHttpRequest { obj } } } impl AsRef < JsValue > for XmlHttpRequest { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < XmlHttpRequest > for JsValue { # [ inline ] fn from ( obj : XmlHttpRequest ) -> JsValue { obj . obj } } impl JsCast for XmlHttpRequest { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_XMLHttpRequest ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_XMLHttpRequest ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { XmlHttpRequest { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const XmlHttpRequest ) } } } ( ) } ; impl core :: ops :: Deref for XmlHttpRequest { type Target = XmlHttpRequestEventTarget ; # [ inline ] fn deref ( & self ) -> & XmlHttpRequestEventTarget { self . as_ref ( ) } } impl From < XmlHttpRequest > for XmlHttpRequestEventTarget { # [ inline ] fn from ( obj : XmlHttpRequest ) -> XmlHttpRequestEventTarget { use wasm_bindgen :: JsCast ; XmlHttpRequestEventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < XmlHttpRequestEventTarget > for XmlHttpRequest { # [ inline ] fn as_ref ( & self ) -> & XmlHttpRequestEventTarget { use wasm_bindgen :: JsCast ; XmlHttpRequestEventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < XmlHttpRequest > for EventTarget { # [ inline ] fn from ( obj : XmlHttpRequest ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for XmlHttpRequest { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < XmlHttpRequest > for Object { # [ inline ] fn from ( obj : XmlHttpRequest ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for XmlHttpRequest { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < XmlHttpRequest as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new XMLHttpRequest(..)` constructor, creating a new instance of `XMLHttpRequest`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/XMLHttpRequest)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn new ( ) -> Result < XmlHttpRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_XMLHttpRequest ( exn_data_ptr : * mut u32 ) -> < XmlHttpRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_XMLHttpRequest ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XmlHttpRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new XMLHttpRequest(..)` constructor, creating a new instance of `XMLHttpRequest`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/XMLHttpRequest)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn new ( ) -> Result < XmlHttpRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_with_ignored_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < XmlHttpRequest as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new XMLHttpRequest(..)` constructor, creating a new instance of `XMLHttpRequest`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/XMLHttpRequest)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn new_with_ignored ( ignored : & str ) -> Result < XmlHttpRequest , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_with_ignored_XMLHttpRequest ( ignored : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XmlHttpRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let ignored = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ignored , & mut __stack ) ; __widl_f_new_with_ignored_XMLHttpRequest ( ignored , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XmlHttpRequest as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new XMLHttpRequest(..)` constructor, creating a new instance of `XMLHttpRequest`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/XMLHttpRequest)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn new_with_ignored ( ignored : & str ) -> Result < XmlHttpRequest , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_abort_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/abort)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn abort ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_abort_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_abort_XMLHttpRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `abort()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/abort)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn abort ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_all_response_headers_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getAllResponseHeaders()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/getAllResponseHeaders)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn get_all_response_headers ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_all_response_headers_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_get_all_response_headers_XMLHttpRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getAllResponseHeaders()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/getAllResponseHeaders)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn get_all_response_headers ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_get_response_header_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `getResponseHeader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/getResponseHeader)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn get_response_header ( & self , header : & str ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_get_response_header_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , header : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let header = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( header , & mut __stack ) ; __widl_f_get_response_header_XMLHttpRequest ( self_ , header , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `getResponseHeader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/getResponseHeader)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn get_response_header ( & self , header : & str ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn open ( & self , method : & str , url : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , method : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let method = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( method , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; __widl_f_open_XMLHttpRequest ( self_ , method , url , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn open ( & self , method : & str , url : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_with_async_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn open_with_async ( & self , method : & str , url : & str , async : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_with_async_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , method : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , async : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let method = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( method , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let async = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( async , & mut __stack ) ; __widl_f_open_with_async_XMLHttpRequest ( self_ , method , url , async , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn open_with_async ( & self , method : & str , url : & str , async : bool ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_with_async_and_user_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn open_with_async_and_user ( & self , method : & str , url : & str , async : bool , user : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_with_async_and_user_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , method : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , async : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , user : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let method = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( method , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let async = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( async , & mut __stack ) ; let user = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( user , & mut __stack ) ; __widl_f_open_with_async_and_user_XMLHttpRequest ( self_ , method , url , async , user , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn open_with_async_and_user ( & self , method : & str , url : & str , async : bool , user : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_open_with_async_and_user_and_password_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn open_with_async_and_user_and_password ( & self , method : & str , url : & str , async : bool , user : Option < & str > , password : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_open_with_async_and_user_and_password_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , method : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , url : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , async : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , user : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , password : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let method = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( method , & mut __stack ) ; let url = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( url , & mut __stack ) ; let async = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( async , & mut __stack ) ; let user = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( user , & mut __stack ) ; let password = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( password , & mut __stack ) ; __widl_f_open_with_async_and_user_and_password_XMLHttpRequest ( self_ , method , url , async , user , password , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `open()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn open_with_async_and_user_and_password ( & self , method : & str , url : & str , async : bool , user : Option < & str > , password : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_override_mime_type_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `overrideMimeType()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/overrideMimeType)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn override_mime_type ( & self , mime : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_override_mime_type_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , mime : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let mime = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( mime , & mut __stack ) ; __widl_f_override_mime_type_XMLHttpRequest ( self_ , mime , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `overrideMimeType()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/overrideMimeType)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn override_mime_type ( & self , mime : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn send ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_send_XMLHttpRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn send ( & self , ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_opt_document_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < Option < & Document > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `Document`, `XmlHttpRequest`*" ] pub fn send_with_opt_document ( & self , body : Option < & Document > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_opt_document_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , body : < Option < & Document > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let body = < Option < & Document > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_send_with_opt_document_XMLHttpRequest ( self_ , body , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `Document`, `XmlHttpRequest`*" ] pub fn send_with_opt_document ( & self , body : Option < & Document > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_opt_blob_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < Option < & Blob > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `Blob`, `XmlHttpRequest`*" ] pub fn send_with_opt_blob ( & self , body : Option < & Blob > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_opt_blob_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , body : < Option < & Blob > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let body = < Option < & Blob > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_send_with_opt_blob_XMLHttpRequest ( self_ , body , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `Blob`, `XmlHttpRequest`*" ] pub fn send_with_opt_blob ( & self , body : Option < & Blob > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_opt_buffer_source_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn send_with_opt_buffer_source ( & self , body : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_opt_buffer_source_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , body : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let body = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_send_with_opt_buffer_source_XMLHttpRequest ( self_ , body , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn send_with_opt_buffer_source ( & self , body : Option < & :: js_sys :: Object > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_opt_u8_array_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < Option < & mut [ u8 ] > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn send_with_opt_u8_array ( & self , body : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_opt_u8_array_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , body : < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let body = < Option < & mut [ u8 ] > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_send_with_opt_u8_array_XMLHttpRequest ( self_ , body , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn send_with_opt_u8_array ( & self , body : Option < & mut [ u8 ] > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_opt_form_data_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < Option < & FormData > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `FormData`, `XmlHttpRequest`*" ] pub fn send_with_opt_form_data ( & self , body : Option < & FormData > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_opt_form_data_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , body : < Option < & FormData > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let body = < Option < & FormData > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_send_with_opt_form_data_XMLHttpRequest ( self_ , body , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `FormData`, `XmlHttpRequest`*" ] pub fn send_with_opt_form_data ( & self , body : Option < & FormData > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_opt_url_search_params_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < Option < & UrlSearchParams > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`, `XmlHttpRequest`*" ] pub fn send_with_opt_url_search_params ( & self , body : Option < & UrlSearchParams > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_opt_url_search_params_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , body : < Option < & UrlSearchParams > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let body = < Option < & UrlSearchParams > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_send_with_opt_url_search_params_XMLHttpRequest ( self_ , body , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `UrlSearchParams`, `XmlHttpRequest`*" ] pub fn send_with_opt_url_search_params ( & self , body : Option < & UrlSearchParams > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_send_with_opt_str_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < Option < & str > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn send_with_opt_str ( & self , body : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_send_with_opt_str_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , body : < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let body = < Option < & str > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( body , & mut __stack ) ; __widl_f_send_with_opt_str_XMLHttpRequest ( self_ , body , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `send()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn send_with_opt_str ( & self , body : Option < & str > ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_request_header_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setRequestHeader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/setRequestHeader)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn set_request_header ( & self , header : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_request_header_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , header : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let header = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( header , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_request_header_XMLHttpRequest ( self_ , header , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setRequestHeader()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/setRequestHeader)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn set_request_header ( & self , header : & str , value : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onreadystatechange_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onreadystatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/onreadystatechange)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn onreadystatechange ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onreadystatechange_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onreadystatechange_XMLHttpRequest ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onreadystatechange` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/onreadystatechange)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn onreadystatechange ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onreadystatechange_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onreadystatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/onreadystatechange)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn set_onreadystatechange ( & self , onreadystatechange : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onreadystatechange_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onreadystatechange : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onreadystatechange = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onreadystatechange , & mut __stack ) ; __widl_f_set_onreadystatechange_XMLHttpRequest ( self_ , onreadystatechange ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onreadystatechange` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/onreadystatechange)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn set_onreadystatechange ( & self , onreadystatechange : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ready_state_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/readyState)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn ready_state ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ready_state_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ready_state_XMLHttpRequest ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `readyState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/readyState)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn ready_state ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_timeout_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timeout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn timeout ( & self , ) -> u32 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_timeout_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_timeout_XMLHttpRequest ( self_ ) } ; < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timeout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn timeout ( & self , ) -> u32 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_timeout_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `timeout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn set_timeout ( & self , timeout : u32 ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_timeout_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , timeout : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let timeout = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( timeout , & mut __stack ) ; __widl_f_set_timeout_XMLHttpRequest ( self_ , timeout ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `timeout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn set_timeout ( & self , timeout : u32 ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_with_credentials_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `withCredentials` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn with_credentials ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_with_credentials_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_with_credentials_XMLHttpRequest ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `withCredentials` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn with_credentials ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_with_credentials_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `withCredentials` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn set_with_credentials ( & self , with_credentials : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_with_credentials_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , with_credentials : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let with_credentials = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( with_credentials , & mut __stack ) ; __widl_f_set_with_credentials_XMLHttpRequest ( self_ , with_credentials ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `withCredentials` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn set_with_credentials ( & self , with_credentials : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_upload_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < XmlHttpRequestUpload as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `upload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/upload)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`, `XmlHttpRequestUpload`*" ] pub fn upload ( & self , ) -> Result < XmlHttpRequestUpload , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_upload_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XmlHttpRequestUpload as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_upload_XMLHttpRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XmlHttpRequestUpload as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `upload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/upload)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`, `XmlHttpRequestUpload`*" ] pub fn upload ( & self , ) -> Result < XmlHttpRequestUpload , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_response_url_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `responseURL` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseURL)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn response_url ( & self , ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_response_url_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_response_url_XMLHttpRequest ( self_ ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `responseURL` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseURL)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn response_url ( & self , ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_status_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `status` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/status)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn status ( & self , ) -> Result < u16 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_status_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_status_XMLHttpRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `status` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/status)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn status ( & self , ) -> Result < u16 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_status_text_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `statusText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/statusText)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn status_text ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_status_text_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_status_text_XMLHttpRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `statusText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/statusText)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn status_text ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_response_type_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < XmlHttpRequestResponseType as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `responseType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseType)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`, `XmlHttpRequestResponseType`*" ] pub fn response_type ( & self , ) -> XmlHttpRequestResponseType { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_response_type_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < XmlHttpRequestResponseType as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_response_type_XMLHttpRequest ( self_ ) } ; < XmlHttpRequestResponseType as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `responseType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseType)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`, `XmlHttpRequestResponseType`*" ] pub fn response_type ( & self , ) -> XmlHttpRequestResponseType { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_response_type_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < XmlHttpRequestResponseType as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `responseType` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseType)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`, `XmlHttpRequestResponseType`*" ] pub fn set_response_type ( & self , response_type : XmlHttpRequestResponseType ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_response_type_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , response_type : < XmlHttpRequestResponseType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let response_type = < XmlHttpRequestResponseType as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( response_type , & mut __stack ) ; __widl_f_set_response_type_XMLHttpRequest ( self_ , response_type ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `responseType` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseType)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`, `XmlHttpRequestResponseType`*" ] pub fn set_response_type ( & self , response_type : XmlHttpRequestResponseType ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_response_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `response` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/response)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn response ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_response_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_response_XMLHttpRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `response` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/response)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn response ( & self , ) -> Result < :: wasm_bindgen :: JsValue , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_response_text_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < Option < String > as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `responseText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseText)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn response_text ( & self , ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_response_text_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_response_text_XMLHttpRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < String > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `responseText` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseText)\n\n*This API requires the following crate features to be activated: `XmlHttpRequest`*" ] pub fn response_text ( & self , ) -> Result < Option < String > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_response_xml_XMLHttpRequest ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequest as WasmDescribe > :: describe ( ) ; < Option < Document > as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequest { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `responseXML` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseXML)\n\n*This API requires the following crate features to be activated: `Document`, `XmlHttpRequest`*" ] pub fn response_xml ( & self , ) -> Result < Option < Document > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_response_xml_XMLHttpRequest ( self_ : < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequest as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_response_xml_XMLHttpRequest ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Document > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `responseXML` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseXML)\n\n*This API requires the following crate features to be activated: `Document`, `XmlHttpRequest`*" ] pub fn response_xml ( & self , ) -> Result < Option < Document > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `XMLHttpRequestEventTarget` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] # [ repr ( transparent ) ] pub struct XmlHttpRequestEventTarget { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_XmlHttpRequestEventTarget : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for XmlHttpRequestEventTarget { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for XmlHttpRequestEventTarget { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for XmlHttpRequestEventTarget { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a XmlHttpRequestEventTarget { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for XmlHttpRequestEventTarget { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { XmlHttpRequestEventTarget { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for XmlHttpRequestEventTarget { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a XmlHttpRequestEventTarget { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for XmlHttpRequestEventTarget { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < XmlHttpRequestEventTarget > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( XmlHttpRequestEventTarget { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for XmlHttpRequestEventTarget { # [ inline ] fn from ( obj : JsValue ) -> XmlHttpRequestEventTarget { XmlHttpRequestEventTarget { obj } } } impl AsRef < JsValue > for XmlHttpRequestEventTarget { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < XmlHttpRequestEventTarget > for JsValue { # [ inline ] fn from ( obj : XmlHttpRequestEventTarget ) -> JsValue { obj . obj } } impl JsCast for XmlHttpRequestEventTarget { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_XMLHttpRequestEventTarget ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_XMLHttpRequestEventTarget ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { XmlHttpRequestEventTarget { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const XmlHttpRequestEventTarget ) } } } ( ) } ; impl core :: ops :: Deref for XmlHttpRequestEventTarget { type Target = EventTarget ; # [ inline ] fn deref ( & self ) -> & EventTarget { self . as_ref ( ) } } impl From < XmlHttpRequestEventTarget > for EventTarget { # [ inline ] fn from ( obj : XmlHttpRequestEventTarget ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for XmlHttpRequestEventTarget { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < XmlHttpRequestEventTarget > for Object { # [ inline ] fn from ( obj : XmlHttpRequestEventTarget ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for XmlHttpRequestEventTarget { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadstart_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadstart)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn onloadstart ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadstart_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadstart_XMLHttpRequestEventTarget ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadstart` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadstart)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn onloadstart ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadstart_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadstart)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_onloadstart ( & self , onloadstart : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadstart_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadstart : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadstart = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadstart , & mut __stack ) ; __widl_f_set_onloadstart_XMLHttpRequestEventTarget ( self_ , onloadstart ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadstart` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadstart)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_onloadstart ( & self , onloadstart : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onprogress_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onprogress)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onprogress_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onprogress_XMLHttpRequestEventTarget ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onprogress)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn onprogress ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onprogress_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onprogress)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onprogress_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onprogress : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onprogress = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onprogress , & mut __stack ) ; __widl_f_set_onprogress_XMLHttpRequestEventTarget ( self_ , onprogress ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onprogress` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onprogress)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_onprogress ( & self , onprogress : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onabort_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onabort)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onabort_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onabort_XMLHttpRequestEventTarget ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onabort)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn onabort ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onabort_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onabort)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onabort_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onabort : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onabort = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onabort , & mut __stack ) ; __widl_f_set_onabort_XMLHttpRequestEventTarget ( self_ , onabort ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onabort` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onabort)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_onabort ( & self , onabort : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onerror_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onerror)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onerror_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onerror_XMLHttpRequestEventTarget ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onerror)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn onerror ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onerror_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onerror)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onerror_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onerror : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onerror = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onerror , & mut __stack ) ; __widl_f_set_onerror_XMLHttpRequestEventTarget ( self_ , onerror ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onerror` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onerror)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_onerror ( & self , onerror : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onload_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onload)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn onload ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onload_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onload_XMLHttpRequestEventTarget ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onload` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onload)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn onload ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onload_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onload)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_onload ( & self , onload : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onload_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onload : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onload = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onload , & mut __stack ) ; __widl_f_set_onload_XMLHttpRequestEventTarget ( self_ , onload ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onload` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onload)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_onload ( & self , onload : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_ontimeout_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontimeout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/ontimeout)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn ontimeout ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_ontimeout_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_ontimeout_XMLHttpRequestEventTarget ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontimeout` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/ontimeout)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn ontimeout ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_ontimeout_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `ontimeout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/ontimeout)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_ontimeout ( & self , ontimeout : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_ontimeout_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , ontimeout : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let ontimeout = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ontimeout , & mut __stack ) ; __widl_f_set_ontimeout_XMLHttpRequestEventTarget ( self_ , ontimeout ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `ontimeout` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/ontimeout)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_ontimeout ( & self , ontimeout : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_onloadend_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadend)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn onloadend ( & self , ) -> Option < :: js_sys :: Function > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_onloadend_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_onloadend_XMLHttpRequestEventTarget ( self_ ) } ; < Option < :: js_sys :: Function > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadend` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadend)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn onloadend ( & self , ) -> Option < :: js_sys :: Function > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_onloadend_XMLHttpRequestEventTarget ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlHttpRequestEventTarget as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Function > as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XmlHttpRequestEventTarget { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `onloadend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadend)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_onloadend ( & self , onloadend : Option < & :: js_sys :: Function > ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_onloadend_XMLHttpRequestEventTarget ( self_ : < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , onloadend : < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlHttpRequestEventTarget as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let onloadend = < Option < & :: js_sys :: Function > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( onloadend , & mut __stack ) ; __widl_f_set_onloadend_XMLHttpRequestEventTarget ( self_ , onloadend ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `onloadend` setter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadend)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*" ] pub fn set_onloadend ( & self , onloadend : Option < & :: js_sys :: Function > ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `XMLHttpRequestUpload` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestUpload)\n\n*This API requires the following crate features to be activated: `XmlHttpRequestUpload`*" ] # [ repr ( transparent ) ] pub struct XmlHttpRequestUpload { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_XmlHttpRequestUpload : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for XmlHttpRequestUpload { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for XmlHttpRequestUpload { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for XmlHttpRequestUpload { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a XmlHttpRequestUpload { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for XmlHttpRequestUpload { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { XmlHttpRequestUpload { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for XmlHttpRequestUpload { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a XmlHttpRequestUpload { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for XmlHttpRequestUpload { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < XmlHttpRequestUpload > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( XmlHttpRequestUpload { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for XmlHttpRequestUpload { # [ inline ] fn from ( obj : JsValue ) -> XmlHttpRequestUpload { XmlHttpRequestUpload { obj } } } impl AsRef < JsValue > for XmlHttpRequestUpload { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < XmlHttpRequestUpload > for JsValue { # [ inline ] fn from ( obj : XmlHttpRequestUpload ) -> JsValue { obj . obj } } impl JsCast for XmlHttpRequestUpload { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_XMLHttpRequestUpload ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_XMLHttpRequestUpload ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { XmlHttpRequestUpload { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const XmlHttpRequestUpload ) } } } ( ) } ; impl core :: ops :: Deref for XmlHttpRequestUpload { type Target = XmlHttpRequestEventTarget ; # [ inline ] fn deref ( & self ) -> & XmlHttpRequestEventTarget { self . as_ref ( ) } } impl From < XmlHttpRequestUpload > for XmlHttpRequestEventTarget { # [ inline ] fn from ( obj : XmlHttpRequestUpload ) -> XmlHttpRequestEventTarget { use wasm_bindgen :: JsCast ; XmlHttpRequestEventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < XmlHttpRequestEventTarget > for XmlHttpRequestUpload { # [ inline ] fn as_ref ( & self ) -> & XmlHttpRequestEventTarget { use wasm_bindgen :: JsCast ; XmlHttpRequestEventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < XmlHttpRequestUpload > for EventTarget { # [ inline ] fn from ( obj : XmlHttpRequestUpload ) -> EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < EventTarget > for XmlHttpRequestUpload { # [ inline ] fn as_ref ( & self ) -> & EventTarget { use wasm_bindgen :: JsCast ; EventTarget :: unchecked_from_js_ref ( self . as_ref ( ) ) } } impl From < XmlHttpRequestUpload > for Object { # [ inline ] fn from ( obj : XmlHttpRequestUpload ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for XmlHttpRequestUpload { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `XMLSerializer` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLSerializer)\n\n*This API requires the following crate features to be activated: `XmlSerializer`*" ] # [ repr ( transparent ) ] pub struct XmlSerializer { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_XmlSerializer : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for XmlSerializer { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for XmlSerializer { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for XmlSerializer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a XmlSerializer { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for XmlSerializer { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { XmlSerializer { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for XmlSerializer { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a XmlSerializer { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for XmlSerializer { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < XmlSerializer > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( XmlSerializer { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for XmlSerializer { # [ inline ] fn from ( obj : JsValue ) -> XmlSerializer { XmlSerializer { obj } } } impl AsRef < JsValue > for XmlSerializer { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < XmlSerializer > for JsValue { # [ inline ] fn from ( obj : XmlSerializer ) -> JsValue { obj . obj } } impl JsCast for XmlSerializer { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_XMLSerializer ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_XMLSerializer ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { XmlSerializer { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const XmlSerializer ) } } } ( ) } ; impl core :: ops :: Deref for XmlSerializer { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < XmlSerializer > for Object { # [ inline ] fn from ( obj : XmlSerializer ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for XmlSerializer { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_XMLSerializer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < XmlSerializer as WasmDescribe > :: describe ( ) ; } impl XmlSerializer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new XMLSerializer(..)` constructor, creating a new instance of `XMLSerializer`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLSerializer/XMLSerializer)\n\n*This API requires the following crate features to be activated: `XmlSerializer`*" ] pub fn new ( ) -> Result < XmlSerializer , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_XMLSerializer ( exn_data_ptr : * mut u32 ) -> < XmlSerializer as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_XMLSerializer ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XmlSerializer as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new XMLSerializer(..)` constructor, creating a new instance of `XMLSerializer`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLSerializer/XMLSerializer)\n\n*This API requires the following crate features to be activated: `XmlSerializer`*" ] pub fn new ( ) -> Result < XmlSerializer , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_serialize_to_string_XMLSerializer ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XmlSerializer as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl XmlSerializer { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `serializeToString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLSerializer/serializeToString)\n\n*This API requires the following crate features to be activated: `Node`, `XmlSerializer`*" ] pub fn serialize_to_string ( & self , root : & Node ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_serialize_to_string_XMLSerializer ( self_ : < & XmlSerializer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , root : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XmlSerializer as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let root = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( root , & mut __stack ) ; __widl_f_serialize_to_string_XMLSerializer ( self_ , root , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `serializeToString()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLSerializer/serializeToString)\n\n*This API requires the following crate features to be activated: `Node`, `XmlSerializer`*" ] pub fn serialize_to_string ( & self , root : & Node ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `XPathExpression` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathExpression)\n\n*This API requires the following crate features to be activated: `XPathExpression`*" ] # [ repr ( transparent ) ] pub struct XPathExpression { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_XPathExpression : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for XPathExpression { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for XPathExpression { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for XPathExpression { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a XPathExpression { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for XPathExpression { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { XPathExpression { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for XPathExpression { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a XPathExpression { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for XPathExpression { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < XPathExpression > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( XPathExpression { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for XPathExpression { # [ inline ] fn from ( obj : JsValue ) -> XPathExpression { XPathExpression { obj } } } impl AsRef < JsValue > for XPathExpression { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < XPathExpression > for JsValue { # [ inline ] fn from ( obj : XPathExpression ) -> JsValue { obj . obj } } impl JsCast for XPathExpression { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_XPathExpression ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_XPathExpression ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { XPathExpression { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const XPathExpression ) } } } ( ) } ; impl core :: ops :: Deref for XPathExpression { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < XPathExpression > for Object { # [ inline ] fn from ( obj : XPathExpression ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for XPathExpression { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_evaluate_XPathExpression ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XPathExpression as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < XPathResult as WasmDescribe > :: describe ( ) ; } impl XPathExpression { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathExpression/evaluate)\n\n*This API requires the following crate features to be activated: `Node`, `XPathExpression`, `XPathResult`*" ] pub fn evaluate ( & self , context_node : & Node ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_evaluate_XPathExpression ( self_ : < & XPathExpression as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XPathExpression as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let context_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_node , & mut __stack ) ; __widl_f_evaluate_XPathExpression ( self_ , context_node , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathExpression/evaluate)\n\n*This API requires the following crate features to be activated: `Node`, `XPathExpression`, `XPathResult`*" ] pub fn evaluate ( & self , context_node : & Node ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_evaluate_with_type_XPathExpression ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & XPathExpression as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < XPathResult as WasmDescribe > :: describe ( ) ; } impl XPathExpression { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathExpression/evaluate)\n\n*This API requires the following crate features to be activated: `Node`, `XPathExpression`, `XPathResult`*" ] pub fn evaluate_with_type ( & self , context_node : & Node , type_ : u16 ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_evaluate_with_type_XPathExpression ( self_ : < & XPathExpression as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XPathExpression as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let context_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_node , & mut __stack ) ; let type_ = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; __widl_f_evaluate_with_type_XPathExpression ( self_ , context_node , type_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathExpression/evaluate)\n\n*This API requires the following crate features to be activated: `Node`, `XPathExpression`, `XPathResult`*" ] pub fn evaluate_with_type ( & self , context_node : & Node , type_ : u16 ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_evaluate_with_type_and_result_XPathExpression ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & XPathExpression as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; < Option < & :: js_sys :: Object > as WasmDescribe > :: describe ( ) ; < XPathResult as WasmDescribe > :: describe ( ) ; } impl XPathExpression { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathExpression/evaluate)\n\n*This API requires the following crate features to be activated: `Node`, `XPathExpression`, `XPathResult`*" ] pub fn evaluate_with_type_and_result ( & self , context_node : & Node , type_ : u16 , result : Option < & :: js_sys :: Object > ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_evaluate_with_type_and_result_XPathExpression ( self_ : < & XPathExpression as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , context_node : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , type_ : < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , result : < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XPathExpression as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let context_node = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( context_node , & mut __stack ) ; let type_ = < u16 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( type_ , & mut __stack ) ; let result = < Option < & :: js_sys :: Object > as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( result , & mut __stack ) ; __widl_f_evaluate_with_type_and_result_XPathExpression ( self_ , context_node , type_ , result , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XPathResult as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `evaluate()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathExpression/evaluate)\n\n*This API requires the following crate features to be activated: `Node`, `XPathExpression`, `XPathResult`*" ] pub fn evaluate_with_type_and_result ( & self , context_node : & Node , type_ : u16 , result : Option < & :: js_sys :: Object > ) -> Result < XPathResult , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `XPathResult` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult)\n\n*This API requires the following crate features to be activated: `XPathResult`*" ] # [ repr ( transparent ) ] pub struct XPathResult { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_XPathResult : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for XPathResult { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for XPathResult { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for XPathResult { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a XPathResult { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for XPathResult { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { XPathResult { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for XPathResult { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a XPathResult { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for XPathResult { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < XPathResult > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( XPathResult { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for XPathResult { # [ inline ] fn from ( obj : JsValue ) -> XPathResult { XPathResult { obj } } } impl AsRef < JsValue > for XPathResult { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < XPathResult > for JsValue { # [ inline ] fn from ( obj : XPathResult ) -> JsValue { obj . obj } } impl JsCast for XPathResult { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_XPathResult ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_XPathResult ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { XPathResult { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const XPathResult ) } } } ( ) } ; impl core :: ops :: Deref for XPathResult { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < XPathResult > for Object { # [ inline ] fn from ( obj : XPathResult ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for XPathResult { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_iterate_next_XPathResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XPathResult as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl XPathResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `iterateNext()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/iterateNext)\n\n*This API requires the following crate features to be activated: `Node`, `XPathResult`*" ] pub fn iterate_next ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_iterate_next_XPathResult ( self_ : < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_iterate_next_XPathResult ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `iterateNext()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/iterateNext)\n\n*This API requires the following crate features to be activated: `Node`, `XPathResult`*" ] pub fn iterate_next ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_snapshot_item_XPathResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XPathResult as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl XPathResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `snapshotItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotItem)\n\n*This API requires the following crate features to be activated: `Node`, `XPathResult`*" ] pub fn snapshot_item ( & self , index : u32 ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_snapshot_item_XPathResult ( self_ : < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , index : < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let index = < u32 as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( index , & mut __stack ) ; __widl_f_snapshot_item_XPathResult ( self_ , index , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `snapshotItem()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotItem)\n\n*This API requires the following crate features to be activated: `Node`, `XPathResult`*" ] pub fn snapshot_item ( & self , index : u32 ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_result_type_XPathResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XPathResult as WasmDescribe > :: describe ( ) ; < u16 as WasmDescribe > :: describe ( ) ; } impl XPathResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `resultType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/resultType)\n\n*This API requires the following crate features to be activated: `XPathResult`*" ] pub fn result_type ( & self , ) -> u16 { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_result_type_XPathResult ( self_ : < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_result_type_XPathResult ( self_ ) } ; < u16 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `resultType` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/resultType)\n\n*This API requires the following crate features to be activated: `XPathResult`*" ] pub fn result_type ( & self , ) -> u16 { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_number_value_XPathResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XPathResult as WasmDescribe > :: describe ( ) ; < f64 as WasmDescribe > :: describe ( ) ; } impl XPathResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `numberValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/numberValue)\n\n*This API requires the following crate features to be activated: `XPathResult`*" ] pub fn number_value ( & self , ) -> Result < f64 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_number_value_XPathResult ( self_ : < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_number_value_XPathResult ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < f64 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `numberValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/numberValue)\n\n*This API requires the following crate features to be activated: `XPathResult`*" ] pub fn number_value ( & self , ) -> Result < f64 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_string_value_XPathResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XPathResult as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } impl XPathResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `stringValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/stringValue)\n\n*This API requires the following crate features to be activated: `XPathResult`*" ] pub fn string_value ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_string_value_XPathResult ( self_ : < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_string_value_XPathResult ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `stringValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/stringValue)\n\n*This API requires the following crate features to be activated: `XPathResult`*" ] pub fn string_value ( & self , ) -> Result < String , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_boolean_value_XPathResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XPathResult as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl XPathResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `booleanValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/booleanValue)\n\n*This API requires the following crate features to be activated: `XPathResult`*" ] pub fn boolean_value ( & self , ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_boolean_value_XPathResult ( self_ : < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_boolean_value_XPathResult ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `booleanValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/booleanValue)\n\n*This API requires the following crate features to be activated: `XPathResult`*" ] pub fn boolean_value ( & self , ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_single_node_value_XPathResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XPathResult as WasmDescribe > :: describe ( ) ; < Option < Node > as WasmDescribe > :: describe ( ) ; } impl XPathResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `singleNodeValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/singleNodeValue)\n\n*This API requires the following crate features to be activated: `Node`, `XPathResult`*" ] pub fn single_node_value ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_single_node_value_XPathResult ( self_ : < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_single_node_value_XPathResult ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Option < Node > as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `singleNodeValue` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/singleNodeValue)\n\n*This API requires the following crate features to be activated: `Node`, `XPathResult`*" ] pub fn single_node_value ( & self , ) -> Result < Option < Node > , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_invalid_iterator_state_XPathResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XPathResult as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } impl XPathResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `invalidIteratorState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/invalidIteratorState)\n\n*This API requires the following crate features to be activated: `XPathResult`*" ] pub fn invalid_iterator_state ( & self , ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_invalid_iterator_state_XPathResult ( self_ : < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_invalid_iterator_state_XPathResult ( self_ ) } ; < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `invalidIteratorState` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/invalidIteratorState)\n\n*This API requires the following crate features to be activated: `XPathResult`*" ] pub fn invalid_iterator_state ( & self , ) -> bool { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_snapshot_length_XPathResult ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XPathResult as WasmDescribe > :: describe ( ) ; < u32 as WasmDescribe > :: describe ( ) ; } impl XPathResult { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `snapshotLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotLength)\n\n*This API requires the following crate features to be activated: `XPathResult`*" ] pub fn snapshot_length ( & self , ) -> Result < u32 , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_snapshot_length_XPathResult ( self_ : < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XPathResult as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_snapshot_length_XPathResult ( self_ , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < u32 as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `snapshotLength` getter\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotLength)\n\n*This API requires the following crate features to be activated: `XPathResult`*" ] pub fn snapshot_length ( & self , ) -> Result < u32 , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ allow ( bad_style ) ] # [ derive ( Debug , Clone ) ] # [ doc = "The `XSLTProcessor` object\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor)\n\n*This API requires the following crate features to be activated: `XsltProcessor`*" ] # [ repr ( transparent ) ] pub struct XsltProcessor { obj : :: wasm_bindgen :: JsValue , } # [ allow ( bad_style ) ] const __wbg_generated_const_XsltProcessor : ( ) = { use wasm_bindgen :: convert :: { IntoWasmAbi , FromWasmAbi , Stack } ; use wasm_bindgen :: convert :: { OptionIntoWasmAbi , OptionFromWasmAbi } ; use wasm_bindgen :: convert :: RefFromWasmAbi ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core ; impl WasmDescribe for XsltProcessor { fn describe ( ) { JsValue :: describe ( ) ; } } impl IntoWasmAbi for XsltProcessor { type Abi = < JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl OptionIntoWasmAbi for XsltProcessor { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl < 'a > OptionIntoWasmAbi for & 'a XsltProcessor { # [ inline ] fn none ( ) -> Self :: Abi { 0 } } impl FromWasmAbi for XsltProcessor { type Abi = < JsValue as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self { XsltProcessor { obj : JsValue :: from_abi ( js , extra ) , } } } impl OptionFromWasmAbi for XsltProcessor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { * abi == 0 } } impl < 'a > IntoWasmAbi for & 'a XsltProcessor { type Abi = < & 'a JsValue as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl RefFromWasmAbi for XsltProcessor { type Abi = < JsValue as RefFromWasmAbi > :: Abi ; type Anchor = core :: mem :: ManuallyDrop < XsltProcessor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < JsValue as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; core :: mem :: ManuallyDrop :: new ( XsltProcessor { obj : core :: mem :: ManuallyDrop :: into_inner ( tmp ) , } ) } } impl From < JsValue > for XsltProcessor { # [ inline ] fn from ( obj : JsValue ) -> XsltProcessor { XsltProcessor { obj } } } impl AsRef < JsValue > for XsltProcessor { # [ inline ] fn as_ref ( & self ) -> & JsValue { & self . obj } } impl From < XsltProcessor > for JsValue { # [ inline ] fn from ( obj : XsltProcessor ) -> JsValue { obj . obj } } impl JsCast for XsltProcessor { # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_instanceof_XSLTProcessor ( val : u32 ) -> u32 ; } unsafe { let idx = val . into_abi ( & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ; __widl_instanceof_XSLTProcessor ( idx ) != 0 } } # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] fn instanceof ( val : & JsValue ) -> bool { drop ( val ) ; panic ! ( "cannot check instanceof on non-wasm targets" ) ; } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { XsltProcessor { obj : val } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const XsltProcessor ) } } } ( ) } ; impl core :: ops :: Deref for XsltProcessor { type Target = Object ; # [ inline ] fn deref ( & self ) -> & Object { self . as_ref ( ) } } impl From < XsltProcessor > for Object { # [ inline ] fn from ( obj : XsltProcessor ) -> Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js ( obj . into ( ) ) } } impl AsRef < Object > for XsltProcessor { # [ inline ] fn as_ref ( & self ) -> & Object { use wasm_bindgen :: JsCast ; Object :: unchecked_from_js_ref ( self . as_ref ( ) ) } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_new_XSLTProcessor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < XsltProcessor as WasmDescribe > :: describe ( ) ; } impl XsltProcessor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `new XSLTProcessor(..)` constructor, creating a new instance of `XSLTProcessor`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/XSLTProcessor)\n\n*This API requires the following crate features to be activated: `XsltProcessor`*" ] pub fn new ( ) -> Result < XsltProcessor , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_new_XSLTProcessor ( exn_data_ptr : * mut u32 ) -> < XsltProcessor as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_new_XSLTProcessor ( exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < XsltProcessor as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `new XSLTProcessor(..)` constructor, creating a new instance of `XSLTProcessor`\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/XSLTProcessor)\n\n*This API requires the following crate features to be activated: `XsltProcessor`*" ] pub fn new ( ) -> Result < XsltProcessor , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_parameters_XSLTProcessor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XsltProcessor as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XsltProcessor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `clearParameters()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/clearParameters)\n\n*This API requires the following crate features to be activated: `XsltProcessor`*" ] pub fn clear_parameters ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_parameters_XSLTProcessor ( self_ : < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_clear_parameters_XSLTProcessor ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `clearParameters()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/clearParameters)\n\n*This API requires the following crate features to be activated: `XsltProcessor`*" ] pub fn clear_parameters ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_import_stylesheet_XSLTProcessor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XsltProcessor as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XsltProcessor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `importStylesheet()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/importStylesheet)\n\n*This API requires the following crate features to be activated: `Node`, `XsltProcessor`*" ] pub fn import_stylesheet ( & self , style : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_import_stylesheet_XSLTProcessor ( self_ : < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , style : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let style = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( style , & mut __stack ) ; __widl_f_import_stylesheet_XSLTProcessor ( self_ , style , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `importStylesheet()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/importStylesheet)\n\n*This API requires the following crate features to be activated: `Node`, `XsltProcessor`*" ] pub fn import_stylesheet ( & self , style : & Node ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_remove_parameter_XSLTProcessor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & XsltProcessor as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XsltProcessor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `removeParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/removeParameter)\n\n*This API requires the following crate features to be activated: `XsltProcessor`*" ] pub fn remove_parameter ( & self , namespace_uri : & str , local_name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_remove_parameter_XSLTProcessor ( self_ : < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace_uri : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace_uri = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace_uri , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; __widl_f_remove_parameter_XSLTProcessor ( self_ , namespace_uri , local_name , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `removeParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/removeParameter)\n\n*This API requires the following crate features to be activated: `XsltProcessor`*" ] pub fn remove_parameter ( & self , namespace_uri : & str , local_name : & str ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_reset_XSLTProcessor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & XsltProcessor as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XsltProcessor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `reset()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/reset)\n\n*This API requires the following crate features to be activated: `XsltProcessor`*" ] pub fn reset ( & self , ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_reset_XSLTProcessor ( self_ : < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; __widl_f_reset_XSLTProcessor ( self_ ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `reset()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/reset)\n\n*This API requires the following crate features to be activated: `XsltProcessor`*" ] pub fn reset ( & self , ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_set_parameter_XSLTProcessor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & XsltProcessor as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } impl XsltProcessor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `setParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/setParameter)\n\n*This API requires the following crate features to be activated: `XsltProcessor`*" ] pub fn set_parameter ( & self , namespace_uri : & str , local_name : & str , value : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_set_parameter_XSLTProcessor ( self_ : < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , namespace_uri : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , local_name : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> ( ) ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let namespace_uri = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( namespace_uri , & mut __stack ) ; let local_name = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( local_name , & mut __stack ) ; let value = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_set_parameter_XSLTProcessor ( self_ , namespace_uri , local_name , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( ( ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `setParameter()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/setParameter)\n\n*This API requires the following crate features to be activated: `XsltProcessor`*" ] pub fn set_parameter ( & self , namespace_uri : & str , local_name : & str , value : & :: wasm_bindgen :: JsValue ) -> Result < ( ) , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transform_to_document_XSLTProcessor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & XsltProcessor as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < Document as WasmDescribe > :: describe ( ) ; } impl XsltProcessor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transformToDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/transformToDocument)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XsltProcessor`*" ] pub fn transform_to_document ( & self , source : & Node ) -> Result < Document , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transform_to_document_XSLTProcessor ( self_ : < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let source = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; __widl_f_transform_to_document_XSLTProcessor ( self_ , source , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < Document as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transformToDocument()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/transformToDocument)\n\n*This API requires the following crate features to be activated: `Document`, `Node`, `XsltProcessor`*" ] pub fn transform_to_document ( & self , source : & Node ) -> Result < Document , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_transform_to_fragment_XSLTProcessor ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & XsltProcessor as WasmDescribe > :: describe ( ) ; < & Node as WasmDescribe > :: describe ( ) ; < & Document as WasmDescribe > :: describe ( ) ; < DocumentFragment as WasmDescribe > :: describe ( ) ; } impl XsltProcessor { # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `transformToFragment()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/transformToFragment)\n\n*This API requires the following crate features to be activated: `Document`, `DocumentFragment`, `Node`, `XsltProcessor`*" ] pub fn transform_to_fragment ( & self , source : & Node , output : & Document ) -> Result < DocumentFragment , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_transform_to_fragment_XSLTProcessor ( self_ : < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , source : < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , output : < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let self_ = < & XsltProcessor as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( self , & mut __stack ) ; let source = < & Node as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( source , & mut __stack ) ; let output = < & Document as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( output , & mut __stack ) ; __widl_f_transform_to_fragment_XSLTProcessor ( self_ , source , output , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < DocumentFragment as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `transformToFragment()` method\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/transformToFragment)\n\n*This API requires the following crate features to be activated: `Document`, `DocumentFragment`, `Node`, `XsltProcessor`*" ] pub fn transform_to_fragment ( & self , source : & Node , output : & Document ) -> Result < DocumentFragment , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } } impl CssRule { pub const STYLE_RULE : u16 = 1u64 as u16 ; } impl CssRule { pub const CHARSET_RULE : u16 = 2u64 as u16 ; } impl CssRule { pub const IMPORT_RULE : u16 = 3u64 as u16 ; } impl CssRule { pub const MEDIA_RULE : u16 = 4u64 as u16 ; } impl CssRule { pub const FONT_FACE_RULE : u16 = 5u64 as u16 ; } impl CssRule { pub const PAGE_RULE : u16 = 6u64 as u16 ; } impl CssRule { pub const NAMESPACE_RULE : u16 = 10u64 as u16 ; } impl CssRule { pub const KEYFRAMES_RULE : u16 = 7u64 as u16 ; } impl CssRule { pub const KEYFRAME_RULE : u16 = 8u64 as u16 ; } impl CssRule { pub const COUNTER_STYLE_RULE : u16 = 11u64 as u16 ; } impl CssRule { pub const SUPPORTS_RULE : u16 = 12u64 as u16 ; } impl CssRule { pub const FONT_FEATURE_VALUES_RULE : u16 = 14u64 as u16 ; } impl CanvasRenderingContext2d { pub const DRAWWINDOW_DRAW_CARET : u32 = 1u64 as u32 ; } impl CanvasRenderingContext2d { pub const DRAWWINDOW_DO_NOT_FLUSH : u32 = 2u64 as u32 ; } impl CanvasRenderingContext2d { pub const DRAWWINDOW_DRAW_VIEW : u32 = 4u64 as u32 ; } impl CanvasRenderingContext2d { pub const DRAWWINDOW_USE_WIDGET_LAYERS : u32 = 8u64 as u32 ; } impl CanvasRenderingContext2d { pub const DRAWWINDOW_ASYNC_DECODE_IMAGES : u32 = 16u64 as u32 ; } impl DomException { pub const INDEX_SIZE_ERR : u16 = 1u64 as u16 ; } impl DomException { pub const DOMSTRING_SIZE_ERR : u16 = 2u64 as u16 ; } impl DomException { pub const HIERARCHY_REQUEST_ERR : u16 = 3u64 as u16 ; } impl DomException { pub const WRONG_DOCUMENT_ERR : u16 = 4u64 as u16 ; } impl DomException { pub const INVALID_CHARACTER_ERR : u16 = 5u64 as u16 ; } impl DomException { pub const NO_DATA_ALLOWED_ERR : u16 = 6u64 as u16 ; } impl DomException { pub const NO_MODIFICATION_ALLOWED_ERR : u16 = 7u64 as u16 ; } impl DomException { pub const NOT_FOUND_ERR : u16 = 8u64 as u16 ; } impl DomException { pub const NOT_SUPPORTED_ERR : u16 = 9u64 as u16 ; } impl DomException { pub const INUSE_ATTRIBUTE_ERR : u16 = 10u64 as u16 ; } impl DomException { pub const INVALID_STATE_ERR : u16 = 11u64 as u16 ; } impl DomException { pub const SYNTAX_ERR : u16 = 12u64 as u16 ; } impl DomException { pub const INVALID_MODIFICATION_ERR : u16 = 13u64 as u16 ; } impl DomException { pub const NAMESPACE_ERR : u16 = 14u64 as u16 ; } impl DomException { pub const INVALID_ACCESS_ERR : u16 = 15u64 as u16 ; } impl DomException { pub const VALIDATION_ERR : u16 = 16u64 as u16 ; } impl DomException { pub const TYPE_MISMATCH_ERR : u16 = 17u64 as u16 ; } impl DomException { pub const SECURITY_ERR : u16 = 18u64 as u16 ; } impl DomException { pub const NETWORK_ERR : u16 = 19u64 as u16 ; } impl DomException { pub const ABORT_ERR : u16 = 20u64 as u16 ; } impl DomException { pub const URL_MISMATCH_ERR : u16 = 21u64 as u16 ; } impl DomException { pub const QUOTA_EXCEEDED_ERR : u16 = 22u64 as u16 ; } impl DomException { pub const TIMEOUT_ERR : u16 = 23u64 as u16 ; } impl DomException { pub const INVALID_NODE_TYPE_ERR : u16 = 24u64 as u16 ; } impl DomException { pub const DATA_CLONE_ERR : u16 = 25u64 as u16 ; } impl Event { pub const NONE : u16 = 0i64 as u16 ; } impl Event { pub const CAPTURING_PHASE : u16 = 1u64 as u16 ; } impl Event { pub const AT_TARGET : u16 = 2u64 as u16 ; } impl Event { pub const BUBBLING_PHASE : u16 = 3u64 as u16 ; } impl EventSource { pub const CONNECTING : u16 = 0i64 as u16 ; } impl EventSource { pub const OPEN : u16 = 1u64 as u16 ; } impl EventSource { pub const CLOSED : u16 = 2u64 as u16 ; } impl FileReader { pub const EMPTY : u16 = 0i64 as u16 ; } impl FileReader { pub const LOADING : u16 = 1u64 as u16 ; } impl FileReader { pub const DONE : u16 = 2u64 as u16 ; } impl HtmlMediaElement { pub const NETWORK_EMPTY : u16 = 0i64 as u16 ; } impl HtmlMediaElement { pub const NETWORK_IDLE : u16 = 1u64 as u16 ; } impl HtmlMediaElement { pub const NETWORK_LOADING : u16 = 2u64 as u16 ; } impl HtmlMediaElement { pub const NETWORK_NO_SOURCE : u16 = 3u64 as u16 ; } impl HtmlMediaElement { pub const HAVE_NOTHING : u16 = 0i64 as u16 ; } impl HtmlMediaElement { pub const HAVE_METADATA : u16 = 1u64 as u16 ; } impl HtmlMediaElement { pub const HAVE_CURRENT_DATA : u16 = 2u64 as u16 ; } impl HtmlMediaElement { pub const HAVE_FUTURE_DATA : u16 = 3u64 as u16 ; } impl HtmlMediaElement { pub const HAVE_ENOUGH_DATA : u16 = 4u64 as u16 ; } impl HtmlTrackElement { pub const NONE : u16 = 0i64 as u16 ; } impl HtmlTrackElement { pub const LOADING : u16 = 1u64 as u16 ; } impl HtmlTrackElement { pub const LOADED : u16 = 2u64 as u16 ; } impl HtmlTrackElement { pub const ERROR : u16 = 3u64 as u16 ; } impl KeyEvent { pub const DOM_VK_CANCEL : u32 = 3u64 as u32 ; } impl KeyEvent { pub const DOM_VK_HELP : u32 = 6u64 as u32 ; } impl KeyEvent { pub const DOM_VK_BACK_SPACE : u32 = 8u64 as u32 ; } impl KeyEvent { pub const DOM_VK_TAB : u32 = 9u64 as u32 ; } impl KeyEvent { pub const DOM_VK_CLEAR : u32 = 12u64 as u32 ; } impl KeyEvent { pub const DOM_VK_RETURN : u32 = 13u64 as u32 ; } impl KeyEvent { pub const DOM_VK_SHIFT : u32 = 16u64 as u32 ; } impl KeyEvent { pub const DOM_VK_CONTROL : u32 = 17u64 as u32 ; } impl KeyEvent { pub const DOM_VK_ALT : u32 = 18u64 as u32 ; } impl KeyEvent { pub const DOM_VK_PAUSE : u32 = 19u64 as u32 ; } impl KeyEvent { pub const DOM_VK_CAPS_LOCK : u32 = 20u64 as u32 ; } impl KeyEvent { pub const DOM_VK_KANA : u32 = 21u64 as u32 ; } impl KeyEvent { pub const DOM_VK_HANGUL : u32 = 21u64 as u32 ; } impl KeyEvent { pub const DOM_VK_EISU : u32 = 22u64 as u32 ; } impl KeyEvent { pub const DOM_VK_JUNJA : u32 = 23u64 as u32 ; } impl KeyEvent { pub const DOM_VK_FINAL : u32 = 24u64 as u32 ; } impl KeyEvent { pub const DOM_VK_HANJA : u32 = 25u64 as u32 ; } impl KeyEvent { pub const DOM_VK_KANJI : u32 = 25u64 as u32 ; } impl KeyEvent { pub const DOM_VK_ESCAPE : u32 = 27u64 as u32 ; } impl KeyEvent { pub const DOM_VK_CONVERT : u32 = 28u64 as u32 ; } impl KeyEvent { pub const DOM_VK_NONCONVERT : u32 = 29u64 as u32 ; } impl KeyEvent { pub const DOM_VK_ACCEPT : u32 = 30u64 as u32 ; } impl KeyEvent { pub const DOM_VK_MODECHANGE : u32 = 31u64 as u32 ; } impl KeyEvent { pub const DOM_VK_SPACE : u32 = 32u64 as u32 ; } impl KeyEvent { pub const DOM_VK_PAGE_UP : u32 = 33u64 as u32 ; } impl KeyEvent { pub const DOM_VK_PAGE_DOWN : u32 = 34u64 as u32 ; } impl KeyEvent { pub const DOM_VK_END : u32 = 35u64 as u32 ; } impl KeyEvent { pub const DOM_VK_HOME : u32 = 36u64 as u32 ; } impl KeyEvent { pub const DOM_VK_LEFT : u32 = 37u64 as u32 ; } impl KeyEvent { pub const DOM_VK_UP : u32 = 38u64 as u32 ; } impl KeyEvent { pub const DOM_VK_RIGHT : u32 = 39u64 as u32 ; } impl KeyEvent { pub const DOM_VK_DOWN : u32 = 40u64 as u32 ; } impl KeyEvent { pub const DOM_VK_SELECT : u32 = 41u64 as u32 ; } impl KeyEvent { pub const DOM_VK_PRINT : u32 = 42u64 as u32 ; } impl KeyEvent { pub const DOM_VK_EXECUTE : u32 = 43u64 as u32 ; } impl KeyEvent { pub const DOM_VK_PRINTSCREEN : u32 = 44u64 as u32 ; } impl KeyEvent { pub const DOM_VK_INSERT : u32 = 45u64 as u32 ; } impl KeyEvent { pub const DOM_VK_DELETE : u32 = 46u64 as u32 ; } impl KeyEvent { pub const DOM_VK_0 : u32 = 48u64 as u32 ; } impl KeyEvent { pub const DOM_VK_1 : u32 = 49u64 as u32 ; } impl KeyEvent { pub const DOM_VK_2 : u32 = 50u64 as u32 ; } impl KeyEvent { pub const DOM_VK_3 : u32 = 51u64 as u32 ; } impl KeyEvent { pub const DOM_VK_4 : u32 = 52u64 as u32 ; } impl KeyEvent { pub const DOM_VK_5 : u32 = 53u64 as u32 ; } impl KeyEvent { pub const DOM_VK_6 : u32 = 54u64 as u32 ; } impl KeyEvent { pub const DOM_VK_7 : u32 = 55u64 as u32 ; } impl KeyEvent { pub const DOM_VK_8 : u32 = 56u64 as u32 ; } impl KeyEvent { pub const DOM_VK_9 : u32 = 57u64 as u32 ; } impl KeyEvent { pub const DOM_VK_COLON : u32 = 58u64 as u32 ; } impl KeyEvent { pub const DOM_VK_SEMICOLON : u32 = 59u64 as u32 ; } impl KeyEvent { pub const DOM_VK_LESS_THAN : u32 = 60u64 as u32 ; } impl KeyEvent { pub const DOM_VK_EQUALS : u32 = 61u64 as u32 ; } impl KeyEvent { pub const DOM_VK_GREATER_THAN : u32 = 62u64 as u32 ; } impl KeyEvent { pub const DOM_VK_QUESTION_MARK : u32 = 63u64 as u32 ; } impl KeyEvent { pub const DOM_VK_AT : u32 = 64u64 as u32 ; } impl KeyEvent { pub const DOM_VK_A : u32 = 65u64 as u32 ; } impl KeyEvent { pub const DOM_VK_B : u32 = 66u64 as u32 ; } impl KeyEvent { pub const DOM_VK_C : u32 = 67u64 as u32 ; } impl KeyEvent { pub const DOM_VK_D : u32 = 68u64 as u32 ; } impl KeyEvent { pub const DOM_VK_E : u32 = 69u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F : u32 = 70u64 as u32 ; } impl KeyEvent { pub const DOM_VK_G : u32 = 71u64 as u32 ; } impl KeyEvent { pub const DOM_VK_H : u32 = 72u64 as u32 ; } impl KeyEvent { pub const DOM_VK_I : u32 = 73u64 as u32 ; } impl KeyEvent { pub const DOM_VK_J : u32 = 74u64 as u32 ; } impl KeyEvent { pub const DOM_VK_K : u32 = 75u64 as u32 ; } impl KeyEvent { pub const DOM_VK_L : u32 = 76u64 as u32 ; } impl KeyEvent { pub const DOM_VK_M : u32 = 77u64 as u32 ; } impl KeyEvent { pub const DOM_VK_N : u32 = 78u64 as u32 ; } impl KeyEvent { pub const DOM_VK_O : u32 = 79u64 as u32 ; } impl KeyEvent { pub const DOM_VK_P : u32 = 80u64 as u32 ; } impl KeyEvent { pub const DOM_VK_Q : u32 = 81u64 as u32 ; } impl KeyEvent { pub const DOM_VK_R : u32 = 82u64 as u32 ; } impl KeyEvent { pub const DOM_VK_S : u32 = 83u64 as u32 ; } impl KeyEvent { pub const DOM_VK_T : u32 = 84u64 as u32 ; } impl KeyEvent { pub const DOM_VK_U : u32 = 85u64 as u32 ; } impl KeyEvent { pub const DOM_VK_V : u32 = 86u64 as u32 ; } impl KeyEvent { pub const DOM_VK_W : u32 = 87u64 as u32 ; } impl KeyEvent { pub const DOM_VK_X : u32 = 88u64 as u32 ; } impl KeyEvent { pub const DOM_VK_Y : u32 = 89u64 as u32 ; } impl KeyEvent { pub const DOM_VK_Z : u32 = 90u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN : u32 = 91u64 as u32 ; } impl KeyEvent { pub const DOM_VK_CONTEXT_MENU : u32 = 93u64 as u32 ; } impl KeyEvent { pub const DOM_VK_SLEEP : u32 = 95u64 as u32 ; } impl KeyEvent { pub const DOM_VK_NUMPAD0 : u32 = 96u64 as u32 ; } impl KeyEvent { pub const DOM_VK_NUMPAD1 : u32 = 97u64 as u32 ; } impl KeyEvent { pub const DOM_VK_NUMPAD2 : u32 = 98u64 as u32 ; } impl KeyEvent { pub const DOM_VK_NUMPAD3 : u32 = 99u64 as u32 ; } impl KeyEvent { pub const DOM_VK_NUMPAD4 : u32 = 100u64 as u32 ; } impl KeyEvent { pub const DOM_VK_NUMPAD5 : u32 = 101u64 as u32 ; } impl KeyEvent { pub const DOM_VK_NUMPAD6 : u32 = 102u64 as u32 ; } impl KeyEvent { pub const DOM_VK_NUMPAD7 : u32 = 103u64 as u32 ; } impl KeyEvent { pub const DOM_VK_NUMPAD8 : u32 = 104u64 as u32 ; } impl KeyEvent { pub const DOM_VK_NUMPAD9 : u32 = 105u64 as u32 ; } impl KeyEvent { pub const DOM_VK_MULTIPLY : u32 = 106u64 as u32 ; } impl KeyEvent { pub const DOM_VK_ADD : u32 = 107u64 as u32 ; } impl KeyEvent { pub const DOM_VK_SEPARATOR : u32 = 108u64 as u32 ; } impl KeyEvent { pub const DOM_VK_SUBTRACT : u32 = 109u64 as u32 ; } impl KeyEvent { pub const DOM_VK_DECIMAL : u32 = 110u64 as u32 ; } impl KeyEvent { pub const DOM_VK_DIVIDE : u32 = 111u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F1 : u32 = 112u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F2 : u32 = 113u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F3 : u32 = 114u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F4 : u32 = 115u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F5 : u32 = 116u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F6 : u32 = 117u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F7 : u32 = 118u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F8 : u32 = 119u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F9 : u32 = 120u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F10 : u32 = 121u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F11 : u32 = 122u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F12 : u32 = 123u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F13 : u32 = 124u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F14 : u32 = 125u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F15 : u32 = 126u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F16 : u32 = 127u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F17 : u32 = 128u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F18 : u32 = 129u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F19 : u32 = 130u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F20 : u32 = 131u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F21 : u32 = 132u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F22 : u32 = 133u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F23 : u32 = 134u64 as u32 ; } impl KeyEvent { pub const DOM_VK_F24 : u32 = 135u64 as u32 ; } impl KeyEvent { pub const DOM_VK_NUM_LOCK : u32 = 144u64 as u32 ; } impl KeyEvent { pub const DOM_VK_SCROLL_LOCK : u32 = 145u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_FJ_JISHO : u32 = 146u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_FJ_MASSHOU : u32 = 147u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_FJ_TOUROKU : u32 = 148u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_FJ_LOYA : u32 = 149u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_FJ_ROYA : u32 = 150u64 as u32 ; } impl KeyEvent { pub const DOM_VK_CIRCUMFLEX : u32 = 160u64 as u32 ; } impl KeyEvent { pub const DOM_VK_EXCLAMATION : u32 = 161u64 as u32 ; } impl KeyEvent { pub const DOM_VK_DOUBLE_QUOTE : u32 = 162u64 as u32 ; } impl KeyEvent { pub const DOM_VK_HASH : u32 = 163u64 as u32 ; } impl KeyEvent { pub const DOM_VK_DOLLAR : u32 = 164u64 as u32 ; } impl KeyEvent { pub const DOM_VK_PERCENT : u32 = 165u64 as u32 ; } impl KeyEvent { pub const DOM_VK_AMPERSAND : u32 = 166u64 as u32 ; } impl KeyEvent { pub const DOM_VK_UNDERSCORE : u32 = 167u64 as u32 ; } impl KeyEvent { pub const DOM_VK_OPEN_PAREN : u32 = 168u64 as u32 ; } impl KeyEvent { pub const DOM_VK_CLOSE_PAREN : u32 = 169u64 as u32 ; } impl KeyEvent { pub const DOM_VK_ASTERISK : u32 = 170u64 as u32 ; } impl KeyEvent { pub const DOM_VK_PLUS : u32 = 171u64 as u32 ; } impl KeyEvent { pub const DOM_VK_PIPE : u32 = 172u64 as u32 ; } impl KeyEvent { pub const DOM_VK_HYPHEN_MINUS : u32 = 173u64 as u32 ; } impl KeyEvent { pub const DOM_VK_OPEN_CURLY_BRACKET : u32 = 174u64 as u32 ; } impl KeyEvent { pub const DOM_VK_CLOSE_CURLY_BRACKET : u32 = 175u64 as u32 ; } impl KeyEvent { pub const DOM_VK_TILDE : u32 = 176u64 as u32 ; } impl KeyEvent { pub const DOM_VK_VOLUME_MUTE : u32 = 181u64 as u32 ; } impl KeyEvent { pub const DOM_VK_VOLUME_DOWN : u32 = 182u64 as u32 ; } impl KeyEvent { pub const DOM_VK_VOLUME_UP : u32 = 183u64 as u32 ; } impl KeyEvent { pub const DOM_VK_COMMA : u32 = 188u64 as u32 ; } impl KeyEvent { pub const DOM_VK_PERIOD : u32 = 190u64 as u32 ; } impl KeyEvent { pub const DOM_VK_SLASH : u32 = 191u64 as u32 ; } impl KeyEvent { pub const DOM_VK_BACK_QUOTE : u32 = 192u64 as u32 ; } impl KeyEvent { pub const DOM_VK_OPEN_BRACKET : u32 = 219u64 as u32 ; } impl KeyEvent { pub const DOM_VK_BACK_SLASH : u32 = 220u64 as u32 ; } impl KeyEvent { pub const DOM_VK_CLOSE_BRACKET : u32 = 221u64 as u32 ; } impl KeyEvent { pub const DOM_VK_QUOTE : u32 = 222u64 as u32 ; } impl KeyEvent { pub const DOM_VK_META : u32 = 224u64 as u32 ; } impl KeyEvent { pub const DOM_VK_ALTGR : u32 = 225u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_ICO_HELP : u32 = 227u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_ICO_00 : u32 = 228u64 as u32 ; } impl KeyEvent { pub const DOM_VK_PROCESSKEY : u32 = 229u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_ICO_CLEAR : u32 = 230u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_RESET : u32 = 233u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_JUMP : u32 = 234u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_PA1 : u32 = 235u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_PA2 : u32 = 236u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_PA3 : u32 = 237u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_WSCTRL : u32 = 238u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_CUSEL : u32 = 239u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_ATTN : u32 = 240u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_FINISH : u32 = 241u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_COPY : u32 = 242u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_AUTO : u32 = 243u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_ENLW : u32 = 244u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_BACKTAB : u32 = 245u64 as u32 ; } impl KeyEvent { pub const DOM_VK_ATTN : u32 = 246u64 as u32 ; } impl KeyEvent { pub const DOM_VK_CRSEL : u32 = 247u64 as u32 ; } impl KeyEvent { pub const DOM_VK_EXSEL : u32 = 248u64 as u32 ; } impl KeyEvent { pub const DOM_VK_EREOF : u32 = 249u64 as u32 ; } impl KeyEvent { pub const DOM_VK_PLAY : u32 = 250u64 as u32 ; } impl KeyEvent { pub const DOM_VK_ZOOM : u32 = 251u64 as u32 ; } impl KeyEvent { pub const DOM_VK_PA1 : u32 = 253u64 as u32 ; } impl KeyEvent { pub const DOM_VK_WIN_OEM_CLEAR : u32 = 254u64 as u32 ; } impl KeyboardEvent { pub const DOM_KEY_LOCATION_STANDARD : u32 = 0u64 as u32 ; } impl KeyboardEvent { pub const DOM_KEY_LOCATION_LEFT : u32 = 1u64 as u32 ; } impl KeyboardEvent { pub const DOM_KEY_LOCATION_RIGHT : u32 = 2u64 as u32 ; } impl KeyboardEvent { pub const DOM_KEY_LOCATION_NUMPAD : u32 = 3u64 as u32 ; } impl MediaError { pub const MEDIA_ERR_ABORTED : u16 = 1u64 as u16 ; } impl MediaError { pub const MEDIA_ERR_NETWORK : u16 = 2u64 as u16 ; } impl MediaError { pub const MEDIA_ERR_DECODE : u16 = 3u64 as u16 ; } impl MediaError { pub const MEDIA_ERR_SRC_NOT_SUPPORTED : u16 = 4u64 as u16 ; } impl MouseScrollEvent { pub const HORIZONTAL_AXIS : i32 = 1u64 as i32 ; } impl MouseScrollEvent { pub const VERTICAL_AXIS : i32 = 2u64 as i32 ; } impl MutationEvent { pub const MODIFICATION : u16 = 1u64 as u16 ; } impl MutationEvent { pub const ADDITION : u16 = 2u64 as u16 ; } impl MutationEvent { pub const REMOVAL : u16 = 3u64 as u16 ; } impl Node { pub const ELEMENT_NODE : u16 = 1u64 as u16 ; } impl Node { pub const ATTRIBUTE_NODE : u16 = 2u64 as u16 ; } impl Node { pub const TEXT_NODE : u16 = 3u64 as u16 ; } impl Node { pub const CDATA_SECTION_NODE : u16 = 4u64 as u16 ; } impl Node { pub const ENTITY_REFERENCE_NODE : u16 = 5u64 as u16 ; } impl Node { pub const ENTITY_NODE : u16 = 6u64 as u16 ; } impl Node { pub const PROCESSING_INSTRUCTION_NODE : u16 = 7u64 as u16 ; } impl Node { pub const COMMENT_NODE : u16 = 8u64 as u16 ; } impl Node { pub const DOCUMENT_NODE : u16 = 9u64 as u16 ; } impl Node { pub const DOCUMENT_TYPE_NODE : u16 = 10u64 as u16 ; } impl Node { pub const DOCUMENT_FRAGMENT_NODE : u16 = 11u64 as u16 ; } impl Node { pub const NOTATION_NODE : u16 = 12u64 as u16 ; } impl Node { pub const DOCUMENT_POSITION_DISCONNECTED : u16 = 1u64 as u16 ; } impl Node { pub const DOCUMENT_POSITION_PRECEDING : u16 = 2u64 as u16 ; } impl Node { pub const DOCUMENT_POSITION_FOLLOWING : u16 = 4u64 as u16 ; } impl Node { pub const DOCUMENT_POSITION_CONTAINS : u16 = 8u64 as u16 ; } impl Node { pub const DOCUMENT_POSITION_CONTAINED_BY : u16 = 16u64 as u16 ; } impl Node { pub const DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : u16 = 32u64 as u16 ; } impl OfflineResourceList { pub const UNCACHED : u16 = 0i64 as u16 ; } impl OfflineResourceList { pub const IDLE : u16 = 1u64 as u16 ; } impl OfflineResourceList { pub const CHECKING : u16 = 2u64 as u16 ; } impl OfflineResourceList { pub const DOWNLOADING : u16 = 3u64 as u16 ; } impl OfflineResourceList { pub const UPDATEREADY : u16 = 4u64 as u16 ; } impl OfflineResourceList { pub const OBSOLETE : u16 = 5u64 as u16 ; } impl PerformanceNavigation { pub const TYPE_NAVIGATE : u16 = 0i64 as u16 ; } impl PerformanceNavigation { pub const TYPE_RELOAD : u16 = 1u64 as u16 ; } impl PerformanceNavigation { pub const TYPE_BACK_FORWARD : u16 = 2u64 as u16 ; } impl PerformanceNavigation { pub const TYPE_RESERVED : u16 = 255u64 as u16 ; } impl Range { pub const START_TO_START : u16 = 0i64 as u16 ; } impl Range { pub const START_TO_END : u16 = 1u64 as u16 ; } impl Range { pub const END_TO_END : u16 = 2u64 as u16 ; } impl Range { pub const END_TO_START : u16 = 3u64 as u16 ; } impl SvgAngle { pub const SVG_ANGLETYPE_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgAngle { pub const SVG_ANGLETYPE_UNSPECIFIED : u16 = 1u64 as u16 ; } impl SvgAngle { pub const SVG_ANGLETYPE_DEG : u16 = 2u64 as u16 ; } impl SvgAngle { pub const SVG_ANGLETYPE_RAD : u16 = 3u64 as u16 ; } impl SvgAngle { pub const SVG_ANGLETYPE_GRAD : u16 = 4u64 as u16 ; } impl SvgComponentTransferFunctionElement { pub const SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgComponentTransferFunctionElement { pub const SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY : u16 = 1u64 as u16 ; } impl SvgComponentTransferFunctionElement { pub const SVG_FECOMPONENTTRANSFER_TYPE_TABLE : u16 = 2u64 as u16 ; } impl SvgComponentTransferFunctionElement { pub const SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE : u16 = 3u64 as u16 ; } impl SvgComponentTransferFunctionElement { pub const SVG_FECOMPONENTTRANSFER_TYPE_LINEAR : u16 = 4u64 as u16 ; } impl SvgComponentTransferFunctionElement { pub const SVG_FECOMPONENTTRANSFER_TYPE_GAMMA : u16 = 5u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_NORMAL : u16 = 1u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_MULTIPLY : u16 = 2u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_SCREEN : u16 = 3u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_DARKEN : u16 = 4u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_LIGHTEN : u16 = 5u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_OVERLAY : u16 = 6u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_COLOR_DODGE : u16 = 7u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_COLOR_BURN : u16 = 8u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_HARD_LIGHT : u16 = 9u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_SOFT_LIGHT : u16 = 10u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_DIFFERENCE : u16 = 11u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_EXCLUSION : u16 = 12u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_HUE : u16 = 13u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_SATURATION : u16 = 14u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_COLOR : u16 = 15u64 as u16 ; } impl SvgfeBlendElement { pub const SVG_FEBLEND_MODE_LUMINOSITY : u16 = 16u64 as u16 ; } impl SvgfeColorMatrixElement { pub const SVG_FECOLORMATRIX_TYPE_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgfeColorMatrixElement { pub const SVG_FECOLORMATRIX_TYPE_MATRIX : u16 = 1u64 as u16 ; } impl SvgfeColorMatrixElement { pub const SVG_FECOLORMATRIX_TYPE_SATURATE : u16 = 2u64 as u16 ; } impl SvgfeColorMatrixElement { pub const SVG_FECOLORMATRIX_TYPE_HUEROTATE : u16 = 3u64 as u16 ; } impl SvgfeColorMatrixElement { pub const SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA : u16 = 4u64 as u16 ; } impl SvgfeCompositeElement { pub const SVG_FECOMPOSITE_OPERATOR_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgfeCompositeElement { pub const SVG_FECOMPOSITE_OPERATOR_OVER : u16 = 1u64 as u16 ; } impl SvgfeCompositeElement { pub const SVG_FECOMPOSITE_OPERATOR_IN : u16 = 2u64 as u16 ; } impl SvgfeCompositeElement { pub const SVG_FECOMPOSITE_OPERATOR_OUT : u16 = 3u64 as u16 ; } impl SvgfeCompositeElement { pub const SVG_FECOMPOSITE_OPERATOR_ATOP : u16 = 4u64 as u16 ; } impl SvgfeCompositeElement { pub const SVG_FECOMPOSITE_OPERATOR_XOR : u16 = 5u64 as u16 ; } impl SvgfeCompositeElement { pub const SVG_FECOMPOSITE_OPERATOR_ARITHMETIC : u16 = 6u64 as u16 ; } impl SvgfeConvolveMatrixElement { pub const SVG_EDGEMODE_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgfeConvolveMatrixElement { pub const SVG_EDGEMODE_DUPLICATE : u16 = 1u64 as u16 ; } impl SvgfeConvolveMatrixElement { pub const SVG_EDGEMODE_WRAP : u16 = 2u64 as u16 ; } impl SvgfeConvolveMatrixElement { pub const SVG_EDGEMODE_NONE : u16 = 3u64 as u16 ; } impl SvgfeDisplacementMapElement { pub const SVG_CHANNEL_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgfeDisplacementMapElement { pub const SVG_CHANNEL_R : u16 = 1u64 as u16 ; } impl SvgfeDisplacementMapElement { pub const SVG_CHANNEL_G : u16 = 2u64 as u16 ; } impl SvgfeDisplacementMapElement { pub const SVG_CHANNEL_B : u16 = 3u64 as u16 ; } impl SvgfeDisplacementMapElement { pub const SVG_CHANNEL_A : u16 = 4u64 as u16 ; } impl SvgfeMorphologyElement { pub const SVG_MORPHOLOGY_OPERATOR_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgfeMorphologyElement { pub const SVG_MORPHOLOGY_OPERATOR_ERODE : u16 = 1u64 as u16 ; } impl SvgfeMorphologyElement { pub const SVG_MORPHOLOGY_OPERATOR_DILATE : u16 = 2u64 as u16 ; } impl SvgfeTurbulenceElement { pub const SVG_TURBULENCE_TYPE_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgfeTurbulenceElement { pub const SVG_TURBULENCE_TYPE_FRACTALNOISE : u16 = 1u64 as u16 ; } impl SvgfeTurbulenceElement { pub const SVG_TURBULENCE_TYPE_TURBULENCE : u16 = 2u64 as u16 ; } impl SvgfeTurbulenceElement { pub const SVG_STITCHTYPE_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgfeTurbulenceElement { pub const SVG_STITCHTYPE_STITCH : u16 = 1u64 as u16 ; } impl SvgfeTurbulenceElement { pub const SVG_STITCHTYPE_NOSTITCH : u16 = 2u64 as u16 ; } impl SvgGradientElement { pub const SVG_SPREADMETHOD_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgGradientElement { pub const SVG_SPREADMETHOD_PAD : u16 = 1u64 as u16 ; } impl SvgGradientElement { pub const SVG_SPREADMETHOD_REFLECT : u16 = 2u64 as u16 ; } impl SvgGradientElement { pub const SVG_SPREADMETHOD_REPEAT : u16 = 3u64 as u16 ; } impl SvgLength { pub const SVG_LENGTHTYPE_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgLength { pub const SVG_LENGTHTYPE_NUMBER : u16 = 1u64 as u16 ; } impl SvgLength { pub const SVG_LENGTHTYPE_PERCENTAGE : u16 = 2u64 as u16 ; } impl SvgLength { pub const SVG_LENGTHTYPE_EMS : u16 = 3u64 as u16 ; } impl SvgLength { pub const SVG_LENGTHTYPE_EXS : u16 = 4u64 as u16 ; } impl SvgLength { pub const SVG_LENGTHTYPE_PX : u16 = 5u64 as u16 ; } impl SvgLength { pub const SVG_LENGTHTYPE_CM : u16 = 6u64 as u16 ; } impl SvgLength { pub const SVG_LENGTHTYPE_MM : u16 = 7u64 as u16 ; } impl SvgLength { pub const SVG_LENGTHTYPE_IN : u16 = 8u64 as u16 ; } impl SvgLength { pub const SVG_LENGTHTYPE_PT : u16 = 9u64 as u16 ; } impl SvgLength { pub const SVG_LENGTHTYPE_PC : u16 = 10u64 as u16 ; } impl SvgMarkerElement { pub const SVG_MARKERUNITS_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgMarkerElement { pub const SVG_MARKERUNITS_USERSPACEONUSE : u16 = 1u64 as u16 ; } impl SvgMarkerElement { pub const SVG_MARKERUNITS_STROKEWIDTH : u16 = 2u64 as u16 ; } impl SvgMarkerElement { pub const SVG_MARKER_ORIENT_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgMarkerElement { pub const SVG_MARKER_ORIENT_AUTO : u16 = 1u64 as u16 ; } impl SvgMarkerElement { pub const SVG_MARKER_ORIENT_ANGLE : u16 = 2u64 as u16 ; } impl SvgMaskElement { pub const SVG_MASKTYPE_LUMINANCE : u16 = 0i64 as u16 ; } impl SvgMaskElement { pub const SVG_MASKTYPE_ALPHA : u16 = 1u64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_PRESERVEASPECTRATIO_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_PRESERVEASPECTRATIO_NONE : u16 = 1u64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_PRESERVEASPECTRATIO_XMINYMIN : u16 = 2u64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_PRESERVEASPECTRATIO_XMIDYMIN : u16 = 3u64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_PRESERVEASPECTRATIO_XMAXYMIN : u16 = 4u64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_PRESERVEASPECTRATIO_XMINYMID : u16 = 5u64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_PRESERVEASPECTRATIO_XMIDYMID : u16 = 6u64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_PRESERVEASPECTRATIO_XMAXYMID : u16 = 7u64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_PRESERVEASPECTRATIO_XMINYMAX : u16 = 8u64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_PRESERVEASPECTRATIO_XMIDYMAX : u16 = 9u64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_PRESERVEASPECTRATIO_XMAXYMAX : u16 = 10u64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_MEETORSLICE_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_MEETORSLICE_MEET : u16 = 1u64 as u16 ; } impl SvgPreserveAspectRatio { pub const SVG_MEETORSLICE_SLICE : u16 = 2u64 as u16 ; } impl SvgsvgElement { pub const SVG_ZOOMANDPAN_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgsvgElement { pub const SVG_ZOOMANDPAN_DISABLE : u16 = 1u64 as u16 ; } impl SvgsvgElement { pub const SVG_ZOOMANDPAN_MAGNIFY : u16 = 2u64 as u16 ; } impl SvgTextContentElement { pub const LENGTHADJUST_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgTextContentElement { pub const LENGTHADJUST_SPACING : u16 = 1u64 as u16 ; } impl SvgTextContentElement { pub const LENGTHADJUST_SPACINGANDGLYPHS : u16 = 2u64 as u16 ; } impl SvgTextPathElement { pub const TEXTPATH_METHODTYPE_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgTextPathElement { pub const TEXTPATH_METHODTYPE_ALIGN : u16 = 1u64 as u16 ; } impl SvgTextPathElement { pub const TEXTPATH_METHODTYPE_STRETCH : u16 = 2u64 as u16 ; } impl SvgTextPathElement { pub const TEXTPATH_SPACINGTYPE_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgTextPathElement { pub const TEXTPATH_SPACINGTYPE_AUTO : u16 = 1u64 as u16 ; } impl SvgTextPathElement { pub const TEXTPATH_SPACINGTYPE_EXACT : u16 = 2u64 as u16 ; } impl SvgTransform { pub const SVG_TRANSFORM_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgTransform { pub const SVG_TRANSFORM_MATRIX : u16 = 1u64 as u16 ; } impl SvgTransform { pub const SVG_TRANSFORM_TRANSLATE : u16 = 2u64 as u16 ; } impl SvgTransform { pub const SVG_TRANSFORM_SCALE : u16 = 3u64 as u16 ; } impl SvgTransform { pub const SVG_TRANSFORM_ROTATE : u16 = 4u64 as u16 ; } impl SvgTransform { pub const SVG_TRANSFORM_SKEWX : u16 = 5u64 as u16 ; } impl SvgTransform { pub const SVG_TRANSFORM_SKEWY : u16 = 6u64 as u16 ; } impl SvgUnitTypes { pub const SVG_UNIT_TYPE_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgUnitTypes { pub const SVG_UNIT_TYPE_USERSPACEONUSE : u16 = 1u64 as u16 ; } impl SvgUnitTypes { pub const SVG_UNIT_TYPE_OBJECTBOUNDINGBOX : u16 = 2u64 as u16 ; } impl SvgViewElement { pub const SVG_ZOOMANDPAN_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgViewElement { pub const SVG_ZOOMANDPAN_DISABLE : u16 = 1u64 as u16 ; } impl SvgViewElement { pub const SVG_ZOOMANDPAN_MAGNIFY : u16 = 2u64 as u16 ; } impl SvgZoomAndPan { pub const SVG_ZOOMANDPAN_UNKNOWN : u16 = 0i64 as u16 ; } impl SvgZoomAndPan { pub const SVG_ZOOMANDPAN_DISABLE : u16 = 1u64 as u16 ; } impl SvgZoomAndPan { pub const SVG_ZOOMANDPAN_MAGNIFY : u16 = 2u64 as u16 ; } impl U2f { pub const OK : u16 = 0i64 as u16 ; } impl U2f { pub const OTHER_ERROR : u16 = 1u64 as u16 ; } impl U2f { pub const BAD_REQUEST : u16 = 2u64 as u16 ; } impl U2f { pub const CONFIGURATION_UNSUPPORTED : u16 = 3u64 as u16 ; } impl U2f { pub const DEVICE_INELIGIBLE : u16 = 4u64 as u16 ; } impl U2f { pub const TIMEOUT : u16 = 5u64 as u16 ; } impl UiEvent { pub const SCROLL_PAGE_UP : i32 = -32768i64 as i32 ; } impl UiEvent { pub const SCROLL_PAGE_DOWN : i32 = 32768u64 as i32 ; } impl WebGl2RenderingContext { pub const READ_BUFFER : u32 = 3074u64 as u32 ; } impl WebGl2RenderingContext { pub const UNPACK_ROW_LENGTH : u32 = 3314u64 as u32 ; } impl WebGl2RenderingContext { pub const UNPACK_SKIP_ROWS : u32 = 3315u64 as u32 ; } impl WebGl2RenderingContext { pub const UNPACK_SKIP_PIXELS : u32 = 3316u64 as u32 ; } impl WebGl2RenderingContext { pub const PACK_ROW_LENGTH : u32 = 3330u64 as u32 ; } impl WebGl2RenderingContext { pub const PACK_SKIP_ROWS : u32 = 3331u64 as u32 ; } impl WebGl2RenderingContext { pub const PACK_SKIP_PIXELS : u32 = 3332u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR : u32 = 6144u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH : u32 = 6145u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL : u32 = 6146u64 as u32 ; } impl WebGl2RenderingContext { pub const RED : u32 = 6403u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB8 : u32 = 32849u64 as u32 ; } impl WebGl2RenderingContext { pub const RGBA8 : u32 = 32856u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB10_A2 : u32 = 32857u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_BINDING_3D : u32 = 32874u64 as u32 ; } impl WebGl2RenderingContext { pub const UNPACK_SKIP_IMAGES : u32 = 32877u64 as u32 ; } impl WebGl2RenderingContext { pub const UNPACK_IMAGE_HEIGHT : u32 = 32878u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_3D : u32 = 32879u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_WRAP_R : u32 = 32882u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_3D_TEXTURE_SIZE : u32 = 32883u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_INT_2_10_10_10_REV : u32 = 33640u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_ELEMENTS_VERTICES : u32 = 33000u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_ELEMENTS_INDICES : u32 = 33001u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_MIN_LOD : u32 = 33082u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_MAX_LOD : u32 = 33083u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_BASE_LEVEL : u32 = 33084u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_MAX_LEVEL : u32 = 33085u64 as u32 ; } impl WebGl2RenderingContext { pub const MIN : u32 = 32775u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX : u32 = 32776u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_COMPONENT24 : u32 = 33190u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_TEXTURE_LOD_BIAS : u32 = 34045u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_COMPARE_MODE : u32 = 34892u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_COMPARE_FUNC : u32 = 34893u64 as u32 ; } impl WebGl2RenderingContext { pub const CURRENT_QUERY : u32 = 34917u64 as u32 ; } impl WebGl2RenderingContext { pub const QUERY_RESULT : u32 = 34918u64 as u32 ; } impl WebGl2RenderingContext { pub const QUERY_RESULT_AVAILABLE : u32 = 34919u64 as u32 ; } impl WebGl2RenderingContext { pub const STREAM_READ : u32 = 35041u64 as u32 ; } impl WebGl2RenderingContext { pub const STREAM_COPY : u32 = 35042u64 as u32 ; } impl WebGl2RenderingContext { pub const STATIC_READ : u32 = 35045u64 as u32 ; } impl WebGl2RenderingContext { pub const STATIC_COPY : u32 = 35046u64 as u32 ; } impl WebGl2RenderingContext { pub const DYNAMIC_READ : u32 = 35049u64 as u32 ; } impl WebGl2RenderingContext { pub const DYNAMIC_COPY : u32 = 35050u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_DRAW_BUFFERS : u32 = 34852u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER0 : u32 = 34853u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER1 : u32 = 34854u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER2 : u32 = 34855u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER3 : u32 = 34856u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER4 : u32 = 34857u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER5 : u32 = 34858u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER6 : u32 = 34859u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER7 : u32 = 34860u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER8 : u32 = 34861u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER9 : u32 = 34862u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER10 : u32 = 34863u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER11 : u32 = 34864u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER12 : u32 = 34865u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER13 : u32 = 34866u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER14 : u32 = 34867u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_BUFFER15 : u32 = 34868u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_FRAGMENT_UNIFORM_COMPONENTS : u32 = 35657u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_VERTEX_UNIFORM_COMPONENTS : u32 = 35658u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLER_3D : u32 = 35679u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLER_2D_SHADOW : u32 = 35682u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAGMENT_SHADER_DERIVATIVE_HINT : u32 = 35723u64 as u32 ; } impl WebGl2RenderingContext { pub const PIXEL_PACK_BUFFER : u32 = 35051u64 as u32 ; } impl WebGl2RenderingContext { pub const PIXEL_UNPACK_BUFFER : u32 = 35052u64 as u32 ; } impl WebGl2RenderingContext { pub const PIXEL_PACK_BUFFER_BINDING : u32 = 35053u64 as u32 ; } impl WebGl2RenderingContext { pub const PIXEL_UNPACK_BUFFER_BINDING : u32 = 35055u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT_MAT2X3 : u32 = 35685u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT_MAT2X4 : u32 = 35686u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT_MAT3X2 : u32 = 35687u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT_MAT3X4 : u32 = 35688u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT_MAT4X2 : u32 = 35689u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT_MAT4X3 : u32 = 35690u64 as u32 ; } impl WebGl2RenderingContext { pub const SRGB : u32 = 35904u64 as u32 ; } impl WebGl2RenderingContext { pub const SRGB8 : u32 = 35905u64 as u32 ; } impl WebGl2RenderingContext { pub const SRGB8_ALPHA8 : u32 = 35907u64 as u32 ; } impl WebGl2RenderingContext { pub const COMPARE_REF_TO_TEXTURE : u32 = 34894u64 as u32 ; } impl WebGl2RenderingContext { pub const RGBA32F : u32 = 34836u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB32F : u32 = 34837u64 as u32 ; } impl WebGl2RenderingContext { pub const RGBA16F : u32 = 34842u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB16F : u32 = 34843u64 as u32 ; } impl WebGl2RenderingContext { pub const VERTEX_ATTRIB_ARRAY_INTEGER : u32 = 35069u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_ARRAY_TEXTURE_LAYERS : u32 = 35071u64 as u32 ; } impl WebGl2RenderingContext { pub const MIN_PROGRAM_TEXEL_OFFSET : u32 = 35076u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_PROGRAM_TEXEL_OFFSET : u32 = 35077u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_VARYING_COMPONENTS : u32 = 35659u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_2D_ARRAY : u32 = 35866u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_BINDING_2D_ARRAY : u32 = 35869u64 as u32 ; } impl WebGl2RenderingContext { pub const R11F_G11F_B10F : u32 = 35898u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_INT_10F_11F_11F_REV : u32 = 35899u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB9_E5 : u32 = 35901u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_INT_5_9_9_9_REV : u32 = 35902u64 as u32 ; } impl WebGl2RenderingContext { pub const TRANSFORM_FEEDBACK_BUFFER_MODE : u32 = 35967u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS : u32 = 35968u64 as u32 ; } impl WebGl2RenderingContext { pub const TRANSFORM_FEEDBACK_VARYINGS : u32 = 35971u64 as u32 ; } impl WebGl2RenderingContext { pub const TRANSFORM_FEEDBACK_BUFFER_START : u32 = 35972u64 as u32 ; } impl WebGl2RenderingContext { pub const TRANSFORM_FEEDBACK_BUFFER_SIZE : u32 = 35973u64 as u32 ; } impl WebGl2RenderingContext { pub const TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN : u32 = 35976u64 as u32 ; } impl WebGl2RenderingContext { pub const RASTERIZER_DISCARD : u32 = 35977u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS : u32 = 35978u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS : u32 = 35979u64 as u32 ; } impl WebGl2RenderingContext { pub const INTERLEAVED_ATTRIBS : u32 = 35980u64 as u32 ; } impl WebGl2RenderingContext { pub const SEPARATE_ATTRIBS : u32 = 35981u64 as u32 ; } impl WebGl2RenderingContext { pub const TRANSFORM_FEEDBACK_BUFFER : u32 = 35982u64 as u32 ; } impl WebGl2RenderingContext { pub const TRANSFORM_FEEDBACK_BUFFER_BINDING : u32 = 35983u64 as u32 ; } impl WebGl2RenderingContext { pub const RGBA32UI : u32 = 36208u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB32UI : u32 = 36209u64 as u32 ; } impl WebGl2RenderingContext { pub const RGBA16UI : u32 = 36214u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB16UI : u32 = 36215u64 as u32 ; } impl WebGl2RenderingContext { pub const RGBA8UI : u32 = 36220u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB8UI : u32 = 36221u64 as u32 ; } impl WebGl2RenderingContext { pub const RGBA32I : u32 = 36226u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB32I : u32 = 36227u64 as u32 ; } impl WebGl2RenderingContext { pub const RGBA16I : u32 = 36232u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB16I : u32 = 36233u64 as u32 ; } impl WebGl2RenderingContext { pub const RGBA8I : u32 = 36238u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB8I : u32 = 36239u64 as u32 ; } impl WebGl2RenderingContext { pub const RED_INTEGER : u32 = 36244u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB_INTEGER : u32 = 36248u64 as u32 ; } impl WebGl2RenderingContext { pub const RGBA_INTEGER : u32 = 36249u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLER_2D_ARRAY : u32 = 36289u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLER_2D_ARRAY_SHADOW : u32 = 36292u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLER_CUBE_SHADOW : u32 = 36293u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_INT_VEC2 : u32 = 36294u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_INT_VEC3 : u32 = 36295u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_INT_VEC4 : u32 = 36296u64 as u32 ; } impl WebGl2RenderingContext { pub const INT_SAMPLER_2D : u32 = 36298u64 as u32 ; } impl WebGl2RenderingContext { pub const INT_SAMPLER_3D : u32 = 36299u64 as u32 ; } impl WebGl2RenderingContext { pub const INT_SAMPLER_CUBE : u32 = 36300u64 as u32 ; } impl WebGl2RenderingContext { pub const INT_SAMPLER_2D_ARRAY : u32 = 36303u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_INT_SAMPLER_2D : u32 = 36306u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_INT_SAMPLER_3D : u32 = 36307u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_INT_SAMPLER_CUBE : u32 = 36308u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_INT_SAMPLER_2D_ARRAY : u32 = 36311u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_COMPONENT32F : u32 = 36012u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH32F_STENCIL8 : u32 = 36013u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT_32_UNSIGNED_INT_24_8_REV : u32 = 36269u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING : u32 = 33296u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE : u32 = 33297u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_ATTACHMENT_RED_SIZE : u32 = 33298u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_ATTACHMENT_GREEN_SIZE : u32 = 33299u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_ATTACHMENT_BLUE_SIZE : u32 = 33300u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE : u32 = 33301u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE : u32 = 33302u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE : u32 = 33303u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_DEFAULT : u32 = 33304u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_INT_24_8 : u32 = 34042u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH24_STENCIL8 : u32 = 35056u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_NORMALIZED : u32 = 35863u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_FRAMEBUFFER_BINDING : u32 = 36006u64 as u32 ; } impl WebGl2RenderingContext { pub const READ_FRAMEBUFFER : u32 = 36008u64 as u32 ; } impl WebGl2RenderingContext { pub const DRAW_FRAMEBUFFER : u32 = 36009u64 as u32 ; } impl WebGl2RenderingContext { pub const READ_FRAMEBUFFER_BINDING : u32 = 36010u64 as u32 ; } impl WebGl2RenderingContext { pub const RENDERBUFFER_SAMPLES : u32 = 36011u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER : u32 = 36052u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_COLOR_ATTACHMENTS : u32 = 36063u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT1 : u32 = 36065u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT2 : u32 = 36066u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT3 : u32 = 36067u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT4 : u32 = 36068u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT5 : u32 = 36069u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT6 : u32 = 36070u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT7 : u32 = 36071u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT8 : u32 = 36072u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT9 : u32 = 36073u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT10 : u32 = 36074u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT11 : u32 = 36075u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT12 : u32 = 36076u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT13 : u32 = 36077u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT14 : u32 = 36078u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT15 : u32 = 36079u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_INCOMPLETE_MULTISAMPLE : u32 = 36182u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_SAMPLES : u32 = 36183u64 as u32 ; } impl WebGl2RenderingContext { pub const HALF_FLOAT : u32 = 5131u64 as u32 ; } impl WebGl2RenderingContext { pub const RG : u32 = 33319u64 as u32 ; } impl WebGl2RenderingContext { pub const RG_INTEGER : u32 = 33320u64 as u32 ; } impl WebGl2RenderingContext { pub const R8 : u32 = 33321u64 as u32 ; } impl WebGl2RenderingContext { pub const RG8 : u32 = 33323u64 as u32 ; } impl WebGl2RenderingContext { pub const R16F : u32 = 33325u64 as u32 ; } impl WebGl2RenderingContext { pub const R32F : u32 = 33326u64 as u32 ; } impl WebGl2RenderingContext { pub const RG16F : u32 = 33327u64 as u32 ; } impl WebGl2RenderingContext { pub const RG32F : u32 = 33328u64 as u32 ; } impl WebGl2RenderingContext { pub const R8I : u32 = 33329u64 as u32 ; } impl WebGl2RenderingContext { pub const R8UI : u32 = 33330u64 as u32 ; } impl WebGl2RenderingContext { pub const R16I : u32 = 33331u64 as u32 ; } impl WebGl2RenderingContext { pub const R16UI : u32 = 33332u64 as u32 ; } impl WebGl2RenderingContext { pub const R32I : u32 = 33333u64 as u32 ; } impl WebGl2RenderingContext { pub const R32UI : u32 = 33334u64 as u32 ; } impl WebGl2RenderingContext { pub const RG8I : u32 = 33335u64 as u32 ; } impl WebGl2RenderingContext { pub const RG8UI : u32 = 33336u64 as u32 ; } impl WebGl2RenderingContext { pub const RG16I : u32 = 33337u64 as u32 ; } impl WebGl2RenderingContext { pub const RG16UI : u32 = 33338u64 as u32 ; } impl WebGl2RenderingContext { pub const RG32I : u32 = 33339u64 as u32 ; } impl WebGl2RenderingContext { pub const RG32UI : u32 = 33340u64 as u32 ; } impl WebGl2RenderingContext { pub const VERTEX_ARRAY_BINDING : u32 = 34229u64 as u32 ; } impl WebGl2RenderingContext { pub const R8_SNORM : u32 = 36756u64 as u32 ; } impl WebGl2RenderingContext { pub const RG8_SNORM : u32 = 36757u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB8_SNORM : u32 = 36758u64 as u32 ; } impl WebGl2RenderingContext { pub const RGBA8_SNORM : u32 = 36759u64 as u32 ; } impl WebGl2RenderingContext { pub const SIGNED_NORMALIZED : u32 = 36764u64 as u32 ; } impl WebGl2RenderingContext { pub const COPY_READ_BUFFER : u32 = 36662u64 as u32 ; } impl WebGl2RenderingContext { pub const COPY_WRITE_BUFFER : u32 = 36663u64 as u32 ; } impl WebGl2RenderingContext { pub const COPY_READ_BUFFER_BINDING : u32 = 36662u64 as u32 ; } impl WebGl2RenderingContext { pub const COPY_WRITE_BUFFER_BINDING : u32 = 36663u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_BUFFER : u32 = 35345u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_BUFFER_BINDING : u32 = 35368u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_BUFFER_START : u32 = 35369u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_BUFFER_SIZE : u32 = 35370u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_VERTEX_UNIFORM_BLOCKS : u32 = 35371u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_FRAGMENT_UNIFORM_BLOCKS : u32 = 35373u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_COMBINED_UNIFORM_BLOCKS : u32 = 35374u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_UNIFORM_BUFFER_BINDINGS : u32 = 35375u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_UNIFORM_BLOCK_SIZE : u32 = 35376u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS : u32 = 35377u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS : u32 = 35379u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_BUFFER_OFFSET_ALIGNMENT : u32 = 35380u64 as u32 ; } impl WebGl2RenderingContext { pub const ACTIVE_UNIFORM_BLOCKS : u32 = 35382u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_TYPE : u32 = 35383u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_SIZE : u32 = 35384u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_BLOCK_INDEX : u32 = 35386u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_OFFSET : u32 = 35387u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_ARRAY_STRIDE : u32 = 35388u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_MATRIX_STRIDE : u32 = 35389u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_IS_ROW_MAJOR : u32 = 35390u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_BLOCK_BINDING : u32 = 35391u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_BLOCK_DATA_SIZE : u32 = 35392u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_BLOCK_ACTIVE_UNIFORMS : u32 = 35394u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES : u32 = 35395u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER : u32 = 35396u64 as u32 ; } impl WebGl2RenderingContext { pub const UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER : u32 = 35398u64 as u32 ; } impl WebGl2RenderingContext { pub const INVALID_INDEX : u32 = 4294967295u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_VERTEX_OUTPUT_COMPONENTS : u32 = 37154u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_FRAGMENT_INPUT_COMPONENTS : u32 = 37157u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_SERVER_WAIT_TIMEOUT : u32 = 37137u64 as u32 ; } impl WebGl2RenderingContext { pub const OBJECT_TYPE : u32 = 37138u64 as u32 ; } impl WebGl2RenderingContext { pub const SYNC_CONDITION : u32 = 37139u64 as u32 ; } impl WebGl2RenderingContext { pub const SYNC_STATUS : u32 = 37140u64 as u32 ; } impl WebGl2RenderingContext { pub const SYNC_FLAGS : u32 = 37141u64 as u32 ; } impl WebGl2RenderingContext { pub const SYNC_FENCE : u32 = 37142u64 as u32 ; } impl WebGl2RenderingContext { pub const SYNC_GPU_COMMANDS_COMPLETE : u32 = 37143u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNALED : u32 = 37144u64 as u32 ; } impl WebGl2RenderingContext { pub const SIGNALED : u32 = 37145u64 as u32 ; } impl WebGl2RenderingContext { pub const ALREADY_SIGNALED : u32 = 37146u64 as u32 ; } impl WebGl2RenderingContext { pub const TIMEOUT_EXPIRED : u32 = 37147u64 as u32 ; } impl WebGl2RenderingContext { pub const CONDITION_SATISFIED : u32 = 37148u64 as u32 ; } impl WebGl2RenderingContext { pub const WAIT_FAILED : u32 = 37149u64 as u32 ; } impl WebGl2RenderingContext { pub const SYNC_FLUSH_COMMANDS_BIT : u32 = 1u64 as u32 ; } impl WebGl2RenderingContext { pub const VERTEX_ATTRIB_ARRAY_DIVISOR : u32 = 35070u64 as u32 ; } impl WebGl2RenderingContext { pub const ANY_SAMPLES_PASSED : u32 = 35887u64 as u32 ; } impl WebGl2RenderingContext { pub const ANY_SAMPLES_PASSED_CONSERVATIVE : u32 = 36202u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLER_BINDING : u32 = 35097u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB10_A2UI : u32 = 36975u64 as u32 ; } impl WebGl2RenderingContext { pub const INT_2_10_10_10_REV : u32 = 36255u64 as u32 ; } impl WebGl2RenderingContext { pub const TRANSFORM_FEEDBACK : u32 = 36386u64 as u32 ; } impl WebGl2RenderingContext { pub const TRANSFORM_FEEDBACK_PAUSED : u32 = 36387u64 as u32 ; } impl WebGl2RenderingContext { pub const TRANSFORM_FEEDBACK_ACTIVE : u32 = 36388u64 as u32 ; } impl WebGl2RenderingContext { pub const TRANSFORM_FEEDBACK_BINDING : u32 = 36389u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_IMMUTABLE_FORMAT : u32 = 37167u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_ELEMENT_INDEX : u32 = 36203u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_IMMUTABLE_LEVELS : u32 = 33503u64 as u32 ; } impl WebGl2RenderingContext { pub const TIMEOUT_IGNORED : f64 = -1i64 as f64 ; } impl WebGl2RenderingContext { pub const MAX_CLIENT_WAIT_TIMEOUT_WEBGL : u32 = 37447u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_BUFFER_BIT : u32 = 256u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_BUFFER_BIT : u32 = 1024u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_BUFFER_BIT : u32 = 16384u64 as u32 ; } impl WebGl2RenderingContext { pub const POINTS : u32 = 0u64 as u32 ; } impl WebGl2RenderingContext { pub const LINES : u32 = 1u64 as u32 ; } impl WebGl2RenderingContext { pub const LINE_LOOP : u32 = 2u64 as u32 ; } impl WebGl2RenderingContext { pub const LINE_STRIP : u32 = 3u64 as u32 ; } impl WebGl2RenderingContext { pub const TRIANGLES : u32 = 4u64 as u32 ; } impl WebGl2RenderingContext { pub const TRIANGLE_STRIP : u32 = 5u64 as u32 ; } impl WebGl2RenderingContext { pub const TRIANGLE_FAN : u32 = 6u64 as u32 ; } impl WebGl2RenderingContext { pub const ZERO : u32 = 0i64 as u32 ; } impl WebGl2RenderingContext { pub const ONE : u32 = 1u64 as u32 ; } impl WebGl2RenderingContext { pub const SRC_COLOR : u32 = 768u64 as u32 ; } impl WebGl2RenderingContext { pub const ONE_MINUS_SRC_COLOR : u32 = 769u64 as u32 ; } impl WebGl2RenderingContext { pub const SRC_ALPHA : u32 = 770u64 as u32 ; } impl WebGl2RenderingContext { pub const ONE_MINUS_SRC_ALPHA : u32 = 771u64 as u32 ; } impl WebGl2RenderingContext { pub const DST_ALPHA : u32 = 772u64 as u32 ; } impl WebGl2RenderingContext { pub const ONE_MINUS_DST_ALPHA : u32 = 773u64 as u32 ; } impl WebGl2RenderingContext { pub const DST_COLOR : u32 = 774u64 as u32 ; } impl WebGl2RenderingContext { pub const ONE_MINUS_DST_COLOR : u32 = 775u64 as u32 ; } impl WebGl2RenderingContext { pub const SRC_ALPHA_SATURATE : u32 = 776u64 as u32 ; } impl WebGl2RenderingContext { pub const FUNC_ADD : u32 = 32774u64 as u32 ; } impl WebGl2RenderingContext { pub const BLEND_EQUATION : u32 = 32777u64 as u32 ; } impl WebGl2RenderingContext { pub const BLEND_EQUATION_RGB : u32 = 32777u64 as u32 ; } impl WebGl2RenderingContext { pub const BLEND_EQUATION_ALPHA : u32 = 34877u64 as u32 ; } impl WebGl2RenderingContext { pub const FUNC_SUBTRACT : u32 = 32778u64 as u32 ; } impl WebGl2RenderingContext { pub const FUNC_REVERSE_SUBTRACT : u32 = 32779u64 as u32 ; } impl WebGl2RenderingContext { pub const BLEND_DST_RGB : u32 = 32968u64 as u32 ; } impl WebGl2RenderingContext { pub const BLEND_SRC_RGB : u32 = 32969u64 as u32 ; } impl WebGl2RenderingContext { pub const BLEND_DST_ALPHA : u32 = 32970u64 as u32 ; } impl WebGl2RenderingContext { pub const BLEND_SRC_ALPHA : u32 = 32971u64 as u32 ; } impl WebGl2RenderingContext { pub const CONSTANT_COLOR : u32 = 32769u64 as u32 ; } impl WebGl2RenderingContext { pub const ONE_MINUS_CONSTANT_COLOR : u32 = 32770u64 as u32 ; } impl WebGl2RenderingContext { pub const CONSTANT_ALPHA : u32 = 32771u64 as u32 ; } impl WebGl2RenderingContext { pub const ONE_MINUS_CONSTANT_ALPHA : u32 = 32772u64 as u32 ; } impl WebGl2RenderingContext { pub const BLEND_COLOR : u32 = 32773u64 as u32 ; } impl WebGl2RenderingContext { pub const ARRAY_BUFFER : u32 = 34962u64 as u32 ; } impl WebGl2RenderingContext { pub const ELEMENT_ARRAY_BUFFER : u32 = 34963u64 as u32 ; } impl WebGl2RenderingContext { pub const ARRAY_BUFFER_BINDING : u32 = 34964u64 as u32 ; } impl WebGl2RenderingContext { pub const ELEMENT_ARRAY_BUFFER_BINDING : u32 = 34965u64 as u32 ; } impl WebGl2RenderingContext { pub const STREAM_DRAW : u32 = 35040u64 as u32 ; } impl WebGl2RenderingContext { pub const STATIC_DRAW : u32 = 35044u64 as u32 ; } impl WebGl2RenderingContext { pub const DYNAMIC_DRAW : u32 = 35048u64 as u32 ; } impl WebGl2RenderingContext { pub const BUFFER_SIZE : u32 = 34660u64 as u32 ; } impl WebGl2RenderingContext { pub const BUFFER_USAGE : u32 = 34661u64 as u32 ; } impl WebGl2RenderingContext { pub const CURRENT_VERTEX_ATTRIB : u32 = 34342u64 as u32 ; } impl WebGl2RenderingContext { pub const FRONT : u32 = 1028u64 as u32 ; } impl WebGl2RenderingContext { pub const BACK : u32 = 1029u64 as u32 ; } impl WebGl2RenderingContext { pub const FRONT_AND_BACK : u32 = 1032u64 as u32 ; } impl WebGl2RenderingContext { pub const CULL_FACE : u32 = 2884u64 as u32 ; } impl WebGl2RenderingContext { pub const BLEND : u32 = 3042u64 as u32 ; } impl WebGl2RenderingContext { pub const DITHER : u32 = 3024u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_TEST : u32 = 2960u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_TEST : u32 = 2929u64 as u32 ; } impl WebGl2RenderingContext { pub const SCISSOR_TEST : u32 = 3089u64 as u32 ; } impl WebGl2RenderingContext { pub const POLYGON_OFFSET_FILL : u32 = 32823u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLE_ALPHA_TO_COVERAGE : u32 = 32926u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLE_COVERAGE : u32 = 32928u64 as u32 ; } impl WebGl2RenderingContext { pub const NO_ERROR : u32 = 0i64 as u32 ; } impl WebGl2RenderingContext { pub const INVALID_ENUM : u32 = 1280u64 as u32 ; } impl WebGl2RenderingContext { pub const INVALID_VALUE : u32 = 1281u64 as u32 ; } impl WebGl2RenderingContext { pub const INVALID_OPERATION : u32 = 1282u64 as u32 ; } impl WebGl2RenderingContext { pub const OUT_OF_MEMORY : u32 = 1285u64 as u32 ; } impl WebGl2RenderingContext { pub const CW : u32 = 2304u64 as u32 ; } impl WebGl2RenderingContext { pub const CCW : u32 = 2305u64 as u32 ; } impl WebGl2RenderingContext { pub const LINE_WIDTH : u32 = 2849u64 as u32 ; } impl WebGl2RenderingContext { pub const ALIASED_POINT_SIZE_RANGE : u32 = 33901u64 as u32 ; } impl WebGl2RenderingContext { pub const ALIASED_LINE_WIDTH_RANGE : u32 = 33902u64 as u32 ; } impl WebGl2RenderingContext { pub const CULL_FACE_MODE : u32 = 2885u64 as u32 ; } impl WebGl2RenderingContext { pub const FRONT_FACE : u32 = 2886u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_RANGE : u32 = 2928u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_WRITEMASK : u32 = 2930u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_CLEAR_VALUE : u32 = 2931u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_FUNC : u32 = 2932u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_CLEAR_VALUE : u32 = 2961u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_FUNC : u32 = 2962u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_FAIL : u32 = 2964u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_PASS_DEPTH_FAIL : u32 = 2965u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_PASS_DEPTH_PASS : u32 = 2966u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_REF : u32 = 2967u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_VALUE_MASK : u32 = 2963u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_WRITEMASK : u32 = 2968u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_BACK_FUNC : u32 = 34816u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_BACK_FAIL : u32 = 34817u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_BACK_PASS_DEPTH_FAIL : u32 = 34818u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_BACK_PASS_DEPTH_PASS : u32 = 34819u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_BACK_REF : u32 = 36003u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_BACK_VALUE_MASK : u32 = 36004u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_BACK_WRITEMASK : u32 = 36005u64 as u32 ; } impl WebGl2RenderingContext { pub const VIEWPORT : u32 = 2978u64 as u32 ; } impl WebGl2RenderingContext { pub const SCISSOR_BOX : u32 = 3088u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_CLEAR_VALUE : u32 = 3106u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_WRITEMASK : u32 = 3107u64 as u32 ; } impl WebGl2RenderingContext { pub const UNPACK_ALIGNMENT : u32 = 3317u64 as u32 ; } impl WebGl2RenderingContext { pub const PACK_ALIGNMENT : u32 = 3333u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_TEXTURE_SIZE : u32 = 3379u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_VIEWPORT_DIMS : u32 = 3386u64 as u32 ; } impl WebGl2RenderingContext { pub const SUBPIXEL_BITS : u32 = 3408u64 as u32 ; } impl WebGl2RenderingContext { pub const RED_BITS : u32 = 3410u64 as u32 ; } impl WebGl2RenderingContext { pub const GREEN_BITS : u32 = 3411u64 as u32 ; } impl WebGl2RenderingContext { pub const BLUE_BITS : u32 = 3412u64 as u32 ; } impl WebGl2RenderingContext { pub const ALPHA_BITS : u32 = 3413u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_BITS : u32 = 3414u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_BITS : u32 = 3415u64 as u32 ; } impl WebGl2RenderingContext { pub const POLYGON_OFFSET_UNITS : u32 = 10752u64 as u32 ; } impl WebGl2RenderingContext { pub const POLYGON_OFFSET_FACTOR : u32 = 32824u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_BINDING_2D : u32 = 32873u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLE_BUFFERS : u32 = 32936u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLES : u32 = 32937u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLE_COVERAGE_VALUE : u32 = 32938u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLE_COVERAGE_INVERT : u32 = 32939u64 as u32 ; } impl WebGl2RenderingContext { pub const COMPRESSED_TEXTURE_FORMATS : u32 = 34467u64 as u32 ; } impl WebGl2RenderingContext { pub const DONT_CARE : u32 = 4352u64 as u32 ; } impl WebGl2RenderingContext { pub const FASTEST : u32 = 4353u64 as u32 ; } impl WebGl2RenderingContext { pub const NICEST : u32 = 4354u64 as u32 ; } impl WebGl2RenderingContext { pub const GENERATE_MIPMAP_HINT : u32 = 33170u64 as u32 ; } impl WebGl2RenderingContext { pub const BYTE : u32 = 5120u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_BYTE : u32 = 5121u64 as u32 ; } impl WebGl2RenderingContext { pub const SHORT : u32 = 5122u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_SHORT : u32 = 5123u64 as u32 ; } impl WebGl2RenderingContext { pub const INT : u32 = 5124u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_INT : u32 = 5125u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT : u32 = 5126u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_COMPONENT : u32 = 6402u64 as u32 ; } impl WebGl2RenderingContext { pub const ALPHA : u32 = 6406u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB : u32 = 6407u64 as u32 ; } impl WebGl2RenderingContext { pub const RGBA : u32 = 6408u64 as u32 ; } impl WebGl2RenderingContext { pub const LUMINANCE : u32 = 6409u64 as u32 ; } impl WebGl2RenderingContext { pub const LUMINANCE_ALPHA : u32 = 6410u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_SHORT_4_4_4_4 : u32 = 32819u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_SHORT_5_5_5_1 : u32 = 32820u64 as u32 ; } impl WebGl2RenderingContext { pub const UNSIGNED_SHORT_5_6_5 : u32 = 33635u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAGMENT_SHADER : u32 = 35632u64 as u32 ; } impl WebGl2RenderingContext { pub const VERTEX_SHADER : u32 = 35633u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_VERTEX_ATTRIBS : u32 = 34921u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_VERTEX_UNIFORM_VECTORS : u32 = 36347u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_VARYING_VECTORS : u32 = 36348u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS : u32 = 35661u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS : u32 = 35660u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_TEXTURE_IMAGE_UNITS : u32 = 34930u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_FRAGMENT_UNIFORM_VECTORS : u32 = 36349u64 as u32 ; } impl WebGl2RenderingContext { pub const SHADER_TYPE : u32 = 35663u64 as u32 ; } impl WebGl2RenderingContext { pub const DELETE_STATUS : u32 = 35712u64 as u32 ; } impl WebGl2RenderingContext { pub const LINK_STATUS : u32 = 35714u64 as u32 ; } impl WebGl2RenderingContext { pub const VALIDATE_STATUS : u32 = 35715u64 as u32 ; } impl WebGl2RenderingContext { pub const ATTACHED_SHADERS : u32 = 35717u64 as u32 ; } impl WebGl2RenderingContext { pub const ACTIVE_UNIFORMS : u32 = 35718u64 as u32 ; } impl WebGl2RenderingContext { pub const ACTIVE_ATTRIBUTES : u32 = 35721u64 as u32 ; } impl WebGl2RenderingContext { pub const SHADING_LANGUAGE_VERSION : u32 = 35724u64 as u32 ; } impl WebGl2RenderingContext { pub const CURRENT_PROGRAM : u32 = 35725u64 as u32 ; } impl WebGl2RenderingContext { pub const NEVER : u32 = 512u64 as u32 ; } impl WebGl2RenderingContext { pub const LESS : u32 = 513u64 as u32 ; } impl WebGl2RenderingContext { pub const EQUAL : u32 = 514u64 as u32 ; } impl WebGl2RenderingContext { pub const LEQUAL : u32 = 515u64 as u32 ; } impl WebGl2RenderingContext { pub const GREATER : u32 = 516u64 as u32 ; } impl WebGl2RenderingContext { pub const NOTEQUAL : u32 = 517u64 as u32 ; } impl WebGl2RenderingContext { pub const GEQUAL : u32 = 518u64 as u32 ; } impl WebGl2RenderingContext { pub const ALWAYS : u32 = 519u64 as u32 ; } impl WebGl2RenderingContext { pub const KEEP : u32 = 7680u64 as u32 ; } impl WebGl2RenderingContext { pub const REPLACE : u32 = 7681u64 as u32 ; } impl WebGl2RenderingContext { pub const INCR : u32 = 7682u64 as u32 ; } impl WebGl2RenderingContext { pub const DECR : u32 = 7683u64 as u32 ; } impl WebGl2RenderingContext { pub const INVERT : u32 = 5386u64 as u32 ; } impl WebGl2RenderingContext { pub const INCR_WRAP : u32 = 34055u64 as u32 ; } impl WebGl2RenderingContext { pub const DECR_WRAP : u32 = 34056u64 as u32 ; } impl WebGl2RenderingContext { pub const VENDOR : u32 = 7936u64 as u32 ; } impl WebGl2RenderingContext { pub const RENDERER : u32 = 7937u64 as u32 ; } impl WebGl2RenderingContext { pub const VERSION : u32 = 7938u64 as u32 ; } impl WebGl2RenderingContext { pub const NEAREST : u32 = 9728u64 as u32 ; } impl WebGl2RenderingContext { pub const LINEAR : u32 = 9729u64 as u32 ; } impl WebGl2RenderingContext { pub const NEAREST_MIPMAP_NEAREST : u32 = 9984u64 as u32 ; } impl WebGl2RenderingContext { pub const LINEAR_MIPMAP_NEAREST : u32 = 9985u64 as u32 ; } impl WebGl2RenderingContext { pub const NEAREST_MIPMAP_LINEAR : u32 = 9986u64 as u32 ; } impl WebGl2RenderingContext { pub const LINEAR_MIPMAP_LINEAR : u32 = 9987u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_MAG_FILTER : u32 = 10240u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_MIN_FILTER : u32 = 10241u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_WRAP_S : u32 = 10242u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_WRAP_T : u32 = 10243u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_2D : u32 = 3553u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE : u32 = 5890u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_CUBE_MAP : u32 = 34067u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_BINDING_CUBE_MAP : u32 = 34068u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_CUBE_MAP_POSITIVE_X : u32 = 34069u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_CUBE_MAP_NEGATIVE_X : u32 = 34070u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_CUBE_MAP_POSITIVE_Y : u32 = 34071u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_CUBE_MAP_NEGATIVE_Y : u32 = 34072u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_CUBE_MAP_POSITIVE_Z : u32 = 34073u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE_CUBE_MAP_NEGATIVE_Z : u32 = 34074u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_CUBE_MAP_TEXTURE_SIZE : u32 = 34076u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE0 : u32 = 33984u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE1 : u32 = 33985u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE2 : u32 = 33986u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE3 : u32 = 33987u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE4 : u32 = 33988u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE5 : u32 = 33989u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE6 : u32 = 33990u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE7 : u32 = 33991u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE8 : u32 = 33992u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE9 : u32 = 33993u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE10 : u32 = 33994u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE11 : u32 = 33995u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE12 : u32 = 33996u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE13 : u32 = 33997u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE14 : u32 = 33998u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE15 : u32 = 33999u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE16 : u32 = 34000u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE17 : u32 = 34001u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE18 : u32 = 34002u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE19 : u32 = 34003u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE20 : u32 = 34004u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE21 : u32 = 34005u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE22 : u32 = 34006u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE23 : u32 = 34007u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE24 : u32 = 34008u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE25 : u32 = 34009u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE26 : u32 = 34010u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE27 : u32 = 34011u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE28 : u32 = 34012u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE29 : u32 = 34013u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE30 : u32 = 34014u64 as u32 ; } impl WebGl2RenderingContext { pub const TEXTURE31 : u32 = 34015u64 as u32 ; } impl WebGl2RenderingContext { pub const ACTIVE_TEXTURE : u32 = 34016u64 as u32 ; } impl WebGl2RenderingContext { pub const REPEAT : u32 = 10497u64 as u32 ; } impl WebGl2RenderingContext { pub const CLAMP_TO_EDGE : u32 = 33071u64 as u32 ; } impl WebGl2RenderingContext { pub const MIRRORED_REPEAT : u32 = 33648u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT_VEC2 : u32 = 35664u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT_VEC3 : u32 = 35665u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT_VEC4 : u32 = 35666u64 as u32 ; } impl WebGl2RenderingContext { pub const INT_VEC2 : u32 = 35667u64 as u32 ; } impl WebGl2RenderingContext { pub const INT_VEC3 : u32 = 35668u64 as u32 ; } impl WebGl2RenderingContext { pub const INT_VEC4 : u32 = 35669u64 as u32 ; } impl WebGl2RenderingContext { pub const BOOL : u32 = 35670u64 as u32 ; } impl WebGl2RenderingContext { pub const BOOL_VEC2 : u32 = 35671u64 as u32 ; } impl WebGl2RenderingContext { pub const BOOL_VEC3 : u32 = 35672u64 as u32 ; } impl WebGl2RenderingContext { pub const BOOL_VEC4 : u32 = 35673u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT_MAT2 : u32 = 35674u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT_MAT3 : u32 = 35675u64 as u32 ; } impl WebGl2RenderingContext { pub const FLOAT_MAT4 : u32 = 35676u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLER_2D : u32 = 35678u64 as u32 ; } impl WebGl2RenderingContext { pub const SAMPLER_CUBE : u32 = 35680u64 as u32 ; } impl WebGl2RenderingContext { pub const VERTEX_ATTRIB_ARRAY_ENABLED : u32 = 34338u64 as u32 ; } impl WebGl2RenderingContext { pub const VERTEX_ATTRIB_ARRAY_SIZE : u32 = 34339u64 as u32 ; } impl WebGl2RenderingContext { pub const VERTEX_ATTRIB_ARRAY_STRIDE : u32 = 34340u64 as u32 ; } impl WebGl2RenderingContext { pub const VERTEX_ATTRIB_ARRAY_TYPE : u32 = 34341u64 as u32 ; } impl WebGl2RenderingContext { pub const VERTEX_ATTRIB_ARRAY_NORMALIZED : u32 = 34922u64 as u32 ; } impl WebGl2RenderingContext { pub const VERTEX_ATTRIB_ARRAY_POINTER : u32 = 34373u64 as u32 ; } impl WebGl2RenderingContext { pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING : u32 = 34975u64 as u32 ; } impl WebGl2RenderingContext { pub const IMPLEMENTATION_COLOR_READ_TYPE : u32 = 35738u64 as u32 ; } impl WebGl2RenderingContext { pub const IMPLEMENTATION_COLOR_READ_FORMAT : u32 = 35739u64 as u32 ; } impl WebGl2RenderingContext { pub const COMPILE_STATUS : u32 = 35713u64 as u32 ; } impl WebGl2RenderingContext { pub const LOW_FLOAT : u32 = 36336u64 as u32 ; } impl WebGl2RenderingContext { pub const MEDIUM_FLOAT : u32 = 36337u64 as u32 ; } impl WebGl2RenderingContext { pub const HIGH_FLOAT : u32 = 36338u64 as u32 ; } impl WebGl2RenderingContext { pub const LOW_INT : u32 = 36339u64 as u32 ; } impl WebGl2RenderingContext { pub const MEDIUM_INT : u32 = 36340u64 as u32 ; } impl WebGl2RenderingContext { pub const HIGH_INT : u32 = 36341u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER : u32 = 36160u64 as u32 ; } impl WebGl2RenderingContext { pub const RENDERBUFFER : u32 = 36161u64 as u32 ; } impl WebGl2RenderingContext { pub const RGBA4 : u32 = 32854u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB5_A1 : u32 = 32855u64 as u32 ; } impl WebGl2RenderingContext { pub const RGB565 : u32 = 36194u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_COMPONENT16 : u32 = 33189u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_INDEX8 : u32 = 36168u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_STENCIL : u32 = 34041u64 as u32 ; } impl WebGl2RenderingContext { pub const RENDERBUFFER_WIDTH : u32 = 36162u64 as u32 ; } impl WebGl2RenderingContext { pub const RENDERBUFFER_HEIGHT : u32 = 36163u64 as u32 ; } impl WebGl2RenderingContext { pub const RENDERBUFFER_INTERNAL_FORMAT : u32 = 36164u64 as u32 ; } impl WebGl2RenderingContext { pub const RENDERBUFFER_RED_SIZE : u32 = 36176u64 as u32 ; } impl WebGl2RenderingContext { pub const RENDERBUFFER_GREEN_SIZE : u32 = 36177u64 as u32 ; } impl WebGl2RenderingContext { pub const RENDERBUFFER_BLUE_SIZE : u32 = 36178u64 as u32 ; } impl WebGl2RenderingContext { pub const RENDERBUFFER_ALPHA_SIZE : u32 = 36179u64 as u32 ; } impl WebGl2RenderingContext { pub const RENDERBUFFER_DEPTH_SIZE : u32 = 36180u64 as u32 ; } impl WebGl2RenderingContext { pub const RENDERBUFFER_STENCIL_SIZE : u32 = 36181u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE : u32 = 36048u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME : u32 = 36049u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL : u32 = 36050u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE : u32 = 36051u64 as u32 ; } impl WebGl2RenderingContext { pub const COLOR_ATTACHMENT0 : u32 = 36064u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_ATTACHMENT : u32 = 36096u64 as u32 ; } impl WebGl2RenderingContext { pub const STENCIL_ATTACHMENT : u32 = 36128u64 as u32 ; } impl WebGl2RenderingContext { pub const DEPTH_STENCIL_ATTACHMENT : u32 = 33306u64 as u32 ; } impl WebGl2RenderingContext { pub const NONE : u32 = 0i64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_COMPLETE : u32 = 36053u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT : u32 = 36054u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT : u32 = 36055u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS : u32 = 36057u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_UNSUPPORTED : u32 = 36061u64 as u32 ; } impl WebGl2RenderingContext { pub const FRAMEBUFFER_BINDING : u32 = 36006u64 as u32 ; } impl WebGl2RenderingContext { pub const RENDERBUFFER_BINDING : u32 = 36007u64 as u32 ; } impl WebGl2RenderingContext { pub const MAX_RENDERBUFFER_SIZE : u32 = 34024u64 as u32 ; } impl WebGl2RenderingContext { pub const INVALID_FRAMEBUFFER_OPERATION : u32 = 1286u64 as u32 ; } impl WebGl2RenderingContext { pub const UNPACK_FLIP_Y_WEBGL : u32 = 37440u64 as u32 ; } impl WebGl2RenderingContext { pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL : u32 = 37441u64 as u32 ; } impl WebGl2RenderingContext { pub const CONTEXT_LOST_WEBGL : u32 = 37442u64 as u32 ; } impl WebGl2RenderingContext { pub const UNPACK_COLORSPACE_CONVERSION_WEBGL : u32 = 37443u64 as u32 ; } impl WebGl2RenderingContext { pub const BROWSER_DEFAULT_WEBGL : u32 = 37444u64 as u32 ; } impl WebGlRenderingContext { pub const DEPTH_BUFFER_BIT : u32 = 256u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_BUFFER_BIT : u32 = 1024u64 as u32 ; } impl WebGlRenderingContext { pub const COLOR_BUFFER_BIT : u32 = 16384u64 as u32 ; } impl WebGlRenderingContext { pub const POINTS : u32 = 0u64 as u32 ; } impl WebGlRenderingContext { pub const LINES : u32 = 1u64 as u32 ; } impl WebGlRenderingContext { pub const LINE_LOOP : u32 = 2u64 as u32 ; } impl WebGlRenderingContext { pub const LINE_STRIP : u32 = 3u64 as u32 ; } impl WebGlRenderingContext { pub const TRIANGLES : u32 = 4u64 as u32 ; } impl WebGlRenderingContext { pub const TRIANGLE_STRIP : u32 = 5u64 as u32 ; } impl WebGlRenderingContext { pub const TRIANGLE_FAN : u32 = 6u64 as u32 ; } impl WebGlRenderingContext { pub const ZERO : u32 = 0i64 as u32 ; } impl WebGlRenderingContext { pub const ONE : u32 = 1u64 as u32 ; } impl WebGlRenderingContext { pub const SRC_COLOR : u32 = 768u64 as u32 ; } impl WebGlRenderingContext { pub const ONE_MINUS_SRC_COLOR : u32 = 769u64 as u32 ; } impl WebGlRenderingContext { pub const SRC_ALPHA : u32 = 770u64 as u32 ; } impl WebGlRenderingContext { pub const ONE_MINUS_SRC_ALPHA : u32 = 771u64 as u32 ; } impl WebGlRenderingContext { pub const DST_ALPHA : u32 = 772u64 as u32 ; } impl WebGlRenderingContext { pub const ONE_MINUS_DST_ALPHA : u32 = 773u64 as u32 ; } impl WebGlRenderingContext { pub const DST_COLOR : u32 = 774u64 as u32 ; } impl WebGlRenderingContext { pub const ONE_MINUS_DST_COLOR : u32 = 775u64 as u32 ; } impl WebGlRenderingContext { pub const SRC_ALPHA_SATURATE : u32 = 776u64 as u32 ; } impl WebGlRenderingContext { pub const FUNC_ADD : u32 = 32774u64 as u32 ; } impl WebGlRenderingContext { pub const BLEND_EQUATION : u32 = 32777u64 as u32 ; } impl WebGlRenderingContext { pub const BLEND_EQUATION_RGB : u32 = 32777u64 as u32 ; } impl WebGlRenderingContext { pub const BLEND_EQUATION_ALPHA : u32 = 34877u64 as u32 ; } impl WebGlRenderingContext { pub const FUNC_SUBTRACT : u32 = 32778u64 as u32 ; } impl WebGlRenderingContext { pub const FUNC_REVERSE_SUBTRACT : u32 = 32779u64 as u32 ; } impl WebGlRenderingContext { pub const BLEND_DST_RGB : u32 = 32968u64 as u32 ; } impl WebGlRenderingContext { pub const BLEND_SRC_RGB : u32 = 32969u64 as u32 ; } impl WebGlRenderingContext { pub const BLEND_DST_ALPHA : u32 = 32970u64 as u32 ; } impl WebGlRenderingContext { pub const BLEND_SRC_ALPHA : u32 = 32971u64 as u32 ; } impl WebGlRenderingContext { pub const CONSTANT_COLOR : u32 = 32769u64 as u32 ; } impl WebGlRenderingContext { pub const ONE_MINUS_CONSTANT_COLOR : u32 = 32770u64 as u32 ; } impl WebGlRenderingContext { pub const CONSTANT_ALPHA : u32 = 32771u64 as u32 ; } impl WebGlRenderingContext { pub const ONE_MINUS_CONSTANT_ALPHA : u32 = 32772u64 as u32 ; } impl WebGlRenderingContext { pub const BLEND_COLOR : u32 = 32773u64 as u32 ; } impl WebGlRenderingContext { pub const ARRAY_BUFFER : u32 = 34962u64 as u32 ; } impl WebGlRenderingContext { pub const ELEMENT_ARRAY_BUFFER : u32 = 34963u64 as u32 ; } impl WebGlRenderingContext { pub const ARRAY_BUFFER_BINDING : u32 = 34964u64 as u32 ; } impl WebGlRenderingContext { pub const ELEMENT_ARRAY_BUFFER_BINDING : u32 = 34965u64 as u32 ; } impl WebGlRenderingContext { pub const STREAM_DRAW : u32 = 35040u64 as u32 ; } impl WebGlRenderingContext { pub const STATIC_DRAW : u32 = 35044u64 as u32 ; } impl WebGlRenderingContext { pub const DYNAMIC_DRAW : u32 = 35048u64 as u32 ; } impl WebGlRenderingContext { pub const BUFFER_SIZE : u32 = 34660u64 as u32 ; } impl WebGlRenderingContext { pub const BUFFER_USAGE : u32 = 34661u64 as u32 ; } impl WebGlRenderingContext { pub const CURRENT_VERTEX_ATTRIB : u32 = 34342u64 as u32 ; } impl WebGlRenderingContext { pub const FRONT : u32 = 1028u64 as u32 ; } impl WebGlRenderingContext { pub const BACK : u32 = 1029u64 as u32 ; } impl WebGlRenderingContext { pub const FRONT_AND_BACK : u32 = 1032u64 as u32 ; } impl WebGlRenderingContext { pub const CULL_FACE : u32 = 2884u64 as u32 ; } impl WebGlRenderingContext { pub const BLEND : u32 = 3042u64 as u32 ; } impl WebGlRenderingContext { pub const DITHER : u32 = 3024u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_TEST : u32 = 2960u64 as u32 ; } impl WebGlRenderingContext { pub const DEPTH_TEST : u32 = 2929u64 as u32 ; } impl WebGlRenderingContext { pub const SCISSOR_TEST : u32 = 3089u64 as u32 ; } impl WebGlRenderingContext { pub const POLYGON_OFFSET_FILL : u32 = 32823u64 as u32 ; } impl WebGlRenderingContext { pub const SAMPLE_ALPHA_TO_COVERAGE : u32 = 32926u64 as u32 ; } impl WebGlRenderingContext { pub const SAMPLE_COVERAGE : u32 = 32928u64 as u32 ; } impl WebGlRenderingContext { pub const NO_ERROR : u32 = 0i64 as u32 ; } impl WebGlRenderingContext { pub const INVALID_ENUM : u32 = 1280u64 as u32 ; } impl WebGlRenderingContext { pub const INVALID_VALUE : u32 = 1281u64 as u32 ; } impl WebGlRenderingContext { pub const INVALID_OPERATION : u32 = 1282u64 as u32 ; } impl WebGlRenderingContext { pub const OUT_OF_MEMORY : u32 = 1285u64 as u32 ; } impl WebGlRenderingContext { pub const CW : u32 = 2304u64 as u32 ; } impl WebGlRenderingContext { pub const CCW : u32 = 2305u64 as u32 ; } impl WebGlRenderingContext { pub const LINE_WIDTH : u32 = 2849u64 as u32 ; } impl WebGlRenderingContext { pub const ALIASED_POINT_SIZE_RANGE : u32 = 33901u64 as u32 ; } impl WebGlRenderingContext { pub const ALIASED_LINE_WIDTH_RANGE : u32 = 33902u64 as u32 ; } impl WebGlRenderingContext { pub const CULL_FACE_MODE : u32 = 2885u64 as u32 ; } impl WebGlRenderingContext { pub const FRONT_FACE : u32 = 2886u64 as u32 ; } impl WebGlRenderingContext { pub const DEPTH_RANGE : u32 = 2928u64 as u32 ; } impl WebGlRenderingContext { pub const DEPTH_WRITEMASK : u32 = 2930u64 as u32 ; } impl WebGlRenderingContext { pub const DEPTH_CLEAR_VALUE : u32 = 2931u64 as u32 ; } impl WebGlRenderingContext { pub const DEPTH_FUNC : u32 = 2932u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_CLEAR_VALUE : u32 = 2961u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_FUNC : u32 = 2962u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_FAIL : u32 = 2964u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_PASS_DEPTH_FAIL : u32 = 2965u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_PASS_DEPTH_PASS : u32 = 2966u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_REF : u32 = 2967u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_VALUE_MASK : u32 = 2963u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_WRITEMASK : u32 = 2968u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_BACK_FUNC : u32 = 34816u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_BACK_FAIL : u32 = 34817u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_BACK_PASS_DEPTH_FAIL : u32 = 34818u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_BACK_PASS_DEPTH_PASS : u32 = 34819u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_BACK_REF : u32 = 36003u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_BACK_VALUE_MASK : u32 = 36004u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_BACK_WRITEMASK : u32 = 36005u64 as u32 ; } impl WebGlRenderingContext { pub const VIEWPORT : u32 = 2978u64 as u32 ; } impl WebGlRenderingContext { pub const SCISSOR_BOX : u32 = 3088u64 as u32 ; } impl WebGlRenderingContext { pub const COLOR_CLEAR_VALUE : u32 = 3106u64 as u32 ; } impl WebGlRenderingContext { pub const COLOR_WRITEMASK : u32 = 3107u64 as u32 ; } impl WebGlRenderingContext { pub const UNPACK_ALIGNMENT : u32 = 3317u64 as u32 ; } impl WebGlRenderingContext { pub const PACK_ALIGNMENT : u32 = 3333u64 as u32 ; } impl WebGlRenderingContext { pub const MAX_TEXTURE_SIZE : u32 = 3379u64 as u32 ; } impl WebGlRenderingContext { pub const MAX_VIEWPORT_DIMS : u32 = 3386u64 as u32 ; } impl WebGlRenderingContext { pub const SUBPIXEL_BITS : u32 = 3408u64 as u32 ; } impl WebGlRenderingContext { pub const RED_BITS : u32 = 3410u64 as u32 ; } impl WebGlRenderingContext { pub const GREEN_BITS : u32 = 3411u64 as u32 ; } impl WebGlRenderingContext { pub const BLUE_BITS : u32 = 3412u64 as u32 ; } impl WebGlRenderingContext { pub const ALPHA_BITS : u32 = 3413u64 as u32 ; } impl WebGlRenderingContext { pub const DEPTH_BITS : u32 = 3414u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_BITS : u32 = 3415u64 as u32 ; } impl WebGlRenderingContext { pub const POLYGON_OFFSET_UNITS : u32 = 10752u64 as u32 ; } impl WebGlRenderingContext { pub const POLYGON_OFFSET_FACTOR : u32 = 32824u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_BINDING_2D : u32 = 32873u64 as u32 ; } impl WebGlRenderingContext { pub const SAMPLE_BUFFERS : u32 = 32936u64 as u32 ; } impl WebGlRenderingContext { pub const SAMPLES : u32 = 32937u64 as u32 ; } impl WebGlRenderingContext { pub const SAMPLE_COVERAGE_VALUE : u32 = 32938u64 as u32 ; } impl WebGlRenderingContext { pub const SAMPLE_COVERAGE_INVERT : u32 = 32939u64 as u32 ; } impl WebGlRenderingContext { pub const COMPRESSED_TEXTURE_FORMATS : u32 = 34467u64 as u32 ; } impl WebGlRenderingContext { pub const DONT_CARE : u32 = 4352u64 as u32 ; } impl WebGlRenderingContext { pub const FASTEST : u32 = 4353u64 as u32 ; } impl WebGlRenderingContext { pub const NICEST : u32 = 4354u64 as u32 ; } impl WebGlRenderingContext { pub const GENERATE_MIPMAP_HINT : u32 = 33170u64 as u32 ; } impl WebGlRenderingContext { pub const BYTE : u32 = 5120u64 as u32 ; } impl WebGlRenderingContext { pub const UNSIGNED_BYTE : u32 = 5121u64 as u32 ; } impl WebGlRenderingContext { pub const SHORT : u32 = 5122u64 as u32 ; } impl WebGlRenderingContext { pub const UNSIGNED_SHORT : u32 = 5123u64 as u32 ; } impl WebGlRenderingContext { pub const INT : u32 = 5124u64 as u32 ; } impl WebGlRenderingContext { pub const UNSIGNED_INT : u32 = 5125u64 as u32 ; } impl WebGlRenderingContext { pub const FLOAT : u32 = 5126u64 as u32 ; } impl WebGlRenderingContext { pub const DEPTH_COMPONENT : u32 = 6402u64 as u32 ; } impl WebGlRenderingContext { pub const ALPHA : u32 = 6406u64 as u32 ; } impl WebGlRenderingContext { pub const RGB : u32 = 6407u64 as u32 ; } impl WebGlRenderingContext { pub const RGBA : u32 = 6408u64 as u32 ; } impl WebGlRenderingContext { pub const LUMINANCE : u32 = 6409u64 as u32 ; } impl WebGlRenderingContext { pub const LUMINANCE_ALPHA : u32 = 6410u64 as u32 ; } impl WebGlRenderingContext { pub const UNSIGNED_SHORT_4_4_4_4 : u32 = 32819u64 as u32 ; } impl WebGlRenderingContext { pub const UNSIGNED_SHORT_5_5_5_1 : u32 = 32820u64 as u32 ; } impl WebGlRenderingContext { pub const UNSIGNED_SHORT_5_6_5 : u32 = 33635u64 as u32 ; } impl WebGlRenderingContext { pub const FRAGMENT_SHADER : u32 = 35632u64 as u32 ; } impl WebGlRenderingContext { pub const VERTEX_SHADER : u32 = 35633u64 as u32 ; } impl WebGlRenderingContext { pub const MAX_VERTEX_ATTRIBS : u32 = 34921u64 as u32 ; } impl WebGlRenderingContext { pub const MAX_VERTEX_UNIFORM_VECTORS : u32 = 36347u64 as u32 ; } impl WebGlRenderingContext { pub const MAX_VARYING_VECTORS : u32 = 36348u64 as u32 ; } impl WebGlRenderingContext { pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS : u32 = 35661u64 as u32 ; } impl WebGlRenderingContext { pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS : u32 = 35660u64 as u32 ; } impl WebGlRenderingContext { pub const MAX_TEXTURE_IMAGE_UNITS : u32 = 34930u64 as u32 ; } impl WebGlRenderingContext { pub const MAX_FRAGMENT_UNIFORM_VECTORS : u32 = 36349u64 as u32 ; } impl WebGlRenderingContext { pub const SHADER_TYPE : u32 = 35663u64 as u32 ; } impl WebGlRenderingContext { pub const DELETE_STATUS : u32 = 35712u64 as u32 ; } impl WebGlRenderingContext { pub const LINK_STATUS : u32 = 35714u64 as u32 ; } impl WebGlRenderingContext { pub const VALIDATE_STATUS : u32 = 35715u64 as u32 ; } impl WebGlRenderingContext { pub const ATTACHED_SHADERS : u32 = 35717u64 as u32 ; } impl WebGlRenderingContext { pub const ACTIVE_UNIFORMS : u32 = 35718u64 as u32 ; } impl WebGlRenderingContext { pub const ACTIVE_ATTRIBUTES : u32 = 35721u64 as u32 ; } impl WebGlRenderingContext { pub const SHADING_LANGUAGE_VERSION : u32 = 35724u64 as u32 ; } impl WebGlRenderingContext { pub const CURRENT_PROGRAM : u32 = 35725u64 as u32 ; } impl WebGlRenderingContext { pub const NEVER : u32 = 512u64 as u32 ; } impl WebGlRenderingContext { pub const LESS : u32 = 513u64 as u32 ; } impl WebGlRenderingContext { pub const EQUAL : u32 = 514u64 as u32 ; } impl WebGlRenderingContext { pub const LEQUAL : u32 = 515u64 as u32 ; } impl WebGlRenderingContext { pub const GREATER : u32 = 516u64 as u32 ; } impl WebGlRenderingContext { pub const NOTEQUAL : u32 = 517u64 as u32 ; } impl WebGlRenderingContext { pub const GEQUAL : u32 = 518u64 as u32 ; } impl WebGlRenderingContext { pub const ALWAYS : u32 = 519u64 as u32 ; } impl WebGlRenderingContext { pub const KEEP : u32 = 7680u64 as u32 ; } impl WebGlRenderingContext { pub const REPLACE : u32 = 7681u64 as u32 ; } impl WebGlRenderingContext { pub const INCR : u32 = 7682u64 as u32 ; } impl WebGlRenderingContext { pub const DECR : u32 = 7683u64 as u32 ; } impl WebGlRenderingContext { pub const INVERT : u32 = 5386u64 as u32 ; } impl WebGlRenderingContext { pub const INCR_WRAP : u32 = 34055u64 as u32 ; } impl WebGlRenderingContext { pub const DECR_WRAP : u32 = 34056u64 as u32 ; } impl WebGlRenderingContext { pub const VENDOR : u32 = 7936u64 as u32 ; } impl WebGlRenderingContext { pub const RENDERER : u32 = 7937u64 as u32 ; } impl WebGlRenderingContext { pub const VERSION : u32 = 7938u64 as u32 ; } impl WebGlRenderingContext { pub const NEAREST : u32 = 9728u64 as u32 ; } impl WebGlRenderingContext { pub const LINEAR : u32 = 9729u64 as u32 ; } impl WebGlRenderingContext { pub const NEAREST_MIPMAP_NEAREST : u32 = 9984u64 as u32 ; } impl WebGlRenderingContext { pub const LINEAR_MIPMAP_NEAREST : u32 = 9985u64 as u32 ; } impl WebGlRenderingContext { pub const NEAREST_MIPMAP_LINEAR : u32 = 9986u64 as u32 ; } impl WebGlRenderingContext { pub const LINEAR_MIPMAP_LINEAR : u32 = 9987u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_MAG_FILTER : u32 = 10240u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_MIN_FILTER : u32 = 10241u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_WRAP_S : u32 = 10242u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_WRAP_T : u32 = 10243u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_2D : u32 = 3553u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE : u32 = 5890u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_CUBE_MAP : u32 = 34067u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_BINDING_CUBE_MAP : u32 = 34068u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_CUBE_MAP_POSITIVE_X : u32 = 34069u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_CUBE_MAP_NEGATIVE_X : u32 = 34070u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_CUBE_MAP_POSITIVE_Y : u32 = 34071u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_CUBE_MAP_NEGATIVE_Y : u32 = 34072u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_CUBE_MAP_POSITIVE_Z : u32 = 34073u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE_CUBE_MAP_NEGATIVE_Z : u32 = 34074u64 as u32 ; } impl WebGlRenderingContext { pub const MAX_CUBE_MAP_TEXTURE_SIZE : u32 = 34076u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE0 : u32 = 33984u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE1 : u32 = 33985u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE2 : u32 = 33986u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE3 : u32 = 33987u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE4 : u32 = 33988u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE5 : u32 = 33989u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE6 : u32 = 33990u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE7 : u32 = 33991u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE8 : u32 = 33992u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE9 : u32 = 33993u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE10 : u32 = 33994u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE11 : u32 = 33995u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE12 : u32 = 33996u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE13 : u32 = 33997u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE14 : u32 = 33998u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE15 : u32 = 33999u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE16 : u32 = 34000u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE17 : u32 = 34001u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE18 : u32 = 34002u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE19 : u32 = 34003u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE20 : u32 = 34004u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE21 : u32 = 34005u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE22 : u32 = 34006u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE23 : u32 = 34007u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE24 : u32 = 34008u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE25 : u32 = 34009u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE26 : u32 = 34010u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE27 : u32 = 34011u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE28 : u32 = 34012u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE29 : u32 = 34013u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE30 : u32 = 34014u64 as u32 ; } impl WebGlRenderingContext { pub const TEXTURE31 : u32 = 34015u64 as u32 ; } impl WebGlRenderingContext { pub const ACTIVE_TEXTURE : u32 = 34016u64 as u32 ; } impl WebGlRenderingContext { pub const REPEAT : u32 = 10497u64 as u32 ; } impl WebGlRenderingContext { pub const CLAMP_TO_EDGE : u32 = 33071u64 as u32 ; } impl WebGlRenderingContext { pub const MIRRORED_REPEAT : u32 = 33648u64 as u32 ; } impl WebGlRenderingContext { pub const FLOAT_VEC2 : u32 = 35664u64 as u32 ; } impl WebGlRenderingContext { pub const FLOAT_VEC3 : u32 = 35665u64 as u32 ; } impl WebGlRenderingContext { pub const FLOAT_VEC4 : u32 = 35666u64 as u32 ; } impl WebGlRenderingContext { pub const INT_VEC2 : u32 = 35667u64 as u32 ; } impl WebGlRenderingContext { pub const INT_VEC3 : u32 = 35668u64 as u32 ; } impl WebGlRenderingContext { pub const INT_VEC4 : u32 = 35669u64 as u32 ; } impl WebGlRenderingContext { pub const BOOL : u32 = 35670u64 as u32 ; } impl WebGlRenderingContext { pub const BOOL_VEC2 : u32 = 35671u64 as u32 ; } impl WebGlRenderingContext { pub const BOOL_VEC3 : u32 = 35672u64 as u32 ; } impl WebGlRenderingContext { pub const BOOL_VEC4 : u32 = 35673u64 as u32 ; } impl WebGlRenderingContext { pub const FLOAT_MAT2 : u32 = 35674u64 as u32 ; } impl WebGlRenderingContext { pub const FLOAT_MAT3 : u32 = 35675u64 as u32 ; } impl WebGlRenderingContext { pub const FLOAT_MAT4 : u32 = 35676u64 as u32 ; } impl WebGlRenderingContext { pub const SAMPLER_2D : u32 = 35678u64 as u32 ; } impl WebGlRenderingContext { pub const SAMPLER_CUBE : u32 = 35680u64 as u32 ; } impl WebGlRenderingContext { pub const VERTEX_ATTRIB_ARRAY_ENABLED : u32 = 34338u64 as u32 ; } impl WebGlRenderingContext { pub const VERTEX_ATTRIB_ARRAY_SIZE : u32 = 34339u64 as u32 ; } impl WebGlRenderingContext { pub const VERTEX_ATTRIB_ARRAY_STRIDE : u32 = 34340u64 as u32 ; } impl WebGlRenderingContext { pub const VERTEX_ATTRIB_ARRAY_TYPE : u32 = 34341u64 as u32 ; } impl WebGlRenderingContext { pub const VERTEX_ATTRIB_ARRAY_NORMALIZED : u32 = 34922u64 as u32 ; } impl WebGlRenderingContext { pub const VERTEX_ATTRIB_ARRAY_POINTER : u32 = 34373u64 as u32 ; } impl WebGlRenderingContext { pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING : u32 = 34975u64 as u32 ; } impl WebGlRenderingContext { pub const IMPLEMENTATION_COLOR_READ_TYPE : u32 = 35738u64 as u32 ; } impl WebGlRenderingContext { pub const IMPLEMENTATION_COLOR_READ_FORMAT : u32 = 35739u64 as u32 ; } impl WebGlRenderingContext { pub const COMPILE_STATUS : u32 = 35713u64 as u32 ; } impl WebGlRenderingContext { pub const LOW_FLOAT : u32 = 36336u64 as u32 ; } impl WebGlRenderingContext { pub const MEDIUM_FLOAT : u32 = 36337u64 as u32 ; } impl WebGlRenderingContext { pub const HIGH_FLOAT : u32 = 36338u64 as u32 ; } impl WebGlRenderingContext { pub const LOW_INT : u32 = 36339u64 as u32 ; } impl WebGlRenderingContext { pub const MEDIUM_INT : u32 = 36340u64 as u32 ; } impl WebGlRenderingContext { pub const HIGH_INT : u32 = 36341u64 as u32 ; } impl WebGlRenderingContext { pub const FRAMEBUFFER : u32 = 36160u64 as u32 ; } impl WebGlRenderingContext { pub const RENDERBUFFER : u32 = 36161u64 as u32 ; } impl WebGlRenderingContext { pub const RGBA4 : u32 = 32854u64 as u32 ; } impl WebGlRenderingContext { pub const RGB5_A1 : u32 = 32855u64 as u32 ; } impl WebGlRenderingContext { pub const RGB565 : u32 = 36194u64 as u32 ; } impl WebGlRenderingContext { pub const DEPTH_COMPONENT16 : u32 = 33189u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_INDEX8 : u32 = 36168u64 as u32 ; } impl WebGlRenderingContext { pub const DEPTH_STENCIL : u32 = 34041u64 as u32 ; } impl WebGlRenderingContext { pub const RENDERBUFFER_WIDTH : u32 = 36162u64 as u32 ; } impl WebGlRenderingContext { pub const RENDERBUFFER_HEIGHT : u32 = 36163u64 as u32 ; } impl WebGlRenderingContext { pub const RENDERBUFFER_INTERNAL_FORMAT : u32 = 36164u64 as u32 ; } impl WebGlRenderingContext { pub const RENDERBUFFER_RED_SIZE : u32 = 36176u64 as u32 ; } impl WebGlRenderingContext { pub const RENDERBUFFER_GREEN_SIZE : u32 = 36177u64 as u32 ; } impl WebGlRenderingContext { pub const RENDERBUFFER_BLUE_SIZE : u32 = 36178u64 as u32 ; } impl WebGlRenderingContext { pub const RENDERBUFFER_ALPHA_SIZE : u32 = 36179u64 as u32 ; } impl WebGlRenderingContext { pub const RENDERBUFFER_DEPTH_SIZE : u32 = 36180u64 as u32 ; } impl WebGlRenderingContext { pub const RENDERBUFFER_STENCIL_SIZE : u32 = 36181u64 as u32 ; } impl WebGlRenderingContext { pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE : u32 = 36048u64 as u32 ; } impl WebGlRenderingContext { pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME : u32 = 36049u64 as u32 ; } impl WebGlRenderingContext { pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL : u32 = 36050u64 as u32 ; } impl WebGlRenderingContext { pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE : u32 = 36051u64 as u32 ; } impl WebGlRenderingContext { pub const COLOR_ATTACHMENT0 : u32 = 36064u64 as u32 ; } impl WebGlRenderingContext { pub const DEPTH_ATTACHMENT : u32 = 36096u64 as u32 ; } impl WebGlRenderingContext { pub const STENCIL_ATTACHMENT : u32 = 36128u64 as u32 ; } impl WebGlRenderingContext { pub const DEPTH_STENCIL_ATTACHMENT : u32 = 33306u64 as u32 ; } impl WebGlRenderingContext { pub const NONE : u32 = 0i64 as u32 ; } impl WebGlRenderingContext { pub const FRAMEBUFFER_COMPLETE : u32 = 36053u64 as u32 ; } impl WebGlRenderingContext { pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT : u32 = 36054u64 as u32 ; } impl WebGlRenderingContext { pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT : u32 = 36055u64 as u32 ; } impl WebGlRenderingContext { pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS : u32 = 36057u64 as u32 ; } impl WebGlRenderingContext { pub const FRAMEBUFFER_UNSUPPORTED : u32 = 36061u64 as u32 ; } impl WebGlRenderingContext { pub const FRAMEBUFFER_BINDING : u32 = 36006u64 as u32 ; } impl WebGlRenderingContext { pub const RENDERBUFFER_BINDING : u32 = 36007u64 as u32 ; } impl WebGlRenderingContext { pub const MAX_RENDERBUFFER_SIZE : u32 = 34024u64 as u32 ; } impl WebGlRenderingContext { pub const INVALID_FRAMEBUFFER_OPERATION : u32 = 1286u64 as u32 ; } impl WebGlRenderingContext { pub const UNPACK_FLIP_Y_WEBGL : u32 = 37440u64 as u32 ; } impl WebGlRenderingContext { pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL : u32 = 37441u64 as u32 ; } impl WebGlRenderingContext { pub const CONTEXT_LOST_WEBGL : u32 = 37442u64 as u32 ; } impl WebGlRenderingContext { pub const UNPACK_COLORSPACE_CONVERSION_WEBGL : u32 = 37443u64 as u32 ; } impl WebGlRenderingContext { pub const BROWSER_DEFAULT_WEBGL : u32 = 37444u64 as u32 ; } impl WebGpuBindingType { pub const UNIFORM_BUFFER : u32 = 0i64 as u32 ; } impl WebGpuBindingType { pub const SAMPLER : u32 = 1u64 as u32 ; } impl WebGpuBindingType { pub const SAMPLED_TEXTURE : u32 = 2u64 as u32 ; } impl WebGpuBindingType { pub const STORAGE_BUFFER : u32 = 3u64 as u32 ; } impl WebGpuBlendFactor { pub const ZERO : u32 = 0i64 as u32 ; } impl WebGpuBlendFactor { pub const ONE : u32 = 1u64 as u32 ; } impl WebGpuBlendFactor { pub const SRC_COLOR : u32 = 2u64 as u32 ; } impl WebGpuBlendFactor { pub const ONE_MINUS_SRC_COLOR : u32 = 3u64 as u32 ; } impl WebGpuBlendFactor { pub const SRC_ALPHA : u32 = 4u64 as u32 ; } impl WebGpuBlendFactor { pub const ONE_MINUS_SRC_ALPHA : u32 = 5u64 as u32 ; } impl WebGpuBlendFactor { pub const DST_COLOR : u32 = 6u64 as u32 ; } impl WebGpuBlendFactor { pub const ONE_MINUS_DST_COLOR : u32 = 7u64 as u32 ; } impl WebGpuBlendFactor { pub const DST_ALPHA : u32 = 8u64 as u32 ; } impl WebGpuBlendFactor { pub const ONE_MINUS_DST_ALPHA : u32 = 9u64 as u32 ; } impl WebGpuBlendFactor { pub const SRC_ALPHA_SATURATED : u32 = 10u64 as u32 ; } impl WebGpuBlendFactor { pub const BLEND_COLOR : u32 = 11u64 as u32 ; } impl WebGpuBlendFactor { pub const ONE_MINUS_BLEND_COLOR : u32 = 12u64 as u32 ; } impl WebGpuBlendOperation { pub const ADD : u32 = 0i64 as u32 ; } impl WebGpuBlendOperation { pub const SUBTRACT : u32 = 1u64 as u32 ; } impl WebGpuBlendOperation { pub const REVERSE_SUBTRACT : u32 = 2u64 as u32 ; } impl WebGpuBlendOperation { pub const MIN : u32 = 3u64 as u32 ; } impl WebGpuBlendOperation { pub const MAX : u32 = 4u64 as u32 ; } impl WebGpuBufferUsage { pub const NONE : u32 = 0i64 as u32 ; } impl WebGpuBufferUsage { pub const MAP_READ : u32 = 1u64 as u32 ; } impl WebGpuBufferUsage { pub const MAP_WRITE : u32 = 2u64 as u32 ; } impl WebGpuBufferUsage { pub const TRANSFER_SRC : u32 = 4u64 as u32 ; } impl WebGpuBufferUsage { pub const TRANSFER_DST : u32 = 8u64 as u32 ; } impl WebGpuBufferUsage { pub const INDEX : u32 = 16u64 as u32 ; } impl WebGpuBufferUsage { pub const VERTEX : u32 = 32u64 as u32 ; } impl WebGpuBufferUsage { pub const UNIFORM : u32 = 64u64 as u32 ; } impl WebGpuBufferUsage { pub const STORAGE : u32 = 128u64 as u32 ; } impl WebGpuColorWriteBits { pub const NONE : u32 = 0i64 as u32 ; } impl WebGpuColorWriteBits { pub const RED : u32 = 1u64 as u32 ; } impl WebGpuColorWriteBits { pub const GREEN : u32 = 2u64 as u32 ; } impl WebGpuColorWriteBits { pub const BLUE : u32 = 4u64 as u32 ; } impl WebGpuColorWriteBits { pub const ALPHA : u32 = 8u64 as u32 ; } impl WebGpuColorWriteBits { pub const ALL : u32 = 15u64 as u32 ; } impl WebGpuCompareFunction { pub const NEVER : u32 = 0i64 as u32 ; } impl WebGpuCompareFunction { pub const LESS : u32 = 1u64 as u32 ; } impl WebGpuCompareFunction { pub const LESS_EQUAL : u32 = 2u64 as u32 ; } impl WebGpuCompareFunction { pub const GREATER : u32 = 3u64 as u32 ; } impl WebGpuCompareFunction { pub const GREATER_EQUAL : u32 = 4u64 as u32 ; } impl WebGpuCompareFunction { pub const EQUAL : u32 = 5u64 as u32 ; } impl WebGpuCompareFunction { pub const NOT_EQUAL : u32 = 6u64 as u32 ; } impl WebGpuCompareFunction { pub const ALWAYS : u32 = 7u64 as u32 ; } impl WebGpuFilterMode { pub const NEAREST : u32 = 0i64 as u32 ; } impl WebGpuFilterMode { pub const LINEAR : u32 = 1u64 as u32 ; } impl WebGpuIndexFormat { pub const UINT16 : u32 = 0i64 as u32 ; } impl WebGpuIndexFormat { pub const UINT32 : u32 = 1u64 as u32 ; } impl WebGpuInputStepMode { pub const VERTEX : u32 = 0i64 as u32 ; } impl WebGpuInputStepMode { pub const INSTANCE : u32 = 1u64 as u32 ; } impl WebGpuLoadOp { pub const CLEAR : u32 = 0i64 as u32 ; } impl WebGpuLoadOp { pub const LOAD : u32 = 1u64 as u32 ; } impl WebGpuPrimitiveTopology { pub const POINT_LIST : u32 = 0i64 as u32 ; } impl WebGpuPrimitiveTopology { pub const LINE_LIST : u32 = 1u64 as u32 ; } impl WebGpuPrimitiveTopology { pub const LINE_STRIP : u32 = 2u64 as u32 ; } impl WebGpuPrimitiveTopology { pub const TRIANGLE_LIST : u32 = 3u64 as u32 ; } impl WebGpuPrimitiveTopology { pub const TRIANGLE_STRIP : u32 = 4u64 as u32 ; } impl WebGpuShaderStage { pub const VERTEX : u32 = 0i64 as u32 ; } impl WebGpuShaderStage { pub const FRAGMENT : u32 = 1u64 as u32 ; } impl WebGpuShaderStage { pub const COMPUTE : u32 = 2u64 as u32 ; } impl WebGpuShaderStageBit { pub const NONE : u32 = 0i64 as u32 ; } impl WebGpuShaderStageBit { pub const VERTEX : u32 = 1u64 as u32 ; } impl WebGpuShaderStageBit { pub const FRAGMENT : u32 = 2u64 as u32 ; } impl WebGpuShaderStageBit { pub const COMPUTE : u32 = 4u64 as u32 ; } impl WebGpuStencilOperation { pub const KEEP : u32 = 0i64 as u32 ; } impl WebGpuStencilOperation { pub const ZERO : u32 = 1u64 as u32 ; } impl WebGpuStencilOperation { pub const REPLACE : u32 = 2u64 as u32 ; } impl WebGpuStencilOperation { pub const INVERT : u32 = 3u64 as u32 ; } impl WebGpuStencilOperation { pub const INCREMENT_CLAMP : u32 = 4u64 as u32 ; } impl WebGpuStencilOperation { pub const DECREMENT_CLAMP : u32 = 5u64 as u32 ; } impl WebGpuStencilOperation { pub const INCREMENT_WRAP : u32 = 6u64 as u32 ; } impl WebGpuStencilOperation { pub const DECREMENT_WRAP : u32 = 7u64 as u32 ; } impl WebGpuStoreOp { pub const STORE : u32 = 0i64 as u32 ; } impl WebGpuTextureDimension { pub const E_1D : u32 = 0i64 as u32 ; } impl WebGpuTextureDimension { pub const E_2D : u32 = 1u64 as u32 ; } impl WebGpuTextureDimension { pub const E_3D : u32 = 2u64 as u32 ; } impl WebGpuTextureFormat { pub const R8_G8_B8_A8_UNORM : u32 = 0i64 as u32 ; } impl WebGpuTextureFormat { pub const R8_G8_B8_A8_UINT : u32 = 1u64 as u32 ; } impl WebGpuTextureFormat { pub const B8_G8_R8_A8_UNORM : u32 = 2u64 as u32 ; } impl WebGpuTextureFormat { pub const D32_FLOAT_S8_UINT : u32 = 3u64 as u32 ; } impl WebGpuTextureUsage { pub const NONE : u32 = 0i64 as u32 ; } impl WebGpuTextureUsage { pub const TRANSFER_SRC : u32 = 1u64 as u32 ; } impl WebGpuTextureUsage { pub const TRANSFER_DST : u32 = 2u64 as u32 ; } impl WebGpuTextureUsage { pub const SAMPLED : u32 = 4u64 as u32 ; } impl WebGpuTextureUsage { pub const STORAGE : u32 = 8u64 as u32 ; } impl WebGpuTextureUsage { pub const OUTPUT_ATTACHMENT : u32 = 16u64 as u32 ; } impl WebGpuTextureUsage { pub const PRESENT : u32 = 32u64 as u32 ; } impl WebGpuVertexFormat { pub const FLOAT_R32_G32_B32_A32 : u32 = 0i64 as u32 ; } impl WebGpuVertexFormat { pub const FLOAT_R32_G32_B32 : u32 = 1u64 as u32 ; } impl WebGpuVertexFormat { pub const FLOAT_R32_G32 : u32 = 2u64 as u32 ; } impl WebGpuVertexFormat { pub const FLOAT_R32 : u32 = 3u64 as u32 ; } impl WebSocket { pub const CONNECTING : u16 = 0i64 as u16 ; } impl WebSocket { pub const OPEN : u16 = 1u64 as u16 ; } impl WebSocket { pub const CLOSING : u16 = 2u64 as u16 ; } impl WebSocket { pub const CLOSED : u16 = 3u64 as u16 ; } impl WheelEvent { pub const DOM_DELTA_PIXEL : u32 = 0u64 as u32 ; } impl WheelEvent { pub const DOM_DELTA_LINE : u32 = 1u64 as u32 ; } impl WheelEvent { pub const DOM_DELTA_PAGE : u32 = 2u64 as u32 ; } impl XmlHttpRequest { pub const UNSENT : u16 = 0i64 as u16 ; } impl XmlHttpRequest { pub const OPENED : u16 = 1u64 as u16 ; } impl XmlHttpRequest { pub const HEADERS_RECEIVED : u16 = 2u64 as u16 ; } impl XmlHttpRequest { pub const LOADING : u16 = 3u64 as u16 ; } impl XmlHttpRequest { pub const DONE : u16 = 4u64 as u16 ; } impl XPathResult { pub const ANY_TYPE : u16 = 0i64 as u16 ; } impl XPathResult { pub const NUMBER_TYPE : u16 = 1u64 as u16 ; } impl XPathResult { pub const STRING_TYPE : u16 = 2u64 as u16 ; } impl XPathResult { pub const BOOLEAN_TYPE : u16 = 3u64 as u16 ; } impl XPathResult { pub const UNORDERED_NODE_ITERATOR_TYPE : u16 = 4u64 as u16 ; } impl XPathResult { pub const ORDERED_NODE_ITERATOR_TYPE : u16 = 5u64 as u16 ; } impl XPathResult { pub const UNORDERED_NODE_SNAPSHOT_TYPE : u16 = 6u64 as u16 ; } impl XPathResult { pub const ORDERED_NODE_SNAPSHOT_TYPE : u16 = 7u64 as u16 ; } impl XPathResult { pub const ANY_UNORDERED_NODE_TYPE : u16 = 8u64 as u16 ; } impl XPathResult { pub const FIRST_ORDERED_NODE_TYPE : u16 = 9u64 as u16 ; } # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AddEventListenerOptions { obj : :: js_sys :: Object , } impl AddEventListenerOptions { pub fn new ( ) -> AddEventListenerOptions { let mut _ret = AddEventListenerOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn capture ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "capture" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn once ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "once" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn passive ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "passive" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AddEventListenerOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AddEventListenerOptions > for JsValue { # [ inline ] fn from ( val : AddEventListenerOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AddEventListenerOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AddEventListenerOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AddEventListenerOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AddEventListenerOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AddEventListenerOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AddEventListenerOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AddEventListenerOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AddEventListenerOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AddEventListenerOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AddEventListenerOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AddEventListenerOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AddEventListenerOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AddEventListenerOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AddEventListenerOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AddEventListenerOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AesCbcParams { obj : :: js_sys :: Object , } impl AesCbcParams { pub fn new ( name : & str , iv : & :: js_sys :: Object ) -> AesCbcParams { let mut _ret = AesCbcParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . iv ( iv ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn iv ( & mut self , val : & :: js_sys :: Object ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iv" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AesCbcParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AesCbcParams > for JsValue { # [ inline ] fn from ( val : AesCbcParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AesCbcParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AesCbcParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AesCbcParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AesCbcParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AesCbcParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AesCbcParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AesCbcParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AesCbcParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AesCbcParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AesCbcParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AesCbcParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AesCbcParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AesCbcParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AesCbcParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AesCbcParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AesCtrParams { obj : :: js_sys :: Object , } impl AesCtrParams { pub fn new ( name : & str , counter : & :: js_sys :: Object , length : u8 ) -> AesCtrParams { let mut _ret = AesCtrParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . counter ( counter ) ; _ret . length ( length ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn counter ( & mut self , val : & :: js_sys :: Object ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "counter" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn length ( & mut self , val : u8 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "length" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AesCtrParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AesCtrParams > for JsValue { # [ inline ] fn from ( val : AesCtrParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AesCtrParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AesCtrParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AesCtrParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AesCtrParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AesCtrParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AesCtrParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AesCtrParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AesCtrParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AesCtrParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AesCtrParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AesCtrParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AesCtrParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AesCtrParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AesCtrParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AesCtrParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AesDerivedKeyParams { obj : :: js_sys :: Object , } impl AesDerivedKeyParams { pub fn new ( name : & str , length : u32 ) -> AesDerivedKeyParams { let mut _ret = AesDerivedKeyParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . length ( length ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn length ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "length" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AesDerivedKeyParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AesDerivedKeyParams > for JsValue { # [ inline ] fn from ( val : AesDerivedKeyParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AesDerivedKeyParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AesDerivedKeyParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AesDerivedKeyParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AesDerivedKeyParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AesDerivedKeyParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AesDerivedKeyParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AesDerivedKeyParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AesDerivedKeyParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AesDerivedKeyParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AesDerivedKeyParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AesDerivedKeyParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AesDerivedKeyParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AesDerivedKeyParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AesDerivedKeyParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AesDerivedKeyParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AesGcmParams { obj : :: js_sys :: Object , } impl AesGcmParams { pub fn new ( name : & str , iv : & :: js_sys :: Object ) -> AesGcmParams { let mut _ret = AesGcmParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . iv ( iv ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn additional_data ( & mut self , val : & :: js_sys :: Object ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "additionalData" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn iv ( & mut self , val : & :: js_sys :: Object ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iv" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn tag_length ( & mut self , val : u8 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "tagLength" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AesGcmParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AesGcmParams > for JsValue { # [ inline ] fn from ( val : AesGcmParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AesGcmParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AesGcmParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AesGcmParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AesGcmParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AesGcmParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AesGcmParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AesGcmParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AesGcmParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AesGcmParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AesGcmParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AesGcmParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AesGcmParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AesGcmParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AesGcmParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AesGcmParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AesKeyAlgorithm { obj : :: js_sys :: Object , } impl AesKeyAlgorithm { pub fn new ( name : & str , length : u16 ) -> AesKeyAlgorithm { let mut _ret = AesKeyAlgorithm { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . length ( length ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn length ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "length" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AesKeyAlgorithm : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AesKeyAlgorithm > for JsValue { # [ inline ] fn from ( val : AesKeyAlgorithm ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AesKeyAlgorithm { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AesKeyAlgorithm { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AesKeyAlgorithm { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AesKeyAlgorithm { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AesKeyAlgorithm { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AesKeyAlgorithm { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AesKeyAlgorithm { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AesKeyAlgorithm { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AesKeyAlgorithm { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AesKeyAlgorithm { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AesKeyAlgorithm > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AesKeyAlgorithm { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AesKeyAlgorithm { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AesKeyAlgorithm { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AesKeyAlgorithm ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AesKeyGenParams { obj : :: js_sys :: Object , } impl AesKeyGenParams { pub fn new ( name : & str , length : u16 ) -> AesKeyGenParams { let mut _ret = AesKeyGenParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . length ( length ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn length ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "length" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AesKeyGenParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AesKeyGenParams > for JsValue { # [ inline ] fn from ( val : AesKeyGenParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AesKeyGenParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AesKeyGenParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AesKeyGenParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AesKeyGenParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AesKeyGenParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AesKeyGenParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AesKeyGenParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AesKeyGenParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AesKeyGenParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AesKeyGenParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AesKeyGenParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AesKeyGenParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AesKeyGenParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AesKeyGenParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AesKeyGenParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct Algorithm { obj : :: js_sys :: Object , } impl Algorithm { pub fn new ( name : & str ) -> Algorithm { let mut _ret = Algorithm { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_Algorithm : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < Algorithm > for JsValue { # [ inline ] fn from ( val : Algorithm ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for Algorithm { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for Algorithm { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for Algorithm { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a Algorithm { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for Algorithm { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { Algorithm { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for Algorithm { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a Algorithm { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for Algorithm { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for Algorithm { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < Algorithm > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( Algorithm { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for Algorithm { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Algorithm { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Algorithm ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AnalyserOptions { obj : :: js_sys :: Object , } impl AnalyserOptions { pub fn new ( ) -> AnalyserOptions { let mut _ret = AnalyserOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn fft_size ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "fftSize" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn max_decibels ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "maxDecibels" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn min_decibels ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "minDecibels" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn smoothing_time_constant ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "smoothingTimeConstant" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AnalyserOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AnalyserOptions > for JsValue { # [ inline ] fn from ( val : AnalyserOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AnalyserOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AnalyserOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AnalyserOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AnalyserOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AnalyserOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AnalyserOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AnalyserOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AnalyserOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AnalyserOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AnalyserOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AnalyserOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AnalyserOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AnalyserOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AnalyserOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AnalyserOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AnimationEventInit { obj : :: js_sys :: Object , } impl AnimationEventInit { pub fn new ( ) -> AnimationEventInit { let mut _ret = AnimationEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn animation_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "animationName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn elapsed_time ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "elapsedTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pseudo_element ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pseudoElement" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AnimationEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AnimationEventInit > for JsValue { # [ inline ] fn from ( val : AnimationEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AnimationEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AnimationEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AnimationEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AnimationEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AnimationEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AnimationEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AnimationEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AnimationEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AnimationEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AnimationEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AnimationEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AnimationEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AnimationEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AnimationEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AnimationEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AnimationPlaybackEventInit { obj : :: js_sys :: Object , } impl AnimationPlaybackEventInit { pub fn new ( ) -> AnimationPlaybackEventInit { let mut _ret = AnimationPlaybackEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn current_time ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "currentTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timeline_time ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timelineTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AnimationPlaybackEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AnimationPlaybackEventInit > for JsValue { # [ inline ] fn from ( val : AnimationPlaybackEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AnimationPlaybackEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AnimationPlaybackEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AnimationPlaybackEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AnimationPlaybackEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AnimationPlaybackEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AnimationPlaybackEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AnimationPlaybackEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AnimationPlaybackEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AnimationPlaybackEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AnimationPlaybackEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AnimationPlaybackEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AnimationPlaybackEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AnimationPlaybackEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AnimationPlaybackEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AnimationPlaybackEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AnimationPropertyValueDetails { obj : :: js_sys :: Object , } impl AnimationPropertyValueDetails { pub fn new ( composite : CompositeOperation , offset : f64 ) -> AnimationPropertyValueDetails { let mut _ret = AnimationPropertyValueDetails { obj : :: js_sys :: Object :: new ( ) } ; _ret . composite ( composite ) ; _ret . offset ( offset ) ; return _ret } pub fn composite ( & mut self , val : CompositeOperation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composite" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn easing ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "easing" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn offset ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "offset" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn value ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "value" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AnimationPropertyValueDetails : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AnimationPropertyValueDetails > for JsValue { # [ inline ] fn from ( val : AnimationPropertyValueDetails ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AnimationPropertyValueDetails { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AnimationPropertyValueDetails { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AnimationPropertyValueDetails { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AnimationPropertyValueDetails { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AnimationPropertyValueDetails { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AnimationPropertyValueDetails { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AnimationPropertyValueDetails { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AnimationPropertyValueDetails { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AnimationPropertyValueDetails { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AnimationPropertyValueDetails { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AnimationPropertyValueDetails > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AnimationPropertyValueDetails { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AnimationPropertyValueDetails { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AnimationPropertyValueDetails { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AnimationPropertyValueDetails ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AssignedNodesOptions { obj : :: js_sys :: Object , } impl AssignedNodesOptions { pub fn new ( ) -> AssignedNodesOptions { let mut _ret = AssignedNodesOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn flatten ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "flatten" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AssignedNodesOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AssignedNodesOptions > for JsValue { # [ inline ] fn from ( val : AssignedNodesOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AssignedNodesOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AssignedNodesOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AssignedNodesOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AssignedNodesOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AssignedNodesOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AssignedNodesOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AssignedNodesOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AssignedNodesOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AssignedNodesOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AssignedNodesOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AssignedNodesOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AssignedNodesOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AssignedNodesOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AssignedNodesOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AssignedNodesOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AttributeNameValue { obj : :: js_sys :: Object , } impl AttributeNameValue { pub fn new ( name : & str , value : & str ) -> AttributeNameValue { let mut _ret = AttributeNameValue { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . value ( value ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn value ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "value" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AttributeNameValue : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AttributeNameValue > for JsValue { # [ inline ] fn from ( val : AttributeNameValue ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AttributeNameValue { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AttributeNameValue { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AttributeNameValue { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AttributeNameValue { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AttributeNameValue { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AttributeNameValue { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AttributeNameValue { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AttributeNameValue { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AttributeNameValue { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AttributeNameValue { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AttributeNameValue > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AttributeNameValue { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AttributeNameValue { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AttributeNameValue { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AttributeNameValue ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AudioBufferOptions { obj : :: js_sys :: Object , } impl AudioBufferOptions { pub fn new ( length : u32 , sample_rate : f32 ) -> AudioBufferOptions { let mut _ret = AudioBufferOptions { obj : :: js_sys :: Object :: new ( ) } ; _ret . length ( length ) ; _ret . sample_rate ( sample_rate ) ; return _ret } pub fn length ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "length" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn number_of_channels ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "numberOfChannels" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn sample_rate ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sampleRate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AudioBufferOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AudioBufferOptions > for JsValue { # [ inline ] fn from ( val : AudioBufferOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AudioBufferOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AudioBufferOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AudioBufferOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AudioBufferOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AudioBufferOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AudioBufferOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AudioBufferOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AudioBufferOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AudioBufferOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AudioBufferOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AudioBufferOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AudioBufferOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AudioBufferOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioBufferOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioBufferOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AudioBufferSourceOptions { obj : :: js_sys :: Object , } impl AudioBufferSourceOptions { pub fn new ( ) -> AudioBufferSourceOptions { let mut _ret = AudioBufferSourceOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn buffer ( & mut self , val : Option < & AudioBuffer > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "buffer" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detune ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detune" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn loop_ ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "loop" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn loop_end ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "loopEnd" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn loop_start ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "loopStart" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn playback_rate ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "playbackRate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AudioBufferSourceOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AudioBufferSourceOptions > for JsValue { # [ inline ] fn from ( val : AudioBufferSourceOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AudioBufferSourceOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AudioBufferSourceOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AudioBufferSourceOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AudioBufferSourceOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AudioBufferSourceOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AudioBufferSourceOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AudioBufferSourceOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AudioBufferSourceOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AudioBufferSourceOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AudioBufferSourceOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AudioBufferSourceOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AudioBufferSourceOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AudioBufferSourceOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioBufferSourceOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioBufferSourceOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AudioConfiguration { obj : :: js_sys :: Object , } impl AudioConfiguration { pub fn new ( ) -> AudioConfiguration { let mut _ret = AudioConfiguration { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bitrate ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bitrate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channels ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channels" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn content_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "contentType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn samplerate ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "samplerate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AudioConfiguration : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AudioConfiguration > for JsValue { # [ inline ] fn from ( val : AudioConfiguration ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AudioConfiguration { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AudioConfiguration { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AudioConfiguration { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AudioConfiguration { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AudioConfiguration { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AudioConfiguration { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AudioConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AudioConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AudioConfiguration { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AudioConfiguration { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AudioConfiguration > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AudioConfiguration { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AudioConfiguration { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioConfiguration { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioConfiguration ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AudioContextOptions { obj : :: js_sys :: Object , } impl AudioContextOptions { pub fn new ( ) -> AudioContextOptions { let mut _ret = AudioContextOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn sample_rate ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sampleRate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AudioContextOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AudioContextOptions > for JsValue { # [ inline ] fn from ( val : AudioContextOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AudioContextOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AudioContextOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AudioContextOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AudioContextOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AudioContextOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AudioContextOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AudioContextOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AudioContextOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AudioContextOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AudioContextOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AudioContextOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AudioContextOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AudioContextOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioContextOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioContextOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AudioNodeOptions { obj : :: js_sys :: Object , } impl AudioNodeOptions { pub fn new ( ) -> AudioNodeOptions { let mut _ret = AudioNodeOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AudioNodeOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AudioNodeOptions > for JsValue { # [ inline ] fn from ( val : AudioNodeOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AudioNodeOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AudioNodeOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AudioNodeOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AudioNodeOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AudioNodeOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AudioNodeOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AudioNodeOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AudioNodeOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AudioNodeOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AudioNodeOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AudioNodeOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AudioNodeOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AudioNodeOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioNodeOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioNodeOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AudioWorkletNodeOptions { obj : :: js_sys :: Object , } impl AudioWorkletNodeOptions { pub fn new ( ) -> AudioWorkletNodeOptions { let mut _ret = AudioWorkletNodeOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn number_of_inputs ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "numberOfInputs" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn number_of_outputs ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "numberOfOutputs" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn processor_options ( & mut self , val : Option < & :: js_sys :: Object > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "processorOptions" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AudioWorkletNodeOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AudioWorkletNodeOptions > for JsValue { # [ inline ] fn from ( val : AudioWorkletNodeOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AudioWorkletNodeOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AudioWorkletNodeOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AudioWorkletNodeOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AudioWorkletNodeOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AudioWorkletNodeOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AudioWorkletNodeOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AudioWorkletNodeOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AudioWorkletNodeOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AudioWorkletNodeOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AudioWorkletNodeOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AudioWorkletNodeOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AudioWorkletNodeOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AudioWorkletNodeOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AudioWorkletNodeOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AudioWorkletNodeOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AuthenticationExtensionsClientInputs { obj : :: js_sys :: Object , } impl AuthenticationExtensionsClientInputs { pub fn new ( ) -> AuthenticationExtensionsClientInputs { let mut _ret = AuthenticationExtensionsClientInputs { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn appid ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "appid" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AuthenticationExtensionsClientInputs : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AuthenticationExtensionsClientInputs > for JsValue { # [ inline ] fn from ( val : AuthenticationExtensionsClientInputs ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AuthenticationExtensionsClientInputs { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AuthenticationExtensionsClientInputs { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AuthenticationExtensionsClientInputs { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AuthenticationExtensionsClientInputs { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AuthenticationExtensionsClientInputs { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AuthenticationExtensionsClientInputs { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AuthenticationExtensionsClientInputs { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AuthenticationExtensionsClientInputs { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AuthenticationExtensionsClientInputs { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AuthenticationExtensionsClientInputs { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AuthenticationExtensionsClientInputs > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AuthenticationExtensionsClientInputs { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AuthenticationExtensionsClientInputs { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AuthenticationExtensionsClientInputs { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AuthenticationExtensionsClientInputs ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AuthenticationExtensionsClientOutputs { obj : :: js_sys :: Object , } impl AuthenticationExtensionsClientOutputs { pub fn new ( ) -> AuthenticationExtensionsClientOutputs { let mut _ret = AuthenticationExtensionsClientOutputs { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn appid ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "appid" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AuthenticationExtensionsClientOutputs : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AuthenticationExtensionsClientOutputs > for JsValue { # [ inline ] fn from ( val : AuthenticationExtensionsClientOutputs ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AuthenticationExtensionsClientOutputs { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AuthenticationExtensionsClientOutputs { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AuthenticationExtensionsClientOutputs { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AuthenticationExtensionsClientOutputs { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AuthenticationExtensionsClientOutputs { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AuthenticationExtensionsClientOutputs { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AuthenticationExtensionsClientOutputs { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AuthenticationExtensionsClientOutputs { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AuthenticationExtensionsClientOutputs { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AuthenticationExtensionsClientOutputs { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AuthenticationExtensionsClientOutputs > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AuthenticationExtensionsClientOutputs { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AuthenticationExtensionsClientOutputs { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AuthenticationExtensionsClientOutputs { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AuthenticationExtensionsClientOutputs ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AuthenticatorSelectionCriteria { obj : :: js_sys :: Object , } impl AuthenticatorSelectionCriteria { pub fn new ( ) -> AuthenticatorSelectionCriteria { let mut _ret = AuthenticatorSelectionCriteria { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn authenticator_attachment ( & mut self , val : AuthenticatorAttachment ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "authenticatorAttachment" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn require_resident_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "requireResidentKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn user_verification ( & mut self , val : UserVerificationRequirement ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "userVerification" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AuthenticatorSelectionCriteria : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AuthenticatorSelectionCriteria > for JsValue { # [ inline ] fn from ( val : AuthenticatorSelectionCriteria ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AuthenticatorSelectionCriteria { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AuthenticatorSelectionCriteria { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AuthenticatorSelectionCriteria { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AuthenticatorSelectionCriteria { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AuthenticatorSelectionCriteria { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AuthenticatorSelectionCriteria { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AuthenticatorSelectionCriteria { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AuthenticatorSelectionCriteria { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AuthenticatorSelectionCriteria { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AuthenticatorSelectionCriteria { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AuthenticatorSelectionCriteria > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AuthenticatorSelectionCriteria { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AuthenticatorSelectionCriteria { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AuthenticatorSelectionCriteria { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AuthenticatorSelectionCriteria ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct AutocompleteInfo { obj : :: js_sys :: Object , } impl AutocompleteInfo { pub fn new ( ) -> AutocompleteInfo { let mut _ret = AutocompleteInfo { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn address_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "addressType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn contact_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "contactType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn field_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "fieldName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn section ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "section" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_AutocompleteInfo : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < AutocompleteInfo > for JsValue { # [ inline ] fn from ( val : AutocompleteInfo ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for AutocompleteInfo { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for AutocompleteInfo { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for AutocompleteInfo { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a AutocompleteInfo { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for AutocompleteInfo { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { AutocompleteInfo { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for AutocompleteInfo { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a AutocompleteInfo { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for AutocompleteInfo { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for AutocompleteInfo { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < AutocompleteInfo > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( AutocompleteInfo { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for AutocompleteInfo { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { AutocompleteInfo { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const AutocompleteInfo ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct BaseComputedKeyframe { obj : :: js_sys :: Object , } impl BaseComputedKeyframe { pub fn new ( ) -> BaseComputedKeyframe { let mut _ret = BaseComputedKeyframe { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn composite ( & mut self , val : Option < CompositeOperation > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composite" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn easing ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "easing" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn offset ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "offset" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn simulate_compute_values_failure ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "simulateComputeValuesFailure" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn computed_offset ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "computedOffset" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_BaseComputedKeyframe : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < BaseComputedKeyframe > for JsValue { # [ inline ] fn from ( val : BaseComputedKeyframe ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for BaseComputedKeyframe { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for BaseComputedKeyframe { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for BaseComputedKeyframe { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a BaseComputedKeyframe { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for BaseComputedKeyframe { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { BaseComputedKeyframe { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for BaseComputedKeyframe { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a BaseComputedKeyframe { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for BaseComputedKeyframe { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for BaseComputedKeyframe { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < BaseComputedKeyframe > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( BaseComputedKeyframe { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for BaseComputedKeyframe { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BaseComputedKeyframe { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BaseComputedKeyframe ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct BaseKeyframe { obj : :: js_sys :: Object , } impl BaseKeyframe { pub fn new ( ) -> BaseKeyframe { let mut _ret = BaseKeyframe { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn composite ( & mut self , val : Option < CompositeOperation > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composite" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn easing ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "easing" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn offset ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "offset" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn simulate_compute_values_failure ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "simulateComputeValuesFailure" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_BaseKeyframe : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < BaseKeyframe > for JsValue { # [ inline ] fn from ( val : BaseKeyframe ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for BaseKeyframe { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for BaseKeyframe { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for BaseKeyframe { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a BaseKeyframe { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for BaseKeyframe { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { BaseKeyframe { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for BaseKeyframe { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a BaseKeyframe { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for BaseKeyframe { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for BaseKeyframe { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < BaseKeyframe > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( BaseKeyframe { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for BaseKeyframe { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BaseKeyframe { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BaseKeyframe ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct BasePropertyIndexedKeyframe { obj : :: js_sys :: Object , } impl BasePropertyIndexedKeyframe { pub fn new ( ) -> BasePropertyIndexedKeyframe { let mut _ret = BasePropertyIndexedKeyframe { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn composite ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composite" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn easing ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "easing" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn offset ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "offset" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_BasePropertyIndexedKeyframe : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < BasePropertyIndexedKeyframe > for JsValue { # [ inline ] fn from ( val : BasePropertyIndexedKeyframe ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for BasePropertyIndexedKeyframe { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for BasePropertyIndexedKeyframe { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for BasePropertyIndexedKeyframe { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a BasePropertyIndexedKeyframe { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for BasePropertyIndexedKeyframe { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { BasePropertyIndexedKeyframe { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for BasePropertyIndexedKeyframe { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a BasePropertyIndexedKeyframe { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for BasePropertyIndexedKeyframe { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for BasePropertyIndexedKeyframe { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < BasePropertyIndexedKeyframe > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( BasePropertyIndexedKeyframe { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for BasePropertyIndexedKeyframe { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BasePropertyIndexedKeyframe { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BasePropertyIndexedKeyframe ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct BasicCardRequest { obj : :: js_sys :: Object , } impl BasicCardRequest { pub fn new ( ) -> BasicCardRequest { let mut _ret = BasicCardRequest { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_BasicCardRequest : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < BasicCardRequest > for JsValue { # [ inline ] fn from ( val : BasicCardRequest ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for BasicCardRequest { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for BasicCardRequest { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for BasicCardRequest { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a BasicCardRequest { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for BasicCardRequest { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { BasicCardRequest { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for BasicCardRequest { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a BasicCardRequest { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for BasicCardRequest { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for BasicCardRequest { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < BasicCardRequest > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( BasicCardRequest { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for BasicCardRequest { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BasicCardRequest { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BasicCardRequest ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct BasicCardResponse { obj : :: js_sys :: Object , } impl BasicCardResponse { pub fn new ( card_number : & str ) -> BasicCardResponse { let mut _ret = BasicCardResponse { obj : :: js_sys :: Object :: new ( ) } ; _ret . card_number ( card_number ) ; return _ret } pub fn billing_address ( & mut self , val : Option < & PaymentAddress > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "billingAddress" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn card_number ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cardNumber" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn card_security_code ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cardSecurityCode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cardholder_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cardholderName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn expiry_month ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "expiryMonth" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn expiry_year ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "expiryYear" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_BasicCardResponse : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < BasicCardResponse > for JsValue { # [ inline ] fn from ( val : BasicCardResponse ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for BasicCardResponse { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for BasicCardResponse { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for BasicCardResponse { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a BasicCardResponse { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for BasicCardResponse { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { BasicCardResponse { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for BasicCardResponse { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a BasicCardResponse { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for BasicCardResponse { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for BasicCardResponse { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < BasicCardResponse > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( BasicCardResponse { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for BasicCardResponse { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BasicCardResponse { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BasicCardResponse ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct BiquadFilterOptions { obj : :: js_sys :: Object , } impl BiquadFilterOptions { pub fn new ( ) -> BiquadFilterOptions { let mut _ret = BiquadFilterOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn q ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "Q" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detune ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detune" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frequency ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "frequency" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn gain ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "gain" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : BiquadFilterType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_BiquadFilterOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < BiquadFilterOptions > for JsValue { # [ inline ] fn from ( val : BiquadFilterOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for BiquadFilterOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for BiquadFilterOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for BiquadFilterOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a BiquadFilterOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for BiquadFilterOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { BiquadFilterOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for BiquadFilterOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a BiquadFilterOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for BiquadFilterOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for BiquadFilterOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < BiquadFilterOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( BiquadFilterOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for BiquadFilterOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BiquadFilterOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BiquadFilterOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct BlobEventInit { obj : :: js_sys :: Object , } impl BlobEventInit { pub fn new ( ) -> BlobEventInit { let mut _ret = BlobEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn data ( & mut self , val : Option < & Blob > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "data" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_BlobEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < BlobEventInit > for JsValue { # [ inline ] fn from ( val : BlobEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for BlobEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for BlobEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for BlobEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a BlobEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for BlobEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { BlobEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for BlobEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a BlobEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for BlobEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for BlobEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < BlobEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( BlobEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for BlobEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BlobEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BlobEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct BlobPropertyBag { obj : :: js_sys :: Object , } impl BlobPropertyBag { pub fn new ( ) -> BlobPropertyBag { let mut _ret = BlobPropertyBag { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn endings ( & mut self , val : EndingTypes ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "endings" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_BlobPropertyBag : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < BlobPropertyBag > for JsValue { # [ inline ] fn from ( val : BlobPropertyBag ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for BlobPropertyBag { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for BlobPropertyBag { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for BlobPropertyBag { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a BlobPropertyBag { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for BlobPropertyBag { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { BlobPropertyBag { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for BlobPropertyBag { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a BlobPropertyBag { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for BlobPropertyBag { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for BlobPropertyBag { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < BlobPropertyBag > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( BlobPropertyBag { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for BlobPropertyBag { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BlobPropertyBag { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BlobPropertyBag ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct BlockParsingOptions { obj : :: js_sys :: Object , } impl BlockParsingOptions { pub fn new ( ) -> BlockParsingOptions { let mut _ret = BlockParsingOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn block_script_created ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "blockScriptCreated" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_BlockParsingOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < BlockParsingOptions > for JsValue { # [ inline ] fn from ( val : BlockParsingOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for BlockParsingOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for BlockParsingOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for BlockParsingOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a BlockParsingOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for BlockParsingOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { BlockParsingOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for BlockParsingOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a BlockParsingOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for BlockParsingOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for BlockParsingOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < BlockParsingOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( BlockParsingOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for BlockParsingOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BlockParsingOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BlockParsingOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct BoxQuadOptions { obj : :: js_sys :: Object , } impl BoxQuadOptions { pub fn new ( ) -> BoxQuadOptions { let mut _ret = BoxQuadOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn box_ ( & mut self , val : CssBoxType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "box" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn relative_to ( & mut self , val : & :: js_sys :: Object ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "relativeTo" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_BoxQuadOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < BoxQuadOptions > for JsValue { # [ inline ] fn from ( val : BoxQuadOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for BoxQuadOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for BoxQuadOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for BoxQuadOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a BoxQuadOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for BoxQuadOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { BoxQuadOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for BoxQuadOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a BoxQuadOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for BoxQuadOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for BoxQuadOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < BoxQuadOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( BoxQuadOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for BoxQuadOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BoxQuadOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BoxQuadOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct BrowserElementDownloadOptions { obj : :: js_sys :: Object , } impl BrowserElementDownloadOptions { pub fn new ( ) -> BrowserElementDownloadOptions { let mut _ret = BrowserElementDownloadOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn filename ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "filename" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn referrer ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "referrer" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_BrowserElementDownloadOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < BrowserElementDownloadOptions > for JsValue { # [ inline ] fn from ( val : BrowserElementDownloadOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for BrowserElementDownloadOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for BrowserElementDownloadOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for BrowserElementDownloadOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a BrowserElementDownloadOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for BrowserElementDownloadOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { BrowserElementDownloadOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for BrowserElementDownloadOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a BrowserElementDownloadOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for BrowserElementDownloadOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for BrowserElementDownloadOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < BrowserElementDownloadOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( BrowserElementDownloadOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for BrowserElementDownloadOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BrowserElementDownloadOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BrowserElementDownloadOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct BrowserElementExecuteScriptOptions { obj : :: js_sys :: Object , } impl BrowserElementExecuteScriptOptions { pub fn new ( ) -> BrowserElementExecuteScriptOptions { let mut _ret = BrowserElementExecuteScriptOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn origin ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "origin" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn url ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "url" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_BrowserElementExecuteScriptOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < BrowserElementExecuteScriptOptions > for JsValue { # [ inline ] fn from ( val : BrowserElementExecuteScriptOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for BrowserElementExecuteScriptOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for BrowserElementExecuteScriptOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for BrowserElementExecuteScriptOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a BrowserElementExecuteScriptOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for BrowserElementExecuteScriptOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { BrowserElementExecuteScriptOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for BrowserElementExecuteScriptOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a BrowserElementExecuteScriptOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for BrowserElementExecuteScriptOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for BrowserElementExecuteScriptOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < BrowserElementExecuteScriptOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( BrowserElementExecuteScriptOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for BrowserElementExecuteScriptOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { BrowserElementExecuteScriptOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const BrowserElementExecuteScriptOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct Csp { obj : :: js_sys :: Object , } impl Csp { pub fn new ( ) -> Csp { let mut _ret = Csp { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn report_only ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "report-only" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_Csp : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < Csp > for JsValue { # [ inline ] fn from ( val : Csp ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for Csp { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for Csp { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for Csp { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a Csp { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for Csp { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { Csp { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for Csp { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a Csp { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for Csp { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for Csp { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < Csp > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( Csp { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for Csp { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Csp { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Csp ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CspPolicies { obj : :: js_sys :: Object , } impl CspPolicies { pub fn new ( ) -> CspPolicies { let mut _ret = CspPolicies { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_CspPolicies : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CspPolicies > for JsValue { # [ inline ] fn from ( val : CspPolicies ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CspPolicies { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CspPolicies { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CspPolicies { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CspPolicies { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CspPolicies { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CspPolicies { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CspPolicies { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CspPolicies { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CspPolicies { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CspPolicies { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CspPolicies > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CspPolicies { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CspPolicies { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CspPolicies { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CspPolicies ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CspReport { obj : :: js_sys :: Object , } impl CspReport { pub fn new ( ) -> CspReport { let mut _ret = CspReport { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn csp_report ( & mut self , val : & CspReportProperties ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "csp-report" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_CspReport : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CspReport > for JsValue { # [ inline ] fn from ( val : CspReport ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CspReport { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CspReport { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CspReport { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CspReport { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CspReport { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CspReport { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CspReport { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CspReport { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CspReport { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CspReport { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CspReport > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CspReport { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CspReport { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CspReport { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CspReport ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CspReportProperties { obj : :: js_sys :: Object , } impl CspReportProperties { pub fn new ( ) -> CspReportProperties { let mut _ret = CspReportProperties { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn blocked_uri ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "blocked-uri" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn column_number ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "column-number" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn document_uri ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "document-uri" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn line_number ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "line-number" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn original_policy ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "original-policy" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn referrer ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "referrer" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn script_sample ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "script-sample" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn source_file ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "source-file" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn violated_directive ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "violated-directive" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_CspReportProperties : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CspReportProperties > for JsValue { # [ inline ] fn from ( val : CspReportProperties ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CspReportProperties { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CspReportProperties { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CspReportProperties { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CspReportProperties { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CspReportProperties { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CspReportProperties { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CspReportProperties { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CspReportProperties { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CspReportProperties { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CspReportProperties { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CspReportProperties > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CspReportProperties { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CspReportProperties { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CspReportProperties { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CspReportProperties ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CacheBatchOperation { obj : :: js_sys :: Object , } impl CacheBatchOperation { pub fn new ( ) -> CacheBatchOperation { let mut _ret = CacheBatchOperation { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn options ( & mut self , val : & CacheQueryOptions ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "options" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn request ( & mut self , val : & Request ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "request" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn response ( & mut self , val : & Response ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "response" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_CacheBatchOperation : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CacheBatchOperation > for JsValue { # [ inline ] fn from ( val : CacheBatchOperation ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CacheBatchOperation { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CacheBatchOperation { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CacheBatchOperation { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CacheBatchOperation { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CacheBatchOperation { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CacheBatchOperation { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CacheBatchOperation { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CacheBatchOperation { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CacheBatchOperation { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CacheBatchOperation { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CacheBatchOperation > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CacheBatchOperation { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CacheBatchOperation { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CacheBatchOperation { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CacheBatchOperation ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CacheQueryOptions { obj : :: js_sys :: Object , } impl CacheQueryOptions { pub fn new ( ) -> CacheQueryOptions { let mut _ret = CacheQueryOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn cache_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cacheName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ignore_method ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ignoreMethod" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ignore_search ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ignoreSearch" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ignore_vary ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ignoreVary" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_CacheQueryOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CacheQueryOptions > for JsValue { # [ inline ] fn from ( val : CacheQueryOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CacheQueryOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CacheQueryOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CacheQueryOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CacheQueryOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CacheQueryOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CacheQueryOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CacheQueryOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CacheQueryOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CacheQueryOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CacheQueryOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CacheQueryOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CacheQueryOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CacheQueryOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CacheQueryOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CacheQueryOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CaretStateChangedEventInit { obj : :: js_sys :: Object , } impl CaretStateChangedEventInit { pub fn new ( ) -> CaretStateChangedEventInit { let mut _ret = CaretStateChangedEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bounding_client_rect ( & mut self , val : Option < & DomRectReadOnly > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "boundingClientRect" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn caret_visible ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "caretVisible" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn caret_visually_visible ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "caretVisuallyVisible" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn collapsed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "collapsed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn reason ( & mut self , val : CaretChangedReason ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "reason" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn selected_text_content ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "selectedTextContent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn selection_editable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "selectionEditable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn selection_visible ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "selectionVisible" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_CaretStateChangedEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CaretStateChangedEventInit > for JsValue { # [ inline ] fn from ( val : CaretStateChangedEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CaretStateChangedEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CaretStateChangedEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CaretStateChangedEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CaretStateChangedEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CaretStateChangedEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CaretStateChangedEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CaretStateChangedEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CaretStateChangedEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CaretStateChangedEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CaretStateChangedEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CaretStateChangedEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CaretStateChangedEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CaretStateChangedEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CaretStateChangedEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CaretStateChangedEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ChannelMergerOptions { obj : :: js_sys :: Object , } impl ChannelMergerOptions { pub fn new ( ) -> ChannelMergerOptions { let mut _ret = ChannelMergerOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn number_of_inputs ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "numberOfInputs" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ChannelMergerOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ChannelMergerOptions > for JsValue { # [ inline ] fn from ( val : ChannelMergerOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ChannelMergerOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ChannelMergerOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ChannelMergerOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ChannelMergerOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ChannelMergerOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ChannelMergerOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ChannelMergerOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ChannelMergerOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ChannelMergerOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ChannelMergerOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ChannelMergerOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ChannelMergerOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ChannelMergerOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ChannelMergerOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ChannelMergerOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ChannelPixelLayout { obj : :: js_sys :: Object , } impl ChannelPixelLayout { pub fn new ( data_type : ChannelPixelLayoutDataType , height : u32 , offset : u32 , skip : u32 , stride : u32 , width : u32 ) -> ChannelPixelLayout { let mut _ret = ChannelPixelLayout { obj : :: js_sys :: Object :: new ( ) } ; _ret . data_type ( data_type ) ; _ret . height ( height ) ; _ret . offset ( offset ) ; _ret . skip ( skip ) ; _ret . stride ( stride ) ; _ret . width ( width ) ; return _ret } pub fn data_type ( & mut self , val : ChannelPixelLayoutDataType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dataType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn height ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "height" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn offset ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "offset" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn skip ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "skip" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stride ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stride" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn width ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "width" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ChannelPixelLayout : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ChannelPixelLayout > for JsValue { # [ inline ] fn from ( val : ChannelPixelLayout ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ChannelPixelLayout { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ChannelPixelLayout { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ChannelPixelLayout { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ChannelPixelLayout { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ChannelPixelLayout { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ChannelPixelLayout { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ChannelPixelLayout { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ChannelPixelLayout { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ChannelPixelLayout { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ChannelPixelLayout { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ChannelPixelLayout > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ChannelPixelLayout { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ChannelPixelLayout { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ChannelPixelLayout { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ChannelPixelLayout ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ChannelSplitterOptions { obj : :: js_sys :: Object , } impl ChannelSplitterOptions { pub fn new ( ) -> ChannelSplitterOptions { let mut _ret = ChannelSplitterOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn number_of_outputs ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "numberOfOutputs" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ChannelSplitterOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ChannelSplitterOptions > for JsValue { # [ inline ] fn from ( val : ChannelSplitterOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ChannelSplitterOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ChannelSplitterOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ChannelSplitterOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ChannelSplitterOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ChannelSplitterOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ChannelSplitterOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ChannelSplitterOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ChannelSplitterOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ChannelSplitterOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ChannelSplitterOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ChannelSplitterOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ChannelSplitterOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ChannelSplitterOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ChannelSplitterOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ChannelSplitterOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CheckerboardReport { obj : :: js_sys :: Object , } impl CheckerboardReport { pub fn new ( ) -> CheckerboardReport { let mut _ret = CheckerboardReport { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn log ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "log" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn reason ( & mut self , val : CheckerboardReason ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "reason" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn severity ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "severity" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_CheckerboardReport : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CheckerboardReport > for JsValue { # [ inline ] fn from ( val : CheckerboardReport ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CheckerboardReport { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CheckerboardReport { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CheckerboardReport { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CheckerboardReport { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CheckerboardReport { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CheckerboardReport { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CheckerboardReport { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CheckerboardReport { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CheckerboardReport { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CheckerboardReport { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CheckerboardReport > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CheckerboardReport { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CheckerboardReport { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CheckerboardReport { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CheckerboardReport ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ChromeFilePropertyBag { obj : :: js_sys :: Object , } impl ChromeFilePropertyBag { pub fn new ( ) -> ChromeFilePropertyBag { let mut _ret = ChromeFilePropertyBag { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn last_modified ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lastModified" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn existence_check ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "existenceCheck" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ChromeFilePropertyBag : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ChromeFilePropertyBag > for JsValue { # [ inline ] fn from ( val : ChromeFilePropertyBag ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ChromeFilePropertyBag { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ChromeFilePropertyBag { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ChromeFilePropertyBag { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ChromeFilePropertyBag { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ChromeFilePropertyBag { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ChromeFilePropertyBag { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ChromeFilePropertyBag { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ChromeFilePropertyBag { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ChromeFilePropertyBag { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ChromeFilePropertyBag { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ChromeFilePropertyBag > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ChromeFilePropertyBag { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ChromeFilePropertyBag { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ChromeFilePropertyBag { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ChromeFilePropertyBag ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ClientQueryOptions { obj : :: js_sys :: Object , } impl ClientQueryOptions { pub fn new ( ) -> ClientQueryOptions { let mut _ret = ClientQueryOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn include_uncontrolled ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "includeUncontrolled" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : ClientType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ClientQueryOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ClientQueryOptions > for JsValue { # [ inline ] fn from ( val : ClientQueryOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ClientQueryOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ClientQueryOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ClientQueryOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ClientQueryOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ClientQueryOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ClientQueryOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ClientQueryOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ClientQueryOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ClientQueryOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ClientQueryOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ClientQueryOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ClientQueryOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ClientQueryOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ClientQueryOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ClientQueryOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ClipboardEventInit { obj : :: js_sys :: Object , } impl ClipboardEventInit { pub fn new ( ) -> ClipboardEventInit { let mut _ret = ClipboardEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn data ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "data" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn data_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dataType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ClipboardEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ClipboardEventInit > for JsValue { # [ inline ] fn from ( val : ClipboardEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ClipboardEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ClipboardEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ClipboardEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ClipboardEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ClipboardEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ClipboardEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ClipboardEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ClipboardEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ClipboardEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ClipboardEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ClipboardEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ClipboardEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ClipboardEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ClipboardEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ClipboardEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CloseEventInit { obj : :: js_sys :: Object , } impl CloseEventInit { pub fn new ( ) -> CloseEventInit { let mut _ret = CloseEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn code ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "code" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn reason ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "reason" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn was_clean ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "wasClean" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_CloseEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CloseEventInit > for JsValue { # [ inline ] fn from ( val : CloseEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CloseEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CloseEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CloseEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CloseEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CloseEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CloseEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CloseEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CloseEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CloseEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CloseEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CloseEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CloseEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CloseEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CloseEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CloseEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CollectedClientData { obj : :: js_sys :: Object , } impl CollectedClientData { pub fn new ( challenge : & str , hash_algorithm : & str , origin : & str , type_ : & str ) -> CollectedClientData { let mut _ret = CollectedClientData { obj : :: js_sys :: Object :: new ( ) } ; _ret . challenge ( challenge ) ; _ret . hash_algorithm ( hash_algorithm ) ; _ret . origin ( origin ) ; _ret . type_ ( type_ ) ; return _ret } pub fn challenge ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "challenge" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn client_extensions ( & mut self , val : & AuthenticationExtensionsClientInputs ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientExtensions" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn hash_algorithm ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "hashAlgorithm" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn origin ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "origin" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn token_binding_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "tokenBindingId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_CollectedClientData : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CollectedClientData > for JsValue { # [ inline ] fn from ( val : CollectedClientData ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CollectedClientData { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CollectedClientData { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CollectedClientData { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CollectedClientData { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CollectedClientData { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CollectedClientData { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CollectedClientData { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CollectedClientData { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CollectedClientData { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CollectedClientData { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CollectedClientData > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CollectedClientData { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CollectedClientData { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CollectedClientData { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CollectedClientData ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CompositionEventInit { obj : :: js_sys :: Object , } impl CompositionEventInit { pub fn new ( ) -> CompositionEventInit { let mut _ret = CompositionEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detail ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detail" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn view ( & mut self , val : Option < & Window > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "view" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn data ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "data" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_CompositionEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CompositionEventInit > for JsValue { # [ inline ] fn from ( val : CompositionEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CompositionEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CompositionEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CompositionEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CompositionEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CompositionEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CompositionEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CompositionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CompositionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CompositionEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CompositionEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CompositionEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CompositionEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CompositionEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CompositionEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CompositionEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ComputedEffectTiming { obj : :: js_sys :: Object , } impl ComputedEffectTiming { pub fn new ( ) -> ComputedEffectTiming { let mut _ret = ComputedEffectTiming { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn delay ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "delay" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn direction ( & mut self , val : PlaybackDirection ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "direction" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn duration ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "duration" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn easing ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "easing" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn end_delay ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "endDelay" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn fill ( & mut self , val : FillMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "fill" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn iteration_start ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iterationStart" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn iterations ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iterations" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn active_duration ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "activeDuration" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn current_iteration ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "currentIteration" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn end_time ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "endTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn local_time ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "localTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn progress ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "progress" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ComputedEffectTiming : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ComputedEffectTiming > for JsValue { # [ inline ] fn from ( val : ComputedEffectTiming ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ComputedEffectTiming { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ComputedEffectTiming { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ComputedEffectTiming { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ComputedEffectTiming { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ComputedEffectTiming { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ComputedEffectTiming { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ComputedEffectTiming { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ComputedEffectTiming { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ComputedEffectTiming { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ComputedEffectTiming { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ComputedEffectTiming > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ComputedEffectTiming { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ComputedEffectTiming { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ComputedEffectTiming { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ComputedEffectTiming ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConnStatusDict { obj : :: js_sys :: Object , } impl ConnStatusDict { pub fn new ( ) -> ConnStatusDict { let mut _ret = ConnStatusDict { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn status ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "status" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConnStatusDict : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConnStatusDict > for JsValue { # [ inline ] fn from ( val : ConnStatusDict ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConnStatusDict { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConnStatusDict { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConnStatusDict { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConnStatusDict { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConnStatusDict { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConnStatusDict { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConnStatusDict { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConnStatusDict { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConnStatusDict { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConnStatusDict { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConnStatusDict > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConnStatusDict { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConnStatusDict { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConnStatusDict { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConnStatusDict ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConsoleCounter { obj : :: js_sys :: Object , } impl ConsoleCounter { pub fn new ( ) -> ConsoleCounter { let mut _ret = ConsoleCounter { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "count" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn label ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "label" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConsoleCounter : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConsoleCounter > for JsValue { # [ inline ] fn from ( val : ConsoleCounter ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConsoleCounter { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConsoleCounter { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConsoleCounter { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConsoleCounter { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConsoleCounter { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConsoleCounter { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConsoleCounter { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConsoleCounter { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConsoleCounter { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConsoleCounter { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConsoleCounter > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConsoleCounter { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConsoleCounter { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConsoleCounter { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConsoleCounter ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConsoleCounterError { obj : :: js_sys :: Object , } impl ConsoleCounterError { pub fn new ( ) -> ConsoleCounterError { let mut _ret = ConsoleCounterError { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn error ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "error" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn label ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "label" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConsoleCounterError : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConsoleCounterError > for JsValue { # [ inline ] fn from ( val : ConsoleCounterError ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConsoleCounterError { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConsoleCounterError { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConsoleCounterError { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConsoleCounterError { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConsoleCounterError { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConsoleCounterError { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConsoleCounterError { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConsoleCounterError { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConsoleCounterError { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConsoleCounterError { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConsoleCounterError > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConsoleCounterError { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConsoleCounterError { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConsoleCounterError { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConsoleCounterError ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConsoleEvent { obj : :: js_sys :: Object , } impl ConsoleEvent { pub fn new ( ) -> ConsoleEvent { let mut _ret = ConsoleEvent { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ID" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn addon_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "addonId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn column_number ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "columnNumber" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn console_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "consoleID" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn counter ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "counter" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn filename ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "filename" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn function_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "functionName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn group_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "groupName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn inner_id ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "innerID" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn level ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "level" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn line_number ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lineNumber" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn prefix ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "prefix" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn private ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "private" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn time_stamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timeStamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timer ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timer" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConsoleEvent : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConsoleEvent > for JsValue { # [ inline ] fn from ( val : ConsoleEvent ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConsoleEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConsoleEvent { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConsoleEvent { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConsoleEvent { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConsoleEvent { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConsoleEvent { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConsoleEvent { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConsoleEvent { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConsoleEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConsoleEvent { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConsoleEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConsoleEvent { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConsoleEvent { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConsoleEvent { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConsoleEvent ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConsoleInstanceOptions { obj : :: js_sys :: Object , } impl ConsoleInstanceOptions { pub fn new ( ) -> ConsoleInstanceOptions { let mut _ret = ConsoleInstanceOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn console_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "consoleID" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dump ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dump" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn inner_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "innerID" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn max_log_level ( & mut self , val : ConsoleLogLevel ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "maxLogLevel" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn max_log_level_pref ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "maxLogLevelPref" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn prefix ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "prefix" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConsoleInstanceOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConsoleInstanceOptions > for JsValue { # [ inline ] fn from ( val : ConsoleInstanceOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConsoleInstanceOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConsoleInstanceOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConsoleInstanceOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConsoleInstanceOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConsoleInstanceOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConsoleInstanceOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConsoleInstanceOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConsoleInstanceOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConsoleInstanceOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConsoleInstanceOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConsoleInstanceOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConsoleInstanceOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConsoleInstanceOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConsoleInstanceOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConsoleInstanceOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConsoleProfileEvent { obj : :: js_sys :: Object , } impl ConsoleProfileEvent { pub fn new ( ) -> ConsoleProfileEvent { let mut _ret = ConsoleProfileEvent { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn action ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "action" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConsoleProfileEvent : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConsoleProfileEvent > for JsValue { # [ inline ] fn from ( val : ConsoleProfileEvent ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConsoleProfileEvent { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConsoleProfileEvent { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConsoleProfileEvent { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConsoleProfileEvent { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConsoleProfileEvent { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConsoleProfileEvent { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConsoleProfileEvent { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConsoleProfileEvent { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConsoleProfileEvent { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConsoleProfileEvent { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConsoleProfileEvent > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConsoleProfileEvent { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConsoleProfileEvent { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConsoleProfileEvent { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConsoleProfileEvent ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConsoleStackEntry { obj : :: js_sys :: Object , } impl ConsoleStackEntry { pub fn new ( ) -> ConsoleStackEntry { let mut _ret = ConsoleStackEntry { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn async_cause ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "asyncCause" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn column_number ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "columnNumber" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn filename ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "filename" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn function_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "functionName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn line_number ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lineNumber" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConsoleStackEntry : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConsoleStackEntry > for JsValue { # [ inline ] fn from ( val : ConsoleStackEntry ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConsoleStackEntry { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConsoleStackEntry { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConsoleStackEntry { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConsoleStackEntry { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConsoleStackEntry { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConsoleStackEntry { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConsoleStackEntry { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConsoleStackEntry { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConsoleStackEntry { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConsoleStackEntry { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConsoleStackEntry > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConsoleStackEntry { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConsoleStackEntry { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConsoleStackEntry { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConsoleStackEntry ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConsoleTimerError { obj : :: js_sys :: Object , } impl ConsoleTimerError { pub fn new ( ) -> ConsoleTimerError { let mut _ret = ConsoleTimerError { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn error ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "error" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConsoleTimerError : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConsoleTimerError > for JsValue { # [ inline ] fn from ( val : ConsoleTimerError ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConsoleTimerError { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConsoleTimerError { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConsoleTimerError { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConsoleTimerError { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConsoleTimerError { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConsoleTimerError { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConsoleTimerError { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConsoleTimerError { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConsoleTimerError { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConsoleTimerError { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConsoleTimerError > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConsoleTimerError { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConsoleTimerError { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConsoleTimerError { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConsoleTimerError ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConsoleTimerLogOrEnd { obj : :: js_sys :: Object , } impl ConsoleTimerLogOrEnd { pub fn new ( ) -> ConsoleTimerLogOrEnd { let mut _ret = ConsoleTimerLogOrEnd { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn duration ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "duration" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConsoleTimerLogOrEnd : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConsoleTimerLogOrEnd > for JsValue { # [ inline ] fn from ( val : ConsoleTimerLogOrEnd ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConsoleTimerLogOrEnd { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConsoleTimerLogOrEnd { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConsoleTimerLogOrEnd { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConsoleTimerLogOrEnd { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConsoleTimerLogOrEnd { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConsoleTimerLogOrEnd { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConsoleTimerLogOrEnd { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConsoleTimerLogOrEnd { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConsoleTimerLogOrEnd { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConsoleTimerLogOrEnd { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConsoleTimerLogOrEnd > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConsoleTimerLogOrEnd { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConsoleTimerLogOrEnd { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConsoleTimerLogOrEnd { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConsoleTimerLogOrEnd ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConsoleTimerStart { obj : :: js_sys :: Object , } impl ConsoleTimerStart { pub fn new ( ) -> ConsoleTimerStart { let mut _ret = ConsoleTimerStart { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConsoleTimerStart : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConsoleTimerStart > for JsValue { # [ inline ] fn from ( val : ConsoleTimerStart ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConsoleTimerStart { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConsoleTimerStart { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConsoleTimerStart { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConsoleTimerStart { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConsoleTimerStart { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConsoleTimerStart { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConsoleTimerStart { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConsoleTimerStart { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConsoleTimerStart { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConsoleTimerStart { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConsoleTimerStart > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConsoleTimerStart { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConsoleTimerStart { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConsoleTimerStart { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConsoleTimerStart ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConstantSourceOptions { obj : :: js_sys :: Object , } impl ConstantSourceOptions { pub fn new ( ) -> ConstantSourceOptions { let mut _ret = ConstantSourceOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn offset ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "offset" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConstantSourceOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConstantSourceOptions > for JsValue { # [ inline ] fn from ( val : ConstantSourceOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConstantSourceOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConstantSourceOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConstantSourceOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConstantSourceOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConstantSourceOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConstantSourceOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConstantSourceOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConstantSourceOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConstantSourceOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConstantSourceOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConstantSourceOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConstantSourceOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConstantSourceOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConstantSourceOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConstantSourceOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConstrainBooleanParameters { obj : :: js_sys :: Object , } impl ConstrainBooleanParameters { pub fn new ( ) -> ConstrainBooleanParameters { let mut _ret = ConstrainBooleanParameters { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn exact ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "exact" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ideal ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ideal" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConstrainBooleanParameters : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConstrainBooleanParameters > for JsValue { # [ inline ] fn from ( val : ConstrainBooleanParameters ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConstrainBooleanParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConstrainBooleanParameters { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConstrainBooleanParameters { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConstrainBooleanParameters { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConstrainBooleanParameters { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConstrainBooleanParameters { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConstrainBooleanParameters { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConstrainBooleanParameters { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConstrainBooleanParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConstrainBooleanParameters { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConstrainBooleanParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConstrainBooleanParameters { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConstrainBooleanParameters { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConstrainBooleanParameters { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConstrainBooleanParameters ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConstrainDomStringParameters { obj : :: js_sys :: Object , } impl ConstrainDomStringParameters { pub fn new ( ) -> ConstrainDomStringParameters { let mut _ret = ConstrainDomStringParameters { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn exact ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "exact" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ideal ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ideal" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConstrainDomStringParameters : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConstrainDomStringParameters > for JsValue { # [ inline ] fn from ( val : ConstrainDomStringParameters ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConstrainDomStringParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConstrainDomStringParameters { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConstrainDomStringParameters { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConstrainDomStringParameters { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConstrainDomStringParameters { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConstrainDomStringParameters { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConstrainDomStringParameters { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConstrainDomStringParameters { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConstrainDomStringParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConstrainDomStringParameters { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConstrainDomStringParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConstrainDomStringParameters { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConstrainDomStringParameters { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConstrainDomStringParameters { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConstrainDomStringParameters ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConstrainDoubleRange { obj : :: js_sys :: Object , } impl ConstrainDoubleRange { pub fn new ( ) -> ConstrainDoubleRange { let mut _ret = ConstrainDoubleRange { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn exact ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "exact" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ideal ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ideal" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn max ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "max" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn min ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "min" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConstrainDoubleRange : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConstrainDoubleRange > for JsValue { # [ inline ] fn from ( val : ConstrainDoubleRange ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConstrainDoubleRange { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConstrainDoubleRange { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConstrainDoubleRange { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConstrainDoubleRange { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConstrainDoubleRange { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConstrainDoubleRange { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConstrainDoubleRange { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConstrainDoubleRange { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConstrainDoubleRange { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConstrainDoubleRange { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConstrainDoubleRange > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConstrainDoubleRange { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConstrainDoubleRange { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConstrainDoubleRange { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConstrainDoubleRange ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConstrainLongRange { obj : :: js_sys :: Object , } impl ConstrainLongRange { pub fn new ( ) -> ConstrainLongRange { let mut _ret = ConstrainLongRange { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn exact ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "exact" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ideal ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ideal" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn max ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "max" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn min ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "min" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConstrainLongRange : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConstrainLongRange > for JsValue { # [ inline ] fn from ( val : ConstrainLongRange ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConstrainLongRange { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConstrainLongRange { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConstrainLongRange { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConstrainLongRange { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConstrainLongRange { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConstrainLongRange { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConstrainLongRange { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConstrainLongRange { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConstrainLongRange { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConstrainLongRange { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConstrainLongRange > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConstrainLongRange { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConstrainLongRange { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConstrainLongRange { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConstrainLongRange ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ContextAttributes2d { obj : :: js_sys :: Object , } impl ContextAttributes2d { pub fn new ( ) -> ContextAttributes2d { let mut _ret = ContextAttributes2d { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn alpha ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "alpha" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn will_read_frequently ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "willReadFrequently" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ContextAttributes2d : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ContextAttributes2d > for JsValue { # [ inline ] fn from ( val : ContextAttributes2d ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ContextAttributes2d { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ContextAttributes2d { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ContextAttributes2d { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ContextAttributes2d { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ContextAttributes2d { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ContextAttributes2d { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ContextAttributes2d { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ContextAttributes2d { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ContextAttributes2d { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ContextAttributes2d { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ContextAttributes2d > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ContextAttributes2d { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ContextAttributes2d { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ContextAttributes2d { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ContextAttributes2d ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConvertCoordinateOptions { obj : :: js_sys :: Object , } impl ConvertCoordinateOptions { pub fn new ( ) -> ConvertCoordinateOptions { let mut _ret = ConvertCoordinateOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn from_box ( & mut self , val : CssBoxType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "fromBox" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn to_box ( & mut self , val : CssBoxType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "toBox" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConvertCoordinateOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConvertCoordinateOptions > for JsValue { # [ inline ] fn from ( val : ConvertCoordinateOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConvertCoordinateOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConvertCoordinateOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConvertCoordinateOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConvertCoordinateOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConvertCoordinateOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConvertCoordinateOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConvertCoordinateOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConvertCoordinateOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConvertCoordinateOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConvertCoordinateOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConvertCoordinateOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConvertCoordinateOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConvertCoordinateOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConvertCoordinateOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConvertCoordinateOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ConvolverOptions { obj : :: js_sys :: Object , } impl ConvolverOptions { pub fn new ( ) -> ConvolverOptions { let mut _ret = ConvolverOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn buffer ( & mut self , val : Option < & AudioBuffer > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "buffer" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn disable_normalization ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "disableNormalization" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ConvolverOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ConvolverOptions > for JsValue { # [ inline ] fn from ( val : ConvolverOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ConvolverOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ConvolverOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ConvolverOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ConvolverOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ConvolverOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ConvolverOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ConvolverOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ConvolverOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ConvolverOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ConvolverOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ConvolverOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ConvolverOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ConvolverOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ConvolverOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ConvolverOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CredentialCreationOptions { obj : :: js_sys :: Object , } impl CredentialCreationOptions { pub fn new ( ) -> CredentialCreationOptions { let mut _ret = CredentialCreationOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn signal ( & mut self , val : & AbortSignal ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "signal" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_CredentialCreationOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CredentialCreationOptions > for JsValue { # [ inline ] fn from ( val : CredentialCreationOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CredentialCreationOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CredentialCreationOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CredentialCreationOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CredentialCreationOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CredentialCreationOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CredentialCreationOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CredentialCreationOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CredentialCreationOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CredentialCreationOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CredentialCreationOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CredentialCreationOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CredentialCreationOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CredentialCreationOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CredentialCreationOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CredentialCreationOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CredentialRequestOptions { obj : :: js_sys :: Object , } impl CredentialRequestOptions { pub fn new ( ) -> CredentialRequestOptions { let mut _ret = CredentialRequestOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn public_key ( & mut self , val : & PublicKeyCredentialRequestOptions ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "publicKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn signal ( & mut self , val : & AbortSignal ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "signal" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_CredentialRequestOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CredentialRequestOptions > for JsValue { # [ inline ] fn from ( val : CredentialRequestOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CredentialRequestOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CredentialRequestOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CredentialRequestOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CredentialRequestOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CredentialRequestOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CredentialRequestOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CredentialRequestOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CredentialRequestOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CredentialRequestOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CredentialRequestOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CredentialRequestOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CredentialRequestOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CredentialRequestOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CredentialRequestOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CredentialRequestOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CryptoKeyPair { obj : :: js_sys :: Object , } impl CryptoKeyPair { pub fn new ( private_key : & CryptoKey , public_key : & CryptoKey ) -> CryptoKeyPair { let mut _ret = CryptoKeyPair { obj : :: js_sys :: Object :: new ( ) } ; _ret . private_key ( private_key ) ; _ret . public_key ( public_key ) ; return _ret } pub fn private_key ( & mut self , val : & CryptoKey ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "privateKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn public_key ( & mut self , val : & CryptoKey ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "publicKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_CryptoKeyPair : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CryptoKeyPair > for JsValue { # [ inline ] fn from ( val : CryptoKeyPair ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CryptoKeyPair { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CryptoKeyPair { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CryptoKeyPair { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CryptoKeyPair { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CryptoKeyPair { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CryptoKeyPair { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CryptoKeyPair { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CryptoKeyPair { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CryptoKeyPair { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CryptoKeyPair { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CryptoKeyPair > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CryptoKeyPair { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CryptoKeyPair { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CryptoKeyPair { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CryptoKeyPair ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct CustomEventInit { obj : :: js_sys :: Object , } impl CustomEventInit { pub fn new ( ) -> CustomEventInit { let mut _ret = CustomEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detail ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detail" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_CustomEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < CustomEventInit > for JsValue { # [ inline ] fn from ( val : CustomEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for CustomEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for CustomEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for CustomEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a CustomEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for CustomEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { CustomEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for CustomEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a CustomEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for CustomEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for CustomEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < CustomEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( CustomEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for CustomEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { CustomEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const CustomEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DnsCacheDict { obj : :: js_sys :: Object , } impl DnsCacheDict { pub fn new ( ) -> DnsCacheDict { let mut _ret = DnsCacheDict { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_DnsCacheDict : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DnsCacheDict > for JsValue { # [ inline ] fn from ( val : DnsCacheDict ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DnsCacheDict { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DnsCacheDict { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DnsCacheDict { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DnsCacheDict { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DnsCacheDict { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DnsCacheDict { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DnsCacheDict { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DnsCacheDict { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DnsCacheDict { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DnsCacheDict { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DnsCacheDict > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DnsCacheDict { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DnsCacheDict { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DnsCacheDict { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DnsCacheDict ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DnsLookupDict { obj : :: js_sys :: Object , } impl DnsLookupDict { pub fn new ( ) -> DnsLookupDict { let mut _ret = DnsLookupDict { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn answer ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "answer" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn error ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "error" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DnsLookupDict : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DnsLookupDict > for JsValue { # [ inline ] fn from ( val : DnsLookupDict ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DnsLookupDict { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DnsLookupDict { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DnsLookupDict { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DnsLookupDict { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DnsLookupDict { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DnsLookupDict { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DnsLookupDict { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DnsLookupDict { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DnsLookupDict { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DnsLookupDict { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DnsLookupDict > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DnsLookupDict { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DnsLookupDict { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DnsLookupDict { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DnsLookupDict ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DomPointInit { obj : :: js_sys :: Object , } impl DomPointInit { pub fn new ( ) -> DomPointInit { let mut _ret = DomPointInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn w ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "w" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn x ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "x" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn y ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "y" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn z ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "z" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DomPointInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DomPointInit > for JsValue { # [ inline ] fn from ( val : DomPointInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DomPointInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DomPointInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DomPointInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DomPointInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DomPointInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DomPointInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DomPointInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DomPointInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DomPointInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DomPointInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DomPointInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DomPointInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DomPointInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomPointInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomPointInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DomQuadInit { obj : :: js_sys :: Object , } impl DomQuadInit { pub fn new ( ) -> DomQuadInit { let mut _ret = DomQuadInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn p1 ( & mut self , val : & DomPointInit ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "p1" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn p2 ( & mut self , val : & DomPointInit ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "p2" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn p3 ( & mut self , val : & DomPointInit ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "p3" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn p4 ( & mut self , val : & DomPointInit ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "p4" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DomQuadInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DomQuadInit > for JsValue { # [ inline ] fn from ( val : DomQuadInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DomQuadInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DomQuadInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DomQuadInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DomQuadInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DomQuadInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DomQuadInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DomQuadInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DomQuadInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DomQuadInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DomQuadInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DomQuadInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DomQuadInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DomQuadInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomQuadInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomQuadInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DomQuadJson { obj : :: js_sys :: Object , } impl DomQuadJson { pub fn new ( ) -> DomQuadJson { let mut _ret = DomQuadJson { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn p1 ( & mut self , val : & DomPoint ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "p1" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn p2 ( & mut self , val : & DomPoint ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "p2" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn p3 ( & mut self , val : & DomPoint ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "p3" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn p4 ( & mut self , val : & DomPoint ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "p4" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DomQuadJson : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DomQuadJson > for JsValue { # [ inline ] fn from ( val : DomQuadJson ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DomQuadJson { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DomQuadJson { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DomQuadJson { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DomQuadJson { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DomQuadJson { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DomQuadJson { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DomQuadJson { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DomQuadJson { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DomQuadJson { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DomQuadJson { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DomQuadJson > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DomQuadJson { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DomQuadJson { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomQuadJson { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomQuadJson ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DomRectInit { obj : :: js_sys :: Object , } impl DomRectInit { pub fn new ( ) -> DomRectInit { let mut _ret = DomRectInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn height ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "height" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn width ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "width" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn x ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "x" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn y ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "y" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DomRectInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DomRectInit > for JsValue { # [ inline ] fn from ( val : DomRectInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DomRectInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DomRectInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DomRectInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DomRectInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DomRectInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DomRectInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DomRectInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DomRectInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DomRectInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DomRectInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DomRectInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DomRectInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DomRectInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomRectInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomRectInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DomWindowResizeEventDetail { obj : :: js_sys :: Object , } impl DomWindowResizeEventDetail { pub fn new ( ) -> DomWindowResizeEventDetail { let mut _ret = DomWindowResizeEventDetail { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn height ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "height" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn width ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "width" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DomWindowResizeEventDetail : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DomWindowResizeEventDetail > for JsValue { # [ inline ] fn from ( val : DomWindowResizeEventDetail ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DomWindowResizeEventDetail { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DomWindowResizeEventDetail { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DomWindowResizeEventDetail { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DomWindowResizeEventDetail { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DomWindowResizeEventDetail { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DomWindowResizeEventDetail { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DomWindowResizeEventDetail { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DomWindowResizeEventDetail { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DomWindowResizeEventDetail { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DomWindowResizeEventDetail { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DomWindowResizeEventDetail > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DomWindowResizeEventDetail { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DomWindowResizeEventDetail { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DomWindowResizeEventDetail { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DomWindowResizeEventDetail ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DateTimeValue { obj : :: js_sys :: Object , } impl DateTimeValue { pub fn new ( ) -> DateTimeValue { let mut _ret = DateTimeValue { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn day ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "day" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn hour ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "hour" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn minute ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "minute" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn month ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "month" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn year ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "year" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DateTimeValue : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DateTimeValue > for JsValue { # [ inline ] fn from ( val : DateTimeValue ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DateTimeValue { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DateTimeValue { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DateTimeValue { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DateTimeValue { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DateTimeValue { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DateTimeValue { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DateTimeValue { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DateTimeValue { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DateTimeValue { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DateTimeValue { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DateTimeValue > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DateTimeValue { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DateTimeValue { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DateTimeValue { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DateTimeValue ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DecoderDoctorNotification { obj : :: js_sys :: Object , } impl DecoderDoctorNotification { pub fn new ( decoder_doctor_report_id : & str , is_solved : bool , type_ : DecoderDoctorNotificationType ) -> DecoderDoctorNotification { let mut _ret = DecoderDoctorNotification { obj : :: js_sys :: Object :: new ( ) } ; _ret . decoder_doctor_report_id ( decoder_doctor_report_id ) ; _ret . is_solved ( is_solved ) ; _ret . type_ ( type_ ) ; return _ret } pub fn decode_issue ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "decodeIssue" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn decoder_doctor_report_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "decoderDoctorReportId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn doc_url ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "docURL" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn formats ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "formats" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn is_solved ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "isSolved" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn resource_url ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "resourceURL" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : DecoderDoctorNotificationType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DecoderDoctorNotification : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DecoderDoctorNotification > for JsValue { # [ inline ] fn from ( val : DecoderDoctorNotification ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DecoderDoctorNotification { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DecoderDoctorNotification { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DecoderDoctorNotification { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DecoderDoctorNotification { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DecoderDoctorNotification { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DecoderDoctorNotification { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DecoderDoctorNotification { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DecoderDoctorNotification { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DecoderDoctorNotification { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DecoderDoctorNotification { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DecoderDoctorNotification > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DecoderDoctorNotification { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DecoderDoctorNotification { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DecoderDoctorNotification { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DecoderDoctorNotification ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DelayOptions { obj : :: js_sys :: Object , } impl DelayOptions { pub fn new ( ) -> DelayOptions { let mut _ret = DelayOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn delay_time ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "delayTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn max_delay_time ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "maxDelayTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DelayOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DelayOptions > for JsValue { # [ inline ] fn from ( val : DelayOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DelayOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DelayOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DelayOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DelayOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DelayOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DelayOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DelayOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DelayOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DelayOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DelayOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DelayOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DelayOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DelayOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DelayOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DelayOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DeviceAccelerationInit { obj : :: js_sys :: Object , } impl DeviceAccelerationInit { pub fn new ( ) -> DeviceAccelerationInit { let mut _ret = DeviceAccelerationInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn x ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "x" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn y ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "y" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn z ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "z" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DeviceAccelerationInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DeviceAccelerationInit > for JsValue { # [ inline ] fn from ( val : DeviceAccelerationInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DeviceAccelerationInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DeviceAccelerationInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DeviceAccelerationInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DeviceAccelerationInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DeviceAccelerationInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DeviceAccelerationInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DeviceAccelerationInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DeviceAccelerationInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DeviceAccelerationInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DeviceAccelerationInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DeviceAccelerationInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DeviceAccelerationInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DeviceAccelerationInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DeviceAccelerationInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DeviceAccelerationInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DeviceLightEventInit { obj : :: js_sys :: Object , } impl DeviceLightEventInit { pub fn new ( ) -> DeviceLightEventInit { let mut _ret = DeviceLightEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn value ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "value" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DeviceLightEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DeviceLightEventInit > for JsValue { # [ inline ] fn from ( val : DeviceLightEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DeviceLightEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DeviceLightEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DeviceLightEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DeviceLightEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DeviceLightEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DeviceLightEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DeviceLightEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DeviceLightEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DeviceLightEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DeviceLightEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DeviceLightEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DeviceLightEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DeviceLightEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DeviceLightEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DeviceLightEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DeviceMotionEventInit { obj : :: js_sys :: Object , } impl DeviceMotionEventInit { pub fn new ( ) -> DeviceMotionEventInit { let mut _ret = DeviceMotionEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn acceleration ( & mut self , val : & DeviceAccelerationInit ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "acceleration" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn acceleration_including_gravity ( & mut self , val : & DeviceAccelerationInit ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "accelerationIncludingGravity" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn interval ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "interval" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn rotation_rate ( & mut self , val : & DeviceRotationRateInit ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "rotationRate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DeviceMotionEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DeviceMotionEventInit > for JsValue { # [ inline ] fn from ( val : DeviceMotionEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DeviceMotionEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DeviceMotionEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DeviceMotionEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DeviceMotionEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DeviceMotionEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DeviceMotionEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DeviceMotionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DeviceMotionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DeviceMotionEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DeviceMotionEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DeviceMotionEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DeviceMotionEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DeviceMotionEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DeviceMotionEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DeviceMotionEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DeviceOrientationEventInit { obj : :: js_sys :: Object , } impl DeviceOrientationEventInit { pub fn new ( ) -> DeviceOrientationEventInit { let mut _ret = DeviceOrientationEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn absolute ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "absolute" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn alpha ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "alpha" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn beta ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "beta" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn gamma ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "gamma" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DeviceOrientationEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DeviceOrientationEventInit > for JsValue { # [ inline ] fn from ( val : DeviceOrientationEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DeviceOrientationEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DeviceOrientationEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DeviceOrientationEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DeviceOrientationEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DeviceOrientationEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DeviceOrientationEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DeviceOrientationEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DeviceOrientationEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DeviceOrientationEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DeviceOrientationEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DeviceOrientationEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DeviceOrientationEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DeviceOrientationEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DeviceOrientationEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DeviceOrientationEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DeviceProximityEventInit { obj : :: js_sys :: Object , } impl DeviceProximityEventInit { pub fn new ( ) -> DeviceProximityEventInit { let mut _ret = DeviceProximityEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn max ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "max" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn min ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "min" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn value ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "value" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DeviceProximityEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DeviceProximityEventInit > for JsValue { # [ inline ] fn from ( val : DeviceProximityEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DeviceProximityEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DeviceProximityEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DeviceProximityEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DeviceProximityEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DeviceProximityEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DeviceProximityEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DeviceProximityEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DeviceProximityEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DeviceProximityEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DeviceProximityEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DeviceProximityEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DeviceProximityEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DeviceProximityEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DeviceProximityEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DeviceProximityEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DeviceRotationRateInit { obj : :: js_sys :: Object , } impl DeviceRotationRateInit { pub fn new ( ) -> DeviceRotationRateInit { let mut _ret = DeviceRotationRateInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn alpha ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "alpha" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn beta ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "beta" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn gamma ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "gamma" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DeviceRotationRateInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DeviceRotationRateInit > for JsValue { # [ inline ] fn from ( val : DeviceRotationRateInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DeviceRotationRateInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DeviceRotationRateInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DeviceRotationRateInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DeviceRotationRateInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DeviceRotationRateInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DeviceRotationRateInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DeviceRotationRateInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DeviceRotationRateInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DeviceRotationRateInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DeviceRotationRateInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DeviceRotationRateInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DeviceRotationRateInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DeviceRotationRateInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DeviceRotationRateInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DeviceRotationRateInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DhKeyDeriveParams { obj : :: js_sys :: Object , } impl DhKeyDeriveParams { pub fn new ( name : & str , public : & CryptoKey ) -> DhKeyDeriveParams { let mut _ret = DhKeyDeriveParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . public ( public ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn public ( & mut self , val : & CryptoKey ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "public" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DhKeyDeriveParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DhKeyDeriveParams > for JsValue { # [ inline ] fn from ( val : DhKeyDeriveParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DhKeyDeriveParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DhKeyDeriveParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DhKeyDeriveParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DhKeyDeriveParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DhKeyDeriveParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DhKeyDeriveParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DhKeyDeriveParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DhKeyDeriveParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DhKeyDeriveParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DhKeyDeriveParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DhKeyDeriveParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DhKeyDeriveParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DhKeyDeriveParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DhKeyDeriveParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DhKeyDeriveParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DisplayNameOptions { obj : :: js_sys :: Object , } impl DisplayNameOptions { pub fn new ( ) -> DisplayNameOptions { let mut _ret = DisplayNameOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn style ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "style" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DisplayNameOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DisplayNameOptions > for JsValue { # [ inline ] fn from ( val : DisplayNameOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DisplayNameOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DisplayNameOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DisplayNameOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DisplayNameOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DisplayNameOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DisplayNameOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DisplayNameOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DisplayNameOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DisplayNameOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DisplayNameOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DisplayNameOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DisplayNameOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DisplayNameOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DisplayNameOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DisplayNameOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DisplayNameResult { obj : :: js_sys :: Object , } impl DisplayNameResult { pub fn new ( ) -> DisplayNameResult { let mut _ret = DisplayNameResult { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn locale ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "locale" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn style ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "style" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DisplayNameResult : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DisplayNameResult > for JsValue { # [ inline ] fn from ( val : DisplayNameResult ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DisplayNameResult { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DisplayNameResult { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DisplayNameResult { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DisplayNameResult { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DisplayNameResult { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DisplayNameResult { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DisplayNameResult { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DisplayNameResult { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DisplayNameResult { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DisplayNameResult { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DisplayNameResult > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DisplayNameResult { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DisplayNameResult { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DisplayNameResult { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DisplayNameResult ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DnsCacheEntry { obj : :: js_sys :: Object , } impl DnsCacheEntry { pub fn new ( ) -> DnsCacheEntry { let mut _ret = DnsCacheEntry { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn expiration ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "expiration" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn family ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "family" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn hostname ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "hostname" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn trr ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "trr" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DnsCacheEntry : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DnsCacheEntry > for JsValue { # [ inline ] fn from ( val : DnsCacheEntry ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DnsCacheEntry { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DnsCacheEntry { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DnsCacheEntry { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DnsCacheEntry { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DnsCacheEntry { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DnsCacheEntry { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DnsCacheEntry { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DnsCacheEntry { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DnsCacheEntry { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DnsCacheEntry { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DnsCacheEntry > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DnsCacheEntry { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DnsCacheEntry { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DnsCacheEntry { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DnsCacheEntry ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DocumentTimelineOptions { obj : :: js_sys :: Object , } impl DocumentTimelineOptions { pub fn new ( ) -> DocumentTimelineOptions { let mut _ret = DocumentTimelineOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn origin_time ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "originTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DocumentTimelineOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DocumentTimelineOptions > for JsValue { # [ inline ] fn from ( val : DocumentTimelineOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DocumentTimelineOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DocumentTimelineOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DocumentTimelineOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DocumentTimelineOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DocumentTimelineOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DocumentTimelineOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DocumentTimelineOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DocumentTimelineOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DocumentTimelineOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DocumentTimelineOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DocumentTimelineOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DocumentTimelineOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DocumentTimelineOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DocumentTimelineOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DocumentTimelineOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DragEventInit { obj : :: js_sys :: Object , } impl DragEventInit { pub fn new ( ) -> DragEventInit { let mut _ret = DragEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detail ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detail" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn view ( & mut self , val : Option < & Window > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "view" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn alt_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "altKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ctrl_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ctrlKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn meta_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "metaKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_alt_graph ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierAltGraph" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_caps_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierCapsLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFn" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFnLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_num_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierNumLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_os ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierOS" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_scroll_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierScrollLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbol" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbolLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn shift_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "shiftKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn button ( & mut self , val : i16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "button" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn buttons ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "buttons" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn client_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn client_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn movement_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "movementX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn movement_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "movementY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn related_target ( & mut self , val : Option < & EventTarget > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "relatedTarget" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn screen_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "screenX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn screen_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "screenY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn data_transfer ( & mut self , val : Option < & DataTransfer > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dataTransfer" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DragEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DragEventInit > for JsValue { # [ inline ] fn from ( val : DragEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DragEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DragEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DragEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DragEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DragEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DragEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DragEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DragEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DragEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DragEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DragEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DragEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DragEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DragEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DragEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct DynamicsCompressorOptions { obj : :: js_sys :: Object , } impl DynamicsCompressorOptions { pub fn new ( ) -> DynamicsCompressorOptions { let mut _ret = DynamicsCompressorOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn attack ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "attack" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn knee ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "knee" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ratio ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ratio" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn release ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "release" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn threshold ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "threshold" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_DynamicsCompressorOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < DynamicsCompressorOptions > for JsValue { # [ inline ] fn from ( val : DynamicsCompressorOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for DynamicsCompressorOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for DynamicsCompressorOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for DynamicsCompressorOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a DynamicsCompressorOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for DynamicsCompressorOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { DynamicsCompressorOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for DynamicsCompressorOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a DynamicsCompressorOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for DynamicsCompressorOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for DynamicsCompressorOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < DynamicsCompressorOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( DynamicsCompressorOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for DynamicsCompressorOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { DynamicsCompressorOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const DynamicsCompressorOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct EcKeyAlgorithm { obj : :: js_sys :: Object , } impl EcKeyAlgorithm { pub fn new ( name : & str , named_curve : & str ) -> EcKeyAlgorithm { let mut _ret = EcKeyAlgorithm { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . named_curve ( named_curve ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn named_curve ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "namedCurve" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_EcKeyAlgorithm : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < EcKeyAlgorithm > for JsValue { # [ inline ] fn from ( val : EcKeyAlgorithm ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for EcKeyAlgorithm { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for EcKeyAlgorithm { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for EcKeyAlgorithm { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a EcKeyAlgorithm { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for EcKeyAlgorithm { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { EcKeyAlgorithm { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for EcKeyAlgorithm { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a EcKeyAlgorithm { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for EcKeyAlgorithm { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for EcKeyAlgorithm { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < EcKeyAlgorithm > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( EcKeyAlgorithm { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for EcKeyAlgorithm { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { EcKeyAlgorithm { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const EcKeyAlgorithm ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct EcKeyGenParams { obj : :: js_sys :: Object , } impl EcKeyGenParams { pub fn new ( name : & str , named_curve : & str ) -> EcKeyGenParams { let mut _ret = EcKeyGenParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . named_curve ( named_curve ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn named_curve ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "namedCurve" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_EcKeyGenParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < EcKeyGenParams > for JsValue { # [ inline ] fn from ( val : EcKeyGenParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for EcKeyGenParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for EcKeyGenParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for EcKeyGenParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a EcKeyGenParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for EcKeyGenParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { EcKeyGenParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for EcKeyGenParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a EcKeyGenParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for EcKeyGenParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for EcKeyGenParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < EcKeyGenParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( EcKeyGenParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for EcKeyGenParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { EcKeyGenParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const EcKeyGenParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct EcKeyImportParams { obj : :: js_sys :: Object , } impl EcKeyImportParams { pub fn new ( name : & str ) -> EcKeyImportParams { let mut _ret = EcKeyImportParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn named_curve ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "namedCurve" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_EcKeyImportParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < EcKeyImportParams > for JsValue { # [ inline ] fn from ( val : EcKeyImportParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for EcKeyImportParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for EcKeyImportParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for EcKeyImportParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a EcKeyImportParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for EcKeyImportParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { EcKeyImportParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for EcKeyImportParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a EcKeyImportParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for EcKeyImportParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for EcKeyImportParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < EcKeyImportParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( EcKeyImportParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for EcKeyImportParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { EcKeyImportParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const EcKeyImportParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct EcdhKeyDeriveParams { obj : :: js_sys :: Object , } impl EcdhKeyDeriveParams { pub fn new ( name : & str , public : & CryptoKey ) -> EcdhKeyDeriveParams { let mut _ret = EcdhKeyDeriveParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . public ( public ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn public ( & mut self , val : & CryptoKey ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "public" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_EcdhKeyDeriveParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < EcdhKeyDeriveParams > for JsValue { # [ inline ] fn from ( val : EcdhKeyDeriveParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for EcdhKeyDeriveParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for EcdhKeyDeriveParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for EcdhKeyDeriveParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a EcdhKeyDeriveParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for EcdhKeyDeriveParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { EcdhKeyDeriveParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for EcdhKeyDeriveParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a EcdhKeyDeriveParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for EcdhKeyDeriveParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for EcdhKeyDeriveParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < EcdhKeyDeriveParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( EcdhKeyDeriveParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for EcdhKeyDeriveParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { EcdhKeyDeriveParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const EcdhKeyDeriveParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct EcdsaParams { obj : :: js_sys :: Object , } impl EcdsaParams { pub fn new ( name : & str , hash : & :: wasm_bindgen :: JsValue ) -> EcdsaParams { let mut _ret = EcdsaParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . hash ( hash ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn hash ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "hash" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_EcdsaParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < EcdsaParams > for JsValue { # [ inline ] fn from ( val : EcdsaParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for EcdsaParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for EcdsaParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for EcdsaParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a EcdsaParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for EcdsaParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { EcdsaParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for EcdsaParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a EcdsaParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for EcdsaParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for EcdsaParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < EcdsaParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( EcdsaParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for EcdsaParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { EcdsaParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const EcdsaParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct EffectTiming { obj : :: js_sys :: Object , } impl EffectTiming { pub fn new ( ) -> EffectTiming { let mut _ret = EffectTiming { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn delay ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "delay" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn direction ( & mut self , val : PlaybackDirection ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "direction" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn duration ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "duration" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn easing ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "easing" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn end_delay ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "endDelay" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn fill ( & mut self , val : FillMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "fill" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn iteration_start ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iterationStart" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn iterations ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iterations" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_EffectTiming : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < EffectTiming > for JsValue { # [ inline ] fn from ( val : EffectTiming ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for EffectTiming { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for EffectTiming { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for EffectTiming { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a EffectTiming { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for EffectTiming { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { EffectTiming { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for EffectTiming { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a EffectTiming { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for EffectTiming { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for EffectTiming { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < EffectTiming > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( EffectTiming { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for EffectTiming { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { EffectTiming { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const EffectTiming ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ElementCreationOptions { obj : :: js_sys :: Object , } impl ElementCreationOptions { pub fn new ( ) -> ElementCreationOptions { let mut _ret = ElementCreationOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn is ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "is" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pseudo ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pseudo" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ElementCreationOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ElementCreationOptions > for JsValue { # [ inline ] fn from ( val : ElementCreationOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ElementCreationOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ElementCreationOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ElementCreationOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ElementCreationOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ElementCreationOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ElementCreationOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ElementCreationOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ElementCreationOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ElementCreationOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ElementCreationOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ElementCreationOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ElementCreationOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ElementCreationOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ElementCreationOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ElementCreationOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ElementDefinitionOptions { obj : :: js_sys :: Object , } impl ElementDefinitionOptions { pub fn new ( ) -> ElementDefinitionOptions { let mut _ret = ElementDefinitionOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn extends ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "extends" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ElementDefinitionOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ElementDefinitionOptions > for JsValue { # [ inline ] fn from ( val : ElementDefinitionOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ElementDefinitionOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ElementDefinitionOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ElementDefinitionOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ElementDefinitionOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ElementDefinitionOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ElementDefinitionOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ElementDefinitionOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ElementDefinitionOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ElementDefinitionOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ElementDefinitionOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ElementDefinitionOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ElementDefinitionOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ElementDefinitionOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ElementDefinitionOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ElementDefinitionOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ErrorEventInit { obj : :: js_sys :: Object , } impl ErrorEventInit { pub fn new ( ) -> ErrorEventInit { let mut _ret = ErrorEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn colno ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "colno" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn error ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "error" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn filename ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "filename" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn lineno ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lineno" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn message ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "message" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ErrorEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ErrorEventInit > for JsValue { # [ inline ] fn from ( val : ErrorEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ErrorEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ErrorEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ErrorEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ErrorEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ErrorEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ErrorEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ErrorEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ErrorEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ErrorEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ErrorEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ErrorEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ErrorEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ErrorEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ErrorEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ErrorEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct EventInit { obj : :: js_sys :: Object , } impl EventInit { pub fn new ( ) -> EventInit { let mut _ret = EventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_EventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < EventInit > for JsValue { # [ inline ] fn from ( val : EventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for EventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for EventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for EventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a EventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for EventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { EventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for EventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a EventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for EventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for EventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < EventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( EventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for EventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { EventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const EventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct EventListenerOptions { obj : :: js_sys :: Object , } impl EventListenerOptions { pub fn new ( ) -> EventListenerOptions { let mut _ret = EventListenerOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn capture ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "capture" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_EventListenerOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < EventListenerOptions > for JsValue { # [ inline ] fn from ( val : EventListenerOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for EventListenerOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for EventListenerOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for EventListenerOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a EventListenerOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for EventListenerOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { EventListenerOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for EventListenerOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a EventListenerOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for EventListenerOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for EventListenerOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < EventListenerOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( EventListenerOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for EventListenerOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { EventListenerOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const EventListenerOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct EventModifierInit { obj : :: js_sys :: Object , } impl EventModifierInit { pub fn new ( ) -> EventModifierInit { let mut _ret = EventModifierInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detail ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detail" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn view ( & mut self , val : Option < & Window > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "view" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn alt_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "altKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ctrl_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ctrlKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn meta_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "metaKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_alt_graph ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierAltGraph" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_caps_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierCapsLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFn" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFnLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_num_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierNumLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_os ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierOS" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_scroll_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierScrollLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbol" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbolLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn shift_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "shiftKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_EventModifierInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < EventModifierInit > for JsValue { # [ inline ] fn from ( val : EventModifierInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for EventModifierInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for EventModifierInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for EventModifierInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a EventModifierInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for EventModifierInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { EventModifierInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for EventModifierInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a EventModifierInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for EventModifierInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for EventModifierInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < EventModifierInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( EventModifierInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for EventModifierInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { EventModifierInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const EventModifierInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct EventSourceInit { obj : :: js_sys :: Object , } impl EventSourceInit { pub fn new ( ) -> EventSourceInit { let mut _ret = EventSourceInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn with_credentials ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "withCredentials" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_EventSourceInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < EventSourceInit > for JsValue { # [ inline ] fn from ( val : EventSourceInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for EventSourceInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for EventSourceInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for EventSourceInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a EventSourceInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for EventSourceInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { EventSourceInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for EventSourceInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a EventSourceInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for EventSourceInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for EventSourceInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < EventSourceInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( EventSourceInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for EventSourceInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { EventSourceInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const EventSourceInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ExtendableEventInit { obj : :: js_sys :: Object , } impl ExtendableEventInit { pub fn new ( ) -> ExtendableEventInit { let mut _ret = ExtendableEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ExtendableEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ExtendableEventInit > for JsValue { # [ inline ] fn from ( val : ExtendableEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ExtendableEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ExtendableEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ExtendableEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ExtendableEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ExtendableEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ExtendableEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ExtendableEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ExtendableEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ExtendableEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ExtendableEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ExtendableEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ExtendableEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ExtendableEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ExtendableEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ExtendableEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ExtendableMessageEventInit { obj : :: js_sys :: Object , } impl ExtendableMessageEventInit { pub fn new ( ) -> ExtendableMessageEventInit { let mut _ret = ExtendableMessageEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn data ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "data" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn last_event_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lastEventId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn origin ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "origin" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn source ( & mut self , val : Option < & :: js_sys :: Object > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "source" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ExtendableMessageEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ExtendableMessageEventInit > for JsValue { # [ inline ] fn from ( val : ExtendableMessageEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ExtendableMessageEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ExtendableMessageEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ExtendableMessageEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ExtendableMessageEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ExtendableMessageEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ExtendableMessageEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ExtendableMessageEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ExtendableMessageEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ExtendableMessageEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ExtendableMessageEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ExtendableMessageEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ExtendableMessageEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ExtendableMessageEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ExtendableMessageEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ExtendableMessageEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct FakePluginMimeEntry { obj : :: js_sys :: Object , } impl FakePluginMimeEntry { pub fn new ( type_ : & str ) -> FakePluginMimeEntry { let mut _ret = FakePluginMimeEntry { obj : :: js_sys :: Object :: new ( ) } ; _ret . type_ ( type_ ) ; return _ret } pub fn description ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "description" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn extension ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "extension" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_FakePluginMimeEntry : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < FakePluginMimeEntry > for JsValue { # [ inline ] fn from ( val : FakePluginMimeEntry ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for FakePluginMimeEntry { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for FakePluginMimeEntry { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for FakePluginMimeEntry { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a FakePluginMimeEntry { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for FakePluginMimeEntry { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { FakePluginMimeEntry { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for FakePluginMimeEntry { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a FakePluginMimeEntry { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for FakePluginMimeEntry { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for FakePluginMimeEntry { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < FakePluginMimeEntry > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( FakePluginMimeEntry { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for FakePluginMimeEntry { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FakePluginMimeEntry { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FakePluginMimeEntry ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct FetchEventInit { obj : :: js_sys :: Object , } impl FetchEventInit { pub fn new ( request : & Request ) -> FetchEventInit { let mut _ret = FetchEventInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . request ( request ) ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn client_id ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn is_reload ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "isReload" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn request ( & mut self , val : & Request ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "request" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_FetchEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < FetchEventInit > for JsValue { # [ inline ] fn from ( val : FetchEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for FetchEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for FetchEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for FetchEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a FetchEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for FetchEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { FetchEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for FetchEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a FetchEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for FetchEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for FetchEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < FetchEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( FetchEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for FetchEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FetchEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FetchEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct FetchReadableStreamReadDataArray { obj : :: js_sys :: Object , } impl FetchReadableStreamReadDataArray { pub fn new ( ) -> FetchReadableStreamReadDataArray { let mut _ret = FetchReadableStreamReadDataArray { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_FetchReadableStreamReadDataArray : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < FetchReadableStreamReadDataArray > for JsValue { # [ inline ] fn from ( val : FetchReadableStreamReadDataArray ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for FetchReadableStreamReadDataArray { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for FetchReadableStreamReadDataArray { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for FetchReadableStreamReadDataArray { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a FetchReadableStreamReadDataArray { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for FetchReadableStreamReadDataArray { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { FetchReadableStreamReadDataArray { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for FetchReadableStreamReadDataArray { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a FetchReadableStreamReadDataArray { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for FetchReadableStreamReadDataArray { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for FetchReadableStreamReadDataArray { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < FetchReadableStreamReadDataArray > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( FetchReadableStreamReadDataArray { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for FetchReadableStreamReadDataArray { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FetchReadableStreamReadDataArray { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FetchReadableStreamReadDataArray ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct FetchReadableStreamReadDataDone { obj : :: js_sys :: Object , } impl FetchReadableStreamReadDataDone { pub fn new ( ) -> FetchReadableStreamReadDataDone { let mut _ret = FetchReadableStreamReadDataDone { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn done ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "done" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_FetchReadableStreamReadDataDone : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < FetchReadableStreamReadDataDone > for JsValue { # [ inline ] fn from ( val : FetchReadableStreamReadDataDone ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for FetchReadableStreamReadDataDone { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for FetchReadableStreamReadDataDone { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for FetchReadableStreamReadDataDone { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a FetchReadableStreamReadDataDone { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for FetchReadableStreamReadDataDone { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { FetchReadableStreamReadDataDone { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for FetchReadableStreamReadDataDone { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a FetchReadableStreamReadDataDone { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for FetchReadableStreamReadDataDone { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for FetchReadableStreamReadDataDone { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < FetchReadableStreamReadDataDone > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( FetchReadableStreamReadDataDone { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for FetchReadableStreamReadDataDone { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FetchReadableStreamReadDataDone { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FetchReadableStreamReadDataDone ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct FilePropertyBag { obj : :: js_sys :: Object , } impl FilePropertyBag { pub fn new ( ) -> FilePropertyBag { let mut _ret = FilePropertyBag { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn last_modified ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lastModified" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_FilePropertyBag : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < FilePropertyBag > for JsValue { # [ inline ] fn from ( val : FilePropertyBag ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for FilePropertyBag { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for FilePropertyBag { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for FilePropertyBag { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a FilePropertyBag { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for FilePropertyBag { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { FilePropertyBag { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for FilePropertyBag { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a FilePropertyBag { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for FilePropertyBag { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for FilePropertyBag { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < FilePropertyBag > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( FilePropertyBag { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for FilePropertyBag { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FilePropertyBag { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FilePropertyBag ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct FileSystemFlags { obj : :: js_sys :: Object , } impl FileSystemFlags { pub fn new ( ) -> FileSystemFlags { let mut _ret = FileSystemFlags { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn create ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "create" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn exclusive ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "exclusive" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_FileSystemFlags : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < FileSystemFlags > for JsValue { # [ inline ] fn from ( val : FileSystemFlags ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for FileSystemFlags { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for FileSystemFlags { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for FileSystemFlags { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a FileSystemFlags { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for FileSystemFlags { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { FileSystemFlags { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for FileSystemFlags { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a FileSystemFlags { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for FileSystemFlags { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for FileSystemFlags { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < FileSystemFlags > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( FileSystemFlags { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for FileSystemFlags { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FileSystemFlags { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FileSystemFlags ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct FocusEventInit { obj : :: js_sys :: Object , } impl FocusEventInit { pub fn new ( ) -> FocusEventInit { let mut _ret = FocusEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detail ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detail" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn view ( & mut self , val : Option < & Window > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "view" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn related_target ( & mut self , val : Option < & EventTarget > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "relatedTarget" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_FocusEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < FocusEventInit > for JsValue { # [ inline ] fn from ( val : FocusEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for FocusEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for FocusEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for FocusEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a FocusEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for FocusEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { FocusEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for FocusEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a FocusEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for FocusEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for FocusEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < FocusEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( FocusEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for FocusEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FocusEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FocusEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct FontFaceDescriptors { obj : :: js_sys :: Object , } impl FontFaceDescriptors { pub fn new ( ) -> FontFaceDescriptors { let mut _ret = FontFaceDescriptors { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn display ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "display" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn feature_settings ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "featureSettings" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stretch ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stretch" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn style ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "style" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn unicode_range ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "unicodeRange" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn variant ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "variant" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn variation_settings ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "variationSettings" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn weight ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "weight" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_FontFaceDescriptors : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < FontFaceDescriptors > for JsValue { # [ inline ] fn from ( val : FontFaceDescriptors ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for FontFaceDescriptors { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for FontFaceDescriptors { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for FontFaceDescriptors { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a FontFaceDescriptors { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for FontFaceDescriptors { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { FontFaceDescriptors { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for FontFaceDescriptors { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a FontFaceDescriptors { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for FontFaceDescriptors { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for FontFaceDescriptors { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < FontFaceDescriptors > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( FontFaceDescriptors { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for FontFaceDescriptors { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FontFaceDescriptors { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FontFaceDescriptors ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct FontFaceSetIteratorResult { obj : :: js_sys :: Object , } impl FontFaceSetIteratorResult { pub fn new ( done : bool , value : & :: wasm_bindgen :: JsValue ) -> FontFaceSetIteratorResult { let mut _ret = FontFaceSetIteratorResult { obj : :: js_sys :: Object :: new ( ) } ; _ret . done ( done ) ; _ret . value ( value ) ; return _ret } pub fn done ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "done" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn value ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "value" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_FontFaceSetIteratorResult : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < FontFaceSetIteratorResult > for JsValue { # [ inline ] fn from ( val : FontFaceSetIteratorResult ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for FontFaceSetIteratorResult { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for FontFaceSetIteratorResult { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for FontFaceSetIteratorResult { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a FontFaceSetIteratorResult { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for FontFaceSetIteratorResult { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { FontFaceSetIteratorResult { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for FontFaceSetIteratorResult { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a FontFaceSetIteratorResult { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for FontFaceSetIteratorResult { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for FontFaceSetIteratorResult { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < FontFaceSetIteratorResult > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( FontFaceSetIteratorResult { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for FontFaceSetIteratorResult { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FontFaceSetIteratorResult { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FontFaceSetIteratorResult ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct FontFaceSetLoadEventInit { obj : :: js_sys :: Object , } impl FontFaceSetLoadEventInit { pub fn new ( ) -> FontFaceSetLoadEventInit { let mut _ret = FontFaceSetLoadEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_FontFaceSetLoadEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < FontFaceSetLoadEventInit > for JsValue { # [ inline ] fn from ( val : FontFaceSetLoadEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for FontFaceSetLoadEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for FontFaceSetLoadEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for FontFaceSetLoadEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a FontFaceSetLoadEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for FontFaceSetLoadEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { FontFaceSetLoadEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for FontFaceSetLoadEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a FontFaceSetLoadEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for FontFaceSetLoadEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for FontFaceSetLoadEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < FontFaceSetLoadEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( FontFaceSetLoadEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for FontFaceSetLoadEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FontFaceSetLoadEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FontFaceSetLoadEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct GainOptions { obj : :: js_sys :: Object , } impl GainOptions { pub fn new ( ) -> GainOptions { let mut _ret = GainOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn gain ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "gain" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_GainOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < GainOptions > for JsValue { # [ inline ] fn from ( val : GainOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for GainOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for GainOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for GainOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a GainOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for GainOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { GainOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for GainOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a GainOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for GainOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for GainOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < GainOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( GainOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for GainOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GainOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GainOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct GamepadAxisMoveEventInit { obj : :: js_sys :: Object , } impl GamepadAxisMoveEventInit { pub fn new ( ) -> GamepadAxisMoveEventInit { let mut _ret = GamepadAxisMoveEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn gamepad ( & mut self , val : Option < & Gamepad > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "gamepad" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn axis ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "axis" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn value ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "value" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_GamepadAxisMoveEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < GamepadAxisMoveEventInit > for JsValue { # [ inline ] fn from ( val : GamepadAxisMoveEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for GamepadAxisMoveEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for GamepadAxisMoveEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for GamepadAxisMoveEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a GamepadAxisMoveEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for GamepadAxisMoveEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { GamepadAxisMoveEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for GamepadAxisMoveEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a GamepadAxisMoveEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for GamepadAxisMoveEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for GamepadAxisMoveEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < GamepadAxisMoveEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( GamepadAxisMoveEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for GamepadAxisMoveEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GamepadAxisMoveEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GamepadAxisMoveEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct GamepadButtonEventInit { obj : :: js_sys :: Object , } impl GamepadButtonEventInit { pub fn new ( ) -> GamepadButtonEventInit { let mut _ret = GamepadButtonEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn gamepad ( & mut self , val : Option < & Gamepad > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "gamepad" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn button ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "button" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_GamepadButtonEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < GamepadButtonEventInit > for JsValue { # [ inline ] fn from ( val : GamepadButtonEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for GamepadButtonEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for GamepadButtonEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for GamepadButtonEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a GamepadButtonEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for GamepadButtonEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { GamepadButtonEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for GamepadButtonEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a GamepadButtonEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for GamepadButtonEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for GamepadButtonEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < GamepadButtonEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( GamepadButtonEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for GamepadButtonEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GamepadButtonEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GamepadButtonEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct GamepadEventInit { obj : :: js_sys :: Object , } impl GamepadEventInit { pub fn new ( ) -> GamepadEventInit { let mut _ret = GamepadEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn gamepad ( & mut self , val : Option < & Gamepad > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "gamepad" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_GamepadEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < GamepadEventInit > for JsValue { # [ inline ] fn from ( val : GamepadEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for GamepadEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for GamepadEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for GamepadEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a GamepadEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for GamepadEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { GamepadEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for GamepadEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a GamepadEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for GamepadEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for GamepadEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < GamepadEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( GamepadEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for GamepadEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GamepadEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GamepadEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct GetNotificationOptions { obj : :: js_sys :: Object , } impl GetNotificationOptions { pub fn new ( ) -> GetNotificationOptions { let mut _ret = GetNotificationOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn tag ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "tag" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_GetNotificationOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < GetNotificationOptions > for JsValue { # [ inline ] fn from ( val : GetNotificationOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for GetNotificationOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for GetNotificationOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for GetNotificationOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a GetNotificationOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for GetNotificationOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { GetNotificationOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for GetNotificationOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a GetNotificationOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for GetNotificationOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for GetNotificationOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < GetNotificationOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( GetNotificationOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for GetNotificationOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GetNotificationOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GetNotificationOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct GetRootNodeOptions { obj : :: js_sys :: Object , } impl GetRootNodeOptions { pub fn new ( ) -> GetRootNodeOptions { let mut _ret = GetRootNodeOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_GetRootNodeOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < GetRootNodeOptions > for JsValue { # [ inline ] fn from ( val : GetRootNodeOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for GetRootNodeOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for GetRootNodeOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for GetRootNodeOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a GetRootNodeOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for GetRootNodeOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { GetRootNodeOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for GetRootNodeOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a GetRootNodeOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for GetRootNodeOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for GetRootNodeOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < GetRootNodeOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( GetRootNodeOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for GetRootNodeOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GetRootNodeOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GetRootNodeOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct GroupedHistoryEventInit { obj : :: js_sys :: Object , } impl GroupedHistoryEventInit { pub fn new ( ) -> GroupedHistoryEventInit { let mut _ret = GroupedHistoryEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn other_browser ( & mut self , val : Option < & Element > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "otherBrowser" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_GroupedHistoryEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < GroupedHistoryEventInit > for JsValue { # [ inline ] fn from ( val : GroupedHistoryEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for GroupedHistoryEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for GroupedHistoryEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for GroupedHistoryEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a GroupedHistoryEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for GroupedHistoryEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { GroupedHistoryEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for GroupedHistoryEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a GroupedHistoryEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for GroupedHistoryEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for GroupedHistoryEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < GroupedHistoryEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( GroupedHistoryEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for GroupedHistoryEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { GroupedHistoryEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const GroupedHistoryEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct HalfOpenInfoDict { obj : :: js_sys :: Object , } impl HalfOpenInfoDict { pub fn new ( ) -> HalfOpenInfoDict { let mut _ret = HalfOpenInfoDict { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn speculative ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "speculative" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_HalfOpenInfoDict : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < HalfOpenInfoDict > for JsValue { # [ inline ] fn from ( val : HalfOpenInfoDict ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for HalfOpenInfoDict { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for HalfOpenInfoDict { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for HalfOpenInfoDict { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a HalfOpenInfoDict { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for HalfOpenInfoDict { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { HalfOpenInfoDict { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for HalfOpenInfoDict { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a HalfOpenInfoDict { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for HalfOpenInfoDict { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for HalfOpenInfoDict { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < HalfOpenInfoDict > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( HalfOpenInfoDict { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for HalfOpenInfoDict { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HalfOpenInfoDict { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HalfOpenInfoDict ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct HashChangeEventInit { obj : :: js_sys :: Object , } impl HashChangeEventInit { pub fn new ( ) -> HashChangeEventInit { let mut _ret = HashChangeEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn new_url ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "newURL" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn old_url ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "oldURL" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_HashChangeEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < HashChangeEventInit > for JsValue { # [ inline ] fn from ( val : HashChangeEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for HashChangeEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for HashChangeEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for HashChangeEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a HashChangeEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for HashChangeEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { HashChangeEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for HashChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a HashChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for HashChangeEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for HashChangeEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < HashChangeEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( HashChangeEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for HashChangeEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HashChangeEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HashChangeEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct HiddenPluginEventInit { obj : :: js_sys :: Object , } impl HiddenPluginEventInit { pub fn new ( ) -> HiddenPluginEventInit { let mut _ret = HiddenPluginEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_HiddenPluginEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < HiddenPluginEventInit > for JsValue { # [ inline ] fn from ( val : HiddenPluginEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for HiddenPluginEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for HiddenPluginEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for HiddenPluginEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a HiddenPluginEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for HiddenPluginEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { HiddenPluginEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for HiddenPluginEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a HiddenPluginEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for HiddenPluginEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for HiddenPluginEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < HiddenPluginEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( HiddenPluginEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for HiddenPluginEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HiddenPluginEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HiddenPluginEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct HitRegionOptions { obj : :: js_sys :: Object , } impl HitRegionOptions { pub fn new ( ) -> HitRegionOptions { let mut _ret = HitRegionOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn control ( & mut self , val : Option < & Element > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "control" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn path ( & mut self , val : Option < & Path2d > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "path" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_HitRegionOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < HitRegionOptions > for JsValue { # [ inline ] fn from ( val : HitRegionOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for HitRegionOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for HitRegionOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for HitRegionOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a HitRegionOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for HitRegionOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { HitRegionOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for HitRegionOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a HitRegionOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for HitRegionOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for HitRegionOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < HitRegionOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( HitRegionOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for HitRegionOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HitRegionOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HitRegionOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct HkdfParams { obj : :: js_sys :: Object , } impl HkdfParams { pub fn new ( name : & str , hash : & :: wasm_bindgen :: JsValue , info : & :: js_sys :: Object , salt : & :: js_sys :: Object ) -> HkdfParams { let mut _ret = HkdfParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . hash ( hash ) ; _ret . info ( info ) ; _ret . salt ( salt ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn hash ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "hash" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn info ( & mut self , val : & :: js_sys :: Object ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "info" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn salt ( & mut self , val : & :: js_sys :: Object ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "salt" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_HkdfParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < HkdfParams > for JsValue { # [ inline ] fn from ( val : HkdfParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for HkdfParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for HkdfParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for HkdfParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a HkdfParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for HkdfParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { HkdfParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for HkdfParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a HkdfParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for HkdfParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for HkdfParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < HkdfParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( HkdfParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for HkdfParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HkdfParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HkdfParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct HmacDerivedKeyParams { obj : :: js_sys :: Object , } impl HmacDerivedKeyParams { pub fn new ( name : & str , hash : & :: wasm_bindgen :: JsValue ) -> HmacDerivedKeyParams { let mut _ret = HmacDerivedKeyParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . hash ( hash ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn hash ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "hash" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn length ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "length" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_HmacDerivedKeyParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < HmacDerivedKeyParams > for JsValue { # [ inline ] fn from ( val : HmacDerivedKeyParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for HmacDerivedKeyParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for HmacDerivedKeyParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for HmacDerivedKeyParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a HmacDerivedKeyParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for HmacDerivedKeyParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { HmacDerivedKeyParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for HmacDerivedKeyParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a HmacDerivedKeyParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for HmacDerivedKeyParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for HmacDerivedKeyParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < HmacDerivedKeyParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( HmacDerivedKeyParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for HmacDerivedKeyParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HmacDerivedKeyParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HmacDerivedKeyParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct HmacImportParams { obj : :: js_sys :: Object , } impl HmacImportParams { pub fn new ( name : & str , hash : & :: wasm_bindgen :: JsValue ) -> HmacImportParams { let mut _ret = HmacImportParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . hash ( hash ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn hash ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "hash" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_HmacImportParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < HmacImportParams > for JsValue { # [ inline ] fn from ( val : HmacImportParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for HmacImportParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for HmacImportParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for HmacImportParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a HmacImportParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for HmacImportParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { HmacImportParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for HmacImportParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a HmacImportParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for HmacImportParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for HmacImportParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < HmacImportParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( HmacImportParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for HmacImportParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HmacImportParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HmacImportParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct HmacKeyAlgorithm { obj : :: js_sys :: Object , } impl HmacKeyAlgorithm { pub fn new ( name : & str , hash : & KeyAlgorithm , length : u32 ) -> HmacKeyAlgorithm { let mut _ret = HmacKeyAlgorithm { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . hash ( hash ) ; _ret . length ( length ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn hash ( & mut self , val : & KeyAlgorithm ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "hash" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn length ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "length" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_HmacKeyAlgorithm : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < HmacKeyAlgorithm > for JsValue { # [ inline ] fn from ( val : HmacKeyAlgorithm ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for HmacKeyAlgorithm { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for HmacKeyAlgorithm { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for HmacKeyAlgorithm { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a HmacKeyAlgorithm { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for HmacKeyAlgorithm { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { HmacKeyAlgorithm { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for HmacKeyAlgorithm { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a HmacKeyAlgorithm { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for HmacKeyAlgorithm { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for HmacKeyAlgorithm { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < HmacKeyAlgorithm > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( HmacKeyAlgorithm { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for HmacKeyAlgorithm { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HmacKeyAlgorithm { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HmacKeyAlgorithm ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct HmacKeyGenParams { obj : :: js_sys :: Object , } impl HmacKeyGenParams { pub fn new ( name : & str , hash : & :: wasm_bindgen :: JsValue ) -> HmacKeyGenParams { let mut _ret = HmacKeyGenParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . hash ( hash ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn hash ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "hash" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn length ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "length" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_HmacKeyGenParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < HmacKeyGenParams > for JsValue { # [ inline ] fn from ( val : HmacKeyGenParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for HmacKeyGenParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for HmacKeyGenParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for HmacKeyGenParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a HmacKeyGenParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for HmacKeyGenParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { HmacKeyGenParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for HmacKeyGenParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a HmacKeyGenParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for HmacKeyGenParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for HmacKeyGenParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < HmacKeyGenParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( HmacKeyGenParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for HmacKeyGenParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HmacKeyGenParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HmacKeyGenParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct HttpConnDict { obj : :: js_sys :: Object , } impl HttpConnDict { pub fn new ( ) -> HttpConnDict { let mut _ret = HttpConnDict { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_HttpConnDict : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < HttpConnDict > for JsValue { # [ inline ] fn from ( val : HttpConnDict ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for HttpConnDict { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for HttpConnDict { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for HttpConnDict { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a HttpConnDict { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for HttpConnDict { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { HttpConnDict { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for HttpConnDict { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a HttpConnDict { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for HttpConnDict { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for HttpConnDict { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < HttpConnDict > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( HttpConnDict { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for HttpConnDict { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HttpConnDict { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HttpConnDict ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct HttpConnInfo { obj : :: js_sys :: Object , } impl HttpConnInfo { pub fn new ( ) -> HttpConnInfo { let mut _ret = HttpConnInfo { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn protocol_version ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "protocolVersion" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn rtt ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "rtt" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ttl ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ttl" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_HttpConnInfo : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < HttpConnInfo > for JsValue { # [ inline ] fn from ( val : HttpConnInfo ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for HttpConnInfo { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for HttpConnInfo { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for HttpConnInfo { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a HttpConnInfo { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for HttpConnInfo { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { HttpConnInfo { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for HttpConnInfo { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a HttpConnInfo { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for HttpConnInfo { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for HttpConnInfo { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < HttpConnInfo > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( HttpConnInfo { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for HttpConnInfo { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HttpConnInfo { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HttpConnInfo ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct HttpConnectionElement { obj : :: js_sys :: Object , } impl HttpConnectionElement { pub fn new ( ) -> HttpConnectionElement { let mut _ret = HttpConnectionElement { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn host ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "host" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn port ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "port" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn spdy ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "spdy" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ssl ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ssl" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_HttpConnectionElement : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < HttpConnectionElement > for JsValue { # [ inline ] fn from ( val : HttpConnectionElement ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for HttpConnectionElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for HttpConnectionElement { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for HttpConnectionElement { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a HttpConnectionElement { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for HttpConnectionElement { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { HttpConnectionElement { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for HttpConnectionElement { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a HttpConnectionElement { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for HttpConnectionElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for HttpConnectionElement { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < HttpConnectionElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( HttpConnectionElement { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for HttpConnectionElement { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { HttpConnectionElement { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const HttpConnectionElement ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct IdbFileMetadataParameters { obj : :: js_sys :: Object , } impl IdbFileMetadataParameters { pub fn new ( ) -> IdbFileMetadataParameters { let mut _ret = IdbFileMetadataParameters { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn last_modified ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lastModified" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn size ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "size" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_IdbFileMetadataParameters : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < IdbFileMetadataParameters > for JsValue { # [ inline ] fn from ( val : IdbFileMetadataParameters ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for IdbFileMetadataParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for IdbFileMetadataParameters { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for IdbFileMetadataParameters { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a IdbFileMetadataParameters { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for IdbFileMetadataParameters { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { IdbFileMetadataParameters { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for IdbFileMetadataParameters { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a IdbFileMetadataParameters { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for IdbFileMetadataParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for IdbFileMetadataParameters { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < IdbFileMetadataParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( IdbFileMetadataParameters { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for IdbFileMetadataParameters { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbFileMetadataParameters { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbFileMetadataParameters ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct IdbIndexParameters { obj : :: js_sys :: Object , } impl IdbIndexParameters { pub fn new ( ) -> IdbIndexParameters { let mut _ret = IdbIndexParameters { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn locale ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "locale" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn multi_entry ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "multiEntry" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn unique ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "unique" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_IdbIndexParameters : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < IdbIndexParameters > for JsValue { # [ inline ] fn from ( val : IdbIndexParameters ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for IdbIndexParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for IdbIndexParameters { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for IdbIndexParameters { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a IdbIndexParameters { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for IdbIndexParameters { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { IdbIndexParameters { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for IdbIndexParameters { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a IdbIndexParameters { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for IdbIndexParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for IdbIndexParameters { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < IdbIndexParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( IdbIndexParameters { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for IdbIndexParameters { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbIndexParameters { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbIndexParameters ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct IdbObjectStoreParameters { obj : :: js_sys :: Object , } impl IdbObjectStoreParameters { pub fn new ( ) -> IdbObjectStoreParameters { let mut _ret = IdbObjectStoreParameters { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn auto_increment ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "autoIncrement" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn key_path ( & mut self , val : Option < & :: wasm_bindgen :: JsValue > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "keyPath" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_IdbObjectStoreParameters : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < IdbObjectStoreParameters > for JsValue { # [ inline ] fn from ( val : IdbObjectStoreParameters ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for IdbObjectStoreParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for IdbObjectStoreParameters { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for IdbObjectStoreParameters { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a IdbObjectStoreParameters { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for IdbObjectStoreParameters { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { IdbObjectStoreParameters { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for IdbObjectStoreParameters { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a IdbObjectStoreParameters { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for IdbObjectStoreParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for IdbObjectStoreParameters { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < IdbObjectStoreParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( IdbObjectStoreParameters { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for IdbObjectStoreParameters { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbObjectStoreParameters { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbObjectStoreParameters ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct IdbOpenDbOptions { obj : :: js_sys :: Object , } impl IdbOpenDbOptions { pub fn new ( ) -> IdbOpenDbOptions { let mut _ret = IdbOpenDbOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn storage ( & mut self , val : StorageType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "storage" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn version ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "version" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_IdbOpenDbOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < IdbOpenDbOptions > for JsValue { # [ inline ] fn from ( val : IdbOpenDbOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for IdbOpenDbOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for IdbOpenDbOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for IdbOpenDbOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a IdbOpenDbOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for IdbOpenDbOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { IdbOpenDbOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for IdbOpenDbOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a IdbOpenDbOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for IdbOpenDbOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for IdbOpenDbOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < IdbOpenDbOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( IdbOpenDbOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for IdbOpenDbOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbOpenDbOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbOpenDbOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct IdbVersionChangeEventInit { obj : :: js_sys :: Object , } impl IdbVersionChangeEventInit { pub fn new ( ) -> IdbVersionChangeEventInit { let mut _ret = IdbVersionChangeEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn new_version ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "newVersion" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn old_version ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "oldVersion" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_IdbVersionChangeEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < IdbVersionChangeEventInit > for JsValue { # [ inline ] fn from ( val : IdbVersionChangeEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for IdbVersionChangeEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for IdbVersionChangeEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for IdbVersionChangeEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a IdbVersionChangeEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for IdbVersionChangeEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { IdbVersionChangeEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for IdbVersionChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a IdbVersionChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for IdbVersionChangeEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for IdbVersionChangeEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < IdbVersionChangeEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( IdbVersionChangeEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for IdbVersionChangeEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdbVersionChangeEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdbVersionChangeEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct IdleRequestOptions { obj : :: js_sys :: Object , } impl IdleRequestOptions { pub fn new ( ) -> IdleRequestOptions { let mut _ret = IdleRequestOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn timeout ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timeout" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_IdleRequestOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < IdleRequestOptions > for JsValue { # [ inline ] fn from ( val : IdleRequestOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for IdleRequestOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for IdleRequestOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for IdleRequestOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a IdleRequestOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for IdleRequestOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { IdleRequestOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for IdleRequestOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a IdleRequestOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for IdleRequestOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for IdleRequestOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < IdleRequestOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( IdleRequestOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for IdleRequestOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IdleRequestOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IdleRequestOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ImageCaptureErrorEventInit { obj : :: js_sys :: Object , } impl ImageCaptureErrorEventInit { pub fn new ( ) -> ImageCaptureErrorEventInit { let mut _ret = ImageCaptureErrorEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ImageCaptureErrorEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ImageCaptureErrorEventInit > for JsValue { # [ inline ] fn from ( val : ImageCaptureErrorEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ImageCaptureErrorEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ImageCaptureErrorEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ImageCaptureErrorEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ImageCaptureErrorEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ImageCaptureErrorEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ImageCaptureErrorEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ImageCaptureErrorEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ImageCaptureErrorEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ImageCaptureErrorEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ImageCaptureErrorEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ImageCaptureErrorEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ImageCaptureErrorEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ImageCaptureErrorEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ImageCaptureErrorEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ImageCaptureErrorEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct InputEventInit { obj : :: js_sys :: Object , } impl InputEventInit { pub fn new ( ) -> InputEventInit { let mut _ret = InputEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detail ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detail" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn view ( & mut self , val : Option < & Window > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "view" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn is_composing ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "isComposing" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_InputEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < InputEventInit > for JsValue { # [ inline ] fn from ( val : InputEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for InputEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for InputEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for InputEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a InputEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for InputEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { InputEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for InputEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a InputEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for InputEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for InputEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < InputEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( InputEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for InputEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { InputEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const InputEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct InstallTriggerData { obj : :: js_sys :: Object , } impl InstallTriggerData { pub fn new ( ) -> InstallTriggerData { let mut _ret = InstallTriggerData { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn hash ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "Hash" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn icon_url ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "IconURL" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn url ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "URL" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_InstallTriggerData : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < InstallTriggerData > for JsValue { # [ inline ] fn from ( val : InstallTriggerData ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for InstallTriggerData { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for InstallTriggerData { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for InstallTriggerData { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a InstallTriggerData { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for InstallTriggerData { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { InstallTriggerData { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for InstallTriggerData { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a InstallTriggerData { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for InstallTriggerData { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for InstallTriggerData { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < InstallTriggerData > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( InstallTriggerData { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for InstallTriggerData { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { InstallTriggerData { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const InstallTriggerData ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct IntersectionObserverEntryInit { obj : :: js_sys :: Object , } impl IntersectionObserverEntryInit { pub fn new ( bounding_client_rect : & DomRectInit , intersection_rect : & DomRectInit , root_bounds : & DomRectInit , target : & Element , time : f64 ) -> IntersectionObserverEntryInit { let mut _ret = IntersectionObserverEntryInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . bounding_client_rect ( bounding_client_rect ) ; _ret . intersection_rect ( intersection_rect ) ; _ret . root_bounds ( root_bounds ) ; _ret . target ( target ) ; _ret . time ( time ) ; return _ret } pub fn bounding_client_rect ( & mut self , val : & DomRectInit ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "boundingClientRect" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn intersection_rect ( & mut self , val : & DomRectInit ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "intersectionRect" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn root_bounds ( & mut self , val : & DomRectInit ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "rootBounds" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn target ( & mut self , val : & Element ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "target" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn time ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "time" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_IntersectionObserverEntryInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < IntersectionObserverEntryInit > for JsValue { # [ inline ] fn from ( val : IntersectionObserverEntryInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for IntersectionObserverEntryInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for IntersectionObserverEntryInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for IntersectionObserverEntryInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a IntersectionObserverEntryInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for IntersectionObserverEntryInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { IntersectionObserverEntryInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for IntersectionObserverEntryInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a IntersectionObserverEntryInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for IntersectionObserverEntryInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for IntersectionObserverEntryInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < IntersectionObserverEntryInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( IntersectionObserverEntryInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for IntersectionObserverEntryInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IntersectionObserverEntryInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IntersectionObserverEntryInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct IntersectionObserverInit { obj : :: js_sys :: Object , } impl IntersectionObserverInit { pub fn new ( ) -> IntersectionObserverInit { let mut _ret = IntersectionObserverInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn root ( & mut self , val : Option < & Element > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "root" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn root_margin ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "rootMargin" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn threshold ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "threshold" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_IntersectionObserverInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < IntersectionObserverInit > for JsValue { # [ inline ] fn from ( val : IntersectionObserverInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for IntersectionObserverInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for IntersectionObserverInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for IntersectionObserverInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a IntersectionObserverInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for IntersectionObserverInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { IntersectionObserverInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for IntersectionObserverInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a IntersectionObserverInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for IntersectionObserverInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for IntersectionObserverInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < IntersectionObserverInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( IntersectionObserverInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for IntersectionObserverInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IntersectionObserverInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IntersectionObserverInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct IterableKeyAndValueResult { obj : :: js_sys :: Object , } impl IterableKeyAndValueResult { pub fn new ( ) -> IterableKeyAndValueResult { let mut _ret = IterableKeyAndValueResult { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn done ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "done" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_IterableKeyAndValueResult : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < IterableKeyAndValueResult > for JsValue { # [ inline ] fn from ( val : IterableKeyAndValueResult ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for IterableKeyAndValueResult { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for IterableKeyAndValueResult { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for IterableKeyAndValueResult { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a IterableKeyAndValueResult { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for IterableKeyAndValueResult { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { IterableKeyAndValueResult { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for IterableKeyAndValueResult { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a IterableKeyAndValueResult { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for IterableKeyAndValueResult { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for IterableKeyAndValueResult { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < IterableKeyAndValueResult > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( IterableKeyAndValueResult { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for IterableKeyAndValueResult { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IterableKeyAndValueResult { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IterableKeyAndValueResult ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct IterableKeyOrValueResult { obj : :: js_sys :: Object , } impl IterableKeyOrValueResult { pub fn new ( ) -> IterableKeyOrValueResult { let mut _ret = IterableKeyOrValueResult { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn done ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "done" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn value ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "value" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_IterableKeyOrValueResult : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < IterableKeyOrValueResult > for JsValue { # [ inline ] fn from ( val : IterableKeyOrValueResult ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for IterableKeyOrValueResult { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for IterableKeyOrValueResult { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for IterableKeyOrValueResult { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a IterableKeyOrValueResult { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for IterableKeyOrValueResult { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { IterableKeyOrValueResult { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for IterableKeyOrValueResult { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a IterableKeyOrValueResult { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for IterableKeyOrValueResult { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for IterableKeyOrValueResult { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < IterableKeyOrValueResult > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( IterableKeyOrValueResult { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for IterableKeyOrValueResult { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { IterableKeyOrValueResult { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const IterableKeyOrValueResult ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct JsonWebKey { obj : :: js_sys :: Object , } impl JsonWebKey { pub fn new ( kty : & str ) -> JsonWebKey { let mut _ret = JsonWebKey { obj : :: js_sys :: Object :: new ( ) } ; _ret . kty ( kty ) ; return _ret } pub fn alg ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "alg" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn crv ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "crv" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn d ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "d" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dp ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dq ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dq" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn e ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "e" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ext ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ext" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn k ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "k" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn kty ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "kty" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn n ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "n" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn p ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "p" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn q ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "q" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn qi ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "qi" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn use_ ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "use" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn x ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "x" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn y ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "y" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_JsonWebKey : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < JsonWebKey > for JsValue { # [ inline ] fn from ( val : JsonWebKey ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for JsonWebKey { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for JsonWebKey { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for JsonWebKey { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a JsonWebKey { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for JsonWebKey { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { JsonWebKey { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for JsonWebKey { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a JsonWebKey { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for JsonWebKey { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for JsonWebKey { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < JsonWebKey > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( JsonWebKey { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for JsonWebKey { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { JsonWebKey { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const JsonWebKey ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct KeyAlgorithm { obj : :: js_sys :: Object , } impl KeyAlgorithm { pub fn new ( name : & str ) -> KeyAlgorithm { let mut _ret = KeyAlgorithm { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_KeyAlgorithm : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < KeyAlgorithm > for JsValue { # [ inline ] fn from ( val : KeyAlgorithm ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for KeyAlgorithm { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for KeyAlgorithm { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for KeyAlgorithm { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a KeyAlgorithm { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for KeyAlgorithm { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { KeyAlgorithm { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for KeyAlgorithm { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a KeyAlgorithm { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for KeyAlgorithm { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for KeyAlgorithm { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < KeyAlgorithm > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( KeyAlgorithm { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for KeyAlgorithm { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { KeyAlgorithm { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const KeyAlgorithm ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct KeyboardEventInit { obj : :: js_sys :: Object , } impl KeyboardEventInit { pub fn new ( ) -> KeyboardEventInit { let mut _ret = KeyboardEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detail ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detail" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn view ( & mut self , val : Option < & Window > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "view" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn alt_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "altKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ctrl_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ctrlKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn meta_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "metaKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_alt_graph ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierAltGraph" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_caps_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierCapsLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFn" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFnLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_num_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierNumLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_os ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierOS" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_scroll_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierScrollLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbol" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbolLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn shift_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "shiftKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn char_code ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "charCode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn code ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "code" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn is_composing ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "isComposing" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn key ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "key" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn key_code ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "keyCode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn location ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "location" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn repeat ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "repeat" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn which ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "which" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_KeyboardEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < KeyboardEventInit > for JsValue { # [ inline ] fn from ( val : KeyboardEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for KeyboardEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for KeyboardEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for KeyboardEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a KeyboardEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for KeyboardEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { KeyboardEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for KeyboardEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a KeyboardEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for KeyboardEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for KeyboardEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < KeyboardEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( KeyboardEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for KeyboardEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { KeyboardEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const KeyboardEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct KeyframeEffectOptions { obj : :: js_sys :: Object , } impl KeyframeEffectOptions { pub fn new ( ) -> KeyframeEffectOptions { let mut _ret = KeyframeEffectOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn delay ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "delay" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn direction ( & mut self , val : PlaybackDirection ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "direction" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn duration ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "duration" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn easing ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "easing" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn end_delay ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "endDelay" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn fill ( & mut self , val : FillMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "fill" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn iteration_start ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iterationStart" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn iterations ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iterations" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composite ( & mut self , val : CompositeOperation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composite" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn iteration_composite ( & mut self , val : IterationCompositeOperation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iterationComposite" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_KeyframeEffectOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < KeyframeEffectOptions > for JsValue { # [ inline ] fn from ( val : KeyframeEffectOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for KeyframeEffectOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for KeyframeEffectOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for KeyframeEffectOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a KeyframeEffectOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for KeyframeEffectOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { KeyframeEffectOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for KeyframeEffectOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a KeyframeEffectOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for KeyframeEffectOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for KeyframeEffectOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < KeyframeEffectOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( KeyframeEffectOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for KeyframeEffectOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { KeyframeEffectOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const KeyframeEffectOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct L10nElement { obj : :: js_sys :: Object , } impl L10nElement { pub fn new ( l10n_id : & str , local_name : & str , namespace_uri : & str ) -> L10nElement { let mut _ret = L10nElement { obj : :: js_sys :: Object :: new ( ) } ; _ret . l10n_id ( l10n_id ) ; _ret . local_name ( local_name ) ; _ret . namespace_uri ( namespace_uri ) ; return _ret } pub fn l10n_args ( & mut self , val : Option < & :: js_sys :: Object > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "l10nArgs" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn l10n_attrs ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "l10nAttrs" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn l10n_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "l10nId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn local_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "localName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn namespace_uri ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "namespaceURI" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_L10nElement : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < L10nElement > for JsValue { # [ inline ] fn from ( val : L10nElement ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for L10nElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for L10nElement { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for L10nElement { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a L10nElement { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for L10nElement { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { L10nElement { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for L10nElement { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a L10nElement { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for L10nElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for L10nElement { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < L10nElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( L10nElement { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for L10nElement { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { L10nElement { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const L10nElement ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct L10nValue { obj : :: js_sys :: Object , } impl L10nValue { pub fn new ( ) -> L10nValue { let mut _ret = L10nValue { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn value ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "value" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_L10nValue : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < L10nValue > for JsValue { # [ inline ] fn from ( val : L10nValue ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for L10nValue { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for L10nValue { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for L10nValue { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a L10nValue { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for L10nValue { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { L10nValue { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for L10nValue { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a L10nValue { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for L10nValue { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for L10nValue { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < L10nValue > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( L10nValue { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for L10nValue { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { L10nValue { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const L10nValue ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct LifecycleCallbacks { obj : :: js_sys :: Object , } impl LifecycleCallbacks { pub fn new ( ) -> LifecycleCallbacks { let mut _ret = LifecycleCallbacks { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn adopted_callback ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "adoptedCallback" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn attribute_changed_callback ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "attributeChangedCallback" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn connected_callback ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "connectedCallback" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn disconnected_callback ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "disconnectedCallback" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_LifecycleCallbacks : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < LifecycleCallbacks > for JsValue { # [ inline ] fn from ( val : LifecycleCallbacks ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for LifecycleCallbacks { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for LifecycleCallbacks { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for LifecycleCallbacks { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a LifecycleCallbacks { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for LifecycleCallbacks { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { LifecycleCallbacks { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for LifecycleCallbacks { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a LifecycleCallbacks { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for LifecycleCallbacks { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for LifecycleCallbacks { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < LifecycleCallbacks > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( LifecycleCallbacks { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for LifecycleCallbacks { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { LifecycleCallbacks { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const LifecycleCallbacks ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct LocaleInfo { obj : :: js_sys :: Object , } impl LocaleInfo { pub fn new ( ) -> LocaleInfo { let mut _ret = LocaleInfo { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn direction ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "direction" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn locale ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "locale" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_LocaleInfo : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < LocaleInfo > for JsValue { # [ inline ] fn from ( val : LocaleInfo ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for LocaleInfo { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for LocaleInfo { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for LocaleInfo { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a LocaleInfo { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for LocaleInfo { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { LocaleInfo { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for LocaleInfo { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a LocaleInfo { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for LocaleInfo { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for LocaleInfo { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < LocaleInfo > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( LocaleInfo { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for LocaleInfo { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { LocaleInfo { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const LocaleInfo ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MidiConnectionEventInit { obj : :: js_sys :: Object , } impl MidiConnectionEventInit { pub fn new ( ) -> MidiConnectionEventInit { let mut _ret = MidiConnectionEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn port ( & mut self , val : Option < & MidiPort > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "port" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MidiConnectionEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MidiConnectionEventInit > for JsValue { # [ inline ] fn from ( val : MidiConnectionEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MidiConnectionEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MidiConnectionEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MidiConnectionEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MidiConnectionEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MidiConnectionEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MidiConnectionEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MidiConnectionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MidiConnectionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MidiConnectionEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MidiConnectionEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MidiConnectionEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MidiConnectionEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MidiConnectionEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MidiConnectionEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MidiConnectionEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MidiMessageEventInit { obj : :: js_sys :: Object , } impl MidiMessageEventInit { pub fn new ( ) -> MidiMessageEventInit { let mut _ret = MidiMessageEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MidiMessageEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MidiMessageEventInit > for JsValue { # [ inline ] fn from ( val : MidiMessageEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MidiMessageEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MidiMessageEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MidiMessageEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MidiMessageEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MidiMessageEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MidiMessageEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MidiMessageEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MidiMessageEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MidiMessageEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MidiMessageEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MidiMessageEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MidiMessageEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MidiMessageEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MidiMessageEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MidiMessageEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MidiOptions { obj : :: js_sys :: Object , } impl MidiOptions { pub fn new ( ) -> MidiOptions { let mut _ret = MidiOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn software ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "software" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn sysex ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sysex" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MidiOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MidiOptions > for JsValue { # [ inline ] fn from ( val : MidiOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MidiOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MidiOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MidiOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MidiOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MidiOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MidiOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MidiOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MidiOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MidiOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MidiOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MidiOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MidiOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MidiOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MidiOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MidiOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaConfiguration { obj : :: js_sys :: Object , } impl MediaConfiguration { pub fn new ( ) -> MediaConfiguration { let mut _ret = MediaConfiguration { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn audio ( & mut self , val : & AudioConfiguration ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "audio" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn video ( & mut self , val : & VideoConfiguration ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "video" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaConfiguration : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaConfiguration > for JsValue { # [ inline ] fn from ( val : MediaConfiguration ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaConfiguration { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaConfiguration { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaConfiguration { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaConfiguration { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaConfiguration { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaConfiguration { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaConfiguration { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaConfiguration { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaConfiguration > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaConfiguration { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaConfiguration { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaConfiguration { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaConfiguration ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaDecodingConfiguration { obj : :: js_sys :: Object , } impl MediaDecodingConfiguration { pub fn new ( type_ : MediaDecodingType ) -> MediaDecodingConfiguration { let mut _ret = MediaDecodingConfiguration { obj : :: js_sys :: Object :: new ( ) } ; _ret . type_ ( type_ ) ; return _ret } pub fn audio ( & mut self , val : & AudioConfiguration ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "audio" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn video ( & mut self , val : & VideoConfiguration ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "video" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : MediaDecodingType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaDecodingConfiguration : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaDecodingConfiguration > for JsValue { # [ inline ] fn from ( val : MediaDecodingConfiguration ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaDecodingConfiguration { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaDecodingConfiguration { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaDecodingConfiguration { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaDecodingConfiguration { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaDecodingConfiguration { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaDecodingConfiguration { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaDecodingConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaDecodingConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaDecodingConfiguration { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaDecodingConfiguration { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaDecodingConfiguration > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaDecodingConfiguration { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaDecodingConfiguration { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaDecodingConfiguration { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaDecodingConfiguration ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaElementAudioSourceOptions { obj : :: js_sys :: Object , } impl MediaElementAudioSourceOptions { pub fn new ( media_element : & HtmlMediaElement ) -> MediaElementAudioSourceOptions { let mut _ret = MediaElementAudioSourceOptions { obj : :: js_sys :: Object :: new ( ) } ; _ret . media_element ( media_element ) ; return _ret } pub fn media_element ( & mut self , val : & HtmlMediaElement ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mediaElement" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaElementAudioSourceOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaElementAudioSourceOptions > for JsValue { # [ inline ] fn from ( val : MediaElementAudioSourceOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaElementAudioSourceOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaElementAudioSourceOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaElementAudioSourceOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaElementAudioSourceOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaElementAudioSourceOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaElementAudioSourceOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaElementAudioSourceOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaElementAudioSourceOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaElementAudioSourceOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaElementAudioSourceOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaElementAudioSourceOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaElementAudioSourceOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaElementAudioSourceOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaElementAudioSourceOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaElementAudioSourceOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaEncodingConfiguration { obj : :: js_sys :: Object , } impl MediaEncodingConfiguration { pub fn new ( type_ : MediaEncodingType ) -> MediaEncodingConfiguration { let mut _ret = MediaEncodingConfiguration { obj : :: js_sys :: Object :: new ( ) } ; _ret . type_ ( type_ ) ; return _ret } pub fn audio ( & mut self , val : & AudioConfiguration ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "audio" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn video ( & mut self , val : & VideoConfiguration ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "video" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : MediaEncodingType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaEncodingConfiguration : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaEncodingConfiguration > for JsValue { # [ inline ] fn from ( val : MediaEncodingConfiguration ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaEncodingConfiguration { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaEncodingConfiguration { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaEncodingConfiguration { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaEncodingConfiguration { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaEncodingConfiguration { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaEncodingConfiguration { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaEncodingConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaEncodingConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaEncodingConfiguration { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaEncodingConfiguration { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaEncodingConfiguration > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaEncodingConfiguration { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaEncodingConfiguration { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaEncodingConfiguration { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaEncodingConfiguration ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaKeyMessageEventInit { obj : :: js_sys :: Object , } impl MediaKeyMessageEventInit { pub fn new ( message : & :: js_sys :: ArrayBuffer , message_type : MediaKeyMessageType ) -> MediaKeyMessageEventInit { let mut _ret = MediaKeyMessageEventInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . message ( message ) ; _ret . message_type ( message_type ) ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn message ( & mut self , val : & :: js_sys :: ArrayBuffer ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "message" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn message_type ( & mut self , val : MediaKeyMessageType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "messageType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaKeyMessageEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaKeyMessageEventInit > for JsValue { # [ inline ] fn from ( val : MediaKeyMessageEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaKeyMessageEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaKeyMessageEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaKeyMessageEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaKeyMessageEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaKeyMessageEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaKeyMessageEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaKeyMessageEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaKeyMessageEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaKeyMessageEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaKeyMessageEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaKeyMessageEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaKeyMessageEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaKeyMessageEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaKeyMessageEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaKeyMessageEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaKeyNeededEventInit { obj : :: js_sys :: Object , } impl MediaKeyNeededEventInit { pub fn new ( ) -> MediaKeyNeededEventInit { let mut _ret = MediaKeyNeededEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn init_data ( & mut self , val : Option < & :: js_sys :: ArrayBuffer > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "initData" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn init_data_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "initDataType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaKeyNeededEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaKeyNeededEventInit > for JsValue { # [ inline ] fn from ( val : MediaKeyNeededEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaKeyNeededEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaKeyNeededEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaKeyNeededEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaKeyNeededEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaKeyNeededEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaKeyNeededEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaKeyNeededEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaKeyNeededEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaKeyNeededEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaKeyNeededEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaKeyNeededEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaKeyNeededEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaKeyNeededEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaKeyNeededEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaKeyNeededEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaKeySystemConfiguration { obj : :: js_sys :: Object , } impl MediaKeySystemConfiguration { pub fn new ( ) -> MediaKeySystemConfiguration { let mut _ret = MediaKeySystemConfiguration { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn distinctive_identifier ( & mut self , val : MediaKeysRequirement ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "distinctiveIdentifier" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn label ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "label" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn persistent_state ( & mut self , val : MediaKeysRequirement ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "persistentState" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaKeySystemConfiguration : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaKeySystemConfiguration > for JsValue { # [ inline ] fn from ( val : MediaKeySystemConfiguration ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaKeySystemConfiguration { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaKeySystemConfiguration { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaKeySystemConfiguration { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaKeySystemConfiguration { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaKeySystemConfiguration { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaKeySystemConfiguration { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaKeySystemConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaKeySystemConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaKeySystemConfiguration { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaKeySystemConfiguration { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaKeySystemConfiguration > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaKeySystemConfiguration { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaKeySystemConfiguration { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaKeySystemConfiguration { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaKeySystemConfiguration ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaKeySystemMediaCapability { obj : :: js_sys :: Object , } impl MediaKeySystemMediaCapability { pub fn new ( ) -> MediaKeySystemMediaCapability { let mut _ret = MediaKeySystemMediaCapability { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn content_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "contentType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn robustness ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "robustness" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaKeySystemMediaCapability : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaKeySystemMediaCapability > for JsValue { # [ inline ] fn from ( val : MediaKeySystemMediaCapability ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaKeySystemMediaCapability { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaKeySystemMediaCapability { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaKeySystemMediaCapability { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaKeySystemMediaCapability { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaKeySystemMediaCapability { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaKeySystemMediaCapability { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaKeySystemMediaCapability { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaKeySystemMediaCapability { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaKeySystemMediaCapability { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaKeySystemMediaCapability { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaKeySystemMediaCapability > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaKeySystemMediaCapability { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaKeySystemMediaCapability { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaKeySystemMediaCapability { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaKeySystemMediaCapability ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaKeysPolicy { obj : :: js_sys :: Object , } impl MediaKeysPolicy { pub fn new ( ) -> MediaKeysPolicy { let mut _ret = MediaKeysPolicy { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn min_hdcp_version ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "minHdcpVersion" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaKeysPolicy : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaKeysPolicy > for JsValue { # [ inline ] fn from ( val : MediaKeysPolicy ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaKeysPolicy { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaKeysPolicy { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaKeysPolicy { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaKeysPolicy { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaKeysPolicy { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaKeysPolicy { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaKeysPolicy { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaKeysPolicy { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaKeysPolicy { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaKeysPolicy { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaKeysPolicy > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaKeysPolicy { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaKeysPolicy { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaKeysPolicy { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaKeysPolicy ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaQueryListEventInit { obj : :: js_sys :: Object , } impl MediaQueryListEventInit { pub fn new ( ) -> MediaQueryListEventInit { let mut _ret = MediaQueryListEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn matches ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "matches" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn media ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "media" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaQueryListEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaQueryListEventInit > for JsValue { # [ inline ] fn from ( val : MediaQueryListEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaQueryListEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaQueryListEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaQueryListEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaQueryListEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaQueryListEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaQueryListEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaQueryListEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaQueryListEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaQueryListEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaQueryListEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaQueryListEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaQueryListEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaQueryListEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaQueryListEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaQueryListEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaRecorderErrorEventInit { obj : :: js_sys :: Object , } impl MediaRecorderErrorEventInit { pub fn new ( error : & DomException ) -> MediaRecorderErrorEventInit { let mut _ret = MediaRecorderErrorEventInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . error ( error ) ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn error ( & mut self , val : & DomException ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "error" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaRecorderErrorEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaRecorderErrorEventInit > for JsValue { # [ inline ] fn from ( val : MediaRecorderErrorEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaRecorderErrorEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaRecorderErrorEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaRecorderErrorEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaRecorderErrorEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaRecorderErrorEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaRecorderErrorEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaRecorderErrorEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaRecorderErrorEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaRecorderErrorEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaRecorderErrorEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaRecorderErrorEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaRecorderErrorEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaRecorderErrorEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaRecorderErrorEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaRecorderErrorEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaRecorderOptions { obj : :: js_sys :: Object , } impl MediaRecorderOptions { pub fn new ( ) -> MediaRecorderOptions { let mut _ret = MediaRecorderOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn audio_bits_per_second ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "audioBitsPerSecond" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bits_per_second ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bitsPerSecond" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn mime_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mimeType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn video_bits_per_second ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "videoBitsPerSecond" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaRecorderOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaRecorderOptions > for JsValue { # [ inline ] fn from ( val : MediaRecorderOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaRecorderOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaRecorderOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaRecorderOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaRecorderOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaRecorderOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaRecorderOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaRecorderOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaRecorderOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaRecorderOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaRecorderOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaRecorderOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaRecorderOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaRecorderOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaRecorderOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaRecorderOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaStreamAudioSourceOptions { obj : :: js_sys :: Object , } impl MediaStreamAudioSourceOptions { pub fn new ( media_stream : & MediaStream ) -> MediaStreamAudioSourceOptions { let mut _ret = MediaStreamAudioSourceOptions { obj : :: js_sys :: Object :: new ( ) } ; _ret . media_stream ( media_stream ) ; return _ret } pub fn media_stream ( & mut self , val : & MediaStream ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mediaStream" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaStreamAudioSourceOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaStreamAudioSourceOptions > for JsValue { # [ inline ] fn from ( val : MediaStreamAudioSourceOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaStreamAudioSourceOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaStreamAudioSourceOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaStreamAudioSourceOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaStreamAudioSourceOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaStreamAudioSourceOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaStreamAudioSourceOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaStreamAudioSourceOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaStreamAudioSourceOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaStreamAudioSourceOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaStreamAudioSourceOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaStreamAudioSourceOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaStreamAudioSourceOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaStreamAudioSourceOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaStreamAudioSourceOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaStreamAudioSourceOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaStreamConstraints { obj : :: js_sys :: Object , } impl MediaStreamConstraints { pub fn new ( ) -> MediaStreamConstraints { let mut _ret = MediaStreamConstraints { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn audio ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "audio" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn fake ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "fake" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn peer_identity ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "peerIdentity" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn picture ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "picture" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn video ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "video" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaStreamConstraints : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaStreamConstraints > for JsValue { # [ inline ] fn from ( val : MediaStreamConstraints ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaStreamConstraints { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaStreamConstraints { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaStreamConstraints { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaStreamConstraints { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaStreamConstraints { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaStreamConstraints { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaStreamConstraints { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaStreamConstraints { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaStreamConstraints { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaStreamConstraints { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaStreamConstraints > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaStreamConstraints { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaStreamConstraints { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaStreamConstraints { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaStreamConstraints ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaStreamEventInit { obj : :: js_sys :: Object , } impl MediaStreamEventInit { pub fn new ( ) -> MediaStreamEventInit { let mut _ret = MediaStreamEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stream ( & mut self , val : Option < & MediaStream > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stream" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaStreamEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaStreamEventInit > for JsValue { # [ inline ] fn from ( val : MediaStreamEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaStreamEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaStreamEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaStreamEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaStreamEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaStreamEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaStreamEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaStreamEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaStreamEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaStreamEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaStreamEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaStreamEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaStreamEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaStreamEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaStreamEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaStreamEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaStreamTrackEventInit { obj : :: js_sys :: Object , } impl MediaStreamTrackEventInit { pub fn new ( track : & MediaStreamTrack ) -> MediaStreamTrackEventInit { let mut _ret = MediaStreamTrackEventInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . track ( track ) ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn track ( & mut self , val : & MediaStreamTrack ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "track" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaStreamTrackEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaStreamTrackEventInit > for JsValue { # [ inline ] fn from ( val : MediaStreamTrackEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaStreamTrackEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaStreamTrackEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaStreamTrackEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaStreamTrackEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaStreamTrackEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaStreamTrackEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaStreamTrackEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaStreamTrackEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaStreamTrackEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaStreamTrackEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaStreamTrackEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaStreamTrackEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaStreamTrackEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaStreamTrackEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaStreamTrackEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaTrackConstraintSet { obj : :: js_sys :: Object , } impl MediaTrackConstraintSet { pub fn new ( ) -> MediaTrackConstraintSet { let mut _ret = MediaTrackConstraintSet { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn auto_gain_control ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "autoGainControl" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn browser_window ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "browserWindow" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn device_id ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "deviceId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn echo_cancellation ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "echoCancellation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn facing_mode ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "facingMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frame_rate ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "frameRate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn height ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "height" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn media_source ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mediaSource" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn noise_suppression ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "noiseSuppression" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn scroll_with_page ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "scrollWithPage" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn viewport_height ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "viewportHeight" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn viewport_offset_x ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "viewportOffsetX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn viewport_offset_y ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "viewportOffsetY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn viewport_width ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "viewportWidth" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn width ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "width" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaTrackConstraintSet : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaTrackConstraintSet > for JsValue { # [ inline ] fn from ( val : MediaTrackConstraintSet ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaTrackConstraintSet { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaTrackConstraintSet { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaTrackConstraintSet { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaTrackConstraintSet { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaTrackConstraintSet { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaTrackConstraintSet { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaTrackConstraintSet { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaTrackConstraintSet { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaTrackConstraintSet { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaTrackConstraintSet { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaTrackConstraintSet > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaTrackConstraintSet { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaTrackConstraintSet { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaTrackConstraintSet { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaTrackConstraintSet ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaTrackConstraints { obj : :: js_sys :: Object , } impl MediaTrackConstraints { pub fn new ( ) -> MediaTrackConstraints { let mut _ret = MediaTrackConstraints { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn auto_gain_control ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "autoGainControl" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn browser_window ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "browserWindow" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn device_id ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "deviceId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn echo_cancellation ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "echoCancellation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn facing_mode ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "facingMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frame_rate ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "frameRate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn height ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "height" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn media_source ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mediaSource" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn noise_suppression ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "noiseSuppression" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn scroll_with_page ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "scrollWithPage" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn viewport_height ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "viewportHeight" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn viewport_offset_x ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "viewportOffsetX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn viewport_offset_y ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "viewportOffsetY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn viewport_width ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "viewportWidth" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn width ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "width" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaTrackConstraints : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaTrackConstraints > for JsValue { # [ inline ] fn from ( val : MediaTrackConstraints ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaTrackConstraints { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaTrackConstraints { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaTrackConstraints { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaTrackConstraints { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaTrackConstraints { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaTrackConstraints { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaTrackConstraints { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaTrackConstraints { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaTrackConstraints { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaTrackConstraints { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaTrackConstraints > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaTrackConstraints { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaTrackConstraints { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaTrackConstraints { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaTrackConstraints ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaTrackSettings { obj : :: js_sys :: Object , } impl MediaTrackSettings { pub fn new ( ) -> MediaTrackSettings { let mut _ret = MediaTrackSettings { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn auto_gain_control ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "autoGainControl" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn device_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "deviceId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn echo_cancellation ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "echoCancellation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn facing_mode ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "facingMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frame_rate ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "frameRate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn height ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "height" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn noise_suppression ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "noiseSuppression" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn width ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "width" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaTrackSettings : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaTrackSettings > for JsValue { # [ inline ] fn from ( val : MediaTrackSettings ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaTrackSettings { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaTrackSettings { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaTrackSettings { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaTrackSettings { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaTrackSettings { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaTrackSettings { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaTrackSettings { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaTrackSettings { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaTrackSettings { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaTrackSettings { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaTrackSettings > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaTrackSettings { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaTrackSettings { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaTrackSettings { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaTrackSettings ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MediaTrackSupportedConstraints { obj : :: js_sys :: Object , } impl MediaTrackSupportedConstraints { pub fn new ( ) -> MediaTrackSupportedConstraints { let mut _ret = MediaTrackSupportedConstraints { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn aspect_ratio ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "aspectRatio" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn auto_gain_control ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "autoGainControl" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn device_id ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "deviceId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn echo_cancellation ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "echoCancellation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn facing_mode ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "facingMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frame_rate ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "frameRate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn group_id ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "groupId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn height ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "height" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn latency ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "latency" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn noise_suppression ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "noiseSuppression" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn sample_rate ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sampleRate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn sample_size ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sampleSize" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn volume ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "volume" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn width ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "width" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MediaTrackSupportedConstraints : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MediaTrackSupportedConstraints > for JsValue { # [ inline ] fn from ( val : MediaTrackSupportedConstraints ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MediaTrackSupportedConstraints { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MediaTrackSupportedConstraints { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MediaTrackSupportedConstraints { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MediaTrackSupportedConstraints { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MediaTrackSupportedConstraints { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MediaTrackSupportedConstraints { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MediaTrackSupportedConstraints { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MediaTrackSupportedConstraints { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MediaTrackSupportedConstraints { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MediaTrackSupportedConstraints { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MediaTrackSupportedConstraints > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MediaTrackSupportedConstraints { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MediaTrackSupportedConstraints { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MediaTrackSupportedConstraints { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MediaTrackSupportedConstraints ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MessageEventInit { obj : :: js_sys :: Object , } impl MessageEventInit { pub fn new ( ) -> MessageEventInit { let mut _ret = MessageEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn data ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "data" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn last_event_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lastEventId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn origin ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "origin" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn source ( & mut self , val : Option < & :: js_sys :: Object > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "source" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MessageEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MessageEventInit > for JsValue { # [ inline ] fn from ( val : MessageEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MessageEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MessageEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MessageEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MessageEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MessageEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MessageEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MessageEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MessageEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MessageEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MessageEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MessageEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MessageEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MessageEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MessageEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MessageEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MouseEventInit { obj : :: js_sys :: Object , } impl MouseEventInit { pub fn new ( ) -> MouseEventInit { let mut _ret = MouseEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detail ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detail" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn view ( & mut self , val : Option < & Window > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "view" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn alt_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "altKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ctrl_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ctrlKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn meta_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "metaKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_alt_graph ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierAltGraph" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_caps_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierCapsLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFn" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFnLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_num_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierNumLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_os ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierOS" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_scroll_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierScrollLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbol" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbolLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn shift_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "shiftKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn button ( & mut self , val : i16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "button" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn buttons ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "buttons" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn client_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn client_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn movement_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "movementX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn movement_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "movementY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn related_target ( & mut self , val : Option < & EventTarget > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "relatedTarget" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn screen_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "screenX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn screen_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "screenY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MouseEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MouseEventInit > for JsValue { # [ inline ] fn from ( val : MouseEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MouseEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MouseEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MouseEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MouseEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MouseEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MouseEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MouseEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MouseEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MouseEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MouseEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MouseEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MouseEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MouseEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MouseEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MouseEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MutationObserverInit { obj : :: js_sys :: Object , } impl MutationObserverInit { pub fn new ( ) -> MutationObserverInit { let mut _ret = MutationObserverInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn animations ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "animations" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn attribute_old_value ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "attributeOldValue" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn attributes ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "attributes" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn character_data ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "characterData" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn character_data_old_value ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "characterDataOldValue" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn child_list ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "childList" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn native_anonymous_child_list ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "nativeAnonymousChildList" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn subtree ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "subtree" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MutationObserverInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MutationObserverInit > for JsValue { # [ inline ] fn from ( val : MutationObserverInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MutationObserverInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MutationObserverInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MutationObserverInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MutationObserverInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MutationObserverInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MutationObserverInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MutationObserverInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MutationObserverInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MutationObserverInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MutationObserverInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MutationObserverInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MutationObserverInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MutationObserverInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MutationObserverInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MutationObserverInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct MutationObservingInfo { obj : :: js_sys :: Object , } impl MutationObservingInfo { pub fn new ( ) -> MutationObservingInfo { let mut _ret = MutationObservingInfo { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn animations ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "animations" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn attribute_old_value ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "attributeOldValue" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn attributes ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "attributes" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn character_data ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "characterData" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn character_data_old_value ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "characterDataOldValue" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn child_list ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "childList" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn native_anonymous_child_list ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "nativeAnonymousChildList" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn subtree ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "subtree" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn observed_node ( & mut self , val : Option < & Node > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "observedNode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_MutationObservingInfo : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < MutationObservingInfo > for JsValue { # [ inline ] fn from ( val : MutationObservingInfo ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for MutationObservingInfo { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for MutationObservingInfo { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for MutationObservingInfo { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a MutationObservingInfo { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for MutationObservingInfo { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { MutationObservingInfo { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for MutationObservingInfo { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a MutationObservingInfo { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for MutationObservingInfo { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for MutationObservingInfo { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < MutationObservingInfo > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( MutationObservingInfo { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for MutationObservingInfo { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { MutationObservingInfo { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const MutationObservingInfo ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct NativeOsFileReadOptions { obj : :: js_sys :: Object , } impl NativeOsFileReadOptions { pub fn new ( ) -> NativeOsFileReadOptions { let mut _ret = NativeOsFileReadOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bytes ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bytes" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn encoding ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "encoding" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_NativeOsFileReadOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < NativeOsFileReadOptions > for JsValue { # [ inline ] fn from ( val : NativeOsFileReadOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for NativeOsFileReadOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for NativeOsFileReadOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for NativeOsFileReadOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a NativeOsFileReadOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for NativeOsFileReadOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { NativeOsFileReadOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for NativeOsFileReadOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a NativeOsFileReadOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for NativeOsFileReadOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for NativeOsFileReadOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < NativeOsFileReadOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( NativeOsFileReadOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for NativeOsFileReadOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { NativeOsFileReadOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const NativeOsFileReadOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct NativeOsFileWriteAtomicOptions { obj : :: js_sys :: Object , } impl NativeOsFileWriteAtomicOptions { pub fn new ( ) -> NativeOsFileWriteAtomicOptions { let mut _ret = NativeOsFileWriteAtomicOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn backup_to ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "backupTo" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bytes ( & mut self , val : Option < f64 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bytes" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn flush ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "flush" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn no_overwrite ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "noOverwrite" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn tmp_path ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "tmpPath" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_NativeOsFileWriteAtomicOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < NativeOsFileWriteAtomicOptions > for JsValue { # [ inline ] fn from ( val : NativeOsFileWriteAtomicOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for NativeOsFileWriteAtomicOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for NativeOsFileWriteAtomicOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for NativeOsFileWriteAtomicOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a NativeOsFileWriteAtomicOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for NativeOsFileWriteAtomicOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { NativeOsFileWriteAtomicOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for NativeOsFileWriteAtomicOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a NativeOsFileWriteAtomicOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for NativeOsFileWriteAtomicOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for NativeOsFileWriteAtomicOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < NativeOsFileWriteAtomicOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( NativeOsFileWriteAtomicOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for NativeOsFileWriteAtomicOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { NativeOsFileWriteAtomicOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const NativeOsFileWriteAtomicOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct NetworkCommandOptions { obj : :: js_sys :: Object , } impl NetworkCommandOptions { pub fn new ( ) -> NetworkCommandOptions { let mut _ret = NetworkCommandOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn cmd ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cmd" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cur_external_ifname ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "curExternalIfname" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cur_internal_ifname ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "curInternalIfname" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dns1 ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dns1" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dns1_long ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dns1_long" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dns2 ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dns2" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dns2_long ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dns2_long" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn domain ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "domain" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn enable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "enable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn enabled ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "enabled" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn end_ip ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "endIp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn external_ifname ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "externalIfname" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn gateway ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "gateway" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn gateway_long ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "gateway_long" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn id ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ifname ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ifname" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn internal_ifname ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "internalIfname" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ip ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ip" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ipaddr ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ipaddr" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn key ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "key" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn link ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "link" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn mask ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mask" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn mask_length ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "maskLength" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn mode ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn mtu ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mtu" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pre_external_ifname ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "preExternalIfname" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pre_internal_ifname ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "preInternalIfname" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn prefix ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "prefix" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn prefix_length ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "prefixLength" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn report ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "report" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn security ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "security" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn server_ip ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "serverIp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ssid ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ssid" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn start_ip ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "startIp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn threshold ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "threshold" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn usb_end_ip ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "usbEndIp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn usb_start_ip ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "usbStartIp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn wifi_end_ip ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "wifiEndIp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn wifi_start_ip ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "wifiStartIp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn wifictrlinterfacename ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "wifictrlinterfacename" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_NetworkCommandOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < NetworkCommandOptions > for JsValue { # [ inline ] fn from ( val : NetworkCommandOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for NetworkCommandOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for NetworkCommandOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for NetworkCommandOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a NetworkCommandOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for NetworkCommandOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { NetworkCommandOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for NetworkCommandOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a NetworkCommandOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for NetworkCommandOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for NetworkCommandOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < NetworkCommandOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( NetworkCommandOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for NetworkCommandOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { NetworkCommandOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const NetworkCommandOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct NetworkResultOptions { obj : :: js_sys :: Object , } impl NetworkResultOptions { pub fn new ( ) -> NetworkResultOptions { let mut _ret = NetworkResultOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn broadcast ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "broadcast" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cur_external_ifname ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "curExternalIfname" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cur_internal_ifname ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "curInternalIfname" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dns1 ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dns1" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dns1_str ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dns1_str" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dns2 ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dns2" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dns2_str ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dns2_str" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn enable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "enable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn error ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "error" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn flag ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "flag" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn gateway ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "gateway" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn gateway_str ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "gateway_str" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn id ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ip_addr ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ipAddr" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ipaddr ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ipaddr" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ipaddr_str ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ipaddr_str" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn lease ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lease" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn mac_addr ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "macAddr" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn mask ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mask" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn mask_str ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mask_str" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn net_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "netId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn prefix_length ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "prefixLength" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn reason ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "reason" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn reply ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "reply" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn result ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "result" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn result_code ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "resultCode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn result_reason ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "resultReason" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ret ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ret" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn route ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "route" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn server ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "server" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn server_str ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "server_str" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn success ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "success" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn topic ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "topic" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn vendor_str ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "vendor_str" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_NetworkResultOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < NetworkResultOptions > for JsValue { # [ inline ] fn from ( val : NetworkResultOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for NetworkResultOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for NetworkResultOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for NetworkResultOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a NetworkResultOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for NetworkResultOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { NetworkResultOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for NetworkResultOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a NetworkResultOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for NetworkResultOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for NetworkResultOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < NetworkResultOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( NetworkResultOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for NetworkResultOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { NetworkResultOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const NetworkResultOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct NotificationBehavior { obj : :: js_sys :: Object , } impl NotificationBehavior { pub fn new ( ) -> NotificationBehavior { let mut _ret = NotificationBehavior { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn noclear ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "noclear" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn noscreen ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "noscreen" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn show_only_once ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "showOnlyOnce" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn sound_file ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "soundFile" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_NotificationBehavior : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < NotificationBehavior > for JsValue { # [ inline ] fn from ( val : NotificationBehavior ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for NotificationBehavior { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for NotificationBehavior { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for NotificationBehavior { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a NotificationBehavior { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for NotificationBehavior { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { NotificationBehavior { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for NotificationBehavior { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a NotificationBehavior { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for NotificationBehavior { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for NotificationBehavior { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < NotificationBehavior > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( NotificationBehavior { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for NotificationBehavior { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { NotificationBehavior { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const NotificationBehavior ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct NotificationEventInit { obj : :: js_sys :: Object , } impl NotificationEventInit { pub fn new ( notification : & Notification ) -> NotificationEventInit { let mut _ret = NotificationEventInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . notification ( notification ) ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn notification ( & mut self , val : & Notification ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "notification" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_NotificationEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < NotificationEventInit > for JsValue { # [ inline ] fn from ( val : NotificationEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for NotificationEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for NotificationEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for NotificationEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a NotificationEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for NotificationEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { NotificationEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for NotificationEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a NotificationEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for NotificationEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for NotificationEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < NotificationEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( NotificationEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for NotificationEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { NotificationEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const NotificationEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct NotificationOptions { obj : :: js_sys :: Object , } impl NotificationOptions { pub fn new ( ) -> NotificationOptions { let mut _ret = NotificationOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn body ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "body" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn data ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "data" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dir ( & mut self , val : NotificationDirection ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dir" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn icon ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "icon" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn lang ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lang" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn require_interaction ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "requireInteraction" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn tag ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "tag" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_NotificationOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < NotificationOptions > for JsValue { # [ inline ] fn from ( val : NotificationOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for NotificationOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for NotificationOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for NotificationOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a NotificationOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for NotificationOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { NotificationOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for NotificationOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a NotificationOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for NotificationOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for NotificationOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < NotificationOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( NotificationOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for NotificationOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { NotificationOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const NotificationOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct OfflineAudioCompletionEventInit { obj : :: js_sys :: Object , } impl OfflineAudioCompletionEventInit { pub fn new ( rendered_buffer : & AudioBuffer ) -> OfflineAudioCompletionEventInit { let mut _ret = OfflineAudioCompletionEventInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . rendered_buffer ( rendered_buffer ) ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn rendered_buffer ( & mut self , val : & AudioBuffer ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "renderedBuffer" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_OfflineAudioCompletionEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < OfflineAudioCompletionEventInit > for JsValue { # [ inline ] fn from ( val : OfflineAudioCompletionEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for OfflineAudioCompletionEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for OfflineAudioCompletionEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for OfflineAudioCompletionEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a OfflineAudioCompletionEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for OfflineAudioCompletionEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { OfflineAudioCompletionEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for OfflineAudioCompletionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a OfflineAudioCompletionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for OfflineAudioCompletionEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for OfflineAudioCompletionEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < OfflineAudioCompletionEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( OfflineAudioCompletionEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for OfflineAudioCompletionEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { OfflineAudioCompletionEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const OfflineAudioCompletionEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct OfflineAudioContextOptions { obj : :: js_sys :: Object , } impl OfflineAudioContextOptions { pub fn new ( length : u32 , sample_rate : f32 ) -> OfflineAudioContextOptions { let mut _ret = OfflineAudioContextOptions { obj : :: js_sys :: Object :: new ( ) } ; _ret . length ( length ) ; _ret . sample_rate ( sample_rate ) ; return _ret } pub fn length ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "length" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn number_of_channels ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "numberOfChannels" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn sample_rate ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sampleRate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_OfflineAudioContextOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < OfflineAudioContextOptions > for JsValue { # [ inline ] fn from ( val : OfflineAudioContextOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for OfflineAudioContextOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for OfflineAudioContextOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for OfflineAudioContextOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a OfflineAudioContextOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for OfflineAudioContextOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { OfflineAudioContextOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for OfflineAudioContextOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a OfflineAudioContextOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for OfflineAudioContextOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for OfflineAudioContextOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < OfflineAudioContextOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( OfflineAudioContextOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for OfflineAudioContextOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { OfflineAudioContextOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const OfflineAudioContextOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct OpenWindowEventDetail { obj : :: js_sys :: Object , } impl OpenWindowEventDetail { pub fn new ( ) -> OpenWindowEventDetail { let mut _ret = OpenWindowEventDetail { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn features ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "features" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frame_element ( & mut self , val : Option < & Node > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "frameElement" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn url ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "url" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_OpenWindowEventDetail : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < OpenWindowEventDetail > for JsValue { # [ inline ] fn from ( val : OpenWindowEventDetail ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for OpenWindowEventDetail { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for OpenWindowEventDetail { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for OpenWindowEventDetail { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a OpenWindowEventDetail { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for OpenWindowEventDetail { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { OpenWindowEventDetail { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for OpenWindowEventDetail { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a OpenWindowEventDetail { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for OpenWindowEventDetail { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for OpenWindowEventDetail { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < OpenWindowEventDetail > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( OpenWindowEventDetail { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for OpenWindowEventDetail { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { OpenWindowEventDetail { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const OpenWindowEventDetail ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct OptionalEffectTiming { obj : :: js_sys :: Object , } impl OptionalEffectTiming { pub fn new ( ) -> OptionalEffectTiming { let mut _ret = OptionalEffectTiming { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn delay ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "delay" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn direction ( & mut self , val : PlaybackDirection ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "direction" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn duration ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "duration" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn easing ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "easing" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn end_delay ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "endDelay" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn fill ( & mut self , val : FillMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "fill" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn iteration_start ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iterationStart" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn iterations ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iterations" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_OptionalEffectTiming : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < OptionalEffectTiming > for JsValue { # [ inline ] fn from ( val : OptionalEffectTiming ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for OptionalEffectTiming { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for OptionalEffectTiming { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for OptionalEffectTiming { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a OptionalEffectTiming { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for OptionalEffectTiming { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { OptionalEffectTiming { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for OptionalEffectTiming { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a OptionalEffectTiming { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for OptionalEffectTiming { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for OptionalEffectTiming { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < OptionalEffectTiming > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( OptionalEffectTiming { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for OptionalEffectTiming { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { OptionalEffectTiming { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const OptionalEffectTiming ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct OscillatorOptions { obj : :: js_sys :: Object , } impl OscillatorOptions { pub fn new ( ) -> OscillatorOptions { let mut _ret = OscillatorOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detune ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detune" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frequency ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "frequency" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn periodic_wave ( & mut self , val : & PeriodicWave ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "periodicWave" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : OscillatorType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_OscillatorOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < OscillatorOptions > for JsValue { # [ inline ] fn from ( val : OscillatorOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for OscillatorOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for OscillatorOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for OscillatorOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a OscillatorOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for OscillatorOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { OscillatorOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for OscillatorOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a OscillatorOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for OscillatorOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for OscillatorOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < OscillatorOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( OscillatorOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for OscillatorOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { OscillatorOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const OscillatorOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PageTransitionEventInit { obj : :: js_sys :: Object , } impl PageTransitionEventInit { pub fn new ( ) -> PageTransitionEventInit { let mut _ret = PageTransitionEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn in_frame_swap ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "inFrameSwap" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn persisted ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "persisted" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PageTransitionEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PageTransitionEventInit > for JsValue { # [ inline ] fn from ( val : PageTransitionEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PageTransitionEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PageTransitionEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PageTransitionEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PageTransitionEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PageTransitionEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PageTransitionEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PageTransitionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PageTransitionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PageTransitionEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PageTransitionEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PageTransitionEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PageTransitionEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PageTransitionEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PageTransitionEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PageTransitionEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PannerOptions { obj : :: js_sys :: Object , } impl PannerOptions { pub fn new ( ) -> PannerOptions { let mut _ret = PannerOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cone_inner_angle ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "coneInnerAngle" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cone_outer_angle ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "coneOuterAngle" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cone_outer_gain ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "coneOuterGain" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn distance_model ( & mut self , val : DistanceModelType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "distanceModel" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn max_distance ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "maxDistance" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn orientation_x ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "orientationX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn orientation_y ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "orientationY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn orientation_z ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "orientationZ" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn panning_model ( & mut self , val : PanningModelType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "panningModel" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn position_x ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "positionX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn position_y ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "positionY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn position_z ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "positionZ" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ref_distance ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "refDistance" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn rolloff_factor ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "rolloffFactor" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PannerOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PannerOptions > for JsValue { # [ inline ] fn from ( val : PannerOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PannerOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PannerOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PannerOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PannerOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PannerOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PannerOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PannerOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PannerOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PannerOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PannerOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PannerOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PannerOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PannerOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PannerOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PannerOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PaymentMethodChangeEventInit { obj : :: js_sys :: Object , } impl PaymentMethodChangeEventInit { pub fn new ( method_name : & str ) -> PaymentMethodChangeEventInit { let mut _ret = PaymentMethodChangeEventInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . method_name ( method_name ) ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn method_details ( & mut self , val : Option < & :: js_sys :: Object > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "methodDetails" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn method_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "methodName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PaymentMethodChangeEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PaymentMethodChangeEventInit > for JsValue { # [ inline ] fn from ( val : PaymentMethodChangeEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PaymentMethodChangeEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PaymentMethodChangeEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PaymentMethodChangeEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PaymentMethodChangeEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PaymentMethodChangeEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PaymentMethodChangeEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PaymentMethodChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PaymentMethodChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PaymentMethodChangeEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PaymentMethodChangeEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PaymentMethodChangeEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PaymentMethodChangeEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PaymentMethodChangeEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PaymentMethodChangeEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PaymentMethodChangeEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PaymentRequestUpdateEventInit { obj : :: js_sys :: Object , } impl PaymentRequestUpdateEventInit { pub fn new ( ) -> PaymentRequestUpdateEventInit { let mut _ret = PaymentRequestUpdateEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PaymentRequestUpdateEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PaymentRequestUpdateEventInit > for JsValue { # [ inline ] fn from ( val : PaymentRequestUpdateEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PaymentRequestUpdateEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PaymentRequestUpdateEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PaymentRequestUpdateEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PaymentRequestUpdateEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PaymentRequestUpdateEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PaymentRequestUpdateEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PaymentRequestUpdateEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PaymentRequestUpdateEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PaymentRequestUpdateEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PaymentRequestUpdateEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PaymentRequestUpdateEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PaymentRequestUpdateEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PaymentRequestUpdateEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PaymentRequestUpdateEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PaymentRequestUpdateEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct Pbkdf2Params { obj : :: js_sys :: Object , } impl Pbkdf2Params { pub fn new ( name : & str , hash : & :: wasm_bindgen :: JsValue , iterations : u32 , salt : & :: js_sys :: Object ) -> Pbkdf2Params { let mut _ret = Pbkdf2Params { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . hash ( hash ) ; _ret . iterations ( iterations ) ; _ret . salt ( salt ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn hash ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "hash" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn iterations ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iterations" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn salt ( & mut self , val : & :: js_sys :: Object ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "salt" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_Pbkdf2Params : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < Pbkdf2Params > for JsValue { # [ inline ] fn from ( val : Pbkdf2Params ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for Pbkdf2Params { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for Pbkdf2Params { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for Pbkdf2Params { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a Pbkdf2Params { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for Pbkdf2Params { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { Pbkdf2Params { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for Pbkdf2Params { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a Pbkdf2Params { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for Pbkdf2Params { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for Pbkdf2Params { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < Pbkdf2Params > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( Pbkdf2Params { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for Pbkdf2Params { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { Pbkdf2Params { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const Pbkdf2Params ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PerformanceEntryEventInit { obj : :: js_sys :: Object , } impl PerformanceEntryEventInit { pub fn new ( ) -> PerformanceEntryEventInit { let mut _ret = PerformanceEntryEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn duration ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "duration" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn entry_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "entryType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn epoch ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "epoch" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn origin ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "origin" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn start_time ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "startTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PerformanceEntryEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PerformanceEntryEventInit > for JsValue { # [ inline ] fn from ( val : PerformanceEntryEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PerformanceEntryEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PerformanceEntryEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PerformanceEntryEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PerformanceEntryEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PerformanceEntryEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PerformanceEntryEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PerformanceEntryEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PerformanceEntryEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PerformanceEntryEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PerformanceEntryEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PerformanceEntryEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PerformanceEntryEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PerformanceEntryEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PerformanceEntryEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PerformanceEntryEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PerformanceEntryFilterOptions { obj : :: js_sys :: Object , } impl PerformanceEntryFilterOptions { pub fn new ( ) -> PerformanceEntryFilterOptions { let mut _ret = PerformanceEntryFilterOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn entry_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "entryType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn initiator_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "initiatorType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PerformanceEntryFilterOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PerformanceEntryFilterOptions > for JsValue { # [ inline ] fn from ( val : PerformanceEntryFilterOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PerformanceEntryFilterOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PerformanceEntryFilterOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PerformanceEntryFilterOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PerformanceEntryFilterOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PerformanceEntryFilterOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PerformanceEntryFilterOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PerformanceEntryFilterOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PerformanceEntryFilterOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PerformanceEntryFilterOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PerformanceEntryFilterOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PerformanceEntryFilterOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PerformanceEntryFilterOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PerformanceEntryFilterOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PerformanceEntryFilterOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PerformanceEntryFilterOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PeriodicWaveConstraints { obj : :: js_sys :: Object , } impl PeriodicWaveConstraints { pub fn new ( ) -> PeriodicWaveConstraints { let mut _ret = PeriodicWaveConstraints { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn disable_normalization ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "disableNormalization" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PeriodicWaveConstraints : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PeriodicWaveConstraints > for JsValue { # [ inline ] fn from ( val : PeriodicWaveConstraints ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PeriodicWaveConstraints { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PeriodicWaveConstraints { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PeriodicWaveConstraints { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PeriodicWaveConstraints { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PeriodicWaveConstraints { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PeriodicWaveConstraints { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PeriodicWaveConstraints { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PeriodicWaveConstraints { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PeriodicWaveConstraints { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PeriodicWaveConstraints { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PeriodicWaveConstraints > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PeriodicWaveConstraints { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PeriodicWaveConstraints { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PeriodicWaveConstraints { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PeriodicWaveConstraints ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PeriodicWaveOptions { obj : :: js_sys :: Object , } impl PeriodicWaveOptions { pub fn new ( ) -> PeriodicWaveOptions { let mut _ret = PeriodicWaveOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn disable_normalization ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "disableNormalization" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PeriodicWaveOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PeriodicWaveOptions > for JsValue { # [ inline ] fn from ( val : PeriodicWaveOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PeriodicWaveOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PeriodicWaveOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PeriodicWaveOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PeriodicWaveOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PeriodicWaveOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PeriodicWaveOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PeriodicWaveOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PeriodicWaveOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PeriodicWaveOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PeriodicWaveOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PeriodicWaveOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PeriodicWaveOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PeriodicWaveOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PeriodicWaveOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PeriodicWaveOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PermissionDescriptor { obj : :: js_sys :: Object , } impl PermissionDescriptor { pub fn new ( name : PermissionName ) -> PermissionDescriptor { let mut _ret = PermissionDescriptor { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; return _ret } pub fn name ( & mut self , val : PermissionName ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PermissionDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PermissionDescriptor > for JsValue { # [ inline ] fn from ( val : PermissionDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PermissionDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PermissionDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PermissionDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PermissionDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PermissionDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PermissionDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PermissionDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PermissionDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PermissionDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PermissionDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PermissionDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PermissionDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PermissionDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PermissionDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PermissionDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PluginCrashedEventInit { obj : :: js_sys :: Object , } impl PluginCrashedEventInit { pub fn new ( ) -> PluginCrashedEventInit { let mut _ret = PluginCrashedEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn browser_dump_id ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "browserDumpID" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn gmp_plugin ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "gmpPlugin" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn plugin_dump_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pluginDumpID" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn plugin_filename ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pluginFilename" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn plugin_id ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pluginID" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn plugin_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pluginName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn submitted_crash_report ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "submittedCrashReport" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PluginCrashedEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PluginCrashedEventInit > for JsValue { # [ inline ] fn from ( val : PluginCrashedEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PluginCrashedEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PluginCrashedEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PluginCrashedEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PluginCrashedEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PluginCrashedEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PluginCrashedEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PluginCrashedEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PluginCrashedEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PluginCrashedEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PluginCrashedEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PluginCrashedEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PluginCrashedEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PluginCrashedEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PluginCrashedEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PluginCrashedEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PointerEventInit { obj : :: js_sys :: Object , } impl PointerEventInit { pub fn new ( ) -> PointerEventInit { let mut _ret = PointerEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detail ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detail" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn view ( & mut self , val : Option < & Window > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "view" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn alt_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "altKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ctrl_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ctrlKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn meta_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "metaKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_alt_graph ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierAltGraph" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_caps_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierCapsLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFn" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFnLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_num_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierNumLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_os ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierOS" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_scroll_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierScrollLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbol" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbolLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn shift_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "shiftKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn button ( & mut self , val : i16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "button" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn buttons ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "buttons" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn client_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn client_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn movement_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "movementX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn movement_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "movementY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn related_target ( & mut self , val : Option < & EventTarget > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "relatedTarget" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn screen_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "screenX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn screen_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "screenY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn height ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "height" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn is_primary ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "isPrimary" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pointer_id ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pointerId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pointer_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pointerType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pressure ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pressure" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn tangential_pressure ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "tangentialPressure" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn tilt_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "tiltX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn tilt_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "tiltY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn twist ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "twist" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn width ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "width" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PointerEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PointerEventInit > for JsValue { # [ inline ] fn from ( val : PointerEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PointerEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PointerEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PointerEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PointerEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PointerEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PointerEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PointerEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PointerEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PointerEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PointerEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PointerEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PointerEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PointerEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PointerEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PointerEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PopStateEventInit { obj : :: js_sys :: Object , } impl PopStateEventInit { pub fn new ( ) -> PopStateEventInit { let mut _ret = PopStateEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn state ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "state" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PopStateEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PopStateEventInit > for JsValue { # [ inline ] fn from ( val : PopStateEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PopStateEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PopStateEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PopStateEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PopStateEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PopStateEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PopStateEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PopStateEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PopStateEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PopStateEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PopStateEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PopStateEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PopStateEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PopStateEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PopStateEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PopStateEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PopupBlockedEventInit { obj : :: js_sys :: Object , } impl PopupBlockedEventInit { pub fn new ( ) -> PopupBlockedEventInit { let mut _ret = PopupBlockedEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn popup_window_features ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "popupWindowFeatures" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn popup_window_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "popupWindowName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn requesting_window ( & mut self , val : Option < & Window > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "requestingWindow" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PopupBlockedEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PopupBlockedEventInit > for JsValue { # [ inline ] fn from ( val : PopupBlockedEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PopupBlockedEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PopupBlockedEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PopupBlockedEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PopupBlockedEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PopupBlockedEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PopupBlockedEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PopupBlockedEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PopupBlockedEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PopupBlockedEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PopupBlockedEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PopupBlockedEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PopupBlockedEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PopupBlockedEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PopupBlockedEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PopupBlockedEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PositionOptions { obj : :: js_sys :: Object , } impl PositionOptions { pub fn new ( ) -> PositionOptions { let mut _ret = PositionOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn enable_high_accuracy ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "enableHighAccuracy" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn maximum_age ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "maximumAge" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timeout ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timeout" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PositionOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PositionOptions > for JsValue { # [ inline ] fn from ( val : PositionOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PositionOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PositionOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PositionOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PositionOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PositionOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PositionOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PositionOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PositionOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PositionOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PositionOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PositionOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PositionOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PositionOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PositionOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PositionOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PresentationConnectionAvailableEventInit { obj : :: js_sys :: Object , } impl PresentationConnectionAvailableEventInit { pub fn new ( connection : & PresentationConnection ) -> PresentationConnectionAvailableEventInit { let mut _ret = PresentationConnectionAvailableEventInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . connection ( connection ) ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn connection ( & mut self , val : & PresentationConnection ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "connection" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PresentationConnectionAvailableEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PresentationConnectionAvailableEventInit > for JsValue { # [ inline ] fn from ( val : PresentationConnectionAvailableEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PresentationConnectionAvailableEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PresentationConnectionAvailableEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PresentationConnectionAvailableEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PresentationConnectionAvailableEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PresentationConnectionAvailableEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PresentationConnectionAvailableEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PresentationConnectionAvailableEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PresentationConnectionAvailableEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PresentationConnectionAvailableEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PresentationConnectionAvailableEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PresentationConnectionAvailableEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PresentationConnectionAvailableEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PresentationConnectionAvailableEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PresentationConnectionAvailableEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PresentationConnectionAvailableEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PresentationConnectionCloseEventInit { obj : :: js_sys :: Object , } impl PresentationConnectionCloseEventInit { pub fn new ( reason : PresentationConnectionClosedReason ) -> PresentationConnectionCloseEventInit { let mut _ret = PresentationConnectionCloseEventInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . reason ( reason ) ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn message ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "message" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn reason ( & mut self , val : PresentationConnectionClosedReason ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "reason" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PresentationConnectionCloseEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PresentationConnectionCloseEventInit > for JsValue { # [ inline ] fn from ( val : PresentationConnectionCloseEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PresentationConnectionCloseEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PresentationConnectionCloseEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PresentationConnectionCloseEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PresentationConnectionCloseEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PresentationConnectionCloseEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PresentationConnectionCloseEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PresentationConnectionCloseEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PresentationConnectionCloseEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PresentationConnectionCloseEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PresentationConnectionCloseEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PresentationConnectionCloseEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PresentationConnectionCloseEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PresentationConnectionCloseEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PresentationConnectionCloseEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PresentationConnectionCloseEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ProfileTimelineLayerRect { obj : :: js_sys :: Object , } impl ProfileTimelineLayerRect { pub fn new ( ) -> ProfileTimelineLayerRect { let mut _ret = ProfileTimelineLayerRect { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn height ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "height" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn width ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "width" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "x" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "y" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ProfileTimelineLayerRect : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ProfileTimelineLayerRect > for JsValue { # [ inline ] fn from ( val : ProfileTimelineLayerRect ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ProfileTimelineLayerRect { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ProfileTimelineLayerRect { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ProfileTimelineLayerRect { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ProfileTimelineLayerRect { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ProfileTimelineLayerRect { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ProfileTimelineLayerRect { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ProfileTimelineLayerRect { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ProfileTimelineLayerRect { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ProfileTimelineLayerRect { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ProfileTimelineLayerRect { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ProfileTimelineLayerRect > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ProfileTimelineLayerRect { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ProfileTimelineLayerRect { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ProfileTimelineLayerRect { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ProfileTimelineLayerRect ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ProfileTimelineMarker { obj : :: js_sys :: Object , } impl ProfileTimelineMarker { pub fn new ( ) -> ProfileTimelineMarker { let mut _ret = ProfileTimelineMarker { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn cause_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "causeName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn end ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "end" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn end_stack ( & mut self , val : Option < & :: js_sys :: Object > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "endStack" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn event_phase ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "eventPhase" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn is_animation_only ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "isAnimationOnly" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn is_off_main_thread ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "isOffMainThread" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn message_port_operation ( & mut self , val : ProfileTimelineMessagePortOperationType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "messagePortOperation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn process_type ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "processType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stack ( & mut self , val : Option < & :: js_sys :: Object > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stack" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn start ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "start" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn unix_time ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "unixTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn worker_operation ( & mut self , val : ProfileTimelineWorkerOperationType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "workerOperation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ProfileTimelineMarker : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ProfileTimelineMarker > for JsValue { # [ inline ] fn from ( val : ProfileTimelineMarker ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ProfileTimelineMarker { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ProfileTimelineMarker { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ProfileTimelineMarker { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ProfileTimelineMarker { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ProfileTimelineMarker { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ProfileTimelineMarker { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ProfileTimelineMarker { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ProfileTimelineMarker { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ProfileTimelineMarker { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ProfileTimelineMarker { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ProfileTimelineMarker > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ProfileTimelineMarker { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ProfileTimelineMarker { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ProfileTimelineMarker { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ProfileTimelineMarker ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ProfileTimelineStackFrame { obj : :: js_sys :: Object , } impl ProfileTimelineStackFrame { pub fn new ( ) -> ProfileTimelineStackFrame { let mut _ret = ProfileTimelineStackFrame { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn async_cause ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "asyncCause" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn async_parent ( & mut self , val : Option < & :: js_sys :: Object > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "asyncParent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn column ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "column" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn function_display_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "functionDisplayName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn line ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "line" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn parent ( & mut self , val : Option < & :: js_sys :: Object > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "parent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn source ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "source" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ProfileTimelineStackFrame : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ProfileTimelineStackFrame > for JsValue { # [ inline ] fn from ( val : ProfileTimelineStackFrame ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ProfileTimelineStackFrame { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ProfileTimelineStackFrame { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ProfileTimelineStackFrame { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ProfileTimelineStackFrame { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ProfileTimelineStackFrame { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ProfileTimelineStackFrame { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ProfileTimelineStackFrame { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ProfileTimelineStackFrame { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ProfileTimelineStackFrame { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ProfileTimelineStackFrame { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ProfileTimelineStackFrame > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ProfileTimelineStackFrame { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ProfileTimelineStackFrame { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ProfileTimelineStackFrame { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ProfileTimelineStackFrame ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ProgressEventInit { obj : :: js_sys :: Object , } impl ProgressEventInit { pub fn new ( ) -> ProgressEventInit { let mut _ret = ProgressEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn length_computable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lengthComputable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn loaded ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "loaded" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn total ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "total" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ProgressEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ProgressEventInit > for JsValue { # [ inline ] fn from ( val : ProgressEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ProgressEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ProgressEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ProgressEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ProgressEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ProgressEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ProgressEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ProgressEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ProgressEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ProgressEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ProgressEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ProgressEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ProgressEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ProgressEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ProgressEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ProgressEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PromiseRejectionEventInit { obj : :: js_sys :: Object , } impl PromiseRejectionEventInit { pub fn new ( promise : & :: js_sys :: Promise ) -> PromiseRejectionEventInit { let mut _ret = PromiseRejectionEventInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . promise ( promise ) ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn promise ( & mut self , val : & :: js_sys :: Promise ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "promise" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn reason ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "reason" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PromiseRejectionEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PromiseRejectionEventInit > for JsValue { # [ inline ] fn from ( val : PromiseRejectionEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PromiseRejectionEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PromiseRejectionEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PromiseRejectionEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PromiseRejectionEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PromiseRejectionEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PromiseRejectionEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PromiseRejectionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PromiseRejectionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PromiseRejectionEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PromiseRejectionEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PromiseRejectionEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PromiseRejectionEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PromiseRejectionEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PromiseRejectionEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PromiseRejectionEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PublicKeyCredentialDescriptor { obj : :: js_sys :: Object , } impl PublicKeyCredentialDescriptor { pub fn new ( id : & :: js_sys :: Object , type_ : PublicKeyCredentialType ) -> PublicKeyCredentialDescriptor { let mut _ret = PublicKeyCredentialDescriptor { obj : :: js_sys :: Object :: new ( ) } ; _ret . id ( id ) ; _ret . type_ ( type_ ) ; return _ret } pub fn id ( & mut self , val : & :: js_sys :: Object ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : PublicKeyCredentialType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PublicKeyCredentialDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PublicKeyCredentialDescriptor > for JsValue { # [ inline ] fn from ( val : PublicKeyCredentialDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PublicKeyCredentialDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PublicKeyCredentialDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PublicKeyCredentialDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PublicKeyCredentialDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PublicKeyCredentialDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PublicKeyCredentialDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PublicKeyCredentialDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PublicKeyCredentialDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PublicKeyCredentialDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PublicKeyCredentialDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PublicKeyCredentialDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PublicKeyCredentialDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PublicKeyCredentialDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PublicKeyCredentialDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PublicKeyCredentialDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PublicKeyCredentialEntity { obj : :: js_sys :: Object , } impl PublicKeyCredentialEntity { pub fn new ( name : & str ) -> PublicKeyCredentialEntity { let mut _ret = PublicKeyCredentialEntity { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; return _ret } pub fn icon ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "icon" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PublicKeyCredentialEntity : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PublicKeyCredentialEntity > for JsValue { # [ inline ] fn from ( val : PublicKeyCredentialEntity ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PublicKeyCredentialEntity { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PublicKeyCredentialEntity { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PublicKeyCredentialEntity { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PublicKeyCredentialEntity { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PublicKeyCredentialEntity { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PublicKeyCredentialEntity { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PublicKeyCredentialEntity { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PublicKeyCredentialEntity { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PublicKeyCredentialEntity { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PublicKeyCredentialEntity { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PublicKeyCredentialEntity > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PublicKeyCredentialEntity { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PublicKeyCredentialEntity { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PublicKeyCredentialEntity { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PublicKeyCredentialEntity ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PublicKeyCredentialParameters { obj : :: js_sys :: Object , } impl PublicKeyCredentialParameters { pub fn new ( alg : i32 , type_ : PublicKeyCredentialType ) -> PublicKeyCredentialParameters { let mut _ret = PublicKeyCredentialParameters { obj : :: js_sys :: Object :: new ( ) } ; _ret . alg ( alg ) ; _ret . type_ ( type_ ) ; return _ret } pub fn alg ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "alg" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : PublicKeyCredentialType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PublicKeyCredentialParameters : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PublicKeyCredentialParameters > for JsValue { # [ inline ] fn from ( val : PublicKeyCredentialParameters ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PublicKeyCredentialParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PublicKeyCredentialParameters { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PublicKeyCredentialParameters { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PublicKeyCredentialParameters { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PublicKeyCredentialParameters { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PublicKeyCredentialParameters { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PublicKeyCredentialParameters { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PublicKeyCredentialParameters { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PublicKeyCredentialParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PublicKeyCredentialParameters { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PublicKeyCredentialParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PublicKeyCredentialParameters { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PublicKeyCredentialParameters { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PublicKeyCredentialParameters { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PublicKeyCredentialParameters ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PublicKeyCredentialRequestOptions { obj : :: js_sys :: Object , } impl PublicKeyCredentialRequestOptions { pub fn new ( challenge : & :: js_sys :: Object ) -> PublicKeyCredentialRequestOptions { let mut _ret = PublicKeyCredentialRequestOptions { obj : :: js_sys :: Object :: new ( ) } ; _ret . challenge ( challenge ) ; return _ret } pub fn challenge ( & mut self , val : & :: js_sys :: Object ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "challenge" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn extensions ( & mut self , val : & AuthenticationExtensionsClientInputs ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "extensions" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn rp_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "rpId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timeout ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timeout" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn user_verification ( & mut self , val : UserVerificationRequirement ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "userVerification" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PublicKeyCredentialRequestOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PublicKeyCredentialRequestOptions > for JsValue { # [ inline ] fn from ( val : PublicKeyCredentialRequestOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PublicKeyCredentialRequestOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PublicKeyCredentialRequestOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PublicKeyCredentialRequestOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PublicKeyCredentialRequestOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PublicKeyCredentialRequestOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PublicKeyCredentialRequestOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PublicKeyCredentialRequestOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PublicKeyCredentialRequestOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PublicKeyCredentialRequestOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PublicKeyCredentialRequestOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PublicKeyCredentialRequestOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PublicKeyCredentialRequestOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PublicKeyCredentialRequestOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PublicKeyCredentialRequestOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PublicKeyCredentialRequestOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PublicKeyCredentialRpEntity { obj : :: js_sys :: Object , } impl PublicKeyCredentialRpEntity { pub fn new ( name : & str ) -> PublicKeyCredentialRpEntity { let mut _ret = PublicKeyCredentialRpEntity { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; return _ret } pub fn icon ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "icon" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PublicKeyCredentialRpEntity : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PublicKeyCredentialRpEntity > for JsValue { # [ inline ] fn from ( val : PublicKeyCredentialRpEntity ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PublicKeyCredentialRpEntity { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PublicKeyCredentialRpEntity { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PublicKeyCredentialRpEntity { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PublicKeyCredentialRpEntity { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PublicKeyCredentialRpEntity { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PublicKeyCredentialRpEntity { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PublicKeyCredentialRpEntity { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PublicKeyCredentialRpEntity { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PublicKeyCredentialRpEntity { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PublicKeyCredentialRpEntity { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PublicKeyCredentialRpEntity > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PublicKeyCredentialRpEntity { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PublicKeyCredentialRpEntity { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PublicKeyCredentialRpEntity { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PublicKeyCredentialRpEntity ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PublicKeyCredentialUserEntity { obj : :: js_sys :: Object , } impl PublicKeyCredentialUserEntity { pub fn new ( name : & str , display_name : & str , id : & :: js_sys :: Object ) -> PublicKeyCredentialUserEntity { let mut _ret = PublicKeyCredentialUserEntity { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . display_name ( display_name ) ; _ret . id ( id ) ; return _ret } pub fn icon ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "icon" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn display_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "displayName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn id ( & mut self , val : & :: js_sys :: Object ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PublicKeyCredentialUserEntity : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PublicKeyCredentialUserEntity > for JsValue { # [ inline ] fn from ( val : PublicKeyCredentialUserEntity ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PublicKeyCredentialUserEntity { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PublicKeyCredentialUserEntity { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PublicKeyCredentialUserEntity { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PublicKeyCredentialUserEntity { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PublicKeyCredentialUserEntity { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PublicKeyCredentialUserEntity { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PublicKeyCredentialUserEntity { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PublicKeyCredentialUserEntity { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PublicKeyCredentialUserEntity { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PublicKeyCredentialUserEntity { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PublicKeyCredentialUserEntity > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PublicKeyCredentialUserEntity { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PublicKeyCredentialUserEntity { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PublicKeyCredentialUserEntity { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PublicKeyCredentialUserEntity ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PushEventInit { obj : :: js_sys :: Object , } impl PushEventInit { pub fn new ( ) -> PushEventInit { let mut _ret = PushEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn data ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "data" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PushEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PushEventInit > for JsValue { # [ inline ] fn from ( val : PushEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PushEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PushEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PushEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PushEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PushEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PushEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PushEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PushEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PushEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PushEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PushEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PushEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PushEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PushEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PushEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PushSubscriptionInit { obj : :: js_sys :: Object , } impl PushSubscriptionInit { pub fn new ( endpoint : & str , scope : & str ) -> PushSubscriptionInit { let mut _ret = PushSubscriptionInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . endpoint ( endpoint ) ; _ret . scope ( scope ) ; return _ret } pub fn app_server_key ( & mut self , val : Option < & :: js_sys :: Object > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "appServerKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn auth_secret ( & mut self , val : Option < & :: js_sys :: ArrayBuffer > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "authSecret" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn endpoint ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "endpoint" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn p256dh_key ( & mut self , val : Option < & :: js_sys :: ArrayBuffer > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "p256dhKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn scope ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "scope" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PushSubscriptionInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PushSubscriptionInit > for JsValue { # [ inline ] fn from ( val : PushSubscriptionInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PushSubscriptionInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PushSubscriptionInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PushSubscriptionInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PushSubscriptionInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PushSubscriptionInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PushSubscriptionInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PushSubscriptionInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PushSubscriptionInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PushSubscriptionInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PushSubscriptionInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PushSubscriptionInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PushSubscriptionInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PushSubscriptionInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PushSubscriptionInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PushSubscriptionInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PushSubscriptionJson { obj : :: js_sys :: Object , } impl PushSubscriptionJson { pub fn new ( ) -> PushSubscriptionJson { let mut _ret = PushSubscriptionJson { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn endpoint ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "endpoint" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn keys ( & mut self , val : & PushSubscriptionKeys ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "keys" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PushSubscriptionJson : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PushSubscriptionJson > for JsValue { # [ inline ] fn from ( val : PushSubscriptionJson ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PushSubscriptionJson { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PushSubscriptionJson { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PushSubscriptionJson { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PushSubscriptionJson { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PushSubscriptionJson { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PushSubscriptionJson { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PushSubscriptionJson { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PushSubscriptionJson { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PushSubscriptionJson { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PushSubscriptionJson { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PushSubscriptionJson > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PushSubscriptionJson { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PushSubscriptionJson { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PushSubscriptionJson { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PushSubscriptionJson ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PushSubscriptionKeys { obj : :: js_sys :: Object , } impl PushSubscriptionKeys { pub fn new ( ) -> PushSubscriptionKeys { let mut _ret = PushSubscriptionKeys { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn auth ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "auth" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn p256dh ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "p256dh" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PushSubscriptionKeys : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PushSubscriptionKeys > for JsValue { # [ inline ] fn from ( val : PushSubscriptionKeys ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PushSubscriptionKeys { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PushSubscriptionKeys { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PushSubscriptionKeys { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PushSubscriptionKeys { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PushSubscriptionKeys { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PushSubscriptionKeys { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PushSubscriptionKeys { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PushSubscriptionKeys { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PushSubscriptionKeys { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PushSubscriptionKeys { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PushSubscriptionKeys > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PushSubscriptionKeys { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PushSubscriptionKeys { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PushSubscriptionKeys { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PushSubscriptionKeys ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct PushSubscriptionOptionsInit { obj : :: js_sys :: Object , } impl PushSubscriptionOptionsInit { pub fn new ( ) -> PushSubscriptionOptionsInit { let mut _ret = PushSubscriptionOptionsInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn application_server_key ( & mut self , val : Option < & :: wasm_bindgen :: JsValue > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "applicationServerKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_PushSubscriptionOptionsInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < PushSubscriptionOptionsInit > for JsValue { # [ inline ] fn from ( val : PushSubscriptionOptionsInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for PushSubscriptionOptionsInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for PushSubscriptionOptionsInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for PushSubscriptionOptionsInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a PushSubscriptionOptionsInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for PushSubscriptionOptionsInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { PushSubscriptionOptionsInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for PushSubscriptionOptionsInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a PushSubscriptionOptionsInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for PushSubscriptionOptionsInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for PushSubscriptionOptionsInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < PushSubscriptionOptionsInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( PushSubscriptionOptionsInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for PushSubscriptionOptionsInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { PushSubscriptionOptionsInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const PushSubscriptionOptionsInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcAnswerOptions { obj : :: js_sys :: Object , } impl RtcAnswerOptions { pub fn new ( ) -> RtcAnswerOptions { let mut _ret = RtcAnswerOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_RtcAnswerOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcAnswerOptions > for JsValue { # [ inline ] fn from ( val : RtcAnswerOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcAnswerOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcAnswerOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcAnswerOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcAnswerOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcAnswerOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcAnswerOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcAnswerOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcAnswerOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcAnswerOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcAnswerOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcAnswerOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcAnswerOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcAnswerOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcAnswerOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcAnswerOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcCertificateExpiration { obj : :: js_sys :: Object , } impl RtcCertificateExpiration { pub fn new ( ) -> RtcCertificateExpiration { let mut _ret = RtcCertificateExpiration { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn expires ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "expires" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcCertificateExpiration : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcCertificateExpiration > for JsValue { # [ inline ] fn from ( val : RtcCertificateExpiration ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcCertificateExpiration { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcCertificateExpiration { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcCertificateExpiration { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcCertificateExpiration { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcCertificateExpiration { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcCertificateExpiration { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcCertificateExpiration { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcCertificateExpiration { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcCertificateExpiration { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcCertificateExpiration { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcCertificateExpiration > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcCertificateExpiration { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcCertificateExpiration { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcCertificateExpiration { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcCertificateExpiration ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcCodecStats { obj : :: js_sys :: Object , } impl RtcCodecStats { pub fn new ( ) -> RtcCodecStats { let mut _ret = RtcCodecStats { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : RtcStatsType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channels ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channels" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn clock_rate ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clockRate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn codec ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "codec" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn parameters ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "parameters" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn payload_type ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "payloadType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcCodecStats : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcCodecStats > for JsValue { # [ inline ] fn from ( val : RtcCodecStats ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcCodecStats { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcCodecStats { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcCodecStats { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcCodecStats { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcCodecStats { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcCodecStats { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcCodecStats { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcCodecStats { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcCodecStats { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcCodecStats { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcCodecStats > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcCodecStats { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcCodecStats { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcCodecStats { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcCodecStats ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcConfiguration { obj : :: js_sys :: Object , } impl RtcConfiguration { pub fn new ( ) -> RtcConfiguration { let mut _ret = RtcConfiguration { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bundle_policy ( & mut self , val : RtcBundlePolicy ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bundlePolicy" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ice_transport_policy ( & mut self , val : RtcIceTransportPolicy ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iceTransportPolicy" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn peer_identity ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "peerIdentity" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcConfiguration : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcConfiguration > for JsValue { # [ inline ] fn from ( val : RtcConfiguration ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcConfiguration { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcConfiguration { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcConfiguration { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcConfiguration { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcConfiguration { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcConfiguration { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcConfiguration { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcConfiguration { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcConfiguration > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcConfiguration { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcConfiguration { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcConfiguration { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcConfiguration ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcdtmfToneChangeEventInit { obj : :: js_sys :: Object , } impl RtcdtmfToneChangeEventInit { pub fn new ( ) -> RtcdtmfToneChangeEventInit { let mut _ret = RtcdtmfToneChangeEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn tone ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "tone" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcdtmfToneChangeEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcdtmfToneChangeEventInit > for JsValue { # [ inline ] fn from ( val : RtcdtmfToneChangeEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcdtmfToneChangeEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcdtmfToneChangeEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcdtmfToneChangeEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcdtmfToneChangeEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcdtmfToneChangeEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcdtmfToneChangeEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcdtmfToneChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcdtmfToneChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcdtmfToneChangeEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcdtmfToneChangeEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcdtmfToneChangeEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcdtmfToneChangeEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcdtmfToneChangeEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcdtmfToneChangeEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcdtmfToneChangeEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcDataChannelEventInit { obj : :: js_sys :: Object , } impl RtcDataChannelEventInit { pub fn new ( channel : & RtcDataChannel ) -> RtcDataChannelEventInit { let mut _ret = RtcDataChannelEventInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . channel ( channel ) ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel ( & mut self , val : & RtcDataChannel ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channel" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcDataChannelEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcDataChannelEventInit > for JsValue { # [ inline ] fn from ( val : RtcDataChannelEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcDataChannelEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcDataChannelEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcDataChannelEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcDataChannelEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcDataChannelEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcDataChannelEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcDataChannelEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcDataChannelEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcDataChannelEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcDataChannelEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcDataChannelEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcDataChannelEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcDataChannelEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcDataChannelEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcDataChannelEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcDataChannelInit { obj : :: js_sys :: Object , } impl RtcDataChannelInit { pub fn new ( ) -> RtcDataChannelInit { let mut _ret = RtcDataChannelInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn max_packet_life_time ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "maxPacketLifeTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn max_retransmit_time ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "maxRetransmitTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn max_retransmits ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "maxRetransmits" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn negotiated ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "negotiated" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ordered ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ordered" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn protocol ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "protocol" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcDataChannelInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcDataChannelInit > for JsValue { # [ inline ] fn from ( val : RtcDataChannelInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcDataChannelInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcDataChannelInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcDataChannelInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcDataChannelInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcDataChannelInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcDataChannelInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcDataChannelInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcDataChannelInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcDataChannelInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcDataChannelInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcDataChannelInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcDataChannelInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcDataChannelInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcDataChannelInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcDataChannelInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcFecParameters { obj : :: js_sys :: Object , } impl RtcFecParameters { pub fn new ( ) -> RtcFecParameters { let mut _ret = RtcFecParameters { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn ssrc ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ssrc" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcFecParameters : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcFecParameters > for JsValue { # [ inline ] fn from ( val : RtcFecParameters ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcFecParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcFecParameters { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcFecParameters { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcFecParameters { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcFecParameters { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcFecParameters { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcFecParameters { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcFecParameters { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcFecParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcFecParameters { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcFecParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcFecParameters { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcFecParameters { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcFecParameters { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcFecParameters ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcIceCandidateInit { obj : :: js_sys :: Object , } impl RtcIceCandidateInit { pub fn new ( candidate : & str ) -> RtcIceCandidateInit { let mut _ret = RtcIceCandidateInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . candidate ( candidate ) ; return _ret } pub fn candidate ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "candidate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn sdp_m_line_index ( & mut self , val : Option < u16 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sdpMLineIndex" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn sdp_mid ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sdpMid" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcIceCandidateInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcIceCandidateInit > for JsValue { # [ inline ] fn from ( val : RtcIceCandidateInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcIceCandidateInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcIceCandidateInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcIceCandidateInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcIceCandidateInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcIceCandidateInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcIceCandidateInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcIceCandidateInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcIceCandidateInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcIceCandidateInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcIceCandidateInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcIceCandidateInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcIceCandidateInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcIceCandidateInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcIceCandidateInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcIceCandidateInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcIceCandidatePairStats { obj : :: js_sys :: Object , } impl RtcIceCandidatePairStats { pub fn new ( ) -> RtcIceCandidatePairStats { let mut _ret = RtcIceCandidatePairStats { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : RtcStatsType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bytes_received ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bytesReceived" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bytes_sent ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bytesSent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn component_id ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "componentId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn last_packet_received_timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lastPacketReceivedTimestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn last_packet_sent_timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lastPacketSentTimestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn local_candidate_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "localCandidateId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn nominated ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "nominated" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn priority ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "priority" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn readable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "readable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn remote_candidate_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "remoteCandidateId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn selected ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "selected" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn state ( & mut self , val : RtcStatsIceCandidatePairState ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "state" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn transport_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "transportId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn writable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "writable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcIceCandidatePairStats : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcIceCandidatePairStats > for JsValue { # [ inline ] fn from ( val : RtcIceCandidatePairStats ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcIceCandidatePairStats { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcIceCandidatePairStats { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcIceCandidatePairStats { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcIceCandidatePairStats { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcIceCandidatePairStats { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcIceCandidatePairStats { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcIceCandidatePairStats { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcIceCandidatePairStats { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcIceCandidatePairStats { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcIceCandidatePairStats { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcIceCandidatePairStats > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcIceCandidatePairStats { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcIceCandidatePairStats { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcIceCandidatePairStats { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcIceCandidatePairStats ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcIceCandidateStats { obj : :: js_sys :: Object , } impl RtcIceCandidateStats { pub fn new ( ) -> RtcIceCandidateStats { let mut _ret = RtcIceCandidateStats { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : RtcStatsType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn candidate_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "candidateId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn candidate_type ( & mut self , val : RtcStatsIceCandidateType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "candidateType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn component_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "componentId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ip_address ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ipAddress" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn port_number ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "portNumber" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn transport ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "transport" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcIceCandidateStats : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcIceCandidateStats > for JsValue { # [ inline ] fn from ( val : RtcIceCandidateStats ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcIceCandidateStats { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcIceCandidateStats { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcIceCandidateStats { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcIceCandidateStats { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcIceCandidateStats { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcIceCandidateStats { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcIceCandidateStats { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcIceCandidateStats { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcIceCandidateStats { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcIceCandidateStats { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcIceCandidateStats > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcIceCandidateStats { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcIceCandidateStats { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcIceCandidateStats { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcIceCandidateStats ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcIceComponentStats { obj : :: js_sys :: Object , } impl RtcIceComponentStats { pub fn new ( ) -> RtcIceComponentStats { let mut _ret = RtcIceComponentStats { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : RtcStatsType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn active_connection ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "activeConnection" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bytes_received ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bytesReceived" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bytes_sent ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bytesSent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn component ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "component" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn transport_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "transportId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcIceComponentStats : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcIceComponentStats > for JsValue { # [ inline ] fn from ( val : RtcIceComponentStats ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcIceComponentStats { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcIceComponentStats { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcIceComponentStats { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcIceComponentStats { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcIceComponentStats { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcIceComponentStats { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcIceComponentStats { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcIceComponentStats { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcIceComponentStats { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcIceComponentStats { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcIceComponentStats > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcIceComponentStats { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcIceComponentStats { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcIceComponentStats { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcIceComponentStats ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcIceServer { obj : :: js_sys :: Object , } impl RtcIceServer { pub fn new ( ) -> RtcIceServer { let mut _ret = RtcIceServer { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn credential ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "credential" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn credential_type ( & mut self , val : RtcIceCredentialType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "credentialType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn url ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "url" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn urls ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "urls" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn username ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "username" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcIceServer : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcIceServer > for JsValue { # [ inline ] fn from ( val : RtcIceServer ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcIceServer { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcIceServer { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcIceServer { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcIceServer { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcIceServer { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcIceServer { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcIceServer { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcIceServer { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcIceServer { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcIceServer { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcIceServer > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcIceServer { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcIceServer { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcIceServer { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcIceServer ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcIdentityAssertion { obj : :: js_sys :: Object , } impl RtcIdentityAssertion { pub fn new ( ) -> RtcIdentityAssertion { let mut _ret = RtcIdentityAssertion { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn idp ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "idp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcIdentityAssertion : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcIdentityAssertion > for JsValue { # [ inline ] fn from ( val : RtcIdentityAssertion ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcIdentityAssertion { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcIdentityAssertion { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcIdentityAssertion { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcIdentityAssertion { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcIdentityAssertion { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcIdentityAssertion { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcIdentityAssertion { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcIdentityAssertion { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcIdentityAssertion { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcIdentityAssertion { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcIdentityAssertion > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcIdentityAssertion { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcIdentityAssertion { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcIdentityAssertion { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcIdentityAssertion ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcIdentityAssertionResult { obj : :: js_sys :: Object , } impl RtcIdentityAssertionResult { pub fn new ( assertion : & str , idp : & RtcIdentityProviderDetails ) -> RtcIdentityAssertionResult { let mut _ret = RtcIdentityAssertionResult { obj : :: js_sys :: Object :: new ( ) } ; _ret . assertion ( assertion ) ; _ret . idp ( idp ) ; return _ret } pub fn assertion ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "assertion" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn idp ( & mut self , val : & RtcIdentityProviderDetails ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "idp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcIdentityAssertionResult : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcIdentityAssertionResult > for JsValue { # [ inline ] fn from ( val : RtcIdentityAssertionResult ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcIdentityAssertionResult { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcIdentityAssertionResult { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcIdentityAssertionResult { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcIdentityAssertionResult { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcIdentityAssertionResult { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcIdentityAssertionResult { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcIdentityAssertionResult { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcIdentityAssertionResult { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcIdentityAssertionResult { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcIdentityAssertionResult { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcIdentityAssertionResult > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcIdentityAssertionResult { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcIdentityAssertionResult { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcIdentityAssertionResult { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcIdentityAssertionResult ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcIdentityProvider { obj : :: js_sys :: Object , } impl RtcIdentityProvider { pub fn new ( generate_assertion : & :: js_sys :: Function , validate_assertion : & :: js_sys :: Function ) -> RtcIdentityProvider { let mut _ret = RtcIdentityProvider { obj : :: js_sys :: Object :: new ( ) } ; _ret . generate_assertion ( generate_assertion ) ; _ret . validate_assertion ( validate_assertion ) ; return _ret } pub fn generate_assertion ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "generateAssertion" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn validate_assertion ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "validateAssertion" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcIdentityProvider : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcIdentityProvider > for JsValue { # [ inline ] fn from ( val : RtcIdentityProvider ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcIdentityProvider { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcIdentityProvider { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcIdentityProvider { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcIdentityProvider { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcIdentityProvider { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcIdentityProvider { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcIdentityProvider { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcIdentityProvider { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcIdentityProvider { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcIdentityProvider { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcIdentityProvider > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcIdentityProvider { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcIdentityProvider { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcIdentityProvider { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcIdentityProvider ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcIdentityProviderDetails { obj : :: js_sys :: Object , } impl RtcIdentityProviderDetails { pub fn new ( domain : & str ) -> RtcIdentityProviderDetails { let mut _ret = RtcIdentityProviderDetails { obj : :: js_sys :: Object :: new ( ) } ; _ret . domain ( domain ) ; return _ret } pub fn domain ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "domain" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn protocol ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "protocol" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcIdentityProviderDetails : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcIdentityProviderDetails > for JsValue { # [ inline ] fn from ( val : RtcIdentityProviderDetails ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcIdentityProviderDetails { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcIdentityProviderDetails { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcIdentityProviderDetails { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcIdentityProviderDetails { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcIdentityProviderDetails { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcIdentityProviderDetails { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcIdentityProviderDetails { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcIdentityProviderDetails { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcIdentityProviderDetails { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcIdentityProviderDetails { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcIdentityProviderDetails > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcIdentityProviderDetails { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcIdentityProviderDetails { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcIdentityProviderDetails { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcIdentityProviderDetails ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcIdentityProviderOptions { obj : :: js_sys :: Object , } impl RtcIdentityProviderOptions { pub fn new ( ) -> RtcIdentityProviderOptions { let mut _ret = RtcIdentityProviderOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn peer_identity ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "peerIdentity" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn protocol ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "protocol" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn username_hint ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "usernameHint" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcIdentityProviderOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcIdentityProviderOptions > for JsValue { # [ inline ] fn from ( val : RtcIdentityProviderOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcIdentityProviderOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcIdentityProviderOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcIdentityProviderOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcIdentityProviderOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcIdentityProviderOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcIdentityProviderOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcIdentityProviderOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcIdentityProviderOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcIdentityProviderOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcIdentityProviderOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcIdentityProviderOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcIdentityProviderOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcIdentityProviderOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcIdentityProviderOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcIdentityProviderOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcIdentityValidationResult { obj : :: js_sys :: Object , } impl RtcIdentityValidationResult { pub fn new ( contents : & str , identity : & str ) -> RtcIdentityValidationResult { let mut _ret = RtcIdentityValidationResult { obj : :: js_sys :: Object :: new ( ) } ; _ret . contents ( contents ) ; _ret . identity ( identity ) ; return _ret } pub fn contents ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "contents" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn identity ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "identity" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcIdentityValidationResult : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcIdentityValidationResult > for JsValue { # [ inline ] fn from ( val : RtcIdentityValidationResult ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcIdentityValidationResult { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcIdentityValidationResult { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcIdentityValidationResult { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcIdentityValidationResult { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcIdentityValidationResult { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcIdentityValidationResult { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcIdentityValidationResult { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcIdentityValidationResult { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcIdentityValidationResult { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcIdentityValidationResult { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcIdentityValidationResult > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcIdentityValidationResult { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcIdentityValidationResult { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcIdentityValidationResult { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcIdentityValidationResult ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcInboundRtpStreamStats { obj : :: js_sys :: Object , } impl RtcInboundRtpStreamStats { pub fn new ( ) -> RtcInboundRtpStreamStats { let mut _ret = RtcInboundRtpStreamStats { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : RtcStatsType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bitrate_mean ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bitrateMean" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bitrate_std_dev ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bitrateStdDev" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn codec_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "codecId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn fir_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "firCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn framerate_mean ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framerateMean" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn framerate_std_dev ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framerateStdDev" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn is_remote ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "isRemote" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn media_track_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mediaTrackId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn media_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mediaType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn nack_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "nackCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pli_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pliCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn remote_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "remoteId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ssrc ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ssrc" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn transport_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "transportId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bytes_received ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bytesReceived" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn discarded_packets ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "discardedPackets" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frames_decoded ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framesDecoded" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn jitter ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "jitter" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn packets_lost ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "packetsLost" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn packets_received ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "packetsReceived" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn round_trip_time ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "roundTripTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcInboundRtpStreamStats : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcInboundRtpStreamStats > for JsValue { # [ inline ] fn from ( val : RtcInboundRtpStreamStats ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcInboundRtpStreamStats { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcInboundRtpStreamStats { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcInboundRtpStreamStats { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcInboundRtpStreamStats { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcInboundRtpStreamStats { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcInboundRtpStreamStats { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcInboundRtpStreamStats { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcInboundRtpStreamStats { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcInboundRtpStreamStats { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcInboundRtpStreamStats { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcInboundRtpStreamStats > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcInboundRtpStreamStats { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcInboundRtpStreamStats { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcInboundRtpStreamStats { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcInboundRtpStreamStats ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcMediaStreamStats { obj : :: js_sys :: Object , } impl RtcMediaStreamStats { pub fn new ( ) -> RtcMediaStreamStats { let mut _ret = RtcMediaStreamStats { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : RtcStatsType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stream_identifier ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "streamIdentifier" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcMediaStreamStats : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcMediaStreamStats > for JsValue { # [ inline ] fn from ( val : RtcMediaStreamStats ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcMediaStreamStats { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcMediaStreamStats { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcMediaStreamStats { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcMediaStreamStats { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcMediaStreamStats { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcMediaStreamStats { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcMediaStreamStats { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcMediaStreamStats { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcMediaStreamStats { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcMediaStreamStats { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcMediaStreamStats > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcMediaStreamStats { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcMediaStreamStats { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcMediaStreamStats { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcMediaStreamStats ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcMediaStreamTrackStats { obj : :: js_sys :: Object , } impl RtcMediaStreamTrackStats { pub fn new ( ) -> RtcMediaStreamTrackStats { let mut _ret = RtcMediaStreamTrackStats { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : RtcStatsType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn audio_level ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "audioLevel" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn echo_return_loss ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "echoReturnLoss" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn echo_return_loss_enhancement ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "echoReturnLossEnhancement" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frame_height ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "frameHeight" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frame_width ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "frameWidth" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frames_corrupted ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framesCorrupted" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frames_decoded ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framesDecoded" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frames_dropped ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framesDropped" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frames_per_second ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framesPerSecond" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frames_received ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framesReceived" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frames_sent ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framesSent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn remote_source ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "remoteSource" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn track_identifier ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "trackIdentifier" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcMediaStreamTrackStats : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcMediaStreamTrackStats > for JsValue { # [ inline ] fn from ( val : RtcMediaStreamTrackStats ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcMediaStreamTrackStats { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcMediaStreamTrackStats { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcMediaStreamTrackStats { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcMediaStreamTrackStats { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcMediaStreamTrackStats { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcMediaStreamTrackStats { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcMediaStreamTrackStats { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcMediaStreamTrackStats { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcMediaStreamTrackStats { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcMediaStreamTrackStats { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcMediaStreamTrackStats > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcMediaStreamTrackStats { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcMediaStreamTrackStats { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcMediaStreamTrackStats { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcMediaStreamTrackStats ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcOfferAnswerOptions { obj : :: js_sys :: Object , } impl RtcOfferAnswerOptions { pub fn new ( ) -> RtcOfferAnswerOptions { let mut _ret = RtcOfferAnswerOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_RtcOfferAnswerOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcOfferAnswerOptions > for JsValue { # [ inline ] fn from ( val : RtcOfferAnswerOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcOfferAnswerOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcOfferAnswerOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcOfferAnswerOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcOfferAnswerOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcOfferAnswerOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcOfferAnswerOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcOfferAnswerOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcOfferAnswerOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcOfferAnswerOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcOfferAnswerOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcOfferAnswerOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcOfferAnswerOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcOfferAnswerOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcOfferAnswerOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcOfferAnswerOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcOfferOptions { obj : :: js_sys :: Object , } impl RtcOfferOptions { pub fn new ( ) -> RtcOfferOptions { let mut _ret = RtcOfferOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn ice_restart ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iceRestart" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn offer_to_receive_audio ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "offerToReceiveAudio" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn offer_to_receive_video ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "offerToReceiveVideo" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcOfferOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcOfferOptions > for JsValue { # [ inline ] fn from ( val : RtcOfferOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcOfferOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcOfferOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcOfferOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcOfferOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcOfferOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcOfferOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcOfferOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcOfferOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcOfferOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcOfferOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcOfferOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcOfferOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcOfferOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcOfferOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcOfferOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcOutboundRtpStreamStats { obj : :: js_sys :: Object , } impl RtcOutboundRtpStreamStats { pub fn new ( ) -> RtcOutboundRtpStreamStats { let mut _ret = RtcOutboundRtpStreamStats { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : RtcStatsType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bitrate_mean ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bitrateMean" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bitrate_std_dev ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bitrateStdDev" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn codec_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "codecId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn fir_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "firCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn framerate_mean ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framerateMean" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn framerate_std_dev ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framerateStdDev" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn is_remote ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "isRemote" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn media_track_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mediaTrackId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn media_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mediaType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn nack_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "nackCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pli_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pliCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn remote_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "remoteId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ssrc ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ssrc" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn transport_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "transportId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bytes_sent ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bytesSent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dropped_frames ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "droppedFrames" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn frames_encoded ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framesEncoded" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn packets_sent ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "packetsSent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn target_bitrate ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "targetBitrate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcOutboundRtpStreamStats : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcOutboundRtpStreamStats > for JsValue { # [ inline ] fn from ( val : RtcOutboundRtpStreamStats ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcOutboundRtpStreamStats { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcOutboundRtpStreamStats { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcOutboundRtpStreamStats { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcOutboundRtpStreamStats { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcOutboundRtpStreamStats { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcOutboundRtpStreamStats { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcOutboundRtpStreamStats { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcOutboundRtpStreamStats { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcOutboundRtpStreamStats { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcOutboundRtpStreamStats { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcOutboundRtpStreamStats > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcOutboundRtpStreamStats { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcOutboundRtpStreamStats { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcOutboundRtpStreamStats { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcOutboundRtpStreamStats ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcPeerConnectionIceEventInit { obj : :: js_sys :: Object , } impl RtcPeerConnectionIceEventInit { pub fn new ( ) -> RtcPeerConnectionIceEventInit { let mut _ret = RtcPeerConnectionIceEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn candidate ( & mut self , val : Option < & RtcIceCandidate > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "candidate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcPeerConnectionIceEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcPeerConnectionIceEventInit > for JsValue { # [ inline ] fn from ( val : RtcPeerConnectionIceEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcPeerConnectionIceEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcPeerConnectionIceEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcPeerConnectionIceEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcPeerConnectionIceEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcPeerConnectionIceEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcPeerConnectionIceEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcPeerConnectionIceEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcPeerConnectionIceEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcPeerConnectionIceEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcPeerConnectionIceEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcPeerConnectionIceEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcPeerConnectionIceEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcPeerConnectionIceEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcPeerConnectionIceEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcPeerConnectionIceEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcrtpContributingSourceStats { obj : :: js_sys :: Object , } impl RtcrtpContributingSourceStats { pub fn new ( ) -> RtcrtpContributingSourceStats { let mut _ret = RtcrtpContributingSourceStats { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : RtcStatsType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn contributor_ssrc ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "contributorSsrc" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn inbound_rtp_stream_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "inboundRtpStreamId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcrtpContributingSourceStats : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcrtpContributingSourceStats > for JsValue { # [ inline ] fn from ( val : RtcrtpContributingSourceStats ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcrtpContributingSourceStats { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcrtpContributingSourceStats { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcrtpContributingSourceStats { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcrtpContributingSourceStats { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcrtpContributingSourceStats { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcrtpContributingSourceStats { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcrtpContributingSourceStats { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcrtpContributingSourceStats { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcrtpContributingSourceStats { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcrtpContributingSourceStats { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcrtpContributingSourceStats > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcrtpContributingSourceStats { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcrtpContributingSourceStats { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcrtpContributingSourceStats { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcrtpContributingSourceStats ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcrtpStreamStats { obj : :: js_sys :: Object , } impl RtcrtpStreamStats { pub fn new ( ) -> RtcrtpStreamStats { let mut _ret = RtcrtpStreamStats { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : RtcStatsType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bitrate_mean ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bitrateMean" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bitrate_std_dev ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bitrateStdDev" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn codec_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "codecId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn fir_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "firCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn framerate_mean ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framerateMean" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn framerate_std_dev ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framerateStdDev" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn is_remote ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "isRemote" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn media_track_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mediaTrackId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn media_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mediaType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn nack_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "nackCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pli_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pliCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn remote_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "remoteId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ssrc ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ssrc" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn transport_id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "transportId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcrtpStreamStats : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcrtpStreamStats > for JsValue { # [ inline ] fn from ( val : RtcrtpStreamStats ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcrtpStreamStats { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcrtpStreamStats { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcrtpStreamStats { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcrtpStreamStats { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcrtpStreamStats { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcrtpStreamStats { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcrtpStreamStats { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcrtpStreamStats { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcrtpStreamStats { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcrtpStreamStats { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcrtpStreamStats > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcrtpStreamStats { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcrtpStreamStats { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcrtpStreamStats { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcrtpStreamStats ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcRtcpParameters { obj : :: js_sys :: Object , } impl RtcRtcpParameters { pub fn new ( ) -> RtcRtcpParameters { let mut _ret = RtcRtcpParameters { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn cname ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cname" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn reduced_size ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "reducedSize" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcRtcpParameters : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcRtcpParameters > for JsValue { # [ inline ] fn from ( val : RtcRtcpParameters ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcRtcpParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcRtcpParameters { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcRtcpParameters { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcRtcpParameters { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcRtcpParameters { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcRtcpParameters { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcRtcpParameters { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcRtcpParameters { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcRtcpParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcRtcpParameters { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcRtcpParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcRtcpParameters { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcRtcpParameters { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcRtcpParameters { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcRtcpParameters ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcRtpCodecParameters { obj : :: js_sys :: Object , } impl RtcRtpCodecParameters { pub fn new ( ) -> RtcRtpCodecParameters { let mut _ret = RtcRtpCodecParameters { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channels ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channels" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn clock_rate ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clockRate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn mime_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mimeType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn payload_type ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "payloadType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn sdp_fmtp_line ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sdpFmtpLine" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcRtpCodecParameters : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcRtpCodecParameters > for JsValue { # [ inline ] fn from ( val : RtcRtpCodecParameters ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcRtpCodecParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcRtpCodecParameters { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcRtpCodecParameters { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcRtpCodecParameters { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcRtpCodecParameters { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcRtpCodecParameters { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcRtpCodecParameters { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcRtpCodecParameters { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcRtpCodecParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcRtpCodecParameters { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcRtpCodecParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcRtpCodecParameters { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcRtpCodecParameters { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcRtpCodecParameters { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcRtpCodecParameters ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcRtpContributingSource { obj : :: js_sys :: Object , } impl RtcRtpContributingSource { pub fn new ( source : u32 , timestamp : f64 ) -> RtcRtpContributingSource { let mut _ret = RtcRtpContributingSource { obj : :: js_sys :: Object :: new ( ) } ; _ret . source ( source ) ; _ret . timestamp ( timestamp ) ; return _ret } pub fn audio_level ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "audioLevel" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn source ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "source" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcRtpContributingSource : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcRtpContributingSource > for JsValue { # [ inline ] fn from ( val : RtcRtpContributingSource ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcRtpContributingSource { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcRtpContributingSource { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcRtpContributingSource { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcRtpContributingSource { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcRtpContributingSource { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcRtpContributingSource { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcRtpContributingSource { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcRtpContributingSource { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcRtpContributingSource { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcRtpContributingSource { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcRtpContributingSource > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcRtpContributingSource { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcRtpContributingSource { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcRtpContributingSource { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcRtpContributingSource ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcRtpEncodingParameters { obj : :: js_sys :: Object , } impl RtcRtpEncodingParameters { pub fn new ( ) -> RtcRtpEncodingParameters { let mut _ret = RtcRtpEncodingParameters { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn active ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "active" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn degradation_preference ( & mut self , val : RtcDegradationPreference ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "degradationPreference" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn fec ( & mut self , val : & RtcFecParameters ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "fec" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn max_bitrate ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "maxBitrate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn priority ( & mut self , val : RtcPriorityType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "priority" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn rid ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "rid" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn rtx ( & mut self , val : & RtcRtxParameters ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "rtx" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn scale_resolution_down_by ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "scaleResolutionDownBy" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ssrc ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ssrc" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcRtpEncodingParameters : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcRtpEncodingParameters > for JsValue { # [ inline ] fn from ( val : RtcRtpEncodingParameters ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcRtpEncodingParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcRtpEncodingParameters { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcRtpEncodingParameters { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcRtpEncodingParameters { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcRtpEncodingParameters { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcRtpEncodingParameters { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcRtpEncodingParameters { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcRtpEncodingParameters { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcRtpEncodingParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcRtpEncodingParameters { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcRtpEncodingParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcRtpEncodingParameters { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcRtpEncodingParameters { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcRtpEncodingParameters { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcRtpEncodingParameters ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcRtpHeaderExtensionParameters { obj : :: js_sys :: Object , } impl RtcRtpHeaderExtensionParameters { pub fn new ( ) -> RtcRtpHeaderExtensionParameters { let mut _ret = RtcRtpHeaderExtensionParameters { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn encrypted ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "encrypted" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn id ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn uri ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "uri" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcRtpHeaderExtensionParameters : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcRtpHeaderExtensionParameters > for JsValue { # [ inline ] fn from ( val : RtcRtpHeaderExtensionParameters ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcRtpHeaderExtensionParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcRtpHeaderExtensionParameters { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcRtpHeaderExtensionParameters { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcRtpHeaderExtensionParameters { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcRtpHeaderExtensionParameters { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcRtpHeaderExtensionParameters { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcRtpHeaderExtensionParameters { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcRtpHeaderExtensionParameters { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcRtpHeaderExtensionParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcRtpHeaderExtensionParameters { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcRtpHeaderExtensionParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcRtpHeaderExtensionParameters { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcRtpHeaderExtensionParameters { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcRtpHeaderExtensionParameters { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcRtpHeaderExtensionParameters ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcRtpParameters { obj : :: js_sys :: Object , } impl RtcRtpParameters { pub fn new ( ) -> RtcRtpParameters { let mut _ret = RtcRtpParameters { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn rtcp ( & mut self , val : & RtcRtcpParameters ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "rtcp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcRtpParameters : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcRtpParameters > for JsValue { # [ inline ] fn from ( val : RtcRtpParameters ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcRtpParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcRtpParameters { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcRtpParameters { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcRtpParameters { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcRtpParameters { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcRtpParameters { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcRtpParameters { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcRtpParameters { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcRtpParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcRtpParameters { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcRtpParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcRtpParameters { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcRtpParameters { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcRtpParameters { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcRtpParameters ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcRtpSourceEntry { obj : :: js_sys :: Object , } impl RtcRtpSourceEntry { pub fn new ( source : u32 , timestamp : f64 , source_type : RtcRtpSourceEntryType ) -> RtcRtpSourceEntry { let mut _ret = RtcRtpSourceEntry { obj : :: js_sys :: Object :: new ( ) } ; _ret . source ( source ) ; _ret . timestamp ( timestamp ) ; _ret . source_type ( source_type ) ; return _ret } pub fn audio_level ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "audioLevel" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn source ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "source" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn voice_activity_flag ( & mut self , val : Option < bool > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "voiceActivityFlag" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn source_type ( & mut self , val : RtcRtpSourceEntryType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sourceType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcRtpSourceEntry : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcRtpSourceEntry > for JsValue { # [ inline ] fn from ( val : RtcRtpSourceEntry ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcRtpSourceEntry { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcRtpSourceEntry { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcRtpSourceEntry { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcRtpSourceEntry { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcRtpSourceEntry { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcRtpSourceEntry { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcRtpSourceEntry { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcRtpSourceEntry { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcRtpSourceEntry { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcRtpSourceEntry { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcRtpSourceEntry > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcRtpSourceEntry { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcRtpSourceEntry { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcRtpSourceEntry { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcRtpSourceEntry ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcRtpSynchronizationSource { obj : :: js_sys :: Object , } impl RtcRtpSynchronizationSource { pub fn new ( source : u32 , timestamp : f64 ) -> RtcRtpSynchronizationSource { let mut _ret = RtcRtpSynchronizationSource { obj : :: js_sys :: Object :: new ( ) } ; _ret . source ( source ) ; _ret . timestamp ( timestamp ) ; return _ret } pub fn audio_level ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "audioLevel" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn source ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "source" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn voice_activity_flag ( & mut self , val : Option < bool > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "voiceActivityFlag" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcRtpSynchronizationSource : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcRtpSynchronizationSource > for JsValue { # [ inline ] fn from ( val : RtcRtpSynchronizationSource ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcRtpSynchronizationSource { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcRtpSynchronizationSource { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcRtpSynchronizationSource { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcRtpSynchronizationSource { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcRtpSynchronizationSource { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcRtpSynchronizationSource { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcRtpSynchronizationSource { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcRtpSynchronizationSource { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcRtpSynchronizationSource { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcRtpSynchronizationSource { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcRtpSynchronizationSource > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcRtpSynchronizationSource { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcRtpSynchronizationSource { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcRtpSynchronizationSource { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcRtpSynchronizationSource ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcRtxParameters { obj : :: js_sys :: Object , } impl RtcRtxParameters { pub fn new ( ) -> RtcRtxParameters { let mut _ret = RtcRtxParameters { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn ssrc ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ssrc" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcRtxParameters : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcRtxParameters > for JsValue { # [ inline ] fn from ( val : RtcRtxParameters ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcRtxParameters { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcRtxParameters { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcRtxParameters { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcRtxParameters { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcRtxParameters { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcRtxParameters { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcRtxParameters { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcRtxParameters { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcRtxParameters { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcRtxParameters { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcRtxParameters > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcRtxParameters { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcRtxParameters { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcRtxParameters { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcRtxParameters ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcSessionDescriptionInit { obj : :: js_sys :: Object , } impl RtcSessionDescriptionInit { pub fn new ( type_ : RtcSdpType ) -> RtcSessionDescriptionInit { let mut _ret = RtcSessionDescriptionInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . type_ ( type_ ) ; return _ret } pub fn sdp ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sdp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : RtcSdpType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcSessionDescriptionInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcSessionDescriptionInit > for JsValue { # [ inline ] fn from ( val : RtcSessionDescriptionInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcSessionDescriptionInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcSessionDescriptionInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcSessionDescriptionInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcSessionDescriptionInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcSessionDescriptionInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcSessionDescriptionInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcSessionDescriptionInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcSessionDescriptionInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcSessionDescriptionInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcSessionDescriptionInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcSessionDescriptionInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcSessionDescriptionInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcSessionDescriptionInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcSessionDescriptionInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcSessionDescriptionInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcStats { obj : :: js_sys :: Object , } impl RtcStats { pub fn new ( ) -> RtcStats { let mut _ret = RtcStats { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : RtcStatsType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcStats : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcStats > for JsValue { # [ inline ] fn from ( val : RtcStats ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcStats { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcStats { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcStats { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcStats { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcStats { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcStats { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcStats { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcStats { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcStats { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcStats { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcStats > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcStats { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcStats { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcStats { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcStats ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcStatsReportInternal { obj : :: js_sys :: Object , } impl RtcStatsReportInternal { pub fn new ( ) -> RtcStatsReportInternal { let mut _ret = RtcStatsReportInternal { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn closed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "closed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ice_restarts ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iceRestarts" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ice_rollbacks ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "iceRollbacks" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn local_sdp ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "localSdp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn offerer ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "offerer" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pcid ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pcid" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn remote_sdp ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "remoteSdp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcStatsReportInternal : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcStatsReportInternal > for JsValue { # [ inline ] fn from ( val : RtcStatsReportInternal ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcStatsReportInternal { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcStatsReportInternal { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcStatsReportInternal { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcStatsReportInternal { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcStatsReportInternal { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcStatsReportInternal { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcStatsReportInternal { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcStatsReportInternal { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcStatsReportInternal { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcStatsReportInternal { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcStatsReportInternal > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcStatsReportInternal { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcStatsReportInternal { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcStatsReportInternal { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcStatsReportInternal ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RtcTransportStats { obj : :: js_sys :: Object , } impl RtcTransportStats { pub fn new ( ) -> RtcTransportStats { let mut _ret = RtcTransportStats { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn id ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "id" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn timestamp ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "timestamp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : RtcStatsType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bytes_received ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bytesReceived" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn bytes_sent ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bytesSent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RtcTransportStats : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RtcTransportStats > for JsValue { # [ inline ] fn from ( val : RtcTransportStats ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RtcTransportStats { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RtcTransportStats { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RtcTransportStats { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RtcTransportStats { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RtcTransportStats { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RtcTransportStats { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RtcTransportStats { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RtcTransportStats { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RtcTransportStats { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RtcTransportStats { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RtcTransportStats > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RtcTransportStats { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RtcTransportStats { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RtcTransportStats { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RtcTransportStats ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RcwnPerfStats { obj : :: js_sys :: Object , } impl RcwnPerfStats { pub fn new ( ) -> RcwnPerfStats { let mut _ret = RcwnPerfStats { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn avg_long ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "avgLong" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn avg_short ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "avgShort" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stddev_long ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stddevLong" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RcwnPerfStats : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RcwnPerfStats > for JsValue { # [ inline ] fn from ( val : RcwnPerfStats ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RcwnPerfStats { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RcwnPerfStats { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RcwnPerfStats { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RcwnPerfStats { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RcwnPerfStats { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RcwnPerfStats { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RcwnPerfStats { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RcwnPerfStats { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RcwnPerfStats { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RcwnPerfStats { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RcwnPerfStats > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RcwnPerfStats { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RcwnPerfStats { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RcwnPerfStats { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RcwnPerfStats ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RcwnStatus { obj : :: js_sys :: Object , } impl RcwnStatus { pub fn new ( ) -> RcwnStatus { let mut _ret = RcwnStatus { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn cache_not_slow_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cacheNotSlowCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cache_slow_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cacheSlowCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn rcwn_cache_won_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "rcwnCacheWonCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn rcwn_net_won_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "rcwnNetWonCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn total_network_requests ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "totalNetworkRequests" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RcwnStatus : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RcwnStatus > for JsValue { # [ inline ] fn from ( val : RcwnStatus ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RcwnStatus { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RcwnStatus { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RcwnStatus { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RcwnStatus { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RcwnStatus { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RcwnStatus { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RcwnStatus { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RcwnStatus { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RcwnStatus { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RcwnStatus { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RcwnStatus > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RcwnStatus { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RcwnStatus { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RcwnStatus { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RcwnStatus ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RegisterRequest { obj : :: js_sys :: Object , } impl RegisterRequest { pub fn new ( ) -> RegisterRequest { let mut _ret = RegisterRequest { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn challenge ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "challenge" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn version ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "version" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RegisterRequest : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RegisterRequest > for JsValue { # [ inline ] fn from ( val : RegisterRequest ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RegisterRequest { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RegisterRequest { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RegisterRequest { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RegisterRequest { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RegisterRequest { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RegisterRequest { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RegisterRequest { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RegisterRequest { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RegisterRequest { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RegisterRequest { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RegisterRequest > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RegisterRequest { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RegisterRequest { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RegisterRequest { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RegisterRequest ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RegisterResponse { obj : :: js_sys :: Object , } impl RegisterResponse { pub fn new ( ) -> RegisterResponse { let mut _ret = RegisterResponse { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn client_data ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientData" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn error_code ( & mut self , val : Option < u16 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "errorCode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn error_message ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "errorMessage" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn registration_data ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "registrationData" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn version ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "version" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RegisterResponse : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RegisterResponse > for JsValue { # [ inline ] fn from ( val : RegisterResponse ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RegisterResponse { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RegisterResponse { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RegisterResponse { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RegisterResponse { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RegisterResponse { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RegisterResponse { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RegisterResponse { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RegisterResponse { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RegisterResponse { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RegisterResponse { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RegisterResponse > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RegisterResponse { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RegisterResponse { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RegisterResponse { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RegisterResponse ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RegisteredKey { obj : :: js_sys :: Object , } impl RegisteredKey { pub fn new ( ) -> RegisteredKey { let mut _ret = RegisteredKey { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn app_id ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "appId" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn key_handle ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "keyHandle" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn version ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "version" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RegisteredKey : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RegisteredKey > for JsValue { # [ inline ] fn from ( val : RegisteredKey ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RegisteredKey { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RegisteredKey { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RegisteredKey { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RegisteredKey { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RegisteredKey { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RegisteredKey { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RegisteredKey { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RegisteredKey { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RegisteredKey { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RegisteredKey { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RegisteredKey > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RegisteredKey { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RegisteredKey { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RegisteredKey { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RegisteredKey ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RegistrationOptions { obj : :: js_sys :: Object , } impl RegistrationOptions { pub fn new ( ) -> RegistrationOptions { let mut _ret = RegistrationOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn scope ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "scope" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn update_via_cache ( & mut self , val : ServiceWorkerUpdateViaCache ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "updateViaCache" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RegistrationOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RegistrationOptions > for JsValue { # [ inline ] fn from ( val : RegistrationOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RegistrationOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RegistrationOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RegistrationOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RegistrationOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RegistrationOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RegistrationOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RegistrationOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RegistrationOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RegistrationOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RegistrationOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RegistrationOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RegistrationOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RegistrationOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RegistrationOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RegistrationOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RequestInit { obj : :: js_sys :: Object , } impl RequestInit { pub fn new ( ) -> RequestInit { let mut _ret = RequestInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn body ( & mut self , val : Option < & :: wasm_bindgen :: JsValue > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "body" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cache ( & mut self , val : RequestCache ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cache" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn credentials ( & mut self , val : RequestCredentials ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "credentials" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn headers ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "headers" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn integrity ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "integrity" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn method ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "method" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn mode ( & mut self , val : RequestMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn observe ( & mut self , val : & ObserverCallback ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "observe" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn redirect ( & mut self , val : RequestRedirect ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "redirect" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn referrer ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "referrer" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn referrer_policy ( & mut self , val : ReferrerPolicy ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "referrerPolicy" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn signal ( & mut self , val : Option < & AbortSignal > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "signal" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RequestInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RequestInit > for JsValue { # [ inline ] fn from ( val : RequestInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RequestInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RequestInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RequestInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RequestInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RequestInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RequestInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RequestInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RequestInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RequestInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RequestInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RequestInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RequestInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RequestInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RequestInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RequestInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RequestMediaKeySystemAccessNotification { obj : :: js_sys :: Object , } impl RequestMediaKeySystemAccessNotification { pub fn new ( key_system : & str , status : MediaKeySystemStatus ) -> RequestMediaKeySystemAccessNotification { let mut _ret = RequestMediaKeySystemAccessNotification { obj : :: js_sys :: Object :: new ( ) } ; _ret . key_system ( key_system ) ; _ret . status ( status ) ; return _ret } pub fn key_system ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "keySystem" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn status ( & mut self , val : MediaKeySystemStatus ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "status" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RequestMediaKeySystemAccessNotification : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RequestMediaKeySystemAccessNotification > for JsValue { # [ inline ] fn from ( val : RequestMediaKeySystemAccessNotification ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RequestMediaKeySystemAccessNotification { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RequestMediaKeySystemAccessNotification { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RequestMediaKeySystemAccessNotification { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RequestMediaKeySystemAccessNotification { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RequestMediaKeySystemAccessNotification { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RequestMediaKeySystemAccessNotification { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RequestMediaKeySystemAccessNotification { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RequestMediaKeySystemAccessNotification { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RequestMediaKeySystemAccessNotification { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RequestMediaKeySystemAccessNotification { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RequestMediaKeySystemAccessNotification > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RequestMediaKeySystemAccessNotification { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RequestMediaKeySystemAccessNotification { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RequestMediaKeySystemAccessNotification { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RequestMediaKeySystemAccessNotification ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ResponseInit { obj : :: js_sys :: Object , } impl ResponseInit { pub fn new ( ) -> ResponseInit { let mut _ret = ResponseInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn headers ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "headers" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn status ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "status" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn status_text ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "statusText" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ResponseInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ResponseInit > for JsValue { # [ inline ] fn from ( val : ResponseInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ResponseInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ResponseInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ResponseInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ResponseInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ResponseInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ResponseInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ResponseInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ResponseInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ResponseInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ResponseInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ResponseInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ResponseInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ResponseInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ResponseInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ResponseInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RsaHashedImportParams { obj : :: js_sys :: Object , } impl RsaHashedImportParams { pub fn new ( hash : & :: wasm_bindgen :: JsValue ) -> RsaHashedImportParams { let mut _ret = RsaHashedImportParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . hash ( hash ) ; return _ret } pub fn hash ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "hash" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RsaHashedImportParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RsaHashedImportParams > for JsValue { # [ inline ] fn from ( val : RsaHashedImportParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RsaHashedImportParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RsaHashedImportParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RsaHashedImportParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RsaHashedImportParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RsaHashedImportParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RsaHashedImportParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RsaHashedImportParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RsaHashedImportParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RsaHashedImportParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RsaHashedImportParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RsaHashedImportParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RsaHashedImportParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RsaHashedImportParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RsaHashedImportParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RsaHashedImportParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RsaOaepParams { obj : :: js_sys :: Object , } impl RsaOaepParams { pub fn new ( name : & str ) -> RsaOaepParams { let mut _ret = RsaOaepParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn label ( & mut self , val : & :: js_sys :: Object ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "label" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RsaOaepParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RsaOaepParams > for JsValue { # [ inline ] fn from ( val : RsaOaepParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RsaOaepParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RsaOaepParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RsaOaepParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RsaOaepParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RsaOaepParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RsaOaepParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RsaOaepParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RsaOaepParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RsaOaepParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RsaOaepParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RsaOaepParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RsaOaepParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RsaOaepParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RsaOaepParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RsaOaepParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RsaOtherPrimesInfo { obj : :: js_sys :: Object , } impl RsaOtherPrimesInfo { pub fn new ( d : & str , r : & str , t : & str ) -> RsaOtherPrimesInfo { let mut _ret = RsaOtherPrimesInfo { obj : :: js_sys :: Object :: new ( ) } ; _ret . d ( d ) ; _ret . r ( r ) ; _ret . t ( t ) ; return _ret } pub fn d ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "d" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn r ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "r" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn t ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "t" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RsaOtherPrimesInfo : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RsaOtherPrimesInfo > for JsValue { # [ inline ] fn from ( val : RsaOtherPrimesInfo ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RsaOtherPrimesInfo { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RsaOtherPrimesInfo { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RsaOtherPrimesInfo { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RsaOtherPrimesInfo { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RsaOtherPrimesInfo { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RsaOtherPrimesInfo { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RsaOtherPrimesInfo { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RsaOtherPrimesInfo { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RsaOtherPrimesInfo { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RsaOtherPrimesInfo { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RsaOtherPrimesInfo > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RsaOtherPrimesInfo { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RsaOtherPrimesInfo { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RsaOtherPrimesInfo { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RsaOtherPrimesInfo ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct RsaPssParams { obj : :: js_sys :: Object , } impl RsaPssParams { pub fn new ( name : & str , salt_length : u32 ) -> RsaPssParams { let mut _ret = RsaPssParams { obj : :: js_sys :: Object :: new ( ) } ; _ret . name ( name ) ; _ret . salt_length ( salt_length ) ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn salt_length ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "saltLength" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_RsaPssParams : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < RsaPssParams > for JsValue { # [ inline ] fn from ( val : RsaPssParams ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for RsaPssParams { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for RsaPssParams { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for RsaPssParams { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a RsaPssParams { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for RsaPssParams { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { RsaPssParams { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for RsaPssParams { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a RsaPssParams { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for RsaPssParams { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for RsaPssParams { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < RsaPssParams > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( RsaPssParams { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for RsaPssParams { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { RsaPssParams { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const RsaPssParams ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct SvgBoundingBoxOptions { obj : :: js_sys :: Object , } impl SvgBoundingBoxOptions { pub fn new ( ) -> SvgBoundingBoxOptions { let mut _ret = SvgBoundingBoxOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn clipped ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clipped" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn fill ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "fill" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn markers ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "markers" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stroke ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stroke" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_SvgBoundingBoxOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < SvgBoundingBoxOptions > for JsValue { # [ inline ] fn from ( val : SvgBoundingBoxOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for SvgBoundingBoxOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for SvgBoundingBoxOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for SvgBoundingBoxOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a SvgBoundingBoxOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for SvgBoundingBoxOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { SvgBoundingBoxOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for SvgBoundingBoxOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a SvgBoundingBoxOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for SvgBoundingBoxOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for SvgBoundingBoxOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < SvgBoundingBoxOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( SvgBoundingBoxOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for SvgBoundingBoxOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SvgBoundingBoxOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SvgBoundingBoxOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ScrollIntoViewOptions { obj : :: js_sys :: Object , } impl ScrollIntoViewOptions { pub fn new ( ) -> ScrollIntoViewOptions { let mut _ret = ScrollIntoViewOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn behavior ( & mut self , val : ScrollBehavior ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "behavior" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn block ( & mut self , val : ScrollLogicalPosition ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "block" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn inline ( & mut self , val : ScrollLogicalPosition ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "inline" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ScrollIntoViewOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ScrollIntoViewOptions > for JsValue { # [ inline ] fn from ( val : ScrollIntoViewOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ScrollIntoViewOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ScrollIntoViewOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ScrollIntoViewOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ScrollIntoViewOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ScrollIntoViewOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ScrollIntoViewOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ScrollIntoViewOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ScrollIntoViewOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ScrollIntoViewOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ScrollIntoViewOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ScrollIntoViewOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ScrollIntoViewOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ScrollIntoViewOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ScrollIntoViewOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ScrollIntoViewOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ScrollOptions { obj : :: js_sys :: Object , } impl ScrollOptions { pub fn new ( ) -> ScrollOptions { let mut _ret = ScrollOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn behavior ( & mut self , val : ScrollBehavior ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "behavior" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ScrollOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ScrollOptions > for JsValue { # [ inline ] fn from ( val : ScrollOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ScrollOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ScrollOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ScrollOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ScrollOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ScrollOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ScrollOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ScrollOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ScrollOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ScrollOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ScrollOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ScrollOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ScrollOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ScrollOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ScrollOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ScrollOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ScrollToOptions { obj : :: js_sys :: Object , } impl ScrollToOptions { pub fn new ( ) -> ScrollToOptions { let mut _ret = ScrollToOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn behavior ( & mut self , val : ScrollBehavior ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "behavior" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn left ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "left" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn top ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "top" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ScrollToOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ScrollToOptions > for JsValue { # [ inline ] fn from ( val : ScrollToOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ScrollToOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ScrollToOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ScrollToOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ScrollToOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ScrollToOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ScrollToOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ScrollToOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ScrollToOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ScrollToOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ScrollToOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ScrollToOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ScrollToOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ScrollToOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ScrollToOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ScrollToOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ScrollViewChangeEventInit { obj : :: js_sys :: Object , } impl ScrollViewChangeEventInit { pub fn new ( ) -> ScrollViewChangeEventInit { let mut _ret = ScrollViewChangeEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn state ( & mut self , val : ScrollState ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "state" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ScrollViewChangeEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ScrollViewChangeEventInit > for JsValue { # [ inline ] fn from ( val : ScrollViewChangeEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ScrollViewChangeEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ScrollViewChangeEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ScrollViewChangeEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ScrollViewChangeEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ScrollViewChangeEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ScrollViewChangeEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ScrollViewChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ScrollViewChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ScrollViewChangeEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ScrollViewChangeEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ScrollViewChangeEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ScrollViewChangeEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ScrollViewChangeEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ScrollViewChangeEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ScrollViewChangeEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct SecurityPolicyViolationEventInit { obj : :: js_sys :: Object , } impl SecurityPolicyViolationEventInit { pub fn new ( ) -> SecurityPolicyViolationEventInit { let mut _ret = SecurityPolicyViolationEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn blocked_uri ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "blockedURI" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn column_number ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "columnNumber" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn disposition ( & mut self , val : SecurityPolicyViolationEventDisposition ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "disposition" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn document_uri ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "documentURI" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn effective_directive ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "effectiveDirective" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn line_number ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lineNumber" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn original_policy ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "originalPolicy" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn referrer ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "referrer" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn sample ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sample" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn source_file ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sourceFile" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn status_code ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "statusCode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn violated_directive ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "violatedDirective" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_SecurityPolicyViolationEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < SecurityPolicyViolationEventInit > for JsValue { # [ inline ] fn from ( val : SecurityPolicyViolationEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for SecurityPolicyViolationEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for SecurityPolicyViolationEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for SecurityPolicyViolationEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a SecurityPolicyViolationEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for SecurityPolicyViolationEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { SecurityPolicyViolationEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for SecurityPolicyViolationEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a SecurityPolicyViolationEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for SecurityPolicyViolationEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for SecurityPolicyViolationEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < SecurityPolicyViolationEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( SecurityPolicyViolationEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for SecurityPolicyViolationEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SecurityPolicyViolationEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SecurityPolicyViolationEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ServerSocketOptions { obj : :: js_sys :: Object , } impl ServerSocketOptions { pub fn new ( ) -> ServerSocketOptions { let mut _ret = ServerSocketOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn binary_type ( & mut self , val : TcpSocketBinaryType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "binaryType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ServerSocketOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ServerSocketOptions > for JsValue { # [ inline ] fn from ( val : ServerSocketOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ServerSocketOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ServerSocketOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ServerSocketOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ServerSocketOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ServerSocketOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ServerSocketOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ServerSocketOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ServerSocketOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ServerSocketOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ServerSocketOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ServerSocketOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ServerSocketOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ServerSocketOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ServerSocketOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ServerSocketOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ShadowRootInit { obj : :: js_sys :: Object , } impl ShadowRootInit { pub fn new ( mode : ShadowRootMode ) -> ShadowRootInit { let mut _ret = ShadowRootInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . mode ( mode ) ; return _ret } pub fn mode ( & mut self , val : ShadowRootMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ShadowRootInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ShadowRootInit > for JsValue { # [ inline ] fn from ( val : ShadowRootInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ShadowRootInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ShadowRootInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ShadowRootInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ShadowRootInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ShadowRootInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ShadowRootInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ShadowRootInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ShadowRootInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ShadowRootInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ShadowRootInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ShadowRootInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ShadowRootInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ShadowRootInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ShadowRootInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ShadowRootInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct SignResponse { obj : :: js_sys :: Object , } impl SignResponse { pub fn new ( ) -> SignResponse { let mut _ret = SignResponse { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn client_data ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientData" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn error_code ( & mut self , val : Option < u16 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "errorCode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn error_message ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "errorMessage" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn key_handle ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "keyHandle" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn signature_data ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "signatureData" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_SignResponse : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < SignResponse > for JsValue { # [ inline ] fn from ( val : SignResponse ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for SignResponse { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for SignResponse { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for SignResponse { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a SignResponse { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for SignResponse { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { SignResponse { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for SignResponse { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a SignResponse { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for SignResponse { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for SignResponse { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < SignResponse > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( SignResponse { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for SignResponse { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SignResponse { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SignResponse ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct SocketElement { obj : :: js_sys :: Object , } impl SocketElement { pub fn new ( ) -> SocketElement { let mut _ret = SocketElement { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn active ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "active" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn host ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "host" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn port ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "port" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn received ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "received" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn sent ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn tcp ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "tcp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_SocketElement : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < SocketElement > for JsValue { # [ inline ] fn from ( val : SocketElement ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for SocketElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for SocketElement { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for SocketElement { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a SocketElement { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for SocketElement { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { SocketElement { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for SocketElement { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a SocketElement { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for SocketElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for SocketElement { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < SocketElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( SocketElement { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for SocketElement { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SocketElement { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SocketElement ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct SocketOptions { obj : :: js_sys :: Object , } impl SocketOptions { pub fn new ( ) -> SocketOptions { let mut _ret = SocketOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn binary_type ( & mut self , val : TcpSocketBinaryType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "binaryType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn use_secure_transport ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "useSecureTransport" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_SocketOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < SocketOptions > for JsValue { # [ inline ] fn from ( val : SocketOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for SocketOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for SocketOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for SocketOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a SocketOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for SocketOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { SocketOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for SocketOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a SocketOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for SocketOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for SocketOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < SocketOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( SocketOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for SocketOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SocketOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SocketOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct SocketsDict { obj : :: js_sys :: Object , } impl SocketsDict { pub fn new ( ) -> SocketsDict { let mut _ret = SocketsDict { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn received ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "received" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn sent ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_SocketsDict : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < SocketsDict > for JsValue { # [ inline ] fn from ( val : SocketsDict ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for SocketsDict { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for SocketsDict { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for SocketsDict { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a SocketsDict { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for SocketsDict { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { SocketsDict { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for SocketsDict { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a SocketsDict { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for SocketsDict { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for SocketsDict { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < SocketsDict > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( SocketsDict { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for SocketsDict { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SocketsDict { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SocketsDict ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct SpeechRecognitionErrorInit { obj : :: js_sys :: Object , } impl SpeechRecognitionErrorInit { pub fn new ( ) -> SpeechRecognitionErrorInit { let mut _ret = SpeechRecognitionErrorInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn error ( & mut self , val : SpeechRecognitionErrorCode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "error" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn message ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "message" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_SpeechRecognitionErrorInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < SpeechRecognitionErrorInit > for JsValue { # [ inline ] fn from ( val : SpeechRecognitionErrorInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for SpeechRecognitionErrorInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for SpeechRecognitionErrorInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for SpeechRecognitionErrorInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a SpeechRecognitionErrorInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for SpeechRecognitionErrorInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { SpeechRecognitionErrorInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for SpeechRecognitionErrorInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechRecognitionErrorInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for SpeechRecognitionErrorInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for SpeechRecognitionErrorInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < SpeechRecognitionErrorInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( SpeechRecognitionErrorInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for SpeechRecognitionErrorInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechRecognitionErrorInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechRecognitionErrorInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct SpeechRecognitionEventInit { obj : :: js_sys :: Object , } impl SpeechRecognitionEventInit { pub fn new ( ) -> SpeechRecognitionEventInit { let mut _ret = SpeechRecognitionEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn emma ( & mut self , val : Option < & Document > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "emma" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn interpretation ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "interpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn result_index ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "resultIndex" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn results ( & mut self , val : Option < & SpeechRecognitionResultList > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "results" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_SpeechRecognitionEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < SpeechRecognitionEventInit > for JsValue { # [ inline ] fn from ( val : SpeechRecognitionEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for SpeechRecognitionEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for SpeechRecognitionEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for SpeechRecognitionEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a SpeechRecognitionEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for SpeechRecognitionEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { SpeechRecognitionEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for SpeechRecognitionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechRecognitionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for SpeechRecognitionEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for SpeechRecognitionEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < SpeechRecognitionEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( SpeechRecognitionEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for SpeechRecognitionEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechRecognitionEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechRecognitionEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct SpeechSynthesisErrorEventInit { obj : :: js_sys :: Object , } impl SpeechSynthesisErrorEventInit { pub fn new ( utterance : & SpeechSynthesisUtterance , error : SpeechSynthesisErrorCode ) -> SpeechSynthesisErrorEventInit { let mut _ret = SpeechSynthesisErrorEventInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . utterance ( utterance ) ; _ret . error ( error ) ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn char_index ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "charIndex" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn char_length ( & mut self , val : Option < u32 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "charLength" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn elapsed_time ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "elapsedTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn utterance ( & mut self , val : & SpeechSynthesisUtterance ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "utterance" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn error ( & mut self , val : SpeechSynthesisErrorCode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "error" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_SpeechSynthesisErrorEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < SpeechSynthesisErrorEventInit > for JsValue { # [ inline ] fn from ( val : SpeechSynthesisErrorEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for SpeechSynthesisErrorEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for SpeechSynthesisErrorEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for SpeechSynthesisErrorEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a SpeechSynthesisErrorEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for SpeechSynthesisErrorEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { SpeechSynthesisErrorEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for SpeechSynthesisErrorEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechSynthesisErrorEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for SpeechSynthesisErrorEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for SpeechSynthesisErrorEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < SpeechSynthesisErrorEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( SpeechSynthesisErrorEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for SpeechSynthesisErrorEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechSynthesisErrorEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechSynthesisErrorEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct SpeechSynthesisEventInit { obj : :: js_sys :: Object , } impl SpeechSynthesisEventInit { pub fn new ( utterance : & SpeechSynthesisUtterance ) -> SpeechSynthesisEventInit { let mut _ret = SpeechSynthesisEventInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . utterance ( utterance ) ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn char_index ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "charIndex" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn char_length ( & mut self , val : Option < u32 > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "charLength" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn elapsed_time ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "elapsedTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn utterance ( & mut self , val : & SpeechSynthesisUtterance ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "utterance" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_SpeechSynthesisEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < SpeechSynthesisEventInit > for JsValue { # [ inline ] fn from ( val : SpeechSynthesisEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for SpeechSynthesisEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for SpeechSynthesisEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for SpeechSynthesisEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a SpeechSynthesisEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for SpeechSynthesisEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { SpeechSynthesisEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for SpeechSynthesisEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a SpeechSynthesisEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for SpeechSynthesisEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for SpeechSynthesisEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < SpeechSynthesisEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( SpeechSynthesisEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for SpeechSynthesisEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { SpeechSynthesisEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const SpeechSynthesisEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct StereoPannerOptions { obj : :: js_sys :: Object , } impl StereoPannerOptions { pub fn new ( ) -> StereoPannerOptions { let mut _ret = StereoPannerOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pan ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pan" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_StereoPannerOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < StereoPannerOptions > for JsValue { # [ inline ] fn from ( val : StereoPannerOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for StereoPannerOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for StereoPannerOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for StereoPannerOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a StereoPannerOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for StereoPannerOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { StereoPannerOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for StereoPannerOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a StereoPannerOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for StereoPannerOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for StereoPannerOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < StereoPannerOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( StereoPannerOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for StereoPannerOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { StereoPannerOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const StereoPannerOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct StorageEstimate { obj : :: js_sys :: Object , } impl StorageEstimate { pub fn new ( ) -> StorageEstimate { let mut _ret = StorageEstimate { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn quota ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "quota" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn usage ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "usage" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_StorageEstimate : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < StorageEstimate > for JsValue { # [ inline ] fn from ( val : StorageEstimate ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for StorageEstimate { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for StorageEstimate { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for StorageEstimate { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a StorageEstimate { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for StorageEstimate { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { StorageEstimate { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for StorageEstimate { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a StorageEstimate { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for StorageEstimate { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for StorageEstimate { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < StorageEstimate > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( StorageEstimate { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for StorageEstimate { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { StorageEstimate { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const StorageEstimate ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct StorageEventInit { obj : :: js_sys :: Object , } impl StorageEventInit { pub fn new ( ) -> StorageEventInit { let mut _ret = StorageEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn key ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "key" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn new_value ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "newValue" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn old_value ( & mut self , val : Option < & str > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "oldValue" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn storage_area ( & mut self , val : Option < & Storage > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "storageArea" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn url ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "url" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_StorageEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < StorageEventInit > for JsValue { # [ inline ] fn from ( val : StorageEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for StorageEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for StorageEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for StorageEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a StorageEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for StorageEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { StorageEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for StorageEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a StorageEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for StorageEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for StorageEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < StorageEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( StorageEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for StorageEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { StorageEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const StorageEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct StyleRuleChangeEventInit { obj : :: js_sys :: Object , } impl StyleRuleChangeEventInit { pub fn new ( ) -> StyleRuleChangeEventInit { let mut _ret = StyleRuleChangeEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn rule ( & mut self , val : Option < & CssRule > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "rule" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stylesheet ( & mut self , val : Option < & CssStyleSheet > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stylesheet" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_StyleRuleChangeEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < StyleRuleChangeEventInit > for JsValue { # [ inline ] fn from ( val : StyleRuleChangeEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for StyleRuleChangeEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for StyleRuleChangeEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for StyleRuleChangeEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a StyleRuleChangeEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for StyleRuleChangeEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { StyleRuleChangeEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for StyleRuleChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a StyleRuleChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for StyleRuleChangeEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for StyleRuleChangeEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < StyleRuleChangeEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( StyleRuleChangeEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for StyleRuleChangeEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { StyleRuleChangeEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const StyleRuleChangeEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct StyleSheetApplicableStateChangeEventInit { obj : :: js_sys :: Object , } impl StyleSheetApplicableStateChangeEventInit { pub fn new ( ) -> StyleSheetApplicableStateChangeEventInit { let mut _ret = StyleSheetApplicableStateChangeEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn applicable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "applicable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stylesheet ( & mut self , val : Option < & CssStyleSheet > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stylesheet" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_StyleSheetApplicableStateChangeEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < StyleSheetApplicableStateChangeEventInit > for JsValue { # [ inline ] fn from ( val : StyleSheetApplicableStateChangeEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for StyleSheetApplicableStateChangeEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for StyleSheetApplicableStateChangeEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for StyleSheetApplicableStateChangeEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a StyleSheetApplicableStateChangeEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for StyleSheetApplicableStateChangeEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { StyleSheetApplicableStateChangeEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for StyleSheetApplicableStateChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a StyleSheetApplicableStateChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for StyleSheetApplicableStateChangeEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for StyleSheetApplicableStateChangeEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < StyleSheetApplicableStateChangeEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( StyleSheetApplicableStateChangeEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for StyleSheetApplicableStateChangeEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { StyleSheetApplicableStateChangeEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const StyleSheetApplicableStateChangeEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct StyleSheetChangeEventInit { obj : :: js_sys :: Object , } impl StyleSheetChangeEventInit { pub fn new ( ) -> StyleSheetChangeEventInit { let mut _ret = StyleSheetChangeEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn document_sheet ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "documentSheet" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stylesheet ( & mut self , val : Option < & CssStyleSheet > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stylesheet" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_StyleSheetChangeEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < StyleSheetChangeEventInit > for JsValue { # [ inline ] fn from ( val : StyleSheetChangeEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for StyleSheetChangeEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for StyleSheetChangeEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for StyleSheetChangeEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a StyleSheetChangeEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for StyleSheetChangeEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { StyleSheetChangeEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for StyleSheetChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a StyleSheetChangeEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for StyleSheetChangeEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for StyleSheetChangeEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < StyleSheetChangeEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( StyleSheetChangeEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for StyleSheetChangeEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { StyleSheetChangeEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const StyleSheetChangeEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct TcpServerSocketEventInit { obj : :: js_sys :: Object , } impl TcpServerSocketEventInit { pub fn new ( ) -> TcpServerSocketEventInit { let mut _ret = TcpServerSocketEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn socket ( & mut self , val : Option < & TcpSocket > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "socket" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_TcpServerSocketEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < TcpServerSocketEventInit > for JsValue { # [ inline ] fn from ( val : TcpServerSocketEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for TcpServerSocketEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for TcpServerSocketEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for TcpServerSocketEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a TcpServerSocketEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for TcpServerSocketEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { TcpServerSocketEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for TcpServerSocketEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a TcpServerSocketEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for TcpServerSocketEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for TcpServerSocketEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < TcpServerSocketEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( TcpServerSocketEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for TcpServerSocketEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TcpServerSocketEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TcpServerSocketEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct TcpSocketErrorEventInit { obj : :: js_sys :: Object , } impl TcpSocketErrorEventInit { pub fn new ( ) -> TcpSocketErrorEventInit { let mut _ret = TcpSocketErrorEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn message ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "message" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_TcpSocketErrorEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < TcpSocketErrorEventInit > for JsValue { # [ inline ] fn from ( val : TcpSocketErrorEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for TcpSocketErrorEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for TcpSocketErrorEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for TcpSocketErrorEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a TcpSocketErrorEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for TcpSocketErrorEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { TcpSocketErrorEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for TcpSocketErrorEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a TcpSocketErrorEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for TcpSocketErrorEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for TcpSocketErrorEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < TcpSocketErrorEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( TcpSocketErrorEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for TcpSocketErrorEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TcpSocketErrorEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TcpSocketErrorEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct TcpSocketEventInit { obj : :: js_sys :: Object , } impl TcpSocketEventInit { pub fn new ( ) -> TcpSocketEventInit { let mut _ret = TcpSocketEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn data ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "data" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_TcpSocketEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < TcpSocketEventInit > for JsValue { # [ inline ] fn from ( val : TcpSocketEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for TcpSocketEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for TcpSocketEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for TcpSocketEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a TcpSocketEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for TcpSocketEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { TcpSocketEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for TcpSocketEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a TcpSocketEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for TcpSocketEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for TcpSocketEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < TcpSocketEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( TcpSocketEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for TcpSocketEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TcpSocketEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TcpSocketEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct TextDecodeOptions { obj : :: js_sys :: Object , } impl TextDecodeOptions { pub fn new ( ) -> TextDecodeOptions { let mut _ret = TextDecodeOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn stream ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stream" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_TextDecodeOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < TextDecodeOptions > for JsValue { # [ inline ] fn from ( val : TextDecodeOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for TextDecodeOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for TextDecodeOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for TextDecodeOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a TextDecodeOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for TextDecodeOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { TextDecodeOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for TextDecodeOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a TextDecodeOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for TextDecodeOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for TextDecodeOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < TextDecodeOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( TextDecodeOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for TextDecodeOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TextDecodeOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TextDecodeOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct TextDecoderOptions { obj : :: js_sys :: Object , } impl TextDecoderOptions { pub fn new ( ) -> TextDecoderOptions { let mut _ret = TextDecoderOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn fatal ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "fatal" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_TextDecoderOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < TextDecoderOptions > for JsValue { # [ inline ] fn from ( val : TextDecoderOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for TextDecoderOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for TextDecoderOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for TextDecoderOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a TextDecoderOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for TextDecoderOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { TextDecoderOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for TextDecoderOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a TextDecoderOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for TextDecoderOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for TextDecoderOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < TextDecoderOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( TextDecoderOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for TextDecoderOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TextDecoderOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TextDecoderOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct TouchEventInit { obj : :: js_sys :: Object , } impl TouchEventInit { pub fn new ( ) -> TouchEventInit { let mut _ret = TouchEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detail ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detail" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn view ( & mut self , val : Option < & Window > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "view" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn alt_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "altKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ctrl_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ctrlKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn meta_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "metaKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_alt_graph ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierAltGraph" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_caps_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierCapsLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFn" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFnLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_num_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierNumLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_os ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierOS" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_scroll_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierScrollLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbol" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbolLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn shift_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "shiftKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_TouchEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < TouchEventInit > for JsValue { # [ inline ] fn from ( val : TouchEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for TouchEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for TouchEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for TouchEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a TouchEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for TouchEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { TouchEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for TouchEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a TouchEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for TouchEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for TouchEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < TouchEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( TouchEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for TouchEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TouchEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TouchEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct TouchInit { obj : :: js_sys :: Object , } impl TouchInit { pub fn new ( identifier : i32 , target : & EventTarget ) -> TouchInit { let mut _ret = TouchInit { obj : :: js_sys :: Object :: new ( ) } ; _ret . identifier ( identifier ) ; _ret . target ( target ) ; return _ret } pub fn client_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn client_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn force ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "force" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn identifier ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "identifier" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn page_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pageX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn page_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pageY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn radius_x ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "radiusX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn radius_y ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "radiusY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn rotation_angle ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "rotationAngle" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn screen_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "screenX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn screen_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "screenY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn target ( & mut self , val : & EventTarget ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "target" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_TouchInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < TouchInit > for JsValue { # [ inline ] fn from ( val : TouchInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for TouchInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for TouchInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for TouchInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a TouchInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for TouchInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { TouchInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for TouchInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a TouchInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for TouchInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for TouchInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < TouchInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( TouchInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for TouchInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TouchInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TouchInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct TrackEventInit { obj : :: js_sys :: Object , } impl TrackEventInit { pub fn new ( ) -> TrackEventInit { let mut _ret = TrackEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn track ( & mut self , val : Option < & :: js_sys :: Object > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "track" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_TrackEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < TrackEventInit > for JsValue { # [ inline ] fn from ( val : TrackEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for TrackEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for TrackEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for TrackEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a TrackEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for TrackEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { TrackEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for TrackEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a TrackEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for TrackEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for TrackEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < TrackEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( TrackEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for TrackEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TrackEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TrackEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct TransitionEventInit { obj : :: js_sys :: Object , } impl TransitionEventInit { pub fn new ( ) -> TransitionEventInit { let mut _ret = TransitionEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn elapsed_time ( & mut self , val : f32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "elapsedTime" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn property_name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "propertyName" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pseudo_element ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "pseudoElement" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_TransitionEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < TransitionEventInit > for JsValue { # [ inline ] fn from ( val : TransitionEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for TransitionEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for TransitionEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for TransitionEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a TransitionEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for TransitionEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { TransitionEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for TransitionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a TransitionEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for TransitionEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for TransitionEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < TransitionEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( TransitionEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for TransitionEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TransitionEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TransitionEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct TreeCellInfo { obj : :: js_sys :: Object , } impl TreeCellInfo { pub fn new ( ) -> TreeCellInfo { let mut _ret = TreeCellInfo { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn child_elt ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "childElt" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn row ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "row" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_TreeCellInfo : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < TreeCellInfo > for JsValue { # [ inline ] fn from ( val : TreeCellInfo ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for TreeCellInfo { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for TreeCellInfo { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for TreeCellInfo { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a TreeCellInfo { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for TreeCellInfo { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { TreeCellInfo { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for TreeCellInfo { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a TreeCellInfo { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for TreeCellInfo { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for TreeCellInfo { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < TreeCellInfo > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( TreeCellInfo { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for TreeCellInfo { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { TreeCellInfo { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const TreeCellInfo ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct U2fClientData { obj : :: js_sys :: Object , } impl U2fClientData { pub fn new ( ) -> U2fClientData { let mut _ret = U2fClientData { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn challenge ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "challenge" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn origin ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "origin" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn typ ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "typ" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_U2fClientData : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < U2fClientData > for JsValue { # [ inline ] fn from ( val : U2fClientData ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for U2fClientData { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for U2fClientData { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for U2fClientData { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a U2fClientData { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for U2fClientData { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { U2fClientData { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for U2fClientData { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a U2fClientData { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for U2fClientData { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for U2fClientData { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < U2fClientData > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( U2fClientData { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for U2fClientData { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { U2fClientData { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const U2fClientData ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct UdpMessageEventInit { obj : :: js_sys :: Object , } impl UdpMessageEventInit { pub fn new ( ) -> UdpMessageEventInit { let mut _ret = UdpMessageEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn data ( & mut self , val : & :: wasm_bindgen :: JsValue ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "data" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn remote_address ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "remoteAddress" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn remote_port ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "remotePort" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_UdpMessageEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < UdpMessageEventInit > for JsValue { # [ inline ] fn from ( val : UdpMessageEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for UdpMessageEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for UdpMessageEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for UdpMessageEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a UdpMessageEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for UdpMessageEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { UdpMessageEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for UdpMessageEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a UdpMessageEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for UdpMessageEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for UdpMessageEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < UdpMessageEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( UdpMessageEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for UdpMessageEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { UdpMessageEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const UdpMessageEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct UdpOptions { obj : :: js_sys :: Object , } impl UdpOptions { pub fn new ( ) -> UdpOptions { let mut _ret = UdpOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn address_reuse ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "addressReuse" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn local_address ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "localAddress" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn local_port ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "localPort" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn loopback ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "loopback" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn remote_address ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "remoteAddress" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn remote_port ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "remotePort" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_UdpOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < UdpOptions > for JsValue { # [ inline ] fn from ( val : UdpOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for UdpOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for UdpOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for UdpOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a UdpOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for UdpOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { UdpOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for UdpOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a UdpOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for UdpOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for UdpOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < UdpOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( UdpOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for UdpOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { UdpOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const UdpOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct UiEventInit { obj : :: js_sys :: Object , } impl UiEventInit { pub fn new ( ) -> UiEventInit { let mut _ret = UiEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detail ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detail" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn view ( & mut self , val : Option < & Window > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "view" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_UiEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < UiEventInit > for JsValue { # [ inline ] fn from ( val : UiEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for UiEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for UiEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for UiEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a UiEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for UiEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { UiEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for UiEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a UiEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for UiEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for UiEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < UiEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( UiEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for UiEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { UiEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const UiEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct UserProximityEventInit { obj : :: js_sys :: Object , } impl UserProximityEventInit { pub fn new ( ) -> UserProximityEventInit { let mut _ret = UserProximityEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn near ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "near" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_UserProximityEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < UserProximityEventInit > for JsValue { # [ inline ] fn from ( val : UserProximityEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for UserProximityEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for UserProximityEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for UserProximityEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a UserProximityEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for UserProximityEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { UserProximityEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for UserProximityEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a UserProximityEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for UserProximityEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for UserProximityEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < UserProximityEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( UserProximityEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for UserProximityEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { UserProximityEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const UserProximityEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct VrLayer { obj : :: js_sys :: Object , } impl VrLayer { pub fn new ( ) -> VrLayer { let mut _ret = VrLayer { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn source ( & mut self , val : Option < & HtmlCanvasElement > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "source" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_VrLayer : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < VrLayer > for JsValue { # [ inline ] fn from ( val : VrLayer ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for VrLayer { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for VrLayer { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for VrLayer { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a VrLayer { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for VrLayer { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { VrLayer { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for VrLayer { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a VrLayer { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for VrLayer { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for VrLayer { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < VrLayer > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( VrLayer { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for VrLayer { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VrLayer { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VrLayer ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct VideoConfiguration { obj : :: js_sys :: Object , } impl VideoConfiguration { pub fn new ( ) -> VideoConfiguration { let mut _ret = VideoConfiguration { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bitrate ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bitrate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn content_type ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "contentType" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn framerate ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "framerate" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn height ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "height" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn width ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "width" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_VideoConfiguration : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < VideoConfiguration > for JsValue { # [ inline ] fn from ( val : VideoConfiguration ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for VideoConfiguration { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for VideoConfiguration { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for VideoConfiguration { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a VideoConfiguration { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for VideoConfiguration { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { VideoConfiguration { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for VideoConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a VideoConfiguration { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for VideoConfiguration { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for VideoConfiguration { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < VideoConfiguration > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( VideoConfiguration { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for VideoConfiguration { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VideoConfiguration { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VideoConfiguration ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WaveShaperOptions { obj : :: js_sys :: Object , } impl WaveShaperOptions { pub fn new ( ) -> WaveShaperOptions { let mut _ret = WaveShaperOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn channel_count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCount" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_count_mode ( & mut self , val : ChannelCountMode ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelCountMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn channel_interpretation ( & mut self , val : ChannelInterpretation ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "channelInterpretation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn oversample ( & mut self , val : OverSampleType ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "oversample" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WaveShaperOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WaveShaperOptions > for JsValue { # [ inline ] fn from ( val : WaveShaperOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WaveShaperOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WaveShaperOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WaveShaperOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WaveShaperOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WaveShaperOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WaveShaperOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WaveShaperOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WaveShaperOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WaveShaperOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WaveShaperOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WaveShaperOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WaveShaperOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WaveShaperOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WaveShaperOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WaveShaperOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGlContextAttributes { obj : :: js_sys :: Object , } impl WebGlContextAttributes { pub fn new ( ) -> WebGlContextAttributes { let mut _ret = WebGlContextAttributes { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn alpha ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "alpha" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn antialias ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "antialias" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn depth ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "depth" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn fail_if_major_performance_caveat ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "failIfMajorPerformanceCaveat" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn power_preference ( & mut self , val : WebGlPowerPreference ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "powerPreference" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn premultiplied_alpha ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "premultipliedAlpha" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn preserve_drawing_buffer ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "preserveDrawingBuffer" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stencil ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stencil" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGlContextAttributes : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGlContextAttributes > for JsValue { # [ inline ] fn from ( val : WebGlContextAttributes ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGlContextAttributes { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGlContextAttributes { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGlContextAttributes { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGlContextAttributes { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGlContextAttributes { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGlContextAttributes { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGlContextAttributes { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlContextAttributes { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGlContextAttributes { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGlContextAttributes { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGlContextAttributes > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGlContextAttributes { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGlContextAttributes { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlContextAttributes { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlContextAttributes ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGlContextEventInit { obj : :: js_sys :: Object , } impl WebGlContextEventInit { pub fn new ( ) -> WebGlContextEventInit { let mut _ret = WebGlContextEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn status_message ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "statusMessage" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGlContextEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGlContextEventInit > for JsValue { # [ inline ] fn from ( val : WebGlContextEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGlContextEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGlContextEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGlContextEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGlContextEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGlContextEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGlContextEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGlContextEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGlContextEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGlContextEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGlContextEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGlContextEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGlContextEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGlContextEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGlContextEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGlContextEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuAdapterDescriptor { obj : :: js_sys :: Object , } impl WebGpuAdapterDescriptor { pub fn new ( ) -> WebGpuAdapterDescriptor { let mut _ret = WebGpuAdapterDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn power_preference ( & mut self , val : WebGpuPowerPreference ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "powerPreference" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuAdapterDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuAdapterDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuAdapterDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuAdapterDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuAdapterDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuAdapterDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuAdapterDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuAdapterDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuAdapterDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuAdapterDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuAdapterDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuAdapterDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuAdapterDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuAdapterDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuAdapterDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuAdapterDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuAdapterDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuAdapterDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuAttachmentStateDescriptor { obj : :: js_sys :: Object , } impl WebGpuAttachmentStateDescriptor { pub fn new ( ) -> WebGpuAttachmentStateDescriptor { let mut _ret = WebGpuAttachmentStateDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_WebGpuAttachmentStateDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuAttachmentStateDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuAttachmentStateDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuAttachmentStateDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuAttachmentStateDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuAttachmentStateDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuAttachmentStateDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuAttachmentStateDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuAttachmentStateDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuAttachmentStateDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuAttachmentStateDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuAttachmentStateDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuAttachmentStateDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuAttachmentStateDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuAttachmentStateDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuAttachmentStateDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuAttachmentStateDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuAttachmentStateDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuBindGroupBinding { obj : :: js_sys :: Object , } impl WebGpuBindGroupBinding { pub fn new ( ) -> WebGpuBindGroupBinding { let mut _ret = WebGpuBindGroupBinding { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "count" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn start ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "start" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn type_ ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "type" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn visibility ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "visibility" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuBindGroupBinding : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuBindGroupBinding > for JsValue { # [ inline ] fn from ( val : WebGpuBindGroupBinding ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuBindGroupBinding { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuBindGroupBinding { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBindGroupBinding { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuBindGroupBinding { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuBindGroupBinding { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBindGroupBinding { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuBindGroupBinding { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBindGroupBinding { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuBindGroupBinding { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuBindGroupBinding { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuBindGroupBinding > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuBindGroupBinding { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuBindGroupBinding { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBindGroupBinding { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBindGroupBinding ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuBindGroupDescriptor { obj : :: js_sys :: Object , } impl WebGpuBindGroupDescriptor { pub fn new ( ) -> WebGpuBindGroupDescriptor { let mut _ret = WebGpuBindGroupDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn layout ( & mut self , val : & WebGpuBindGroupLayout ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "layout" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuBindGroupDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuBindGroupDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuBindGroupDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuBindGroupDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuBindGroupDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBindGroupDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuBindGroupDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuBindGroupDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBindGroupDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuBindGroupDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBindGroupDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuBindGroupDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuBindGroupDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuBindGroupDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuBindGroupDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuBindGroupDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBindGroupDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBindGroupDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuBindGroupLayoutDescriptor { obj : :: js_sys :: Object , } impl WebGpuBindGroupLayoutDescriptor { pub fn new ( ) -> WebGpuBindGroupLayoutDescriptor { let mut _ret = WebGpuBindGroupLayoutDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_WebGpuBindGroupLayoutDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuBindGroupLayoutDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuBindGroupLayoutDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuBindGroupLayoutDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuBindGroupLayoutDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBindGroupLayoutDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuBindGroupLayoutDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuBindGroupLayoutDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBindGroupLayoutDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuBindGroupLayoutDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBindGroupLayoutDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuBindGroupLayoutDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuBindGroupLayoutDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuBindGroupLayoutDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuBindGroupLayoutDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuBindGroupLayoutDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBindGroupLayoutDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBindGroupLayoutDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuBinding { obj : :: js_sys :: Object , } impl WebGpuBinding { pub fn new ( ) -> WebGpuBinding { let mut _ret = WebGpuBinding { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn count ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "count" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn start ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "start" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuBinding : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuBinding > for JsValue { # [ inline ] fn from ( val : WebGpuBinding ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuBinding { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuBinding { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBinding { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuBinding { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuBinding { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBinding { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuBinding { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBinding { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuBinding { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuBinding { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuBinding > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuBinding { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuBinding { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBinding { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBinding ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuBlendDescriptor { obj : :: js_sys :: Object , } impl WebGpuBlendDescriptor { pub fn new ( ) -> WebGpuBlendDescriptor { let mut _ret = WebGpuBlendDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn dst_factor ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dstFactor" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn operation ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "operation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn src_factor ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "srcFactor" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuBlendDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuBlendDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuBlendDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuBlendDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuBlendDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBlendDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuBlendDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuBlendDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBlendDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuBlendDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBlendDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuBlendDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuBlendDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuBlendDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuBlendDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuBlendDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBlendDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBlendDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuBlendStateDescriptor { obj : :: js_sys :: Object , } impl WebGpuBlendStateDescriptor { pub fn new ( ) -> WebGpuBlendStateDescriptor { let mut _ret = WebGpuBlendStateDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn alpha ( & mut self , val : & WebGpuBlendDescriptor ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "alpha" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn blend_enabled ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "blendEnabled" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn color ( & mut self , val : & WebGpuBlendDescriptor ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "color" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn write_mask ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "writeMask" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuBlendStateDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuBlendStateDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuBlendStateDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuBlendStateDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuBlendStateDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBlendStateDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuBlendStateDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuBlendStateDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBlendStateDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuBlendStateDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBlendStateDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuBlendStateDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuBlendStateDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuBlendStateDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuBlendStateDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuBlendStateDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBlendStateDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBlendStateDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuBufferBinding { obj : :: js_sys :: Object , } impl WebGpuBufferBinding { pub fn new ( ) -> WebGpuBufferBinding { let mut _ret = WebGpuBufferBinding { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn buffer ( & mut self , val : & WebGpuBuffer ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "buffer" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn offset ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "offset" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn size ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "size" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuBufferBinding : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuBufferBinding > for JsValue { # [ inline ] fn from ( val : WebGpuBufferBinding ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuBufferBinding { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuBufferBinding { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBufferBinding { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuBufferBinding { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuBufferBinding { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBufferBinding { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuBufferBinding { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBufferBinding { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuBufferBinding { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuBufferBinding { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuBufferBinding > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuBufferBinding { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuBufferBinding { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBufferBinding { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBufferBinding ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuBufferDescriptor { obj : :: js_sys :: Object , } impl WebGpuBufferDescriptor { pub fn new ( ) -> WebGpuBufferDescriptor { let mut _ret = WebGpuBufferDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn size ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "size" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn usage ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "usage" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuBufferDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuBufferDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuBufferDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuBufferDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuBufferDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuBufferDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuBufferDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuBufferDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuBufferDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuBufferDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuBufferDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuBufferDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuBufferDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuBufferDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuBufferDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuBufferDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuBufferDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuBufferDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuCommandEncoderDescriptor { obj : :: js_sys :: Object , } impl WebGpuCommandEncoderDescriptor { pub fn new ( ) -> WebGpuCommandEncoderDescriptor { let mut _ret = WebGpuCommandEncoderDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_WebGpuCommandEncoderDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuCommandEncoderDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuCommandEncoderDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuCommandEncoderDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuCommandEncoderDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuCommandEncoderDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuCommandEncoderDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuCommandEncoderDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuCommandEncoderDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuCommandEncoderDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuCommandEncoderDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuCommandEncoderDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuCommandEncoderDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuCommandEncoderDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuCommandEncoderDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuCommandEncoderDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuCommandEncoderDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuCommandEncoderDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuComputePipelineDescriptor { obj : :: js_sys :: Object , } impl WebGpuComputePipelineDescriptor { pub fn new ( layout : & WebGpuPipelineLayout ) -> WebGpuComputePipelineDescriptor { let mut _ret = WebGpuComputePipelineDescriptor { obj : :: js_sys :: Object :: new ( ) } ; _ret . layout ( layout ) ; return _ret } pub fn layout ( & mut self , val : & WebGpuPipelineLayout ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "layout" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuComputePipelineDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuComputePipelineDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuComputePipelineDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuComputePipelineDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuComputePipelineDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuComputePipelineDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuComputePipelineDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuComputePipelineDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuComputePipelineDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuComputePipelineDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuComputePipelineDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuComputePipelineDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuComputePipelineDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuComputePipelineDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuComputePipelineDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuComputePipelineDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuComputePipelineDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuComputePipelineDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuDepthStencilStateDescriptor { obj : :: js_sys :: Object , } impl WebGpuDepthStencilStateDescriptor { pub fn new ( ) -> WebGpuDepthStencilStateDescriptor { let mut _ret = WebGpuDepthStencilStateDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn back ( & mut self , val : & WebGpuStencilStateFaceDescriptor ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "back" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn depth_compare ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "depthCompare" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn depth_write_enabled ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "depthWriteEnabled" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn front ( & mut self , val : & WebGpuStencilStateFaceDescriptor ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "front" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stencil_read_mask ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stencilReadMask" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stencil_write_mask ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stencilWriteMask" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuDepthStencilStateDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuDepthStencilStateDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuDepthStencilStateDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuDepthStencilStateDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuDepthStencilStateDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuDepthStencilStateDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuDepthStencilStateDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuDepthStencilStateDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuDepthStencilStateDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuDepthStencilStateDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuDepthStencilStateDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuDepthStencilStateDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuDepthStencilStateDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuDepthStencilStateDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuDepthStencilStateDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuDepthStencilStateDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuDepthStencilStateDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuDepthStencilStateDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuDeviceDescriptor { obj : :: js_sys :: Object , } impl WebGpuDeviceDescriptor { pub fn new ( ) -> WebGpuDeviceDescriptor { let mut _ret = WebGpuDeviceDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn extensions ( & mut self , val : & WebGpuExtensions ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "extensions" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuDeviceDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuDeviceDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuDeviceDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuDeviceDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuDeviceDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuDeviceDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuDeviceDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuDeviceDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuDeviceDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuDeviceDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuDeviceDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuDeviceDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuDeviceDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuDeviceDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuDeviceDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuDeviceDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuDeviceDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuDeviceDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuExtensions { obj : :: js_sys :: Object , } impl WebGpuExtensions { pub fn new ( ) -> WebGpuExtensions { let mut _ret = WebGpuExtensions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn anisotropic_filtering ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "anisotropicFiltering" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn logic_op ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "logicOp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuExtensions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuExtensions > for JsValue { # [ inline ] fn from ( val : WebGpuExtensions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuExtensions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuExtensions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuExtensions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuExtensions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuExtensions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuExtensions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuExtensions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuExtensions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuExtensions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuExtensions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuExtensions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuExtensions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuExtensions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuExtensions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuExtensions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuInputStateDescriptor { obj : :: js_sys :: Object , } impl WebGpuInputStateDescriptor { pub fn new ( ) -> WebGpuInputStateDescriptor { let mut _ret = WebGpuInputStateDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn index_format ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "indexFormat" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuInputStateDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuInputStateDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuInputStateDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuInputStateDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuInputStateDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuInputStateDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuInputStateDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuInputStateDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuInputStateDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuInputStateDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuInputStateDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuInputStateDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuInputStateDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuInputStateDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuInputStateDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuInputStateDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuInputStateDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuInputStateDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuLimits { obj : :: js_sys :: Object , } impl WebGpuLimits { pub fn new ( ) -> WebGpuLimits { let mut _ret = WebGpuLimits { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn max_bind_groups ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "maxBindGroups" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuLimits : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuLimits > for JsValue { # [ inline ] fn from ( val : WebGpuLimits ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuLimits { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuLimits { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuLimits { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuLimits { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuLimits { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuLimits { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuLimits { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuLimits { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuLimits { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuLimits { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuLimits > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuLimits { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuLimits { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuLimits { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuLimits ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuPipelineDescriptorBase { obj : :: js_sys :: Object , } impl WebGpuPipelineDescriptorBase { pub fn new ( layout : & WebGpuPipelineLayout ) -> WebGpuPipelineDescriptorBase { let mut _ret = WebGpuPipelineDescriptorBase { obj : :: js_sys :: Object :: new ( ) } ; _ret . layout ( layout ) ; return _ret } pub fn layout ( & mut self , val : & WebGpuPipelineLayout ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "layout" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuPipelineDescriptorBase : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuPipelineDescriptorBase > for JsValue { # [ inline ] fn from ( val : WebGpuPipelineDescriptorBase ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuPipelineDescriptorBase { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuPipelineDescriptorBase { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuPipelineDescriptorBase { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuPipelineDescriptorBase { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuPipelineDescriptorBase { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuPipelineDescriptorBase { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuPipelineDescriptorBase { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuPipelineDescriptorBase { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuPipelineDescriptorBase { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuPipelineDescriptorBase { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuPipelineDescriptorBase > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuPipelineDescriptorBase { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuPipelineDescriptorBase { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuPipelineDescriptorBase { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuPipelineDescriptorBase ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuPipelineLayoutDescriptor { obj : :: js_sys :: Object , } impl WebGpuPipelineLayoutDescriptor { pub fn new ( ) -> WebGpuPipelineLayoutDescriptor { let mut _ret = WebGpuPipelineLayoutDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_WebGpuPipelineLayoutDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuPipelineLayoutDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuPipelineLayoutDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuPipelineLayoutDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuPipelineLayoutDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuPipelineLayoutDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuPipelineLayoutDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuPipelineLayoutDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuPipelineLayoutDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuPipelineLayoutDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuPipelineLayoutDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuPipelineLayoutDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuPipelineLayoutDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuPipelineLayoutDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuPipelineLayoutDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuPipelineLayoutDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuPipelineLayoutDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuPipelineLayoutDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuPipelineStageDescriptor { obj : :: js_sys :: Object , } impl WebGpuPipelineStageDescriptor { pub fn new ( entry_point : & str , shader_module : & WebGpuShaderModule , stage : u32 ) -> WebGpuPipelineStageDescriptor { let mut _ret = WebGpuPipelineStageDescriptor { obj : :: js_sys :: Object :: new ( ) } ; _ret . entry_point ( entry_point ) ; _ret . shader_module ( shader_module ) ; _ret . stage ( stage ) ; return _ret } pub fn entry_point ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "entryPoint" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn shader_module ( & mut self , val : & WebGpuShaderModule ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "shaderModule" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stage ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stage" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuPipelineStageDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuPipelineStageDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuPipelineStageDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuPipelineStageDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuPipelineStageDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuPipelineStageDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuPipelineStageDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuPipelineStageDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuPipelineStageDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuPipelineStageDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuPipelineStageDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuPipelineStageDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuPipelineStageDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuPipelineStageDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuPipelineStageDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuPipelineStageDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuPipelineStageDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuPipelineStageDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuRenderPassAttachmentDescriptor { obj : :: js_sys :: Object , } impl WebGpuRenderPassAttachmentDescriptor { pub fn new ( ) -> WebGpuRenderPassAttachmentDescriptor { let mut _ret = WebGpuRenderPassAttachmentDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn attachment ( & mut self , val : & WebGpuTextureView ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "attachment" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn load_op ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "loadOp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn store_op ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "storeOp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuRenderPassAttachmentDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuRenderPassAttachmentDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuRenderPassAttachmentDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuRenderPassAttachmentDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuRenderPassAttachmentDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuRenderPassAttachmentDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuRenderPassAttachmentDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuRenderPassAttachmentDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuRenderPassAttachmentDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuRenderPassAttachmentDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuRenderPassAttachmentDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuRenderPassAttachmentDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuRenderPassAttachmentDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuRenderPassAttachmentDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuRenderPassAttachmentDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuRenderPassAttachmentDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuRenderPassAttachmentDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuRenderPassAttachmentDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuRenderPassDescriptor { obj : :: js_sys :: Object , } impl WebGpuRenderPassDescriptor { pub fn new ( ) -> WebGpuRenderPassDescriptor { let mut _ret = WebGpuRenderPassDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn depth_stencil_attachment ( & mut self , val : & WebGpuRenderPassAttachmentDescriptor ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "depthStencilAttachment" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuRenderPassDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuRenderPassDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuRenderPassDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuRenderPassDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuRenderPassDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuRenderPassDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuRenderPassDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuRenderPassDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuRenderPassDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuRenderPassDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuRenderPassDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuRenderPassDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuRenderPassDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuRenderPassDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuRenderPassDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuRenderPassDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuRenderPassDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuRenderPassDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuRenderPipelineDescriptor { obj : :: js_sys :: Object , } impl WebGpuRenderPipelineDescriptor { pub fn new ( layout : & WebGpuPipelineLayout ) -> WebGpuRenderPipelineDescriptor { let mut _ret = WebGpuRenderPipelineDescriptor { obj : :: js_sys :: Object :: new ( ) } ; _ret . layout ( layout ) ; return _ret } pub fn layout ( & mut self , val : & WebGpuPipelineLayout ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "layout" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn attachment_state ( & mut self , val : & WebGpuAttachmentState ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "attachmentState" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn depth_stencil_state ( & mut self , val : & WebGpuDepthStencilState ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "depthStencilState" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn input_state ( & mut self , val : & WebGpuInputState ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "inputState" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn primitive_topology ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "primitiveTopology" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuRenderPipelineDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuRenderPipelineDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuRenderPipelineDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuRenderPipelineDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuRenderPipelineDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuRenderPipelineDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuRenderPipelineDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuRenderPipelineDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuRenderPipelineDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuRenderPipelineDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuRenderPipelineDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuRenderPipelineDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuRenderPipelineDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuRenderPipelineDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuRenderPipelineDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuRenderPipelineDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuRenderPipelineDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuRenderPipelineDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuSamplerDescriptor { obj : :: js_sys :: Object , } impl WebGpuSamplerDescriptor { pub fn new ( ) -> WebGpuSamplerDescriptor { let mut _ret = WebGpuSamplerDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn mag_filter ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "magFilter" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn min_filter ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "minFilter" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn mipmap_filter ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "mipmapFilter" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuSamplerDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuSamplerDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuSamplerDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuSamplerDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuSamplerDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuSamplerDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuSamplerDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuSamplerDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuSamplerDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuSamplerDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuSamplerDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuSamplerDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuSamplerDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuSamplerDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuSamplerDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuSamplerDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuSamplerDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuSamplerDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuShaderModuleDescriptor { obj : :: js_sys :: Object , } impl WebGpuShaderModuleDescriptor { pub fn new ( code : & :: js_sys :: ArrayBuffer ) -> WebGpuShaderModuleDescriptor { let mut _ret = WebGpuShaderModuleDescriptor { obj : :: js_sys :: Object :: new ( ) } ; _ret . code ( code ) ; return _ret } pub fn code ( & mut self , val : & :: js_sys :: ArrayBuffer ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "code" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuShaderModuleDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuShaderModuleDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuShaderModuleDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuShaderModuleDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuShaderModuleDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuShaderModuleDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuShaderModuleDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuShaderModuleDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuShaderModuleDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuShaderModuleDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuShaderModuleDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuShaderModuleDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuShaderModuleDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuShaderModuleDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuShaderModuleDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuShaderModuleDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuShaderModuleDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuShaderModuleDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuStencilStateFaceDescriptor { obj : :: js_sys :: Object , } impl WebGpuStencilStateFaceDescriptor { pub fn new ( ) -> WebGpuStencilStateFaceDescriptor { let mut _ret = WebGpuStencilStateFaceDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn compare ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "compare" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn depth_fail_op ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "depthFailOp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn pass_op ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "passOp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stencil_fail_op ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stencilFailOp" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuStencilStateFaceDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuStencilStateFaceDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuStencilStateFaceDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuStencilStateFaceDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuStencilStateFaceDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuStencilStateFaceDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuStencilStateFaceDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuStencilStateFaceDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuStencilStateFaceDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuStencilStateFaceDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuStencilStateFaceDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuStencilStateFaceDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuStencilStateFaceDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuStencilStateFaceDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuStencilStateFaceDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuStencilStateFaceDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuStencilStateFaceDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuStencilStateFaceDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuSwapChainDescriptor { obj : :: js_sys :: Object , } impl WebGpuSwapChainDescriptor { pub fn new ( ) -> WebGpuSwapChainDescriptor { let mut _ret = WebGpuSwapChainDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn format ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "format" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn height ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "height" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn usage ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "usage" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn width ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "width" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuSwapChainDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuSwapChainDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuSwapChainDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuSwapChainDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuSwapChainDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuSwapChainDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuSwapChainDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuSwapChainDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuSwapChainDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuSwapChainDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuSwapChainDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuSwapChainDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuSwapChainDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuSwapChainDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuSwapChainDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuSwapChainDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuSwapChainDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuSwapChainDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuTextureDescriptor { obj : :: js_sys :: Object , } impl WebGpuTextureDescriptor { pub fn new ( ) -> WebGpuTextureDescriptor { let mut _ret = WebGpuTextureDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn array_size ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "arraySize" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn depth ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "depth" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn dimension ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "dimension" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn format ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "format" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn height ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "height" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn usage ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "usage" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn width ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "width" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuTextureDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuTextureDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuTextureDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuTextureDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuTextureDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuTextureDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuTextureDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuTextureDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuTextureDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuTextureDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuTextureDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuTextureDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuTextureDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuTextureDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuTextureDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuTextureDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuTextureDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuTextureDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuTextureViewDescriptor { obj : :: js_sys :: Object , } impl WebGpuTextureViewDescriptor { pub fn new ( ) -> WebGpuTextureViewDescriptor { let mut _ret = WebGpuTextureViewDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_WebGpuTextureViewDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuTextureViewDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuTextureViewDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuTextureViewDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuTextureViewDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuTextureViewDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuTextureViewDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuTextureViewDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuTextureViewDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuTextureViewDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuTextureViewDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuTextureViewDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuTextureViewDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuTextureViewDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuTextureViewDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuTextureViewDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuTextureViewDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuTextureViewDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuVertexAttributeDescriptor { obj : :: js_sys :: Object , } impl WebGpuVertexAttributeDescriptor { pub fn new ( ) -> WebGpuVertexAttributeDescriptor { let mut _ret = WebGpuVertexAttributeDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn format ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "format" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn input_slot ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "inputSlot" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn offset ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "offset" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn shader_location ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "shaderLocation" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuVertexAttributeDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuVertexAttributeDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuVertexAttributeDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuVertexAttributeDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuVertexAttributeDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuVertexAttributeDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuVertexAttributeDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuVertexAttributeDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuVertexAttributeDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuVertexAttributeDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuVertexAttributeDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuVertexAttributeDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuVertexAttributeDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuVertexAttributeDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuVertexAttributeDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuVertexAttributeDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuVertexAttributeDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuVertexAttributeDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebGpuVertexInputDescriptor { obj : :: js_sys :: Object , } impl WebGpuVertexInputDescriptor { pub fn new ( ) -> WebGpuVertexInputDescriptor { let mut _ret = WebGpuVertexInputDescriptor { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn input_slot ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "inputSlot" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn step_mode ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stepMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn stride ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "stride" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebGpuVertexInputDescriptor : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebGpuVertexInputDescriptor > for JsValue { # [ inline ] fn from ( val : WebGpuVertexInputDescriptor ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebGpuVertexInputDescriptor { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebGpuVertexInputDescriptor { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebGpuVertexInputDescriptor { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebGpuVertexInputDescriptor { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebGpuVertexInputDescriptor { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebGpuVertexInputDescriptor { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebGpuVertexInputDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebGpuVertexInputDescriptor { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebGpuVertexInputDescriptor { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebGpuVertexInputDescriptor { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebGpuVertexInputDescriptor > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebGpuVertexInputDescriptor { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebGpuVertexInputDescriptor { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebGpuVertexInputDescriptor { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebGpuVertexInputDescriptor ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebSocketDict { obj : :: js_sys :: Object , } impl WebSocketDict { pub fn new ( ) -> WebSocketDict { let mut _ret = WebSocketDict { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_WebSocketDict : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebSocketDict > for JsValue { # [ inline ] fn from ( val : WebSocketDict ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebSocketDict { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebSocketDict { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebSocketDict { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebSocketDict { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebSocketDict { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebSocketDict { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebSocketDict { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebSocketDict { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebSocketDict { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebSocketDict { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebSocketDict > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebSocketDict { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebSocketDict { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebSocketDict { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebSocketDict ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebSocketElement { obj : :: js_sys :: Object , } impl WebSocketElement { pub fn new ( ) -> WebSocketElement { let mut _ret = WebSocketElement { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn encrypted ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "encrypted" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn hostport ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "hostport" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn msgreceived ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "msgreceived" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn msgsent ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "msgsent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn receivedsize ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "receivedsize" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn sentsize ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "sentsize" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WebSocketElement : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebSocketElement > for JsValue { # [ inline ] fn from ( val : WebSocketElement ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebSocketElement { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebSocketElement { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebSocketElement { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebSocketElement { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebSocketElement { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebSocketElement { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebSocketElement { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebSocketElement { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebSocketElement { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebSocketElement { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebSocketElement > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebSocketElement { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebSocketElement { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebSocketElement { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebSocketElement ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WebrtcGlobalStatisticsReport { obj : :: js_sys :: Object , } impl WebrtcGlobalStatisticsReport { pub fn new ( ) -> WebrtcGlobalStatisticsReport { let mut _ret = WebrtcGlobalStatisticsReport { obj : :: js_sys :: Object :: new ( ) } ; return _ret } } # [ allow ( bad_style ) ] const _CONST_WebrtcGlobalStatisticsReport : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WebrtcGlobalStatisticsReport > for JsValue { # [ inline ] fn from ( val : WebrtcGlobalStatisticsReport ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WebrtcGlobalStatisticsReport { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WebrtcGlobalStatisticsReport { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WebrtcGlobalStatisticsReport { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WebrtcGlobalStatisticsReport { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WebrtcGlobalStatisticsReport { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WebrtcGlobalStatisticsReport { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WebrtcGlobalStatisticsReport { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WebrtcGlobalStatisticsReport { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WebrtcGlobalStatisticsReport { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WebrtcGlobalStatisticsReport { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WebrtcGlobalStatisticsReport > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WebrtcGlobalStatisticsReport { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WebrtcGlobalStatisticsReport { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WebrtcGlobalStatisticsReport { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WebrtcGlobalStatisticsReport ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WheelEventInit { obj : :: js_sys :: Object , } impl WheelEventInit { pub fn new ( ) -> WheelEventInit { let mut _ret = WheelEventInit { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn bubbles ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "bubbles" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn cancelable ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "cancelable" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn composed ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "composed" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn detail ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "detail" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn view ( & mut self , val : Option < & Window > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "view" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn alt_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "altKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn ctrl_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "ctrlKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn meta_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "metaKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_alt_graph ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierAltGraph" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_caps_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierCapsLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFn" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_fn_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierFnLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_num_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierNumLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_os ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierOS" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_scroll_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierScrollLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbol" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn modifier_symbol_lock ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "modifierSymbolLock" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn shift_key ( & mut self , val : bool ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "shiftKey" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn button ( & mut self , val : i16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "button" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn buttons ( & mut self , val : u16 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "buttons" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn client_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn client_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "clientY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn movement_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "movementX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn movement_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "movementY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn related_target ( & mut self , val : Option < & EventTarget > ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "relatedTarget" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn screen_x ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "screenX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn screen_y ( & mut self , val : i32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "screenY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn delta_mode ( & mut self , val : u32 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "deltaMode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn delta_x ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "deltaX" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn delta_y ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "deltaY" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn delta_z ( & mut self , val : f64 ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "deltaZ" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WheelEventInit : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WheelEventInit > for JsValue { # [ inline ] fn from ( val : WheelEventInit ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WheelEventInit { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WheelEventInit { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WheelEventInit { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WheelEventInit { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WheelEventInit { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WheelEventInit { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WheelEventInit { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WheelEventInit { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WheelEventInit { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WheelEventInit { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WheelEventInit > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WheelEventInit { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WheelEventInit { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WheelEventInit { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WheelEventInit ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WidevineCdmManifest { obj : :: js_sys :: Object , } impl WidevineCdmManifest { pub fn new ( description : & str , name : & str , version : & str , x_cdm_codecs : & str , x_cdm_host_versions : & str , x_cdm_interface_versions : & str , x_cdm_module_versions : & str ) -> WidevineCdmManifest { let mut _ret = WidevineCdmManifest { obj : :: js_sys :: Object :: new ( ) } ; _ret . description ( description ) ; _ret . name ( name ) ; _ret . version ( version ) ; _ret . x_cdm_codecs ( x_cdm_codecs ) ; _ret . x_cdm_host_versions ( x_cdm_host_versions ) ; _ret . x_cdm_interface_versions ( x_cdm_interface_versions ) ; _ret . x_cdm_module_versions ( x_cdm_module_versions ) ; return _ret } pub fn description ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "description" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn version ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "version" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn x_cdm_codecs ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "x-cdm-codecs" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn x_cdm_host_versions ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "x-cdm-host-versions" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn x_cdm_interface_versions ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "x-cdm-interface-versions" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } pub fn x_cdm_module_versions ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "x-cdm-module-versions" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WidevineCdmManifest : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WidevineCdmManifest > for JsValue { # [ inline ] fn from ( val : WidevineCdmManifest ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WidevineCdmManifest { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WidevineCdmManifest { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WidevineCdmManifest { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WidevineCdmManifest { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WidevineCdmManifest { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WidevineCdmManifest { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WidevineCdmManifest { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WidevineCdmManifest { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WidevineCdmManifest { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WidevineCdmManifest { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WidevineCdmManifest > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WidevineCdmManifest { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WidevineCdmManifest { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WidevineCdmManifest { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WidevineCdmManifest ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct WorkerOptions { obj : :: js_sys :: Object , } impl WorkerOptions { pub fn new ( ) -> WorkerOptions { let mut _ret = WorkerOptions { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn name ( & mut self , val : & str ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "name" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_WorkerOptions : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < WorkerOptions > for JsValue { # [ inline ] fn from ( val : WorkerOptions ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for WorkerOptions { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for WorkerOptions { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for WorkerOptions { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a WorkerOptions { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for WorkerOptions { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { WorkerOptions { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for WorkerOptions { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a WorkerOptions { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for WorkerOptions { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for WorkerOptions { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < WorkerOptions > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( WorkerOptions { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for WorkerOptions { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { WorkerOptions { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const WorkerOptions ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ErrorCallback { obj : :: js_sys :: Object , } impl ErrorCallback { pub fn new ( ) -> ErrorCallback { let mut _ret = ErrorCallback { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn handle_event ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "handleEvent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ErrorCallback : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ErrorCallback > for JsValue { # [ inline ] fn from ( val : ErrorCallback ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ErrorCallback { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ErrorCallback { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ErrorCallback { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ErrorCallback { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ErrorCallback { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ErrorCallback { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ErrorCallback { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ErrorCallback { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ErrorCallback { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ErrorCallback { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ErrorCallback > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ErrorCallback { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ErrorCallback { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ErrorCallback { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ErrorCallback ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct EventListener { obj : :: js_sys :: Object , } impl EventListener { pub fn new ( ) -> EventListener { let mut _ret = EventListener { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn handle_event ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "handleEvent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_EventListener : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < EventListener > for JsValue { # [ inline ] fn from ( val : EventListener ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for EventListener { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for EventListener { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for EventListener { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a EventListener { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for EventListener { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { EventListener { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for EventListener { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a EventListener { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for EventListener { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for EventListener { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < EventListener > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( EventListener { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for EventListener { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { EventListener { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const EventListener ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct FileCallback { obj : :: js_sys :: Object , } impl FileCallback { pub fn new ( ) -> FileCallback { let mut _ret = FileCallback { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn handle_event ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "handleEvent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_FileCallback : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < FileCallback > for JsValue { # [ inline ] fn from ( val : FileCallback ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for FileCallback { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for FileCallback { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for FileCallback { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a FileCallback { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for FileCallback { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { FileCallback { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for FileCallback { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a FileCallback { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for FileCallback { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for FileCallback { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < FileCallback > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( FileCallback { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for FileCallback { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FileCallback { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FileCallback ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct FileSystemEntriesCallback { obj : :: js_sys :: Object , } impl FileSystemEntriesCallback { pub fn new ( ) -> FileSystemEntriesCallback { let mut _ret = FileSystemEntriesCallback { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn handle_event ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "handleEvent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_FileSystemEntriesCallback : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < FileSystemEntriesCallback > for JsValue { # [ inline ] fn from ( val : FileSystemEntriesCallback ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for FileSystemEntriesCallback { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for FileSystemEntriesCallback { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for FileSystemEntriesCallback { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a FileSystemEntriesCallback { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for FileSystemEntriesCallback { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { FileSystemEntriesCallback { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for FileSystemEntriesCallback { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a FileSystemEntriesCallback { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for FileSystemEntriesCallback { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for FileSystemEntriesCallback { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < FileSystemEntriesCallback > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( FileSystemEntriesCallback { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for FileSystemEntriesCallback { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FileSystemEntriesCallback { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FileSystemEntriesCallback ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct FileSystemEntryCallback { obj : :: js_sys :: Object , } impl FileSystemEntryCallback { pub fn new ( ) -> FileSystemEntryCallback { let mut _ret = FileSystemEntryCallback { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn handle_event ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "handleEvent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_FileSystemEntryCallback : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < FileSystemEntryCallback > for JsValue { # [ inline ] fn from ( val : FileSystemEntryCallback ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for FileSystemEntryCallback { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for FileSystemEntryCallback { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for FileSystemEntryCallback { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a FileSystemEntryCallback { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for FileSystemEntryCallback { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { FileSystemEntryCallback { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for FileSystemEntryCallback { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a FileSystemEntryCallback { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for FileSystemEntryCallback { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for FileSystemEntryCallback { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < FileSystemEntryCallback > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( FileSystemEntryCallback { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for FileSystemEntryCallback { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { FileSystemEntryCallback { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const FileSystemEntryCallback ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct NodeFilter { obj : :: js_sys :: Object , } impl NodeFilter { pub fn new ( ) -> NodeFilter { let mut _ret = NodeFilter { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn accept_node ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "acceptNode" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_NodeFilter : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < NodeFilter > for JsValue { # [ inline ] fn from ( val : NodeFilter ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for NodeFilter { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for NodeFilter { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for NodeFilter { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a NodeFilter { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for NodeFilter { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { NodeFilter { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for NodeFilter { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a NodeFilter { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for NodeFilter { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for NodeFilter { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < NodeFilter > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( NodeFilter { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for NodeFilter { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { NodeFilter { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const NodeFilter ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct ObserverCallback { obj : :: js_sys :: Object , } impl ObserverCallback { pub fn new ( ) -> ObserverCallback { let mut _ret = ObserverCallback { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn handle_event ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "handleEvent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_ObserverCallback : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < ObserverCallback > for JsValue { # [ inline ] fn from ( val : ObserverCallback ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for ObserverCallback { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for ObserverCallback { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for ObserverCallback { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a ObserverCallback { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for ObserverCallback { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { ObserverCallback { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for ObserverCallback { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a ObserverCallback { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for ObserverCallback { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for ObserverCallback { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < ObserverCallback > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( ObserverCallback { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for ObserverCallback { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { ObserverCallback { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const ObserverCallback ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct VoidCallback { obj : :: js_sys :: Object , } impl VoidCallback { pub fn new ( ) -> VoidCallback { let mut _ret = VoidCallback { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn handle_event ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "handleEvent" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_VoidCallback : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < VoidCallback > for JsValue { # [ inline ] fn from ( val : VoidCallback ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for VoidCallback { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for VoidCallback { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for VoidCallback { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a VoidCallback { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for VoidCallback { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { VoidCallback { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for VoidCallback { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a VoidCallback { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for VoidCallback { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for VoidCallback { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < VoidCallback > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( VoidCallback { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for VoidCallback { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { VoidCallback { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const VoidCallback ) } } } } ; # [ derive ( Clone , Debug ) ] # [ repr ( transparent ) ] pub struct XPathNsResolver { obj : :: js_sys :: Object , } impl XPathNsResolver { pub fn new ( ) -> XPathNsResolver { let mut _ret = XPathNsResolver { obj : :: js_sys :: Object :: new ( ) } ; return _ret } pub fn lookup_namespace_uri ( & mut self , val : & :: js_sys :: Function ) -> & mut Self { use wasm_bindgen :: JsValue ; let r = :: js_sys :: Reflect :: set ( self . obj . as_ref ( ) , & JsValue :: from ( "lookupNamespaceURI" ) , & JsValue :: from ( val ) , ) ; debug_assert ! ( r . is_ok ( ) , "setting properties should never fail on our dictionary objects" ) ; let _ = r ; self } } # [ allow ( bad_style ) ] const _CONST_XPathNsResolver : ( ) = { use js_sys :: Object ; use wasm_bindgen :: describe :: WasmDescribe ; use wasm_bindgen :: convert :: * ; use wasm_bindgen :: { JsValue , JsCast } ; use wasm_bindgen :: __rt :: core :: mem :: ManuallyDrop ; impl From < XPathNsResolver > for JsValue { # [ inline ] fn from ( val : XPathNsResolver ) -> JsValue { val . obj . into ( ) } } impl AsRef < JsValue > for XPathNsResolver { # [ inline ] fn as_ref ( & self ) -> & JsValue { self . obj . as_ref ( ) } } impl WasmDescribe for XPathNsResolver { fn describe ( ) { Object :: describe ( ) ; } } impl IntoWasmAbi for XPathNsResolver { type Abi = < Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { self . obj . into_abi ( extra ) } } impl < 'a > IntoWasmAbi for & 'a XPathNsResolver { type Abi = < & 'a Object as IntoWasmAbi > :: Abi ; # [ inline ] fn into_abi ( self , extra : & mut Stack ) -> Self :: Abi { ( & self . obj ) . into_abi ( extra ) } } impl FromWasmAbi for XPathNsResolver { type Abi = < Object as FromWasmAbi > :: Abi ; # [ inline ] unsafe fn from_abi ( abi : Self :: Abi , extra : & mut Stack ) -> Self { XPathNsResolver { obj : Object :: from_abi ( abi , extra ) } } } impl OptionIntoWasmAbi for XPathNsResolver { # [ inline ] fn none ( ) -> Self :: Abi { Object :: none ( ) } } impl < 'a > OptionIntoWasmAbi for & 'a XPathNsResolver { # [ inline ] fn none ( ) -> Self :: Abi { < & 'a Object > :: none ( ) } } impl OptionFromWasmAbi for XPathNsResolver { # [ inline ] fn is_none ( abi : & Self :: Abi ) -> bool { Object :: is_none ( abi ) } } impl RefFromWasmAbi for XPathNsResolver { type Abi = < Object as RefFromWasmAbi > :: Abi ; type Anchor = ManuallyDrop < XPathNsResolver > ; # [ inline ] unsafe fn ref_from_abi ( js : Self :: Abi , extra : & mut Stack ) -> Self :: Anchor { let tmp = < Object as RefFromWasmAbi > :: ref_from_abi ( js , extra ) ; ManuallyDrop :: new ( XPathNsResolver { obj : ManuallyDrop :: into_inner ( tmp ) , } ) } } impl JsCast for XPathNsResolver { # [ inline ] fn instanceof ( val : & JsValue ) -> bool { Object :: instanceof ( val ) } # [ inline ] fn unchecked_from_js ( val : JsValue ) -> Self { XPathNsResolver { obj : Object :: unchecked_from_js ( val ) } } # [ inline ] fn unchecked_from_js_ref ( val : & JsValue ) -> & Self { unsafe { & * ( val as * const JsValue as * const XPathNsResolver ) } } } } ; # [ allow ( non_upper_case_globals ) ] # [ cfg ( target_arch = "wasm32" ) ] # [ link_section = "__wasm_bindgen_unstable" ] # [ doc ( hidden ) ] pub static __WASM_BINDGEN_GENERATED_0212997c3844db2d : [ u8 ; 641449usize ] = * b".\0\0\0{\"schema_version\":\"0.2.31\",\"version\":\"0.2.31\"}s\xC9\t\0\0\0\xC0?\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x03\0\0\x02\x0FAbortController!__widl_instanceof_AbortController\0\0\0\0\x1C__widl_f_new_AbortController\x01\0\x01\x0FAbortController\0\x01\x03new\0\0\0\x1E__widl_f_abort_AbortController\0\0\x01\x0FAbortController\x01\0\0\x01\x05abort\0\0\0\x1F__widl_f_signal_AbortController\0\0\x01\x0FAbortController\x01\0\x01\x06signal\x01\x06signal\0\0\x02\x0BAbortSignal\x1D__widl_instanceof_AbortSignal\0\0\0\0\x1C__widl_f_aborted_AbortSignal\0\0\x01\x0BAbortSignal\x01\0\x01\x07aborted\x01\x07aborted\0\0\0\x1C__widl_f_onabort_AbortSignal\0\0\x01\x0BAbortSignal\x01\0\x01\x07onabort\x01\x07onabort\0\0\0 __widl_f_set_onabort_AbortSignal\0\0\x01\x0BAbortSignal\x01\0\x02\x07onabort\x01\x07onabort\0\0\x02\x0CAnalyserNode\x1E__widl_instanceof_AnalyserNode\0\0\0\0\x19__widl_f_new_AnalyserNode\x01\0\x01\x0CAnalyserNode\0\x01\x03new\0\0\0&__widl_f_new_with_options_AnalyserNode\x01\0\x01\x0CAnalyserNode\0\x01\x03new\0\0\0-__widl_f_get_byte_frequency_data_AnalyserNode\0\0\x01\x0CAnalyserNode\x01\0\0\x01\x14getByteFrequencyData\0\0\0/__widl_f_get_byte_time_domain_data_AnalyserNode\0\0\x01\x0CAnalyserNode\x01\0\0\x01\x15getByteTimeDomainData\0\0\0.__widl_f_get_float_frequency_data_AnalyserNode\0\0\x01\x0CAnalyserNode\x01\0\0\x01\x15getFloatFrequencyData\0\0\00__widl_f_get_float_time_domain_data_AnalyserNode\0\0\x01\x0CAnalyserNode\x01\0\0\x01\x16getFloatTimeDomainData\0\0\0\x1E__widl_f_fft_size_AnalyserNode\0\0\x01\x0CAnalyserNode\x01\0\x01\x07fftSize\x01\x07fftSize\0\0\0\"__widl_f_set_fft_size_AnalyserNode\0\0\x01\x0CAnalyserNode\x01\0\x02\x07fftSize\x01\x07fftSize\0\0\0)__widl_f_frequency_bin_count_AnalyserNode\0\0\x01\x0CAnalyserNode\x01\0\x01\x11frequencyBinCount\x01\x11frequencyBinCount\0\0\0\"__widl_f_min_decibels_AnalyserNode\0\0\x01\x0CAnalyserNode\x01\0\x01\x0BminDecibels\x01\x0BminDecibels\0\0\0&__widl_f_set_min_decibels_AnalyserNode\0\0\x01\x0CAnalyserNode\x01\0\x02\x0BminDecibels\x01\x0BminDecibels\0\0\0\"__widl_f_max_decibels_AnalyserNode\0\0\x01\x0CAnalyserNode\x01\0\x01\x0BmaxDecibels\x01\x0BmaxDecibels\0\0\0&__widl_f_set_max_decibels_AnalyserNode\0\0\x01\x0CAnalyserNode\x01\0\x02\x0BmaxDecibels\x01\x0BmaxDecibels\0\0\0-__widl_f_smoothing_time_constant_AnalyserNode\0\0\x01\x0CAnalyserNode\x01\0\x01\x15smoothingTimeConstant\x01\x15smoothingTimeConstant\0\0\01__widl_f_set_smoothing_time_constant_AnalyserNode\0\0\x01\x0CAnalyserNode\x01\0\x02\x15smoothingTimeConstant\x01\x15smoothingTimeConstant\0\0\x02\tAnimation\x1B__widl_instanceof_Animation\0\0\0\0\x16__widl_f_new_Animation\x01\0\x01\tAnimation\0\x01\x03new\0\0\0\"__widl_f_new_with_effect_Animation\x01\0\x01\tAnimation\0\x01\x03new\0\0\0/__widl_f_new_with_effect_and_timeline_Animation\x01\0\x01\tAnimation\0\x01\x03new\0\0\0\x19__widl_f_cancel_Animation\0\0\x01\tAnimation\x01\0\0\x01\x06cancel\0\0\0\x19__widl_f_finish_Animation\x01\0\x01\tAnimation\x01\0\0\x01\x06finish\0\0\0\x18__widl_f_pause_Animation\x01\0\x01\tAnimation\x01\0\0\x01\x05pause\0\0\0\x17__widl_f_play_Animation\x01\0\x01\tAnimation\x01\0\0\x01\x04play\0\0\0\x1A__widl_f_reverse_Animation\x01\0\x01\tAnimation\x01\0\0\x01\x07reverse\0\0\0'__widl_f_update_playback_rate_Animation\0\0\x01\tAnimation\x01\0\0\x01\x12updatePlaybackRate\0\0\0\x15__widl_f_id_Animation\0\0\x01\tAnimation\x01\0\x01\x02id\x01\x02id\0\0\0\x19__widl_f_set_id_Animation\0\0\x01\tAnimation\x01\0\x02\x02id\x01\x02id\0\0\0\x19__widl_f_effect_Animation\0\0\x01\tAnimation\x01\0\x01\x06effect\x01\x06effect\0\0\0\x1D__widl_f_set_effect_Animation\0\0\x01\tAnimation\x01\0\x02\x06effect\x01\x06effect\0\0\0\x1B__widl_f_timeline_Animation\0\0\x01\tAnimation\x01\0\x01\x08timeline\x01\x08timeline\0\0\0\x1F__widl_f_set_timeline_Animation\0\0\x01\tAnimation\x01\0\x02\x08timeline\x01\x08timeline\0\0\0\x1D__widl_f_start_time_Animation\0\0\x01\tAnimation\x01\0\x01\tstartTime\x01\tstartTime\0\0\0!__widl_f_set_start_time_Animation\0\0\x01\tAnimation\x01\0\x02\tstartTime\x01\tstartTime\0\0\0\x1F__widl_f_current_time_Animation\0\0\x01\tAnimation\x01\0\x01\x0BcurrentTime\x01\x0BcurrentTime\0\0\0#__widl_f_set_current_time_Animation\0\0\x01\tAnimation\x01\0\x02\x0BcurrentTime\x01\x0BcurrentTime\0\0\0 __widl_f_playback_rate_Animation\0\0\x01\tAnimation\x01\0\x01\x0CplaybackRate\x01\x0CplaybackRate\0\0\0$__widl_f_set_playback_rate_Animation\0\0\x01\tAnimation\x01\0\x02\x0CplaybackRate\x01\x0CplaybackRate\0\0\0\x1D__widl_f_play_state_Animation\0\0\x01\tAnimation\x01\0\x01\tplayState\x01\tplayState\0\0\0\x1A__widl_f_pending_Animation\0\0\x01\tAnimation\x01\0\x01\x07pending\x01\x07pending\0\0\0\x18__widl_f_ready_Animation\x01\0\x01\tAnimation\x01\0\x01\x05ready\x01\x05ready\0\0\0\x1B__widl_f_finished_Animation\x01\0\x01\tAnimation\x01\0\x01\x08finished\x01\x08finished\0\0\0\x1B__widl_f_onfinish_Animation\0\0\x01\tAnimation\x01\0\x01\x08onfinish\x01\x08onfinish\0\0\0\x1F__widl_f_set_onfinish_Animation\0\0\x01\tAnimation\x01\0\x02\x08onfinish\x01\x08onfinish\0\0\0\x1B__widl_f_oncancel_Animation\0\0\x01\tAnimation\x01\0\x01\x08oncancel\x01\x08oncancel\0\0\0\x1F__widl_f_set_oncancel_Animation\0\0\x01\tAnimation\x01\0\x02\x08oncancel\x01\x08oncancel\0\0\x02\x0FAnimationEffect!__widl_instanceof_AnimationEffect\0\0\0\0,__widl_f_get_computed_timing_AnimationEffect\0\0\x01\x0FAnimationEffect\x01\0\0\x01\x11getComputedTiming\0\0\0#__widl_f_get_timing_AnimationEffect\0\0\x01\x0FAnimationEffect\x01\0\0\x01\tgetTiming\0\0\0&__widl_f_update_timing_AnimationEffect\x01\0\x01\x0FAnimationEffect\x01\0\0\x01\x0CupdateTiming\0\0\02__widl_f_update_timing_with_timing_AnimationEffect\x01\0\x01\x0FAnimationEffect\x01\0\0\x01\x0CupdateTiming\0\0\x02\x0EAnimationEvent __widl_instanceof_AnimationEvent\0\0\0\0\x1B__widl_f_new_AnimationEvent\x01\0\x01\x0EAnimationEvent\0\x01\x03new\0\0\00__widl_f_new_with_event_init_dict_AnimationEvent\x01\0\x01\x0EAnimationEvent\0\x01\x03new\0\0\0&__widl_f_animation_name_AnimationEvent\0\0\x01\x0EAnimationEvent\x01\0\x01\ranimationName\x01\ranimationName\0\0\0$__widl_f_elapsed_time_AnimationEvent\0\0\x01\x0EAnimationEvent\x01\0\x01\x0BelapsedTime\x01\x0BelapsedTime\0\0\0&__widl_f_pseudo_element_AnimationEvent\0\0\x01\x0EAnimationEvent\x01\0\x01\rpseudoElement\x01\rpseudoElement\0\0\x02\x16AnimationPlaybackEvent(__widl_instanceof_AnimationPlaybackEvent\0\0\0\0#__widl_f_new_AnimationPlaybackEvent\x01\0\x01\x16AnimationPlaybackEvent\0\x01\x03new\0\0\08__widl_f_new_with_event_init_dict_AnimationPlaybackEvent\x01\0\x01\x16AnimationPlaybackEvent\0\x01\x03new\0\0\0,__widl_f_current_time_AnimationPlaybackEvent\0\0\x01\x16AnimationPlaybackEvent\x01\0\x01\x0BcurrentTime\x01\x0BcurrentTime\0\0\0-__widl_f_timeline_time_AnimationPlaybackEvent\0\0\x01\x16AnimationPlaybackEvent\x01\0\x01\x0CtimelineTime\x01\x0CtimelineTime\0\0\x02\x11AnimationTimeline#__widl_instanceof_AnimationTimeline\0\0\0\0'__widl_f_current_time_AnimationTimeline\0\0\x01\x11AnimationTimeline\x01\0\x01\x0BcurrentTime\x01\x0BcurrentTime\0\0\x02\x04Attr\x16__widl_instanceof_Attr\0\0\0\0\x18__widl_f_local_name_Attr\0\0\x01\x04Attr\x01\0\x01\tlocalName\x01\tlocalName\0\0\0\x13__widl_f_value_Attr\0\0\x01\x04Attr\x01\0\x01\x05value\x01\x05value\0\0\0\x17__widl_f_set_value_Attr\0\0\x01\x04Attr\x01\0\x02\x05value\x01\x05value\0\0\0\x12__widl_f_name_Attr\0\0\x01\x04Attr\x01\0\x01\x04name\x01\x04name\0\0\0\x1B__widl_f_namespace_uri_Attr\0\0\x01\x04Attr\x01\0\x01\x0CnamespaceURI\x01\x0CnamespaceURI\0\0\0\x14__widl_f_prefix_Attr\0\0\x01\x04Attr\x01\0\x01\x06prefix\x01\x06prefix\0\0\0\x17__widl_f_specified_Attr\0\0\x01\x04Attr\x01\0\x01\tspecified\x01\tspecified\0\0\x02\x0BAudioBuffer\x1D__widl_instanceof_AudioBuffer\0\0\0\0\x18__widl_f_new_AudioBuffer\x01\0\x01\x0BAudioBuffer\0\x01\x03new\0\0\0&__widl_f_copy_from_channel_AudioBuffer\x01\0\x01\x0BAudioBuffer\x01\0\0\x01\x0FcopyFromChannel\0\0\0<__widl_f_copy_from_channel_with_start_in_channel_AudioBuffer\x01\0\x01\x0BAudioBuffer\x01\0\0\x01\x0FcopyFromChannel\0\0\0$__widl_f_copy_to_channel_AudioBuffer\x01\0\x01\x0BAudioBuffer\x01\0\0\x01\rcopyToChannel\0\0\0:__widl_f_copy_to_channel_with_start_in_channel_AudioBuffer\x01\0\x01\x0BAudioBuffer\x01\0\0\x01\rcopyToChannel\0\0\0%__widl_f_get_channel_data_AudioBuffer\x01\0\x01\x0BAudioBuffer\x01\0\0\x01\x0EgetChannelData\0\0\0 __widl_f_sample_rate_AudioBuffer\0\0\x01\x0BAudioBuffer\x01\0\x01\nsampleRate\x01\nsampleRate\0\0\0\x1B__widl_f_length_AudioBuffer\0\0\x01\x0BAudioBuffer\x01\0\x01\x06length\x01\x06length\0\0\0\x1D__widl_f_duration_AudioBuffer\0\0\x01\x0BAudioBuffer\x01\0\x01\x08duration\x01\x08duration\0\0\0'__widl_f_number_of_channels_AudioBuffer\0\0\x01\x0BAudioBuffer\x01\0\x01\x10numberOfChannels\x01\x10numberOfChannels\0\0\x02\x15AudioBufferSourceNode'__widl_instanceof_AudioBufferSourceNode\0\0\0\0\"__widl_f_new_AudioBufferSourceNode\x01\0\x01\x15AudioBufferSourceNode\0\x01\x03new\0\0\0/__widl_f_new_with_options_AudioBufferSourceNode\x01\0\x01\x15AudioBufferSourceNode\0\x01\x03new\0\0\0$__widl_f_start_AudioBufferSourceNode\x01\0\x01\x15AudioBufferSourceNode\x01\0\0\x01\x05start\0\0\0.__widl_f_start_with_when_AudioBufferSourceNode\x01\0\x01\x15AudioBufferSourceNode\x01\0\0\x01\x05start\0\0\0?__widl_f_start_with_when_and_grain_offset_AudioBufferSourceNode\x01\0\x01\x15AudioBufferSourceNode\x01\0\0\x01\x05start\0\0\0R__widl_f_start_with_when_and_grain_offset_and_grain_duration_AudioBufferSourceNode\x01\0\x01\x15AudioBufferSourceNode\x01\0\0\x01\x05start\0\0\0#__widl_f_stop_AudioBufferSourceNode\x01\0\x01\x15AudioBufferSourceNode\x01\0\0\x01\x04stop\0\0\0-__widl_f_stop_with_when_AudioBufferSourceNode\x01\0\x01\x15AudioBufferSourceNode\x01\0\0\x01\x04stop\0\0\0%__widl_f_buffer_AudioBufferSourceNode\0\0\x01\x15AudioBufferSourceNode\x01\0\x01\x06buffer\x01\x06buffer\0\0\0)__widl_f_set_buffer_AudioBufferSourceNode\0\0\x01\x15AudioBufferSourceNode\x01\0\x02\x06buffer\x01\x06buffer\0\0\0,__widl_f_playback_rate_AudioBufferSourceNode\0\0\x01\x15AudioBufferSourceNode\x01\0\x01\x0CplaybackRate\x01\x0CplaybackRate\0\0\0%__widl_f_detune_AudioBufferSourceNode\0\0\x01\x15AudioBufferSourceNode\x01\0\x01\x06detune\x01\x06detune\0\0\0#__widl_f_loop_AudioBufferSourceNode\0\0\x01\x15AudioBufferSourceNode\x01\0\x01\x04loop\x01\x04loop\0\0\0'__widl_f_set_loop_AudioBufferSourceNode\0\0\x01\x15AudioBufferSourceNode\x01\0\x02\x04loop\x01\x04loop\0\0\0)__widl_f_loop_start_AudioBufferSourceNode\0\0\x01\x15AudioBufferSourceNode\x01\0\x01\tloopStart\x01\tloopStart\0\0\0-__widl_f_set_loop_start_AudioBufferSourceNode\0\0\x01\x15AudioBufferSourceNode\x01\0\x02\tloopStart\x01\tloopStart\0\0\0'__widl_f_loop_end_AudioBufferSourceNode\0\0\x01\x15AudioBufferSourceNode\x01\0\x01\x07loopEnd\x01\x07loopEnd\0\0\0+__widl_f_set_loop_end_AudioBufferSourceNode\0\0\x01\x15AudioBufferSourceNode\x01\0\x02\x07loopEnd\x01\x07loopEnd\0\0\0&__widl_f_onended_AudioBufferSourceNode\0\0\x01\x15AudioBufferSourceNode\x01\0\x01\x07onended\x01\x07onended\0\0\0*__widl_f_set_onended_AudioBufferSourceNode\0\0\x01\x15AudioBufferSourceNode\x01\0\x02\x07onended\x01\x07onended\0\0\x02\x0CAudioContext\x1E__widl_instanceof_AudioContext\x01\x06webkit\0\0\0\x19__widl_f_new_AudioContext\x01\0\x01\x0CAudioContext\0\x01\x03new\0\0\0.__widl_f_new_with_context_options_AudioContext\x01\0\x01\x0CAudioContext\0\x01\x03new\0\0\0\x1B__widl_f_close_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x05close\0\0\01__widl_f_create_media_element_source_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x18createMediaElementSource\0\0\05__widl_f_create_media_stream_destination_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x1CcreateMediaStreamDestination\0\0\00__widl_f_create_media_stream_source_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x17createMediaStreamSource\0\0\0\x1D__widl_f_suspend_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x07suspend\0\0\0%__widl_f_create_analyser_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x0EcreateAnalyser\0\0\0*__widl_f_create_biquad_filter_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x12createBiquadFilter\0\0\0#__widl_f_create_buffer_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x0CcreateBuffer\0\0\0*__widl_f_create_buffer_source_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x12createBufferSource\0\0\0+__widl_f_create_channel_merger_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x13createChannelMerger\0\0\0A__widl_f_create_channel_merger_with_number_of_inputs_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x13createChannelMerger\0\0\0-__widl_f_create_channel_splitter_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x15createChannelSplitter\0\0\0D__widl_f_create_channel_splitter_with_number_of_outputs_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x15createChannelSplitter\0\0\0,__widl_f_create_constant_source_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x14createConstantSource\0\0\0&__widl_f_create_convolver_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x0FcreateConvolver\0\0\0\"__widl_f_create_delay_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x0BcreateDelay\0\0\06__widl_f_create_delay_with_max_delay_time_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x0BcreateDelay\0\0\00__widl_f_create_dynamics_compressor_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x18createDynamicsCompressor\0\0\0!__widl_f_create_gain_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\ncreateGain\0\0\0'__widl_f_create_oscillator_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x10createOscillator\0\0\0#__widl_f_create_panner_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x0CcreatePanner\0\0\0*__widl_f_create_periodic_wave_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x12createPeriodicWave\0\0\0;__widl_f_create_periodic_wave_with_constraints_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x12createPeriodicWave\0\0\0-__widl_f_create_script_processor_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x15createScriptProcessor\0\0\0>__widl_f_create_script_processor_with_buffer_size_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x15createScriptProcessor\0\0\0[__widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x15createScriptProcessor\0\0\0y__widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x15createScriptProcessor\0\0\0*__widl_f_create_stereo_panner_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x12createStereoPanner\0\0\0(__widl_f_create_wave_shaper_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x10createWaveShaper\0\0\0'__widl_f_decode_audio_data_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x0FdecodeAudioData\0\0\0=__widl_f_decode_audio_data_with_success_callback_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x0FdecodeAudioData\0\0\0P__widl_f_decode_audio_data_with_success_callback_and_error_callback_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x0FdecodeAudioData\0\0\0\x1C__widl_f_resume_AudioContext\x01\0\x01\x0CAudioContext\x01\0\0\x01\x06resume\0\0\0!__widl_f_destination_AudioContext\0\0\x01\x0CAudioContext\x01\0\x01\x0Bdestination\x01\x0Bdestination\0\0\0!__widl_f_sample_rate_AudioContext\0\0\x01\x0CAudioContext\x01\0\x01\nsampleRate\x01\nsampleRate\0\0\0\"__widl_f_current_time_AudioContext\0\0\x01\x0CAudioContext\x01\0\x01\x0BcurrentTime\x01\x0BcurrentTime\0\0\0\x1E__widl_f_listener_AudioContext\0\0\x01\x0CAudioContext\x01\0\x01\x08listener\x01\x08listener\0\0\0\x1B__widl_f_state_AudioContext\0\0\x01\x0CAudioContext\x01\0\x01\x05state\x01\x05state\0\0\0#__widl_f_audio_worklet_AudioContext\x01\0\x01\x0CAudioContext\x01\0\x01\x0CaudioWorklet\x01\x0CaudioWorklet\0\0\0#__widl_f_onstatechange_AudioContext\0\0\x01\x0CAudioContext\x01\0\x01\ronstatechange\x01\ronstatechange\0\0\0'__widl_f_set_onstatechange_AudioContext\0\0\x01\x0CAudioContext\x01\0\x02\ronstatechange\x01\ronstatechange\0\0\x02\x14AudioDestinationNode&__widl_instanceof_AudioDestinationNode\0\0\0\0/__widl_f_max_channel_count_AudioDestinationNode\0\0\x01\x14AudioDestinationNode\x01\0\x01\x0FmaxChannelCount\x01\x0FmaxChannelCount\0\0\x02\rAudioListener\x1F__widl_instanceof_AudioListener\0\0\0\0&__widl_f_set_orientation_AudioListener\0\0\x01\rAudioListener\x01\0\0\x01\x0EsetOrientation\0\0\0#__widl_f_set_position_AudioListener\0\0\x01\rAudioListener\x01\0\0\x01\x0BsetPosition\0\0\0#__widl_f_set_velocity_AudioListener\0\0\x01\rAudioListener\x01\0\0\x01\x0BsetVelocity\0\0\0%__widl_f_doppler_factor_AudioListener\0\0\x01\rAudioListener\x01\0\x01\rdopplerFactor\x01\rdopplerFactor\0\0\0)__widl_f_set_doppler_factor_AudioListener\0\0\x01\rAudioListener\x01\0\x02\rdopplerFactor\x01\rdopplerFactor\0\0\0%__widl_f_speed_of_sound_AudioListener\0\0\x01\rAudioListener\x01\0\x01\x0CspeedOfSound\x01\x0CspeedOfSound\0\0\0)__widl_f_set_speed_of_sound_AudioListener\0\0\x01\rAudioListener\x01\0\x02\x0CspeedOfSound\x01\x0CspeedOfSound\0\0\x02\tAudioNode\x1B__widl_instanceof_AudioNode\0\0\0\0*__widl_f_connect_with_audio_node_AudioNode\x01\0\x01\tAudioNode\x01\0\0\x01\x07connect\0\0\05__widl_f_connect_with_audio_node_and_output_AudioNode\x01\0\x01\tAudioNode\x01\0\0\x01\x07connect\0\0\0?__widl_f_connect_with_audio_node_and_output_and_input_AudioNode\x01\0\x01\tAudioNode\x01\0\0\x01\x07connect\0\0\0+__widl_f_connect_with_audio_param_AudioNode\x01\0\x01\tAudioNode\x01\0\0\x01\x07connect\0\0\06__widl_f_connect_with_audio_param_and_output_AudioNode\x01\0\x01\tAudioNode\x01\0\0\x01\x07connect\0\0\0\x1D__widl_f_disconnect_AudioNode\x01\0\x01\tAudioNode\x01\0\0\x01\ndisconnect\0\0\0)__widl_f_disconnect_with_output_AudioNode\x01\0\x01\tAudioNode\x01\0\0\x01\ndisconnect\0\0\0-__widl_f_disconnect_with_audio_node_AudioNode\x01\0\x01\tAudioNode\x01\0\0\x01\ndisconnect\0\0\08__widl_f_disconnect_with_audio_node_and_output_AudioNode\x01\0\x01\tAudioNode\x01\0\0\x01\ndisconnect\0\0\0B__widl_f_disconnect_with_audio_node_and_output_and_input_AudioNode\x01\0\x01\tAudioNode\x01\0\0\x01\ndisconnect\0\0\0.__widl_f_disconnect_with_audio_param_AudioNode\x01\0\x01\tAudioNode\x01\0\0\x01\ndisconnect\0\0\09__widl_f_disconnect_with_audio_param_and_output_AudioNode\x01\0\x01\tAudioNode\x01\0\0\x01\ndisconnect\0\0\0\x1A__widl_f_context_AudioNode\0\0\x01\tAudioNode\x01\0\x01\x07context\x01\x07context\0\0\0#__widl_f_number_of_inputs_AudioNode\0\0\x01\tAudioNode\x01\0\x01\x0EnumberOfInputs\x01\x0EnumberOfInputs\0\0\0$__widl_f_number_of_outputs_AudioNode\0\0\x01\tAudioNode\x01\0\x01\x0FnumberOfOutputs\x01\x0FnumberOfOutputs\0\0\0 __widl_f_channel_count_AudioNode\0\0\x01\tAudioNode\x01\0\x01\x0CchannelCount\x01\x0CchannelCount\0\0\0$__widl_f_set_channel_count_AudioNode\0\0\x01\tAudioNode\x01\0\x02\x0CchannelCount\x01\x0CchannelCount\0\0\0%__widl_f_channel_count_mode_AudioNode\0\0\x01\tAudioNode\x01\0\x01\x10channelCountMode\x01\x10channelCountMode\0\0\0)__widl_f_set_channel_count_mode_AudioNode\0\0\x01\tAudioNode\x01\0\x02\x10channelCountMode\x01\x10channelCountMode\0\0\0)__widl_f_channel_interpretation_AudioNode\0\0\x01\tAudioNode\x01\0\x01\x15channelInterpretation\x01\x15channelInterpretation\0\0\0-__widl_f_set_channel_interpretation_AudioNode\0\0\x01\tAudioNode\x01\0\x02\x15channelInterpretation\x01\x15channelInterpretation\0\0\x02\nAudioParam\x1C__widl_instanceof_AudioParam\0\0\0\0+__widl_f_cancel_scheduled_values_AudioParam\x01\0\x01\nAudioParam\x01\0\0\x01\x15cancelScheduledValues\0\0\05__widl_f_exponential_ramp_to_value_at_time_AudioParam\x01\0\x01\nAudioParam\x01\0\0\x01\x1CexponentialRampToValueAtTime\0\0\00__widl_f_linear_ramp_to_value_at_time_AudioParam\x01\0\x01\nAudioParam\x01\0\0\x01\x17linearRampToValueAtTime\0\0\0&__widl_f_set_target_at_time_AudioParam\x01\0\x01\nAudioParam\x01\0\0\x01\x0FsetTargetAtTime\0\0\0%__widl_f_set_value_at_time_AudioParam\x01\0\x01\nAudioParam\x01\0\0\x01\x0EsetValueAtTime\0\0\0+__widl_f_set_value_curve_at_time_AudioParam\x01\0\x01\nAudioParam\x01\0\0\x01\x13setValueCurveAtTime\0\0\0\x19__widl_f_value_AudioParam\0\0\x01\nAudioParam\x01\0\x01\x05value\x01\x05value\0\0\0\x1D__widl_f_set_value_AudioParam\0\0\x01\nAudioParam\x01\0\x02\x05value\x01\x05value\0\0\0!__widl_f_default_value_AudioParam\0\0\x01\nAudioParam\x01\0\x01\x0CdefaultValue\x01\x0CdefaultValue\0\0\0\x1D__widl_f_min_value_AudioParam\0\0\x01\nAudioParam\x01\0\x01\x08minValue\x01\x08minValue\0\0\0\x1D__widl_f_max_value_AudioParam\0\0\x01\nAudioParam\x01\0\x01\x08maxValue\x01\x08maxValue\0\0\x02\rAudioParamMap\x1F__widl_instanceof_AudioParamMap\0\0\0\x02\x14AudioProcessingEvent&__widl_instanceof_AudioProcessingEvent\0\0\0\0+__widl_f_playback_time_AudioProcessingEvent\0\0\x01\x14AudioProcessingEvent\x01\0\x01\x0CplaybackTime\x01\x0CplaybackTime\0\0\0*__widl_f_input_buffer_AudioProcessingEvent\x01\0\x01\x14AudioProcessingEvent\x01\0\x01\x0BinputBuffer\x01\x0BinputBuffer\0\0\0+__widl_f_output_buffer_AudioProcessingEvent\x01\0\x01\x14AudioProcessingEvent\x01\0\x01\x0CoutputBuffer\x01\x0CoutputBuffer\0\0\x02\x18AudioScheduledSourceNode*__widl_instanceof_AudioScheduledSourceNode\0\0\0\0'__widl_f_start_AudioScheduledSourceNode\x01\0\x01\x18AudioScheduledSourceNode\x01\0\0\x01\x05start\0\0\01__widl_f_start_with_when_AudioScheduledSourceNode\x01\0\x01\x18AudioScheduledSourceNode\x01\0\0\x01\x05start\0\0\0&__widl_f_stop_AudioScheduledSourceNode\x01\0\x01\x18AudioScheduledSourceNode\x01\0\0\x01\x04stop\0\0\00__widl_f_stop_with_when_AudioScheduledSourceNode\x01\0\x01\x18AudioScheduledSourceNode\x01\0\0\x01\x04stop\0\0\0)__widl_f_onended_AudioScheduledSourceNode\0\0\x01\x18AudioScheduledSourceNode\x01\0\x01\x07onended\x01\x07onended\0\0\0-__widl_f_set_onended_AudioScheduledSourceNode\0\0\x01\x18AudioScheduledSourceNode\x01\0\x02\x07onended\x01\x07onended\0\0\x02\x10AudioStreamTrack\"__widl_instanceof_AudioStreamTrack\0\0\0\x02\nAudioTrack\x1C__widl_instanceof_AudioTrack\0\0\0\0\x16__widl_f_id_AudioTrack\0\0\x01\nAudioTrack\x01\0\x01\x02id\x01\x02id\0\0\0\x18__widl_f_kind_AudioTrack\0\0\x01\nAudioTrack\x01\0\x01\x04kind\x01\x04kind\0\0\0\x19__widl_f_label_AudioTrack\0\0\x01\nAudioTrack\x01\0\x01\x05label\x01\x05label\0\0\0\x1C__widl_f_language_AudioTrack\0\0\x01\nAudioTrack\x01\0\x01\x08language\x01\x08language\0\0\0\x1B__widl_f_enabled_AudioTrack\0\0\x01\nAudioTrack\x01\0\x01\x07enabled\x01\x07enabled\0\0\0\x1F__widl_f_set_enabled_AudioTrack\0\0\x01\nAudioTrack\x01\0\x02\x07enabled\x01\x07enabled\0\0\x02\x0EAudioTrackList __widl_instanceof_AudioTrackList\0\0\0\0'__widl_f_get_track_by_id_AudioTrackList\0\0\x01\x0EAudioTrackList\x01\0\0\x01\x0CgetTrackById\0\0\0\x1B__widl_f_get_AudioTrackList\0\0\x01\x0EAudioTrackList\x01\0\x03\x01\x03get\0\0\0\x1E__widl_f_length_AudioTrackList\0\0\x01\x0EAudioTrackList\x01\0\x01\x06length\x01\x06length\0\0\0 __widl_f_onchange_AudioTrackList\0\0\x01\x0EAudioTrackList\x01\0\x01\x08onchange\x01\x08onchange\0\0\0$__widl_f_set_onchange_AudioTrackList\0\0\x01\x0EAudioTrackList\x01\0\x02\x08onchange\x01\x08onchange\0\0\0\"__widl_f_onaddtrack_AudioTrackList\0\0\x01\x0EAudioTrackList\x01\0\x01\nonaddtrack\x01\nonaddtrack\0\0\0&__widl_f_set_onaddtrack_AudioTrackList\0\0\x01\x0EAudioTrackList\x01\0\x02\nonaddtrack\x01\nonaddtrack\0\0\0%__widl_f_onremovetrack_AudioTrackList\0\0\x01\x0EAudioTrackList\x01\0\x01\ronremovetrack\x01\ronremovetrack\0\0\0)__widl_f_set_onremovetrack_AudioTrackList\0\0\x01\x0EAudioTrackList\x01\0\x02\ronremovetrack\x01\ronremovetrack\0\0\x02\x0CAudioWorklet\x1E__widl_instanceof_AudioWorklet\0\0\0\x02\x17AudioWorkletGlobalScope)__widl_instanceof_AudioWorkletGlobalScope\0\0\0\03__widl_f_register_processor_AudioWorkletGlobalScope\0\0\x01\x17AudioWorkletGlobalScope\x01\0\0\x01\x11registerProcessor\0\0\0.__widl_f_current_frame_AudioWorkletGlobalScope\0\0\x01\x17AudioWorkletGlobalScope\x01\0\x01\x0CcurrentFrame\x01\x0CcurrentFrame\0\0\0-__widl_f_current_time_AudioWorkletGlobalScope\0\0\x01\x17AudioWorkletGlobalScope\x01\0\x01\x0BcurrentTime\x01\x0BcurrentTime\0\0\0,__widl_f_sample_rate_AudioWorkletGlobalScope\0\0\x01\x17AudioWorkletGlobalScope\x01\0\x01\nsampleRate\x01\nsampleRate\0\0\x02\x10AudioWorkletNode\"__widl_instanceof_AudioWorkletNode\0\0\0\0\x1D__widl_f_new_AudioWorkletNode\x01\0\x01\x10AudioWorkletNode\0\x01\x03new\0\0\0*__widl_f_new_with_options_AudioWorkletNode\x01\0\x01\x10AudioWorkletNode\0\x01\x03new\0\0\0$__widl_f_parameters_AudioWorkletNode\x01\0\x01\x10AudioWorkletNode\x01\0\x01\nparameters\x01\nparameters\0\0\0\x1E__widl_f_port_AudioWorkletNode\x01\0\x01\x10AudioWorkletNode\x01\0\x01\x04port\x01\x04port\0\0\0*__widl_f_onprocessorerror_AudioWorkletNode\0\0\x01\x10AudioWorkletNode\x01\0\x01\x10onprocessorerror\x01\x10onprocessorerror\0\0\0.__widl_f_set_onprocessorerror_AudioWorkletNode\0\0\x01\x10AudioWorkletNode\x01\0\x02\x10onprocessorerror\x01\x10onprocessorerror\0\0\x02\x15AudioWorkletProcessor'__widl_instanceof_AudioWorkletProcessor\0\0\0\0\"__widl_f_new_AudioWorkletProcessor\x01\0\x01\x15AudioWorkletProcessor\0\x01\x03new\0\0\0/__widl_f_new_with_options_AudioWorkletProcessor\x01\0\x01\x15AudioWorkletProcessor\0\x01\x03new\0\0\0#__widl_f_port_AudioWorkletProcessor\x01\0\x01\x15AudioWorkletProcessor\x01\0\x01\x04port\x01\x04port\0\0\x02\x1EAuthenticatorAssertionResponse0__widl_instanceof_AuthenticatorAssertionResponse\0\0\0\0:__widl_f_authenticator_data_AuthenticatorAssertionResponse\0\0\x01\x1EAuthenticatorAssertionResponse\x01\0\x01\x11authenticatorData\x01\x11authenticatorData\0\0\01__widl_f_signature_AuthenticatorAssertionResponse\0\0\x01\x1EAuthenticatorAssertionResponse\x01\0\x01\tsignature\x01\tsignature\0\0\03__widl_f_user_handle_AuthenticatorAssertionResponse\0\0\x01\x1EAuthenticatorAssertionResponse\x01\0\x01\nuserHandle\x01\nuserHandle\0\0\x02 AuthenticatorAttestationResponse2__widl_instanceof_AuthenticatorAttestationResponse\0\0\0\0<__widl_f_attestation_object_AuthenticatorAttestationResponse\0\0\x01 AuthenticatorAttestationResponse\x01\0\x01\x11attestationObject\x01\x11attestationObject\0\0\x02\x15AuthenticatorResponse'__widl_instanceof_AuthenticatorResponse\0\0\0\0/__widl_f_client_data_json_AuthenticatorResponse\0\0\x01\x15AuthenticatorResponse\x01\0\x01\x0EclientDataJSON\x01\x0EclientDataJSON\0\0\x02\x07BarProp\x19__widl_instanceof_BarProp\0\0\0\0\x18__widl_f_visible_BarProp\x01\0\x01\x07BarProp\x01\0\x01\x07visible\x01\x07visible\0\0\0\x1C__widl_f_set_visible_BarProp\x01\0\x01\x07BarProp\x01\0\x02\x07visible\x01\x07visible\0\0\x02\x10BaseAudioContext\"__widl_instanceof_BaseAudioContext\0\0\0\0)__widl_f_create_analyser_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x0EcreateAnalyser\0\0\0.__widl_f_create_biquad_filter_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x12createBiquadFilter\0\0\0'__widl_f_create_buffer_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x0CcreateBuffer\0\0\0.__widl_f_create_buffer_source_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x12createBufferSource\0\0\0/__widl_f_create_channel_merger_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x13createChannelMerger\0\0\0E__widl_f_create_channel_merger_with_number_of_inputs_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x13createChannelMerger\0\0\01__widl_f_create_channel_splitter_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x15createChannelSplitter\0\0\0H__widl_f_create_channel_splitter_with_number_of_outputs_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x15createChannelSplitter\0\0\00__widl_f_create_constant_source_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x14createConstantSource\0\0\0*__widl_f_create_convolver_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x0FcreateConvolver\0\0\0&__widl_f_create_delay_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x0BcreateDelay\0\0\0:__widl_f_create_delay_with_max_delay_time_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x0BcreateDelay\0\0\04__widl_f_create_dynamics_compressor_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x18createDynamicsCompressor\0\0\0%__widl_f_create_gain_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\ncreateGain\0\0\0+__widl_f_create_oscillator_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x10createOscillator\0\0\0'__widl_f_create_panner_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x0CcreatePanner\0\0\0.__widl_f_create_periodic_wave_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x12createPeriodicWave\0\0\0?__widl_f_create_periodic_wave_with_constraints_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x12createPeriodicWave\0\0\01__widl_f_create_script_processor_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x15createScriptProcessor\0\0\0B__widl_f_create_script_processor_with_buffer_size_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x15createScriptProcessor\0\0\0___widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x15createScriptProcessor\0\0\0}__widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x15createScriptProcessor\0\0\0.__widl_f_create_stereo_panner_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x12createStereoPanner\0\0\0,__widl_f_create_wave_shaper_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x10createWaveShaper\0\0\0+__widl_f_decode_audio_data_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x0FdecodeAudioData\0\0\0A__widl_f_decode_audio_data_with_success_callback_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x0FdecodeAudioData\0\0\0T__widl_f_decode_audio_data_with_success_callback_and_error_callback_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x0FdecodeAudioData\0\0\0 __widl_f_resume_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\0\x01\x06resume\0\0\0%__widl_f_destination_BaseAudioContext\0\0\x01\x10BaseAudioContext\x01\0\x01\x0Bdestination\x01\x0Bdestination\0\0\0%__widl_f_sample_rate_BaseAudioContext\0\0\x01\x10BaseAudioContext\x01\0\x01\nsampleRate\x01\nsampleRate\0\0\0&__widl_f_current_time_BaseAudioContext\0\0\x01\x10BaseAudioContext\x01\0\x01\x0BcurrentTime\x01\x0BcurrentTime\0\0\0\"__widl_f_listener_BaseAudioContext\0\0\x01\x10BaseAudioContext\x01\0\x01\x08listener\x01\x08listener\0\0\0\x1F__widl_f_state_BaseAudioContext\0\0\x01\x10BaseAudioContext\x01\0\x01\x05state\x01\x05state\0\0\0'__widl_f_audio_worklet_BaseAudioContext\x01\0\x01\x10BaseAudioContext\x01\0\x01\x0CaudioWorklet\x01\x0CaudioWorklet\0\0\0'__widl_f_onstatechange_BaseAudioContext\0\0\x01\x10BaseAudioContext\x01\0\x01\ronstatechange\x01\ronstatechange\0\0\0+__widl_f_set_onstatechange_BaseAudioContext\0\0\x01\x10BaseAudioContext\x01\0\x02\ronstatechange\x01\ronstatechange\0\0\x02\x0EBatteryManager __widl_instanceof_BatteryManager\0\0\0\0 __widl_f_charging_BatteryManager\0\0\x01\x0EBatteryManager\x01\0\x01\x08charging\x01\x08charging\0\0\0%__widl_f_charging_time_BatteryManager\0\0\x01\x0EBatteryManager\x01\0\x01\x0CchargingTime\x01\x0CchargingTime\0\0\0(__widl_f_discharging_time_BatteryManager\0\0\x01\x0EBatteryManager\x01\0\x01\x0FdischargingTime\x01\x0FdischargingTime\0\0\0\x1D__widl_f_level_BatteryManager\0\0\x01\x0EBatteryManager\x01\0\x01\x05level\x01\x05level\0\0\0(__widl_f_onchargingchange_BatteryManager\0\0\x01\x0EBatteryManager\x01\0\x01\x10onchargingchange\x01\x10onchargingchange\0\0\0,__widl_f_set_onchargingchange_BatteryManager\0\0\x01\x0EBatteryManager\x01\0\x02\x10onchargingchange\x01\x10onchargingchange\0\0\0,__widl_f_onchargingtimechange_BatteryManager\0\0\x01\x0EBatteryManager\x01\0\x01\x14onchargingtimechange\x01\x14onchargingtimechange\0\0\00__widl_f_set_onchargingtimechange_BatteryManager\0\0\x01\x0EBatteryManager\x01\0\x02\x14onchargingtimechange\x01\x14onchargingtimechange\0\0\0/__widl_f_ondischargingtimechange_BatteryManager\0\0\x01\x0EBatteryManager\x01\0\x01\x17ondischargingtimechange\x01\x17ondischargingtimechange\0\0\03__widl_f_set_ondischargingtimechange_BatteryManager\0\0\x01\x0EBatteryManager\x01\0\x02\x17ondischargingtimechange\x01\x17ondischargingtimechange\0\0\0%__widl_f_onlevelchange_BatteryManager\0\0\x01\x0EBatteryManager\x01\0\x01\ronlevelchange\x01\ronlevelchange\0\0\0)__widl_f_set_onlevelchange_BatteryManager\0\0\x01\x0EBatteryManager\x01\0\x02\ronlevelchange\x01\ronlevelchange\0\0\x02\x11BeforeUnloadEvent#__widl_instanceof_BeforeUnloadEvent\0\0\0\0'__widl_f_return_value_BeforeUnloadEvent\0\0\x01\x11BeforeUnloadEvent\x01\0\x01\x0BreturnValue\x01\x0BreturnValue\0\0\0+__widl_f_set_return_value_BeforeUnloadEvent\0\0\x01\x11BeforeUnloadEvent\x01\0\x02\x0BreturnValue\x01\x0BreturnValue\0\0\x02\x10BiquadFilterNode\"__widl_instanceof_BiquadFilterNode\0\0\0\0\x1D__widl_f_new_BiquadFilterNode\x01\0\x01\x10BiquadFilterNode\0\x01\x03new\0\0\0*__widl_f_new_with_options_BiquadFilterNode\x01\0\x01\x10BiquadFilterNode\0\x01\x03new\0\0\00__widl_f_get_frequency_response_BiquadFilterNode\0\0\x01\x10BiquadFilterNode\x01\0\0\x01\x14getFrequencyResponse\0\0\0\x1E__widl_f_type_BiquadFilterNode\0\0\x01\x10BiquadFilterNode\x01\0\x01\x04type\x01\x04type\0\0\0\"__widl_f_set_type_BiquadFilterNode\0\0\x01\x10BiquadFilterNode\x01\0\x02\x04type\x01\x04type\0\0\0#__widl_f_frequency_BiquadFilterNode\0\0\x01\x10BiquadFilterNode\x01\0\x01\tfrequency\x01\tfrequency\0\0\0 __widl_f_detune_BiquadFilterNode\0\0\x01\x10BiquadFilterNode\x01\0\x01\x06detune\x01\x06detune\0\0\0\x1B__widl_f_q_BiquadFilterNode\0\0\x01\x10BiquadFilterNode\x01\0\x01\x01Q\x01\x01Q\0\0\0\x1E__widl_f_gain_BiquadFilterNode\0\0\x01\x10BiquadFilterNode\x01\0\x01\x04gain\x01\x04gain\0\0\x02\x04Blob\x16__widl_instanceof_Blob\0\0\0\0\x11__widl_f_new_Blob\x01\0\x01\x04Blob\0\x01\x03new\0\0\0\x13__widl_f_slice_Blob\x01\0\x01\x04Blob\x01\0\0\x01\x05slice\0\0\0\x1C__widl_f_slice_with_i32_Blob\x01\0\x01\x04Blob\x01\0\0\x01\x05slice\0\0\0\x1C__widl_f_slice_with_f64_Blob\x01\0\x01\x04Blob\x01\0\0\x01\x05slice\0\0\0$__widl_f_slice_with_i32_and_i32_Blob\x01\0\x01\x04Blob\x01\0\0\x01\x05slice\0\0\0$__widl_f_slice_with_f64_and_i32_Blob\x01\0\x01\x04Blob\x01\0\0\x01\x05slice\0\0\0$__widl_f_slice_with_i32_and_f64_Blob\x01\0\x01\x04Blob\x01\0\0\x01\x05slice\0\0\0$__widl_f_slice_with_f64_and_f64_Blob\x01\0\x01\x04Blob\x01\0\0\x01\x05slice\0\0\05__widl_f_slice_with_i32_and_i32_and_content_type_Blob\x01\0\x01\x04Blob\x01\0\0\x01\x05slice\0\0\05__widl_f_slice_with_f64_and_i32_and_content_type_Blob\x01\0\x01\x04Blob\x01\0\0\x01\x05slice\0\0\05__widl_f_slice_with_i32_and_f64_and_content_type_Blob\x01\0\x01\x04Blob\x01\0\0\x01\x05slice\0\0\05__widl_f_slice_with_f64_and_f64_and_content_type_Blob\x01\0\x01\x04Blob\x01\0\0\x01\x05slice\0\0\0\x12__widl_f_size_Blob\0\0\x01\x04Blob\x01\0\x01\x04size\x01\x04size\0\0\0\x12__widl_f_type_Blob\0\0\x01\x04Blob\x01\0\x01\x04type\x01\x04type\0\0\x02\tBlobEvent\x1B__widl_instanceof_BlobEvent\0\0\0\0\x16__widl_f_new_BlobEvent\x01\0\x01\tBlobEvent\0\x01\x03new\0\0\0+__widl_f_new_with_event_init_dict_BlobEvent\x01\0\x01\tBlobEvent\0\x01\x03new\0\0\0\x17__widl_f_data_BlobEvent\0\0\x01\tBlobEvent\x01\0\x01\x04data\x01\x04data\0\0\x02\x10BroadcastChannel\"__widl_instanceof_BroadcastChannel\0\0\0\0\x1D__widl_f_new_BroadcastChannel\x01\0\x01\x10BroadcastChannel\0\x01\x03new\0\0\0\x1F__widl_f_close_BroadcastChannel\0\0\x01\x10BroadcastChannel\x01\0\0\x01\x05close\0\0\0&__widl_f_post_message_BroadcastChannel\x01\0\x01\x10BroadcastChannel\x01\0\0\x01\x0BpostMessage\0\0\0\x1E__widl_f_name_BroadcastChannel\0\0\x01\x10BroadcastChannel\x01\0\x01\x04name\x01\x04name\0\0\0#__widl_f_onmessage_BroadcastChannel\0\0\x01\x10BroadcastChannel\x01\0\x01\tonmessage\x01\tonmessage\0\0\0'__widl_f_set_onmessage_BroadcastChannel\0\0\x01\x10BroadcastChannel\x01\0\x02\tonmessage\x01\tonmessage\0\0\0(__widl_f_onmessageerror_BroadcastChannel\0\0\x01\x10BroadcastChannel\x01\0\x01\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\0,__widl_f_set_onmessageerror_BroadcastChannel\0\0\x01\x10BroadcastChannel\x01\0\x02\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\x02\x11BrowserFeedWriter#__widl_instanceof_BrowserFeedWriter\0\0\0\0\x1E__widl_f_new_BrowserFeedWriter\x01\0\x01\x11BrowserFeedWriter\0\x01\x03new\0\0\0 __widl_f_close_BrowserFeedWriter\0\0\x01\x11BrowserFeedWriter\x01\0\0\x01\x05close\0\0\0(__widl_f_write_content_BrowserFeedWriter\0\0\x01\x11BrowserFeedWriter\x01\0\0\x01\x0CwriteContent\0\0\x02\x0CCDATASection\x1E__widl_instanceof_CDATASection\0\0\0\x02\x0CCSSAnimation\x1E__widl_instanceof_CSSAnimation\0\0\0\0$__widl_f_animation_name_CSSAnimation\0\0\x01\x0CCSSAnimation\x01\0\x01\ranimationName\x01\ranimationName\0\0\x02\x10CSSConditionRule\"__widl_instanceof_CSSConditionRule\0\0\0\0(__widl_f_condition_text_CSSConditionRule\0\0\x01\x10CSSConditionRule\x01\0\x01\rconditionText\x01\rconditionText\0\0\0,__widl_f_set_condition_text_CSSConditionRule\0\0\x01\x10CSSConditionRule\x01\0\x02\rconditionText\x01\rconditionText\0\0\x02\x13CSSCounterStyleRule%__widl_instanceof_CSSCounterStyleRule\0\0\0\0!__widl_f_name_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x01\x04name\x01\x04name\0\0\0%__widl_f_set_name_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x02\x04name\x01\x04name\0\0\0#__widl_f_system_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x01\x06system\x01\x06system\0\0\0'__widl_f_set_system_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x02\x06system\x01\x06system\0\0\0$__widl_f_symbols_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x01\x07symbols\x01\x07symbols\0\0\0(__widl_f_set_symbols_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x02\x07symbols\x01\x07symbols\0\0\0-__widl_f_additive_symbols_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x01\x0FadditiveSymbols\x01\x0FadditiveSymbols\0\0\01__widl_f_set_additive_symbols_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x02\x0FadditiveSymbols\x01\x0FadditiveSymbols\0\0\0%__widl_f_negative_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x01\x08negative\x01\x08negative\0\0\0)__widl_f_set_negative_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x02\x08negative\x01\x08negative\0\0\0#__widl_f_prefix_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x01\x06prefix\x01\x06prefix\0\0\0'__widl_f_set_prefix_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x02\x06prefix\x01\x06prefix\0\0\0#__widl_f_suffix_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x01\x06suffix\x01\x06suffix\0\0\0'__widl_f_set_suffix_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x02\x06suffix\x01\x06suffix\0\0\0\"__widl_f_range_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x01\x05range\x01\x05range\0\0\0&__widl_f_set_range_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x02\x05range\x01\x05range\0\0\0 __widl_f_pad_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x01\x03pad\x01\x03pad\0\0\0$__widl_f_set_pad_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x02\x03pad\x01\x03pad\0\0\0%__widl_f_speak_as_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x01\x07speakAs\x01\x07speakAs\0\0\0)__widl_f_set_speak_as_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x02\x07speakAs\x01\x07speakAs\0\0\0%__widl_f_fallback_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x01\x08fallback\x01\x08fallback\0\0\0)__widl_f_set_fallback_CSSCounterStyleRule\0\0\x01\x13CSSCounterStyleRule\x01\0\x02\x08fallback\x01\x08fallback\0\0\x02\x0FCSSFontFaceRule!__widl_instanceof_CSSFontFaceRule\0\0\0\0\x1E__widl_f_style_CSSFontFaceRule\0\0\x01\x0FCSSFontFaceRule\x01\0\x01\x05style\x01\x05style\0\0\x02\x18CSSFontFeatureValuesRule*__widl_instanceof_CSSFontFeatureValuesRule\0\0\0\0-__widl_f_font_family_CSSFontFeatureValuesRule\0\0\x01\x18CSSFontFeatureValuesRule\x01\0\x01\nfontFamily\x01\nfontFamily\0\0\01__widl_f_set_font_family_CSSFontFeatureValuesRule\0\0\x01\x18CSSFontFeatureValuesRule\x01\0\x02\nfontFamily\x01\nfontFamily\0\0\0,__widl_f_value_text_CSSFontFeatureValuesRule\0\0\x01\x18CSSFontFeatureValuesRule\x01\0\x01\tvalueText\x01\tvalueText\0\0\00__widl_f_set_value_text_CSSFontFeatureValuesRule\0\0\x01\x18CSSFontFeatureValuesRule\x01\0\x02\tvalueText\x01\tvalueText\0\0\x02\x0FCSSGroupingRule!__widl_instanceof_CSSGroupingRule\0\0\0\0$__widl_f_delete_rule_CSSGroupingRule\x01\0\x01\x0FCSSGroupingRule\x01\0\0\x01\ndeleteRule\0\0\0$__widl_f_insert_rule_CSSGroupingRule\x01\0\x01\x0FCSSGroupingRule\x01\0\0\x01\ninsertRule\0\0\0/__widl_f_insert_rule_with_index_CSSGroupingRule\x01\0\x01\x0FCSSGroupingRule\x01\0\0\x01\ninsertRule\0\0\0\"__widl_f_css_rules_CSSGroupingRule\0\0\x01\x0FCSSGroupingRule\x01\0\x01\x08cssRules\x01\x08cssRules\0\0\x02\rCSSImportRule\x1F__widl_instanceof_CSSImportRule\0\0\0\0\x1B__widl_f_href_CSSImportRule\0\0\x01\rCSSImportRule\x01\0\x01\x04href\x01\x04href\0\0\0\x1C__widl_f_media_CSSImportRule\0\0\x01\rCSSImportRule\x01\0\x01\x05media\x01\x05media\0\0\0\"__widl_f_style_sheet_CSSImportRule\0\0\x01\rCSSImportRule\x01\0\x01\nstyleSheet\x01\nstyleSheet\0\0\x02\x0FCSSKeyframeRule!__widl_instanceof_CSSKeyframeRule\0\0\0\0!__widl_f_key_text_CSSKeyframeRule\0\0\x01\x0FCSSKeyframeRule\x01\0\x01\x07keyText\x01\x07keyText\0\0\0%__widl_f_set_key_text_CSSKeyframeRule\0\0\x01\x0FCSSKeyframeRule\x01\0\x02\x07keyText\x01\x07keyText\0\0\0\x1E__widl_f_style_CSSKeyframeRule\0\0\x01\x0FCSSKeyframeRule\x01\0\x01\x05style\x01\x05style\0\0\x02\x10CSSKeyframesRule\"__widl_instanceof_CSSKeyframesRule\0\0\0\0%__widl_f_append_rule_CSSKeyframesRule\0\0\x01\x10CSSKeyframesRule\x01\0\0\x01\nappendRule\0\0\0%__widl_f_delete_rule_CSSKeyframesRule\0\0\x01\x10CSSKeyframesRule\x01\0\0\x01\ndeleteRule\0\0\0#__widl_f_find_rule_CSSKeyframesRule\0\0\x01\x10CSSKeyframesRule\x01\0\0\x01\x08findRule\0\0\0\x1E__widl_f_name_CSSKeyframesRule\0\0\x01\x10CSSKeyframesRule\x01\0\x01\x04name\x01\x04name\0\0\0\"__widl_f_set_name_CSSKeyframesRule\0\0\x01\x10CSSKeyframesRule\x01\0\x02\x04name\x01\x04name\0\0\0#__widl_f_css_rules_CSSKeyframesRule\0\0\x01\x10CSSKeyframesRule\x01\0\x01\x08cssRules\x01\x08cssRules\0\0\x02\x0CCSSMediaRule\x1E__widl_instanceof_CSSMediaRule\0\0\0\0\x1B__widl_f_media_CSSMediaRule\0\0\x01\x0CCSSMediaRule\x01\0\x01\x05media\x01\x05media\0\0\x02\x10CSSNamespaceRule\"__widl_instanceof_CSSNamespaceRule\0\0\0\0'__widl_f_namespace_uri_CSSNamespaceRule\0\0\x01\x10CSSNamespaceRule\x01\0\x01\x0CnamespaceURI\x01\x0CnamespaceURI\0\0\0 __widl_f_prefix_CSSNamespaceRule\0\0\x01\x10CSSNamespaceRule\x01\0\x01\x06prefix\x01\x06prefix\0\0\x02\x0BCSSPageRule\x1D__widl_instanceof_CSSPageRule\0\0\0\0\x1A__widl_f_style_CSSPageRule\0\0\x01\x0BCSSPageRule\x01\0\x01\x05style\x01\x05style\0\0\x02\x10CSSPseudoElement\"__widl_instanceof_CSSPseudoElement\0\0\0\0\x1E__widl_f_type_CSSPseudoElement\0\0\x01\x10CSSPseudoElement\x01\0\x01\x04type\x01\x04type\0\0\0(__widl_f_parent_element_CSSPseudoElement\0\0\x01\x10CSSPseudoElement\x01\0\x01\rparentElement\x01\rparentElement\0\0\x02\x07CSSRule\x19__widl_instanceof_CSSRule\0\0\0\0\x15__widl_f_type_CSSRule\0\0\x01\x07CSSRule\x01\0\x01\x04type\x01\x04type\0\0\0\x19__widl_f_css_text_CSSRule\0\0\x01\x07CSSRule\x01\0\x01\x07cssText\x01\x07cssText\0\0\0\x1D__widl_f_set_css_text_CSSRule\0\0\x01\x07CSSRule\x01\0\x02\x07cssText\x01\x07cssText\0\0\0\x1C__widl_f_parent_rule_CSSRule\0\0\x01\x07CSSRule\x01\0\x01\nparentRule\x01\nparentRule\0\0\0#__widl_f_parent_style_sheet_CSSRule\0\0\x01\x07CSSRule\x01\0\x01\x10parentStyleSheet\x01\x10parentStyleSheet\0\0\x02\x0BCSSRuleList\x1D__widl_instanceof_CSSRuleList\0\0\0\0\x19__widl_f_item_CSSRuleList\0\0\x01\x0BCSSRuleList\x01\0\0\x01\x04item\0\0\0\x18__widl_f_get_CSSRuleList\0\0\x01\x0BCSSRuleList\x01\0\x03\x01\x03get\0\0\0\x1B__widl_f_length_CSSRuleList\0\0\x01\x0BCSSRuleList\x01\0\x01\x06length\x01\x06length\0\0\x02\x13CSSStyleDeclaration%__widl_instanceof_CSSStyleDeclaration\0\0\0\02__widl_f_get_property_priority_CSSStyleDeclaration\0\0\x01\x13CSSStyleDeclaration\x01\0\0\x01\x13getPropertyPriority\0\0\0/__widl_f_get_property_value_CSSStyleDeclaration\x01\0\x01\x13CSSStyleDeclaration\x01\0\0\x01\x10getPropertyValue\0\0\0!__widl_f_item_CSSStyleDeclaration\0\0\x01\x13CSSStyleDeclaration\x01\0\0\x01\x04item\0\0\0,__widl_f_remove_property_CSSStyleDeclaration\x01\0\x01\x13CSSStyleDeclaration\x01\0\0\x01\x0EremoveProperty\0\0\0)__widl_f_set_property_CSSStyleDeclaration\x01\0\x01\x13CSSStyleDeclaration\x01\0\0\x01\x0BsetProperty\0\0\07__widl_f_set_property_with_priority_CSSStyleDeclaration\x01\0\x01\x13CSSStyleDeclaration\x01\0\0\x01\x0BsetProperty\0\0\0 __widl_f_get_CSSStyleDeclaration\0\0\x01\x13CSSStyleDeclaration\x01\0\x03\x01\x03get\0\0\0%__widl_f_css_text_CSSStyleDeclaration\0\0\x01\x13CSSStyleDeclaration\x01\0\x01\x07cssText\x01\x07cssText\0\0\0)__widl_f_set_css_text_CSSStyleDeclaration\0\0\x01\x13CSSStyleDeclaration\x01\0\x02\x07cssText\x01\x07cssText\0\0\0#__widl_f_length_CSSStyleDeclaration\0\0\x01\x13CSSStyleDeclaration\x01\0\x01\x06length\x01\x06length\0\0\0(__widl_f_parent_rule_CSSStyleDeclaration\0\0\x01\x13CSSStyleDeclaration\x01\0\x01\nparentRule\x01\nparentRule\0\0\x02\x0CCSSStyleRule\x1E__widl_instanceof_CSSStyleRule\0\0\0\0#__widl_f_selector_text_CSSStyleRule\0\0\x01\x0CCSSStyleRule\x01\0\x01\x0CselectorText\x01\x0CselectorText\0\0\0'__widl_f_set_selector_text_CSSStyleRule\0\0\x01\x0CCSSStyleRule\x01\0\x02\x0CselectorText\x01\x0CselectorText\0\0\0\x1B__widl_f_style_CSSStyleRule\0\0\x01\x0CCSSStyleRule\x01\0\x01\x05style\x01\x05style\0\0\x02\rCSSStyleSheet\x1F__widl_instanceof_CSSStyleSheet\0\0\0\0\"__widl_f_delete_rule_CSSStyleSheet\x01\0\x01\rCSSStyleSheet\x01\0\0\x01\ndeleteRule\0\0\0\"__widl_f_insert_rule_CSSStyleSheet\x01\0\x01\rCSSStyleSheet\x01\0\0\x01\ninsertRule\0\0\0-__widl_f_insert_rule_with_index_CSSStyleSheet\x01\0\x01\rCSSStyleSheet\x01\0\0\x01\ninsertRule\0\0\0!__widl_f_owner_rule_CSSStyleSheet\0\0\x01\rCSSStyleSheet\x01\0\x01\townerRule\x01\townerRule\0\0\0 __widl_f_css_rules_CSSStyleSheet\x01\0\x01\rCSSStyleSheet\x01\0\x01\x08cssRules\x01\x08cssRules\0\0\x02\x0FCSSSupportsRule!__widl_instanceof_CSSSupportsRule\0\0\0\x02\rCSSTransition\x1F__widl_instanceof_CSSTransition\0\0\0\0*__widl_f_transition_property_CSSTransition\0\0\x01\rCSSTransition\x01\0\x01\x12transitionProperty\x01\x12transitionProperty\0\0\x02\x05Cache\x17__widl_instanceof_Cache\0\0\0\0\x1F__widl_f_add_with_request_Cache\0\0\x01\x05Cache\x01\0\0\x01\x03add\0\0\0\x1B__widl_f_add_with_str_Cache\0\0\x01\x05Cache\x01\0\0\x01\x03add\0\0\0\"__widl_f_delete_with_request_Cache\0\0\x01\x05Cache\x01\0\0\x01\x06delete\0\0\0\x1E__widl_f_delete_with_str_Cache\0\0\x01\x05Cache\x01\0\0\x01\x06delete\0\0\0.__widl_f_delete_with_request_and_options_Cache\0\0\x01\x05Cache\x01\0\0\x01\x06delete\0\0\0*__widl_f_delete_with_str_and_options_Cache\0\0\x01\x05Cache\x01\0\0\x01\x06delete\0\0\0\x13__widl_f_keys_Cache\0\0\x01\x05Cache\x01\0\0\x01\x04keys\0\0\0 __widl_f_keys_with_request_Cache\0\0\x01\x05Cache\x01\0\0\x01\x04keys\0\0\0\x1C__widl_f_keys_with_str_Cache\0\0\x01\x05Cache\x01\0\0\x01\x04keys\0\0\0,__widl_f_keys_with_request_and_options_Cache\0\0\x01\x05Cache\x01\0\0\x01\x04keys\0\0\0(__widl_f_keys_with_str_and_options_Cache\0\0\x01\x05Cache\x01\0\0\x01\x04keys\0\0\0!__widl_f_match_with_request_Cache\0\0\x01\x05Cache\x01\0\0\x01\x05match\0\0\0\x1D__widl_f_match_with_str_Cache\0\0\x01\x05Cache\x01\0\0\x01\x05match\0\0\0-__widl_f_match_with_request_and_options_Cache\0\0\x01\x05Cache\x01\0\0\x01\x05match\0\0\0)__widl_f_match_with_str_and_options_Cache\0\0\x01\x05Cache\x01\0\0\x01\x05match\0\0\0\x18__widl_f_match_all_Cache\0\0\x01\x05Cache\x01\0\0\x01\x08matchAll\0\0\0%__widl_f_match_all_with_request_Cache\0\0\x01\x05Cache\x01\0\0\x01\x08matchAll\0\0\0!__widl_f_match_all_with_str_Cache\0\0\x01\x05Cache\x01\0\0\x01\x08matchAll\0\0\01__widl_f_match_all_with_request_and_options_Cache\0\0\x01\x05Cache\x01\0\0\x01\x08matchAll\0\0\0-__widl_f_match_all_with_str_and_options_Cache\0\0\x01\x05Cache\x01\0\0\x01\x08matchAll\0\0\0\x1F__widl_f_put_with_request_Cache\0\0\x01\x05Cache\x01\0\0\x01\x03put\0\0\0\x1B__widl_f_put_with_str_Cache\0\0\x01\x05Cache\x01\0\0\x01\x03put\0\0\x02\x0CCacheStorage\x1E__widl_instanceof_CacheStorage\0\0\0\0\x1C__widl_f_delete_CacheStorage\0\0\x01\x0CCacheStorage\x01\0\0\x01\x06delete\0\0\0\x19__widl_f_has_CacheStorage\0\0\x01\x0CCacheStorage\x01\0\0\x01\x03has\0\0\0\x1A__widl_f_keys_CacheStorage\0\0\x01\x0CCacheStorage\x01\0\0\x01\x04keys\0\0\0(__widl_f_match_with_request_CacheStorage\0\0\x01\x0CCacheStorage\x01\0\0\x01\x05match\0\0\0$__widl_f_match_with_str_CacheStorage\0\0\x01\x0CCacheStorage\x01\0\0\x01\x05match\0\0\04__widl_f_match_with_request_and_options_CacheStorage\0\0\x01\x0CCacheStorage\x01\0\0\x01\x05match\0\0\00__widl_f_match_with_str_and_options_CacheStorage\0\0\x01\x0CCacheStorage\x01\0\0\x01\x05match\0\0\0\x1A__widl_f_open_CacheStorage\0\0\x01\x0CCacheStorage\x01\0\0\x01\x04open\0\0\x02\x18CanvasCaptureMediaStream*__widl_instanceof_CanvasCaptureMediaStream\0\0\0\0/__widl_f_request_frame_CanvasCaptureMediaStream\0\0\x01\x18CanvasCaptureMediaStream\x01\0\0\x01\x0CrequestFrame\0\0\0(__widl_f_canvas_CanvasCaptureMediaStream\0\0\x01\x18CanvasCaptureMediaStream\x01\0\x01\x06canvas\x01\x06canvas\0\0\x02\x0ECanvasGradient __widl_instanceof_CanvasGradient\0\0\0\0&__widl_f_add_color_stop_CanvasGradient\x01\0\x01\x0ECanvasGradient\x01\0\0\x01\x0CaddColorStop\0\0\x02\rCanvasPattern\x1F__widl_instanceof_CanvasPattern\0\0\0\0$__widl_f_set_transform_CanvasPattern\0\0\x01\rCanvasPattern\x01\0\0\x01\x0CsetTransform\0\0\x02\x18CanvasRenderingContext2D*__widl_instanceof_CanvasRenderingContext2D\0\0\0\0-__widl_f_draw_window_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\ndrawWindow\0\0\08__widl_f_draw_window_with_flags_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\ndrawWindow\0\0\0(__widl_f_canvas_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\x06canvas\x01\x06canvas\0\0\0.__widl_f_global_alpha_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\x0BglobalAlpha\x01\x0BglobalAlpha\0\0\02__widl_f_set_global_alpha_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\x0BglobalAlpha\x01\x0BglobalAlpha\0\0\0<__widl_f_global_composite_operation_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\x01\x18globalCompositeOperation\x01\x18globalCompositeOperation\0\0\0@__widl_f_set_global_composite_operation_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\x02\x18globalCompositeOperation\x01\x18globalCompositeOperation\0\0\0D__widl_f_draw_image_with_html_image_element_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0C__widl_f_draw_image_with_svg_image_element_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0E__widl_f_draw_image_with_html_canvas_element_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0D__widl_f_draw_image_with_html_video_element_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0>__widl_f_draw_image_with_image_bitmap_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0R__widl_f_draw_image_with_html_image_element_and_dw_and_dh_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0Q__widl_f_draw_image_with_svg_image_element_and_dw_and_dh_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0S__widl_f_draw_image_with_html_canvas_element_and_dw_and_dh_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0R__widl_f_draw_image_with_html_video_element_and_dw_and_dh_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0L__widl_f_draw_image_with_image_bitmap_and_dw_and_dh_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0n__widl_f_draw_image_with_html_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0m__widl_f_draw_image_with_svg_image_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0o__widl_f_draw_image_with_html_canvas_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0n__widl_f_draw_image_with_html_video_element_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0h__widl_f_draw_image_with_image_bitmap_and_sw_and_sh_and_dx_and_dy_and_dw_and_dh_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tdrawImage\0\0\0,__widl_f_begin_path_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tbeginPath\0\0\0&__widl_f_clip_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x04clip\0\0\0?__widl_f_clip_with_canvas_winding_rule_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x04clip\0\0\03__widl_f_clip_with_path_2d_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x04clip\0\0\0?__widl_f_clip_with_path_2d_and_winding_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x04clip\0\0\0&__widl_f_fill_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x04fill\0\0\0?__widl_f_fill_with_canvas_winding_rule_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x04fill\0\0\03__widl_f_fill_with_path_2d_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x04fill\0\0\0?__widl_f_fill_with_path_2d_and_winding_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x04fill\0\0\0;__widl_f_is_point_in_path_with_f64_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\risPointInPath\0\0\0S__widl_f_is_point_in_path_with_f64_and_canvas_winding_rule_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\risPointInPath\0\0\0G__widl_f_is_point_in_path_with_path_2d_and_f64_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\risPointInPath\0\0\0S__widl_f_is_point_in_path_with_path_2d_and_f64_and_winding_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\risPointInPath\0\0\0A__widl_f_is_point_in_stroke_with_x_and_y_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0FisPointInStroke\0\0\0J__widl_f_is_point_in_stroke_with_path_and_x_and_y_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0FisPointInStroke\0\0\0(__widl_f_stroke_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x06stroke\0\0\02__widl_f_stroke_with_path_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x06stroke\0\0\08__widl_f_create_linear_gradient_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x14createLinearGradient\0\0\0H__widl_f_create_pattern_with_html_image_element_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\rcreatePattern\0\0\0G__widl_f_create_pattern_with_svg_image_element_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\rcreatePattern\0\0\0I__widl_f_create_pattern_with_html_canvas_element_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\rcreatePattern\0\0\0H__widl_f_create_pattern_with_html_video_element_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\rcreatePattern\0\0\0B__widl_f_create_pattern_with_image_bitmap_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\rcreatePattern\0\0\08__widl_f_create_radial_gradient_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x14createRadialGradient\0\0\0.__widl_f_stroke_style_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\x0BstrokeStyle\x01\x0BstrokeStyle\0\0\02__widl_f_set_stroke_style_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\x0BstrokeStyle\x01\x0BstrokeStyle\0\0\0,__widl_f_fill_style_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\tfillStyle\x01\tfillStyle\0\0\00__widl_f_set_fill_style_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\tfillStyle\x01\tfillStyle\0\0\0(__widl_f_filter_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\x06filter\x01\x06filter\0\0\0,__widl_f_set_filter_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\x06filter\x01\x06filter\0\0\00__widl_f_add_hit_region_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0CaddHitRegion\0\0\0=__widl_f_add_hit_region_with_options_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0CaddHitRegion\0\0\03__widl_f_clear_hit_regions_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0FclearHitRegions\0\0\03__widl_f_remove_hit_region_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0FremoveHitRegion\0\0\0B__widl_f_create_image_data_with_sw_and_sh_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0FcreateImageData\0\0\0B__widl_f_create_image_data_with_imagedata_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0FcreateImageData\0\0\00__widl_f_get_image_data_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0CgetImageData\0\0\00__widl_f_put_image_data_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0CputImageData\0\0\0j__widl_f_put_image_data_with_dirty_x_and_dirty_y_and_dirty_width_and_dirty_height_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0CputImageData\0\0\09__widl_f_image_smoothing_enabled_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\x15imageSmoothingEnabled\x01\x15imageSmoothingEnabled\0\0\0=__widl_f_set_image_smoothing_enabled_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\x15imageSmoothingEnabled\x01\x15imageSmoothingEnabled\0\0\0,__widl_f_line_width_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\tlineWidth\x01\tlineWidth\0\0\00__widl_f_set_line_width_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\tlineWidth\x01\tlineWidth\0\0\0*__widl_f_line_cap_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\x07lineCap\x01\x07lineCap\0\0\0.__widl_f_set_line_cap_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\x07lineCap\x01\x07lineCap\0\0\0+__widl_f_line_join_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\x08lineJoin\x01\x08lineJoin\0\0\0/__widl_f_set_line_join_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\x08lineJoin\x01\x08lineJoin\0\0\0-__widl_f_miter_limit_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\nmiterLimit\x01\nmiterLimit\0\0\01__widl_f_set_miter_limit_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\nmiterLimit\x01\nmiterLimit\0\0\02__widl_f_line_dash_offset_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\x0ElineDashOffset\x01\x0ElineDashOffset\0\0\06__widl_f_set_line_dash_offset_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\x0ElineDashOffset\x01\x0ElineDashOffset\0\0\0%__widl_f_arc_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x03arc\0\0\08__widl_f_arc_with_anticlockwise_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x03arc\0\0\0(__widl_f_arc_to_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x05arcTo\0\0\01__widl_f_bezier_curve_to_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\rbezierCurveTo\0\0\0,__widl_f_close_path_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tclosePath\0\0\0)__widl_f_ellipse_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x07ellipse\0\0\0<__widl_f_ellipse_with_anticlockwise_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x07ellipse\0\0\0)__widl_f_line_to_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x06lineTo\0\0\0)__widl_f_move_to_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x06moveTo\0\0\04__widl_f_quadratic_curve_to_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x10quadraticCurveTo\0\0\0&__widl_f_rect_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x04rect\0\0\0,__widl_f_clear_rect_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\tclearRect\0\0\0+__widl_f_fill_rect_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x08fillRect\0\0\0-__widl_f_stroke_rect_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\nstrokeRect\0\0\01__widl_f_shadow_offset_x_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\rshadowOffsetX\x01\rshadowOffsetX\0\0\05__widl_f_set_shadow_offset_x_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\rshadowOffsetX\x01\rshadowOffsetX\0\0\01__widl_f_shadow_offset_y_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\rshadowOffsetY\x01\rshadowOffsetY\0\0\05__widl_f_set_shadow_offset_y_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\rshadowOffsetY\x01\rshadowOffsetY\0\0\0-__widl_f_shadow_blur_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\nshadowBlur\x01\nshadowBlur\0\0\01__widl_f_set_shadow_blur_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\nshadowBlur\x01\nshadowBlur\0\0\0.__widl_f_shadow_color_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\x0BshadowColor\x01\x0BshadowColor\0\0\02__widl_f_set_shadow_color_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\x0BshadowColor\x01\x0BshadowColor\0\0\0)__widl_f_restore_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x07restore\0\0\0&__widl_f_save_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x04save\0\0\0+__widl_f_fill_text_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x08fillText\0\0\0:__widl_f_fill_text_with_max_width_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x08fillText\0\0\0.__widl_f_measure_text_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0BmeasureText\0\0\0-__widl_f_stroke_text_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\nstrokeText\0\0\0<__widl_f_stroke_text_with_max_width_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\nstrokeText\0\0\0&__widl_f_font_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\x04font\x01\x04font\0\0\0*__widl_f_set_font_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\x04font\x01\x04font\0\0\0,__widl_f_text_align_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\ttextAlign\x01\ttextAlign\0\0\00__widl_f_set_text_align_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\ttextAlign\x01\ttextAlign\0\0\0/__widl_f_text_baseline_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x01\x0CtextBaseline\x01\x0CtextBaseline\0\0\03__widl_f_set_text_baseline_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\x02\x0CtextBaseline\x01\x0CtextBaseline\0\0\01__widl_f_reset_transform_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0EresetTransform\0\0\0(__widl_f_rotate_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x06rotate\0\0\0'__widl_f_scale_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x05scale\0\0\0/__widl_f_set_transform_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x0CsetTransform\0\0\0+__widl_f_transform_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\ttransform\0\0\0+__widl_f_translate_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\ttranslate\0\0\08__widl_f_draw_custom_focus_ring_CanvasRenderingContext2D\0\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x13drawCustomFocusRing\0\0\06__widl_f_draw_focus_if_needed_CanvasRenderingContext2D\x01\0\x01\x18CanvasRenderingContext2D\x01\0\0\x01\x11drawFocusIfNeeded\0\0\x02\rCaretPosition\x1F__widl_instanceof_CaretPosition\0\0\0\0&__widl_f_get_client_rect_CaretPosition\0\0\x01\rCaretPosition\x01\0\0\x01\rgetClientRect\0\0\0\"__widl_f_offset_node_CaretPosition\0\0\x01\rCaretPosition\x01\0\x01\noffsetNode\x01\noffsetNode\0\0\0\x1D__widl_f_offset_CaretPosition\0\0\x01\rCaretPosition\x01\0\x01\x06offset\x01\x06offset\0\0\x02\x11ChannelMergerNode#__widl_instanceof_ChannelMergerNode\0\0\0\0\x1E__widl_f_new_ChannelMergerNode\x01\0\x01\x11ChannelMergerNode\0\x01\x03new\0\0\0+__widl_f_new_with_options_ChannelMergerNode\x01\0\x01\x11ChannelMergerNode\0\x01\x03new\0\0\x02\x13ChannelSplitterNode%__widl_instanceof_ChannelSplitterNode\0\0\0\0 __widl_f_new_ChannelSplitterNode\x01\0\x01\x13ChannelSplitterNode\0\x01\x03new\0\0\0-__widl_f_new_with_options_ChannelSplitterNode\x01\0\x01\x13ChannelSplitterNode\0\x01\x03new\0\0\x02\rCharacterData\x1F__widl_instanceof_CharacterData\0\0\0\0\"__widl_f_append_data_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\nappendData\0\0\0\"__widl_f_delete_data_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\ndeleteData\0\0\0\"__widl_f_insert_data_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\ninsertData\0\0\0#__widl_f_replace_data_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceData\0\0\0%__widl_f_substring_data_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\rsubstringData\0\0\0\x1B__widl_f_data_CharacterData\0\0\x01\rCharacterData\x01\0\x01\x04data\x01\x04data\0\0\0\x1F__widl_f_set_data_CharacterData\0\0\x01\rCharacterData\x01\0\x02\x04data\x01\x04data\0\0\0\x1D__widl_f_length_CharacterData\0\0\x01\rCharacterData\x01\0\x01\x06length\x01\x06length\0\0\0&__widl_f_after_with_node_CharacterData\x01\x01\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0(__widl_f_after_with_node_0_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0(__widl_f_after_with_node_1_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0(__widl_f_after_with_node_2_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0(__widl_f_after_with_node_3_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0(__widl_f_after_with_node_4_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0(__widl_f_after_with_node_5_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0(__widl_f_after_with_node_6_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0(__widl_f_after_with_node_7_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0%__widl_f_after_with_str_CharacterData\x01\x01\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_str_0_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_str_1_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_str_2_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_str_3_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_str_4_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_str_5_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_str_6_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_str_7_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x05after\0\0\0'__widl_f_before_with_node_CharacterData\x01\x01\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0)__widl_f_before_with_node_0_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0)__widl_f_before_with_node_1_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0)__widl_f_before_with_node_2_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0)__widl_f_before_with_node_3_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0)__widl_f_before_with_node_4_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0)__widl_f_before_with_node_5_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0)__widl_f_before_with_node_6_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0)__widl_f_before_with_node_7_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0&__widl_f_before_with_str_CharacterData\x01\x01\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_str_0_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_str_1_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_str_2_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_str_3_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_str_4_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_str_5_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_str_6_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_str_7_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x06before\0\0\0\x1D__widl_f_remove_CharacterData\0\0\x01\rCharacterData\x01\0\0\x01\x06remove\0\0\0-__widl_f_replace_with_with_node_CharacterData\x01\x01\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0/__widl_f_replace_with_with_node_0_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0/__widl_f_replace_with_with_node_1_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0/__widl_f_replace_with_with_node_2_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0/__widl_f_replace_with_with_node_3_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0/__widl_f_replace_with_with_node_4_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0/__widl_f_replace_with_with_node_5_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0/__widl_f_replace_with_with_node_6_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0/__widl_f_replace_with_with_node_7_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0,__widl_f_replace_with_with_str_CharacterData\x01\x01\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_str_0_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_str_1_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_str_2_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_str_3_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_str_4_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_str_5_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_str_6_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_str_7_CharacterData\x01\0\x01\rCharacterData\x01\0\0\x01\x0BreplaceWith\0\0\0/__widl_f_previous_element_sibling_CharacterData\0\0\x01\rCharacterData\x01\0\x01\x16previousElementSibling\x01\x16previousElementSibling\0\0\0+__widl_f_next_element_sibling_CharacterData\0\0\x01\rCharacterData\x01\0\x01\x12nextElementSibling\x01\x12nextElementSibling\0\0\x02\x19CheckerboardReportService+__widl_instanceof_CheckerboardReportService\0\0\0\0&__widl_f_new_CheckerboardReportService\x01\0\x01\x19CheckerboardReportService\0\x01\x03new\0\0\07__widl_f_flush_active_reports_CheckerboardReportService\0\0\x01\x19CheckerboardReportService\x01\0\0\x01\x12flushActiveReports\0\0\07__widl_f_is_recording_enabled_CheckerboardReportService\0\0\x01\x19CheckerboardReportService\x01\0\0\x01\x12isRecordingEnabled\0\0\08__widl_f_set_recording_enabled_CheckerboardReportService\0\0\x01\x19CheckerboardReportService\x01\0\0\x01\x13setRecordingEnabled\0\0\x02\x0CChromeWorker\x1E__widl_instanceof_ChromeWorker\0\0\0\0\x19__widl_f_new_ChromeWorker\x01\0\x01\x0CChromeWorker\0\x01\x03new\0\0\x02\x06Client\x18__widl_instanceof_Client\0\0\0\0\x1C__widl_f_post_message_Client\x01\0\x01\x06Client\x01\0\0\x01\x0BpostMessage\0\0\0\x13__widl_f_url_Client\0\0\x01\x06Client\x01\0\x01\x03url\x01\x03url\0\0\0\x1A__widl_f_frame_type_Client\0\0\x01\x06Client\x01\0\x01\tframeType\x01\tframeType\0\0\0\x14__widl_f_type_Client\0\0\x01\x06Client\x01\0\x01\x04type\x01\x04type\0\0\0\x12__widl_f_id_Client\0\0\x01\x06Client\x01\0\x01\x02id\x01\x02id\0\0\x02\x07Clients\x19__widl_instanceof_Clients\0\0\0\0\x16__widl_f_claim_Clients\0\0\x01\x07Clients\x01\0\0\x01\x05claim\0\0\0\x14__widl_f_get_Clients\0\0\x01\x07Clients\x01\0\0\x01\x03get\0\0\0\x1A__widl_f_match_all_Clients\0\0\x01\x07Clients\x01\0\0\x01\x08matchAll\0\0\0'__widl_f_match_all_with_options_Clients\0\0\x01\x07Clients\x01\0\0\x01\x08matchAll\0\0\0\x1C__widl_f_open_window_Clients\0\0\x01\x07Clients\x01\0\0\x01\nopenWindow\0\0\x02\x0EClipboardEvent __widl_instanceof_ClipboardEvent\0\0\0\0\x1B__widl_f_new_ClipboardEvent\x01\0\x01\x0EClipboardEvent\0\x01\x03new\0\0\00__widl_f_new_with_event_init_dict_ClipboardEvent\x01\0\x01\x0EClipboardEvent\0\x01\x03new\0\0\0&__widl_f_clipboard_data_ClipboardEvent\0\0\x01\x0EClipboardEvent\x01\0\x01\rclipboardData\x01\rclipboardData\0\0\x02\nCloseEvent\x1C__widl_instanceof_CloseEvent\0\0\0\0\x17__widl_f_new_CloseEvent\x01\0\x01\nCloseEvent\0\x01\x03new\0\0\0,__widl_f_new_with_event_init_dict_CloseEvent\x01\0\x01\nCloseEvent\0\x01\x03new\0\0\0\x1D__widl_f_was_clean_CloseEvent\0\0\x01\nCloseEvent\x01\0\x01\x08wasClean\x01\x08wasClean\0\0\0\x18__widl_f_code_CloseEvent\0\0\x01\nCloseEvent\x01\0\x01\x04code\x01\x04code\0\0\0\x1A__widl_f_reason_CloseEvent\0\0\x01\nCloseEvent\x01\0\x01\x06reason\x01\x06reason\0\0\x02\x07Comment\x19__widl_instanceof_Comment\0\0\0\0\x14__widl_f_new_Comment\x01\0\x01\x07Comment\0\x01\x03new\0\0\0\x1E__widl_f_new_with_data_Comment\x01\0\x01\x07Comment\0\x01\x03new\0\0\x02\x10CompositionEvent\"__widl_instanceof_CompositionEvent\0\0\0\0\x1D__widl_f_new_CompositionEvent\x01\0\x01\x10CompositionEvent\0\x01\x03new\0\0\02__widl_f_new_with_event_init_dict_CompositionEvent\x01\0\x01\x10CompositionEvent\0\x01\x03new\0\0\00__widl_f_init_composition_event_CompositionEvent\0\0\x01\x10CompositionEvent\x01\0\0\x01\x14initCompositionEvent\0\0\0D__widl_f_init_composition_event_with_can_bubble_arg_CompositionEvent\0\0\x01\x10CompositionEvent\x01\0\0\x01\x14initCompositionEvent\0\0\0W__widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_CompositionEvent\0\0\x01\x10CompositionEvent\x01\0\0\x01\x14initCompositionEvent\0\0\0d__widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_CompositionEvent\0\0\x01\x10CompositionEvent\x01\0\0\x01\x14initCompositionEvent\0\0\0q__widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg_CompositionEvent\0\0\x01\x10CompositionEvent\x01\0\0\x01\x14initCompositionEvent\0\0\0\x80\x01__widl_f_init_composition_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_data_arg_and_locale_arg_CompositionEvent\0\0\x01\x10CompositionEvent\x01\0\0\x01\x14initCompositionEvent\0\0\0\x1E__widl_f_data_CompositionEvent\0\0\x01\x10CompositionEvent\x01\0\x01\x04data\x01\x04data\0\0\0 __widl_f_locale_CompositionEvent\0\0\x01\x10CompositionEvent\x01\0\x01\x06locale\x01\x06locale\0\0\x02\x0FConsoleInstance!__widl_instanceof_ConsoleInstance\0\0\0\x02\x12ConstantSourceNode$__widl_instanceof_ConstantSourceNode\0\0\0\0\x1F__widl_f_new_ConstantSourceNode\x01\0\x01\x12ConstantSourceNode\0\x01\x03new\0\0\0,__widl_f_new_with_options_ConstantSourceNode\x01\0\x01\x12ConstantSourceNode\0\x01\x03new\0\0\0\"__widl_f_offset_ConstantSourceNode\0\0\x01\x12ConstantSourceNode\x01\0\x01\x06offset\x01\x06offset\0\0\0!__widl_f_start_ConstantSourceNode\x01\0\x01\x12ConstantSourceNode\x01\0\0\x01\x05start\0\0\0+__widl_f_start_with_when_ConstantSourceNode\x01\0\x01\x12ConstantSourceNode\x01\0\0\x01\x05start\0\0\0 __widl_f_stop_ConstantSourceNode\x01\0\x01\x12ConstantSourceNode\x01\0\0\x01\x04stop\0\0\0*__widl_f_stop_with_when_ConstantSourceNode\x01\0\x01\x12ConstantSourceNode\x01\0\0\x01\x04stop\0\0\0#__widl_f_onended_ConstantSourceNode\0\0\x01\x12ConstantSourceNode\x01\0\x01\x07onended\x01\x07onended\0\0\0'__widl_f_set_onended_ConstantSourceNode\0\0\x01\x12ConstantSourceNode\x01\0\x02\x07onended\x01\x07onended\0\0\x02\rConvolverNode\x1F__widl_instanceof_ConvolverNode\0\0\0\0\x1A__widl_f_new_ConvolverNode\x01\0\x01\rConvolverNode\0\x01\x03new\0\0\0'__widl_f_new_with_options_ConvolverNode\x01\0\x01\rConvolverNode\0\x01\x03new\0\0\0\x1D__widl_f_buffer_ConvolverNode\0\0\x01\rConvolverNode\x01\0\x01\x06buffer\x01\x06buffer\0\0\0!__widl_f_set_buffer_ConvolverNode\0\0\x01\rConvolverNode\x01\0\x02\x06buffer\x01\x06buffer\0\0\0 __widl_f_normalize_ConvolverNode\0\0\x01\rConvolverNode\x01\0\x01\tnormalize\x01\tnormalize\0\0\0$__widl_f_set_normalize_ConvolverNode\0\0\x01\rConvolverNode\x01\0\x02\tnormalize\x01\tnormalize\0\0\x02\nCredential\x1C__widl_instanceof_Credential\0\0\0\0\x16__widl_f_id_Credential\0\0\x01\nCredential\x01\0\x01\x02id\x01\x02id\0\0\0\x18__widl_f_type_Credential\0\0\x01\nCredential\x01\0\x01\x04type\x01\x04type\0\0\x02\x14CredentialsContainer&__widl_instanceof_CredentialsContainer\0\0\0\0$__widl_f_create_CredentialsContainer\x01\0\x01\x14CredentialsContainer\x01\0\0\x01\x06create\0\0\01__widl_f_create_with_options_CredentialsContainer\x01\0\x01\x14CredentialsContainer\x01\0\0\x01\x06create\0\0\0!__widl_f_get_CredentialsContainer\x01\0\x01\x14CredentialsContainer\x01\0\0\x01\x03get\0\0\0.__widl_f_get_with_options_CredentialsContainer\x01\0\x01\x14CredentialsContainer\x01\0\0\x01\x03get\0\0\03__widl_f_prevent_silent_access_CredentialsContainer\x01\0\x01\x14CredentialsContainer\x01\0\0\x01\x13preventSilentAccess\0\0\0#__widl_f_store_CredentialsContainer\x01\0\x01\x14CredentialsContainer\x01\0\0\x01\x05store\0\0\x02\x06Crypto\x18__widl_instanceof_Crypto\0\0\0\08__widl_f_get_random_values_with_array_buffer_view_Crypto\x01\0\x01\x06Crypto\x01\0\0\x01\x0FgetRandomValues\0\0\0/__widl_f_get_random_values_with_u8_array_Crypto\x01\0\x01\x06Crypto\x01\0\0\x01\x0FgetRandomValues\0\0\0\x16__widl_f_subtle_Crypto\0\0\x01\x06Crypto\x01\0\x01\x06subtle\x01\x06subtle\0\0\x02\tCryptoKey\x1B__widl_instanceof_CryptoKey\0\0\0\0\x17__widl_f_type_CryptoKey\0\0\x01\tCryptoKey\x01\0\x01\x04type\x01\x04type\0\0\0\x1E__widl_f_extractable_CryptoKey\0\0\x01\tCryptoKey\x01\0\x01\x0Bextractable\x01\x0Bextractable\0\0\0\x1C__widl_f_algorithm_CryptoKey\x01\0\x01\tCryptoKey\x01\0\x01\talgorithm\x01\talgorithm\0\0\x02\x15CustomElementRegistry'__widl_instanceof_CustomElementRegistry\0\0\0\0%__widl_f_define_CustomElementRegistry\x01\0\x01\x15CustomElementRegistry\x01\0\0\x01\x06define\0\0\02__widl_f_define_with_options_CustomElementRegistry\x01\0\x01\x15CustomElementRegistry\x01\0\0\x01\x06define\0\0\0\"__widl_f_get_CustomElementRegistry\0\0\x01\x15CustomElementRegistry\x01\0\0\x01\x03get\0\0\0&__widl_f_upgrade_CustomElementRegistry\0\0\x01\x15CustomElementRegistry\x01\0\0\x01\x07upgrade\0\0\0+__widl_f_when_defined_CustomElementRegistry\x01\0\x01\x15CustomElementRegistry\x01\0\0\x01\x0BwhenDefined\0\0\x02\x0BCustomEvent\x1D__widl_instanceof_CustomEvent\0\0\0\0\x18__widl_f_new_CustomEvent\x01\0\x01\x0BCustomEvent\0\x01\x03new\0\0\0-__widl_f_new_with_event_init_dict_CustomEvent\x01\0\x01\x0BCustomEvent\0\x01\x03new\0\0\0&__widl_f_init_custom_event_CustomEvent\0\0\x01\x0BCustomEvent\x01\0\0\x01\x0FinitCustomEvent\0\0\06__widl_f_init_custom_event_with_can_bubble_CustomEvent\0\0\x01\x0BCustomEvent\x01\0\0\x01\x0FinitCustomEvent\0\0\0E__widl_f_init_custom_event_with_can_bubble_and_cancelable_CustomEvent\0\0\x01\x0BCustomEvent\x01\0\0\x01\x0FinitCustomEvent\0\0\0P__widl_f_init_custom_event_with_can_bubble_and_cancelable_and_detail_CustomEvent\0\0\x01\x0BCustomEvent\x01\0\0\x01\x0FinitCustomEvent\0\0\0\x1B__widl_f_detail_CustomEvent\0\0\x01\x0BCustomEvent\x01\0\x01\x06detail\x01\x06detail\0\0\x02\x08DOMError\x1A__widl_instanceof_DOMError\0\0\0\0\x15__widl_f_new_DOMError\x01\0\x01\x08DOMError\0\x01\x03new\0\0\0\"__widl_f_new_with_message_DOMError\x01\0\x01\x08DOMError\0\x01\x03new\0\0\0\x16__widl_f_name_DOMError\0\0\x01\x08DOMError\x01\0\x01\x04name\x01\x04name\0\0\0\x19__widl_f_message_DOMError\0\0\x01\x08DOMError\x01\0\x01\x07message\x01\x07message\0\0\x02\x0CDOMException\x1E__widl_instanceof_DOMException\0\0\0\0\x19__widl_f_new_DOMException\x01\0\x01\x0CDOMException\0\x01\x03new\0\0\0&__widl_f_new_with_message_DOMException\x01\0\x01\x0CDOMException\0\x01\x03new\0\0\0/__widl_f_new_with_message_and_name_DOMException\x01\0\x01\x0CDOMException\0\x01\x03new\0\0\0\x1A__widl_f_name_DOMException\0\0\x01\x0CDOMException\x01\0\x01\x04name\x01\x04name\0\0\0\x1D__widl_f_message_DOMException\0\0\x01\x0CDOMException\x01\0\x01\x07message\x01\x07message\0\0\0\x1A__widl_f_code_DOMException\0\0\x01\x0CDOMException\x01\0\x01\x04code\x01\x04code\0\0\0\x1C__widl_f_result_DOMException\0\0\x01\x0CDOMException\x01\0\x01\x06result\x01\x06result\0\0\0\x1E__widl_f_filename_DOMException\0\0\x01\x0CDOMException\x01\0\x01\x08filename\x01\x08filename\0\0\0!__widl_f_line_number_DOMException\0\0\x01\x0CDOMException\x01\0\x01\nlineNumber\x01\nlineNumber\0\0\0#__widl_f_column_number_DOMException\0\0\x01\x0CDOMException\x01\0\x01\x0CcolumnNumber\x01\x0CcolumnNumber\0\0\0\x1A__widl_f_data_DOMException\0\0\x01\x0CDOMException\x01\0\x01\x04data\x01\x04data\0\0\0\x1B__widl_f_stack_DOMException\0\0\x01\x0CDOMException\x01\0\x01\x05stack\x01\x05stack\0\0\x02\x11DOMImplementation#__widl_instanceof_DOMImplementation\0\0\0\0*__widl_f_create_document_DOMImplementation\x01\0\x01\x11DOMImplementation\x01\0\0\x01\x0EcreateDocument\0\0\07__widl_f_create_document_with_doctype_DOMImplementation\x01\0\x01\x11DOMImplementation\x01\0\0\x01\x0EcreateDocument\0\0\0/__widl_f_create_document_type_DOMImplementation\x01\0\x01\x11DOMImplementation\x01\0\0\x01\x12createDocumentType\0\0\0/__widl_f_create_html_document_DOMImplementation\x01\0\x01\x11DOMImplementation\x01\0\0\x01\x12createHTMLDocument\0\0\0:__widl_f_create_html_document_with_title_DOMImplementation\x01\0\x01\x11DOMImplementation\x01\0\0\x01\x12createHTMLDocument\0\0\0&__widl_f_has_feature_DOMImplementation\0\0\x01\x11DOMImplementation\x01\0\0\x01\nhasFeature\0\0\x02\tDOMMatrix\x1B__widl_instanceof_DOMMatrix\0\0\0\0\x16__widl_f_new_DOMMatrix\x01\0\x01\tDOMMatrix\0\x01\x03new\0\0\0*__widl_f_new_with_transform_list_DOMMatrix\x01\0\x01\tDOMMatrix\0\x01\x03new\0\0\0!__widl_f_new_with_other_DOMMatrix\x01\0\x01\tDOMMatrix\0\x01\x03new\0\0\0#__widl_f_new_with_array32_DOMMatrix\x01\0\x01\tDOMMatrix\0\x01\x03new\0\0\0#__widl_f_new_with_array64_DOMMatrix\x01\0\x01\tDOMMatrix\0\x01\x03new\0\0\0\x1E__widl_f_invert_self_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\ninvertSelf\0\0\0 __widl_f_multiply_self_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x0CmultiplySelf\0\0\0$__widl_f_pre_multiply_self_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x0FpreMultiplySelf\0\0\0)__widl_f_rotate_axis_angle_self_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x13rotateAxisAngleSelf\0\0\0*__widl_f_rotate_from_vector_self_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x14rotateFromVectorSelf\0\0\0\x1E__widl_f_rotate_self_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\nrotateSelf\0\0\0,__widl_f_rotate_self_with_origin_x_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\nrotateSelf\0\0\09__widl_f_rotate_self_with_origin_x_and_origin_y_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\nrotateSelf\0\0\0\x1F__widl_f_scale3d_self_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x0Bscale3dSelf\0\0\0-__widl_f_scale3d_self_with_origin_x_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x0Bscale3dSelf\0\0\0:__widl_f_scale3d_self_with_origin_x_and_origin_y_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x0Bscale3dSelf\0\0\0G__widl_f_scale3d_self_with_origin_x_and_origin_y_and_origin_z_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x0Bscale3dSelf\0\0\0)__widl_f_scale_non_uniform_self_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x13scaleNonUniformSelf\0\0\06__widl_f_scale_non_uniform_self_with_scale_y_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x13scaleNonUniformSelf\0\0\0B__widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x13scaleNonUniformSelf\0\0\0O__widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x13scaleNonUniformSelf\0\0\0\\__widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x13scaleNonUniformSelf\0\0\0i__widl_f_scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\x13scaleNonUniformSelf\0\0\0\x1D__widl_f_scale_self_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\tscaleSelf\0\0\0+__widl_f_scale_self_with_origin_x_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\tscaleSelf\0\0\08__widl_f_scale_self_with_origin_x_and_origin_y_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\tscaleSelf\0\0\0#__widl_f_set_matrix_value_DOMMatrix\x01\0\x01\tDOMMatrix\x01\0\0\x01\x0EsetMatrixValue\0\0\0\x1E__widl_f_skew_x_self_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\tskewXSelf\0\0\0\x1E__widl_f_skew_y_self_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\tskewYSelf\0\0\0!__widl_f_translate_self_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\rtranslateSelf\0\0\0)__widl_f_translate_self_with_tz_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\0\x01\rtranslateSelf\0\0\0\x14__widl_f_a_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x01a\x01\x01a\0\0\0\x18__widl_f_set_a_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x01a\x01\x01a\0\0\0\x14__widl_f_b_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x01b\x01\x01b\0\0\0\x18__widl_f_set_b_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x01b\x01\x01b\0\0\0\x14__widl_f_c_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x01c\x01\x01c\0\0\0\x18__widl_f_set_c_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x01c\x01\x01c\0\0\0\x14__widl_f_d_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x01d\x01\x01d\0\0\0\x18__widl_f_set_d_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x01d\x01\x01d\0\0\0\x14__widl_f_e_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x01e\x01\x01e\0\0\0\x18__widl_f_set_e_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x01e\x01\x01e\0\0\0\x14__widl_f_f_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x01f\x01\x01f\0\0\0\x18__widl_f_set_f_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x01f\x01\x01f\0\0\0\x16__widl_f_m11_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m11\x01\x03m11\0\0\0\x1A__widl_f_set_m11_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m11\x01\x03m11\0\0\0\x16__widl_f_m12_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m12\x01\x03m12\0\0\0\x1A__widl_f_set_m12_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m12\x01\x03m12\0\0\0\x16__widl_f_m13_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m13\x01\x03m13\0\0\0\x1A__widl_f_set_m13_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m13\x01\x03m13\0\0\0\x16__widl_f_m14_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m14\x01\x03m14\0\0\0\x1A__widl_f_set_m14_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m14\x01\x03m14\0\0\0\x16__widl_f_m21_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m21\x01\x03m21\0\0\0\x1A__widl_f_set_m21_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m21\x01\x03m21\0\0\0\x16__widl_f_m22_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m22\x01\x03m22\0\0\0\x1A__widl_f_set_m22_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m22\x01\x03m22\0\0\0\x16__widl_f_m23_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m23\x01\x03m23\0\0\0\x1A__widl_f_set_m23_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m23\x01\x03m23\0\0\0\x16__widl_f_m24_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m24\x01\x03m24\0\0\0\x1A__widl_f_set_m24_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m24\x01\x03m24\0\0\0\x16__widl_f_m31_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m31\x01\x03m31\0\0\0\x1A__widl_f_set_m31_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m31\x01\x03m31\0\0\0\x16__widl_f_m32_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m32\x01\x03m32\0\0\0\x1A__widl_f_set_m32_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m32\x01\x03m32\0\0\0\x16__widl_f_m33_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m33\x01\x03m33\0\0\0\x1A__widl_f_set_m33_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m33\x01\x03m33\0\0\0\x16__widl_f_m34_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m34\x01\x03m34\0\0\0\x1A__widl_f_set_m34_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m34\x01\x03m34\0\0\0\x16__widl_f_m41_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m41\x01\x03m41\0\0\0\x1A__widl_f_set_m41_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m41\x01\x03m41\0\0\0\x16__widl_f_m42_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m42\x01\x03m42\0\0\0\x1A__widl_f_set_m42_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m42\x01\x03m42\0\0\0\x16__widl_f_m43_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m43\x01\x03m43\0\0\0\x1A__widl_f_set_m43_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m43\x01\x03m43\0\0\0\x16__widl_f_m44_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x01\x03m44\x01\x03m44\0\0\0\x1A__widl_f_set_m44_DOMMatrix\0\0\x01\tDOMMatrix\x01\0\x02\x03m44\x01\x03m44\0\0\x02\x11DOMMatrixReadOnly#__widl_instanceof_DOMMatrixReadOnly\0\0\0\0\x1E__widl_f_new_DOMMatrixReadOnly\x01\0\x01\x11DOMMatrixReadOnly\0\x01\x03new\0\0\0'__widl_f_new_with_str_DOMMatrixReadOnly\x01\0\x01\x11DOMMatrixReadOnly\0\x01\x03new\0\0\0!__widl_f_flip_x_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x05flipX\0\0\0!__widl_f_flip_y_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x05flipY\0\0\0\"__widl_f_inverse_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x07inverse\0\0\0#__widl_f_multiply_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x08multiply\0\0\0!__widl_f_rotate_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x06rotate\0\0\0/__widl_f_rotate_with_origin_x_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x06rotate\0\0\0<__widl_f_rotate_with_origin_x_and_origin_y_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x06rotate\0\0\0,__widl_f_rotate_axis_angle_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x0FrotateAxisAngle\0\0\0-__widl_f_rotate_from_vector_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x10rotateFromVector\0\0\0 __widl_f_scale_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x05scale\0\0\0.__widl_f_scale_with_origin_x_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x05scale\0\0\0;__widl_f_scale_with_origin_x_and_origin_y_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x05scale\0\0\0\"__widl_f_scale3d_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x07scale3d\0\0\00__widl_f_scale3d_with_origin_x_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x07scale3d\0\0\0=__widl_f_scale3d_with_origin_x_and_origin_y_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x07scale3d\0\0\0J__widl_f_scale3d_with_origin_x_and_origin_y_and_origin_z_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x07scale3d\0\0\0,__widl_f_scale_non_uniform_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x0FscaleNonUniform\0\0\09__widl_f_scale_non_uniform_with_scale_y_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x0FscaleNonUniform\0\0\0E__widl_f_scale_non_uniform_with_scale_y_and_scale_z_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x0FscaleNonUniform\0\0\0R__widl_f_scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x0FscaleNonUniform\0\0\0___widl_f_scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x0FscaleNonUniform\0\0\0l__widl_f_scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x0FscaleNonUniform\0\0\0!__widl_f_skew_x_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x05skewX\0\0\0!__widl_f_skew_y_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x05skewY\0\0\0+__widl_f_to_float32_array_DOMMatrixReadOnly\x01\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x0EtoFloat32Array\0\0\0+__widl_f_to_float64_array_DOMMatrixReadOnly\x01\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x0EtoFloat64Array\0\0\0\"__widl_f_to_json_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x06toJSON\0\0\0*__widl_f_transform_point_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x0EtransformPoint\0\0\05__widl_f_transform_point_with_point_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\x0EtransformPoint\0\0\0$__widl_f_translate_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\ttranslate\0\0\0,__widl_f_translate_with_tz_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\0\x01\ttranslate\0\0\0\x1C__widl_f_a_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x01a\x01\x01a\0\0\0\x1C__widl_f_b_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x01b\x01\x01b\0\0\0\x1C__widl_f_c_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x01c\x01\x01c\0\0\0\x1C__widl_f_d_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x01d\x01\x01d\0\0\0\x1C__widl_f_e_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x01e\x01\x01e\0\0\0\x1C__widl_f_f_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x01f\x01\x01f\0\0\0\x1E__widl_f_m11_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m11\x01\x03m11\0\0\0\x1E__widl_f_m12_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m12\x01\x03m12\0\0\0\x1E__widl_f_m13_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m13\x01\x03m13\0\0\0\x1E__widl_f_m14_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m14\x01\x03m14\0\0\0\x1E__widl_f_m21_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m21\x01\x03m21\0\0\0\x1E__widl_f_m22_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m22\x01\x03m22\0\0\0\x1E__widl_f_m23_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m23\x01\x03m23\0\0\0\x1E__widl_f_m24_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m24\x01\x03m24\0\0\0\x1E__widl_f_m31_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m31\x01\x03m31\0\0\0\x1E__widl_f_m32_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m32\x01\x03m32\0\0\0\x1E__widl_f_m33_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m33\x01\x03m33\0\0\0\x1E__widl_f_m34_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m34\x01\x03m34\0\0\0\x1E__widl_f_m41_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m41\x01\x03m41\0\0\0\x1E__widl_f_m42_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m42\x01\x03m42\0\0\0\x1E__widl_f_m43_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m43\x01\x03m43\0\0\0\x1E__widl_f_m44_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x03m44\x01\x03m44\0\0\0 __widl_f_is_2d_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\x04is2D\x01\x04is2D\0\0\0&__widl_f_is_identity_DOMMatrixReadOnly\0\0\x01\x11DOMMatrixReadOnly\x01\0\x01\nisIdentity\x01\nisIdentity\0\0\x02\tDOMParser\x1B__widl_instanceof_DOMParser\0\0\0\0\x16__widl_f_new_DOMParser\x01\0\x01\tDOMParser\0\x01\x03new\0\0\0$__widl_f_parse_from_string_DOMParser\x01\0\x01\tDOMParser\x01\0\0\x01\x0FparseFromString\0\0\x02\x08DOMPoint\x1A__widl_instanceof_DOMPoint\0\0\0\0\x15__widl_f_new_DOMPoint\x01\0\x01\x08DOMPoint\0\x01\x03new\0\0\0\x1C__widl_f_new_with_x_DOMPoint\x01\0\x01\x08DOMPoint\0\x01\x03new\0\0\0\"__widl_f_new_with_x_and_y_DOMPoint\x01\0\x01\x08DOMPoint\0\x01\x03new\0\0\0(__widl_f_new_with_x_and_y_and_z_DOMPoint\x01\0\x01\x08DOMPoint\0\x01\x03new\0\0\0.__widl_f_new_with_x_and_y_and_z_and_w_DOMPoint\x01\0\x01\x08DOMPoint\0\x01\x03new\0\0\0\x1C__widl_f_from_point_DOMPoint\0\0\x01\x08DOMPoint\x01\x01\0\x01\tfromPoint\0\0\0'__widl_f_from_point_with_other_DOMPoint\0\0\x01\x08DOMPoint\x01\x01\0\x01\tfromPoint\0\0\0\x13__widl_f_x_DOMPoint\0\0\x01\x08DOMPoint\x01\0\x01\x01x\x01\x01x\0\0\0\x17__widl_f_set_x_DOMPoint\0\0\x01\x08DOMPoint\x01\0\x02\x01x\x01\x01x\0\0\0\x13__widl_f_y_DOMPoint\0\0\x01\x08DOMPoint\x01\0\x01\x01y\x01\x01y\0\0\0\x17__widl_f_set_y_DOMPoint\0\0\x01\x08DOMPoint\x01\0\x02\x01y\x01\x01y\0\0\0\x13__widl_f_z_DOMPoint\0\0\x01\x08DOMPoint\x01\0\x01\x01z\x01\x01z\0\0\0\x17__widl_f_set_z_DOMPoint\0\0\x01\x08DOMPoint\x01\0\x02\x01z\x01\x01z\0\0\0\x13__widl_f_w_DOMPoint\0\0\x01\x08DOMPoint\x01\0\x01\x01w\x01\x01w\0\0\0\x17__widl_f_set_w_DOMPoint\0\0\x01\x08DOMPoint\x01\0\x02\x01w\x01\x01w\0\0\x02\x10DOMPointReadOnly\"__widl_instanceof_DOMPointReadOnly\0\0\0\0\x1D__widl_f_new_DOMPointReadOnly\x01\0\x01\x10DOMPointReadOnly\0\x01\x03new\0\0\0$__widl_f_new_with_x_DOMPointReadOnly\x01\0\x01\x10DOMPointReadOnly\0\x01\x03new\0\0\0*__widl_f_new_with_x_and_y_DOMPointReadOnly\x01\0\x01\x10DOMPointReadOnly\0\x01\x03new\0\0\00__widl_f_new_with_x_and_y_and_z_DOMPointReadOnly\x01\0\x01\x10DOMPointReadOnly\0\x01\x03new\0\0\06__widl_f_new_with_x_and_y_and_z_and_w_DOMPointReadOnly\x01\0\x01\x10DOMPointReadOnly\0\x01\x03new\0\0\0$__widl_f_from_point_DOMPointReadOnly\0\0\x01\x10DOMPointReadOnly\x01\x01\0\x01\tfromPoint\0\0\0/__widl_f_from_point_with_other_DOMPointReadOnly\0\0\x01\x10DOMPointReadOnly\x01\x01\0\x01\tfromPoint\0\0\0!__widl_f_to_json_DOMPointReadOnly\0\0\x01\x10DOMPointReadOnly\x01\0\0\x01\x06toJSON\0\0\0\x1B__widl_f_x_DOMPointReadOnly\0\0\x01\x10DOMPointReadOnly\x01\0\x01\x01x\x01\x01x\0\0\0\x1B__widl_f_y_DOMPointReadOnly\0\0\x01\x10DOMPointReadOnly\x01\0\x01\x01y\x01\x01y\0\0\0\x1B__widl_f_z_DOMPointReadOnly\0\0\x01\x10DOMPointReadOnly\x01\0\x01\x01z\x01\x01z\0\0\0\x1B__widl_f_w_DOMPointReadOnly\0\0\x01\x10DOMPointReadOnly\x01\0\x01\x01w\x01\x01w\0\0\x02\x07DOMQuad\x19__widl_instanceof_DOMQuad\0\0\0\0\x14__widl_f_new_DOMQuad\x01\0\x01\x07DOMQuad\0\x01\x03new\0\0\0(__widl_f_new_with_dom_point_init_DOMQuad\x01\0\x01\x07DOMQuad\0\x01\x03new\0\0\0/__widl_f_new_with_dom_point_init_and_p2_DOMQuad\x01\0\x01\x07DOMQuad\0\x01\x03new\0\0\06__widl_f_new_with_dom_point_init_and_p2_and_p3_DOMQuad\x01\0\x01\x07DOMQuad\0\x01\x03new\0\0\0=__widl_f_new_with_dom_point_init_and_p2_and_p3_and_p4_DOMQuad\x01\0\x01\x07DOMQuad\0\x01\x03new\0\0\0\x1E__widl_f_new_with_rect_DOMQuad\x01\0\x01\x07DOMQuad\0\x01\x03new\0\0\0\x1B__widl_f_get_bounds_DOMQuad\0\0\x01\x07DOMQuad\x01\0\0\x01\tgetBounds\0\0\0\x18__widl_f_to_json_DOMQuad\0\0\x01\x07DOMQuad\x01\0\0\x01\x06toJSON\0\0\0\x13__widl_f_p1_DOMQuad\0\0\x01\x07DOMQuad\x01\0\x01\x02p1\x01\x02p1\0\0\0\x13__widl_f_p2_DOMQuad\0\0\x01\x07DOMQuad\x01\0\x01\x02p2\x01\x02p2\0\0\0\x13__widl_f_p3_DOMQuad\0\0\x01\x07DOMQuad\x01\0\x01\x02p3\x01\x02p3\0\0\0\x13__widl_f_p4_DOMQuad\0\0\x01\x07DOMQuad\x01\0\x01\x02p4\x01\x02p4\0\0\0\x17__widl_f_bounds_DOMQuad\0\0\x01\x07DOMQuad\x01\0\x01\x06bounds\x01\x06bounds\0\0\x02\x07DOMRect\x19__widl_instanceof_DOMRect\0\0\0\0\x14__widl_f_new_DOMRect\x01\0\x01\x07DOMRect\0\x01\x03new\0\0\0\x1B__widl_f_new_with_x_DOMRect\x01\0\x01\x07DOMRect\0\x01\x03new\0\0\0!__widl_f_new_with_x_and_y_DOMRect\x01\0\x01\x07DOMRect\0\x01\x03new\0\0\0+__widl_f_new_with_x_and_y_and_width_DOMRect\x01\0\x01\x07DOMRect\0\x01\x03new\0\0\06__widl_f_new_with_x_and_y_and_width_and_height_DOMRect\x01\0\x01\x07DOMRect\0\x01\x03new\0\0\0\x12__widl_f_x_DOMRect\0\0\x01\x07DOMRect\x01\0\x01\x01x\x01\x01x\0\0\0\x16__widl_f_set_x_DOMRect\0\0\x01\x07DOMRect\x01\0\x02\x01x\x01\x01x\0\0\0\x12__widl_f_y_DOMRect\0\0\x01\x07DOMRect\x01\0\x01\x01y\x01\x01y\0\0\0\x16__widl_f_set_y_DOMRect\0\0\x01\x07DOMRect\x01\0\x02\x01y\x01\x01y\0\0\0\x16__widl_f_width_DOMRect\0\0\x01\x07DOMRect\x01\0\x01\x05width\x01\x05width\0\0\0\x1A__widl_f_set_width_DOMRect\0\0\x01\x07DOMRect\x01\0\x02\x05width\x01\x05width\0\0\0\x17__widl_f_height_DOMRect\0\0\x01\x07DOMRect\x01\0\x01\x06height\x01\x06height\0\0\0\x1B__widl_f_set_height_DOMRect\0\0\x01\x07DOMRect\x01\0\x02\x06height\x01\x06height\0\0\x02\x0BDOMRectList\x1D__widl_instanceof_DOMRectList\0\0\0\0\x19__widl_f_item_DOMRectList\0\0\x01\x0BDOMRectList\x01\0\0\x01\x04item\0\0\0\x18__widl_f_get_DOMRectList\0\0\x01\x0BDOMRectList\x01\0\x03\x01\x03get\0\0\0\x1B__widl_f_length_DOMRectList\0\0\x01\x0BDOMRectList\x01\0\x01\x06length\x01\x06length\0\0\x02\x0FDOMRectReadOnly!__widl_instanceof_DOMRectReadOnly\0\0\0\0\x1C__widl_f_new_DOMRectReadOnly\x01\0\x01\x0FDOMRectReadOnly\0\x01\x03new\0\0\0#__widl_f_new_with_x_DOMRectReadOnly\x01\0\x01\x0FDOMRectReadOnly\0\x01\x03new\0\0\0)__widl_f_new_with_x_and_y_DOMRectReadOnly\x01\0\x01\x0FDOMRectReadOnly\0\x01\x03new\0\0\03__widl_f_new_with_x_and_y_and_width_DOMRectReadOnly\x01\0\x01\x0FDOMRectReadOnly\0\x01\x03new\0\0\0>__widl_f_new_with_x_and_y_and_width_and_height_DOMRectReadOnly\x01\0\x01\x0FDOMRectReadOnly\0\x01\x03new\0\0\0 __widl_f_to_json_DOMRectReadOnly\0\0\x01\x0FDOMRectReadOnly\x01\0\0\x01\x06toJSON\0\0\0\x1A__widl_f_x_DOMRectReadOnly\0\0\x01\x0FDOMRectReadOnly\x01\0\x01\x01x\x01\x01x\0\0\0\x1A__widl_f_y_DOMRectReadOnly\0\0\x01\x0FDOMRectReadOnly\x01\0\x01\x01y\x01\x01y\0\0\0\x1E__widl_f_width_DOMRectReadOnly\0\0\x01\x0FDOMRectReadOnly\x01\0\x01\x05width\x01\x05width\0\0\0\x1F__widl_f_height_DOMRectReadOnly\0\0\x01\x0FDOMRectReadOnly\x01\0\x01\x06height\x01\x06height\0\0\0\x1C__widl_f_top_DOMRectReadOnly\0\0\x01\x0FDOMRectReadOnly\x01\0\x01\x03top\x01\x03top\0\0\0\x1E__widl_f_right_DOMRectReadOnly\0\0\x01\x0FDOMRectReadOnly\x01\0\x01\x05right\x01\x05right\0\0\0\x1F__widl_f_bottom_DOMRectReadOnly\0\0\x01\x0FDOMRectReadOnly\x01\0\x01\x06bottom\x01\x06bottom\0\0\0\x1D__widl_f_left_DOMRectReadOnly\0\0\x01\x0FDOMRectReadOnly\x01\0\x01\x04left\x01\x04left\0\0\x02\nDOMRequest\x1C__widl_instanceof_DOMRequest\0\0\0\0\x18__widl_f_then_DOMRequest\x01\0\x01\nDOMRequest\x01\0\0\x01\x04then\0\0\0.__widl_f_then_with_fulfill_callback_DOMRequest\x01\0\x01\nDOMRequest\x01\0\0\x01\x04then\0\0\0B__widl_f_then_with_fulfill_callback_and_reject_callback_DOMRequest\x01\0\x01\nDOMRequest\x01\0\0\x01\x04then\0\0\0\x1F__widl_f_ready_state_DOMRequest\0\0\x01\nDOMRequest\x01\0\x01\nreadyState\x01\nreadyState\0\0\0\x1A__widl_f_result_DOMRequest\0\0\x01\nDOMRequest\x01\0\x01\x06result\x01\x06result\0\0\0\x19__widl_f_error_DOMRequest\0\0\x01\nDOMRequest\x01\0\x01\x05error\x01\x05error\0\0\0\x1D__widl_f_onsuccess_DOMRequest\0\0\x01\nDOMRequest\x01\0\x01\tonsuccess\x01\tonsuccess\0\0\0!__widl_f_set_onsuccess_DOMRequest\0\0\x01\nDOMRequest\x01\0\x02\tonsuccess\x01\tonsuccess\0\0\0\x1B__widl_f_onerror_DOMRequest\0\0\x01\nDOMRequest\x01\0\x01\x07onerror\x01\x07onerror\0\0\0\x1F__widl_f_set_onerror_DOMRequest\0\0\x01\nDOMRequest\x01\0\x02\x07onerror\x01\x07onerror\0\0\x02\rDOMStringList\x1F__widl_instanceof_DOMStringList\0\0\0\0\x1F__widl_f_contains_DOMStringList\0\0\x01\rDOMStringList\x01\0\0\x01\x08contains\0\0\0\x1B__widl_f_item_DOMStringList\0\0\x01\rDOMStringList\x01\0\0\x01\x04item\0\0\0\x1A__widl_f_get_DOMStringList\0\0\x01\rDOMStringList\x01\0\x03\x01\x03get\0\0\0\x1D__widl_f_length_DOMStringList\0\0\x01\rDOMStringList\x01\0\x01\x06length\x01\x06length\0\0\x02\x0CDOMStringMap\x1E__widl_instanceof_DOMStringMap\0\0\0\0\x19__widl_f_get_DOMStringMap\0\0\x01\x0CDOMStringMap\x01\0\x03\x01\x03get\0\0\0\x19__widl_f_set_DOMStringMap\x01\0\x01\x0CDOMStringMap\x01\0\x04\x01\x03set\0\0\0\x1C__widl_f_delete_DOMStringMap\0\0\x01\x0CDOMStringMap\x01\0\x05\x01\x06delete\0\0\x02\x0CDOMTokenList\x1E__widl_instanceof_DOMTokenList\0\0\0\0\x19__widl_f_add_DOMTokenList\x01\x01\x01\x0CDOMTokenList\x01\0\0\x01\x03add\0\0\0\x1B__widl_f_add_0_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x03add\0\0\0\x1B__widl_f_add_1_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x03add\0\0\0\x1B__widl_f_add_2_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x03add\0\0\0\x1B__widl_f_add_3_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x03add\0\0\0\x1B__widl_f_add_4_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x03add\0\0\0\x1B__widl_f_add_5_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x03add\0\0\0\x1B__widl_f_add_6_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x03add\0\0\0\x1B__widl_f_add_7_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x03add\0\0\0\x1E__widl_f_contains_DOMTokenList\0\0\x01\x0CDOMTokenList\x01\0\0\x01\x08contains\0\0\0\x1A__widl_f_item_DOMTokenList\0\0\x01\x0CDOMTokenList\x01\0\0\x01\x04item\0\0\0\x1C__widl_f_remove_DOMTokenList\x01\x01\x01\x0CDOMTokenList\x01\0\0\x01\x06remove\0\0\0\x1E__widl_f_remove_0_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x06remove\0\0\0\x1E__widl_f_remove_1_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x06remove\0\0\0\x1E__widl_f_remove_2_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x06remove\0\0\0\x1E__widl_f_remove_3_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x06remove\0\0\0\x1E__widl_f_remove_4_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x06remove\0\0\0\x1E__widl_f_remove_5_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x06remove\0\0\0\x1E__widl_f_remove_6_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x06remove\0\0\0\x1E__widl_f_remove_7_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x06remove\0\0\0\x1D__widl_f_replace_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x07replace\0\0\0\x1E__widl_f_supports_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x08supports\0\0\0\x1C__widl_f_toggle_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x06toggle\0\0\0'__widl_f_toggle_with_force_DOMTokenList\x01\0\x01\x0CDOMTokenList\x01\0\0\x01\x06toggle\0\0\0\x19__widl_f_get_DOMTokenList\0\0\x01\x0CDOMTokenList\x01\0\x03\x01\x03get\0\0\0\x1C__widl_f_length_DOMTokenList\0\0\x01\x0CDOMTokenList\x01\0\x01\x06length\x01\x06length\0\0\0\x1B__widl_f_value_DOMTokenList\0\0\x01\x0CDOMTokenList\x01\0\x01\x05value\x01\x05value\0\0\0\x1F__widl_f_set_value_DOMTokenList\0\0\x01\x0CDOMTokenList\x01\0\x02\x05value\x01\x05value\0\0\x02\x0CDataTransfer\x1E__widl_instanceof_DataTransfer\0\0\0\0\x19__widl_f_new_DataTransfer\x01\0\x01\x0CDataTransfer\0\x01\x03new\0\0\0 __widl_f_clear_data_DataTransfer\x01\0\x01\x0CDataTransfer\x01\0\0\x01\tclearData\0\0\0,__widl_f_clear_data_with_format_DataTransfer\x01\0\x01\x0CDataTransfer\x01\0\0\x01\tclearData\0\0\0\x1E__widl_f_get_data_DataTransfer\x01\0\x01\x0CDataTransfer\x01\0\0\x01\x07getData\0\0\0\x1F__widl_f_get_files_DataTransfer\x01\0\x01\x0CDataTransfer\x01\0\0\x01\x08getFiles\0\0\03__widl_f_get_files_with_recursive_flag_DataTransfer\x01\0\x01\x0CDataTransfer\x01\0\0\x01\x08getFiles\0\0\0/__widl_f_get_files_and_directories_DataTransfer\x01\0\x01\x0CDataTransfer\x01\0\0\x01\x16getFilesAndDirectories\0\0\0\x1E__widl_f_set_data_DataTransfer\x01\0\x01\x0CDataTransfer\x01\0\0\x01\x07setData\0\0\0$__widl_f_set_drag_image_DataTransfer\0\0\x01\x0CDataTransfer\x01\0\0\x01\x0CsetDragImage\0\0\0!__widl_f_drop_effect_DataTransfer\0\0\x01\x0CDataTransfer\x01\0\x01\ndropEffect\x01\ndropEffect\0\0\0%__widl_f_set_drop_effect_DataTransfer\0\0\x01\x0CDataTransfer\x01\0\x02\ndropEffect\x01\ndropEffect\0\0\0$__widl_f_effect_allowed_DataTransfer\0\0\x01\x0CDataTransfer\x01\0\x01\reffectAllowed\x01\reffectAllowed\0\0\0(__widl_f_set_effect_allowed_DataTransfer\0\0\x01\x0CDataTransfer\x01\0\x02\reffectAllowed\x01\reffectAllowed\0\0\0\x1B__widl_f_items_DataTransfer\0\0\x01\x0CDataTransfer\x01\0\x01\x05items\x01\x05items\0\0\0\x1B__widl_f_files_DataTransfer\0\0\x01\x0CDataTransfer\x01\0\x01\x05files\x01\x05files\0\0\x02\x10DataTransferItem\"__widl_instanceof_DataTransferItem\0\0\0\0%__widl_f_get_as_file_DataTransferItem\x01\0\x01\x10DataTransferItem\x01\0\0\x01\tgetAsFile\0\0\0'__widl_f_get_as_string_DataTransferItem\x01\0\x01\x10DataTransferItem\x01\0\0\x01\x0BgetAsString\0\0\0-__widl_f_webkit_get_as_entry_DataTransferItem\x01\0\x01\x10DataTransferItem\x01\0\0\x01\x10webkitGetAsEntry\0\0\0\x1E__widl_f_kind_DataTransferItem\0\0\x01\x10DataTransferItem\x01\0\x01\x04kind\x01\x04kind\0\0\0\x1E__widl_f_type_DataTransferItem\0\0\x01\x10DataTransferItem\x01\0\x01\x04type\x01\x04type\0\0\x02\x14DataTransferItemList&__widl_instanceof_DataTransferItemList\0\0\0\03__widl_f_add_with_str_and_type_DataTransferItemList\x01\0\x01\x14DataTransferItemList\x01\0\0\x01\x03add\0\0\0+__widl_f_add_with_file_DataTransferItemList\x01\0\x01\x14DataTransferItemList\x01\0\0\x01\x03add\0\0\0#__widl_f_clear_DataTransferItemList\x01\0\x01\x14DataTransferItemList\x01\0\0\x01\x05clear\0\0\0$__widl_f_remove_DataTransferItemList\x01\0\x01\x14DataTransferItemList\x01\0\0\x01\x06remove\0\0\0!__widl_f_get_DataTransferItemList\0\0\x01\x14DataTransferItemList\x01\0\x03\x01\x03get\0\0\0$__widl_f_length_DataTransferItemList\0\0\x01\x14DataTransferItemList\x01\0\x01\x06length\x01\x06length\0\0\x02\x1ADedicatedWorkerGlobalScope,__widl_instanceof_DedicatedWorkerGlobalScope\0\0\0\0)__widl_f_close_DedicatedWorkerGlobalScope\0\0\x01\x1ADedicatedWorkerGlobalScope\x01\0\0\x01\x05close\0\0\00__widl_f_post_message_DedicatedWorkerGlobalScope\x01\0\x01\x1ADedicatedWorkerGlobalScope\x01\0\0\x01\x0BpostMessage\0\0\0(__widl_f_name_DedicatedWorkerGlobalScope\0\0\x01\x1ADedicatedWorkerGlobalScope\x01\0\x01\x04name\x01\x04name\0\0\0-__widl_f_onmessage_DedicatedWorkerGlobalScope\0\0\x01\x1ADedicatedWorkerGlobalScope\x01\0\x01\tonmessage\x01\tonmessage\0\0\01__widl_f_set_onmessage_DedicatedWorkerGlobalScope\0\0\x01\x1ADedicatedWorkerGlobalScope\x01\0\x02\tonmessage\x01\tonmessage\0\0\02__widl_f_onmessageerror_DedicatedWorkerGlobalScope\0\0\x01\x1ADedicatedWorkerGlobalScope\x01\0\x01\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\06__widl_f_set_onmessageerror_DedicatedWorkerGlobalScope\0\0\x01\x1ADedicatedWorkerGlobalScope\x01\0\x02\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\x02\tDelayNode\x1B__widl_instanceof_DelayNode\0\0\0\0\x16__widl_f_new_DelayNode\x01\0\x01\tDelayNode\0\x01\x03new\0\0\0#__widl_f_new_with_options_DelayNode\x01\0\x01\tDelayNode\0\x01\x03new\0\0\0\x1D__widl_f_delay_time_DelayNode\0\0\x01\tDelayNode\x01\0\x01\tdelayTime\x01\tdelayTime\0\0\x02\x10DeviceLightEvent\"__widl_instanceof_DeviceLightEvent\0\0\0\0\x1D__widl_f_new_DeviceLightEvent\x01\0\x01\x10DeviceLightEvent\0\x01\x03new\0\0\02__widl_f_new_with_event_init_dict_DeviceLightEvent\x01\0\x01\x10DeviceLightEvent\0\x01\x03new\0\0\0\x1F__widl_f_value_DeviceLightEvent\0\0\x01\x10DeviceLightEvent\x01\0\x01\x05value\x01\x05value\0\0\x02\x11DeviceMotionEvent#__widl_instanceof_DeviceMotionEvent\0\0\0\0\x1E__widl_f_new_DeviceMotionEvent\x01\0\x01\x11DeviceMotionEvent\0\x01\x03new\0\0\03__widl_f_new_with_event_init_dict_DeviceMotionEvent\x01\0\x01\x11DeviceMotionEvent\0\x01\x03new\0\0\0#__widl_f_interval_DeviceMotionEvent\0\0\x01\x11DeviceMotionEvent\x01\0\x01\x08interval\x01\x08interval\0\0\x02\x16DeviceOrientationEvent(__widl_instanceof_DeviceOrientationEvent\0\0\0\0#__widl_f_new_DeviceOrientationEvent\x01\0\x01\x16DeviceOrientationEvent\0\x01\x03new\0\0\08__widl_f_new_with_event_init_dict_DeviceOrientationEvent\x01\0\x01\x16DeviceOrientationEvent\0\x01\x03new\0\0\0=__widl_f_init_device_orientation_event_DeviceOrientationEvent\0\0\x01\x16DeviceOrientationEvent\x01\0\0\x01\x1AinitDeviceOrientationEvent\0\0\0M__widl_f_init_device_orientation_event_with_can_bubble_DeviceOrientationEvent\0\0\x01\x16DeviceOrientationEvent\x01\0\0\x01\x1AinitDeviceOrientationEvent\0\0\0\\__widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_DeviceOrientationEvent\0\0\x01\x16DeviceOrientationEvent\x01\0\0\x01\x1AinitDeviceOrientationEvent\0\0\0f__widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_DeviceOrientationEvent\0\0\x01\x16DeviceOrientationEvent\x01\0\0\x01\x1AinitDeviceOrientationEvent\0\0\0o__widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_DeviceOrientationEvent\0\0\x01\x16DeviceOrientationEvent\x01\0\0\x01\x1AinitDeviceOrientationEvent\0\0\0y__widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma_DeviceOrientationEvent\0\0\x01\x16DeviceOrientationEvent\x01\0\0\x01\x1AinitDeviceOrientationEvent\0\0\0\x86\x01__widl_f_init_device_orientation_event_with_can_bubble_and_cancelable_and_alpha_and_beta_and_gamma_and_absolute_DeviceOrientationEvent\0\0\x01\x16DeviceOrientationEvent\x01\0\0\x01\x1AinitDeviceOrientationEvent\0\0\0%__widl_f_alpha_DeviceOrientationEvent\0\0\x01\x16DeviceOrientationEvent\x01\0\x01\x05alpha\x01\x05alpha\0\0\0$__widl_f_beta_DeviceOrientationEvent\0\0\x01\x16DeviceOrientationEvent\x01\0\x01\x04beta\x01\x04beta\0\0\0%__widl_f_gamma_DeviceOrientationEvent\0\0\x01\x16DeviceOrientationEvent\x01\0\x01\x05gamma\x01\x05gamma\0\0\0(__widl_f_absolute_DeviceOrientationEvent\0\0\x01\x16DeviceOrientationEvent\x01\0\x01\x08absolute\x01\x08absolute\0\0\x02\x14DeviceProximityEvent&__widl_instanceof_DeviceProximityEvent\0\0\0\0!__widl_f_new_DeviceProximityEvent\x01\0\x01\x14DeviceProximityEvent\0\x01\x03new\0\0\06__widl_f_new_with_event_init_dict_DeviceProximityEvent\x01\0\x01\x14DeviceProximityEvent\0\x01\x03new\0\0\0#__widl_f_value_DeviceProximityEvent\0\0\x01\x14DeviceProximityEvent\x01\0\x01\x05value\x01\x05value\0\0\0!__widl_f_min_DeviceProximityEvent\0\0\x01\x14DeviceProximityEvent\x01\0\x01\x03min\x01\x03min\0\0\0!__widl_f_max_DeviceProximityEvent\0\0\x01\x14DeviceProximityEvent\x01\0\x01\x03max\x01\x03max\0\0\x02\tDirectory\x1B__widl_instanceof_Directory\0\0\0\0\x1C__widl_f_get_files_Directory\x01\0\x01\tDirectory\x01\0\0\x01\x08getFiles\0\0\00__widl_f_get_files_with_recursive_flag_Directory\x01\0\x01\tDirectory\x01\0\0\x01\x08getFiles\0\0\0,__widl_f_get_files_and_directories_Directory\x01\0\x01\tDirectory\x01\0\0\x01\x16getFilesAndDirectories\0\0\0\x17__widl_f_name_Directory\x01\0\x01\tDirectory\x01\0\x01\x04name\x01\x04name\0\0\0\x17__widl_f_path_Directory\x01\0\x01\tDirectory\x01\0\x01\x04path\x01\x04path\0\0\x02\x08Document\x1A__widl_instanceof_Document\0\0\0\0\x15__widl_f_new_Document\x01\0\x01\x08Document\0\x01\x03new\0\0\0\x1C__widl_f_adopt_node_Document\x01\0\x01\x08Document\x01\0\0\x01\tadoptNode\0\0\0+__widl_f_caret_position_from_point_Document\0\0\x01\x08Document\x01\0\0\x01\x16caretPositionFromPoint\0\0\0\"__widl_f_create_attribute_Document\x01\0\x01\x08Document\x01\0\0\x01\x0FcreateAttribute\0\0\0%__widl_f_create_attribute_ns_Document\x01\0\x01\x08Document\x01\0\0\x01\x11createAttributeNS\0\0\0&__widl_f_create_cdata_section_Document\x01\0\x01\x08Document\x01\0\0\x01\x12createCDATASection\0\0\0 __widl_f_create_comment_Document\0\0\x01\x08Document\x01\0\0\x01\rcreateComment\0\0\0*__widl_f_create_document_fragment_Document\0\0\x01\x08Document\x01\0\0\x01\x16createDocumentFragment\0\0\0 __widl_f_create_element_Document\x01\0\x01\x08Document\x01\0\0\x01\rcreateElement\0\0\0>__widl_f_create_element_with_element_creation_options_Document\x01\0\x01\x08Document\x01\0\0\x01\rcreateElement\0\0\0)__widl_f_create_element_with_str_Document\x01\0\x01\x08Document\x01\0\0\x01\rcreateElement\0\0\0#__widl_f_create_element_ns_Document\x01\0\x01\x08Document\x01\0\0\x01\x0FcreateElementNS\0\0\0A__widl_f_create_element_ns_with_element_creation_options_Document\x01\0\x01\x08Document\x01\0\0\x01\x0FcreateElementNS\0\0\0,__widl_f_create_element_ns_with_str_Document\x01\0\x01\x08Document\x01\0\0\x01\x0FcreateElementNS\0\0\0\x1E__widl_f_create_event_Document\x01\0\x01\x08Document\x01\0\0\x01\x0BcreateEvent\0\0\0&__widl_f_create_node_iterator_Document\x01\0\x01\x08Document\x01\0\0\x01\x12createNodeIterator\0\0\08__widl_f_create_node_iterator_with_what_to_show_Document\x01\0\x01\x08Document\x01\0\0\x01\x12createNodeIterator\0\0\0C__widl_f_create_node_iterator_with_what_to_show_and_filter_Document\x01\0\x01\x08Document\x01\0\0\x01\x12createNodeIterator\0\0\0/__widl_f_create_processing_instruction_Document\x01\0\x01\x08Document\x01\0\0\x01\x1BcreateProcessingInstruction\0\0\0\x1E__widl_f_create_range_Document\x01\0\x01\x08Document\x01\0\0\x01\x0BcreateRange\0\0\0\"__widl_f_create_text_node_Document\0\0\x01\x08Document\x01\0\0\x01\x0EcreateTextNode\0\0\0$__widl_f_create_tree_walker_Document\x01\0\x01\x08Document\x01\0\0\x01\x10createTreeWalker\0\0\06__widl_f_create_tree_walker_with_what_to_show_Document\x01\0\x01\x08Document\x01\0\0\x01\x10createTreeWalker\0\0\0A__widl_f_create_tree_walker_with_what_to_show_and_filter_Document\x01\0\x01\x08Document\x01\0\0\x01\x10createTreeWalker\0\0\0-__widl_f_enable_style_sheets_for_set_Document\0\0\x01\x08Document\x01\0\0\x01\x17enableStyleSheetsForSet\0\0\0!__widl_f_exit_fullscreen_Document\0\0\x01\x08Document\x01\0\0\x01\x0EexitFullscreen\0\0\0#__widl_f_exit_pointer_lock_Document\0\0\x01\x08Document\x01\0\0\x01\x0FexitPointerLock\0\0\0#__widl_f_get_element_by_id_Document\0\0\x01\x08Document\x01\0\0\x01\x0EgetElementById\0\0\0,__widl_f_get_elements_by_class_name_Document\0\0\x01\x08Document\x01\0\0\x01\x16getElementsByClassName\0\0\0&__widl_f_get_elements_by_name_Document\0\0\x01\x08Document\x01\0\0\x01\x11getElementsByName\0\0\0*__widl_f_get_elements_by_tag_name_Document\0\0\x01\x08Document\x01\0\0\x01\x14getElementsByTagName\0\0\0-__widl_f_get_elements_by_tag_name_ns_Document\x01\0\x01\x08Document\x01\0\0\x01\x16getElementsByTagNameNS\0\0\0\x1F__widl_f_get_selection_Document\x01\0\x01\x08Document\x01\0\0\x01\x0CgetSelection\0\0\0\x1B__widl_f_has_focus_Document\x01\0\x01\x08Document\x01\0\0\x01\x08hasFocus\0\0\0\x1D__widl_f_import_node_Document\x01\0\x01\x08Document\x01\0\0\x01\nimportNode\0\0\0'__widl_f_import_node_with_deep_Document\x01\0\x01\x08Document\x01\0\0\x01\nimportNode\0\0\0 __widl_f_query_selector_Document\x01\0\x01\x08Document\x01\0\0\x01\rquerySelector\0\0\0$__widl_f_query_selector_all_Document\x01\0\x01\x08Document\x01\0\0\x01\x10querySelectorAll\0\0\0!__widl_f_release_capture_Document\0\0\x01\x08Document\x01\0\0\x01\x0EreleaseCapture\0\0\0 __widl_f_implementation_Document\x01\0\x01\x08Document\x01\0\x01\x0Eimplementation\x01\x0Eimplementation\0\0\0\x15__widl_f_url_Document\x01\0\x01\x08Document\x01\0\x01\x03URL\x01\x03URL\0\0\0\x1E__widl_f_document_uri_Document\x01\0\x01\x08Document\x01\0\x01\x0BdocumentURI\x01\x0BdocumentURI\0\0\0\x1D__widl_f_compat_mode_Document\0\0\x01\x08Document\x01\0\x01\ncompatMode\x01\ncompatMode\0\0\0\x1F__widl_f_character_set_Document\0\0\x01\x08Document\x01\0\x01\x0CcharacterSet\x01\x0CcharacterSet\0\0\0\x19__widl_f_charset_Document\0\0\x01\x08Document\x01\0\x01\x07charset\x01\x07charset\0\0\0 __widl_f_input_encoding_Document\0\0\x01\x08Document\x01\0\x01\rinputEncoding\x01\rinputEncoding\0\0\0\x1E__widl_f_content_type_Document\0\0\x01\x08Document\x01\0\x01\x0BcontentType\x01\x0BcontentType\0\0\0\x19__widl_f_doctype_Document\0\0\x01\x08Document\x01\0\x01\x07doctype\x01\x07doctype\0\0\0\"__widl_f_document_element_Document\0\0\x01\x08Document\x01\0\x01\x0FdocumentElement\x01\x0FdocumentElement\0\0\0\x1A__widl_f_location_Document\0\0\x01\x08Document\x01\0\x01\x08location\x01\x08location\0\0\0\x1A__widl_f_referrer_Document\0\0\x01\x08Document\x01\0\x01\x08referrer\x01\x08referrer\0\0\0\x1F__widl_f_last_modified_Document\0\0\x01\x08Document\x01\0\x01\x0ClastModified\x01\x0ClastModified\0\0\0\x1D__widl_f_ready_state_Document\0\0\x01\x08Document\x01\0\x01\nreadyState\x01\nreadyState\0\0\0\x17__widl_f_title_Document\0\0\x01\x08Document\x01\0\x01\x05title\x01\x05title\0\0\0\x1B__widl_f_set_title_Document\0\0\x01\x08Document\x01\0\x02\x05title\x01\x05title\0\0\0\x15__widl_f_dir_Document\0\0\x01\x08Document\x01\0\x01\x03dir\x01\x03dir\0\0\0\x19__widl_f_set_dir_Document\0\0\x01\x08Document\x01\0\x02\x03dir\x01\x03dir\0\0\0\x16__widl_f_body_Document\0\0\x01\x08Document\x01\0\x01\x04body\x01\x04body\0\0\0\x1A__widl_f_set_body_Document\0\0\x01\x08Document\x01\0\x02\x04body\x01\x04body\0\0\0\x16__widl_f_head_Document\0\0\x01\x08Document\x01\0\x01\x04head\x01\x04head\0\0\0\x18__widl_f_images_Document\0\0\x01\x08Document\x01\0\x01\x06images\x01\x06images\0\0\0\x18__widl_f_embeds_Document\0\0\x01\x08Document\x01\0\x01\x06embeds\x01\x06embeds\0\0\0\x19__widl_f_plugins_Document\0\0\x01\x08Document\x01\0\x01\x07plugins\x01\x07plugins\0\0\0\x17__widl_f_links_Document\0\0\x01\x08Document\x01\0\x01\x05links\x01\x05links\0\0\0\x17__widl_f_forms_Document\0\0\x01\x08Document\x01\0\x01\x05forms\x01\x05forms\0\0\0\x19__widl_f_scripts_Document\0\0\x01\x08Document\x01\0\x01\x07scripts\x01\x07scripts\0\0\0\x1E__widl_f_default_view_Document\0\0\x01\x08Document\x01\0\x01\x0BdefaultView\x01\x0BdefaultView\0\0\0$__widl_f_onreadystatechange_Document\0\0\x01\x08Document\x01\0\x01\x12onreadystatechange\x01\x12onreadystatechange\0\0\0(__widl_f_set_onreadystatechange_Document\0\0\x01\x08Document\x01\0\x02\x12onreadystatechange\x01\x12onreadystatechange\0\0\0'__widl_f_onbeforescriptexecute_Document\0\0\x01\x08Document\x01\0\x01\x15onbeforescriptexecute\x01\x15onbeforescriptexecute\0\0\0+__widl_f_set_onbeforescriptexecute_Document\0\0\x01\x08Document\x01\0\x02\x15onbeforescriptexecute\x01\x15onbeforescriptexecute\0\0\0&__widl_f_onafterscriptexecute_Document\0\0\x01\x08Document\x01\0\x01\x14onafterscriptexecute\x01\x14onafterscriptexecute\0\0\0*__widl_f_set_onafterscriptexecute_Document\0\0\x01\x08Document\x01\0\x02\x14onafterscriptexecute\x01\x14onafterscriptexecute\0\0\0#__widl_f_onselectionchange_Document\0\0\x01\x08Document\x01\0\x01\x11onselectionchange\x01\x11onselectionchange\0\0\0'__widl_f_set_onselectionchange_Document\0\0\x01\x08Document\x01\0\x02\x11onselectionchange\x01\x11onselectionchange\0\0\0 __widl_f_current_script_Document\0\0\x01\x08Document\x01\0\x01\rcurrentScript\x01\rcurrentScript\0\0\0\x19__widl_f_anchors_Document\0\0\x01\x08Document\x01\0\x01\x07anchors\x01\x07anchors\0\0\0\x19__widl_f_applets_Document\0\0\x01\x08Document\x01\0\x01\x07applets\x01\x07applets\0\0\0\x1C__widl_f_fullscreen_Document\0\0\x01\x08Document\x01\0\x01\nfullscreen\x01\nfullscreen\0\0\0$__widl_f_fullscreen_enabled_Document\0\0\x01\x08Document\x01\0\x01\x11fullscreenEnabled\x01\x11fullscreenEnabled\0\0\0$__widl_f_onfullscreenchange_Document\0\0\x01\x08Document\x01\0\x01\x12onfullscreenchange\x01\x12onfullscreenchange\0\0\0(__widl_f_set_onfullscreenchange_Document\0\0\x01\x08Document\x01\0\x02\x12onfullscreenchange\x01\x12onfullscreenchange\0\0\0#__widl_f_onfullscreenerror_Document\0\0\x01\x08Document\x01\0\x01\x11onfullscreenerror\x01\x11onfullscreenerror\0\0\0'__widl_f_set_onfullscreenerror_Document\0\0\x01\x08Document\x01\0\x02\x11onfullscreenerror\x01\x11onfullscreenerror\0\0\0%__widl_f_onpointerlockchange_Document\0\0\x01\x08Document\x01\0\x01\x13onpointerlockchange\x01\x13onpointerlockchange\0\0\0)__widl_f_set_onpointerlockchange_Document\0\0\x01\x08Document\x01\0\x02\x13onpointerlockchange\x01\x13onpointerlockchange\0\0\0$__widl_f_onpointerlockerror_Document\0\0\x01\x08Document\x01\0\x01\x12onpointerlockerror\x01\x12onpointerlockerror\0\0\0(__widl_f_set_onpointerlockerror_Document\0\0\x01\x08Document\x01\0\x02\x12onpointerlockerror\x01\x12onpointerlockerror\0\0\0\x18__widl_f_hidden_Document\0\0\x01\x08Document\x01\0\x01\x06hidden\x01\x06hidden\0\0\0\"__widl_f_visibility_state_Document\0\0\x01\x08Document\x01\0\x01\x0FvisibilityState\x01\x0FvisibilityState\0\0\0$__widl_f_onvisibilitychange_Document\0\0\x01\x08Document\x01\0\x01\x12onvisibilitychange\x01\x12onvisibilitychange\0\0\0(__widl_f_set_onvisibilitychange_Document\0\0\x01\x08Document\x01\0\x02\x12onvisibilitychange\x01\x12onvisibilitychange\0\0\0*__widl_f_selected_style_sheet_set_Document\0\0\x01\x08Document\x01\0\x01\x15selectedStyleSheetSet\x01\x15selectedStyleSheetSet\0\0\0.__widl_f_set_selected_style_sheet_set_Document\0\0\x01\x08Document\x01\0\x02\x15selectedStyleSheetSet\x01\x15selectedStyleSheetSet\0\0\0&__widl_f_last_style_sheet_set_Document\0\0\x01\x08Document\x01\0\x01\x11lastStyleSheetSet\x01\x11lastStyleSheetSet\0\0\0+__widl_f_preferred_style_sheet_set_Document\0\0\x01\x08Document\x01\0\x01\x16preferredStyleSheetSet\x01\x16preferredStyleSheetSet\0\0\0\"__widl_f_style_sheet_sets_Document\0\0\x01\x08Document\x01\0\x01\x0EstyleSheetSets\x01\x0EstyleSheetSets\0\0\0#__widl_f_scrolling_element_Document\0\0\x01\x08Document\x01\0\x01\x10scrollingElement\x01\x10scrollingElement\0\0\0\x1A__widl_f_timeline_Document\0\0\x01\x08Document\x01\0\x01\x08timeline\x01\x08timeline\0\0\0\x1E__widl_f_root_element_Document\0\0\x01\x08Document\x01\0\x01\x0BrootElement\x01\x0BrootElement\0\0\0\x18__widl_f_oncopy_Document\0\0\x01\x08Document\x01\0\x01\x06oncopy\x01\x06oncopy\0\0\0\x1C__widl_f_set_oncopy_Document\0\0\x01\x08Document\x01\0\x02\x06oncopy\x01\x06oncopy\0\0\0\x17__widl_f_oncut_Document\0\0\x01\x08Document\x01\0\x01\x05oncut\x01\x05oncut\0\0\0\x1B__widl_f_set_oncut_Document\0\0\x01\x08Document\x01\0\x02\x05oncut\x01\x05oncut\0\0\0\x19__widl_f_onpaste_Document\0\0\x01\x08Document\x01\0\x01\x07onpaste\x01\x07onpaste\0\0\0\x1D__widl_f_set_onpaste_Document\0\0\x01\x08Document\x01\0\x02\x07onpaste\x01\x07onpaste\0\0\0$__widl_f_element_from_point_Document\0\0\x01\x08Document\x01\0\0\x01\x10elementFromPoint\0\0\0 __widl_f_active_element_Document\0\0\x01\x08Document\x01\0\x01\ractiveElement\x01\ractiveElement\0\0\0\x1E__widl_f_style_sheets_Document\0\0\x01\x08Document\x01\0\x01\x0BstyleSheets\x01\x0BstyleSheets\0\0\0&__widl_f_pointer_lock_element_Document\0\0\x01\x08Document\x01\0\x01\x12pointerLockElement\x01\x12pointerLockElement\0\0\0$__widl_f_fullscreen_element_Document\0\0\x01\x08Document\x01\0\x01\x11fullscreenElement\x01\x11fullscreenElement\0\0\0\x17__widl_f_fonts_Document\0\0\x01\x08Document\x01\0\x01\x05fonts\x01\x05fonts\0\0\03__widl_f_convert_point_from_node_with_text_Document\x01\0\x01\x08Document\x01\0\0\x01\x14convertPointFromNode\0\0\06__widl_f_convert_point_from_node_with_element_Document\x01\0\x01\x08Document\x01\0\0\x01\x14convertPointFromNode\0\0\07__widl_f_convert_point_from_node_with_document_Document\x01\0\x01\x08Document\x01\0\0\x01\x14convertPointFromNode\0\0\0?__widl_f_convert_point_from_node_with_text_and_options_Document\x01\0\x01\x08Document\x01\0\0\x01\x14convertPointFromNode\0\0\0B__widl_f_convert_point_from_node_with_element_and_options_Document\x01\0\x01\x08Document\x01\0\0\x01\x14convertPointFromNode\0\0\0C__widl_f_convert_point_from_node_with_document_and_options_Document\x01\0\x01\x08Document\x01\0\0\x01\x14convertPointFromNode\0\0\02__widl_f_convert_quad_from_node_with_text_Document\x01\0\x01\x08Document\x01\0\0\x01\x13convertQuadFromNode\0\0\05__widl_f_convert_quad_from_node_with_element_Document\x01\0\x01\x08Document\x01\0\0\x01\x13convertQuadFromNode\0\0\06__widl_f_convert_quad_from_node_with_document_Document\x01\0\x01\x08Document\x01\0\0\x01\x13convertQuadFromNode\0\0\0>__widl_f_convert_quad_from_node_with_text_and_options_Document\x01\0\x01\x08Document\x01\0\0\x01\x13convertQuadFromNode\0\0\0A__widl_f_convert_quad_from_node_with_element_and_options_Document\x01\0\x01\x08Document\x01\0\0\x01\x13convertQuadFromNode\0\0\0B__widl_f_convert_quad_from_node_with_document_and_options_Document\x01\0\x01\x08Document\x01\0\0\x01\x13convertQuadFromNode\0\0\02__widl_f_convert_rect_from_node_with_text_Document\x01\0\x01\x08Document\x01\0\0\x01\x13convertRectFromNode\0\0\05__widl_f_convert_rect_from_node_with_element_Document\x01\0\x01\x08Document\x01\0\0\x01\x13convertRectFromNode\0\0\06__widl_f_convert_rect_from_node_with_document_Document\x01\0\x01\x08Document\x01\0\0\x01\x13convertRectFromNode\0\0\0>__widl_f_convert_rect_from_node_with_text_and_options_Document\x01\0\x01\x08Document\x01\0\0\x01\x13convertRectFromNode\0\0\0A__widl_f_convert_rect_from_node_with_element_and_options_Document\x01\0\x01\x08Document\x01\0\0\x01\x13convertRectFromNode\0\0\0B__widl_f_convert_rect_from_node_with_document_and_options_Document\x01\0\x01\x08Document\x01\0\0\x01\x13convertRectFromNode\0\0\0\x19__widl_f_onabort_Document\0\0\x01\x08Document\x01\0\x01\x07onabort\x01\x07onabort\0\0\0\x1D__widl_f_set_onabort_Document\0\0\x01\x08Document\x01\0\x02\x07onabort\x01\x07onabort\0\0\0\x18__widl_f_onblur_Document\0\0\x01\x08Document\x01\0\x01\x06onblur\x01\x06onblur\0\0\0\x1C__widl_f_set_onblur_Document\0\0\x01\x08Document\x01\0\x02\x06onblur\x01\x06onblur\0\0\0\x19__widl_f_onfocus_Document\0\0\x01\x08Document\x01\0\x01\x07onfocus\x01\x07onfocus\0\0\0\x1D__widl_f_set_onfocus_Document\0\0\x01\x08Document\x01\0\x02\x07onfocus\x01\x07onfocus\0\0\0\x1C__widl_f_onauxclick_Document\0\0\x01\x08Document\x01\0\x01\nonauxclick\x01\nonauxclick\0\0\0 __widl_f_set_onauxclick_Document\0\0\x01\x08Document\x01\0\x02\nonauxclick\x01\nonauxclick\0\0\0\x1B__widl_f_oncanplay_Document\0\0\x01\x08Document\x01\0\x01\toncanplay\x01\toncanplay\0\0\0\x1F__widl_f_set_oncanplay_Document\0\0\x01\x08Document\x01\0\x02\toncanplay\x01\toncanplay\0\0\0\"__widl_f_oncanplaythrough_Document\0\0\x01\x08Document\x01\0\x01\x10oncanplaythrough\x01\x10oncanplaythrough\0\0\0&__widl_f_set_oncanplaythrough_Document\0\0\x01\x08Document\x01\0\x02\x10oncanplaythrough\x01\x10oncanplaythrough\0\0\0\x1A__widl_f_onchange_Document\0\0\x01\x08Document\x01\0\x01\x08onchange\x01\x08onchange\0\0\0\x1E__widl_f_set_onchange_Document\0\0\x01\x08Document\x01\0\x02\x08onchange\x01\x08onchange\0\0\0\x19__widl_f_onclick_Document\0\0\x01\x08Document\x01\0\x01\x07onclick\x01\x07onclick\0\0\0\x1D__widl_f_set_onclick_Document\0\0\x01\x08Document\x01\0\x02\x07onclick\x01\x07onclick\0\0\0\x19__widl_f_onclose_Document\0\0\x01\x08Document\x01\0\x01\x07onclose\x01\x07onclose\0\0\0\x1D__widl_f_set_onclose_Document\0\0\x01\x08Document\x01\0\x02\x07onclose\x01\x07onclose\0\0\0\x1F__widl_f_oncontextmenu_Document\0\0\x01\x08Document\x01\0\x01\roncontextmenu\x01\roncontextmenu\0\0\0#__widl_f_set_oncontextmenu_Document\0\0\x01\x08Document\x01\0\x02\roncontextmenu\x01\roncontextmenu\0\0\0\x1C__widl_f_ondblclick_Document\0\0\x01\x08Document\x01\0\x01\nondblclick\x01\nondblclick\0\0\0 __widl_f_set_ondblclick_Document\0\0\x01\x08Document\x01\0\x02\nondblclick\x01\nondblclick\0\0\0\x18__widl_f_ondrag_Document\0\0\x01\x08Document\x01\0\x01\x06ondrag\x01\x06ondrag\0\0\0\x1C__widl_f_set_ondrag_Document\0\0\x01\x08Document\x01\0\x02\x06ondrag\x01\x06ondrag\0\0\0\x1B__widl_f_ondragend_Document\0\0\x01\x08Document\x01\0\x01\tondragend\x01\tondragend\0\0\0\x1F__widl_f_set_ondragend_Document\0\0\x01\x08Document\x01\0\x02\tondragend\x01\tondragend\0\0\0\x1D__widl_f_ondragenter_Document\0\0\x01\x08Document\x01\0\x01\x0Bondragenter\x01\x0Bondragenter\0\0\0!__widl_f_set_ondragenter_Document\0\0\x01\x08Document\x01\0\x02\x0Bondragenter\x01\x0Bondragenter\0\0\0\x1C__widl_f_ondragexit_Document\0\0\x01\x08Document\x01\0\x01\nondragexit\x01\nondragexit\0\0\0 __widl_f_set_ondragexit_Document\0\0\x01\x08Document\x01\0\x02\nondragexit\x01\nondragexit\0\0\0\x1D__widl_f_ondragleave_Document\0\0\x01\x08Document\x01\0\x01\x0Bondragleave\x01\x0Bondragleave\0\0\0!__widl_f_set_ondragleave_Document\0\0\x01\x08Document\x01\0\x02\x0Bondragleave\x01\x0Bondragleave\0\0\0\x1C__widl_f_ondragover_Document\0\0\x01\x08Document\x01\0\x01\nondragover\x01\nondragover\0\0\0 __widl_f_set_ondragover_Document\0\0\x01\x08Document\x01\0\x02\nondragover\x01\nondragover\0\0\0\x1D__widl_f_ondragstart_Document\0\0\x01\x08Document\x01\0\x01\x0Bondragstart\x01\x0Bondragstart\0\0\0!__widl_f_set_ondragstart_Document\0\0\x01\x08Document\x01\0\x02\x0Bondragstart\x01\x0Bondragstart\0\0\0\x18__widl_f_ondrop_Document\0\0\x01\x08Document\x01\0\x01\x06ondrop\x01\x06ondrop\0\0\0\x1C__widl_f_set_ondrop_Document\0\0\x01\x08Document\x01\0\x02\x06ondrop\x01\x06ondrop\0\0\0\"__widl_f_ondurationchange_Document\0\0\x01\x08Document\x01\0\x01\x10ondurationchange\x01\x10ondurationchange\0\0\0&__widl_f_set_ondurationchange_Document\0\0\x01\x08Document\x01\0\x02\x10ondurationchange\x01\x10ondurationchange\0\0\0\x1B__widl_f_onemptied_Document\0\0\x01\x08Document\x01\0\x01\tonemptied\x01\tonemptied\0\0\0\x1F__widl_f_set_onemptied_Document\0\0\x01\x08Document\x01\0\x02\tonemptied\x01\tonemptied\0\0\0\x19__widl_f_onended_Document\0\0\x01\x08Document\x01\0\x01\x07onended\x01\x07onended\0\0\0\x1D__widl_f_set_onended_Document\0\0\x01\x08Document\x01\0\x02\x07onended\x01\x07onended\0\0\0\x19__widl_f_oninput_Document\0\0\x01\x08Document\x01\0\x01\x07oninput\x01\x07oninput\0\0\0\x1D__widl_f_set_oninput_Document\0\0\x01\x08Document\x01\0\x02\x07oninput\x01\x07oninput\0\0\0\x1B__widl_f_oninvalid_Document\0\0\x01\x08Document\x01\0\x01\toninvalid\x01\toninvalid\0\0\0\x1F__widl_f_set_oninvalid_Document\0\0\x01\x08Document\x01\0\x02\toninvalid\x01\toninvalid\0\0\0\x1B__widl_f_onkeydown_Document\0\0\x01\x08Document\x01\0\x01\tonkeydown\x01\tonkeydown\0\0\0\x1F__widl_f_set_onkeydown_Document\0\0\x01\x08Document\x01\0\x02\tonkeydown\x01\tonkeydown\0\0\0\x1C__widl_f_onkeypress_Document\0\0\x01\x08Document\x01\0\x01\nonkeypress\x01\nonkeypress\0\0\0 __widl_f_set_onkeypress_Document\0\0\x01\x08Document\x01\0\x02\nonkeypress\x01\nonkeypress\0\0\0\x19__widl_f_onkeyup_Document\0\0\x01\x08Document\x01\0\x01\x07onkeyup\x01\x07onkeyup\0\0\0\x1D__widl_f_set_onkeyup_Document\0\0\x01\x08Document\x01\0\x02\x07onkeyup\x01\x07onkeyup\0\0\0\x18__widl_f_onload_Document\0\0\x01\x08Document\x01\0\x01\x06onload\x01\x06onload\0\0\0\x1C__widl_f_set_onload_Document\0\0\x01\x08Document\x01\0\x02\x06onload\x01\x06onload\0\0\0\x1E__widl_f_onloadeddata_Document\0\0\x01\x08Document\x01\0\x01\x0Conloadeddata\x01\x0Conloadeddata\0\0\0\"__widl_f_set_onloadeddata_Document\0\0\x01\x08Document\x01\0\x02\x0Conloadeddata\x01\x0Conloadeddata\0\0\0\"__widl_f_onloadedmetadata_Document\0\0\x01\x08Document\x01\0\x01\x10onloadedmetadata\x01\x10onloadedmetadata\0\0\0&__widl_f_set_onloadedmetadata_Document\0\0\x01\x08Document\x01\0\x02\x10onloadedmetadata\x01\x10onloadedmetadata\0\0\0\x1B__widl_f_onloadend_Document\0\0\x01\x08Document\x01\0\x01\tonloadend\x01\tonloadend\0\0\0\x1F__widl_f_set_onloadend_Document\0\0\x01\x08Document\x01\0\x02\tonloadend\x01\tonloadend\0\0\0\x1D__widl_f_onloadstart_Document\0\0\x01\x08Document\x01\0\x01\x0Bonloadstart\x01\x0Bonloadstart\0\0\0!__widl_f_set_onloadstart_Document\0\0\x01\x08Document\x01\0\x02\x0Bonloadstart\x01\x0Bonloadstart\0\0\0\x1D__widl_f_onmousedown_Document\0\0\x01\x08Document\x01\0\x01\x0Bonmousedown\x01\x0Bonmousedown\0\0\0!__widl_f_set_onmousedown_Document\0\0\x01\x08Document\x01\0\x02\x0Bonmousedown\x01\x0Bonmousedown\0\0\0\x1E__widl_f_onmouseenter_Document\0\0\x01\x08Document\x01\0\x01\x0Conmouseenter\x01\x0Conmouseenter\0\0\0\"__widl_f_set_onmouseenter_Document\0\0\x01\x08Document\x01\0\x02\x0Conmouseenter\x01\x0Conmouseenter\0\0\0\x1E__widl_f_onmouseleave_Document\0\0\x01\x08Document\x01\0\x01\x0Conmouseleave\x01\x0Conmouseleave\0\0\0\"__widl_f_set_onmouseleave_Document\0\0\x01\x08Document\x01\0\x02\x0Conmouseleave\x01\x0Conmouseleave\0\0\0\x1D__widl_f_onmousemove_Document\0\0\x01\x08Document\x01\0\x01\x0Bonmousemove\x01\x0Bonmousemove\0\0\0!__widl_f_set_onmousemove_Document\0\0\x01\x08Document\x01\0\x02\x0Bonmousemove\x01\x0Bonmousemove\0\0\0\x1C__widl_f_onmouseout_Document\0\0\x01\x08Document\x01\0\x01\nonmouseout\x01\nonmouseout\0\0\0 __widl_f_set_onmouseout_Document\0\0\x01\x08Document\x01\0\x02\nonmouseout\x01\nonmouseout\0\0\0\x1D__widl_f_onmouseover_Document\0\0\x01\x08Document\x01\0\x01\x0Bonmouseover\x01\x0Bonmouseover\0\0\0!__widl_f_set_onmouseover_Document\0\0\x01\x08Document\x01\0\x02\x0Bonmouseover\x01\x0Bonmouseover\0\0\0\x1B__widl_f_onmouseup_Document\0\0\x01\x08Document\x01\0\x01\tonmouseup\x01\tonmouseup\0\0\0\x1F__widl_f_set_onmouseup_Document\0\0\x01\x08Document\x01\0\x02\tonmouseup\x01\tonmouseup\0\0\0\x19__widl_f_onwheel_Document\0\0\x01\x08Document\x01\0\x01\x07onwheel\x01\x07onwheel\0\0\0\x1D__widl_f_set_onwheel_Document\0\0\x01\x08Document\x01\0\x02\x07onwheel\x01\x07onwheel\0\0\0\x19__widl_f_onpause_Document\0\0\x01\x08Document\x01\0\x01\x07onpause\x01\x07onpause\0\0\0\x1D__widl_f_set_onpause_Document\0\0\x01\x08Document\x01\0\x02\x07onpause\x01\x07onpause\0\0\0\x18__widl_f_onplay_Document\0\0\x01\x08Document\x01\0\x01\x06onplay\x01\x06onplay\0\0\0\x1C__widl_f_set_onplay_Document\0\0\x01\x08Document\x01\0\x02\x06onplay\x01\x06onplay\0\0\0\x1B__widl_f_onplaying_Document\0\0\x01\x08Document\x01\0\x01\tonplaying\x01\tonplaying\0\0\0\x1F__widl_f_set_onplaying_Document\0\0\x01\x08Document\x01\0\x02\tonplaying\x01\tonplaying\0\0\0\x1C__widl_f_onprogress_Document\0\0\x01\x08Document\x01\0\x01\nonprogress\x01\nonprogress\0\0\0 __widl_f_set_onprogress_Document\0\0\x01\x08Document\x01\0\x02\nonprogress\x01\nonprogress\0\0\0\x1E__widl_f_onratechange_Document\0\0\x01\x08Document\x01\0\x01\x0Conratechange\x01\x0Conratechange\0\0\0\"__widl_f_set_onratechange_Document\0\0\x01\x08Document\x01\0\x02\x0Conratechange\x01\x0Conratechange\0\0\0\x19__widl_f_onreset_Document\0\0\x01\x08Document\x01\0\x01\x07onreset\x01\x07onreset\0\0\0\x1D__widl_f_set_onreset_Document\0\0\x01\x08Document\x01\0\x02\x07onreset\x01\x07onreset\0\0\0\x1A__widl_f_onresize_Document\0\0\x01\x08Document\x01\0\x01\x08onresize\x01\x08onresize\0\0\0\x1E__widl_f_set_onresize_Document\0\0\x01\x08Document\x01\0\x02\x08onresize\x01\x08onresize\0\0\0\x1A__widl_f_onscroll_Document\0\0\x01\x08Document\x01\0\x01\x08onscroll\x01\x08onscroll\0\0\0\x1E__widl_f_set_onscroll_Document\0\0\x01\x08Document\x01\0\x02\x08onscroll\x01\x08onscroll\0\0\0\x1A__widl_f_onseeked_Document\0\0\x01\x08Document\x01\0\x01\x08onseeked\x01\x08onseeked\0\0\0\x1E__widl_f_set_onseeked_Document\0\0\x01\x08Document\x01\0\x02\x08onseeked\x01\x08onseeked\0\0\0\x1B__widl_f_onseeking_Document\0\0\x01\x08Document\x01\0\x01\tonseeking\x01\tonseeking\0\0\0\x1F__widl_f_set_onseeking_Document\0\0\x01\x08Document\x01\0\x02\tonseeking\x01\tonseeking\0\0\0\x1A__widl_f_onselect_Document\0\0\x01\x08Document\x01\0\x01\x08onselect\x01\x08onselect\0\0\0\x1E__widl_f_set_onselect_Document\0\0\x01\x08Document\x01\0\x02\x08onselect\x01\x08onselect\0\0\0\x18__widl_f_onshow_Document\0\0\x01\x08Document\x01\0\x01\x06onshow\x01\x06onshow\0\0\0\x1C__widl_f_set_onshow_Document\0\0\x01\x08Document\x01\0\x02\x06onshow\x01\x06onshow\0\0\0\x1B__widl_f_onstalled_Document\0\0\x01\x08Document\x01\0\x01\tonstalled\x01\tonstalled\0\0\0\x1F__widl_f_set_onstalled_Document\0\0\x01\x08Document\x01\0\x02\tonstalled\x01\tonstalled\0\0\0\x1A__widl_f_onsubmit_Document\0\0\x01\x08Document\x01\0\x01\x08onsubmit\x01\x08onsubmit\0\0\0\x1E__widl_f_set_onsubmit_Document\0\0\x01\x08Document\x01\0\x02\x08onsubmit\x01\x08onsubmit\0\0\0\x1B__widl_f_onsuspend_Document\0\0\x01\x08Document\x01\0\x01\tonsuspend\x01\tonsuspend\0\0\0\x1F__widl_f_set_onsuspend_Document\0\0\x01\x08Document\x01\0\x02\tonsuspend\x01\tonsuspend\0\0\0\x1E__widl_f_ontimeupdate_Document\0\0\x01\x08Document\x01\0\x01\x0Contimeupdate\x01\x0Contimeupdate\0\0\0\"__widl_f_set_ontimeupdate_Document\0\0\x01\x08Document\x01\0\x02\x0Contimeupdate\x01\x0Contimeupdate\0\0\0 __widl_f_onvolumechange_Document\0\0\x01\x08Document\x01\0\x01\x0Eonvolumechange\x01\x0Eonvolumechange\0\0\0$__widl_f_set_onvolumechange_Document\0\0\x01\x08Document\x01\0\x02\x0Eonvolumechange\x01\x0Eonvolumechange\0\0\0\x1B__widl_f_onwaiting_Document\0\0\x01\x08Document\x01\0\x01\tonwaiting\x01\tonwaiting\0\0\0\x1F__widl_f_set_onwaiting_Document\0\0\x01\x08Document\x01\0\x02\tonwaiting\x01\tonwaiting\0\0\0\x1F__widl_f_onselectstart_Document\0\0\x01\x08Document\x01\0\x01\ronselectstart\x01\ronselectstart\0\0\0#__widl_f_set_onselectstart_Document\0\0\x01\x08Document\x01\0\x02\ronselectstart\x01\ronselectstart\0\0\0\x1A__widl_f_ontoggle_Document\0\0\x01\x08Document\x01\0\x01\x08ontoggle\x01\x08ontoggle\0\0\0\x1E__widl_f_set_ontoggle_Document\0\0\x01\x08Document\x01\0\x02\x08ontoggle\x01\x08ontoggle\0\0\0!__widl_f_onpointercancel_Document\0\0\x01\x08Document\x01\0\x01\x0Fonpointercancel\x01\x0Fonpointercancel\0\0\0%__widl_f_set_onpointercancel_Document\0\0\x01\x08Document\x01\0\x02\x0Fonpointercancel\x01\x0Fonpointercancel\0\0\0\x1F__widl_f_onpointerdown_Document\0\0\x01\x08Document\x01\0\x01\ronpointerdown\x01\ronpointerdown\0\0\0#__widl_f_set_onpointerdown_Document\0\0\x01\x08Document\x01\0\x02\ronpointerdown\x01\ronpointerdown\0\0\0\x1D__widl_f_onpointerup_Document\0\0\x01\x08Document\x01\0\x01\x0Bonpointerup\x01\x0Bonpointerup\0\0\0!__widl_f_set_onpointerup_Document\0\0\x01\x08Document\x01\0\x02\x0Bonpointerup\x01\x0Bonpointerup\0\0\0\x1F__widl_f_onpointermove_Document\0\0\x01\x08Document\x01\0\x01\ronpointermove\x01\ronpointermove\0\0\0#__widl_f_set_onpointermove_Document\0\0\x01\x08Document\x01\0\x02\ronpointermove\x01\ronpointermove\0\0\0\x1E__widl_f_onpointerout_Document\0\0\x01\x08Document\x01\0\x01\x0Conpointerout\x01\x0Conpointerout\0\0\0\"__widl_f_set_onpointerout_Document\0\0\x01\x08Document\x01\0\x02\x0Conpointerout\x01\x0Conpointerout\0\0\0\x1F__widl_f_onpointerover_Document\0\0\x01\x08Document\x01\0\x01\ronpointerover\x01\ronpointerover\0\0\0#__widl_f_set_onpointerover_Document\0\0\x01\x08Document\x01\0\x02\ronpointerover\x01\ronpointerover\0\0\0 __widl_f_onpointerenter_Document\0\0\x01\x08Document\x01\0\x01\x0Eonpointerenter\x01\x0Eonpointerenter\0\0\0$__widl_f_set_onpointerenter_Document\0\0\x01\x08Document\x01\0\x02\x0Eonpointerenter\x01\x0Eonpointerenter\0\0\0 __widl_f_onpointerleave_Document\0\0\x01\x08Document\x01\0\x01\x0Eonpointerleave\x01\x0Eonpointerleave\0\0\0$__widl_f_set_onpointerleave_Document\0\0\x01\x08Document\x01\0\x02\x0Eonpointerleave\x01\x0Eonpointerleave\0\0\0%__widl_f_ongotpointercapture_Document\0\0\x01\x08Document\x01\0\x01\x13ongotpointercapture\x01\x13ongotpointercapture\0\0\0)__widl_f_set_ongotpointercapture_Document\0\0\x01\x08Document\x01\0\x02\x13ongotpointercapture\x01\x13ongotpointercapture\0\0\0&__widl_f_onlostpointercapture_Document\0\0\x01\x08Document\x01\0\x01\x14onlostpointercapture\x01\x14onlostpointercapture\0\0\0*__widl_f_set_onlostpointercapture_Document\0\0\x01\x08Document\x01\0\x02\x14onlostpointercapture\x01\x14onlostpointercapture\0\0\0#__widl_f_onanimationcancel_Document\0\0\x01\x08Document\x01\0\x01\x11onanimationcancel\x01\x11onanimationcancel\0\0\0'__widl_f_set_onanimationcancel_Document\0\0\x01\x08Document\x01\0\x02\x11onanimationcancel\x01\x11onanimationcancel\0\0\0 __widl_f_onanimationend_Document\0\0\x01\x08Document\x01\0\x01\x0Eonanimationend\x01\x0Eonanimationend\0\0\0$__widl_f_set_onanimationend_Document\0\0\x01\x08Document\x01\0\x02\x0Eonanimationend\x01\x0Eonanimationend\0\0\0&__widl_f_onanimationiteration_Document\0\0\x01\x08Document\x01\0\x01\x14onanimationiteration\x01\x14onanimationiteration\0\0\0*__widl_f_set_onanimationiteration_Document\0\0\x01\x08Document\x01\0\x02\x14onanimationiteration\x01\x14onanimationiteration\0\0\0\"__widl_f_onanimationstart_Document\0\0\x01\x08Document\x01\0\x01\x10onanimationstart\x01\x10onanimationstart\0\0\0&__widl_f_set_onanimationstart_Document\0\0\x01\x08Document\x01\0\x02\x10onanimationstart\x01\x10onanimationstart\0\0\0$__widl_f_ontransitioncancel_Document\0\0\x01\x08Document\x01\0\x01\x12ontransitioncancel\x01\x12ontransitioncancel\0\0\0(__widl_f_set_ontransitioncancel_Document\0\0\x01\x08Document\x01\0\x02\x12ontransitioncancel\x01\x12ontransitioncancel\0\0\0!__widl_f_ontransitionend_Document\0\0\x01\x08Document\x01\0\x01\x0Fontransitionend\x01\x0Fontransitionend\0\0\0%__widl_f_set_ontransitionend_Document\0\0\x01\x08Document\x01\0\x02\x0Fontransitionend\x01\x0Fontransitionend\0\0\0!__widl_f_ontransitionrun_Document\0\0\x01\x08Document\x01\0\x01\x0Fontransitionrun\x01\x0Fontransitionrun\0\0\0%__widl_f_set_ontransitionrun_Document\0\0\x01\x08Document\x01\0\x02\x0Fontransitionrun\x01\x0Fontransitionrun\0\0\0#__widl_f_ontransitionstart_Document\0\0\x01\x08Document\x01\0\x01\x11ontransitionstart\x01\x11ontransitionstart\0\0\0'__widl_f_set_ontransitionstart_Document\0\0\x01\x08Document\x01\0\x02\x11ontransitionstart\x01\x11ontransitionstart\0\0\0&__widl_f_onwebkitanimationend_Document\0\0\x01\x08Document\x01\0\x01\x14onwebkitanimationend\x01\x14onwebkitanimationend\0\0\0*__widl_f_set_onwebkitanimationend_Document\0\0\x01\x08Document\x01\0\x02\x14onwebkitanimationend\x01\x14onwebkitanimationend\0\0\0,__widl_f_onwebkitanimationiteration_Document\0\0\x01\x08Document\x01\0\x01\x1Aonwebkitanimationiteration\x01\x1Aonwebkitanimationiteration\0\0\00__widl_f_set_onwebkitanimationiteration_Document\0\0\x01\x08Document\x01\0\x02\x1Aonwebkitanimationiteration\x01\x1Aonwebkitanimationiteration\0\0\0(__widl_f_onwebkitanimationstart_Document\0\0\x01\x08Document\x01\0\x01\x16onwebkitanimationstart\x01\x16onwebkitanimationstart\0\0\0,__widl_f_set_onwebkitanimationstart_Document\0\0\x01\x08Document\x01\0\x02\x16onwebkitanimationstart\x01\x16onwebkitanimationstart\0\0\0'__widl_f_onwebkittransitionend_Document\0\0\x01\x08Document\x01\0\x01\x15onwebkittransitionend\x01\x15onwebkittransitionend\0\0\0+__widl_f_set_onwebkittransitionend_Document\0\0\x01\x08Document\x01\0\x02\x15onwebkittransitionend\x01\x15onwebkittransitionend\0\0\0\x19__widl_f_onerror_Document\0\0\x01\x08Document\x01\0\x01\x07onerror\x01\x07onerror\0\0\0\x1D__widl_f_set_onerror_Document\0\0\x01\x08Document\x01\0\x02\x07onerror\x01\x07onerror\0\0\0\"__widl_f_append_with_node_Document\x01\x01\x01\x08Document\x01\0\0\x01\x06append\0\0\0$__widl_f_append_with_node_0_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0$__widl_f_append_with_node_1_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0$__widl_f_append_with_node_2_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0$__widl_f_append_with_node_3_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0$__widl_f_append_with_node_4_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0$__widl_f_append_with_node_5_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0$__widl_f_append_with_node_6_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0$__widl_f_append_with_node_7_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0!__widl_f_append_with_str_Document\x01\x01\x01\x08Document\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_str_0_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_str_1_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_str_2_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_str_3_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_str_4_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_str_5_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_str_6_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_str_7_Document\x01\0\x01\x08Document\x01\0\0\x01\x06append\0\0\0#__widl_f_prepend_with_node_Document\x01\x01\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0%__widl_f_prepend_with_node_0_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0%__widl_f_prepend_with_node_1_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0%__widl_f_prepend_with_node_2_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0%__widl_f_prepend_with_node_3_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0%__widl_f_prepend_with_node_4_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0%__widl_f_prepend_with_node_5_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0%__widl_f_prepend_with_node_6_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0%__widl_f_prepend_with_node_7_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0\"__widl_f_prepend_with_str_Document\x01\x01\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_str_0_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_str_1_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_str_2_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_str_3_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_str_4_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_str_5_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_str_6_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_str_7_Document\x01\0\x01\x08Document\x01\0\0\x01\x07prepend\0\0\0\x1A__widl_f_children_Document\0\0\x01\x08Document\x01\0\x01\x08children\x01\x08children\0\0\0%__widl_f_first_element_child_Document\0\0\x01\x08Document\x01\0\x01\x11firstElementChild\x01\x11firstElementChild\0\0\0$__widl_f_last_element_child_Document\0\0\x01\x08Document\x01\0\x01\x10lastElementChild\x01\x10lastElementChild\0\0\0%__widl_f_child_element_count_Document\0\0\x01\x08Document\x01\0\x01\x11childElementCount\x01\x11childElementCount\0\0\0\x1E__widl_f_ontouchstart_Document\0\0\x01\x08Document\x01\0\x01\x0Contouchstart\x01\x0Contouchstart\0\0\0\"__widl_f_set_ontouchstart_Document\0\0\x01\x08Document\x01\0\x02\x0Contouchstart\x01\x0Contouchstart\0\0\0\x1C__widl_f_ontouchend_Document\0\0\x01\x08Document\x01\0\x01\nontouchend\x01\nontouchend\0\0\0 __widl_f_set_ontouchend_Document\0\0\x01\x08Document\x01\0\x02\nontouchend\x01\nontouchend\0\0\0\x1D__widl_f_ontouchmove_Document\0\0\x01\x08Document\x01\0\x01\x0Bontouchmove\x01\x0Bontouchmove\0\0\0!__widl_f_set_ontouchmove_Document\0\0\x01\x08Document\x01\0\x02\x0Bontouchmove\x01\x0Bontouchmove\0\0\0\x1F__widl_f_ontouchcancel_Document\0\0\x01\x08Document\x01\0\x01\rontouchcancel\x01\rontouchcancel\0\0\0#__widl_f_set_ontouchcancel_Document\0\0\x01\x08Document\x01\0\x02\rontouchcancel\x01\rontouchcancel\0\0\0#__widl_f_create_expression_Document\x01\0\x01\x08Document\x01\0\0\x01\x10createExpression\0\0\05__widl_f_create_expression_with_opt_callback_Document\x01\0\x01\x08Document\x01\0\0\x01\x10createExpression\0\0\0?__widl_f_create_expression_with_opt_x_path_ns_resolver_Document\x01\0\x01\x08Document\x01\0\0\x01\x10createExpression\0\0\0$__widl_f_create_ns_resolver_Document\0\0\x01\x08Document\x01\0\0\x01\x10createNSResolver\0\0\0\x1A__widl_f_evaluate_Document\x01\0\x01\x08Document\x01\0\0\x01\x08evaluate\0\0\0,__widl_f_evaluate_with_opt_callback_Document\x01\0\x01\x08Document\x01\0\0\x01\x08evaluate\0\0\06__widl_f_evaluate_with_opt_x_path_ns_resolver_Document\x01\0\x01\x08Document\x01\0\0\x01\x08evaluate\0\0\05__widl_f_evaluate_with_opt_callback_and_type_Document\x01\0\x01\x08Document\x01\0\0\x01\x08evaluate\0\0\0?__widl_f_evaluate_with_opt_x_path_ns_resolver_and_type_Document\x01\0\x01\x08Document\x01\0\0\x01\x08evaluate\0\0\0@__widl_f_evaluate_with_opt_callback_and_type_and_result_Document\x01\0\x01\x08Document\x01\0\0\x01\x08evaluate\0\0\0J__widl_f_evaluate_with_opt_x_path_ns_resolver_and_type_and_result_Document\x01\0\x01\x08Document\x01\0\0\x01\x08evaluate\0\0\x02\x10DocumentFragment\"__widl_instanceof_DocumentFragment\0\0\0\0\x1D__widl_f_new_DocumentFragment\x01\0\x01\x10DocumentFragment\0\x01\x03new\0\0\0+__widl_f_get_element_by_id_DocumentFragment\0\0\x01\x10DocumentFragment\x01\0\0\x01\x0EgetElementById\0\0\0(__widl_f_query_selector_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\rquerySelector\0\0\0,__widl_f_query_selector_all_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x10querySelectorAll\0\0\0*__widl_f_append_with_node_DocumentFragment\x01\x01\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0,__widl_f_append_with_node_0_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0,__widl_f_append_with_node_1_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0,__widl_f_append_with_node_2_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0,__widl_f_append_with_node_3_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0,__widl_f_append_with_node_4_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0,__widl_f_append_with_node_5_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0,__widl_f_append_with_node_6_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0,__widl_f_append_with_node_7_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0)__widl_f_append_with_str_DocumentFragment\x01\x01\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0+__widl_f_append_with_str_0_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0+__widl_f_append_with_str_1_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0+__widl_f_append_with_str_2_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0+__widl_f_append_with_str_3_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0+__widl_f_append_with_str_4_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0+__widl_f_append_with_str_5_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0+__widl_f_append_with_str_6_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0+__widl_f_append_with_str_7_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x06append\0\0\0+__widl_f_prepend_with_node_DocumentFragment\x01\x01\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0-__widl_f_prepend_with_node_0_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0-__widl_f_prepend_with_node_1_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0-__widl_f_prepend_with_node_2_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0-__widl_f_prepend_with_node_3_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0-__widl_f_prepend_with_node_4_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0-__widl_f_prepend_with_node_5_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0-__widl_f_prepend_with_node_6_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0-__widl_f_prepend_with_node_7_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0*__widl_f_prepend_with_str_DocumentFragment\x01\x01\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0,__widl_f_prepend_with_str_0_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0,__widl_f_prepend_with_str_1_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0,__widl_f_prepend_with_str_2_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0,__widl_f_prepend_with_str_3_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0,__widl_f_prepend_with_str_4_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0,__widl_f_prepend_with_str_5_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0,__widl_f_prepend_with_str_6_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0,__widl_f_prepend_with_str_7_DocumentFragment\x01\0\x01\x10DocumentFragment\x01\0\0\x01\x07prepend\0\0\0\"__widl_f_children_DocumentFragment\0\0\x01\x10DocumentFragment\x01\0\x01\x08children\x01\x08children\0\0\0-__widl_f_first_element_child_DocumentFragment\0\0\x01\x10DocumentFragment\x01\0\x01\x11firstElementChild\x01\x11firstElementChild\0\0\0,__widl_f_last_element_child_DocumentFragment\0\0\x01\x10DocumentFragment\x01\0\x01\x10lastElementChild\x01\x10lastElementChild\0\0\0-__widl_f_child_element_count_DocumentFragment\0\0\x01\x10DocumentFragment\x01\0\x01\x11childElementCount\x01\x11childElementCount\0\0\x02\x10DocumentTimeline\"__widl_instanceof_DocumentTimeline\0\0\0\0\x1D__widl_f_new_DocumentTimeline\x01\0\x01\x10DocumentTimeline\0\x01\x03new\0\0\0*__widl_f_new_with_options_DocumentTimeline\x01\0\x01\x10DocumentTimeline\0\x01\x03new\0\0\x02\x0CDocumentType\x1E__widl_instanceof_DocumentType\0\0\0\0\x1A__widl_f_name_DocumentType\0\0\x01\x0CDocumentType\x01\0\x01\x04name\x01\x04name\0\0\0\x1F__widl_f_public_id_DocumentType\0\0\x01\x0CDocumentType\x01\0\x01\x08publicId\x01\x08publicId\0\0\0\x1F__widl_f_system_id_DocumentType\0\0\x01\x0CDocumentType\x01\0\x01\x08systemId\x01\x08systemId\0\0\0%__widl_f_after_with_node_DocumentType\x01\x01\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_node_0_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_node_1_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_node_2_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_node_3_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_node_4_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_node_5_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_node_6_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0'__widl_f_after_with_node_7_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0$__widl_f_after_with_str_DocumentType\x01\x01\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0&__widl_f_after_with_str_0_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0&__widl_f_after_with_str_1_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0&__widl_f_after_with_str_2_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0&__widl_f_after_with_str_3_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0&__widl_f_after_with_str_4_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0&__widl_f_after_with_str_5_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0&__widl_f_after_with_str_6_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0&__widl_f_after_with_str_7_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x05after\0\0\0&__widl_f_before_with_node_DocumentType\x01\x01\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_node_0_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_node_1_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_node_2_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_node_3_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_node_4_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_node_5_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_node_6_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0(__widl_f_before_with_node_7_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0%__widl_f_before_with_str_DocumentType\x01\x01\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0'__widl_f_before_with_str_0_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0'__widl_f_before_with_str_1_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0'__widl_f_before_with_str_2_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0'__widl_f_before_with_str_3_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0'__widl_f_before_with_str_4_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0'__widl_f_before_with_str_5_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0'__widl_f_before_with_str_6_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0'__widl_f_before_with_str_7_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x06before\0\0\0\x1C__widl_f_remove_DocumentType\0\0\x01\x0CDocumentType\x01\0\0\x01\x06remove\0\0\0,__widl_f_replace_with_with_node_DocumentType\x01\x01\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_node_0_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_node_1_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_node_2_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_node_3_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_node_4_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_node_5_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_node_6_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0.__widl_f_replace_with_with_node_7_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0+__widl_f_replace_with_with_str_DocumentType\x01\x01\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0-__widl_f_replace_with_with_str_0_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0-__widl_f_replace_with_with_str_1_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0-__widl_f_replace_with_with_str_2_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0-__widl_f_replace_with_with_str_3_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0-__widl_f_replace_with_with_str_4_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0-__widl_f_replace_with_with_str_5_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0-__widl_f_replace_with_with_str_6_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\0-__widl_f_replace_with_with_str_7_DocumentType\x01\0\x01\x0CDocumentType\x01\0\0\x01\x0BreplaceWith\0\0\x02\tDragEvent\x1B__widl_instanceof_DragEvent\0\0\0\0\x16__widl_f_new_DragEvent\x01\0\x01\tDragEvent\0\x01\x03new\0\0\0+__widl_f_new_with_event_init_dict_DragEvent\x01\0\x01\tDragEvent\0\x01\x03new\0\0\0\"__widl_f_init_drag_event_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\02__widl_f_init_drag_event_with_can_bubble_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0A__widl_f_init_drag_event_with_can_bubble_and_cancelable_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0L__widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0Y__widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0h__widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0w__widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0\x86\x01__widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0\x95\x01__widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0\xA4\x01__widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0\xB2\x01__widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0\xC2\x01__widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0\xD1\x01__widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0\xDE\x01__widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0\xF3\x01__widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0\x87\x02__widl_f_init_drag_event_with_can_bubble_and_cancelable_and_a_view_and_a_detail_and_a_screen_x_and_a_screen_y_and_a_client_x_and_a_client_y_and_a_ctrl_key_and_a_alt_key_and_a_shift_key_and_a_meta_key_and_a_button_and_a_related_target_and_a_data_transfer_DragEvent\0\0\x01\tDragEvent\x01\0\0\x01\rinitDragEvent\0\0\0 __widl_f_data_transfer_DragEvent\0\0\x01\tDragEvent\x01\0\x01\x0CdataTransfer\x01\x0CdataTransfer\0\0\x02\x16DynamicsCompressorNode(__widl_instanceof_DynamicsCompressorNode\0\0\0\0#__widl_f_new_DynamicsCompressorNode\x01\0\x01\x16DynamicsCompressorNode\0\x01\x03new\0\0\00__widl_f_new_with_options_DynamicsCompressorNode\x01\0\x01\x16DynamicsCompressorNode\0\x01\x03new\0\0\0)__widl_f_threshold_DynamicsCompressorNode\0\0\x01\x16DynamicsCompressorNode\x01\0\x01\tthreshold\x01\tthreshold\0\0\0$__widl_f_knee_DynamicsCompressorNode\0\0\x01\x16DynamicsCompressorNode\x01\0\x01\x04knee\x01\x04knee\0\0\0%__widl_f_ratio_DynamicsCompressorNode\0\0\x01\x16DynamicsCompressorNode\x01\0\x01\x05ratio\x01\x05ratio\0\0\0)__widl_f_reduction_DynamicsCompressorNode\0\0\x01\x16DynamicsCompressorNode\x01\0\x01\treduction\x01\treduction\0\0\0&__widl_f_attack_DynamicsCompressorNode\0\0\x01\x16DynamicsCompressorNode\x01\0\x01\x06attack\x01\x06attack\0\0\0'__widl_f_release_DynamicsCompressorNode\0\0\x01\x16DynamicsCompressorNode\x01\0\x01\x07release\x01\x07release\0\0\x02\x07Element\x19__widl_instanceof_Element\0\0\0\0\x1E__widl_f_attach_shadow_Element\x01\0\x01\x07Element\x01\0\0\x01\x0CattachShadow\0\0\0\x18__widl_f_closest_Element\x01\0\x01\x07Element\x01\0\0\x01\x07closest\0\0\0\x1E__widl_f_get_attribute_Element\0\0\x01\x07Element\x01\0\0\x01\x0CgetAttribute\0\0\0!__widl_f_get_attribute_ns_Element\0\0\x01\x07Element\x01\0\0\x01\x0EgetAttributeNS\0\0\0#__widl_f_get_attribute_node_Element\0\0\x01\x07Element\x01\0\0\x01\x10getAttributeNode\0\0\0&__widl_f_get_attribute_node_ns_Element\0\0\x01\x07Element\x01\0\0\x01\x12getAttributeNodeNS\0\0\0)__widl_f_get_bounding_client_rect_Element\0\0\x01\x07Element\x01\0\0\x01\x15getBoundingClientRect\0\0\0!__widl_f_get_client_rects_Element\0\0\x01\x07Element\x01\0\0\x01\x0EgetClientRects\0\0\0\x1E__widl_f_has_attribute_Element\0\0\x01\x07Element\x01\0\0\x01\x0ChasAttribute\0\0\0!__widl_f_has_attribute_ns_Element\0\0\x01\x07Element\x01\0\0\x01\x0EhasAttributeNS\0\0\0\x1F__widl_f_has_attributes_Element\0\0\x01\x07Element\x01\0\0\x01\rhasAttributes\0\0\0$__widl_f_has_pointer_capture_Element\0\0\x01\x07Element\x01\0\0\x01\x11hasPointerCapture\0\0\0(__widl_f_insert_adjacent_element_Element\x01\0\x01\x07Element\x01\0\0\x01\x15insertAdjacentElement\0\0\0%__widl_f_insert_adjacent_html_Element\x01\0\x01\x07Element\x01\0\0\x01\x12insertAdjacentHTML\0\0\0%__widl_f_insert_adjacent_text_Element\x01\0\x01\x07Element\x01\0\0\x01\x12insertAdjacentText\0\0\0\x18__widl_f_matches_Element\x01\0\x01\x07Element\x01\0\0\x01\x07matches\0\0\0\x1F__widl_f_query_selector_Element\x01\0\x01\x07Element\x01\0\0\x01\rquerySelector\0\0\0#__widl_f_query_selector_all_Element\x01\0\x01\x07Element\x01\0\0\x01\x10querySelectorAll\0\0\0 __widl_f_release_capture_Element\0\0\x01\x07Element\x01\0\0\x01\x0EreleaseCapture\0\0\0(__widl_f_release_pointer_capture_Element\x01\0\x01\x07Element\x01\0\0\x01\x15releasePointerCapture\0\0\0!__widl_f_remove_attribute_Element\x01\0\x01\x07Element\x01\0\0\x01\x0FremoveAttribute\0\0\0$__widl_f_remove_attribute_ns_Element\x01\0\x01\x07Element\x01\0\0\x01\x11removeAttributeNS\0\0\0&__widl_f_remove_attribute_node_Element\x01\0\x01\x07Element\x01\0\0\x01\x13removeAttributeNode\0\0\0#__widl_f_request_fullscreen_Element\x01\0\x01\x07Element\x01\0\0\x01\x11requestFullscreen\0\0\0%__widl_f_request_pointer_lock_Element\0\0\x01\x07Element\x01\0\0\x01\x12requestPointerLock\0\0\0$__widl_f_scroll_with_x_and_y_Element\0\0\x01\x07Element\x01\0\0\x01\x06scroll\0\0\0\x17__widl_f_scroll_Element\0\0\x01\x07Element\x01\0\0\x01\x06scroll\0\0\0.__widl_f_scroll_with_scroll_to_options_Element\0\0\x01\x07Element\x01\0\0\x01\x06scroll\0\0\0'__widl_f_scroll_by_with_x_and_y_Element\0\0\x01\x07Element\x01\0\0\x01\x08scrollBy\0\0\0\x1A__widl_f_scroll_by_Element\0\0\x01\x07Element\x01\0\0\x01\x08scrollBy\0\0\01__widl_f_scroll_by_with_scroll_to_options_Element\0\0\x01\x07Element\x01\0\0\x01\x08scrollBy\0\0\0!__widl_f_scroll_into_view_Element\0\0\x01\x07Element\x01\0\0\x01\x0EscrollIntoView\0\0\0+__widl_f_scroll_into_view_with_bool_Element\0\0\x01\x07Element\x01\0\0\x01\x0EscrollIntoView\0\0\0?__widl_f_scroll_into_view_with_scroll_into_view_options_Element\0\0\x01\x07Element\x01\0\0\x01\x0EscrollIntoView\0\0\0'__widl_f_scroll_to_with_x_and_y_Element\0\0\x01\x07Element\x01\0\0\x01\x08scrollTo\0\0\0\x1A__widl_f_scroll_to_Element\0\0\x01\x07Element\x01\0\0\x01\x08scrollTo\0\0\01__widl_f_scroll_to_with_scroll_to_options_Element\0\0\x01\x07Element\x01\0\0\x01\x08scrollTo\0\0\0\x1E__widl_f_set_attribute_Element\x01\0\x01\x07Element\x01\0\0\x01\x0CsetAttribute\0\0\0!__widl_f_set_attribute_ns_Element\x01\0\x01\x07Element\x01\0\0\x01\x0EsetAttributeNS\0\0\0#__widl_f_set_attribute_node_Element\x01\0\x01\x07Element\x01\0\0\x01\x10setAttributeNode\0\0\0&__widl_f_set_attribute_node_ns_Element\x01\0\x01\x07Element\x01\0\0\x01\x12setAttributeNodeNS\0\0\0\x1C__widl_f_set_capture_Element\0\0\x01\x07Element\x01\0\0\x01\nsetCapture\0\0\05__widl_f_set_capture_with_retarget_to_element_Element\0\0\x01\x07Element\x01\0\0\x01\nsetCapture\0\0\0$__widl_f_set_pointer_capture_Element\x01\0\x01\x07Element\x01\0\0\x01\x11setPointerCapture\0\0\0!__widl_f_toggle_attribute_Element\x01\0\x01\x07Element\x01\0\0\x01\x0FtoggleAttribute\0\0\0,__widl_f_toggle_attribute_with_force_Element\x01\0\x01\x07Element\x01\0\0\x01\x0FtoggleAttribute\0\0\0(__widl_f_webkit_matches_selector_Element\x01\0\x01\x07Element\x01\0\0\x01\x15webkitMatchesSelector\0\0\0\x1E__widl_f_namespace_uri_Element\0\0\x01\x07Element\x01\0\x01\x0CnamespaceURI\x01\x0CnamespaceURI\0\0\0\x17__widl_f_prefix_Element\0\0\x01\x07Element\x01\0\x01\x06prefix\x01\x06prefix\0\0\0\x1B__widl_f_local_name_Element\0\0\x01\x07Element\x01\0\x01\tlocalName\x01\tlocalName\0\0\0\x19__widl_f_tag_name_Element\0\0\x01\x07Element\x01\0\x01\x07tagName\x01\x07tagName\0\0\0\x13__widl_f_id_Element\0\0\x01\x07Element\x01\0\x01\x02id\x01\x02id\0\0\0\x17__widl_f_set_id_Element\0\0\x01\x07Element\x01\0\x02\x02id\x01\x02id\0\0\0\x1B__widl_f_class_name_Element\0\0\x01\x07Element\x01\0\x01\tclassName\x01\tclassName\0\0\0\x1F__widl_f_set_class_name_Element\0\0\x01\x07Element\x01\0\x02\tclassName\x01\tclassName\0\0\0\x1B__widl_f_class_list_Element\0\0\x01\x07Element\x01\0\x01\tclassList\x01\tclassList\0\0\0\x1B__widl_f_attributes_Element\0\0\x01\x07Element\x01\0\x01\nattributes\x01\nattributes\0\0\0\x1B__widl_f_scroll_top_Element\0\0\x01\x07Element\x01\0\x01\tscrollTop\x01\tscrollTop\0\0\0\x1F__widl_f_set_scroll_top_Element\0\0\x01\x07Element\x01\0\x02\tscrollTop\x01\tscrollTop\0\0\0\x1C__widl_f_scroll_left_Element\0\0\x01\x07Element\x01\0\x01\nscrollLeft\x01\nscrollLeft\0\0\0 __widl_f_set_scroll_left_Element\0\0\x01\x07Element\x01\0\x02\nscrollLeft\x01\nscrollLeft\0\0\0\x1D__widl_f_scroll_width_Element\0\0\x01\x07Element\x01\0\x01\x0BscrollWidth\x01\x0BscrollWidth\0\0\0\x1E__widl_f_scroll_height_Element\0\0\x01\x07Element\x01\0\x01\x0CscrollHeight\x01\x0CscrollHeight\0\0\0\x1B__widl_f_client_top_Element\0\0\x01\x07Element\x01\0\x01\tclientTop\x01\tclientTop\0\0\0\x1C__widl_f_client_left_Element\0\0\x01\x07Element\x01\0\x01\nclientLeft\x01\nclientLeft\0\0\0\x1D__widl_f_client_width_Element\0\0\x01\x07Element\x01\0\x01\x0BclientWidth\x01\x0BclientWidth\0\0\0\x1E__widl_f_client_height_Element\0\0\x01\x07Element\x01\0\x01\x0CclientHeight\x01\x0CclientHeight\0\0\0\x1B__widl_f_inner_html_Element\0\0\x01\x07Element\x01\0\x01\tinnerHTML\x01\tinnerHTML\0\0\0\x1F__widl_f_set_inner_html_Element\0\0\x01\x07Element\x01\0\x02\tinnerHTML\x01\tinnerHTML\0\0\0\x1B__widl_f_outer_html_Element\0\0\x01\x07Element\x01\0\x01\touterHTML\x01\touterHTML\0\0\0\x1F__widl_f_set_outer_html_Element\0\0\x01\x07Element\x01\0\x02\touterHTML\x01\touterHTML\0\0\0\x1C__widl_f_shadow_root_Element\0\0\x01\x07Element\x01\0\x01\nshadowRoot\x01\nshadowRoot\0\0\0\x1E__widl_f_assigned_slot_Element\0\0\x01\x07Element\x01\0\x01\x0CassignedSlot\x01\x0CassignedSlot\0\0\0\x15__widl_f_slot_Element\0\0\x01\x07Element\x01\0\x01\x04slot\x01\x04slot\0\0\0\x19__widl_f_set_slot_Element\0\0\x01\x07Element\x01\0\x02\x04slot\x01\x04slot\0\0\0 __widl_f_after_with_node_Element\x01\x01\x01\x07Element\x01\0\0\x01\x05after\0\0\0\"__widl_f_after_with_node_0_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0\"__widl_f_after_with_node_1_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0\"__widl_f_after_with_node_2_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0\"__widl_f_after_with_node_3_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0\"__widl_f_after_with_node_4_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0\"__widl_f_after_with_node_5_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0\"__widl_f_after_with_node_6_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0\"__widl_f_after_with_node_7_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0\x1F__widl_f_after_with_str_Element\x01\x01\x01\x07Element\x01\0\0\x01\x05after\0\0\0!__widl_f_after_with_str_0_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0!__widl_f_after_with_str_1_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0!__widl_f_after_with_str_2_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0!__widl_f_after_with_str_3_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0!__widl_f_after_with_str_4_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0!__widl_f_after_with_str_5_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0!__widl_f_after_with_str_6_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0!__widl_f_after_with_str_7_Element\x01\0\x01\x07Element\x01\0\0\x01\x05after\0\0\0!__widl_f_before_with_node_Element\x01\x01\x01\x07Element\x01\0\0\x01\x06before\0\0\0#__widl_f_before_with_node_0_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0#__widl_f_before_with_node_1_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0#__widl_f_before_with_node_2_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0#__widl_f_before_with_node_3_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0#__widl_f_before_with_node_4_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0#__widl_f_before_with_node_5_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0#__widl_f_before_with_node_6_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0#__widl_f_before_with_node_7_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0 __widl_f_before_with_str_Element\x01\x01\x01\x07Element\x01\0\0\x01\x06before\0\0\0\"__widl_f_before_with_str_0_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0\"__widl_f_before_with_str_1_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0\"__widl_f_before_with_str_2_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0\"__widl_f_before_with_str_3_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0\"__widl_f_before_with_str_4_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0\"__widl_f_before_with_str_5_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0\"__widl_f_before_with_str_6_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0\"__widl_f_before_with_str_7_Element\x01\0\x01\x07Element\x01\0\0\x01\x06before\0\0\0\x17__widl_f_remove_Element\0\0\x01\x07Element\x01\0\0\x01\x06remove\0\0\0'__widl_f_replace_with_with_node_Element\x01\x01\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0)__widl_f_replace_with_with_node_0_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0)__widl_f_replace_with_with_node_1_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0)__widl_f_replace_with_with_node_2_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0)__widl_f_replace_with_with_node_3_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0)__widl_f_replace_with_with_node_4_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0)__widl_f_replace_with_with_node_5_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0)__widl_f_replace_with_with_node_6_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0)__widl_f_replace_with_with_node_7_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0&__widl_f_replace_with_with_str_Element\x01\x01\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0(__widl_f_replace_with_with_str_0_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0(__widl_f_replace_with_with_str_1_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0(__widl_f_replace_with_with_str_2_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0(__widl_f_replace_with_with_str_3_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0(__widl_f_replace_with_with_str_4_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0(__widl_f_replace_with_with_str_5_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0(__widl_f_replace_with_with_str_6_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\0(__widl_f_replace_with_with_str_7_Element\x01\0\x01\x07Element\x01\0\0\x01\x0BreplaceWith\0\0\02__widl_f_convert_point_from_node_with_text_Element\x01\0\x01\x07Element\x01\0\0\x01\x14convertPointFromNode\0\0\05__widl_f_convert_point_from_node_with_element_Element\x01\0\x01\x07Element\x01\0\0\x01\x14convertPointFromNode\0\0\06__widl_f_convert_point_from_node_with_document_Element\x01\0\x01\x07Element\x01\0\0\x01\x14convertPointFromNode\0\0\0>__widl_f_convert_point_from_node_with_text_and_options_Element\x01\0\x01\x07Element\x01\0\0\x01\x14convertPointFromNode\0\0\0A__widl_f_convert_point_from_node_with_element_and_options_Element\x01\0\x01\x07Element\x01\0\0\x01\x14convertPointFromNode\0\0\0B__widl_f_convert_point_from_node_with_document_and_options_Element\x01\0\x01\x07Element\x01\0\0\x01\x14convertPointFromNode\0\0\01__widl_f_convert_quad_from_node_with_text_Element\x01\0\x01\x07Element\x01\0\0\x01\x13convertQuadFromNode\0\0\04__widl_f_convert_quad_from_node_with_element_Element\x01\0\x01\x07Element\x01\0\0\x01\x13convertQuadFromNode\0\0\05__widl_f_convert_quad_from_node_with_document_Element\x01\0\x01\x07Element\x01\0\0\x01\x13convertQuadFromNode\0\0\0=__widl_f_convert_quad_from_node_with_text_and_options_Element\x01\0\x01\x07Element\x01\0\0\x01\x13convertQuadFromNode\0\0\0@__widl_f_convert_quad_from_node_with_element_and_options_Element\x01\0\x01\x07Element\x01\0\0\x01\x13convertQuadFromNode\0\0\0A__widl_f_convert_quad_from_node_with_document_and_options_Element\x01\0\x01\x07Element\x01\0\0\x01\x13convertQuadFromNode\0\0\01__widl_f_convert_rect_from_node_with_text_Element\x01\0\x01\x07Element\x01\0\0\x01\x13convertRectFromNode\0\0\04__widl_f_convert_rect_from_node_with_element_Element\x01\0\x01\x07Element\x01\0\0\x01\x13convertRectFromNode\0\0\05__widl_f_convert_rect_from_node_with_document_Element\x01\0\x01\x07Element\x01\0\0\x01\x13convertRectFromNode\0\0\0=__widl_f_convert_rect_from_node_with_text_and_options_Element\x01\0\x01\x07Element\x01\0\0\x01\x13convertRectFromNode\0\0\0@__widl_f_convert_rect_from_node_with_element_and_options_Element\x01\0\x01\x07Element\x01\0\0\x01\x13convertRectFromNode\0\0\0A__widl_f_convert_rect_from_node_with_document_and_options_Element\x01\0\x01\x07Element\x01\0\0\x01\x13convertRectFromNode\0\0\0)__widl_f_previous_element_sibling_Element\0\0\x01\x07Element\x01\0\x01\x16previousElementSibling\x01\x16previousElementSibling\0\0\0%__widl_f_next_element_sibling_Element\0\0\x01\x07Element\x01\0\x01\x12nextElementSibling\x01\x12nextElementSibling\0\0\0!__widl_f_append_with_node_Element\x01\x01\x01\x07Element\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_node_0_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_node_1_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_node_2_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_node_3_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_node_4_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_node_5_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_node_6_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0#__widl_f_append_with_node_7_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0 __widl_f_append_with_str_Element\x01\x01\x01\x07Element\x01\0\0\x01\x06append\0\0\0\"__widl_f_append_with_str_0_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0\"__widl_f_append_with_str_1_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0\"__widl_f_append_with_str_2_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0\"__widl_f_append_with_str_3_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0\"__widl_f_append_with_str_4_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0\"__widl_f_append_with_str_5_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0\"__widl_f_append_with_str_6_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0\"__widl_f_append_with_str_7_Element\x01\0\x01\x07Element\x01\0\0\x01\x06append\0\0\0\"__widl_f_prepend_with_node_Element\x01\x01\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_node_0_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_node_1_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_node_2_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_node_3_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_node_4_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_node_5_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_node_6_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0$__widl_f_prepend_with_node_7_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0!__widl_f_prepend_with_str_Element\x01\x01\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0#__widl_f_prepend_with_str_0_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0#__widl_f_prepend_with_str_1_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0#__widl_f_prepend_with_str_2_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0#__widl_f_prepend_with_str_3_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0#__widl_f_prepend_with_str_4_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0#__widl_f_prepend_with_str_5_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0#__widl_f_prepend_with_str_6_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0#__widl_f_prepend_with_str_7_Element\x01\0\x01\x07Element\x01\0\0\x01\x07prepend\0\0\0\x19__widl_f_children_Element\0\0\x01\x07Element\x01\0\x01\x08children\x01\x08children\0\0\0$__widl_f_first_element_child_Element\0\0\x01\x07Element\x01\0\x01\x11firstElementChild\x01\x11firstElementChild\0\0\0#__widl_f_last_element_child_Element\0\0\x01\x07Element\x01\0\x01\x10lastElementChild\x01\x10lastElementChild\0\0\0$__widl_f_child_element_count_Element\0\0\x01\x07Element\x01\0\x01\x11childElementCount\x01\x11childElementCount\0\0\x02\nErrorEvent\x1C__widl_instanceof_ErrorEvent\0\0\0\0\x17__widl_f_new_ErrorEvent\x01\0\x01\nErrorEvent\0\x01\x03new\0\0\0,__widl_f_new_with_event_init_dict_ErrorEvent\x01\0\x01\nErrorEvent\0\x01\x03new\0\0\0\x1B__widl_f_message_ErrorEvent\0\0\x01\nErrorEvent\x01\0\x01\x07message\x01\x07message\0\0\0\x1C__widl_f_filename_ErrorEvent\0\0\x01\nErrorEvent\x01\0\x01\x08filename\x01\x08filename\0\0\0\x1A__widl_f_lineno_ErrorEvent\0\0\x01\nErrorEvent\x01\0\x01\x06lineno\x01\x06lineno\0\0\0\x19__widl_f_colno_ErrorEvent\0\0\x01\nErrorEvent\x01\0\x01\x05colno\x01\x05colno\0\0\0\x19__widl_f_error_ErrorEvent\0\0\x01\nErrorEvent\x01\0\x01\x05error\x01\x05error\0\0\x02\x05Event\x17__widl_instanceof_Event\0\0\0\0\x12__widl_f_new_Event\x01\0\x01\x05Event\0\x01\x03new\0\0\0'__widl_f_new_with_event_init_dict_Event\x01\0\x01\x05Event\0\x01\x03new\0\0\0\x19__widl_f_init_event_Event\0\0\x01\x05Event\x01\0\0\x01\tinitEvent\0\0\0&__widl_f_init_event_with_bubbles_Event\0\0\x01\x05Event\x01\0\0\x01\tinitEvent\0\0\05__widl_f_init_event_with_bubbles_and_cancelable_Event\0\0\x01\x05Event\x01\0\0\x01\tinitEvent\0\0\0\x1E__widl_f_prevent_default_Event\0\0\x01\x05Event\x01\0\0\x01\x0EpreventDefault\0\0\0)__widl_f_stop_immediate_propagation_Event\0\0\x01\x05Event\x01\0\0\x01\x18stopImmediatePropagation\0\0\0\x1F__widl_f_stop_propagation_Event\0\0\x01\x05Event\x01\0\0\x01\x0FstopPropagation\0\0\0\x13__widl_f_type_Event\0\0\x01\x05Event\x01\0\x01\x04type\x01\x04type\0\0\0\x15__widl_f_target_Event\0\0\x01\x05Event\x01\0\x01\x06target\x01\x06target\0\0\0\x1D__widl_f_current_target_Event\0\0\x01\x05Event\x01\0\x01\rcurrentTarget\x01\rcurrentTarget\0\0\0\x1A__widl_f_event_phase_Event\0\0\x01\x05Event\x01\0\x01\neventPhase\x01\neventPhase\0\0\0\x16__widl_f_bubbles_Event\0\0\x01\x05Event\x01\0\x01\x07bubbles\x01\x07bubbles\0\0\0\x19__widl_f_cancelable_Event\0\0\x01\x05Event\x01\0\x01\ncancelable\x01\ncancelable\0\0\0 __widl_f_default_prevented_Event\0\0\x01\x05Event\x01\0\x01\x10defaultPrevented\x01\x10defaultPrevented\0\0\0\x17__widl_f_composed_Event\0\0\x01\x05Event\x01\0\x01\x08composed\x01\x08composed\0\0\0\x19__widl_f_is_trusted_Event\0\0\x01\x05Event\x01\0\x01\tisTrusted\x01\tisTrusted\0\0\0\x19__widl_f_time_stamp_Event\0\0\x01\x05Event\x01\0\x01\ttimeStamp\x01\ttimeStamp\0\0\0\x1C__widl_f_cancel_bubble_Event\0\0\x01\x05Event\x01\0\x01\x0CcancelBubble\x01\x0CcancelBubble\0\0\0 __widl_f_set_cancel_bubble_Event\0\0\x01\x05Event\x01\0\x02\x0CcancelBubble\x01\x0CcancelBubble\0\0\x02\x0BEventSource\x1D__widl_instanceof_EventSource\0\0\0\0\x18__widl_f_new_EventSource\x01\0\x01\x0BEventSource\0\x01\x03new\0\0\04__widl_f_new_with_event_source_init_dict_EventSource\x01\0\x01\x0BEventSource\0\x01\x03new\0\0\0\x1A__widl_f_close_EventSource\0\0\x01\x0BEventSource\x01\0\0\x01\x05close\0\0\0\x18__widl_f_url_EventSource\0\0\x01\x0BEventSource\x01\0\x01\x03url\x01\x03url\0\0\0%__widl_f_with_credentials_EventSource\0\0\x01\x0BEventSource\x01\0\x01\x0FwithCredentials\x01\x0FwithCredentials\0\0\0 __widl_f_ready_state_EventSource\0\0\x01\x0BEventSource\x01\0\x01\nreadyState\x01\nreadyState\0\0\0\x1B__widl_f_onopen_EventSource\0\0\x01\x0BEventSource\x01\0\x01\x06onopen\x01\x06onopen\0\0\0\x1F__widl_f_set_onopen_EventSource\0\0\x01\x0BEventSource\x01\0\x02\x06onopen\x01\x06onopen\0\0\0\x1E__widl_f_onmessage_EventSource\0\0\x01\x0BEventSource\x01\0\x01\tonmessage\x01\tonmessage\0\0\0\"__widl_f_set_onmessage_EventSource\0\0\x01\x0BEventSource\x01\0\x02\tonmessage\x01\tonmessage\0\0\0\x1C__widl_f_onerror_EventSource\0\0\x01\x0BEventSource\x01\0\x01\x07onerror\x01\x07onerror\0\0\0 __widl_f_set_onerror_EventSource\0\0\x01\x0BEventSource\x01\0\x02\x07onerror\x01\x07onerror\0\0\x02\x0BEventTarget\x1D__widl_instanceof_EventTarget\0\0\0\0\x18__widl_f_new_EventTarget\x01\0\x01\x0BEventTarget\0\x01\x03new\0\0\05__widl_f_add_event_listener_with_callback_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x10addEventListener\0\0\0;__widl_f_add_event_listener_with_event_listener_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x10addEventListener\0\0\0T__widl_f_add_event_listener_with_callback_and_add_event_listener_options_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x10addEventListener\0\0\0Z__widl_f_add_event_listener_with_event_listener_and_add_event_listener_options_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x10addEventListener\0\0\0>__widl_f_add_event_listener_with_callback_and_bool_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x10addEventListener\0\0\0D__widl_f_add_event_listener_with_event_listener_and_bool_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x10addEventListener\0\0\0h__widl_f_add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x10addEventListener\0\0\0n__widl_f_add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x10addEventListener\0\0\0R__widl_f_add_event_listener_with_callback_and_bool_and_wants_untrusted_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x10addEventListener\0\0\0X__widl_f_add_event_listener_with_event_listener_and_bool_and_wants_untrusted_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x10addEventListener\0\0\0#__widl_f_dispatch_event_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\rdispatchEvent\0\0\08__widl_f_remove_event_listener_with_callback_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x13removeEventListener\0\0\0>__widl_f_remove_event_listener_with_event_listener_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x13removeEventListener\0\0\0S__widl_f_remove_event_listener_with_callback_and_event_listener_options_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x13removeEventListener\0\0\0Y__widl_f_remove_event_listener_with_event_listener_and_event_listener_options_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x13removeEventListener\0\0\0A__widl_f_remove_event_listener_with_callback_and_bool_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x13removeEventListener\0\0\0G__widl_f_remove_event_listener_with_event_listener_and_bool_EventTarget\x01\0\x01\x0BEventTarget\x01\0\0\x01\x13removeEventListener\0\0\x02\x0FExtendableEvent!__widl_instanceof_ExtendableEvent\0\0\0\0\x1C__widl_f_new_ExtendableEvent\x01\0\x01\x0FExtendableEvent\0\x01\x03new\0\0\01__widl_f_new_with_event_init_dict_ExtendableEvent\x01\0\x01\x0FExtendableEvent\0\x01\x03new\0\0\0#__widl_f_wait_until_ExtendableEvent\x01\0\x01\x0FExtendableEvent\x01\0\0\x01\twaitUntil\0\0\x02\x16ExtendableMessageEvent(__widl_instanceof_ExtendableMessageEvent\0\0\0\0#__widl_f_new_ExtendableMessageEvent\x01\0\x01\x16ExtendableMessageEvent\0\x01\x03new\0\0\08__widl_f_new_with_event_init_dict_ExtendableMessageEvent\x01\0\x01\x16ExtendableMessageEvent\0\x01\x03new\0\0\0$__widl_f_data_ExtendableMessageEvent\0\0\x01\x16ExtendableMessageEvent\x01\0\x01\x04data\x01\x04data\0\0\0&__widl_f_origin_ExtendableMessageEvent\0\0\x01\x16ExtendableMessageEvent\x01\0\x01\x06origin\x01\x06origin\0\0\0-__widl_f_last_event_id_ExtendableMessageEvent\0\0\x01\x16ExtendableMessageEvent\x01\0\x01\x0BlastEventId\x01\x0BlastEventId\0\0\0&__widl_f_source_ExtendableMessageEvent\0\0\x01\x16ExtendableMessageEvent\x01\0\x01\x06source\x01\x06source\0\0\x02\nFetchEvent\x1C__widl_instanceof_FetchEvent\0\0\0\0\x17__widl_f_new_FetchEvent\x01\0\x01\nFetchEvent\0\x01\x03new\0\0\0 __widl_f_respond_with_FetchEvent\x01\0\x01\nFetchEvent\x01\0\0\x01\x0BrespondWith\0\0\0\x1B__widl_f_request_FetchEvent\0\0\x01\nFetchEvent\x01\0\x01\x07request\x01\x07request\0\0\0\x1D__widl_f_client_id_FetchEvent\0\0\x01\nFetchEvent\x01\0\x01\x08clientId\x01\x08clientId\0\0\0\x1D__widl_f_is_reload_FetchEvent\0\0\x01\nFetchEvent\x01\0\x01\x08isReload\x01\x08isReload\0\0\x02\rFetchObserver\x1F__widl_instanceof_FetchObserver\0\0\0\0\x1C__widl_f_state_FetchObserver\0\0\x01\rFetchObserver\x01\0\x01\x05state\x01\x05state\0\0\0$__widl_f_onstatechange_FetchObserver\0\0\x01\rFetchObserver\x01\0\x01\ronstatechange\x01\ronstatechange\0\0\0(__widl_f_set_onstatechange_FetchObserver\0\0\x01\rFetchObserver\x01\0\x02\ronstatechange\x01\ronstatechange\0\0\0(__widl_f_onrequestprogress_FetchObserver\0\0\x01\rFetchObserver\x01\0\x01\x11onrequestprogress\x01\x11onrequestprogress\0\0\0,__widl_f_set_onrequestprogress_FetchObserver\0\0\x01\rFetchObserver\x01\0\x02\x11onrequestprogress\x01\x11onrequestprogress\0\0\0)__widl_f_onresponseprogress_FetchObserver\0\0\x01\rFetchObserver\x01\0\x01\x12onresponseprogress\x01\x12onresponseprogress\0\0\0-__widl_f_set_onresponseprogress_FetchObserver\0\0\x01\rFetchObserver\x01\0\x02\x12onresponseprogress\x01\x12onresponseprogress\0\0\x02\x04File\x16__widl_instanceof_File\0\0\0\0\x12__widl_f_name_File\0\0\x01\x04File\x01\0\x01\x04name\x01\x04name\0\0\0\x1B__widl_f_last_modified_File\0\0\x01\x04File\x01\0\x01\x0ClastModified\x01\x0ClastModified\0\0\x02\x08FileList\x1A__widl_instanceof_FileList\0\0\0\0\x16__widl_f_item_FileList\0\0\x01\x08FileList\x01\0\0\x01\x04item\0\0\0\x15__widl_f_get_FileList\0\0\x01\x08FileList\x01\0\x03\x01\x03get\0\0\0\x18__widl_f_length_FileList\0\0\x01\x08FileList\x01\0\x01\x06length\x01\x06length\0\0\x02\nFileReader\x1C__widl_instanceof_FileReader\0\0\0\0\x17__widl_f_new_FileReader\x01\0\x01\nFileReader\0\x01\x03new\0\0\0\x19__widl_f_abort_FileReader\0\0\x01\nFileReader\x01\0\0\x01\x05abort\0\0\0(__widl_f_read_as_array_buffer_FileReader\x01\0\x01\nFileReader\x01\0\0\x01\x11readAsArrayBuffer\0\0\0)__widl_f_read_as_binary_string_FileReader\x01\0\x01\nFileReader\x01\0\0\x01\x12readAsBinaryString\0\0\0$__widl_f_read_as_data_url_FileReader\x01\0\x01\nFileReader\x01\0\0\x01\rreadAsDataURL\0\0\0 __widl_f_read_as_text_FileReader\x01\0\x01\nFileReader\x01\0\0\x01\nreadAsText\0\0\0+__widl_f_read_as_text_with_label_FileReader\x01\0\x01\nFileReader\x01\0\0\x01\nreadAsText\0\0\0\x1F__widl_f_ready_state_FileReader\0\0\x01\nFileReader\x01\0\x01\nreadyState\x01\nreadyState\0\0\0\x1A__widl_f_result_FileReader\x01\0\x01\nFileReader\x01\0\x01\x06result\x01\x06result\0\0\0\x19__widl_f_error_FileReader\0\0\x01\nFileReader\x01\0\x01\x05error\x01\x05error\0\0\0\x1F__widl_f_onloadstart_FileReader\0\0\x01\nFileReader\x01\0\x01\x0Bonloadstart\x01\x0Bonloadstart\0\0\0#__widl_f_set_onloadstart_FileReader\0\0\x01\nFileReader\x01\0\x02\x0Bonloadstart\x01\x0Bonloadstart\0\0\0\x1E__widl_f_onprogress_FileReader\0\0\x01\nFileReader\x01\0\x01\nonprogress\x01\nonprogress\0\0\0\"__widl_f_set_onprogress_FileReader\0\0\x01\nFileReader\x01\0\x02\nonprogress\x01\nonprogress\0\0\0\x1A__widl_f_onload_FileReader\0\0\x01\nFileReader\x01\0\x01\x06onload\x01\x06onload\0\0\0\x1E__widl_f_set_onload_FileReader\0\0\x01\nFileReader\x01\0\x02\x06onload\x01\x06onload\0\0\0\x1B__widl_f_onabort_FileReader\0\0\x01\nFileReader\x01\0\x01\x07onabort\x01\x07onabort\0\0\0\x1F__widl_f_set_onabort_FileReader\0\0\x01\nFileReader\x01\0\x02\x07onabort\x01\x07onabort\0\0\0\x1B__widl_f_onerror_FileReader\0\0\x01\nFileReader\x01\0\x01\x07onerror\x01\x07onerror\0\0\0\x1F__widl_f_set_onerror_FileReader\0\0\x01\nFileReader\x01\0\x02\x07onerror\x01\x07onerror\0\0\0\x1D__widl_f_onloadend_FileReader\0\0\x01\nFileReader\x01\0\x01\tonloadend\x01\tonloadend\0\0\0!__widl_f_set_onloadend_FileReader\0\0\x01\nFileReader\x01\0\x02\tonloadend\x01\tonloadend\0\0\x02\x0EFileReaderSync __widl_instanceof_FileReaderSync\0\0\0\0\x1B__widl_f_new_FileReaderSync\x01\0\x01\x0EFileReaderSync\0\x01\x03new\0\0\0,__widl_f_read_as_array_buffer_FileReaderSync\x01\0\x01\x0EFileReaderSync\x01\0\0\x01\x11readAsArrayBuffer\0\0\0-__widl_f_read_as_binary_string_FileReaderSync\x01\0\x01\x0EFileReaderSync\x01\0\0\x01\x12readAsBinaryString\0\0\0(__widl_f_read_as_data_url_FileReaderSync\x01\0\x01\x0EFileReaderSync\x01\0\0\x01\rreadAsDataURL\0\0\0$__widl_f_read_as_text_FileReaderSync\x01\0\x01\x0EFileReaderSync\x01\0\0\x01\nreadAsText\0\0\02__widl_f_read_as_text_with_encoding_FileReaderSync\x01\0\x01\x0EFileReaderSync\x01\0\0\x01\nreadAsText\0\0\x02\nFileSystem\x1C__widl_instanceof_FileSystem\0\0\0\0\x18__widl_f_name_FileSystem\0\0\x01\nFileSystem\x01\0\x01\x04name\x01\x04name\0\0\0\x18__widl_f_root_FileSystem\0\0\x01\nFileSystem\x01\0\x01\x04root\x01\x04root\0\0\x02\x18FileSystemDirectoryEntry*__widl_instanceof_FileSystemDirectoryEntry\0\0\0\0/__widl_f_create_reader_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x0CcreateReader\0\0\0/__widl_f_get_directory_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x0CgetDirectory\0\0\09__widl_f_get_directory_with_path_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x0CgetDirectory\0\0\0E__widl_f_get_directory_with_path_and_options_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x0CgetDirectory\0\0\0R__widl_f_get_directory_with_path_and_options_and_callback_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x0CgetDirectory\0\0\0d__widl_f_get_directory_with_path_and_options_and_file_system_entry_callback_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x0CgetDirectory\0\0\0___widl_f_get_directory_with_path_and_options_and_callback_and_callback_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x0CgetDirectory\0\0\0q__widl_f_get_directory_with_path_and_options_and_file_system_entry_callback_and_callback_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x0CgetDirectory\0\0\0e__widl_f_get_directory_with_path_and_options_and_callback_and_error_callback_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x0CgetDirectory\0\0\0w__widl_f_get_directory_with_path_and_options_and_file_system_entry_callback_and_error_callback_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x0CgetDirectory\0\0\0*__widl_f_get_file_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x07getFile\0\0\04__widl_f_get_file_with_path_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x07getFile\0\0\0@__widl_f_get_file_with_path_and_options_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x07getFile\0\0\0M__widl_f_get_file_with_path_and_options_and_callback_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x07getFile\0\0\0___widl_f_get_file_with_path_and_options_and_file_system_entry_callback_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x07getFile\0\0\0Z__widl_f_get_file_with_path_and_options_and_callback_and_callback_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x07getFile\0\0\0l__widl_f_get_file_with_path_and_options_and_file_system_entry_callback_and_callback_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x07getFile\0\0\0`__widl_f_get_file_with_path_and_options_and_callback_and_error_callback_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x07getFile\0\0\0r__widl_f_get_file_with_path_and_options_and_file_system_entry_callback_and_error_callback_FileSystemDirectoryEntry\0\0\x01\x18FileSystemDirectoryEntry\x01\0\0\x01\x07getFile\0\0\x02\x19FileSystemDirectoryReader+__widl_instanceof_FileSystemDirectoryReader\0\0\0\0=__widl_f_read_entries_with_callback_FileSystemDirectoryReader\x01\0\x01\x19FileSystemDirectoryReader\x01\0\0\x01\x0BreadEntries\0\0\0Q__widl_f_read_entries_with_file_system_entries_callback_FileSystemDirectoryReader\x01\0\x01\x19FileSystemDirectoryReader\x01\0\0\x01\x0BreadEntries\0\0\0J__widl_f_read_entries_with_callback_and_callback_FileSystemDirectoryReader\x01\0\x01\x19FileSystemDirectoryReader\x01\0\0\x01\x0BreadEntries\0\0\0^__widl_f_read_entries_with_file_system_entries_callback_and_callback_FileSystemDirectoryReader\x01\0\x01\x19FileSystemDirectoryReader\x01\0\0\x01\x0BreadEntries\0\0\0P__widl_f_read_entries_with_callback_and_error_callback_FileSystemDirectoryReader\x01\0\x01\x19FileSystemDirectoryReader\x01\0\0\x01\x0BreadEntries\0\0\0d__widl_f_read_entries_with_file_system_entries_callback_and_error_callback_FileSystemDirectoryReader\x01\0\x01\x19FileSystemDirectoryReader\x01\0\0\x01\x0BreadEntries\0\0\x02\x0FFileSystemEntry!__widl_instanceof_FileSystemEntry\0\0\0\0#__widl_f_get_parent_FileSystemEntry\0\0\x01\x0FFileSystemEntry\x01\0\0\x01\tgetParent\0\0\01__widl_f_get_parent_with_callback_FileSystemEntry\0\0\x01\x0FFileSystemEntry\x01\0\0\x01\tgetParent\0\0\0C__widl_f_get_parent_with_file_system_entry_callback_FileSystemEntry\0\0\x01\x0FFileSystemEntry\x01\0\0\x01\tgetParent\0\0\0>__widl_f_get_parent_with_callback_and_callback_FileSystemEntry\0\0\x01\x0FFileSystemEntry\x01\0\0\x01\tgetParent\0\0\0P__widl_f_get_parent_with_file_system_entry_callback_and_callback_FileSystemEntry\0\0\x01\x0FFileSystemEntry\x01\0\0\x01\tgetParent\0\0\0D__widl_f_get_parent_with_callback_and_error_callback_FileSystemEntry\0\0\x01\x0FFileSystemEntry\x01\0\0\x01\tgetParent\0\0\0V__widl_f_get_parent_with_file_system_entry_callback_and_error_callback_FileSystemEntry\0\0\x01\x0FFileSystemEntry\x01\0\0\x01\tgetParent\0\0\0 __widl_f_is_file_FileSystemEntry\0\0\x01\x0FFileSystemEntry\x01\0\x01\x06isFile\x01\x06isFile\0\0\0%__widl_f_is_directory_FileSystemEntry\0\0\x01\x0FFileSystemEntry\x01\0\x01\x0BisDirectory\x01\x0BisDirectory\0\0\0\x1D__widl_f_name_FileSystemEntry\0\0\x01\x0FFileSystemEntry\x01\0\x01\x04name\x01\x04name\0\0\0\"__widl_f_full_path_FileSystemEntry\0\0\x01\x0FFileSystemEntry\x01\0\x01\x08fullPath\x01\x08fullPath\0\0\0#__widl_f_filesystem_FileSystemEntry\0\0\x01\x0FFileSystemEntry\x01\0\x01\nfilesystem\x01\nfilesystem\0\0\x02\x13FileSystemFileEntry%__widl_instanceof_FileSystemFileEntry\0\0\0\0/__widl_f_file_with_callback_FileSystemFileEntry\0\0\x01\x13FileSystemFileEntry\x01\0\0\x01\x04file\0\0\04__widl_f_file_with_file_callback_FileSystemFileEntry\0\0\x01\x13FileSystemFileEntry\x01\0\0\x01\x04file\0\0\0<__widl_f_file_with_callback_and_callback_FileSystemFileEntry\0\0\x01\x13FileSystemFileEntry\x01\0\0\x01\x04file\0\0\0A__widl_f_file_with_file_callback_and_callback_FileSystemFileEntry\0\0\x01\x13FileSystemFileEntry\x01\0\0\x01\x04file\0\0\0B__widl_f_file_with_callback_and_error_callback_FileSystemFileEntry\0\0\x01\x13FileSystemFileEntry\x01\0\0\x01\x04file\0\0\0G__widl_f_file_with_file_callback_and_error_callback_FileSystemFileEntry\0\0\x01\x13FileSystemFileEntry\x01\0\0\x01\x04file\0\0\x02\nFocusEvent\x1C__widl_instanceof_FocusEvent\0\0\0\0\x17__widl_f_new_FocusEvent\x01\0\x01\nFocusEvent\0\x01\x03new\0\0\02__widl_f_new_with_focus_event_init_dict_FocusEvent\x01\0\x01\nFocusEvent\0\x01\x03new\0\0\0\"__widl_f_related_target_FocusEvent\0\0\x01\nFocusEvent\x01\0\x01\rrelatedTarget\x01\rrelatedTarget\0\0\x02\x08FontFace\x1A__widl_instanceof_FontFace\0\0\0\0\x1E__widl_f_new_with_str_FontFace\x01\0\x01\x08FontFace\0\x01\x03new\0\0\0'__widl_f_new_with_array_buffer_FontFace\x01\0\x01\x08FontFace\0\x01\x03new\0\0\0,__widl_f_new_with_array_buffer_view_FontFace\x01\0\x01\x08FontFace\0\x01\x03new\0\0\0#__widl_f_new_with_u8_array_FontFace\x01\0\x01\x08FontFace\0\x01\x03new\0\0\0.__widl_f_new_with_str_and_descriptors_FontFace\x01\0\x01\x08FontFace\0\x01\x03new\0\0\07__widl_f_new_with_array_buffer_and_descriptors_FontFace\x01\0\x01\x08FontFace\0\x01\x03new\0\0\0<__widl_f_new_with_array_buffer_view_and_descriptors_FontFace\x01\0\x01\x08FontFace\0\x01\x03new\0\0\03__widl_f_new_with_u8_array_and_descriptors_FontFace\x01\0\x01\x08FontFace\0\x01\x03new\0\0\0\x16__widl_f_load_FontFace\x01\0\x01\x08FontFace\x01\0\0\x01\x04load\0\0\0\x18__widl_f_family_FontFace\0\0\x01\x08FontFace\x01\0\x01\x06family\x01\x06family\0\0\0\x1C__widl_f_set_family_FontFace\0\0\x01\x08FontFace\x01\0\x02\x06family\x01\x06family\0\0\0\x17__widl_f_style_FontFace\0\0\x01\x08FontFace\x01\0\x01\x05style\x01\x05style\0\0\0\x1B__widl_f_set_style_FontFace\0\0\x01\x08FontFace\x01\0\x02\x05style\x01\x05style\0\0\0\x18__widl_f_weight_FontFace\0\0\x01\x08FontFace\x01\0\x01\x06weight\x01\x06weight\0\0\0\x1C__widl_f_set_weight_FontFace\0\0\x01\x08FontFace\x01\0\x02\x06weight\x01\x06weight\0\0\0\x19__widl_f_stretch_FontFace\0\0\x01\x08FontFace\x01\0\x01\x07stretch\x01\x07stretch\0\0\0\x1D__widl_f_set_stretch_FontFace\0\0\x01\x08FontFace\x01\0\x02\x07stretch\x01\x07stretch\0\0\0\x1F__widl_f_unicode_range_FontFace\0\0\x01\x08FontFace\x01\0\x01\x0CunicodeRange\x01\x0CunicodeRange\0\0\0#__widl_f_set_unicode_range_FontFace\0\0\x01\x08FontFace\x01\0\x02\x0CunicodeRange\x01\x0CunicodeRange\0\0\0\x19__widl_f_variant_FontFace\0\0\x01\x08FontFace\x01\0\x01\x07variant\x01\x07variant\0\0\0\x1D__widl_f_set_variant_FontFace\0\0\x01\x08FontFace\x01\0\x02\x07variant\x01\x07variant\0\0\0\"__widl_f_feature_settings_FontFace\0\0\x01\x08FontFace\x01\0\x01\x0FfeatureSettings\x01\x0FfeatureSettings\0\0\0&__widl_f_set_feature_settings_FontFace\0\0\x01\x08FontFace\x01\0\x02\x0FfeatureSettings\x01\x0FfeatureSettings\0\0\0$__widl_f_variation_settings_FontFace\0\0\x01\x08FontFace\x01\0\x01\x11variationSettings\x01\x11variationSettings\0\0\0(__widl_f_set_variation_settings_FontFace\0\0\x01\x08FontFace\x01\0\x02\x11variationSettings\x01\x11variationSettings\0\0\0\x19__widl_f_display_FontFace\0\0\x01\x08FontFace\x01\0\x01\x07display\x01\x07display\0\0\0\x1D__widl_f_set_display_FontFace\0\0\x01\x08FontFace\x01\0\x02\x07display\x01\x07display\0\0\0\x18__widl_f_status_FontFace\0\0\x01\x08FontFace\x01\0\x01\x06status\x01\x06status\0\0\0\x18__widl_f_loaded_FontFace\x01\0\x01\x08FontFace\x01\0\x01\x06loaded\x01\x06loaded\0\0\x02\x0BFontFaceSet\x1D__widl_instanceof_FontFaceSet\0\0\0\0\x18__widl_f_add_FontFaceSet\x01\0\x01\x0BFontFaceSet\x01\0\0\x01\x03add\0\0\0\x1A__widl_f_check_FontFaceSet\x01\0\x01\x0BFontFaceSet\x01\0\0\x01\x05check\0\0\0$__widl_f_check_with_text_FontFaceSet\x01\0\x01\x0BFontFaceSet\x01\0\0\x01\x05check\0\0\0\x1A__widl_f_clear_FontFaceSet\0\0\x01\x0BFontFaceSet\x01\0\0\x01\x05clear\0\0\0\x1B__widl_f_delete_FontFaceSet\0\0\x01\x0BFontFaceSet\x01\0\0\x01\x06delete\0\0\0\x1D__widl_f_for_each_FontFaceSet\x01\0\x01\x0BFontFaceSet\x01\0\0\x01\x07forEach\0\0\0+__widl_f_for_each_with_this_arg_FontFaceSet\x01\0\x01\x0BFontFaceSet\x01\0\0\x01\x07forEach\0\0\0\x18__widl_f_has_FontFaceSet\0\0\x01\x0BFontFaceSet\x01\0\0\x01\x03has\0\0\0\x19__widl_f_load_FontFaceSet\0\0\x01\x0BFontFaceSet\x01\0\0\x01\x04load\0\0\0#__widl_f_load_with_text_FontFaceSet\0\0\x01\x0BFontFaceSet\x01\0\0\x01\x04load\0\0\0\x19__widl_f_size_FontFaceSet\0\0\x01\x0BFontFaceSet\x01\0\x01\x04size\x01\x04size\0\0\0\x1E__widl_f_onloading_FontFaceSet\0\0\x01\x0BFontFaceSet\x01\0\x01\tonloading\x01\tonloading\0\0\0\"__widl_f_set_onloading_FontFaceSet\0\0\x01\x0BFontFaceSet\x01\0\x02\tonloading\x01\tonloading\0\0\0\"__widl_f_onloadingdone_FontFaceSet\0\0\x01\x0BFontFaceSet\x01\0\x01\ronloadingdone\x01\ronloadingdone\0\0\0&__widl_f_set_onloadingdone_FontFaceSet\0\0\x01\x0BFontFaceSet\x01\0\x02\ronloadingdone\x01\ronloadingdone\0\0\0#__widl_f_onloadingerror_FontFaceSet\0\0\x01\x0BFontFaceSet\x01\0\x01\x0Eonloadingerror\x01\x0Eonloadingerror\0\0\0'__widl_f_set_onloadingerror_FontFaceSet\0\0\x01\x0BFontFaceSet\x01\0\x02\x0Eonloadingerror\x01\x0Eonloadingerror\0\0\0\x1A__widl_f_ready_FontFaceSet\x01\0\x01\x0BFontFaceSet\x01\0\x01\x05ready\x01\x05ready\0\0\0\x1B__widl_f_status_FontFaceSet\0\0\x01\x0BFontFaceSet\x01\0\x01\x06status\x01\x06status\0\0\x02\x14FontFaceSetLoadEvent&__widl_instanceof_FontFaceSetLoadEvent\0\0\0\0!__widl_f_new_FontFaceSetLoadEvent\x01\0\x01\x14FontFaceSetLoadEvent\0\x01\x03new\0\0\06__widl_f_new_with_event_init_dict_FontFaceSetLoadEvent\x01\0\x01\x14FontFaceSetLoadEvent\0\x01\x03new\0\0\x02\x08FormData\x1A__widl_instanceof_FormData\0\0\0\0\x15__widl_f_new_FormData\x01\0\x01\x08FormData\0\x01\x03new\0\0\0\x1F__widl_f_new_with_form_FormData\x01\0\x01\x08FormData\0\x01\x03new\0\0\0\"__widl_f_append_with_blob_FormData\x01\0\x01\x08FormData\x01\0\0\x01\x06append\0\0\0/__widl_f_append_with_blob_and_filename_FormData\x01\0\x01\x08FormData\x01\0\0\x01\x06append\0\0\0!__widl_f_append_with_str_FormData\x01\0\x01\x08FormData\x01\0\0\x01\x06append\0\0\0\x18__widl_f_delete_FormData\0\0\x01\x08FormData\x01\0\0\x01\x06delete\0\0\0\x15__widl_f_get_FormData\0\0\x01\x08FormData\x01\0\0\x01\x03get\0\0\0\x15__widl_f_has_FormData\0\0\x01\x08FormData\x01\0\0\x01\x03has\0\0\0\x1F__widl_f_set_with_blob_FormData\x01\0\x01\x08FormData\x01\0\0\x01\x03set\0\0\0,__widl_f_set_with_blob_and_filename_FormData\x01\0\x01\x08FormData\x01\0\0\x01\x03set\0\0\0\x1E__widl_f_set_with_str_FormData\x01\0\x01\x08FormData\x01\0\0\x01\x03set\0\0\x02\x10FuzzingFunctions\"__widl_instanceof_FuzzingFunctions\0\0\0\0'__widl_f_cycle_collect_FuzzingFunctions\0\0\x01\x10FuzzingFunctions\x01\x01\0\x01\x0CcycleCollect\0\0\0.__widl_f_enable_accessibility_FuzzingFunctions\x01\0\x01\x10FuzzingFunctions\x01\x01\0\x01\x13enableAccessibility\0\0\0)__widl_f_garbage_collect_FuzzingFunctions\0\0\x01\x10FuzzingFunctions\x01\x01\0\x01\x0EgarbageCollect\0\0\x02\x08GainNode\x1A__widl_instanceof_GainNode\0\0\0\0\x15__widl_f_new_GainNode\x01\0\x01\x08GainNode\0\x01\x03new\0\0\0\"__widl_f_new_with_options_GainNode\x01\0\x01\x08GainNode\0\x01\x03new\0\0\0\x16__widl_f_gain_GainNode\0\0\x01\x08GainNode\x01\0\x01\x04gain\x01\x04gain\0\0\x02\x07Gamepad\x19__widl_instanceof_Gamepad\0\0\0\0\x13__widl_f_id_Gamepad\0\0\x01\x07Gamepad\x01\0\x01\x02id\x01\x02id\0\0\0\x16__widl_f_index_Gamepad\0\0\x01\x07Gamepad\x01\0\x01\x05index\x01\x05index\0\0\0\x18__widl_f_mapping_Gamepad\0\0\x01\x07Gamepad\x01\0\x01\x07mapping\x01\x07mapping\0\0\0\x15__widl_f_hand_Gamepad\0\0\x01\x07Gamepad\x01\0\x01\x04hand\x01\x04hand\0\0\0\x1B__widl_f_display_id_Gamepad\0\0\x01\x07Gamepad\x01\0\x01\tdisplayId\x01\tdisplayId\0\0\0\x1A__widl_f_connected_Gamepad\0\0\x01\x07Gamepad\x01\0\x01\tconnected\x01\tconnected\0\0\0\x1A__widl_f_timestamp_Gamepad\0\0\x01\x07Gamepad\x01\0\x01\ttimestamp\x01\ttimestamp\0\0\0\x15__widl_f_pose_Gamepad\0\0\x01\x07Gamepad\x01\0\x01\x04pose\x01\x04pose\0\0\x02\x14GamepadAxisMoveEvent&__widl_instanceof_GamepadAxisMoveEvent\0\0\0\0!__widl_f_new_GamepadAxisMoveEvent\x01\0\x01\x14GamepadAxisMoveEvent\0\x01\x03new\0\0\06__widl_f_new_with_event_init_dict_GamepadAxisMoveEvent\x01\0\x01\x14GamepadAxisMoveEvent\0\x01\x03new\0\0\0\"__widl_f_axis_GamepadAxisMoveEvent\0\0\x01\x14GamepadAxisMoveEvent\x01\0\x01\x04axis\x01\x04axis\0\0\0#__widl_f_value_GamepadAxisMoveEvent\0\0\x01\x14GamepadAxisMoveEvent\x01\0\x01\x05value\x01\x05value\0\0\x02\rGamepadButton\x1F__widl_instanceof_GamepadButton\0\0\0\0\x1E__widl_f_pressed_GamepadButton\0\0\x01\rGamepadButton\x01\0\x01\x07pressed\x01\x07pressed\0\0\0\x1E__widl_f_touched_GamepadButton\0\0\x01\rGamepadButton\x01\0\x01\x07touched\x01\x07touched\0\0\0\x1C__widl_f_value_GamepadButton\0\0\x01\rGamepadButton\x01\0\x01\x05value\x01\x05value\0\0\x02\x12GamepadButtonEvent$__widl_instanceof_GamepadButtonEvent\0\0\0\0\x1F__widl_f_new_GamepadButtonEvent\x01\0\x01\x12GamepadButtonEvent\0\x01\x03new\0\0\04__widl_f_new_with_event_init_dict_GamepadButtonEvent\x01\0\x01\x12GamepadButtonEvent\0\x01\x03new\0\0\0\"__widl_f_button_GamepadButtonEvent\0\0\x01\x12GamepadButtonEvent\x01\0\x01\x06button\x01\x06button\0\0\x02\x0CGamepadEvent\x1E__widl_instanceof_GamepadEvent\0\0\0\0\x19__widl_f_new_GamepadEvent\x01\0\x01\x0CGamepadEvent\0\x01\x03new\0\0\0.__widl_f_new_with_event_init_dict_GamepadEvent\x01\0\x01\x0CGamepadEvent\0\x01\x03new\0\0\0\x1D__widl_f_gamepad_GamepadEvent\0\0\x01\x0CGamepadEvent\x01\0\x01\x07gamepad\x01\x07gamepad\0\0\x02\x15GamepadHapticActuator'__widl_instanceof_GamepadHapticActuator\0\0\0\0$__widl_f_pulse_GamepadHapticActuator\x01\0\x01\x15GamepadHapticActuator\x01\0\0\x01\x05pulse\0\0\0#__widl_f_type_GamepadHapticActuator\0\0\x01\x15GamepadHapticActuator\x01\0\x01\x04type\x01\x04type\0\0\x02\x0BGamepadPose\x1D__widl_instanceof_GamepadPose\0\0\0\0$__widl_f_has_orientation_GamepadPose\0\0\x01\x0BGamepadPose\x01\0\x01\x0EhasOrientation\x01\x0EhasOrientation\0\0\0!__widl_f_has_position_GamepadPose\0\0\x01\x0BGamepadPose\x01\0\x01\x0BhasPosition\x01\x0BhasPosition\0\0\0\x1D__widl_f_position_GamepadPose\x01\0\x01\x0BGamepadPose\x01\0\x01\x08position\x01\x08position\0\0\0$__widl_f_linear_velocity_GamepadPose\x01\0\x01\x0BGamepadPose\x01\0\x01\x0ElinearVelocity\x01\x0ElinearVelocity\0\0\0(__widl_f_linear_acceleration_GamepadPose\x01\0\x01\x0BGamepadPose\x01\0\x01\x12linearAcceleration\x01\x12linearAcceleration\0\0\0 __widl_f_orientation_GamepadPose\x01\0\x01\x0BGamepadPose\x01\0\x01\x0Borientation\x01\x0Borientation\0\0\0%__widl_f_angular_velocity_GamepadPose\x01\0\x01\x0BGamepadPose\x01\0\x01\x0FangularVelocity\x01\x0FangularVelocity\0\0\0)__widl_f_angular_acceleration_GamepadPose\x01\0\x01\x0BGamepadPose\x01\0\x01\x13angularAcceleration\x01\x13angularAcceleration\0\0\x02\x12GamepadServiceTest$__widl_instanceof_GamepadServiceTest\0\0\0\0'__widl_f_add_gamepad_GamepadServiceTest\x01\0\x01\x12GamepadServiceTest\x01\0\0\x01\naddGamepad\0\0\0/__widl_f_new_axis_move_event_GamepadServiceTest\0\0\x01\x12GamepadServiceTest\x01\0\0\x01\x10newAxisMoveEvent\0\0\0,__widl_f_new_button_event_GamepadServiceTest\0\0\x01\x12GamepadServiceTest\x01\0\0\x01\x0EnewButtonEvent\0\0\02__widl_f_new_button_value_event_GamepadServiceTest\0\0\x01\x12GamepadServiceTest\x01\0\0\x01\x13newButtonValueEvent\0\0\0)__widl_f_new_pose_move_GamepadServiceTest\0\0\x01\x12GamepadServiceTest\x01\0\0\x01\x0BnewPoseMove\0\0\0*__widl_f_remove_gamepad_GamepadServiceTest\0\0\x01\x12GamepadServiceTest\x01\0\0\x01\rremoveGamepad\0\0\0&__widl_f_no_mapping_GamepadServiceTest\0\0\x01\x12GamepadServiceTest\x01\0\x01\tnoMapping\x01\tnoMapping\0\0\0,__widl_f_standard_mapping_GamepadServiceTest\0\0\x01\x12GamepadServiceTest\x01\0\x01\x0FstandardMapping\x01\x0FstandardMapping\0\0\0#__widl_f_no_hand_GamepadServiceTest\0\0\x01\x12GamepadServiceTest\x01\0\x01\x06noHand\x01\x06noHand\0\0\0%__widl_f_left_hand_GamepadServiceTest\0\0\x01\x12GamepadServiceTest\x01\0\x01\x08leftHand\x01\x08leftHand\0\0\0&__widl_f_right_hand_GamepadServiceTest\0\0\x01\x12GamepadServiceTest\x01\0\x01\trightHand\x01\trightHand\0\0\x02\x11HTMLAllCollection#__widl_instanceof_HTMLAllCollection\0\0\0\0*__widl_f_item_with_index_HTMLAllCollection\0\0\x01\x11HTMLAllCollection\x01\0\0\x01\x04item\0\0\0)__widl_f_item_with_name_HTMLAllCollection\0\0\x01\x11HTMLAllCollection\x01\0\0\x01\x04item\0\0\0%__widl_f_named_item_HTMLAllCollection\0\0\x01\x11HTMLAllCollection\x01\0\0\x01\tnamedItem\0\0\0)__widl_f_get_with_index_HTMLAllCollection\0\0\x01\x11HTMLAllCollection\x01\0\x03\x01\x03get\0\0\0(__widl_f_get_with_name_HTMLAllCollection\0\0\x01\x11HTMLAllCollection\x01\0\x03\x01\x03get\0\0\0!__widl_f_length_HTMLAllCollection\0\0\x01\x11HTMLAllCollection\x01\0\x01\x06length\x01\x06length\0\0\x02\x11HTMLAnchorElement#__widl_instanceof_HTMLAnchorElement\0\0\0\0!__widl_f_target_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x01\x06target\x01\x06target\0\0\0%__widl_f_set_target_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x02\x06target\x01\x06target\0\0\0#__widl_f_download_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x01\x08download\x01\x08download\0\0\0'__widl_f_set_download_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x02\x08download\x01\x08download\0\0\0\x1F__widl_f_ping_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x01\x04ping\x01\x04ping\0\0\0#__widl_f_set_ping_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x02\x04ping\x01\x04ping\0\0\0\x1E__widl_f_rel_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x01\x03rel\x01\x03rel\0\0\0\"__widl_f_set_rel_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x02\x03rel\x01\x03rel\0\0\0*__widl_f_referrer_policy_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x01\x0EreferrerPolicy\x01\x0EreferrerPolicy\0\0\0.__widl_f_set_referrer_policy_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x02\x0EreferrerPolicy\x01\x0EreferrerPolicy\0\0\0#__widl_f_rel_list_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x01\x07relList\x01\x07relList\0\0\0#__widl_f_hreflang_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x01\x08hreflang\x01\x08hreflang\0\0\0'__widl_f_set_hreflang_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x02\x08hreflang\x01\x08hreflang\0\0\0\x1F__widl_f_type_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x01\x04type\x01\x04type\0\0\0#__widl_f_set_type_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x02\x04type\x01\x04type\0\0\0\x1F__widl_f_text_HTMLAnchorElement\x01\0\x01\x11HTMLAnchorElement\x01\0\x01\x04text\x01\x04text\0\0\0#__widl_f_set_text_HTMLAnchorElement\x01\0\x01\x11HTMLAnchorElement\x01\0\x02\x04text\x01\x04text\0\0\0!__widl_f_coords_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x01\x06coords\x01\x06coords\0\0\0%__widl_f_set_coords_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x02\x06coords\x01\x06coords\0\0\0\"__widl_f_charset_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x01\x07charset\x01\x07charset\0\0\0&__widl_f_set_charset_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x02\x07charset\x01\x07charset\0\0\0\x1F__widl_f_name_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x01\x04name\x01\x04name\0\0\0#__widl_f_set_name_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x02\x04name\x01\x04name\0\0\0\x1E__widl_f_rev_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x01\x03rev\x01\x03rev\0\0\0\"__widl_f_set_rev_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x02\x03rev\x01\x03rev\0\0\0 __widl_f_shape_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x01\x05shape\x01\x05shape\0\0\0$__widl_f_set_shape_HTMLAnchorElement\0\0\x01\x11HTMLAnchorElement\x01\0\x02\x05shape\x01\x05shape\0\0\x02\x0FHTMLAreaElement!__widl_instanceof_HTMLAreaElement\0\0\0\0\x1C__widl_f_alt_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x01\x03alt\x01\x03alt\0\0\0 __widl_f_set_alt_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x02\x03alt\x01\x03alt\0\0\0\x1F__widl_f_coords_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x01\x06coords\x01\x06coords\0\0\0#__widl_f_set_coords_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x02\x06coords\x01\x06coords\0\0\0\x1E__widl_f_shape_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x01\x05shape\x01\x05shape\0\0\0\"__widl_f_set_shape_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x02\x05shape\x01\x05shape\0\0\0\x1F__widl_f_target_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x01\x06target\x01\x06target\0\0\0#__widl_f_set_target_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x02\x06target\x01\x06target\0\0\0!__widl_f_download_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x01\x08download\x01\x08download\0\0\0%__widl_f_set_download_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x02\x08download\x01\x08download\0\0\0\x1D__widl_f_ping_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x01\x04ping\x01\x04ping\0\0\0!__widl_f_set_ping_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x02\x04ping\x01\x04ping\0\0\0\x1C__widl_f_rel_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x01\x03rel\x01\x03rel\0\0\0 __widl_f_set_rel_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x02\x03rel\x01\x03rel\0\0\0(__widl_f_referrer_policy_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x01\x0EreferrerPolicy\x01\x0EreferrerPolicy\0\0\0,__widl_f_set_referrer_policy_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x02\x0EreferrerPolicy\x01\x0EreferrerPolicy\0\0\0!__widl_f_rel_list_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x01\x07relList\x01\x07relList\0\0\0 __widl_f_no_href_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x01\x06noHref\x01\x06noHref\0\0\0$__widl_f_set_no_href_HTMLAreaElement\0\0\x01\x0FHTMLAreaElement\x01\0\x02\x06noHref\x01\x06noHref\0\0\x02\x10HTMLAudioElement\"__widl_instanceof_HTMLAudioElement\0\0\0\0\x12__widl_f_new_Audio\x01\0\x01\x05Audio\0\x01\x03new\0\0\0\x1B__widl_f_new_with_src_Audio\x01\0\x01\x05Audio\0\x01\x03new\0\0\x02\rHTMLBRElement\x1F__widl_instanceof_HTMLBRElement\0\0\0\0\x1C__widl_f_clear_HTMLBRElement\0\0\x01\rHTMLBRElement\x01\0\x01\x05clear\x01\x05clear\0\0\0 __widl_f_set_clear_HTMLBRElement\0\0\x01\rHTMLBRElement\x01\0\x02\x05clear\x01\x05clear\0\0\x02\x0FHTMLBaseElement!__widl_instanceof_HTMLBaseElement\0\0\0\0\x1D__widl_f_href_HTMLBaseElement\0\0\x01\x0FHTMLBaseElement\x01\0\x01\x04href\x01\x04href\0\0\0!__widl_f_set_href_HTMLBaseElement\0\0\x01\x0FHTMLBaseElement\x01\0\x02\x04href\x01\x04href\0\0\0\x1F__widl_f_target_HTMLBaseElement\0\0\x01\x0FHTMLBaseElement\x01\0\x01\x06target\x01\x06target\0\0\0#__widl_f_set_target_HTMLBaseElement\0\0\x01\x0FHTMLBaseElement\x01\0\x02\x06target\x01\x06target\0\0\x02\x0FHTMLBodyElement!__widl_instanceof_HTMLBodyElement\0\0\0\0\x1D__widl_f_text_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\x04text\x01\x04text\0\0\0!__widl_f_set_text_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\x04text\x01\x04text\0\0\0\x1D__widl_f_link_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\x04link\x01\x04link\0\0\0!__widl_f_set_link_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\x04link\x01\x04link\0\0\0\x1F__widl_f_v_link_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\x05vLink\x01\x05vLink\0\0\0#__widl_f_set_v_link_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\x05vLink\x01\x05vLink\0\0\0\x1F__widl_f_a_link_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\x05aLink\x01\x05aLink\0\0\0#__widl_f_set_a_link_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\x05aLink\x01\x05aLink\0\0\0!__widl_f_bg_color_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\x07bgColor\x01\x07bgColor\0\0\0%__widl_f_set_bg_color_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\x07bgColor\x01\x07bgColor\0\0\0#__widl_f_background_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\nbackground\x01\nbackground\0\0\0'__widl_f_set_background_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\nbackground\x01\nbackground\0\0\0%__widl_f_onafterprint_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\x0Conafterprint\x01\x0Conafterprint\0\0\0)__widl_f_set_onafterprint_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\x0Conafterprint\x01\x0Conafterprint\0\0\0&__widl_f_onbeforeprint_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\ronbeforeprint\x01\ronbeforeprint\0\0\0*__widl_f_set_onbeforeprint_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\ronbeforeprint\x01\ronbeforeprint\0\0\0'__widl_f_onbeforeunload_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\x0Eonbeforeunload\x01\x0Eonbeforeunload\0\0\0+__widl_f_set_onbeforeunload_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\x0Eonbeforeunload\x01\x0Eonbeforeunload\0\0\0%__widl_f_onhashchange_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\x0Conhashchange\x01\x0Conhashchange\0\0\0)__widl_f_set_onhashchange_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\x0Conhashchange\x01\x0Conhashchange\0\0\0)__widl_f_onlanguagechange_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\x10onlanguagechange\x01\x10onlanguagechange\0\0\0-__widl_f_set_onlanguagechange_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\x10onlanguagechange\x01\x10onlanguagechange\0\0\0\"__widl_f_onmessage_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\tonmessage\x01\tonmessage\0\0\0&__widl_f_set_onmessage_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\tonmessage\x01\tonmessage\0\0\0'__widl_f_onmessageerror_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\0+__widl_f_set_onmessageerror_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\0\"__widl_f_onoffline_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\tonoffline\x01\tonoffline\0\0\0&__widl_f_set_onoffline_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\tonoffline\x01\tonoffline\0\0\0!__widl_f_ononline_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\x08ononline\x01\x08ononline\0\0\0%__widl_f_set_ononline_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\x08ononline\x01\x08ononline\0\0\0#__widl_f_onpagehide_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\nonpagehide\x01\nonpagehide\0\0\0'__widl_f_set_onpagehide_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\nonpagehide\x01\nonpagehide\0\0\0#__widl_f_onpageshow_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\nonpageshow\x01\nonpageshow\0\0\0'__widl_f_set_onpageshow_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\nonpageshow\x01\nonpageshow\0\0\0#__widl_f_onpopstate_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\nonpopstate\x01\nonpopstate\0\0\0'__widl_f_set_onpopstate_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\nonpopstate\x01\nonpopstate\0\0\0\"__widl_f_onstorage_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\tonstorage\x01\tonstorage\0\0\0&__widl_f_set_onstorage_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\tonstorage\x01\tonstorage\0\0\0!__widl_f_onunload_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x01\x08onunload\x01\x08onunload\0\0\0%__widl_f_set_onunload_HTMLBodyElement\0\0\x01\x0FHTMLBodyElement\x01\0\x02\x08onunload\x01\x08onunload\0\0\x02\x11HTMLButtonElement#__widl_instanceof_HTMLButtonElement\0\0\0\0)__widl_f_check_validity_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\0\x01\rcheckValidity\0\0\0*__widl_f_report_validity_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\0\x01\x0EreportValidity\0\0\0.__widl_f_set_custom_validity_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\0\x01\x11setCustomValidity\0\0\0$__widl_f_autofocus_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\tautofocus\x01\tautofocus\0\0\0(__widl_f_set_autofocus_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x02\tautofocus\x01\tautofocus\0\0\0#__widl_f_disabled_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\x08disabled\x01\x08disabled\0\0\0'__widl_f_set_disabled_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x02\x08disabled\x01\x08disabled\0\0\0\x1F__widl_f_form_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\x04form\x01\x04form\0\0\0&__widl_f_form_action_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\nformAction\x01\nformAction\0\0\0*__widl_f_set_form_action_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x02\nformAction\x01\nformAction\0\0\0'__widl_f_form_enctype_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\x0BformEnctype\x01\x0BformEnctype\0\0\0+__widl_f_set_form_enctype_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x02\x0BformEnctype\x01\x0BformEnctype\0\0\0&__widl_f_form_method_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\nformMethod\x01\nformMethod\0\0\0*__widl_f_set_form_method_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x02\nformMethod\x01\nformMethod\0\0\0+__widl_f_form_no_validate_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\x0EformNoValidate\x01\x0EformNoValidate\0\0\0/__widl_f_set_form_no_validate_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x02\x0EformNoValidate\x01\x0EformNoValidate\0\0\0&__widl_f_form_target_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\nformTarget\x01\nformTarget\0\0\0*__widl_f_set_form_target_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x02\nformTarget\x01\nformTarget\0\0\0\x1F__widl_f_name_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\x04name\x01\x04name\0\0\0#__widl_f_set_name_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x02\x04name\x01\x04name\0\0\0\x1F__widl_f_type_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\x04type\x01\x04type\0\0\0#__widl_f_set_type_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x02\x04type\x01\x04type\0\0\0 __widl_f_value_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\x05value\x01\x05value\0\0\0$__widl_f_set_value_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x02\x05value\x01\x05value\0\0\0(__widl_f_will_validate_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\x0CwillValidate\x01\x0CwillValidate\0\0\0#__widl_f_validity_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\x08validity\x01\x08validity\0\0\0-__widl_f_validation_message_HTMLButtonElement\x01\0\x01\x11HTMLButtonElement\x01\0\x01\x11validationMessage\x01\x11validationMessage\0\0\0!__widl_f_labels_HTMLButtonElement\0\0\x01\x11HTMLButtonElement\x01\0\x01\x06labels\x01\x06labels\0\0\x02\x11HTMLCanvasElement#__widl_instanceof_HTMLCanvasElement\0\0\0\0&__widl_f_get_context_HTMLCanvasElement\x01\0\x01\x11HTMLCanvasElement\x01\0\0\x01\ngetContext\0\0\0;__widl_f_get_context_with_context_options_HTMLCanvasElement\x01\0\x01\x11HTMLCanvasElement\x01\0\0\x01\ngetContext\0\0\0\"__widl_f_to_blob_HTMLCanvasElement\x01\0\x01\x11HTMLCanvasElement\x01\0\0\x01\x06toBlob\0\0\0,__widl_f_to_blob_with_type_HTMLCanvasElement\x01\0\x01\x11HTMLCanvasElement\x01\0\0\x01\x06toBlob\0\0\0@__widl_f_to_blob_with_type_and_encoder_options_HTMLCanvasElement\x01\0\x01\x11HTMLCanvasElement\x01\0\0\x01\x06toBlob\0\0\0&__widl_f_to_data_url_HTMLCanvasElement\x01\0\x01\x11HTMLCanvasElement\x01\0\0\x01\ttoDataURL\0\0\00__widl_f_to_data_url_with_type_HTMLCanvasElement\x01\0\x01\x11HTMLCanvasElement\x01\0\0\x01\ttoDataURL\0\0\0D__widl_f_to_data_url_with_type_and_encoder_options_HTMLCanvasElement\x01\0\x01\x11HTMLCanvasElement\x01\0\0\x01\ttoDataURL\0\0\08__widl_f_transfer_control_to_offscreen_HTMLCanvasElement\x01\0\x01\x11HTMLCanvasElement\x01\0\0\x01\x1AtransferControlToOffscreen\0\0\0 __widl_f_width_HTMLCanvasElement\0\0\x01\x11HTMLCanvasElement\x01\0\x01\x05width\x01\x05width\0\0\0$__widl_f_set_width_HTMLCanvasElement\0\0\x01\x11HTMLCanvasElement\x01\0\x02\x05width\x01\x05width\0\0\0!__widl_f_height_HTMLCanvasElement\0\0\x01\x11HTMLCanvasElement\x01\0\x01\x06height\x01\x06height\0\0\0%__widl_f_set_height_HTMLCanvasElement\0\0\x01\x11HTMLCanvasElement\x01\0\x02\x06height\x01\x06height\0\0\x02\x0EHTMLCollection __widl_instanceof_HTMLCollection\0\0\0\0\x1C__widl_f_item_HTMLCollection\0\0\x01\x0EHTMLCollection\x01\0\0\x01\x04item\0\0\0\"__widl_f_named_item_HTMLCollection\0\0\x01\x0EHTMLCollection\x01\0\0\x01\tnamedItem\0\0\0&__widl_f_get_with_index_HTMLCollection\0\0\x01\x0EHTMLCollection\x01\0\x03\x01\x03get\0\0\0%__widl_f_get_with_name_HTMLCollection\0\0\x01\x0EHTMLCollection\x01\0\x03\x01\x03get\0\0\0\x1E__widl_f_length_HTMLCollection\0\0\x01\x0EHTMLCollection\x01\0\x01\x06length\x01\x06length\0\0\x02\x10HTMLDListElement\"__widl_instanceof_HTMLDListElement\0\0\0\0!__widl_f_compact_HTMLDListElement\0\0\x01\x10HTMLDListElement\x01\0\x01\x07compact\x01\x07compact\0\0\0%__widl_f_set_compact_HTMLDListElement\0\0\x01\x10HTMLDListElement\x01\0\x02\x07compact\x01\x07compact\0\0\x02\x0FHTMLDataElement!__widl_instanceof_HTMLDataElement\0\0\0\0\x1E__widl_f_value_HTMLDataElement\0\0\x01\x0FHTMLDataElement\x01\0\x01\x05value\x01\x05value\0\0\0\"__widl_f_set_value_HTMLDataElement\0\0\x01\x0FHTMLDataElement\x01\0\x02\x05value\x01\x05value\0\0\x02\x13HTMLDataListElement%__widl_instanceof_HTMLDataListElement\0\0\0\0$__widl_f_options_HTMLDataListElement\0\0\x01\x13HTMLDataListElement\x01\0\x01\x07options\x01\x07options\0\0\x02\x12HTMLDetailsElement$__widl_instanceof_HTMLDetailsElement\0\0\0\0 __widl_f_open_HTMLDetailsElement\0\0\x01\x12HTMLDetailsElement\x01\0\x01\x04open\x01\x04open\0\0\0$__widl_f_set_open_HTMLDetailsElement\0\0\x01\x12HTMLDetailsElement\x01\0\x02\x04open\x01\x04open\0\0\x02\x11HTMLDialogElement#__widl_instanceof_HTMLDialogElement\0\0\0\0 __widl_f_close_HTMLDialogElement\0\0\x01\x11HTMLDialogElement\x01\0\0\x01\x05close\0\0\02__widl_f_close_with_return_value_HTMLDialogElement\0\0\x01\x11HTMLDialogElement\x01\0\0\x01\x05close\0\0\0\x1F__widl_f_show_HTMLDialogElement\0\0\x01\x11HTMLDialogElement\x01\0\0\x01\x04show\0\0\0%__widl_f_show_modal_HTMLDialogElement\x01\0\x01\x11HTMLDialogElement\x01\0\0\x01\tshowModal\0\0\0\x1F__widl_f_open_HTMLDialogElement\0\0\x01\x11HTMLDialogElement\x01\0\x01\x04open\x01\x04open\0\0\0#__widl_f_set_open_HTMLDialogElement\0\0\x01\x11HTMLDialogElement\x01\0\x02\x04open\x01\x04open\0\0\0'__widl_f_return_value_HTMLDialogElement\0\0\x01\x11HTMLDialogElement\x01\0\x01\x0BreturnValue\x01\x0BreturnValue\0\0\0+__widl_f_set_return_value_HTMLDialogElement\0\0\x01\x11HTMLDialogElement\x01\0\x02\x0BreturnValue\x01\x0BreturnValue\0\0\x02\x14HTMLDirectoryElement&__widl_instanceof_HTMLDirectoryElement\0\0\0\0%__widl_f_compact_HTMLDirectoryElement\0\0\x01\x14HTMLDirectoryElement\x01\0\x01\x07compact\x01\x07compact\0\0\0)__widl_f_set_compact_HTMLDirectoryElement\0\0\x01\x14HTMLDirectoryElement\x01\0\x02\x07compact\x01\x07compact\0\0\x02\x0EHTMLDivElement __widl_instanceof_HTMLDivElement\0\0\0\0\x1D__widl_f_align_HTMLDivElement\0\0\x01\x0EHTMLDivElement\x01\0\x01\x05align\x01\x05align\0\0\0!__widl_f_set_align_HTMLDivElement\0\0\x01\x0EHTMLDivElement\x01\0\x02\x05align\x01\x05align\0\0\x02\x0CHTMLDocument\x1E__widl_instanceof_HTMLDocument\0\0\0\0$__widl_f_capture_events_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\0\x01\rcaptureEvents\0\0\0\x1B__widl_f_clear_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\0\x01\x05clear\0\0\0\x1B__widl_f_close_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x05close\0\0\0\"__widl_f_exec_command_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x0BexecCommand\0\0\0/__widl_f_exec_command_with_show_ui_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x0BexecCommand\0\0\09__widl_f_exec_command_with_show_ui_and_value_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x0BexecCommand\0\0\0\x1A__widl_f_open_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x04open\0\0\0$__widl_f_open_with_type_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x04open\0\0\00__widl_f_open_with_type_and_replace_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x04open\0\0\09__widl_f_open_with_url_and_name_and_features_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x04open\0\0\0E__widl_f_open_with_url_and_name_and_features_and_replace_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x04open\0\0\0+__widl_f_query_command_enabled_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x13queryCommandEnabled\0\0\0,__widl_f_query_command_indeterm_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x14queryCommandIndeterm\0\0\0)__widl_f_query_command_state_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x11queryCommandState\0\0\0-__widl_f_query_command_supported_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\0\x01\x15queryCommandSupported\0\0\0)__widl_f_query_command_value_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x11queryCommandValue\0\0\0$__widl_f_release_events_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\0\x01\rreleaseEvents\0\0\0\x1B__widl_f_write_HTMLDocument\x01\x01\x01\x0CHTMLDocument\x01\0\0\x01\x05write\0\0\0\x1D__widl_f_write_0_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x05write\0\0\0\x1D__widl_f_write_1_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x05write\0\0\0\x1D__widl_f_write_2_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x05write\0\0\0\x1D__widl_f_write_3_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x05write\0\0\0\x1D__widl_f_write_4_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x05write\0\0\0\x1D__widl_f_write_5_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x05write\0\0\0\x1D__widl_f_write_6_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x05write\0\0\0\x1D__widl_f_write_7_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x05write\0\0\0\x1D__widl_f_writeln_HTMLDocument\x01\x01\x01\x0CHTMLDocument\x01\0\0\x01\x07writeln\0\0\0\x1F__widl_f_writeln_0_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x07writeln\0\0\0\x1F__widl_f_writeln_1_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x07writeln\0\0\0\x1F__widl_f_writeln_2_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x07writeln\0\0\0\x1F__widl_f_writeln_3_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x07writeln\0\0\0\x1F__widl_f_writeln_4_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x07writeln\0\0\0\x1F__widl_f_writeln_5_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x07writeln\0\0\0\x1F__widl_f_writeln_6_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x07writeln\0\0\0\x1F__widl_f_writeln_7_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\0\x01\x07writeln\0\0\0\x19__widl_f_get_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\x03\x01\x03get\0\0\0\x1C__widl_f_domain_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x01\x06domain\x01\x06domain\0\0\0 __widl_f_set_domain_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x02\x06domain\x01\x06domain\0\0\0\x1C__widl_f_cookie_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\x01\x06cookie\x01\x06cookie\0\0\0 __widl_f_set_cookie_HTMLDocument\x01\0\x01\x0CHTMLDocument\x01\0\x02\x06cookie\x01\x06cookie\0\0\0!__widl_f_design_mode_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x01\ndesignMode\x01\ndesignMode\0\0\0%__widl_f_set_design_mode_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x02\ndesignMode\x01\ndesignMode\0\0\0\x1E__widl_f_fg_color_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x01\x07fgColor\x01\x07fgColor\0\0\0\"__widl_f_set_fg_color_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x02\x07fgColor\x01\x07fgColor\0\0\0 __widl_f_link_color_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x01\tlinkColor\x01\tlinkColor\0\0\0$__widl_f_set_link_color_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x02\tlinkColor\x01\tlinkColor\0\0\0!__widl_f_vlink_color_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x01\nvlinkColor\x01\nvlinkColor\0\0\0%__widl_f_set_vlink_color_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x02\nvlinkColor\x01\nvlinkColor\0\0\0!__widl_f_alink_color_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x01\nalinkColor\x01\nalinkColor\0\0\0%__widl_f_set_alink_color_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x02\nalinkColor\x01\nalinkColor\0\0\0\x1E__widl_f_bg_color_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x01\x07bgColor\x01\x07bgColor\0\0\0\"__widl_f_set_bg_color_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x02\x07bgColor\x01\x07bgColor\0\0\0\x19__widl_f_all_HTMLDocument\0\0\x01\x0CHTMLDocument\x01\0\x01\x03all\x01\x03all\0\0\x02\x0BHTMLElement\x1D__widl_instanceof_HTMLElement\0\0\0\0\x19__widl_f_blur_HTMLElement\x01\0\x01\x0BHTMLElement\x01\0\0\x01\x04blur\0\0\0\x1A__widl_f_click_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\0\x01\x05click\0\0\0\x1A__widl_f_focus_HTMLElement\x01\0\x01\x0BHTMLElement\x01\0\0\x01\x05focus\0\0\0\x1A__widl_f_title_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x05title\x01\x05title\0\0\0\x1E__widl_f_set_title_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x05title\x01\x05title\0\0\0\x19__widl_f_lang_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x04lang\x01\x04lang\0\0\0\x1D__widl_f_set_lang_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x04lang\x01\x04lang\0\0\0\x18__widl_f_dir_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x03dir\x01\x03dir\0\0\0\x1C__widl_f_set_dir_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x03dir\x01\x03dir\0\0\0\x1C__widl_f_dataset_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x07dataset\x01\x07dataset\0\0\0\x1F__widl_f_inner_text_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\tinnerText\x01\tinnerText\0\0\0#__widl_f_set_inner_text_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\tinnerText\x01\tinnerText\0\0\0\x1B__widl_f_hidden_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x06hidden\x01\x06hidden\0\0\0\x1F__widl_f_set_hidden_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x06hidden\x01\x06hidden\0\0\0\x1E__widl_f_tab_index_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x08tabIndex\x01\x08tabIndex\0\0\0\"__widl_f_set_tab_index_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x08tabIndex\x01\x08tabIndex\0\0\0\x1F__widl_f_access_key_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\taccessKey\x01\taccessKey\0\0\0#__widl_f_set_access_key_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\taccessKey\x01\taccessKey\0\0\0%__widl_f_access_key_label_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0EaccessKeyLabel\x01\x0EaccessKeyLabel\0\0\0\x1E__widl_f_draggable_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\tdraggable\x01\tdraggable\0\0\0\"__widl_f_set_draggable_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\tdraggable\x01\tdraggable\0\0\0%__widl_f_content_editable_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0FcontentEditable\x01\x0FcontentEditable\0\0\0)__widl_f_set_content_editable_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0FcontentEditable\x01\x0FcontentEditable\0\0\0(__widl_f_is_content_editable_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x11isContentEditable\x01\x11isContentEditable\0\0\0\x1F__widl_f_spellcheck_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\nspellcheck\x01\nspellcheck\0\0\0#__widl_f_set_spellcheck_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\nspellcheck\x01\nspellcheck\0\0\0\x1A__widl_f_style_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x05style\x01\x05style\0\0\0\"__widl_f_offset_parent_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0CoffsetParent\x01\x0CoffsetParent\0\0\0\x1F__widl_f_offset_top_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\toffsetTop\x01\toffsetTop\0\0\0 __widl_f_offset_left_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\noffsetLeft\x01\noffsetLeft\0\0\0!__widl_f_offset_width_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0BoffsetWidth\x01\x0BoffsetWidth\0\0\0\"__widl_f_offset_height_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0CoffsetHeight\x01\x0CoffsetHeight\0\0\0\x1B__widl_f_oncopy_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x06oncopy\x01\x06oncopy\0\0\0\x1F__widl_f_set_oncopy_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x06oncopy\x01\x06oncopy\0\0\0\x1A__widl_f_oncut_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x05oncut\x01\x05oncut\0\0\0\x1E__widl_f_set_oncut_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x05oncut\x01\x05oncut\0\0\0\x1C__widl_f_onpaste_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x07onpaste\x01\x07onpaste\0\0\0 __widl_f_set_onpaste_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x07onpaste\x01\x07onpaste\0\0\0\x1C__widl_f_onabort_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x07onabort\x01\x07onabort\0\0\0 __widl_f_set_onabort_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x07onabort\x01\x07onabort\0\0\0\x1B__widl_f_onblur_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x06onblur\x01\x06onblur\0\0\0\x1F__widl_f_set_onblur_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x06onblur\x01\x06onblur\0\0\0\x1C__widl_f_onfocus_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x07onfocus\x01\x07onfocus\0\0\0 __widl_f_set_onfocus_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x07onfocus\x01\x07onfocus\0\0\0\x1F__widl_f_onauxclick_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\nonauxclick\x01\nonauxclick\0\0\0#__widl_f_set_onauxclick_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\nonauxclick\x01\nonauxclick\0\0\0\x1E__widl_f_oncanplay_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\toncanplay\x01\toncanplay\0\0\0\"__widl_f_set_oncanplay_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\toncanplay\x01\toncanplay\0\0\0%__widl_f_oncanplaythrough_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x10oncanplaythrough\x01\x10oncanplaythrough\0\0\0)__widl_f_set_oncanplaythrough_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x10oncanplaythrough\x01\x10oncanplaythrough\0\0\0\x1D__widl_f_onchange_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x08onchange\x01\x08onchange\0\0\0!__widl_f_set_onchange_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x08onchange\x01\x08onchange\0\0\0\x1C__widl_f_onclick_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x07onclick\x01\x07onclick\0\0\0 __widl_f_set_onclick_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x07onclick\x01\x07onclick\0\0\0\x1C__widl_f_onclose_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x07onclose\x01\x07onclose\0\0\0 __widl_f_set_onclose_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x07onclose\x01\x07onclose\0\0\0\"__widl_f_oncontextmenu_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\roncontextmenu\x01\roncontextmenu\0\0\0&__widl_f_set_oncontextmenu_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\roncontextmenu\x01\roncontextmenu\0\0\0\x1F__widl_f_ondblclick_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\nondblclick\x01\nondblclick\0\0\0#__widl_f_set_ondblclick_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\nondblclick\x01\nondblclick\0\0\0\x1B__widl_f_ondrag_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x06ondrag\x01\x06ondrag\0\0\0\x1F__widl_f_set_ondrag_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x06ondrag\x01\x06ondrag\0\0\0\x1E__widl_f_ondragend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\tondragend\x01\tondragend\0\0\0\"__widl_f_set_ondragend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\tondragend\x01\tondragend\0\0\0 __widl_f_ondragenter_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Bondragenter\x01\x0Bondragenter\0\0\0$__widl_f_set_ondragenter_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Bondragenter\x01\x0Bondragenter\0\0\0\x1F__widl_f_ondragexit_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\nondragexit\x01\nondragexit\0\0\0#__widl_f_set_ondragexit_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\nondragexit\x01\nondragexit\0\0\0 __widl_f_ondragleave_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Bondragleave\x01\x0Bondragleave\0\0\0$__widl_f_set_ondragleave_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Bondragleave\x01\x0Bondragleave\0\0\0\x1F__widl_f_ondragover_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\nondragover\x01\nondragover\0\0\0#__widl_f_set_ondragover_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\nondragover\x01\nondragover\0\0\0 __widl_f_ondragstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Bondragstart\x01\x0Bondragstart\0\0\0$__widl_f_set_ondragstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Bondragstart\x01\x0Bondragstart\0\0\0\x1B__widl_f_ondrop_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x06ondrop\x01\x06ondrop\0\0\0\x1F__widl_f_set_ondrop_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x06ondrop\x01\x06ondrop\0\0\0%__widl_f_ondurationchange_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x10ondurationchange\x01\x10ondurationchange\0\0\0)__widl_f_set_ondurationchange_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x10ondurationchange\x01\x10ondurationchange\0\0\0\x1E__widl_f_onemptied_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\tonemptied\x01\tonemptied\0\0\0\"__widl_f_set_onemptied_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\tonemptied\x01\tonemptied\0\0\0\x1C__widl_f_onended_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x07onended\x01\x07onended\0\0\0 __widl_f_set_onended_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x07onended\x01\x07onended\0\0\0\x1C__widl_f_oninput_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x07oninput\x01\x07oninput\0\0\0 __widl_f_set_oninput_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x07oninput\x01\x07oninput\0\0\0\x1E__widl_f_oninvalid_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\toninvalid\x01\toninvalid\0\0\0\"__widl_f_set_oninvalid_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\toninvalid\x01\toninvalid\0\0\0\x1E__widl_f_onkeydown_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\tonkeydown\x01\tonkeydown\0\0\0\"__widl_f_set_onkeydown_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\tonkeydown\x01\tonkeydown\0\0\0\x1F__widl_f_onkeypress_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\nonkeypress\x01\nonkeypress\0\0\0#__widl_f_set_onkeypress_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\nonkeypress\x01\nonkeypress\0\0\0\x1C__widl_f_onkeyup_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x07onkeyup\x01\x07onkeyup\0\0\0 __widl_f_set_onkeyup_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x07onkeyup\x01\x07onkeyup\0\0\0\x1B__widl_f_onload_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x06onload\x01\x06onload\0\0\0\x1F__widl_f_set_onload_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x06onload\x01\x06onload\0\0\0!__widl_f_onloadeddata_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Conloadeddata\x01\x0Conloadeddata\0\0\0%__widl_f_set_onloadeddata_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Conloadeddata\x01\x0Conloadeddata\0\0\0%__widl_f_onloadedmetadata_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x10onloadedmetadata\x01\x10onloadedmetadata\0\0\0)__widl_f_set_onloadedmetadata_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x10onloadedmetadata\x01\x10onloadedmetadata\0\0\0\x1E__widl_f_onloadend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\tonloadend\x01\tonloadend\0\0\0\"__widl_f_set_onloadend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\tonloadend\x01\tonloadend\0\0\0 __widl_f_onloadstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Bonloadstart\x01\x0Bonloadstart\0\0\0$__widl_f_set_onloadstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Bonloadstart\x01\x0Bonloadstart\0\0\0 __widl_f_onmousedown_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Bonmousedown\x01\x0Bonmousedown\0\0\0$__widl_f_set_onmousedown_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Bonmousedown\x01\x0Bonmousedown\0\0\0!__widl_f_onmouseenter_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Conmouseenter\x01\x0Conmouseenter\0\0\0%__widl_f_set_onmouseenter_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Conmouseenter\x01\x0Conmouseenter\0\0\0!__widl_f_onmouseleave_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Conmouseleave\x01\x0Conmouseleave\0\0\0%__widl_f_set_onmouseleave_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Conmouseleave\x01\x0Conmouseleave\0\0\0 __widl_f_onmousemove_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Bonmousemove\x01\x0Bonmousemove\0\0\0$__widl_f_set_onmousemove_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Bonmousemove\x01\x0Bonmousemove\0\0\0\x1F__widl_f_onmouseout_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\nonmouseout\x01\nonmouseout\0\0\0#__widl_f_set_onmouseout_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\nonmouseout\x01\nonmouseout\0\0\0 __widl_f_onmouseover_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Bonmouseover\x01\x0Bonmouseover\0\0\0$__widl_f_set_onmouseover_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Bonmouseover\x01\x0Bonmouseover\0\0\0\x1E__widl_f_onmouseup_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\tonmouseup\x01\tonmouseup\0\0\0\"__widl_f_set_onmouseup_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\tonmouseup\x01\tonmouseup\0\0\0\x1C__widl_f_onwheel_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x07onwheel\x01\x07onwheel\0\0\0 __widl_f_set_onwheel_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x07onwheel\x01\x07onwheel\0\0\0\x1C__widl_f_onpause_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x07onpause\x01\x07onpause\0\0\0 __widl_f_set_onpause_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x07onpause\x01\x07onpause\0\0\0\x1B__widl_f_onplay_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x06onplay\x01\x06onplay\0\0\0\x1F__widl_f_set_onplay_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x06onplay\x01\x06onplay\0\0\0\x1E__widl_f_onplaying_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\tonplaying\x01\tonplaying\0\0\0\"__widl_f_set_onplaying_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\tonplaying\x01\tonplaying\0\0\0\x1F__widl_f_onprogress_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\nonprogress\x01\nonprogress\0\0\0#__widl_f_set_onprogress_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\nonprogress\x01\nonprogress\0\0\0!__widl_f_onratechange_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Conratechange\x01\x0Conratechange\0\0\0%__widl_f_set_onratechange_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Conratechange\x01\x0Conratechange\0\0\0\x1C__widl_f_onreset_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x07onreset\x01\x07onreset\0\0\0 __widl_f_set_onreset_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x07onreset\x01\x07onreset\0\0\0\x1D__widl_f_onresize_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x08onresize\x01\x08onresize\0\0\0!__widl_f_set_onresize_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x08onresize\x01\x08onresize\0\0\0\x1D__widl_f_onscroll_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x08onscroll\x01\x08onscroll\0\0\0!__widl_f_set_onscroll_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x08onscroll\x01\x08onscroll\0\0\0\x1D__widl_f_onseeked_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x08onseeked\x01\x08onseeked\0\0\0!__widl_f_set_onseeked_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x08onseeked\x01\x08onseeked\0\0\0\x1E__widl_f_onseeking_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\tonseeking\x01\tonseeking\0\0\0\"__widl_f_set_onseeking_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\tonseeking\x01\tonseeking\0\0\0\x1D__widl_f_onselect_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x08onselect\x01\x08onselect\0\0\0!__widl_f_set_onselect_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x08onselect\x01\x08onselect\0\0\0\x1B__widl_f_onshow_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x06onshow\x01\x06onshow\0\0\0\x1F__widl_f_set_onshow_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x06onshow\x01\x06onshow\0\0\0\x1E__widl_f_onstalled_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\tonstalled\x01\tonstalled\0\0\0\"__widl_f_set_onstalled_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\tonstalled\x01\tonstalled\0\0\0\x1D__widl_f_onsubmit_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x08onsubmit\x01\x08onsubmit\0\0\0!__widl_f_set_onsubmit_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x08onsubmit\x01\x08onsubmit\0\0\0\x1E__widl_f_onsuspend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\tonsuspend\x01\tonsuspend\0\0\0\"__widl_f_set_onsuspend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\tonsuspend\x01\tonsuspend\0\0\0!__widl_f_ontimeupdate_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Contimeupdate\x01\x0Contimeupdate\0\0\0%__widl_f_set_ontimeupdate_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Contimeupdate\x01\x0Contimeupdate\0\0\0#__widl_f_onvolumechange_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Eonvolumechange\x01\x0Eonvolumechange\0\0\0'__widl_f_set_onvolumechange_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Eonvolumechange\x01\x0Eonvolumechange\0\0\0\x1E__widl_f_onwaiting_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\tonwaiting\x01\tonwaiting\0\0\0\"__widl_f_set_onwaiting_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\tonwaiting\x01\tonwaiting\0\0\0\"__widl_f_onselectstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\ronselectstart\x01\ronselectstart\0\0\0&__widl_f_set_onselectstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\ronselectstart\x01\ronselectstart\0\0\0\x1D__widl_f_ontoggle_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x08ontoggle\x01\x08ontoggle\0\0\0!__widl_f_set_ontoggle_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x08ontoggle\x01\x08ontoggle\0\0\0$__widl_f_onpointercancel_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Fonpointercancel\x01\x0Fonpointercancel\0\0\0(__widl_f_set_onpointercancel_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Fonpointercancel\x01\x0Fonpointercancel\0\0\0\"__widl_f_onpointerdown_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\ronpointerdown\x01\ronpointerdown\0\0\0&__widl_f_set_onpointerdown_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\ronpointerdown\x01\ronpointerdown\0\0\0 __widl_f_onpointerup_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Bonpointerup\x01\x0Bonpointerup\0\0\0$__widl_f_set_onpointerup_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Bonpointerup\x01\x0Bonpointerup\0\0\0\"__widl_f_onpointermove_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\ronpointermove\x01\ronpointermove\0\0\0&__widl_f_set_onpointermove_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\ronpointermove\x01\ronpointermove\0\0\0!__widl_f_onpointerout_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Conpointerout\x01\x0Conpointerout\0\0\0%__widl_f_set_onpointerout_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Conpointerout\x01\x0Conpointerout\0\0\0\"__widl_f_onpointerover_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\ronpointerover\x01\ronpointerover\0\0\0&__widl_f_set_onpointerover_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\ronpointerover\x01\ronpointerover\0\0\0#__widl_f_onpointerenter_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Eonpointerenter\x01\x0Eonpointerenter\0\0\0'__widl_f_set_onpointerenter_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Eonpointerenter\x01\x0Eonpointerenter\0\0\0#__widl_f_onpointerleave_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Eonpointerleave\x01\x0Eonpointerleave\0\0\0'__widl_f_set_onpointerleave_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Eonpointerleave\x01\x0Eonpointerleave\0\0\0(__widl_f_ongotpointercapture_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x13ongotpointercapture\x01\x13ongotpointercapture\0\0\0,__widl_f_set_ongotpointercapture_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x13ongotpointercapture\x01\x13ongotpointercapture\0\0\0)__widl_f_onlostpointercapture_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x14onlostpointercapture\x01\x14onlostpointercapture\0\0\0-__widl_f_set_onlostpointercapture_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x14onlostpointercapture\x01\x14onlostpointercapture\0\0\0&__widl_f_onanimationcancel_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x11onanimationcancel\x01\x11onanimationcancel\0\0\0*__widl_f_set_onanimationcancel_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x11onanimationcancel\x01\x11onanimationcancel\0\0\0#__widl_f_onanimationend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Eonanimationend\x01\x0Eonanimationend\0\0\0'__widl_f_set_onanimationend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Eonanimationend\x01\x0Eonanimationend\0\0\0)__widl_f_onanimationiteration_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x14onanimationiteration\x01\x14onanimationiteration\0\0\0-__widl_f_set_onanimationiteration_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x14onanimationiteration\x01\x14onanimationiteration\0\0\0%__widl_f_onanimationstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x10onanimationstart\x01\x10onanimationstart\0\0\0)__widl_f_set_onanimationstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x10onanimationstart\x01\x10onanimationstart\0\0\0'__widl_f_ontransitioncancel_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x12ontransitioncancel\x01\x12ontransitioncancel\0\0\0+__widl_f_set_ontransitioncancel_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x12ontransitioncancel\x01\x12ontransitioncancel\0\0\0$__widl_f_ontransitionend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Fontransitionend\x01\x0Fontransitionend\0\0\0(__widl_f_set_ontransitionend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Fontransitionend\x01\x0Fontransitionend\0\0\0$__widl_f_ontransitionrun_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Fontransitionrun\x01\x0Fontransitionrun\0\0\0(__widl_f_set_ontransitionrun_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Fontransitionrun\x01\x0Fontransitionrun\0\0\0&__widl_f_ontransitionstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x11ontransitionstart\x01\x11ontransitionstart\0\0\0*__widl_f_set_ontransitionstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x11ontransitionstart\x01\x11ontransitionstart\0\0\0)__widl_f_onwebkitanimationend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x14onwebkitanimationend\x01\x14onwebkitanimationend\0\0\0-__widl_f_set_onwebkitanimationend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x14onwebkitanimationend\x01\x14onwebkitanimationend\0\0\0/__widl_f_onwebkitanimationiteration_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x1Aonwebkitanimationiteration\x01\x1Aonwebkitanimationiteration\0\0\03__widl_f_set_onwebkitanimationiteration_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x1Aonwebkitanimationiteration\x01\x1Aonwebkitanimationiteration\0\0\0+__widl_f_onwebkitanimationstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x16onwebkitanimationstart\x01\x16onwebkitanimationstart\0\0\0/__widl_f_set_onwebkitanimationstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x16onwebkitanimationstart\x01\x16onwebkitanimationstart\0\0\0*__widl_f_onwebkittransitionend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x15onwebkittransitionend\x01\x15onwebkittransitionend\0\0\0.__widl_f_set_onwebkittransitionend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x15onwebkittransitionend\x01\x15onwebkittransitionend\0\0\0\x1C__widl_f_onerror_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x07onerror\x01\x07onerror\0\0\0 __widl_f_set_onerror_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x07onerror\x01\x07onerror\0\0\0!__widl_f_ontouchstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Contouchstart\x01\x0Contouchstart\0\0\0%__widl_f_set_ontouchstart_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Contouchstart\x01\x0Contouchstart\0\0\0\x1F__widl_f_ontouchend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\nontouchend\x01\nontouchend\0\0\0#__widl_f_set_ontouchend_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\nontouchend\x01\nontouchend\0\0\0 __widl_f_ontouchmove_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\x0Bontouchmove\x01\x0Bontouchmove\0\0\0$__widl_f_set_ontouchmove_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\x0Bontouchmove\x01\x0Bontouchmove\0\0\0\"__widl_f_ontouchcancel_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x01\rontouchcancel\x01\rontouchcancel\0\0\0&__widl_f_set_ontouchcancel_HTMLElement\0\0\x01\x0BHTMLElement\x01\0\x02\rontouchcancel\x01\rontouchcancel\0\0\x02\x10HTMLEmbedElement\"__widl_instanceof_HTMLEmbedElement\0\0\0\0*__widl_f_get_svg_document_HTMLEmbedElement\0\0\x01\x10HTMLEmbedElement\x01\0\0\x01\x0EgetSVGDocument\0\0\0\x1D__widl_f_src_HTMLEmbedElement\0\0\x01\x10HTMLEmbedElement\x01\0\x01\x03src\x01\x03src\0\0\0!__widl_f_set_src_HTMLEmbedElement\0\0\x01\x10HTMLEmbedElement\x01\0\x02\x03src\x01\x03src\0\0\0\x1E__widl_f_type_HTMLEmbedElement\0\0\x01\x10HTMLEmbedElement\x01\0\x01\x04type\x01\x04type\0\0\0\"__widl_f_set_type_HTMLEmbedElement\0\0\x01\x10HTMLEmbedElement\x01\0\x02\x04type\x01\x04type\0\0\0\x1F__widl_f_width_HTMLEmbedElement\0\0\x01\x10HTMLEmbedElement\x01\0\x01\x05width\x01\x05width\0\0\0#__widl_f_set_width_HTMLEmbedElement\0\0\x01\x10HTMLEmbedElement\x01\0\x02\x05width\x01\x05width\0\0\0 __widl_f_height_HTMLEmbedElement\0\0\x01\x10HTMLEmbedElement\x01\0\x01\x06height\x01\x06height\0\0\0$__widl_f_set_height_HTMLEmbedElement\0\0\x01\x10HTMLEmbedElement\x01\0\x02\x06height\x01\x06height\0\0\0\x1F__widl_f_align_HTMLEmbedElement\0\0\x01\x10HTMLEmbedElement\x01\0\x01\x05align\x01\x05align\0\0\0#__widl_f_set_align_HTMLEmbedElement\0\0\x01\x10HTMLEmbedElement\x01\0\x02\x05align\x01\x05align\0\0\0\x1E__widl_f_name_HTMLEmbedElement\0\0\x01\x10HTMLEmbedElement\x01\0\x01\x04name\x01\x04name\0\0\0\"__widl_f_set_name_HTMLEmbedElement\0\0\x01\x10HTMLEmbedElement\x01\0\x02\x04name\x01\x04name\0\0\x02\x13HTMLFieldSetElement%__widl_instanceof_HTMLFieldSetElement\0\0\0\0+__widl_f_check_validity_HTMLFieldSetElement\0\0\x01\x13HTMLFieldSetElement\x01\0\0\x01\rcheckValidity\0\0\0,__widl_f_report_validity_HTMLFieldSetElement\0\0\x01\x13HTMLFieldSetElement\x01\0\0\x01\x0EreportValidity\0\0\00__widl_f_set_custom_validity_HTMLFieldSetElement\0\0\x01\x13HTMLFieldSetElement\x01\0\0\x01\x11setCustomValidity\0\0\0%__widl_f_disabled_HTMLFieldSetElement\0\0\x01\x13HTMLFieldSetElement\x01\0\x01\x08disabled\x01\x08disabled\0\0\0)__widl_f_set_disabled_HTMLFieldSetElement\0\0\x01\x13HTMLFieldSetElement\x01\0\x02\x08disabled\x01\x08disabled\0\0\0!__widl_f_form_HTMLFieldSetElement\0\0\x01\x13HTMLFieldSetElement\x01\0\x01\x04form\x01\x04form\0\0\0!__widl_f_name_HTMLFieldSetElement\0\0\x01\x13HTMLFieldSetElement\x01\0\x01\x04name\x01\x04name\0\0\0%__widl_f_set_name_HTMLFieldSetElement\0\0\x01\x13HTMLFieldSetElement\x01\0\x02\x04name\x01\x04name\0\0\0!__widl_f_type_HTMLFieldSetElement\0\0\x01\x13HTMLFieldSetElement\x01\0\x01\x04type\x01\x04type\0\0\0%__widl_f_elements_HTMLFieldSetElement\0\0\x01\x13HTMLFieldSetElement\x01\0\x01\x08elements\x01\x08elements\0\0\0*__widl_f_will_validate_HTMLFieldSetElement\0\0\x01\x13HTMLFieldSetElement\x01\0\x01\x0CwillValidate\x01\x0CwillValidate\0\0\0%__widl_f_validity_HTMLFieldSetElement\0\0\x01\x13HTMLFieldSetElement\x01\0\x01\x08validity\x01\x08validity\0\0\0/__widl_f_validation_message_HTMLFieldSetElement\x01\0\x01\x13HTMLFieldSetElement\x01\0\x01\x11validationMessage\x01\x11validationMessage\0\0\x02\x0FHTMLFontElement!__widl_instanceof_HTMLFontElement\0\0\0\0\x1E__widl_f_color_HTMLFontElement\0\0\x01\x0FHTMLFontElement\x01\0\x01\x05color\x01\x05color\0\0\0\"__widl_f_set_color_HTMLFontElement\0\0\x01\x0FHTMLFontElement\x01\0\x02\x05color\x01\x05color\0\0\0\x1D__widl_f_face_HTMLFontElement\0\0\x01\x0FHTMLFontElement\x01\0\x01\x04face\x01\x04face\0\0\0!__widl_f_set_face_HTMLFontElement\0\0\x01\x0FHTMLFontElement\x01\0\x02\x04face\x01\x04face\0\0\0\x1D__widl_f_size_HTMLFontElement\0\0\x01\x0FHTMLFontElement\x01\0\x01\x04size\x01\x04size\0\0\0!__widl_f_set_size_HTMLFontElement\0\0\x01\x0FHTMLFontElement\x01\0\x02\x04size\x01\x04size\0\0\x02\x1AHTMLFormControlsCollection,__widl_instanceof_HTMLFormControlsCollection\0\0\0\0.__widl_f_named_item_HTMLFormControlsCollection\0\0\x01\x1AHTMLFormControlsCollection\x01\0\0\x01\tnamedItem\0\0\0'__widl_f_get_HTMLFormControlsCollection\0\0\x01\x1AHTMLFormControlsCollection\x01\0\x03\x01\x03get\0\0\x02\x0FHTMLFormElement!__widl_instanceof_HTMLFormElement\0\0\0\0'__widl_f_check_validity_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\0\x01\rcheckValidity\0\0\0(__widl_f_report_validity_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\0\x01\x0EreportValidity\0\0\0\x1E__widl_f_reset_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\0\x01\x05reset\0\0\0\x1F__widl_f_submit_HTMLFormElement\x01\0\x01\x0FHTMLFormElement\x01\0\0\x01\x06submit\0\0\0'__widl_f_get_with_index_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x03\x01\x03get\0\0\0&__widl_f_get_with_name_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x03\x01\x03get\0\0\0'__widl_f_accept_charset_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x01\racceptCharset\x01\racceptCharset\0\0\0+__widl_f_set_accept_charset_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x02\racceptCharset\x01\racceptCharset\0\0\0\x1F__widl_f_action_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x01\x06action\x01\x06action\0\0\0#__widl_f_set_action_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x02\x06action\x01\x06action\0\0\0%__widl_f_autocomplete_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x01\x0Cautocomplete\x01\x0Cautocomplete\0\0\0)__widl_f_set_autocomplete_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x02\x0Cautocomplete\x01\x0Cautocomplete\0\0\0 __widl_f_enctype_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x01\x07enctype\x01\x07enctype\0\0\0$__widl_f_set_enctype_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x02\x07enctype\x01\x07enctype\0\0\0!__widl_f_encoding_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x01\x08encoding\x01\x08encoding\0\0\0%__widl_f_set_encoding_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x02\x08encoding\x01\x08encoding\0\0\0\x1F__widl_f_method_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x01\x06method\x01\x06method\0\0\0#__widl_f_set_method_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x02\x06method\x01\x06method\0\0\0\x1D__widl_f_name_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x01\x04name\x01\x04name\0\0\0!__widl_f_set_name_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x02\x04name\x01\x04name\0\0\0$__widl_f_no_validate_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x01\nnoValidate\x01\nnoValidate\0\0\0(__widl_f_set_no_validate_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x02\nnoValidate\x01\nnoValidate\0\0\0\x1F__widl_f_target_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x01\x06target\x01\x06target\0\0\0#__widl_f_set_target_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x02\x06target\x01\x06target\0\0\0!__widl_f_elements_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x01\x08elements\x01\x08elements\0\0\0\x1F__widl_f_length_HTMLFormElement\0\0\x01\x0FHTMLFormElement\x01\0\x01\x06length\x01\x06length\0\0\x02\x10HTMLFrameElement\"__widl_instanceof_HTMLFrameElement\0\0\0\0\x1E__widl_f_name_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x01\x04name\x01\x04name\0\0\0\"__widl_f_set_name_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x02\x04name\x01\x04name\0\0\0#__widl_f_scrolling_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x01\tscrolling\x01\tscrolling\0\0\0'__widl_f_set_scrolling_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x02\tscrolling\x01\tscrolling\0\0\0\x1D__widl_f_src_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x01\x03src\x01\x03src\0\0\0!__widl_f_set_src_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x02\x03src\x01\x03src\0\0\0&__widl_f_frame_border_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x01\x0BframeBorder\x01\x0BframeBorder\0\0\0*__widl_f_set_frame_border_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x02\x0BframeBorder\x01\x0BframeBorder\0\0\0#__widl_f_long_desc_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x01\x08longDesc\x01\x08longDesc\0\0\0'__widl_f_set_long_desc_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x02\x08longDesc\x01\x08longDesc\0\0\0#__widl_f_no_resize_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x01\x08noResize\x01\x08noResize\0\0\0'__widl_f_set_no_resize_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x02\x08noResize\x01\x08noResize\0\0\0*__widl_f_content_document_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x01\x0FcontentDocument\x01\x0FcontentDocument\0\0\0(__widl_f_content_window_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x01\rcontentWindow\x01\rcontentWindow\0\0\0'__widl_f_margin_height_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x01\x0CmarginHeight\x01\x0CmarginHeight\0\0\0+__widl_f_set_margin_height_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x02\x0CmarginHeight\x01\x0CmarginHeight\0\0\0&__widl_f_margin_width_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x01\x0BmarginWidth\x01\x0BmarginWidth\0\0\0*__widl_f_set_margin_width_HTMLFrameElement\0\0\x01\x10HTMLFrameElement\x01\0\x02\x0BmarginWidth\x01\x0BmarginWidth\0\0\x02\x13HTMLFrameSetElement%__widl_instanceof_HTMLFrameSetElement\0\0\0\0!__widl_f_cols_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\x04cols\x01\x04cols\0\0\0%__widl_f_set_cols_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\x04cols\x01\x04cols\0\0\0!__widl_f_rows_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\x04rows\x01\x04rows\0\0\0%__widl_f_set_rows_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\x04rows\x01\x04rows\0\0\0)__widl_f_onafterprint_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\x0Conafterprint\x01\x0Conafterprint\0\0\0-__widl_f_set_onafterprint_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\x0Conafterprint\x01\x0Conafterprint\0\0\0*__widl_f_onbeforeprint_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\ronbeforeprint\x01\ronbeforeprint\0\0\0.__widl_f_set_onbeforeprint_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\ronbeforeprint\x01\ronbeforeprint\0\0\0+__widl_f_onbeforeunload_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\x0Eonbeforeunload\x01\x0Eonbeforeunload\0\0\0/__widl_f_set_onbeforeunload_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\x0Eonbeforeunload\x01\x0Eonbeforeunload\0\0\0)__widl_f_onhashchange_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\x0Conhashchange\x01\x0Conhashchange\0\0\0-__widl_f_set_onhashchange_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\x0Conhashchange\x01\x0Conhashchange\0\0\0-__widl_f_onlanguagechange_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\x10onlanguagechange\x01\x10onlanguagechange\0\0\01__widl_f_set_onlanguagechange_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\x10onlanguagechange\x01\x10onlanguagechange\0\0\0&__widl_f_onmessage_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\tonmessage\x01\tonmessage\0\0\0*__widl_f_set_onmessage_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\tonmessage\x01\tonmessage\0\0\0+__widl_f_onmessageerror_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\0/__widl_f_set_onmessageerror_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\0&__widl_f_onoffline_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\tonoffline\x01\tonoffline\0\0\0*__widl_f_set_onoffline_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\tonoffline\x01\tonoffline\0\0\0%__widl_f_ononline_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\x08ononline\x01\x08ononline\0\0\0)__widl_f_set_ononline_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\x08ononline\x01\x08ononline\0\0\0'__widl_f_onpagehide_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\nonpagehide\x01\nonpagehide\0\0\0+__widl_f_set_onpagehide_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\nonpagehide\x01\nonpagehide\0\0\0'__widl_f_onpageshow_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\nonpageshow\x01\nonpageshow\0\0\0+__widl_f_set_onpageshow_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\nonpageshow\x01\nonpageshow\0\0\0'__widl_f_onpopstate_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\nonpopstate\x01\nonpopstate\0\0\0+__widl_f_set_onpopstate_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\nonpopstate\x01\nonpopstate\0\0\0&__widl_f_onstorage_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\tonstorage\x01\tonstorage\0\0\0*__widl_f_set_onstorage_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\tonstorage\x01\tonstorage\0\0\0%__widl_f_onunload_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x01\x08onunload\x01\x08onunload\0\0\0)__widl_f_set_onunload_HTMLFrameSetElement\0\0\x01\x13HTMLFrameSetElement\x01\0\x02\x08onunload\x01\x08onunload\0\0\x02\rHTMLHRElement\x1F__widl_instanceof_HTMLHRElement\0\0\0\0\x1C__widl_f_align_HTMLHRElement\0\0\x01\rHTMLHRElement\x01\0\x01\x05align\x01\x05align\0\0\0 __widl_f_set_align_HTMLHRElement\0\0\x01\rHTMLHRElement\x01\0\x02\x05align\x01\x05align\0\0\0\x1C__widl_f_color_HTMLHRElement\0\0\x01\rHTMLHRElement\x01\0\x01\x05color\x01\x05color\0\0\0 __widl_f_set_color_HTMLHRElement\0\0\x01\rHTMLHRElement\x01\0\x02\x05color\x01\x05color\0\0\0\x1F__widl_f_no_shade_HTMLHRElement\0\0\x01\rHTMLHRElement\x01\0\x01\x07noShade\x01\x07noShade\0\0\0#__widl_f_set_no_shade_HTMLHRElement\0\0\x01\rHTMLHRElement\x01\0\x02\x07noShade\x01\x07noShade\0\0\0\x1B__widl_f_size_HTMLHRElement\0\0\x01\rHTMLHRElement\x01\0\x01\x04size\x01\x04size\0\0\0\x1F__widl_f_set_size_HTMLHRElement\0\0\x01\rHTMLHRElement\x01\0\x02\x04size\x01\x04size\0\0\0\x1C__widl_f_width_HTMLHRElement\0\0\x01\rHTMLHRElement\x01\0\x01\x05width\x01\x05width\0\0\0 __widl_f_set_width_HTMLHRElement\0\0\x01\rHTMLHRElement\x01\0\x02\x05width\x01\x05width\0\0\x02\x0FHTMLHeadElement!__widl_instanceof_HTMLHeadElement\0\0\0\x02\x12HTMLHeadingElement$__widl_instanceof_HTMLHeadingElement\0\0\0\0!__widl_f_align_HTMLHeadingElement\0\0\x01\x12HTMLHeadingElement\x01\0\x01\x05align\x01\x05align\0\0\0%__widl_f_set_align_HTMLHeadingElement\0\0\x01\x12HTMLHeadingElement\x01\0\x02\x05align\x01\x05align\0\0\x02\x0FHTMLHtmlElement!__widl_instanceof_HTMLHtmlElement\0\0\0\0 __widl_f_version_HTMLHtmlElement\0\0\x01\x0FHTMLHtmlElement\x01\0\x01\x07version\x01\x07version\0\0\0$__widl_f_set_version_HTMLHtmlElement\0\0\x01\x0FHTMLHtmlElement\x01\0\x02\x07version\x01\x07version\0\0\x02\x11HTMLIFrameElement#__widl_instanceof_HTMLIFrameElement\0\0\0\0+__widl_f_get_svg_document_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\0\x01\x0EgetSVGDocument\0\0\0\x1E__widl_f_src_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x03src\x01\x03src\0\0\0\"__widl_f_set_src_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\x03src\x01\x03src\0\0\0!__widl_f_srcdoc_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x06srcdoc\x01\x06srcdoc\0\0\0%__widl_f_set_srcdoc_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\x06srcdoc\x01\x06srcdoc\0\0\0\x1F__widl_f_name_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x04name\x01\x04name\0\0\0#__widl_f_set_name_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\x04name\x01\x04name\0\0\0\"__widl_f_sandbox_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x07sandbox\x01\x07sandbox\0\0\0+__widl_f_allow_fullscreen_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x0FallowFullscreen\x01\x0FallowFullscreen\0\0\0/__widl_f_set_allow_fullscreen_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\x0FallowFullscreen\x01\x0FallowFullscreen\0\0\00__widl_f_allow_payment_request_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x13allowPaymentRequest\x01\x13allowPaymentRequest\0\0\04__widl_f_set_allow_payment_request_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\x13allowPaymentRequest\x01\x13allowPaymentRequest\0\0\0 __widl_f_width_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x05width\x01\x05width\0\0\0$__widl_f_set_width_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\x05width\x01\x05width\0\0\0!__widl_f_height_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x06height\x01\x06height\0\0\0%__widl_f_set_height_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\x06height\x01\x06height\0\0\0*__widl_f_referrer_policy_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x0EreferrerPolicy\x01\x0EreferrerPolicy\0\0\0.__widl_f_set_referrer_policy_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\x0EreferrerPolicy\x01\x0EreferrerPolicy\0\0\0+__widl_f_content_document_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x0FcontentDocument\x01\x0FcontentDocument\0\0\0)__widl_f_content_window_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\rcontentWindow\x01\rcontentWindow\0\0\0 __widl_f_align_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x05align\x01\x05align\0\0\0$__widl_f_set_align_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\x05align\x01\x05align\0\0\0$__widl_f_scrolling_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\tscrolling\x01\tscrolling\0\0\0(__widl_f_set_scrolling_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\tscrolling\x01\tscrolling\0\0\0'__widl_f_frame_border_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x0BframeBorder\x01\x0BframeBorder\0\0\0+__widl_f_set_frame_border_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\x0BframeBorder\x01\x0BframeBorder\0\0\0$__widl_f_long_desc_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x08longDesc\x01\x08longDesc\0\0\0(__widl_f_set_long_desc_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\x08longDesc\x01\x08longDesc\0\0\0(__widl_f_margin_height_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x0CmarginHeight\x01\x0CmarginHeight\0\0\0,__widl_f_set_margin_height_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\x0CmarginHeight\x01\x0CmarginHeight\0\0\0'__widl_f_margin_width_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x01\x0BmarginWidth\x01\x0BmarginWidth\0\0\0+__widl_f_set_margin_width_HTMLIFrameElement\0\0\x01\x11HTMLIFrameElement\x01\0\x02\x0BmarginWidth\x01\x0BmarginWidth\0\0\x02\x10HTMLImageElement\"__widl_instanceof_HTMLImageElement\0\0\0\0\x12__widl_f_new_Image\x01\0\x01\x05Image\0\x01\x03new\0\0\0\x1D__widl_f_new_with_width_Image\x01\0\x01\x05Image\0\x01\x03new\0\0\0(__widl_f_new_with_width_and_height_Image\x01\0\x01\x05Image\0\x01\x03new\0\0\0\x1D__widl_f_alt_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x03alt\x01\x03alt\0\0\0!__widl_f_set_alt_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x03alt\x01\x03alt\0\0\0\x1D__widl_f_src_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x03src\x01\x03src\0\0\0!__widl_f_set_src_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x03src\x01\x03src\0\0\0 __widl_f_srcset_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x06srcset\x01\x06srcset\0\0\0$__widl_f_set_srcset_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x06srcset\x01\x06srcset\0\0\0&__widl_f_cross_origin_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x0BcrossOrigin\x01\x0BcrossOrigin\0\0\0*__widl_f_set_cross_origin_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x0BcrossOrigin\x01\x0BcrossOrigin\0\0\0!__widl_f_use_map_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x06useMap\x01\x06useMap\0\0\0%__widl_f_set_use_map_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x06useMap\x01\x06useMap\0\0\0)__widl_f_referrer_policy_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x0EreferrerPolicy\x01\x0EreferrerPolicy\0\0\0-__widl_f_set_referrer_policy_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x0EreferrerPolicy\x01\x0EreferrerPolicy\0\0\0 __widl_f_is_map_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x05isMap\x01\x05isMap\0\0\0$__widl_f_set_is_map_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x05isMap\x01\x05isMap\0\0\0\x1F__widl_f_width_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x05width\x01\x05width\0\0\0#__widl_f_set_width_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x05width\x01\x05width\0\0\0 __widl_f_height_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x06height\x01\x06height\0\0\0$__widl_f_set_height_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x06height\x01\x06height\0\0\0'__widl_f_natural_width_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x0CnaturalWidth\x01\x0CnaturalWidth\0\0\0(__widl_f_natural_height_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\rnaturalHeight\x01\rnaturalHeight\0\0\0\"__widl_f_complete_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x08complete\x01\x08complete\0\0\0\x1E__widl_f_name_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x04name\x01\x04name\0\0\0\"__widl_f_set_name_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x04name\x01\x04name\0\0\0\x1F__widl_f_align_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x05align\x01\x05align\0\0\0#__widl_f_set_align_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x05align\x01\x05align\0\0\0 __widl_f_hspace_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x06hspace\x01\x06hspace\0\0\0$__widl_f_set_hspace_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x06hspace\x01\x06hspace\0\0\0 __widl_f_vspace_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x06vspace\x01\x06vspace\0\0\0$__widl_f_set_vspace_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x06vspace\x01\x06vspace\0\0\0#__widl_f_long_desc_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x08longDesc\x01\x08longDesc\0\0\0'__widl_f_set_long_desc_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x08longDesc\x01\x08longDesc\0\0\0 __widl_f_border_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x06border\x01\x06border\0\0\0$__widl_f_set_border_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x06border\x01\x06border\0\0\0\x1F__widl_f_sizes_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\x05sizes\x01\x05sizes\0\0\0#__widl_f_set_sizes_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x02\x05sizes\x01\x05sizes\0\0\0%__widl_f_current_src_HTMLImageElement\0\0\x01\x10HTMLImageElement\x01\0\x01\ncurrentSrc\x01\ncurrentSrc\0\0\x02\x10HTMLInputElement\"__widl_instanceof_HTMLInputElement\0\0\0\0(__widl_f_check_validity_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\0\x01\rcheckValidity\0\0\0)__widl_f_report_validity_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\0\x01\x0EreportValidity\0\0\0 __widl_f_select_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\0\x01\x06select\0\0\0-__widl_f_set_custom_validity_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\0\x01\x11setCustomValidity\0\0\0(__widl_f_set_range_text_HTMLInputElement\x01\0\x01\x10HTMLInputElement\x01\0\0\x01\x0CsetRangeText\0\0\0;__widl_f_set_range_text_with_start_and_end_HTMLInputElement\x01\0\x01\x10HTMLInputElement\x01\0\0\x01\x0CsetRangeText\0\0\0-__widl_f_set_selection_range_HTMLInputElement\x01\0\x01\x10HTMLInputElement\x01\0\0\x01\x11setSelectionRange\0\0\0<__widl_f_set_selection_range_with_direction_HTMLInputElement\x01\0\x01\x10HTMLInputElement\x01\0\0\x01\x11setSelectionRange\0\0\0 __widl_f_accept_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x06accept\x01\x06accept\0\0\0$__widl_f_set_accept_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x06accept\x01\x06accept\0\0\0\x1D__widl_f_alt_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x03alt\x01\x03alt\0\0\0!__widl_f_set_alt_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x03alt\x01\x03alt\0\0\0&__widl_f_autocomplete_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x0Cautocomplete\x01\x0Cautocomplete\0\0\0*__widl_f_set_autocomplete_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x0Cautocomplete\x01\x0Cautocomplete\0\0\0#__widl_f_autofocus_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\tautofocus\x01\tautofocus\0\0\0'__widl_f_set_autofocus_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\tautofocus\x01\tautofocus\0\0\0)__widl_f_default_checked_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x0EdefaultChecked\x01\x0EdefaultChecked\0\0\0-__widl_f_set_default_checked_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x0EdefaultChecked\x01\x0EdefaultChecked\0\0\0!__widl_f_checked_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x07checked\x01\x07checked\0\0\0%__widl_f_set_checked_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x07checked\x01\x07checked\0\0\0\"__widl_f_disabled_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x08disabled\x01\x08disabled\0\0\0&__widl_f_set_disabled_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x08disabled\x01\x08disabled\0\0\0\x1E__widl_f_form_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x04form\x01\x04form\0\0\0\x1F__widl_f_files_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x05files\x01\x05files\0\0\0#__widl_f_set_files_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x05files\x01\x05files\0\0\0%__widl_f_form_action_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\nformAction\x01\nformAction\0\0\0)__widl_f_set_form_action_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\nformAction\x01\nformAction\0\0\0&__widl_f_form_enctype_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x0BformEnctype\x01\x0BformEnctype\0\0\0*__widl_f_set_form_enctype_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x0BformEnctype\x01\x0BformEnctype\0\0\0%__widl_f_form_method_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\nformMethod\x01\nformMethod\0\0\0)__widl_f_set_form_method_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\nformMethod\x01\nformMethod\0\0\0*__widl_f_form_no_validate_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x0EformNoValidate\x01\x0EformNoValidate\0\0\0.__widl_f_set_form_no_validate_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x0EformNoValidate\x01\x0EformNoValidate\0\0\0%__widl_f_form_target_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\nformTarget\x01\nformTarget\0\0\0)__widl_f_set_form_target_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\nformTarget\x01\nformTarget\0\0\0 __widl_f_height_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x06height\x01\x06height\0\0\0$__widl_f_set_height_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x06height\x01\x06height\0\0\0'__widl_f_indeterminate_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\rindeterminate\x01\rindeterminate\0\0\0+__widl_f_set_indeterminate_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\rindeterminate\x01\rindeterminate\0\0\0$__widl_f_input_mode_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\tinputMode\x01\tinputMode\0\0\0(__widl_f_set_input_mode_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\tinputMode\x01\tinputMode\0\0\0\x1E__widl_f_list_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x04list\x01\x04list\0\0\0\x1D__widl_f_max_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x03max\x01\x03max\0\0\0!__widl_f_set_max_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x03max\x01\x03max\0\0\0$__widl_f_max_length_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\tmaxLength\x01\tmaxLength\0\0\0(__widl_f_set_max_length_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\tmaxLength\x01\tmaxLength\0\0\0\x1D__widl_f_min_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x03min\x01\x03min\0\0\0!__widl_f_set_min_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x03min\x01\x03min\0\0\0$__widl_f_min_length_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\tminLength\x01\tminLength\0\0\0(__widl_f_set_min_length_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\tminLength\x01\tminLength\0\0\0\"__widl_f_multiple_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x08multiple\x01\x08multiple\0\0\0&__widl_f_set_multiple_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x08multiple\x01\x08multiple\0\0\0\x1E__widl_f_name_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x04name\x01\x04name\0\0\0\"__widl_f_set_name_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x04name\x01\x04name\0\0\0!__widl_f_pattern_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x07pattern\x01\x07pattern\0\0\0%__widl_f_set_pattern_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x07pattern\x01\x07pattern\0\0\0%__widl_f_placeholder_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x0Bplaceholder\x01\x0Bplaceholder\0\0\0)__widl_f_set_placeholder_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x0Bplaceholder\x01\x0Bplaceholder\0\0\0#__widl_f_read_only_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x08readOnly\x01\x08readOnly\0\0\0'__widl_f_set_read_only_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x08readOnly\x01\x08readOnly\0\0\0\"__widl_f_required_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x08required\x01\x08required\0\0\0&__widl_f_set_required_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x08required\x01\x08required\0\0\0\x1E__widl_f_size_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x04size\x01\x04size\0\0\0\"__widl_f_set_size_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x04size\x01\x04size\0\0\0\x1D__widl_f_src_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x03src\x01\x03src\0\0\0!__widl_f_set_src_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x03src\x01\x03src\0\0\0\x1E__widl_f_step_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x04step\x01\x04step\0\0\0\"__widl_f_set_step_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x04step\x01\x04step\0\0\0\x1E__widl_f_type_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x04type\x01\x04type\0\0\0\"__widl_f_set_type_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x04type\x01\x04type\0\0\0'__widl_f_default_value_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x0CdefaultValue\x01\x0CdefaultValue\0\0\0+__widl_f_set_default_value_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x0CdefaultValue\x01\x0CdefaultValue\0\0\0\x1F__widl_f_value_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x05value\x01\x05value\0\0\0#__widl_f_set_value_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x05value\x01\x05value\0\0\0)__widl_f_value_as_number_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\rvalueAsNumber\x01\rvalueAsNumber\0\0\0-__widl_f_set_value_as_number_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\rvalueAsNumber\x01\rvalueAsNumber\0\0\0\x1F__widl_f_width_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x05width\x01\x05width\0\0\0#__widl_f_set_width_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x05width\x01\x05width\0\0\0'__widl_f_will_validate_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x0CwillValidate\x01\x0CwillValidate\0\0\0\"__widl_f_validity_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x08validity\x01\x08validity\0\0\0,__widl_f_validation_message_HTMLInputElement\x01\0\x01\x10HTMLInputElement\x01\0\x01\x11validationMessage\x01\x11validationMessage\0\0\0 __widl_f_labels_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x06labels\x01\x06labels\0\0\0-__widl_f_selection_direction_HTMLInputElement\x01\0\x01\x10HTMLInputElement\x01\0\x01\x12selectionDirection\x01\x12selectionDirection\0\0\01__widl_f_set_selection_direction_HTMLInputElement\x01\0\x01\x10HTMLInputElement\x01\0\x02\x12selectionDirection\x01\x12selectionDirection\0\0\0\x1F__widl_f_align_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x05align\x01\x05align\0\0\0#__widl_f_set_align_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x05align\x01\x05align\0\0\0!__widl_f_use_map_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x06useMap\x01\x06useMap\0\0\0%__widl_f_set_use_map_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x06useMap\x01\x06useMap\0\0\0)__widl_f_webkitdirectory_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x01\x0Fwebkitdirectory\x01\x0Fwebkitdirectory\0\0\0-__widl_f_set_webkitdirectory_HTMLInputElement\0\0\x01\x10HTMLInputElement\x01\0\x02\x0Fwebkitdirectory\x01\x0Fwebkitdirectory\0\0\x02\rHTMLLIElement\x1F__widl_instanceof_HTMLLIElement\0\0\0\0\x1C__widl_f_value_HTMLLIElement\0\0\x01\rHTMLLIElement\x01\0\x01\x05value\x01\x05value\0\0\0 __widl_f_set_value_HTMLLIElement\0\0\x01\rHTMLLIElement\x01\0\x02\x05value\x01\x05value\0\0\0\x1B__widl_f_type_HTMLLIElement\0\0\x01\rHTMLLIElement\x01\0\x01\x04type\x01\x04type\0\0\0\x1F__widl_f_set_type_HTMLLIElement\0\0\x01\rHTMLLIElement\x01\0\x02\x04type\x01\x04type\0\0\x02\x10HTMLLabelElement\"__widl_instanceof_HTMLLabelElement\0\0\0\0\x1E__widl_f_form_HTMLLabelElement\0\0\x01\x10HTMLLabelElement\x01\0\x01\x04form\x01\x04form\0\0\0\"__widl_f_html_for_HTMLLabelElement\0\0\x01\x10HTMLLabelElement\x01\0\x01\x07htmlFor\x01\x07htmlFor\0\0\0&__widl_f_set_html_for_HTMLLabelElement\0\0\x01\x10HTMLLabelElement\x01\0\x02\x07htmlFor\x01\x07htmlFor\0\0\0!__widl_f_control_HTMLLabelElement\0\0\x01\x10HTMLLabelElement\x01\0\x01\x07control\x01\x07control\0\0\x02\x11HTMLLegendElement#__widl_instanceof_HTMLLegendElement\0\0\0\0\x1F__widl_f_form_HTMLLegendElement\0\0\x01\x11HTMLLegendElement\x01\0\x01\x04form\x01\x04form\0\0\0 __widl_f_align_HTMLLegendElement\0\0\x01\x11HTMLLegendElement\x01\0\x01\x05align\x01\x05align\0\0\0$__widl_f_set_align_HTMLLegendElement\0\0\x01\x11HTMLLegendElement\x01\0\x02\x05align\x01\x05align\0\0\x02\x0FHTMLLinkElement!__widl_instanceof_HTMLLinkElement\0\0\0\0!__widl_f_disabled_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x08disabled\x01\x08disabled\0\0\0%__widl_f_set_disabled_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x02\x08disabled\x01\x08disabled\0\0\0\x1D__widl_f_href_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x04href\x01\x04href\0\0\0!__widl_f_set_href_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x02\x04href\x01\x04href\0\0\0%__widl_f_cross_origin_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x0BcrossOrigin\x01\x0BcrossOrigin\0\0\0)__widl_f_set_cross_origin_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x02\x0BcrossOrigin\x01\x0BcrossOrigin\0\0\0\x1C__widl_f_rel_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x03rel\x01\x03rel\0\0\0 __widl_f_set_rel_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x02\x03rel\x01\x03rel\0\0\0!__widl_f_rel_list_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x07relList\x01\x07relList\0\0\0\x1E__widl_f_media_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x05media\x01\x05media\0\0\0\"__widl_f_set_media_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x02\x05media\x01\x05media\0\0\0!__widl_f_hreflang_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x08hreflang\x01\x08hreflang\0\0\0%__widl_f_set_hreflang_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x02\x08hreflang\x01\x08hreflang\0\0\0\x1D__widl_f_type_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x04type\x01\x04type\0\0\0!__widl_f_set_type_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x02\x04type\x01\x04type\0\0\0(__widl_f_referrer_policy_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x0EreferrerPolicy\x01\x0EreferrerPolicy\0\0\0,__widl_f_set_referrer_policy_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x02\x0EreferrerPolicy\x01\x0EreferrerPolicy\0\0\0\x1E__widl_f_sizes_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x05sizes\x01\x05sizes\0\0\0 __widl_f_charset_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x07charset\x01\x07charset\0\0\0$__widl_f_set_charset_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x02\x07charset\x01\x07charset\0\0\0\x1C__widl_f_rev_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x03rev\x01\x03rev\0\0\0 __widl_f_set_rev_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x02\x03rev\x01\x03rev\0\0\0\x1F__widl_f_target_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x06target\x01\x06target\0\0\0#__widl_f_set_target_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x02\x06target\x01\x06target\0\0\0\"__widl_f_integrity_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\tintegrity\x01\tintegrity\0\0\0&__widl_f_set_integrity_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x02\tintegrity\x01\tintegrity\0\0\0\x1B__widl_f_as_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x02as\x01\x02as\0\0\0\x1F__widl_f_set_as_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x02\x02as\x01\x02as\0\0\0\x1E__widl_f_sheet_HTMLLinkElement\0\0\x01\x0FHTMLLinkElement\x01\0\x01\x05sheet\x01\x05sheet\0\0\x02\x0EHTMLMapElement __widl_instanceof_HTMLMapElement\0\0\0\0\x1C__widl_f_name_HTMLMapElement\0\0\x01\x0EHTMLMapElement\x01\0\x01\x04name\x01\x04name\0\0\0 __widl_f_set_name_HTMLMapElement\0\0\x01\x0EHTMLMapElement\x01\0\x02\x04name\x01\x04name\0\0\0\x1D__widl_f_areas_HTMLMapElement\0\0\x01\x0EHTMLMapElement\x01\0\x01\x05areas\x01\x05areas\0\0\x02\x10HTMLMediaElement\"__widl_instanceof_HTMLMediaElement\0\0\0\0(__widl_f_add_text_track_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\0\x01\x0CaddTextTrack\0\0\03__widl_f_add_text_track_with_label_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\0\x01\x0CaddTextTrack\0\0\0@__widl_f_add_text_track_with_label_and_language_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\0\x01\x0CaddTextTrack\0\0\0'__widl_f_can_play_type_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\0\x01\x0BcanPlayType\0\0\0#__widl_f_fast_seek_HTMLMediaElement\x01\0\x01\x10HTMLMediaElement\x01\0\0\x01\x08fastSeek\0\0\0+__widl_f_has_suspend_taint_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\0\x01\x0FhasSuspendTaint\0\0\0\x1E__widl_f_load_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\0\x01\x04load\0\0\0\x1F__widl_f_pause_HTMLMediaElement\x01\0\x01\x10HTMLMediaElement\x01\0\0\x01\x05pause\0\0\0\x1E__widl_f_play_HTMLMediaElement\x01\0\x01\x10HTMLMediaElement\x01\0\0\x01\x04play\0\0\0,__widl_f_seek_to_next_frame_HTMLMediaElement\x01\0\x01\x10HTMLMediaElement\x01\0\0\x01\x0FseekToNextFrame\0\0\0(__widl_f_set_media_keys_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\0\x01\x0CsetMediaKeys\0\0\0%__widl_f_set_visible_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\0\x01\nsetVisible\0\0\0\x1F__widl_f_error_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x05error\x01\x05error\0\0\0\x1D__widl_f_src_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x03src\x01\x03src\0\0\0!__widl_f_set_src_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x03src\x01\x03src\0\0\0%__widl_f_current_src_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\ncurrentSrc\x01\ncurrentSrc\0\0\0&__widl_f_cross_origin_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x0BcrossOrigin\x01\x0BcrossOrigin\0\0\0*__widl_f_set_cross_origin_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x0BcrossOrigin\x01\x0BcrossOrigin\0\0\0'__widl_f_network_state_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x0CnetworkState\x01\x0CnetworkState\0\0\0!__widl_f_preload_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x07preload\x01\x07preload\0\0\0%__widl_f_set_preload_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x07preload\x01\x07preload\0\0\0\"__widl_f_buffered_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x08buffered\x01\x08buffered\0\0\0%__widl_f_ready_state_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\nreadyState\x01\nreadyState\0\0\0!__widl_f_seeking_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x07seeking\x01\x07seeking\0\0\0&__widl_f_current_time_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x0BcurrentTime\x01\x0BcurrentTime\0\0\0*__widl_f_set_current_time_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x0BcurrentTime\x01\x0BcurrentTime\0\0\0\"__widl_f_duration_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x08duration\x01\x08duration\0\0\0 __widl_f_paused_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x06paused\x01\x06paused\0\0\0/__widl_f_default_playback_rate_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x13defaultPlaybackRate\x01\x13defaultPlaybackRate\0\0\03__widl_f_set_default_playback_rate_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x13defaultPlaybackRate\x01\x13defaultPlaybackRate\0\0\0'__widl_f_playback_rate_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x0CplaybackRate\x01\x0CplaybackRate\0\0\0+__widl_f_set_playback_rate_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x0CplaybackRate\x01\x0CplaybackRate\0\0\0 __widl_f_played_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x06played\x01\x06played\0\0\0\"__widl_f_seekable_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x08seekable\x01\x08seekable\0\0\0\x1F__widl_f_ended_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x05ended\x01\x05ended\0\0\0\"__widl_f_autoplay_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x08autoplay\x01\x08autoplay\0\0\0&__widl_f_set_autoplay_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x08autoplay\x01\x08autoplay\0\0\0\x1E__widl_f_loop_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x04loop\x01\x04loop\0\0\0\"__widl_f_set_loop_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x04loop\x01\x04loop\0\0\0\"__widl_f_controls_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x08controls\x01\x08controls\0\0\0&__widl_f_set_controls_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x08controls\x01\x08controls\0\0\0 __widl_f_volume_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x06volume\x01\x06volume\0\0\0$__widl_f_set_volume_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x06volume\x01\x06volume\0\0\0\x1F__widl_f_muted_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x05muted\x01\x05muted\0\0\0#__widl_f_set_muted_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x05muted\x01\x05muted\0\0\0'__widl_f_default_muted_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x0CdefaultMuted\x01\x0CdefaultMuted\0\0\0+__widl_f_set_default_muted_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x0CdefaultMuted\x01\x0CdefaultMuted\0\0\0&__widl_f_audio_tracks_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x0BaudioTracks\x01\x0BaudioTracks\0\0\0&__widl_f_video_tracks_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x0BvideoTracks\x01\x0BvideoTracks\0\0\0%__widl_f_text_tracks_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\ntextTracks\x01\ntextTracks\0\0\0$__widl_f_media_keys_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\tmediaKeys\x01\tmediaKeys\0\0\0%__widl_f_onencrypted_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x0Bonencrypted\x01\x0Bonencrypted\0\0\0)__widl_f_set_onencrypted_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x0Bonencrypted\x01\x0Bonencrypted\0\0\0)__widl_f_onwaitingforkey_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x01\x0Fonwaitingforkey\x01\x0Fonwaitingforkey\0\0\0-__widl_f_set_onwaitingforkey_HTMLMediaElement\0\0\x01\x10HTMLMediaElement\x01\0\x02\x0Fonwaitingforkey\x01\x0Fonwaitingforkey\0\0\x02\x0FHTMLMenuElement!__widl_instanceof_HTMLMenuElement\0\0\0\0\x1D__widl_f_type_HTMLMenuElement\0\0\x01\x0FHTMLMenuElement\x01\0\x01\x04type\x01\x04type\0\0\0!__widl_f_set_type_HTMLMenuElement\0\0\x01\x0FHTMLMenuElement\x01\0\x02\x04type\x01\x04type\0\0\0\x1E__widl_f_label_HTMLMenuElement\0\0\x01\x0FHTMLMenuElement\x01\0\x01\x05label\x01\x05label\0\0\0\"__widl_f_set_label_HTMLMenuElement\0\0\x01\x0FHTMLMenuElement\x01\0\x02\x05label\x01\x05label\0\0\0 __widl_f_compact_HTMLMenuElement\0\0\x01\x0FHTMLMenuElement\x01\0\x01\x07compact\x01\x07compact\0\0\0$__widl_f_set_compact_HTMLMenuElement\0\0\x01\x0FHTMLMenuElement\x01\0\x02\x07compact\x01\x07compact\0\0\x02\x13HTMLMenuItemElement%__widl_instanceof_HTMLMenuItemElement\0\0\0\0!__widl_f_type_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x01\x04type\x01\x04type\0\0\0%__widl_f_set_type_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x02\x04type\x01\x04type\0\0\0\"__widl_f_label_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x01\x05label\x01\x05label\0\0\0&__widl_f_set_label_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x02\x05label\x01\x05label\0\0\0!__widl_f_icon_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x01\x04icon\x01\x04icon\0\0\0%__widl_f_set_icon_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x02\x04icon\x01\x04icon\0\0\0%__widl_f_disabled_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x01\x08disabled\x01\x08disabled\0\0\0)__widl_f_set_disabled_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x02\x08disabled\x01\x08disabled\0\0\0$__widl_f_checked_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x01\x07checked\x01\x07checked\0\0\0(__widl_f_set_checked_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x02\x07checked\x01\x07checked\0\0\0'__widl_f_radiogroup_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x01\nradiogroup\x01\nradiogroup\0\0\0+__widl_f_set_radiogroup_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x02\nradiogroup\x01\nradiogroup\0\0\0,__widl_f_default_checked_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x01\x0EdefaultChecked\x01\x0EdefaultChecked\0\0\00__widl_f_set_default_checked_HTMLMenuItemElement\0\0\x01\x13HTMLMenuItemElement\x01\0\x02\x0EdefaultChecked\x01\x0EdefaultChecked\0\0\x02\x0FHTMLMetaElement!__widl_instanceof_HTMLMetaElement\0\0\0\0\x1D__widl_f_name_HTMLMetaElement\0\0\x01\x0FHTMLMetaElement\x01\0\x01\x04name\x01\x04name\0\0\0!__widl_f_set_name_HTMLMetaElement\0\0\x01\x0FHTMLMetaElement\x01\0\x02\x04name\x01\x04name\0\0\0#__widl_f_http_equiv_HTMLMetaElement\0\0\x01\x0FHTMLMetaElement\x01\0\x01\thttpEquiv\x01\thttpEquiv\0\0\0'__widl_f_set_http_equiv_HTMLMetaElement\0\0\x01\x0FHTMLMetaElement\x01\0\x02\thttpEquiv\x01\thttpEquiv\0\0\0 __widl_f_content_HTMLMetaElement\0\0\x01\x0FHTMLMetaElement\x01\0\x01\x07content\x01\x07content\0\0\0$__widl_f_set_content_HTMLMetaElement\0\0\x01\x0FHTMLMetaElement\x01\0\x02\x07content\x01\x07content\0\0\0\x1F__widl_f_scheme_HTMLMetaElement\0\0\x01\x0FHTMLMetaElement\x01\0\x01\x06scheme\x01\x06scheme\0\0\0#__widl_f_set_scheme_HTMLMetaElement\0\0\x01\x0FHTMLMetaElement\x01\0\x02\x06scheme\x01\x06scheme\0\0\x02\x10HTMLMeterElement\"__widl_instanceof_HTMLMeterElement\0\0\0\0\x1F__widl_f_value_HTMLMeterElement\0\0\x01\x10HTMLMeterElement\x01\0\x01\x05value\x01\x05value\0\0\0#__widl_f_set_value_HTMLMeterElement\0\0\x01\x10HTMLMeterElement\x01\0\x02\x05value\x01\x05value\0\0\0\x1D__widl_f_min_HTMLMeterElement\0\0\x01\x10HTMLMeterElement\x01\0\x01\x03min\x01\x03min\0\0\0!__widl_f_set_min_HTMLMeterElement\0\0\x01\x10HTMLMeterElement\x01\0\x02\x03min\x01\x03min\0\0\0\x1D__widl_f_max_HTMLMeterElement\0\0\x01\x10HTMLMeterElement\x01\0\x01\x03max\x01\x03max\0\0\0!__widl_f_set_max_HTMLMeterElement\0\0\x01\x10HTMLMeterElement\x01\0\x02\x03max\x01\x03max\0\0\0\x1D__widl_f_low_HTMLMeterElement\0\0\x01\x10HTMLMeterElement\x01\0\x01\x03low\x01\x03low\0\0\0!__widl_f_set_low_HTMLMeterElement\0\0\x01\x10HTMLMeterElement\x01\0\x02\x03low\x01\x03low\0\0\0\x1E__widl_f_high_HTMLMeterElement\0\0\x01\x10HTMLMeterElement\x01\0\x01\x04high\x01\x04high\0\0\0\"__widl_f_set_high_HTMLMeterElement\0\0\x01\x10HTMLMeterElement\x01\0\x02\x04high\x01\x04high\0\0\0!__widl_f_optimum_HTMLMeterElement\0\0\x01\x10HTMLMeterElement\x01\0\x01\x07optimum\x01\x07optimum\0\0\0%__widl_f_set_optimum_HTMLMeterElement\0\0\x01\x10HTMLMeterElement\x01\0\x02\x07optimum\x01\x07optimum\0\0\0 __widl_f_labels_HTMLMeterElement\0\0\x01\x10HTMLMeterElement\x01\0\x01\x06labels\x01\x06labels\0\0\x02\x0EHTMLModElement __widl_instanceof_HTMLModElement\0\0\0\0\x1C__widl_f_cite_HTMLModElement\0\0\x01\x0EHTMLModElement\x01\0\x01\x04cite\x01\x04cite\0\0\0 __widl_f_set_cite_HTMLModElement\0\0\x01\x0EHTMLModElement\x01\0\x02\x04cite\x01\x04cite\0\0\0!__widl_f_date_time_HTMLModElement\0\0\x01\x0EHTMLModElement\x01\0\x01\x08dateTime\x01\x08dateTime\0\0\0%__widl_f_set_date_time_HTMLModElement\0\0\x01\x0EHTMLModElement\x01\0\x02\x08dateTime\x01\x08dateTime\0\0\x02\x10HTMLOListElement\"__widl_instanceof_HTMLOListElement\0\0\0\0\"__widl_f_reversed_HTMLOListElement\0\0\x01\x10HTMLOListElement\x01\0\x01\x08reversed\x01\x08reversed\0\0\0&__widl_f_set_reversed_HTMLOListElement\0\0\x01\x10HTMLOListElement\x01\0\x02\x08reversed\x01\x08reversed\0\0\0\x1F__widl_f_start_HTMLOListElement\0\0\x01\x10HTMLOListElement\x01\0\x01\x05start\x01\x05start\0\0\0#__widl_f_set_start_HTMLOListElement\0\0\x01\x10HTMLOListElement\x01\0\x02\x05start\x01\x05start\0\0\0\x1E__widl_f_type_HTMLOListElement\0\0\x01\x10HTMLOListElement\x01\0\x01\x04type\x01\x04type\0\0\0\"__widl_f_set_type_HTMLOListElement\0\0\x01\x10HTMLOListElement\x01\0\x02\x04type\x01\x04type\0\0\0!__widl_f_compact_HTMLOListElement\0\0\x01\x10HTMLOListElement\x01\0\x01\x07compact\x01\x07compact\0\0\0%__widl_f_set_compact_HTMLOListElement\0\0\x01\x10HTMLOListElement\x01\0\x02\x07compact\x01\x07compact\0\0\x02\x11HTMLObjectElement#__widl_instanceof_HTMLObjectElement\0\0\0\0)__widl_f_check_validity_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\0\x01\rcheckValidity\0\0\0+__widl_f_get_svg_document_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\0\x01\x0EgetSVGDocument\0\0\0*__widl_f_report_validity_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\0\x01\x0EreportValidity\0\0\0.__widl_f_set_custom_validity_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\0\x01\x11setCustomValidity\0\0\0\x1F__widl_f_data_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x04data\x01\x04data\0\0\0#__widl_f_set_data_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x04data\x01\x04data\0\0\0\x1F__widl_f_type_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x04type\x01\x04type\0\0\0#__widl_f_set_type_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x04type\x01\x04type\0\0\0*__widl_f_type_must_match_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\rtypeMustMatch\x01\rtypeMustMatch\0\0\0.__widl_f_set_type_must_match_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\rtypeMustMatch\x01\rtypeMustMatch\0\0\0\x1F__widl_f_name_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x04name\x01\x04name\0\0\0#__widl_f_set_name_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x04name\x01\x04name\0\0\0\"__widl_f_use_map_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x06useMap\x01\x06useMap\0\0\0&__widl_f_set_use_map_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x06useMap\x01\x06useMap\0\0\0\x1F__widl_f_form_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x04form\x01\x04form\0\0\0 __widl_f_width_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x05width\x01\x05width\0\0\0$__widl_f_set_width_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x05width\x01\x05width\0\0\0!__widl_f_height_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x06height\x01\x06height\0\0\0%__widl_f_set_height_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x06height\x01\x06height\0\0\0+__widl_f_content_document_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x0FcontentDocument\x01\x0FcontentDocument\0\0\0)__widl_f_content_window_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\rcontentWindow\x01\rcontentWindow\0\0\0(__widl_f_will_validate_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x0CwillValidate\x01\x0CwillValidate\0\0\0#__widl_f_validity_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x08validity\x01\x08validity\0\0\0-__widl_f_validation_message_HTMLObjectElement\x01\0\x01\x11HTMLObjectElement\x01\0\x01\x11validationMessage\x01\x11validationMessage\0\0\0 __widl_f_align_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x05align\x01\x05align\0\0\0$__widl_f_set_align_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x05align\x01\x05align\0\0\0\"__widl_f_archive_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x07archive\x01\x07archive\0\0\0&__widl_f_set_archive_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x07archive\x01\x07archive\0\0\0\x1F__widl_f_code_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x04code\x01\x04code\0\0\0#__widl_f_set_code_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x04code\x01\x04code\0\0\0\"__widl_f_declare_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x07declare\x01\x07declare\0\0\0&__widl_f_set_declare_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x07declare\x01\x07declare\0\0\0!__widl_f_hspace_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x06hspace\x01\x06hspace\0\0\0%__widl_f_set_hspace_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x06hspace\x01\x06hspace\0\0\0\"__widl_f_standby_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x07standby\x01\x07standby\0\0\0&__widl_f_set_standby_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x07standby\x01\x07standby\0\0\0!__widl_f_vspace_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x06vspace\x01\x06vspace\0\0\0%__widl_f_set_vspace_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x06vspace\x01\x06vspace\0\0\0$__widl_f_code_base_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x08codeBase\x01\x08codeBase\0\0\0(__widl_f_set_code_base_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x08codeBase\x01\x08codeBase\0\0\0$__widl_f_code_type_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x08codeType\x01\x08codeType\0\0\0(__widl_f_set_code_type_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x08codeType\x01\x08codeType\0\0\0!__widl_f_border_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x01\x06border\x01\x06border\0\0\0%__widl_f_set_border_HTMLObjectElement\0\0\x01\x11HTMLObjectElement\x01\0\x02\x06border\x01\x06border\0\0\x02\x13HTMLOptGroupElement%__widl_instanceof_HTMLOptGroupElement\0\0\0\0%__widl_f_disabled_HTMLOptGroupElement\0\0\x01\x13HTMLOptGroupElement\x01\0\x01\x08disabled\x01\x08disabled\0\0\0)__widl_f_set_disabled_HTMLOptGroupElement\0\0\x01\x13HTMLOptGroupElement\x01\0\x02\x08disabled\x01\x08disabled\0\0\0\"__widl_f_label_HTMLOptGroupElement\0\0\x01\x13HTMLOptGroupElement\x01\0\x01\x05label\x01\x05label\0\0\0&__widl_f_set_label_HTMLOptGroupElement\0\0\x01\x13HTMLOptGroupElement\x01\0\x02\x05label\x01\x05label\0\0\x02\x11HTMLOptionElement#__widl_instanceof_HTMLOptionElement\0\0\0\0\x13__widl_f_new_Option\x01\0\x01\x06Option\0\x01\x03new\0\0\0\x1D__widl_f_new_with_text_Option\x01\0\x01\x06Option\0\x01\x03new\0\0\0'__widl_f_new_with_text_and_value_Option\x01\0\x01\x06Option\0\x01\x03new\0\0\0<__widl_f_new_with_text_and_value_and_default_selected_Option\x01\0\x01\x06Option\0\x01\x03new\0\0\0I__widl_f_new_with_text_and_value_and_default_selected_and_selected_Option\x01\0\x01\x06Option\0\x01\x03new\0\0\0#__widl_f_disabled_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x01\x08disabled\x01\x08disabled\0\0\0'__widl_f_set_disabled_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x02\x08disabled\x01\x08disabled\0\0\0\x1F__widl_f_form_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x01\x04form\x01\x04form\0\0\0 __widl_f_label_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x01\x05label\x01\x05label\0\0\0$__widl_f_set_label_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x02\x05label\x01\x05label\0\0\0+__widl_f_default_selected_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x01\x0FdefaultSelected\x01\x0FdefaultSelected\0\0\0/__widl_f_set_default_selected_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x02\x0FdefaultSelected\x01\x0FdefaultSelected\0\0\0#__widl_f_selected_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x01\x08selected\x01\x08selected\0\0\0'__widl_f_set_selected_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x02\x08selected\x01\x08selected\0\0\0 __widl_f_value_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x01\x05value\x01\x05value\0\0\0$__widl_f_set_value_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x02\x05value\x01\x05value\0\0\0\x1F__widl_f_text_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x01\x04text\x01\x04text\0\0\0#__widl_f_set_text_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x02\x04text\x01\x04text\0\0\0 __widl_f_index_HTMLOptionElement\0\0\x01\x11HTMLOptionElement\x01\0\x01\x05index\x01\x05index\0\0\x02\x15HTMLOptionsCollection'__widl_instanceof_HTMLOptionsCollection\0\0\0\0;__widl_f_add_with_html_option_element_HTMLOptionsCollection\x01\0\x01\x15HTMLOptionsCollection\x01\0\0\x01\x03add\0\0\0>__widl_f_add_with_html_opt_group_element_HTMLOptionsCollection\x01\0\x01\x15HTMLOptionsCollection\x01\0\0\x01\x03add\0\0\0P__widl_f_add_with_html_option_element_and_opt_html_element_HTMLOptionsCollection\x01\0\x01\x15HTMLOptionsCollection\x01\0\0\x01\x03add\0\0\0S__widl_f_add_with_html_opt_group_element_and_opt_html_element_HTMLOptionsCollection\x01\0\x01\x15HTMLOptionsCollection\x01\0\0\x01\x03add\0\0\0G__widl_f_add_with_html_option_element_and_opt_i32_HTMLOptionsCollection\x01\0\x01\x15HTMLOptionsCollection\x01\0\0\x01\x03add\0\0\0J__widl_f_add_with_html_opt_group_element_and_opt_i32_HTMLOptionsCollection\x01\0\x01\x15HTMLOptionsCollection\x01\0\0\x01\x03add\0\0\0%__widl_f_remove_HTMLOptionsCollection\x01\0\x01\x15HTMLOptionsCollection\x01\0\0\x01\x06remove\0\0\0\"__widl_f_set_HTMLOptionsCollection\x01\0\x01\x15HTMLOptionsCollection\x01\0\x04\x01\x03set\0\0\0%__widl_f_length_HTMLOptionsCollection\0\0\x01\x15HTMLOptionsCollection\x01\0\x01\x06length\x01\x06length\0\0\0)__widl_f_set_length_HTMLOptionsCollection\0\0\x01\x15HTMLOptionsCollection\x01\0\x02\x06length\x01\x06length\0\0\0-__widl_f_selected_index_HTMLOptionsCollection\x01\0\x01\x15HTMLOptionsCollection\x01\0\x01\rselectedIndex\x01\rselectedIndex\0\0\01__widl_f_set_selected_index_HTMLOptionsCollection\x01\0\x01\x15HTMLOptionsCollection\x01\0\x02\rselectedIndex\x01\rselectedIndex\0\0\x02\x11HTMLOutputElement#__widl_instanceof_HTMLOutputElement\0\0\0\0)__widl_f_check_validity_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\0\x01\rcheckValidity\0\0\0*__widl_f_report_validity_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\0\x01\x0EreportValidity\0\0\0.__widl_f_set_custom_validity_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\0\x01\x11setCustomValidity\0\0\0#__widl_f_html_for_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\x01\x07htmlFor\x01\x07htmlFor\0\0\0\x1F__widl_f_form_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\x01\x04form\x01\x04form\0\0\0\x1F__widl_f_name_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\x01\x04name\x01\x04name\0\0\0#__widl_f_set_name_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\x02\x04name\x01\x04name\0\0\0\x1F__widl_f_type_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\x01\x04type\x01\x04type\0\0\0(__widl_f_default_value_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\x01\x0CdefaultValue\x01\x0CdefaultValue\0\0\0,__widl_f_set_default_value_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\x02\x0CdefaultValue\x01\x0CdefaultValue\0\0\0 __widl_f_value_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\x01\x05value\x01\x05value\0\0\0$__widl_f_set_value_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\x02\x05value\x01\x05value\0\0\0(__widl_f_will_validate_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\x01\x0CwillValidate\x01\x0CwillValidate\0\0\0#__widl_f_validity_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\x01\x08validity\x01\x08validity\0\0\0-__widl_f_validation_message_HTMLOutputElement\x01\0\x01\x11HTMLOutputElement\x01\0\x01\x11validationMessage\x01\x11validationMessage\0\0\0!__widl_f_labels_HTMLOutputElement\0\0\x01\x11HTMLOutputElement\x01\0\x01\x06labels\x01\x06labels\0\0\x02\x14HTMLParagraphElement&__widl_instanceof_HTMLParagraphElement\0\0\0\0#__widl_f_align_HTMLParagraphElement\0\0\x01\x14HTMLParagraphElement\x01\0\x01\x05align\x01\x05align\0\0\0'__widl_f_set_align_HTMLParagraphElement\0\0\x01\x14HTMLParagraphElement\x01\0\x02\x05align\x01\x05align\0\0\x02\x10HTMLParamElement\"__widl_instanceof_HTMLParamElement\0\0\0\0\x1E__widl_f_name_HTMLParamElement\0\0\x01\x10HTMLParamElement\x01\0\x01\x04name\x01\x04name\0\0\0\"__widl_f_set_name_HTMLParamElement\0\0\x01\x10HTMLParamElement\x01\0\x02\x04name\x01\x04name\0\0\0\x1F__widl_f_value_HTMLParamElement\0\0\x01\x10HTMLParamElement\x01\0\x01\x05value\x01\x05value\0\0\0#__widl_f_set_value_HTMLParamElement\0\0\x01\x10HTMLParamElement\x01\0\x02\x05value\x01\x05value\0\0\0\x1E__widl_f_type_HTMLParamElement\0\0\x01\x10HTMLParamElement\x01\0\x01\x04type\x01\x04type\0\0\0\"__widl_f_set_type_HTMLParamElement\0\0\x01\x10HTMLParamElement\x01\0\x02\x04type\x01\x04type\0\0\0$__widl_f_value_type_HTMLParamElement\0\0\x01\x10HTMLParamElement\x01\0\x01\tvalueType\x01\tvalueType\0\0\0(__widl_f_set_value_type_HTMLParamElement\0\0\x01\x10HTMLParamElement\x01\0\x02\tvalueType\x01\tvalueType\0\0\x02\x12HTMLPictureElement$__widl_instanceof_HTMLPictureElement\0\0\0\x02\x0EHTMLPreElement __widl_instanceof_HTMLPreElement\0\0\0\0\x1D__widl_f_width_HTMLPreElement\0\0\x01\x0EHTMLPreElement\x01\0\x01\x05width\x01\x05width\0\0\0!__widl_f_set_width_HTMLPreElement\0\0\x01\x0EHTMLPreElement\x01\0\x02\x05width\x01\x05width\0\0\x02\x13HTMLProgressElement%__widl_instanceof_HTMLProgressElement\0\0\0\0\"__widl_f_value_HTMLProgressElement\0\0\x01\x13HTMLProgressElement\x01\0\x01\x05value\x01\x05value\0\0\0&__widl_f_set_value_HTMLProgressElement\0\0\x01\x13HTMLProgressElement\x01\0\x02\x05value\x01\x05value\0\0\0 __widl_f_max_HTMLProgressElement\0\0\x01\x13HTMLProgressElement\x01\0\x01\x03max\x01\x03max\0\0\0$__widl_f_set_max_HTMLProgressElement\0\0\x01\x13HTMLProgressElement\x01\0\x02\x03max\x01\x03max\0\0\0%__widl_f_position_HTMLProgressElement\0\0\x01\x13HTMLProgressElement\x01\0\x01\x08position\x01\x08position\0\0\0#__widl_f_labels_HTMLProgressElement\0\0\x01\x13HTMLProgressElement\x01\0\x01\x06labels\x01\x06labels\0\0\x02\x10HTMLQuoteElement\"__widl_instanceof_HTMLQuoteElement\0\0\0\0\x1E__widl_f_cite_HTMLQuoteElement\0\0\x01\x10HTMLQuoteElement\x01\0\x01\x04cite\x01\x04cite\0\0\0\"__widl_f_set_cite_HTMLQuoteElement\0\0\x01\x10HTMLQuoteElement\x01\0\x02\x04cite\x01\x04cite\0\0\x02\x11HTMLScriptElement#__widl_instanceof_HTMLScriptElement\0\0\0\0\x1E__widl_f_src_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x01\x03src\x01\x03src\0\0\0\"__widl_f_set_src_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x02\x03src\x01\x03src\0\0\0\x1F__widl_f_type_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x01\x04type\x01\x04type\0\0\0#__widl_f_set_type_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x02\x04type\x01\x04type\0\0\0$__widl_f_no_module_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x01\x08noModule\x01\x08noModule\0\0\0(__widl_f_set_no_module_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x02\x08noModule\x01\x08noModule\0\0\0\"__widl_f_charset_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x01\x07charset\x01\x07charset\0\0\0&__widl_f_set_charset_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x02\x07charset\x01\x07charset\0\0\0 __widl_f_async_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x01\x05async\x01\x05async\0\0\0$__widl_f_set_async_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x02\x05async\x01\x05async\0\0\0 __widl_f_defer_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x01\x05defer\x01\x05defer\0\0\0$__widl_f_set_defer_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x02\x05defer\x01\x05defer\0\0\0'__widl_f_cross_origin_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x01\x0BcrossOrigin\x01\x0BcrossOrigin\0\0\0+__widl_f_set_cross_origin_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x02\x0BcrossOrigin\x01\x0BcrossOrigin\0\0\0\x1F__widl_f_text_HTMLScriptElement\x01\0\x01\x11HTMLScriptElement\x01\0\x01\x04text\x01\x04text\0\0\0#__widl_f_set_text_HTMLScriptElement\x01\0\x01\x11HTMLScriptElement\x01\0\x02\x04text\x01\x04text\0\0\0 __widl_f_event_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x01\x05event\x01\x05event\0\0\0$__widl_f_set_event_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x02\x05event\x01\x05event\0\0\0#__widl_f_html_for_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x01\x07htmlFor\x01\x07htmlFor\0\0\0'__widl_f_set_html_for_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x02\x07htmlFor\x01\x07htmlFor\0\0\0$__widl_f_integrity_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x01\tintegrity\x01\tintegrity\0\0\0(__widl_f_set_integrity_HTMLScriptElement\0\0\x01\x11HTMLScriptElement\x01\0\x02\tintegrity\x01\tintegrity\0\0\x02\x11HTMLSelectElement#__widl_instanceof_HTMLSelectElement\0\0\0\07__widl_f_add_with_html_option_element_HTMLSelectElement\x01\0\x01\x11HTMLSelectElement\x01\0\0\x01\x03add\0\0\0:__widl_f_add_with_html_opt_group_element_HTMLSelectElement\x01\0\x01\x11HTMLSelectElement\x01\0\0\x01\x03add\0\0\0L__widl_f_add_with_html_option_element_and_opt_html_element_HTMLSelectElement\x01\0\x01\x11HTMLSelectElement\x01\0\0\x01\x03add\0\0\0O__widl_f_add_with_html_opt_group_element_and_opt_html_element_HTMLSelectElement\x01\0\x01\x11HTMLSelectElement\x01\0\0\x01\x03add\0\0\0C__widl_f_add_with_html_option_element_and_opt_i32_HTMLSelectElement\x01\0\x01\x11HTMLSelectElement\x01\0\0\x01\x03add\0\0\0F__widl_f_add_with_html_opt_group_element_and_opt_i32_HTMLSelectElement\x01\0\x01\x11HTMLSelectElement\x01\0\0\x01\x03add\0\0\0)__widl_f_check_validity_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\0\x01\rcheckValidity\0\0\0\x1F__widl_f_item_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\0\x01\x04item\0\0\0%__widl_f_named_item_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\0\x01\tnamedItem\0\0\0,__widl_f_remove_with_index_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\0\x01\x06remove\0\0\0!__widl_f_remove_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\0\x01\x06remove\0\0\0*__widl_f_report_validity_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\0\x01\x0EreportValidity\0\0\0.__widl_f_set_custom_validity_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\0\x01\x11setCustomValidity\0\0\0\x1E__widl_f_get_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x03\x01\x03get\0\0\0\x1E__widl_f_set_HTMLSelectElement\x01\0\x01\x11HTMLSelectElement\x01\0\x04\x01\x03set\0\0\0$__widl_f_autofocus_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\tautofocus\x01\tautofocus\0\0\0(__widl_f_set_autofocus_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x02\tautofocus\x01\tautofocus\0\0\0'__widl_f_autocomplete_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x0Cautocomplete\x01\x0Cautocomplete\0\0\0+__widl_f_set_autocomplete_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x02\x0Cautocomplete\x01\x0Cautocomplete\0\0\0#__widl_f_disabled_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x08disabled\x01\x08disabled\0\0\0'__widl_f_set_disabled_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x02\x08disabled\x01\x08disabled\0\0\0\x1F__widl_f_form_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x04form\x01\x04form\0\0\0#__widl_f_multiple_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x08multiple\x01\x08multiple\0\0\0'__widl_f_set_multiple_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x02\x08multiple\x01\x08multiple\0\0\0\x1F__widl_f_name_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x04name\x01\x04name\0\0\0#__widl_f_set_name_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x02\x04name\x01\x04name\0\0\0#__widl_f_required_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x08required\x01\x08required\0\0\0'__widl_f_set_required_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x02\x08required\x01\x08required\0\0\0\x1F__widl_f_size_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x04size\x01\x04size\0\0\0#__widl_f_set_size_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x02\x04size\x01\x04size\0\0\0\x1F__widl_f_type_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x04type\x01\x04type\0\0\0\"__widl_f_options_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x07options\x01\x07options\0\0\0!__widl_f_length_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x06length\x01\x06length\0\0\0%__widl_f_set_length_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x02\x06length\x01\x06length\0\0\0+__widl_f_selected_options_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x0FselectedOptions\x01\x0FselectedOptions\0\0\0)__widl_f_selected_index_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\rselectedIndex\x01\rselectedIndex\0\0\0-__widl_f_set_selected_index_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x02\rselectedIndex\x01\rselectedIndex\0\0\0 __widl_f_value_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x05value\x01\x05value\0\0\0$__widl_f_set_value_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x02\x05value\x01\x05value\0\0\0(__widl_f_will_validate_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x0CwillValidate\x01\x0CwillValidate\0\0\0#__widl_f_validity_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x08validity\x01\x08validity\0\0\0-__widl_f_validation_message_HTMLSelectElement\x01\0\x01\x11HTMLSelectElement\x01\0\x01\x11validationMessage\x01\x11validationMessage\0\0\0!__widl_f_labels_HTMLSelectElement\0\0\x01\x11HTMLSelectElement\x01\0\x01\x06labels\x01\x06labels\0\0\x02\x0FHTMLSlotElement!__widl_instanceof_HTMLSlotElement\0\0\0\0\x1D__widl_f_name_HTMLSlotElement\0\0\x01\x0FHTMLSlotElement\x01\0\x01\x04name\x01\x04name\0\0\0!__widl_f_set_name_HTMLSlotElement\0\0\x01\x0FHTMLSlotElement\x01\0\x02\x04name\x01\x04name\0\0\x02\x11HTMLSourceElement#__widl_instanceof_HTMLSourceElement\0\0\0\0\x1E__widl_f_src_HTMLSourceElement\0\0\x01\x11HTMLSourceElement\x01\0\x01\x03src\x01\x03src\0\0\0\"__widl_f_set_src_HTMLSourceElement\0\0\x01\x11HTMLSourceElement\x01\0\x02\x03src\x01\x03src\0\0\0\x1F__widl_f_type_HTMLSourceElement\0\0\x01\x11HTMLSourceElement\x01\0\x01\x04type\x01\x04type\0\0\0#__widl_f_set_type_HTMLSourceElement\0\0\x01\x11HTMLSourceElement\x01\0\x02\x04type\x01\x04type\0\0\0!__widl_f_srcset_HTMLSourceElement\0\0\x01\x11HTMLSourceElement\x01\0\x01\x06srcset\x01\x06srcset\0\0\0%__widl_f_set_srcset_HTMLSourceElement\0\0\x01\x11HTMLSourceElement\x01\0\x02\x06srcset\x01\x06srcset\0\0\0 __widl_f_sizes_HTMLSourceElement\0\0\x01\x11HTMLSourceElement\x01\0\x01\x05sizes\x01\x05sizes\0\0\0$__widl_f_set_sizes_HTMLSourceElement\0\0\x01\x11HTMLSourceElement\x01\0\x02\x05sizes\x01\x05sizes\0\0\0 __widl_f_media_HTMLSourceElement\0\0\x01\x11HTMLSourceElement\x01\0\x01\x05media\x01\x05media\0\0\0$__widl_f_set_media_HTMLSourceElement\0\0\x01\x11HTMLSourceElement\x01\0\x02\x05media\x01\x05media\0\0\x02\x0FHTMLSpanElement!__widl_instanceof_HTMLSpanElement\0\0\0\x02\x10HTMLStyleElement\"__widl_instanceof_HTMLStyleElement\0\0\0\0\"__widl_f_disabled_HTMLStyleElement\0\0\x01\x10HTMLStyleElement\x01\0\x01\x08disabled\x01\x08disabled\0\0\0&__widl_f_set_disabled_HTMLStyleElement\0\0\x01\x10HTMLStyleElement\x01\0\x02\x08disabled\x01\x08disabled\0\0\0\x1F__widl_f_media_HTMLStyleElement\0\0\x01\x10HTMLStyleElement\x01\0\x01\x05media\x01\x05media\0\0\0#__widl_f_set_media_HTMLStyleElement\0\0\x01\x10HTMLStyleElement\x01\0\x02\x05media\x01\x05media\0\0\0\x1E__widl_f_type_HTMLStyleElement\0\0\x01\x10HTMLStyleElement\x01\0\x01\x04type\x01\x04type\0\0\0\"__widl_f_set_type_HTMLStyleElement\0\0\x01\x10HTMLStyleElement\x01\0\x02\x04type\x01\x04type\0\0\0\x1F__widl_f_sheet_HTMLStyleElement\0\0\x01\x10HTMLStyleElement\x01\0\x01\x05sheet\x01\x05sheet\0\0\x02\x17HTMLTableCaptionElement)__widl_instanceof_HTMLTableCaptionElement\0\0\0\0&__widl_f_align_HTMLTableCaptionElement\0\0\x01\x17HTMLTableCaptionElement\x01\0\x01\x05align\x01\x05align\0\0\0*__widl_f_set_align_HTMLTableCaptionElement\0\0\x01\x17HTMLTableCaptionElement\x01\0\x02\x05align\x01\x05align\0\0\x02\x14HTMLTableCellElement&__widl_instanceof_HTMLTableCellElement\0\0\0\0&__widl_f_col_span_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x01\x07colSpan\x01\x07colSpan\0\0\0*__widl_f_set_col_span_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x02\x07colSpan\x01\x07colSpan\0\0\0&__widl_f_row_span_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x01\x07rowSpan\x01\x07rowSpan\0\0\0*__widl_f_set_row_span_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x02\x07rowSpan\x01\x07rowSpan\0\0\0%__widl_f_headers_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x01\x07headers\x01\x07headers\0\0\0)__widl_f_set_headers_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x02\x07headers\x01\x07headers\0\0\0(__widl_f_cell_index_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x01\tcellIndex\x01\tcellIndex\0\0\0#__widl_f_align_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x01\x05align\x01\x05align\0\0\0'__widl_f_set_align_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x02\x05align\x01\x05align\0\0\0\"__widl_f_axis_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x01\x04axis\x01\x04axis\0\0\0&__widl_f_set_axis_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x02\x04axis\x01\x04axis\0\0\0$__widl_f_height_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x01\x06height\x01\x06height\0\0\0(__widl_f_set_height_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x02\x06height\x01\x06height\0\0\0#__widl_f_width_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x01\x05width\x01\x05width\0\0\0'__widl_f_set_width_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x02\x05width\x01\x05width\0\0\0 __widl_f_ch_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x01\x02ch\x01\x02ch\0\0\0$__widl_f_set_ch_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x02\x02ch\x01\x02ch\0\0\0$__widl_f_ch_off_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x01\x05chOff\x01\x05chOff\0\0\0(__widl_f_set_ch_off_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x02\x05chOff\x01\x05chOff\0\0\0%__widl_f_no_wrap_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x01\x06noWrap\x01\x06noWrap\0\0\0)__widl_f_set_no_wrap_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x02\x06noWrap\x01\x06noWrap\0\0\0%__widl_f_v_align_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x01\x06vAlign\x01\x06vAlign\0\0\0)__widl_f_set_v_align_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x02\x06vAlign\x01\x06vAlign\0\0\0&__widl_f_bg_color_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x01\x07bgColor\x01\x07bgColor\0\0\0*__widl_f_set_bg_color_HTMLTableCellElement\0\0\x01\x14HTMLTableCellElement\x01\0\x02\x07bgColor\x01\x07bgColor\0\0\x02\x13HTMLTableColElement%__widl_instanceof_HTMLTableColElement\0\0\0\0!__widl_f_span_HTMLTableColElement\0\0\x01\x13HTMLTableColElement\x01\0\x01\x04span\x01\x04span\0\0\0%__widl_f_set_span_HTMLTableColElement\0\0\x01\x13HTMLTableColElement\x01\0\x02\x04span\x01\x04span\0\0\0\"__widl_f_align_HTMLTableColElement\0\0\x01\x13HTMLTableColElement\x01\0\x01\x05align\x01\x05align\0\0\0&__widl_f_set_align_HTMLTableColElement\0\0\x01\x13HTMLTableColElement\x01\0\x02\x05align\x01\x05align\0\0\0\x1F__widl_f_ch_HTMLTableColElement\0\0\x01\x13HTMLTableColElement\x01\0\x01\x02ch\x01\x02ch\0\0\0#__widl_f_set_ch_HTMLTableColElement\0\0\x01\x13HTMLTableColElement\x01\0\x02\x02ch\x01\x02ch\0\0\0#__widl_f_ch_off_HTMLTableColElement\0\0\x01\x13HTMLTableColElement\x01\0\x01\x05chOff\x01\x05chOff\0\0\0'__widl_f_set_ch_off_HTMLTableColElement\0\0\x01\x13HTMLTableColElement\x01\0\x02\x05chOff\x01\x05chOff\0\0\0$__widl_f_v_align_HTMLTableColElement\0\0\x01\x13HTMLTableColElement\x01\0\x01\x06vAlign\x01\x06vAlign\0\0\0(__widl_f_set_v_align_HTMLTableColElement\0\0\x01\x13HTMLTableColElement\x01\0\x02\x06vAlign\x01\x06vAlign\0\0\0\"__widl_f_width_HTMLTableColElement\0\0\x01\x13HTMLTableColElement\x01\0\x01\x05width\x01\x05width\0\0\0&__widl_f_set_width_HTMLTableColElement\0\0\x01\x13HTMLTableColElement\x01\0\x02\x05width\x01\x05width\0\0\x02\x10HTMLTableElement\"__widl_instanceof_HTMLTableElement\0\0\0\0(__widl_f_create_caption_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\0\x01\rcreateCaption\0\0\0'__widl_f_create_t_body_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\0\x01\x0BcreateTBody\0\0\0'__widl_f_create_t_foot_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\0\x01\x0BcreateTFoot\0\0\0'__widl_f_create_t_head_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\0\x01\x0BcreateTHead\0\0\0(__widl_f_delete_caption_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\0\x01\rdeleteCaption\0\0\0$__widl_f_delete_row_HTMLTableElement\x01\0\x01\x10HTMLTableElement\x01\0\0\x01\tdeleteRow\0\0\0'__widl_f_delete_t_foot_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\0\x01\x0BdeleteTFoot\0\0\0'__widl_f_delete_t_head_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\0\x01\x0BdeleteTHead\0\0\0$__widl_f_insert_row_HTMLTableElement\x01\0\x01\x10HTMLTableElement\x01\0\0\x01\tinsertRow\0\0\0/__widl_f_insert_row_with_index_HTMLTableElement\x01\0\x01\x10HTMLTableElement\x01\0\0\x01\tinsertRow\0\0\0!__widl_f_caption_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x07caption\x01\x07caption\0\0\0%__widl_f_set_caption_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x02\x07caption\x01\x07caption\0\0\0 __widl_f_t_head_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x05tHead\x01\x05tHead\0\0\0$__widl_f_set_t_head_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x02\x05tHead\x01\x05tHead\0\0\0 __widl_f_t_foot_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x05tFoot\x01\x05tFoot\0\0\0$__widl_f_set_t_foot_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x02\x05tFoot\x01\x05tFoot\0\0\0\"__widl_f_t_bodies_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x07tBodies\x01\x07tBodies\0\0\0\x1E__widl_f_rows_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x04rows\x01\x04rows\0\0\0\x1F__widl_f_align_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x05align\x01\x05align\0\0\0#__widl_f_set_align_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x02\x05align\x01\x05align\0\0\0 __widl_f_border_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x06border\x01\x06border\0\0\0$__widl_f_set_border_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x02\x06border\x01\x06border\0\0\0\x1F__widl_f_frame_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x05frame\x01\x05frame\0\0\0#__widl_f_set_frame_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x02\x05frame\x01\x05frame\0\0\0\x1F__widl_f_rules_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x05rules\x01\x05rules\0\0\0#__widl_f_set_rules_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x02\x05rules\x01\x05rules\0\0\0!__widl_f_summary_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x07summary\x01\x07summary\0\0\0%__widl_f_set_summary_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x02\x07summary\x01\x07summary\0\0\0\x1F__widl_f_width_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x05width\x01\x05width\0\0\0#__widl_f_set_width_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x02\x05width\x01\x05width\0\0\0\"__widl_f_bg_color_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x07bgColor\x01\x07bgColor\0\0\0&__widl_f_set_bg_color_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x02\x07bgColor\x01\x07bgColor\0\0\0&__widl_f_cell_padding_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x0BcellPadding\x01\x0BcellPadding\0\0\0*__widl_f_set_cell_padding_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x02\x0BcellPadding\x01\x0BcellPadding\0\0\0&__widl_f_cell_spacing_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x01\x0BcellSpacing\x01\x0BcellSpacing\0\0\0*__widl_f_set_cell_spacing_HTMLTableElement\0\0\x01\x10HTMLTableElement\x01\0\x02\x0BcellSpacing\x01\x0BcellSpacing\0\0\x02\x13HTMLTableRowElement%__widl_instanceof_HTMLTableRowElement\0\0\0\0(__widl_f_delete_cell_HTMLTableRowElement\x01\0\x01\x13HTMLTableRowElement\x01\0\0\x01\ndeleteCell\0\0\0(__widl_f_insert_cell_HTMLTableRowElement\x01\0\x01\x13HTMLTableRowElement\x01\0\0\x01\ninsertCell\0\0\03__widl_f_insert_cell_with_index_HTMLTableRowElement\x01\0\x01\x13HTMLTableRowElement\x01\0\0\x01\ninsertCell\0\0\0&__widl_f_row_index_HTMLTableRowElement\0\0\x01\x13HTMLTableRowElement\x01\0\x01\x08rowIndex\x01\x08rowIndex\0\0\0.__widl_f_section_row_index_HTMLTableRowElement\0\0\x01\x13HTMLTableRowElement\x01\0\x01\x0FsectionRowIndex\x01\x0FsectionRowIndex\0\0\0\"__widl_f_cells_HTMLTableRowElement\0\0\x01\x13HTMLTableRowElement\x01\0\x01\x05cells\x01\x05cells\0\0\0\"__widl_f_align_HTMLTableRowElement\0\0\x01\x13HTMLTableRowElement\x01\0\x01\x05align\x01\x05align\0\0\0&__widl_f_set_align_HTMLTableRowElement\0\0\x01\x13HTMLTableRowElement\x01\0\x02\x05align\x01\x05align\0\0\0\x1F__widl_f_ch_HTMLTableRowElement\0\0\x01\x13HTMLTableRowElement\x01\0\x01\x02ch\x01\x02ch\0\0\0#__widl_f_set_ch_HTMLTableRowElement\0\0\x01\x13HTMLTableRowElement\x01\0\x02\x02ch\x01\x02ch\0\0\0#__widl_f_ch_off_HTMLTableRowElement\0\0\x01\x13HTMLTableRowElement\x01\0\x01\x05chOff\x01\x05chOff\0\0\0'__widl_f_set_ch_off_HTMLTableRowElement\0\0\x01\x13HTMLTableRowElement\x01\0\x02\x05chOff\x01\x05chOff\0\0\0$__widl_f_v_align_HTMLTableRowElement\0\0\x01\x13HTMLTableRowElement\x01\0\x01\x06vAlign\x01\x06vAlign\0\0\0(__widl_f_set_v_align_HTMLTableRowElement\0\0\x01\x13HTMLTableRowElement\x01\0\x02\x06vAlign\x01\x06vAlign\0\0\0%__widl_f_bg_color_HTMLTableRowElement\0\0\x01\x13HTMLTableRowElement\x01\0\x01\x07bgColor\x01\x07bgColor\0\0\0)__widl_f_set_bg_color_HTMLTableRowElement\0\0\x01\x13HTMLTableRowElement\x01\0\x02\x07bgColor\x01\x07bgColor\0\0\x02\x17HTMLTableSectionElement)__widl_instanceof_HTMLTableSectionElement\0\0\0\0+__widl_f_delete_row_HTMLTableSectionElement\x01\0\x01\x17HTMLTableSectionElement\x01\0\0\x01\tdeleteRow\0\0\0+__widl_f_insert_row_HTMLTableSectionElement\x01\0\x01\x17HTMLTableSectionElement\x01\0\0\x01\tinsertRow\0\0\06__widl_f_insert_row_with_index_HTMLTableSectionElement\x01\0\x01\x17HTMLTableSectionElement\x01\0\0\x01\tinsertRow\0\0\0%__widl_f_rows_HTMLTableSectionElement\0\0\x01\x17HTMLTableSectionElement\x01\0\x01\x04rows\x01\x04rows\0\0\0&__widl_f_align_HTMLTableSectionElement\0\0\x01\x17HTMLTableSectionElement\x01\0\x01\x05align\x01\x05align\0\0\0*__widl_f_set_align_HTMLTableSectionElement\0\0\x01\x17HTMLTableSectionElement\x01\0\x02\x05align\x01\x05align\0\0\0#__widl_f_ch_HTMLTableSectionElement\0\0\x01\x17HTMLTableSectionElement\x01\0\x01\x02ch\x01\x02ch\0\0\0'__widl_f_set_ch_HTMLTableSectionElement\0\0\x01\x17HTMLTableSectionElement\x01\0\x02\x02ch\x01\x02ch\0\0\0'__widl_f_ch_off_HTMLTableSectionElement\0\0\x01\x17HTMLTableSectionElement\x01\0\x01\x05chOff\x01\x05chOff\0\0\0+__widl_f_set_ch_off_HTMLTableSectionElement\0\0\x01\x17HTMLTableSectionElement\x01\0\x02\x05chOff\x01\x05chOff\0\0\0(__widl_f_v_align_HTMLTableSectionElement\0\0\x01\x17HTMLTableSectionElement\x01\0\x01\x06vAlign\x01\x06vAlign\0\0\0,__widl_f_set_v_align_HTMLTableSectionElement\0\0\x01\x17HTMLTableSectionElement\x01\0\x02\x06vAlign\x01\x06vAlign\0\0\x02\x13HTMLTemplateElement%__widl_instanceof_HTMLTemplateElement\0\0\0\0$__widl_f_content_HTMLTemplateElement\0\0\x01\x13HTMLTemplateElement\x01\0\x01\x07content\x01\x07content\0\0\x02\x13HTMLTextAreaElement%__widl_instanceof_HTMLTextAreaElement\0\0\0\0+__widl_f_check_validity_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\0\x01\rcheckValidity\0\0\0,__widl_f_report_validity_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\0\x01\x0EreportValidity\0\0\0#__widl_f_select_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\0\x01\x06select\0\0\00__widl_f_set_custom_validity_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\0\x01\x11setCustomValidity\0\0\0+__widl_f_set_range_text_HTMLTextAreaElement\x01\0\x01\x13HTMLTextAreaElement\x01\0\0\x01\x0CsetRangeText\0\0\0>__widl_f_set_range_text_with_start_and_end_HTMLTextAreaElement\x01\0\x01\x13HTMLTextAreaElement\x01\0\0\x01\x0CsetRangeText\0\0\00__widl_f_set_selection_range_HTMLTextAreaElement\x01\0\x01\x13HTMLTextAreaElement\x01\0\0\x01\x11setSelectionRange\0\0\0?__widl_f_set_selection_range_with_direction_HTMLTextAreaElement\x01\0\x01\x13HTMLTextAreaElement\x01\0\0\x01\x11setSelectionRange\0\0\0)__widl_f_autocomplete_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x0Cautocomplete\x01\x0Cautocomplete\0\0\0-__widl_f_set_autocomplete_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x02\x0Cautocomplete\x01\x0Cautocomplete\0\0\0&__widl_f_autofocus_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\tautofocus\x01\tautofocus\0\0\0*__widl_f_set_autofocus_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x02\tautofocus\x01\tautofocus\0\0\0!__widl_f_cols_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x04cols\x01\x04cols\0\0\0%__widl_f_set_cols_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x02\x04cols\x01\x04cols\0\0\0%__widl_f_disabled_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x08disabled\x01\x08disabled\0\0\0)__widl_f_set_disabled_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x02\x08disabled\x01\x08disabled\0\0\0!__widl_f_form_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x04form\x01\x04form\0\0\0'__widl_f_max_length_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\tmaxLength\x01\tmaxLength\0\0\0+__widl_f_set_max_length_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x02\tmaxLength\x01\tmaxLength\0\0\0'__widl_f_min_length_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\tminLength\x01\tminLength\0\0\0+__widl_f_set_min_length_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x02\tminLength\x01\tminLength\0\0\0!__widl_f_name_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x04name\x01\x04name\0\0\0%__widl_f_set_name_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x02\x04name\x01\x04name\0\0\0(__widl_f_placeholder_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x0Bplaceholder\x01\x0Bplaceholder\0\0\0,__widl_f_set_placeholder_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x02\x0Bplaceholder\x01\x0Bplaceholder\0\0\0&__widl_f_read_only_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x08readOnly\x01\x08readOnly\0\0\0*__widl_f_set_read_only_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x02\x08readOnly\x01\x08readOnly\0\0\0%__widl_f_required_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x08required\x01\x08required\0\0\0)__widl_f_set_required_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x02\x08required\x01\x08required\0\0\0!__widl_f_rows_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x04rows\x01\x04rows\0\0\0%__widl_f_set_rows_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x02\x04rows\x01\x04rows\0\0\0!__widl_f_wrap_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x04wrap\x01\x04wrap\0\0\0%__widl_f_set_wrap_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x02\x04wrap\x01\x04wrap\0\0\0!__widl_f_type_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x04type\x01\x04type\0\0\0*__widl_f_default_value_HTMLTextAreaElement\x01\0\x01\x13HTMLTextAreaElement\x01\0\x01\x0CdefaultValue\x01\x0CdefaultValue\0\0\0.__widl_f_set_default_value_HTMLTextAreaElement\x01\0\x01\x13HTMLTextAreaElement\x01\0\x02\x0CdefaultValue\x01\x0CdefaultValue\0\0\0\"__widl_f_value_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x05value\x01\x05value\0\0\0&__widl_f_set_value_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x02\x05value\x01\x05value\0\0\0(__widl_f_text_length_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\ntextLength\x01\ntextLength\0\0\0*__widl_f_will_validate_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x0CwillValidate\x01\x0CwillValidate\0\0\0%__widl_f_validity_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x08validity\x01\x08validity\0\0\0/__widl_f_validation_message_HTMLTextAreaElement\x01\0\x01\x13HTMLTextAreaElement\x01\0\x01\x11validationMessage\x01\x11validationMessage\0\0\0#__widl_f_labels_HTMLTextAreaElement\0\0\x01\x13HTMLTextAreaElement\x01\0\x01\x06labels\x01\x06labels\0\0\00__widl_f_selection_direction_HTMLTextAreaElement\x01\0\x01\x13HTMLTextAreaElement\x01\0\x01\x12selectionDirection\x01\x12selectionDirection\0\0\04__widl_f_set_selection_direction_HTMLTextAreaElement\x01\0\x01\x13HTMLTextAreaElement\x01\0\x02\x12selectionDirection\x01\x12selectionDirection\0\0\x02\x0FHTMLTimeElement!__widl_instanceof_HTMLTimeElement\0\0\0\0\"__widl_f_date_time_HTMLTimeElement\0\0\x01\x0FHTMLTimeElement\x01\0\x01\x08dateTime\x01\x08dateTime\0\0\0&__widl_f_set_date_time_HTMLTimeElement\0\0\x01\x0FHTMLTimeElement\x01\0\x02\x08dateTime\x01\x08dateTime\0\0\x02\x10HTMLTitleElement\"__widl_instanceof_HTMLTitleElement\0\0\0\0\x1E__widl_f_text_HTMLTitleElement\x01\0\x01\x10HTMLTitleElement\x01\0\x01\x04text\x01\x04text\0\0\0\"__widl_f_set_text_HTMLTitleElement\x01\0\x01\x10HTMLTitleElement\x01\0\x02\x04text\x01\x04text\0\0\x02\x10HTMLTrackElement\"__widl_instanceof_HTMLTrackElement\0\0\0\0\x1E__widl_f_kind_HTMLTrackElement\0\0\x01\x10HTMLTrackElement\x01\0\x01\x04kind\x01\x04kind\0\0\0\"__widl_f_set_kind_HTMLTrackElement\0\0\x01\x10HTMLTrackElement\x01\0\x02\x04kind\x01\x04kind\0\0\0\x1D__widl_f_src_HTMLTrackElement\0\0\x01\x10HTMLTrackElement\x01\0\x01\x03src\x01\x03src\0\0\0!__widl_f_set_src_HTMLTrackElement\0\0\x01\x10HTMLTrackElement\x01\0\x02\x03src\x01\x03src\0\0\0!__widl_f_srclang_HTMLTrackElement\0\0\x01\x10HTMLTrackElement\x01\0\x01\x07srclang\x01\x07srclang\0\0\0%__widl_f_set_srclang_HTMLTrackElement\0\0\x01\x10HTMLTrackElement\x01\0\x02\x07srclang\x01\x07srclang\0\0\0\x1F__widl_f_label_HTMLTrackElement\0\0\x01\x10HTMLTrackElement\x01\0\x01\x05label\x01\x05label\0\0\0#__widl_f_set_label_HTMLTrackElement\0\0\x01\x10HTMLTrackElement\x01\0\x02\x05label\x01\x05label\0\0\0!__widl_f_default_HTMLTrackElement\0\0\x01\x10HTMLTrackElement\x01\0\x01\x07default\x01\x07default\0\0\0%__widl_f_set_default_HTMLTrackElement\0\0\x01\x10HTMLTrackElement\x01\0\x02\x07default\x01\x07default\0\0\0%__widl_f_ready_state_HTMLTrackElement\0\0\x01\x10HTMLTrackElement\x01\0\x01\nreadyState\x01\nreadyState\0\0\0\x1F__widl_f_track_HTMLTrackElement\0\0\x01\x10HTMLTrackElement\x01\0\x01\x05track\x01\x05track\0\0\x02\x10HTMLUListElement\"__widl_instanceof_HTMLUListElement\0\0\0\0!__widl_f_compact_HTMLUListElement\0\0\x01\x10HTMLUListElement\x01\0\x01\x07compact\x01\x07compact\0\0\0%__widl_f_set_compact_HTMLUListElement\0\0\x01\x10HTMLUListElement\x01\0\x02\x07compact\x01\x07compact\0\0\0\x1E__widl_f_type_HTMLUListElement\0\0\x01\x10HTMLUListElement\x01\0\x01\x04type\x01\x04type\0\0\0\"__widl_f_set_type_HTMLUListElement\0\0\x01\x10HTMLUListElement\x01\0\x02\x04type\x01\x04type\0\0\x02\x12HTMLUnknownElement$__widl_instanceof_HTMLUnknownElement\0\0\0\x02\x10HTMLVideoElement\"__widl_instanceof_HTMLVideoElement\0\0\0\04__widl_f_get_video_playback_quality_HTMLVideoElement\0\0\x01\x10HTMLVideoElement\x01\0\0\x01\x17getVideoPlaybackQuality\0\0\0\x1F__widl_f_width_HTMLVideoElement\0\0\x01\x10HTMLVideoElement\x01\0\x01\x05width\x01\x05width\0\0\0#__widl_f_set_width_HTMLVideoElement\0\0\x01\x10HTMLVideoElement\x01\0\x02\x05width\x01\x05width\0\0\0 __widl_f_height_HTMLVideoElement\0\0\x01\x10HTMLVideoElement\x01\0\x01\x06height\x01\x06height\0\0\0$__widl_f_set_height_HTMLVideoElement\0\0\x01\x10HTMLVideoElement\x01\0\x02\x06height\x01\x06height\0\0\0%__widl_f_video_width_HTMLVideoElement\0\0\x01\x10HTMLVideoElement\x01\0\x01\nvideoWidth\x01\nvideoWidth\0\0\0&__widl_f_video_height_HTMLVideoElement\0\0\x01\x10HTMLVideoElement\x01\0\x01\x0BvideoHeight\x01\x0BvideoHeight\0\0\0 __widl_f_poster_HTMLVideoElement\0\0\x01\x10HTMLVideoElement\x01\0\x01\x06poster\x01\x06poster\0\0\0$__widl_f_set_poster_HTMLVideoElement\0\0\x01\x10HTMLVideoElement\x01\0\x02\x06poster\x01\x06poster\0\0\x02\x0FHashChangeEvent!__widl_instanceof_HashChangeEvent\0\0\0\0\x1C__widl_f_new_HashChangeEvent\x01\0\x01\x0FHashChangeEvent\0\x01\x03new\0\0\01__widl_f_new_with_event_init_dict_HashChangeEvent\x01\0\x01\x0FHashChangeEvent\0\x01\x03new\0\0\0/__widl_f_init_hash_change_event_HashChangeEvent\0\0\x01\x0FHashChangeEvent\x01\0\0\x01\x13initHashChangeEvent\0\0\0C__widl_f_init_hash_change_event_with_can_bubble_arg_HashChangeEvent\0\0\x01\x0FHashChangeEvent\x01\0\0\x01\x13initHashChangeEvent\0\0\0V__widl_f_init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_HashChangeEvent\0\0\x01\x0FHashChangeEvent\x01\0\0\x01\x13initHashChangeEvent\0\0\0f__widl_f_init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg_HashChangeEvent\0\0\x01\x0FHashChangeEvent\x01\0\0\x01\x13initHashChangeEvent\0\0\0v__widl_f_init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg_and_new_url_arg_HashChangeEvent\0\0\x01\x0FHashChangeEvent\x01\0\0\x01\x13initHashChangeEvent\0\0\0 __widl_f_old_url_HashChangeEvent\0\0\x01\x0FHashChangeEvent\x01\0\x01\x06oldURL\x01\x06oldURL\0\0\0 __widl_f_new_url_HashChangeEvent\0\0\x01\x0FHashChangeEvent\x01\0\x01\x06newURL\x01\x06newURL\0\0\x02\x07Headers\x19__widl_instanceof_Headers\0\0\0\0\x14__widl_f_new_Headers\x01\0\x01\x07Headers\0\x01\x03new\0\0\0!__widl_f_new_with_headers_Headers\x01\0\x01\x07Headers\0\x01\x03new\0\0\0\x17__widl_f_append_Headers\x01\0\x01\x07Headers\x01\0\0\x01\x06append\0\0\0\x17__widl_f_delete_Headers\x01\0\x01\x07Headers\x01\0\0\x01\x06delete\0\0\0\x14__widl_f_get_Headers\x01\0\x01\x07Headers\x01\0\0\x01\x03get\0\0\0\x14__widl_f_has_Headers\x01\0\x01\x07Headers\x01\0\0\x01\x03has\0\0\0\x14__widl_f_set_Headers\x01\0\x01\x07Headers\x01\0\0\x01\x03set\0\0\x02\x07History\x19__widl_instanceof_History\0\0\0\0\x15__widl_f_back_History\x01\0\x01\x07History\x01\0\0\x01\x04back\0\0\0\x18__widl_f_forward_History\x01\0\x01\x07History\x01\0\0\x01\x07forward\0\0\0\x13__widl_f_go_History\x01\0\x01\x07History\x01\0\0\x01\x02go\0\0\0\x1E__widl_f_go_with_delta_History\x01\0\x01\x07History\x01\0\0\x01\x02go\0\0\0\x1B__widl_f_push_state_History\x01\0\x01\x07History\x01\0\0\x01\tpushState\0\0\0$__widl_f_push_state_with_url_History\x01\0\x01\x07History\x01\0\0\x01\tpushState\0\0\0\x1E__widl_f_replace_state_History\x01\0\x01\x07History\x01\0\0\x01\x0CreplaceState\0\0\0'__widl_f_replace_state_with_url_History\x01\0\x01\x07History\x01\0\0\x01\x0CreplaceState\0\0\0\x17__widl_f_length_History\x01\0\x01\x07History\x01\0\x01\x06length\x01\x06length\0\0\0#__widl_f_scroll_restoration_History\x01\0\x01\x07History\x01\0\x01\x11scrollRestoration\x01\x11scrollRestoration\0\0\0'__widl_f_set_scroll_restoration_History\x01\0\x01\x07History\x01\0\x02\x11scrollRestoration\x01\x11scrollRestoration\0\0\0\x16__widl_f_state_History\x01\0\x01\x07History\x01\0\x01\x05state\x01\x05state\0\0\x02\tIDBCursor\x1B__widl_instanceof_IDBCursor\0\0\0\0\x1A__widl_f_advance_IDBCursor\x01\0\x01\tIDBCursor\x01\0\0\x01\x07advance\0\0\0\x1B__widl_f_continue_IDBCursor\x01\0\x01\tIDBCursor\x01\0\0\x01\x08continue\0\0\0$__widl_f_continue_with_key_IDBCursor\x01\0\x01\tIDBCursor\x01\0\0\x01\x08continue\0\0\0'__widl_f_continue_primary_key_IDBCursor\x01\0\x01\tIDBCursor\x01\0\0\x01\x12continuePrimaryKey\0\0\0\x19__widl_f_delete_IDBCursor\x01\0\x01\tIDBCursor\x01\0\0\x01\x06delete\0\0\0\x19__widl_f_update_IDBCursor\x01\0\x01\tIDBCursor\x01\0\0\x01\x06update\0\0\0\x19__widl_f_source_IDBCursor\0\0\x01\tIDBCursor\x01\0\x01\x06source\x01\x06source\0\0\0\x1C__widl_f_direction_IDBCursor\0\0\x01\tIDBCursor\x01\0\x01\tdirection\x01\tdirection\0\0\0\x16__widl_f_key_IDBCursor\x01\0\x01\tIDBCursor\x01\0\x01\x03key\x01\x03key\0\0\0\x1E__widl_f_primary_key_IDBCursor\x01\0\x01\tIDBCursor\x01\0\x01\nprimaryKey\x01\nprimaryKey\0\0\x02\x12IDBCursorWithValue$__widl_instanceof_IDBCursorWithValue\0\0\0\0!__widl_f_value_IDBCursorWithValue\x01\0\x01\x12IDBCursorWithValue\x01\0\x01\x05value\x01\x05value\0\0\x02\x0BIDBDatabase\x1D__widl_instanceof_IDBDatabase\0\0\0\0\x1A__widl_f_close_IDBDatabase\0\0\x01\x0BIDBDatabase\x01\0\0\x01\x05close\0\0\0(__widl_f_create_mutable_file_IDBDatabase\x01\0\x01\x0BIDBDatabase\x01\0\0\x01\x11createMutableFile\0\0\02__widl_f_create_mutable_file_with_type_IDBDatabase\x01\0\x01\x0BIDBDatabase\x01\0\0\x01\x11createMutableFile\0\0\0(__widl_f_create_object_store_IDBDatabase\x01\0\x01\x0BIDBDatabase\x01\0\0\x01\x11createObjectStore\0\0\0A__widl_f_create_object_store_with_optional_parameters_IDBDatabase\x01\0\x01\x0BIDBDatabase\x01\0\0\x01\x11createObjectStore\0\0\0(__widl_f_delete_object_store_IDBDatabase\x01\0\x01\x0BIDBDatabase\x01\0\0\x01\x11deleteObjectStore\0\0\0)__widl_f_transaction_with_str_IDBDatabase\x01\0\x01\x0BIDBDatabase\x01\0\0\x01\x0Btransaction\0\0\02__widl_f_transaction_with_str_and_mode_IDBDatabase\x01\0\x01\x0BIDBDatabase\x01\0\0\x01\x0Btransaction\0\0\0\x19__widl_f_name_IDBDatabase\0\0\x01\x0BIDBDatabase\x01\0\x01\x04name\x01\x04name\0\0\0\x1C__widl_f_version_IDBDatabase\0\0\x01\x0BIDBDatabase\x01\0\x01\x07version\x01\x07version\0\0\0'__widl_f_object_store_names_IDBDatabase\0\0\x01\x0BIDBDatabase\x01\0\x01\x10objectStoreNames\x01\x10objectStoreNames\0\0\0\x1C__widl_f_onabort_IDBDatabase\0\0\x01\x0BIDBDatabase\x01\0\x01\x07onabort\x01\x07onabort\0\0\0 __widl_f_set_onabort_IDBDatabase\0\0\x01\x0BIDBDatabase\x01\0\x02\x07onabort\x01\x07onabort\0\0\0\x1C__widl_f_onclose_IDBDatabase\0\0\x01\x0BIDBDatabase\x01\0\x01\x07onclose\x01\x07onclose\0\0\0 __widl_f_set_onclose_IDBDatabase\0\0\x01\x0BIDBDatabase\x01\0\x02\x07onclose\x01\x07onclose\0\0\0\x1C__widl_f_onerror_IDBDatabase\0\0\x01\x0BIDBDatabase\x01\0\x01\x07onerror\x01\x07onerror\0\0\0 __widl_f_set_onerror_IDBDatabase\0\0\x01\x0BIDBDatabase\x01\0\x02\x07onerror\x01\x07onerror\0\0\0$__widl_f_onversionchange_IDBDatabase\0\0\x01\x0BIDBDatabase\x01\0\x01\x0Fonversionchange\x01\x0Fonversionchange\0\0\0(__widl_f_set_onversionchange_IDBDatabase\0\0\x01\x0BIDBDatabase\x01\0\x02\x0Fonversionchange\x01\x0Fonversionchange\0\0\0\x1C__widl_f_storage_IDBDatabase\0\0\x01\x0BIDBDatabase\x01\0\x01\x07storage\x01\x07storage\0\0\x02\nIDBFactory\x1C__widl_instanceof_IDBFactory\0\0\0\0\x17__widl_f_cmp_IDBFactory\x01\0\x01\nIDBFactory\x01\0\0\x01\x03cmp\0\0\0#__widl_f_delete_database_IDBFactory\x01\0\x01\nIDBFactory\x01\0\0\x01\x0EdeleteDatabase\0\0\00__widl_f_delete_database_with_options_IDBFactory\x01\0\x01\nIDBFactory\x01\0\0\x01\x0EdeleteDatabase\0\0\0!__widl_f_open_with_u32_IDBFactory\x01\0\x01\nIDBFactory\x01\0\0\x01\x04open\0\0\0!__widl_f_open_with_f64_IDBFactory\x01\0\x01\nIDBFactory\x01\0\0\x01\x04open\0\0\0\x18__widl_f_open_IDBFactory\x01\0\x01\nIDBFactory\x01\0\0\x01\x04open\0\0\01__widl_f_open_with_idb_open_db_options_IDBFactory\x01\0\x01\nIDBFactory\x01\0\0\x01\x04open\0\0\x02\rIDBFileHandle\x1F__widl_instanceof_IDBFileHandle\0\0\0\0\x1C__widl_f_abort_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x05abort\0\0\0&__widl_f_append_with_str_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x06append\0\0\0/__widl_f_append_with_array_buffer_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x06append\0\0\04__widl_f_append_with_array_buffer_view_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x06append\0\0\0+__widl_f_append_with_u8_array_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x06append\0\0\0'__widl_f_append_with_blob_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x06append\0\0\0\x1C__widl_f_flush_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x05flush\0\0\0#__widl_f_get_metadata_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x0BgetMetadata\0\0\03__widl_f_get_metadata_with_parameters_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x0BgetMetadata\0\0\04__widl_f_read_as_array_buffer_with_u32_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x11readAsArrayBuffer\0\0\04__widl_f_read_as_array_buffer_with_f64_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x11readAsArrayBuffer\0\0\0,__widl_f_read_as_text_with_u32_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\nreadAsText\0\0\0,__widl_f_read_as_text_with_f64_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\nreadAsText\0\0\09__widl_f_read_as_text_with_u32_and_encoding_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\nreadAsText\0\0\09__widl_f_read_as_text_with_f64_and_encoding_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\nreadAsText\0\0\0\x1F__widl_f_truncate_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x08truncate\0\0\0(__widl_f_truncate_with_u32_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x08truncate\0\0\0(__widl_f_truncate_with_f64_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x08truncate\0\0\0%__widl_f_write_with_str_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x05write\0\0\0.__widl_f_write_with_array_buffer_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x05write\0\0\03__widl_f_write_with_array_buffer_view_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x05write\0\0\0*__widl_f_write_with_u8_array_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x05write\0\0\0&__widl_f_write_with_blob_IDBFileHandle\x01\0\x01\rIDBFileHandle\x01\0\0\x01\x05write\0\0\0#__widl_f_mutable_file_IDBFileHandle\0\0\x01\rIDBFileHandle\x01\0\x01\x0BmutableFile\x01\x0BmutableFile\0\0\0\"__widl_f_file_handle_IDBFileHandle\0\0\x01\rIDBFileHandle\x01\0\x01\nfileHandle\x01\nfileHandle\0\0\0\x1D__widl_f_active_IDBFileHandle\0\0\x01\rIDBFileHandle\x01\0\x01\x06active\x01\x06active\0\0\0\x1F__widl_f_location_IDBFileHandle\0\0\x01\rIDBFileHandle\x01\0\x01\x08location\x01\x08location\0\0\0#__widl_f_set_location_IDBFileHandle\0\0\x01\rIDBFileHandle\x01\0\x02\x08location\x01\x08location\0\0\0!__widl_f_oncomplete_IDBFileHandle\0\0\x01\rIDBFileHandle\x01\0\x01\noncomplete\x01\noncomplete\0\0\0%__widl_f_set_oncomplete_IDBFileHandle\0\0\x01\rIDBFileHandle\x01\0\x02\noncomplete\x01\noncomplete\0\0\0\x1E__widl_f_onabort_IDBFileHandle\0\0\x01\rIDBFileHandle\x01\0\x01\x07onabort\x01\x07onabort\0\0\0\"__widl_f_set_onabort_IDBFileHandle\0\0\x01\rIDBFileHandle\x01\0\x02\x07onabort\x01\x07onabort\0\0\0\x1E__widl_f_onerror_IDBFileHandle\0\0\x01\rIDBFileHandle\x01\0\x01\x07onerror\x01\x07onerror\0\0\0\"__widl_f_set_onerror_IDBFileHandle\0\0\x01\rIDBFileHandle\x01\0\x02\x07onerror\x01\x07onerror\0\0\x02\x0EIDBFileRequest __widl_instanceof_IDBFileRequest\0\0\0\0#__widl_f_file_handle_IDBFileRequest\0\0\x01\x0EIDBFileRequest\x01\0\x01\nfileHandle\x01\nfileHandle\0\0\0#__widl_f_locked_file_IDBFileRequest\0\0\x01\x0EIDBFileRequest\x01\0\x01\nlockedFile\x01\nlockedFile\0\0\0\"__widl_f_onprogress_IDBFileRequest\0\0\x01\x0EIDBFileRequest\x01\0\x01\nonprogress\x01\nonprogress\0\0\0&__widl_f_set_onprogress_IDBFileRequest\0\0\x01\x0EIDBFileRequest\x01\0\x02\nonprogress\x01\nonprogress\0\0\x02\x08IDBIndex\x1A__widl_instanceof_IDBIndex\0\0\0\0\x17__widl_f_count_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\x05count\0\0\0 __widl_f_count_with_key_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\x05count\0\0\0\x15__widl_f_get_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\x03get\0\0\0\x19__widl_f_get_all_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\x06getAll\0\0\0\"__widl_f_get_all_with_key_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\x06getAll\0\0\0,__widl_f_get_all_with_key_and_limit_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\x06getAll\0\0\0\x1E__widl_f_get_all_keys_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\ngetAllKeys\0\0\0'__widl_f_get_all_keys_with_key_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\ngetAllKeys\0\0\01__widl_f_get_all_keys_with_key_and_limit_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\ngetAllKeys\0\0\0\x19__widl_f_get_key_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\x06getKey\0\0\0\x1D__widl_f_open_cursor_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\nopenCursor\0\0\0(__widl_f_open_cursor_with_range_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\nopenCursor\0\0\06__widl_f_open_cursor_with_range_and_direction_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\nopenCursor\0\0\0!__widl_f_open_key_cursor_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\ropenKeyCursor\0\0\0,__widl_f_open_key_cursor_with_range_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\ropenKeyCursor\0\0\0:__widl_f_open_key_cursor_with_range_and_direction_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\0\x01\ropenKeyCursor\0\0\0\x16__widl_f_name_IDBIndex\0\0\x01\x08IDBIndex\x01\0\x01\x04name\x01\x04name\0\0\0\x1A__widl_f_set_name_IDBIndex\0\0\x01\x08IDBIndex\x01\0\x02\x04name\x01\x04name\0\0\0\x1E__widl_f_object_store_IDBIndex\0\0\x01\x08IDBIndex\x01\0\x01\x0BobjectStore\x01\x0BobjectStore\0\0\0\x1A__widl_f_key_path_IDBIndex\x01\0\x01\x08IDBIndex\x01\0\x01\x07keyPath\x01\x07keyPath\0\0\0\x1D__widl_f_multi_entry_IDBIndex\0\0\x01\x08IDBIndex\x01\0\x01\nmultiEntry\x01\nmultiEntry\0\0\0\x18__widl_f_unique_IDBIndex\0\0\x01\x08IDBIndex\x01\0\x01\x06unique\x01\x06unique\0\0\0\x18__widl_f_locale_IDBIndex\0\0\x01\x08IDBIndex\x01\0\x01\x06locale\x01\x06locale\0\0\0 __widl_f_is_auto_locale_IDBIndex\0\0\x01\x08IDBIndex\x01\0\x01\x0CisAutoLocale\x01\x0CisAutoLocale\0\0\x02\x0BIDBKeyRange\x1D__widl_instanceof_IDBKeyRange\0\0\0\0\x1A__widl_f_bound_IDBKeyRange\x01\0\x01\x0BIDBKeyRange\x01\x01\0\x01\x05bound\0\0\0*__widl_f_bound_with_lower_open_IDBKeyRange\x01\0\x01\x0BIDBKeyRange\x01\x01\0\x01\x05bound\0\0\09__widl_f_bound_with_lower_open_and_upper_open_IDBKeyRange\x01\0\x01\x0BIDBKeyRange\x01\x01\0\x01\x05bound\0\0\0\x1D__widl_f_includes_IDBKeyRange\x01\0\x01\x0BIDBKeyRange\x01\0\0\x01\x08includes\0\0\0 __widl_f_lower_bound_IDBKeyRange\x01\0\x01\x0BIDBKeyRange\x01\x01\0\x01\nlowerBound\0\0\0*__widl_f_lower_bound_with_open_IDBKeyRange\x01\0\x01\x0BIDBKeyRange\x01\x01\0\x01\nlowerBound\0\0\0\x19__widl_f_only_IDBKeyRange\x01\0\x01\x0BIDBKeyRange\x01\x01\0\x01\x04only\0\0\0 __widl_f_upper_bound_IDBKeyRange\x01\0\x01\x0BIDBKeyRange\x01\x01\0\x01\nupperBound\0\0\0*__widl_f_upper_bound_with_open_IDBKeyRange\x01\0\x01\x0BIDBKeyRange\x01\x01\0\x01\nupperBound\0\0\0\x1A__widl_f_lower_IDBKeyRange\x01\0\x01\x0BIDBKeyRange\x01\0\x01\x05lower\x01\x05lower\0\0\0\x1A__widl_f_upper_IDBKeyRange\x01\0\x01\x0BIDBKeyRange\x01\0\x01\x05upper\x01\x05upper\0\0\0\x1F__widl_f_lower_open_IDBKeyRange\0\0\x01\x0BIDBKeyRange\x01\0\x01\tlowerOpen\x01\tlowerOpen\0\0\0\x1F__widl_f_upper_open_IDBKeyRange\0\0\x01\x0BIDBKeyRange\x01\0\x01\tupperOpen\x01\tupperOpen\0\0\x02\x16IDBLocaleAwareKeyRange(__widl_instanceof_IDBLocaleAwareKeyRange\0\0\0\0%__widl_f_bound_IDBLocaleAwareKeyRange\x01\0\x01\x16IDBLocaleAwareKeyRange\x01\x01\0\x01\x05bound\0\0\05__widl_f_bound_with_lower_open_IDBLocaleAwareKeyRange\x01\0\x01\x16IDBLocaleAwareKeyRange\x01\x01\0\x01\x05bound\0\0\0D__widl_f_bound_with_lower_open_and_upper_open_IDBLocaleAwareKeyRange\x01\0\x01\x16IDBLocaleAwareKeyRange\x01\x01\0\x01\x05bound\0\0\x02\x0EIDBMutableFile __widl_instanceof_IDBMutableFile\0\0\0\0 __widl_f_get_file_IDBMutableFile\x01\0\x01\x0EIDBMutableFile\x01\0\0\x01\x07getFile\0\0\0\x1C__widl_f_open_IDBMutableFile\x01\0\x01\x0EIDBMutableFile\x01\0\0\x01\x04open\0\0\0\x1C__widl_f_name_IDBMutableFile\0\0\x01\x0EIDBMutableFile\x01\0\x01\x04name\x01\x04name\0\0\0\x1C__widl_f_type_IDBMutableFile\0\0\x01\x0EIDBMutableFile\x01\0\x01\x04type\x01\x04type\0\0\0 __widl_f_database_IDBMutableFile\0\0\x01\x0EIDBMutableFile\x01\0\x01\x08database\x01\x08database\0\0\0\x1F__widl_f_onabort_IDBMutableFile\0\0\x01\x0EIDBMutableFile\x01\0\x01\x07onabort\x01\x07onabort\0\0\0#__widl_f_set_onabort_IDBMutableFile\0\0\x01\x0EIDBMutableFile\x01\0\x02\x07onabort\x01\x07onabort\0\0\0\x1F__widl_f_onerror_IDBMutableFile\0\0\x01\x0EIDBMutableFile\x01\0\x01\x07onerror\x01\x07onerror\0\0\0#__widl_f_set_onerror_IDBMutableFile\0\0\x01\x0EIDBMutableFile\x01\0\x02\x07onerror\x01\x07onerror\0\0\x02\x0EIDBObjectStore __widl_instanceof_IDBObjectStore\0\0\0\0\x1B__widl_f_add_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x03add\0\0\0$__widl_f_add_with_key_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x03add\0\0\0\x1D__widl_f_clear_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x05clear\0\0\0\x1D__widl_f_count_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x05count\0\0\0&__widl_f_count_with_key_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x05count\0\0\0-__widl_f_create_index_with_str_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x0BcreateIndex\0\0\0E__widl_f_create_index_with_str_and_optional_parameters_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x0BcreateIndex\0\0\0\x1E__widl_f_delete_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x06delete\0\0\0$__widl_f_delete_index_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x0BdeleteIndex\0\0\0\x1B__widl_f_get_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x03get\0\0\0\x1F__widl_f_get_all_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x06getAll\0\0\0(__widl_f_get_all_with_key_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x06getAll\0\0\02__widl_f_get_all_with_key_and_limit_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x06getAll\0\0\0$__widl_f_get_all_keys_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\ngetAllKeys\0\0\0-__widl_f_get_all_keys_with_key_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\ngetAllKeys\0\0\07__widl_f_get_all_keys_with_key_and_limit_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\ngetAllKeys\0\0\0\x1F__widl_f_get_key_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x06getKey\0\0\0\x1D__widl_f_index_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x05index\0\0\0#__widl_f_open_cursor_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\nopenCursor\0\0\0.__widl_f_open_cursor_with_range_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\nopenCursor\0\0\0<__widl_f_open_cursor_with_range_and_direction_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\nopenCursor\0\0\0'__widl_f_open_key_cursor_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\ropenKeyCursor\0\0\02__widl_f_open_key_cursor_with_range_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\ropenKeyCursor\0\0\0@__widl_f_open_key_cursor_with_range_and_direction_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\ropenKeyCursor\0\0\0\x1B__widl_f_put_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x03put\0\0\0$__widl_f_put_with_key_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\0\x01\x03put\0\0\0\x1C__widl_f_name_IDBObjectStore\0\0\x01\x0EIDBObjectStore\x01\0\x01\x04name\x01\x04name\0\0\0 __widl_f_set_name_IDBObjectStore\0\0\x01\x0EIDBObjectStore\x01\0\x02\x04name\x01\x04name\0\0\0 __widl_f_key_path_IDBObjectStore\x01\0\x01\x0EIDBObjectStore\x01\0\x01\x07keyPath\x01\x07keyPath\0\0\0#__widl_f_index_names_IDBObjectStore\0\0\x01\x0EIDBObjectStore\x01\0\x01\nindexNames\x01\nindexNames\0\0\0#__widl_f_transaction_IDBObjectStore\0\0\x01\x0EIDBObjectStore\x01\0\x01\x0Btransaction\x01\x0Btransaction\0\0\0&__widl_f_auto_increment_IDBObjectStore\0\0\x01\x0EIDBObjectStore\x01\0\x01\rautoIncrement\x01\rautoIncrement\0\0\x02\x10IDBOpenDBRequest\"__widl_instanceof_IDBOpenDBRequest\0\0\0\0#__widl_f_onblocked_IDBOpenDBRequest\0\0\x01\x10IDBOpenDBRequest\x01\0\x01\tonblocked\x01\tonblocked\0\0\0'__widl_f_set_onblocked_IDBOpenDBRequest\0\0\x01\x10IDBOpenDBRequest\x01\0\x02\tonblocked\x01\tonblocked\0\0\0)__widl_f_onupgradeneeded_IDBOpenDBRequest\0\0\x01\x10IDBOpenDBRequest\x01\0\x01\x0Fonupgradeneeded\x01\x0Fonupgradeneeded\0\0\0-__widl_f_set_onupgradeneeded_IDBOpenDBRequest\0\0\x01\x10IDBOpenDBRequest\x01\0\x02\x0Fonupgradeneeded\x01\x0Fonupgradeneeded\0\0\x02\nIDBRequest\x1C__widl_instanceof_IDBRequest\0\0\0\0\x1A__widl_f_result_IDBRequest\x01\0\x01\nIDBRequest\x01\0\x01\x06result\x01\x06result\0\0\0\x19__widl_f_error_IDBRequest\x01\0\x01\nIDBRequest\x01\0\x01\x05error\x01\x05error\0\0\0\x1A__widl_f_source_IDBRequest\0\0\x01\nIDBRequest\x01\0\x01\x06source\x01\x06source\0\0\0\x1F__widl_f_transaction_IDBRequest\0\0\x01\nIDBRequest\x01\0\x01\x0Btransaction\x01\x0Btransaction\0\0\0\x1F__widl_f_ready_state_IDBRequest\0\0\x01\nIDBRequest\x01\0\x01\nreadyState\x01\nreadyState\0\0\0\x1D__widl_f_onsuccess_IDBRequest\0\0\x01\nIDBRequest\x01\0\x01\tonsuccess\x01\tonsuccess\0\0\0!__widl_f_set_onsuccess_IDBRequest\0\0\x01\nIDBRequest\x01\0\x02\tonsuccess\x01\tonsuccess\0\0\0\x1B__widl_f_onerror_IDBRequest\0\0\x01\nIDBRequest\x01\0\x01\x07onerror\x01\x07onerror\0\0\0\x1F__widl_f_set_onerror_IDBRequest\0\0\x01\nIDBRequest\x01\0\x02\x07onerror\x01\x07onerror\0\0\x02\x0EIDBTransaction __widl_instanceof_IDBTransaction\0\0\0\0\x1D__widl_f_abort_IDBTransaction\x01\0\x01\x0EIDBTransaction\x01\0\0\x01\x05abort\0\0\0$__widl_f_object_store_IDBTransaction\x01\0\x01\x0EIDBTransaction\x01\0\0\x01\x0BobjectStore\0\0\0\x1C__widl_f_mode_IDBTransaction\x01\0\x01\x0EIDBTransaction\x01\0\x01\x04mode\x01\x04mode\0\0\0\x1A__widl_f_db_IDBTransaction\0\0\x01\x0EIDBTransaction\x01\0\x01\x02db\x01\x02db\0\0\0\x1D__widl_f_error_IDBTransaction\0\0\x01\x0EIDBTransaction\x01\0\x01\x05error\x01\x05error\0\0\0\x1F__widl_f_onabort_IDBTransaction\0\0\x01\x0EIDBTransaction\x01\0\x01\x07onabort\x01\x07onabort\0\0\0#__widl_f_set_onabort_IDBTransaction\0\0\x01\x0EIDBTransaction\x01\0\x02\x07onabort\x01\x07onabort\0\0\0\"__widl_f_oncomplete_IDBTransaction\0\0\x01\x0EIDBTransaction\x01\0\x01\noncomplete\x01\noncomplete\0\0\0&__widl_f_set_oncomplete_IDBTransaction\0\0\x01\x0EIDBTransaction\x01\0\x02\noncomplete\x01\noncomplete\0\0\0\x1F__widl_f_onerror_IDBTransaction\0\0\x01\x0EIDBTransaction\x01\0\x01\x07onerror\x01\x07onerror\0\0\0#__widl_f_set_onerror_IDBTransaction\0\0\x01\x0EIDBTransaction\x01\0\x02\x07onerror\x01\x07onerror\0\0\0*__widl_f_object_store_names_IDBTransaction\0\0\x01\x0EIDBTransaction\x01\0\x01\x10objectStoreNames\x01\x10objectStoreNames\0\0\x02\x15IDBVersionChangeEvent'__widl_instanceof_IDBVersionChangeEvent\0\0\0\0\"__widl_f_new_IDBVersionChangeEvent\x01\0\x01\x15IDBVersionChangeEvent\0\x01\x03new\0\0\07__widl_f_new_with_event_init_dict_IDBVersionChangeEvent\x01\0\x01\x15IDBVersionChangeEvent\0\x01\x03new\0\0\0*__widl_f_old_version_IDBVersionChangeEvent\0\0\x01\x15IDBVersionChangeEvent\x01\0\x01\noldVersion\x01\noldVersion\0\0\0*__widl_f_new_version_IDBVersionChangeEvent\0\0\x01\x15IDBVersionChangeEvent\x01\0\x01\nnewVersion\x01\nnewVersion\0\0\x02\rIIRFilterNode\x1F__widl_instanceof_IIRFilterNode\0\0\0\0-__widl_f_get_frequency_response_IIRFilterNode\0\0\x01\rIIRFilterNode\x01\0\0\x01\x14getFrequencyResponse\0\0\x02\x0CIdleDeadline\x1E__widl_instanceof_IdleDeadline\0\0\0\0$__widl_f_time_remaining_IdleDeadline\0\0\x01\x0CIdleDeadline\x01\0\0\x01\rtimeRemaining\0\0\0!__widl_f_did_timeout_IdleDeadline\0\0\x01\x0CIdleDeadline\x01\0\x01\ndidTimeout\x01\ndidTimeout\0\0\x02\x0BImageBitmap\x1D__widl_instanceof_ImageBitmap\0\0\0\0\x1A__widl_f_close_ImageBitmap\0\0\x01\x0BImageBitmap\x01\0\0\x01\x05close\0\0\0(__widl_f_find_optimal_format_ImageBitmap\x01\0\x01\x0BImageBitmap\x01\0\0\x01\x11findOptimalFormat\0\0\05__widl_f_map_data_into_with_buffer_source_ImageBitmap\x01\0\x01\x0BImageBitmap\x01\0\0\x01\x0BmapDataInto\0\0\00__widl_f_map_data_into_with_u8_array_ImageBitmap\x01\0\x01\x0BImageBitmap\x01\0\0\x01\x0BmapDataInto\0\0\0'__widl_f_mapped_data_length_ImageBitmap\x01\0\x01\x0BImageBitmap\x01\0\0\x01\x10mappedDataLength\0\0\0\x1A__widl_f_width_ImageBitmap\0\0\x01\x0BImageBitmap\x01\0\x01\x05width\x01\x05width\0\0\0\x1B__widl_f_height_ImageBitmap\0\0\x01\x0BImageBitmap\x01\0\x01\x06height\x01\x06height\0\0\x02\x1BImageBitmapRenderingContext-__widl_instanceof_ImageBitmapRenderingContext\0\0\0\0?__widl_f_transfer_from_image_bitmap_ImageBitmapRenderingContext\0\0\x01\x1BImageBitmapRenderingContext\x01\0\0\x01\x17transferFromImageBitmap\0\0\0:__widl_f_transfer_image_bitmap_ImageBitmapRenderingContext\0\0\x01\x1BImageBitmapRenderingContext\x01\0\0\x01\x13transferImageBitmap\0\0\x02\x0CImageCapture\x1E__widl_instanceof_ImageCapture\0\0\0\0\x19__widl_f_new_ImageCapture\x01\0\x01\x0CImageCapture\0\x01\x03new\0\0\0 __widl_f_take_photo_ImageCapture\x01\0\x01\x0CImageCapture\x01\0\0\x01\ttakePhoto\0\0\0(__widl_f_video_stream_track_ImageCapture\0\0\x01\x0CImageCapture\x01\0\x01\x10videoStreamTrack\x01\x10videoStreamTrack\0\0\0\x1D__widl_f_onphoto_ImageCapture\0\0\x01\x0CImageCapture\x01\0\x01\x07onphoto\x01\x07onphoto\0\0\0!__widl_f_set_onphoto_ImageCapture\0\0\x01\x0CImageCapture\x01\0\x02\x07onphoto\x01\x07onphoto\0\0\0\x1D__widl_f_onerror_ImageCapture\0\0\x01\x0CImageCapture\x01\0\x01\x07onerror\x01\x07onerror\0\0\0!__widl_f_set_onerror_ImageCapture\0\0\x01\x0CImageCapture\x01\0\x02\x07onerror\x01\x07onerror\0\0\x02\x16ImageCaptureErrorEvent(__widl_instanceof_ImageCaptureErrorEvent\0\0\0\0#__widl_f_new_ImageCaptureErrorEvent\x01\0\x01\x16ImageCaptureErrorEvent\0\x01\x03new\0\0\0F__widl_f_new_with_image_capture_error_init_dict_ImageCaptureErrorEvent\x01\0\x01\x16ImageCaptureErrorEvent\0\x01\x03new\0\0\x02\tImageData\x1B__widl_instanceof_ImageData\0\0\0\0\x1E__widl_f_new_with_sw_ImageData\x01\0\x01\tImageData\0\x01\x03new\0\0\0,__widl_f_new_with_u8_clamped_array_ImageData\x01\0\x01\tImageData\0\x01\x03new\0\0\03__widl_f_new_with_u8_clamped_array_and_sh_ImageData\x01\0\x01\tImageData\0\x01\x03new\0\0\0\x18__widl_f_width_ImageData\0\0\x01\tImageData\x01\0\x01\x05width\x01\x05width\0\0\0\x19__widl_f_height_ImageData\0\0\x01\tImageData\x01\0\x01\x06height\x01\x06height\0\0\0\x17__widl_f_data_ImageData\0\0\x01\tImageData\x01\0\x01\x04data\x01\x04data\0\0\x02\nInputEvent\x1C__widl_instanceof_InputEvent\0\0\0\0\x17__widl_f_new_InputEvent\x01\0\x01\nInputEvent\0\x01\x03new\0\0\0,__widl_f_new_with_event_init_dict_InputEvent\x01\0\x01\nInputEvent\0\x01\x03new\0\0\0 __widl_f_is_composing_InputEvent\0\0\x01\nInputEvent\x01\0\x01\x0BisComposing\x01\x0BisComposing\0\0\x02\x14IntersectionObserver&__widl_instanceof_IntersectionObserver\0\0\0\0!__widl_f_new_IntersectionObserver\x01\0\x01\x14IntersectionObserver\0\x01\x03new\0\0\0.__widl_f_new_with_options_IntersectionObserver\x01\0\x01\x14IntersectionObserver\0\x01\x03new\0\0\0(__widl_f_disconnect_IntersectionObserver\0\0\x01\x14IntersectionObserver\x01\0\0\x01\ndisconnect\0\0\0%__widl_f_observe_IntersectionObserver\0\0\x01\x14IntersectionObserver\x01\0\0\x01\x07observe\0\0\0'__widl_f_unobserve_IntersectionObserver\0\0\x01\x14IntersectionObserver\x01\0\0\x01\tunobserve\0\0\0\"__widl_f_root_IntersectionObserver\0\0\x01\x14IntersectionObserver\x01\0\x01\x04root\x01\x04root\0\0\0)__widl_f_root_margin_IntersectionObserver\0\0\x01\x14IntersectionObserver\x01\0\x01\nrootMargin\x01\nrootMargin\0\0\x02\x19IntersectionObserverEntry+__widl_instanceof_IntersectionObserverEntry\0\0\0\0'__widl_f_time_IntersectionObserverEntry\0\0\x01\x19IntersectionObserverEntry\x01\0\x01\x04time\x01\x04time\0\0\0.__widl_f_root_bounds_IntersectionObserverEntry\0\0\x01\x19IntersectionObserverEntry\x01\0\x01\nrootBounds\x01\nrootBounds\0\0\07__widl_f_bounding_client_rect_IntersectionObserverEntry\0\0\x01\x19IntersectionObserverEntry\x01\0\x01\x12boundingClientRect\x01\x12boundingClientRect\0\0\04__widl_f_intersection_rect_IntersectionObserverEntry\0\0\x01\x19IntersectionObserverEntry\x01\0\x01\x10intersectionRect\x01\x10intersectionRect\0\0\02__widl_f_is_intersecting_IntersectionObserverEntry\0\0\x01\x19IntersectionObserverEntry\x01\0\x01\x0EisIntersecting\x01\x0EisIntersecting\0\0\05__widl_f_intersection_ratio_IntersectionObserverEntry\0\0\x01\x19IntersectionObserverEntry\x01\0\x01\x11intersectionRatio\x01\x11intersectionRatio\0\0\0)__widl_f_target_IntersectionObserverEntry\0\0\x01\x19IntersectionObserverEntry\x01\0\x01\x06target\x01\x06target\0\0\x02\x08KeyEvent\x1A__widl_instanceof_KeyEvent\0\0\0\0 __widl_f_init_key_event_KeyEvent\0\0\x01\x08KeyEvent\x01\0\0\x01\x0CinitKeyEvent\0\0\00__widl_f_init_key_event_with_can_bubble_KeyEvent\0\0\x01\x08KeyEvent\x01\0\0\x01\x0CinitKeyEvent\0\0\0?__widl_f_init_key_event_with_can_bubble_and_cancelable_KeyEvent\0\0\x01\x08KeyEvent\x01\0\0\x01\x0CinitKeyEvent\0\0\0H__widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_KeyEvent\0\0\x01\x08KeyEvent\x01\0\0\x01\x0CinitKeyEvent\0\0\0U__widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_KeyEvent\0\0\x01\x08KeyEvent\x01\0\0\x01\x0CinitKeyEvent\0\0\0a__widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_KeyEvent\0\0\x01\x08KeyEvent\x01\0\0\x01\x0CinitKeyEvent\0\0\0o__widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_KeyEvent\0\0\x01\x08KeyEvent\x01\0\0\x01\x0CinitKeyEvent\0\0\0|__widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_KeyEvent\0\0\x01\x08KeyEvent\x01\0\0\x01\x0CinitKeyEvent\0\0\0\x89\x01__widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code_KeyEvent\0\0\x01\x08KeyEvent\x01\0\0\x01\x0CinitKeyEvent\0\0\0\x97\x01__widl_f_init_key_event_with_can_bubble_and_cancelable_and_view_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_key_code_and_char_code_KeyEvent\0\0\x01\x08KeyEvent\x01\0\0\x01\x0CinitKeyEvent\0\0\x02\rKeyboardEvent\x1F__widl_instanceof_KeyboardEvent\0\0\0\0\x1A__widl_f_new_KeyboardEvent\x01\0\x01\rKeyboardEvent\0\x01\x03new\0\0\08__widl_f_new_with_keyboard_event_init_dict_KeyboardEvent\x01\0\x01\rKeyboardEvent\0\x01\x03new\0\0\0)__widl_f_get_modifier_state_KeyboardEvent\0\0\x01\rKeyboardEvent\x01\0\0\x01\x10getModifierState\0\0\0*__widl_f_init_keyboard_event_KeyboardEvent\x01\0\x01\rKeyboardEvent\x01\0\0\x01\x11initKeyboardEvent\0\0\0;__widl_f_init_keyboard_event_with_bubbles_arg_KeyboardEvent\x01\0\x01\rKeyboardEvent\x01\0\0\x01\x11initKeyboardEvent\0\0\0N__widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_KeyboardEvent\x01\0\x01\rKeyboardEvent\x01\0\0\x01\x11initKeyboardEvent\0\0\0[__widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_KeyboardEvent\x01\0\x01\rKeyboardEvent\x01\0\0\x01\x11initKeyboardEvent\0\0\0g__widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_KeyboardEvent\x01\0\x01\rKeyboardEvent\x01\0\0\x01\x11initKeyboardEvent\0\0\0x__widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_KeyboardEvent\x01\0\x01\rKeyboardEvent\x01\0\0\x01\x11initKeyboardEvent\0\0\0\x85\x01__widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_KeyboardEvent\x01\0\x01\rKeyboardEvent\x01\0\0\x01\x11initKeyboardEvent\0\0\0\x91\x01__widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_KeyboardEvent\x01\0\x01\rKeyboardEvent\x01\0\0\x01\x11initKeyboardEvent\0\0\0\x9F\x01__widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key_KeyboardEvent\x01\0\x01\rKeyboardEvent\x01\0\0\x01\x11initKeyboardEvent\0\0\0\xAC\x01__widl_f_init_keyboard_event_with_bubbles_arg_and_cancelable_arg_and_view_arg_and_key_arg_and_location_arg_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_KeyboardEvent\x01\0\x01\rKeyboardEvent\x01\0\0\x01\x11initKeyboardEvent\0\0\0 __widl_f_char_code_KeyboardEvent\0\0\x01\rKeyboardEvent\x01\0\x01\x08charCode\x01\x08charCode\0\0\0\x1F__widl_f_key_code_KeyboardEvent\0\0\x01\rKeyboardEvent\x01\0\x01\x07keyCode\x01\x07keyCode\0\0\0\x1E__widl_f_alt_key_KeyboardEvent\0\0\x01\rKeyboardEvent\x01\0\x01\x06altKey\x01\x06altKey\0\0\0\x1F__widl_f_ctrl_key_KeyboardEvent\0\0\x01\rKeyboardEvent\x01\0\x01\x07ctrlKey\x01\x07ctrlKey\0\0\0 __widl_f_shift_key_KeyboardEvent\0\0\x01\rKeyboardEvent\x01\0\x01\x08shiftKey\x01\x08shiftKey\0\0\0\x1F__widl_f_meta_key_KeyboardEvent\0\0\x01\rKeyboardEvent\x01\0\x01\x07metaKey\x01\x07metaKey\0\0\0\x1F__widl_f_location_KeyboardEvent\0\0\x01\rKeyboardEvent\x01\0\x01\x08location\x01\x08location\0\0\0\x1D__widl_f_repeat_KeyboardEvent\0\0\x01\rKeyboardEvent\x01\0\x01\x06repeat\x01\x06repeat\0\0\0#__widl_f_is_composing_KeyboardEvent\0\0\x01\rKeyboardEvent\x01\0\x01\x0BisComposing\x01\x0BisComposing\0\0\0\x1A__widl_f_key_KeyboardEvent\0\0\x01\rKeyboardEvent\x01\0\x01\x03key\x01\x03key\0\0\0\x1B__widl_f_code_KeyboardEvent\0\0\x01\rKeyboardEvent\x01\0\x01\x04code\x01\x04code\0\0\x02\x0EKeyframeEffect __widl_instanceof_KeyframeEffect\0\0\0\0:__widl_f_new_with_opt_element_and_keyframes_KeyframeEffect\x01\0\x01\x0EKeyframeEffect\0\x01\x03new\0\0\0E__widl_f_new_with_opt_css_pseudo_element_and_keyframes_KeyframeEffect\x01\0\x01\x0EKeyframeEffect\0\x01\x03new\0\0\0B__widl_f_new_with_opt_element_and_keyframes_and_f64_KeyframeEffect\x01\0\x01\x0EKeyframeEffect\0\x01\x03new\0\0\0M__widl_f_new_with_opt_css_pseudo_element_and_keyframes_and_f64_KeyframeEffect\x01\0\x01\x0EKeyframeEffect\0\x01\x03new\0\0\0V__widl_f_new_with_opt_element_and_keyframes_and_keyframe_effect_options_KeyframeEffect\x01\0\x01\x0EKeyframeEffect\0\x01\x03new\0\0\0a__widl_f_new_with_opt_css_pseudo_element_and_keyframes_and_keyframe_effect_options_KeyframeEffect\x01\0\x01\x0EKeyframeEffect\0\x01\x03new\0\0\0'__widl_f_new_with_source_KeyframeEffect\x01\0\x01\x0EKeyframeEffect\0\x01\x03new\0\0\0%__widl_f_set_keyframes_KeyframeEffect\x01\0\x01\x0EKeyframeEffect\x01\0\0\x01\x0CsetKeyframes\0\0\0\x1E__widl_f_target_KeyframeEffect\0\0\x01\x0EKeyframeEffect\x01\0\x01\x06target\x01\x06target\0\0\0\"__widl_f_set_target_KeyframeEffect\0\0\x01\x0EKeyframeEffect\x01\0\x02\x06target\x01\x06target\0\0\0+__widl_f_iteration_composite_KeyframeEffect\0\0\x01\x0EKeyframeEffect\x01\0\x01\x12iterationComposite\x01\x12iterationComposite\0\0\0/__widl_f_set_iteration_composite_KeyframeEffect\0\0\x01\x0EKeyframeEffect\x01\0\x02\x12iterationComposite\x01\x12iterationComposite\0\0\0!__widl_f_composite_KeyframeEffect\0\0\x01\x0EKeyframeEffect\x01\0\x01\tcomposite\x01\tcomposite\0\0\0%__widl_f_set_composite_KeyframeEffect\0\0\x01\x0EKeyframeEffect\x01\0\x02\tcomposite\x01\tcomposite\0\0\x02\x10LocalMediaStream\"__widl_instanceof_LocalMediaStream\0\0\0\0\x1E__widl_f_stop_LocalMediaStream\0\0\x01\x10LocalMediaStream\x01\0\0\x01\x04stop\0\0\x02\x08Location\x1A__widl_instanceof_Location\0\0\0\0\x18__widl_f_assign_Location\x01\0\x01\x08Location\x01\0\0\x01\x06assign\0\0\0\x18__widl_f_reload_Location\x01\0\x01\x08Location\x01\0\0\x01\x06reload\0\0\0&__widl_f_reload_with_forceget_Location\x01\0\x01\x08Location\x01\0\0\x01\x06reload\0\0\0\x19__widl_f_replace_Location\x01\0\x01\x08Location\x01\0\0\x01\x07replace\0\0\0\x16__widl_f_href_Location\x01\0\x01\x08Location\x01\0\x01\x04href\x01\x04href\0\0\0\x1A__widl_f_set_href_Location\x01\0\x01\x08Location\x01\0\x02\x04href\x01\x04href\0\0\0\x18__widl_f_origin_Location\x01\0\x01\x08Location\x01\0\x01\x06origin\x01\x06origin\0\0\0\x1A__widl_f_protocol_Location\x01\0\x01\x08Location\x01\0\x01\x08protocol\x01\x08protocol\0\0\0\x1E__widl_f_set_protocol_Location\x01\0\x01\x08Location\x01\0\x02\x08protocol\x01\x08protocol\0\0\0\x16__widl_f_host_Location\x01\0\x01\x08Location\x01\0\x01\x04host\x01\x04host\0\0\0\x1A__widl_f_set_host_Location\x01\0\x01\x08Location\x01\0\x02\x04host\x01\x04host\0\0\0\x1A__widl_f_hostname_Location\x01\0\x01\x08Location\x01\0\x01\x08hostname\x01\x08hostname\0\0\0\x1E__widl_f_set_hostname_Location\x01\0\x01\x08Location\x01\0\x02\x08hostname\x01\x08hostname\0\0\0\x16__widl_f_port_Location\x01\0\x01\x08Location\x01\0\x01\x04port\x01\x04port\0\0\0\x1A__widl_f_set_port_Location\x01\0\x01\x08Location\x01\0\x02\x04port\x01\x04port\0\0\0\x1A__widl_f_pathname_Location\x01\0\x01\x08Location\x01\0\x01\x08pathname\x01\x08pathname\0\0\0\x1E__widl_f_set_pathname_Location\x01\0\x01\x08Location\x01\0\x02\x08pathname\x01\x08pathname\0\0\0\x18__widl_f_search_Location\x01\0\x01\x08Location\x01\0\x01\x06search\x01\x06search\0\0\0\x1C__widl_f_set_search_Location\x01\0\x01\x08Location\x01\0\x02\x06search\x01\x06search\0\0\0\x16__widl_f_hash_Location\x01\0\x01\x08Location\x01\0\x01\x04hash\x01\x04hash\0\0\0\x1A__widl_f_set_hash_Location\x01\0\x01\x08Location\x01\0\x02\x04hash\x01\x04hash\0\0\x02\nMIDIAccess\x1C__widl_instanceof_MIDIAccess\0\0\0\0\x1A__widl_f_inputs_MIDIAccess\0\0\x01\nMIDIAccess\x01\0\x01\x06inputs\x01\x06inputs\0\0\0\x1B__widl_f_outputs_MIDIAccess\0\0\x01\nMIDIAccess\x01\0\x01\x07outputs\x01\x07outputs\0\0\0!__widl_f_onstatechange_MIDIAccess\0\0\x01\nMIDIAccess\x01\0\x01\ronstatechange\x01\ronstatechange\0\0\0%__widl_f_set_onstatechange_MIDIAccess\0\0\x01\nMIDIAccess\x01\0\x02\ronstatechange\x01\ronstatechange\0\0\0!__widl_f_sysex_enabled_MIDIAccess\0\0\x01\nMIDIAccess\x01\0\x01\x0CsysexEnabled\x01\x0CsysexEnabled\0\0\x02\x13MIDIConnectionEvent%__widl_instanceof_MIDIConnectionEvent\0\0\0\0 __widl_f_new_MIDIConnectionEvent\x01\0\x01\x13MIDIConnectionEvent\0\x01\x03new\0\0\05__widl_f_new_with_event_init_dict_MIDIConnectionEvent\x01\0\x01\x13MIDIConnectionEvent\0\x01\x03new\0\0\0!__widl_f_port_MIDIConnectionEvent\0\0\x01\x13MIDIConnectionEvent\x01\0\x01\x04port\x01\x04port\0\0\x02\tMIDIInput\x1B__widl_instanceof_MIDIInput\0\0\0\0 __widl_f_onmidimessage_MIDIInput\0\0\x01\tMIDIInput\x01\0\x01\ronmidimessage\x01\ronmidimessage\0\0\0$__widl_f_set_onmidimessage_MIDIInput\0\0\x01\tMIDIInput\x01\0\x02\ronmidimessage\x01\ronmidimessage\0\0\x02\x0CMIDIInputMap\x1E__widl_instanceof_MIDIInputMap\0\0\0\x02\x10MIDIMessageEvent\"__widl_instanceof_MIDIMessageEvent\0\0\0\0\x1D__widl_f_new_MIDIMessageEvent\x01\0\x01\x10MIDIMessageEvent\0\x01\x03new\0\0\02__widl_f_new_with_event_init_dict_MIDIMessageEvent\x01\0\x01\x10MIDIMessageEvent\0\x01\x03new\0\0\0\x1E__widl_f_data_MIDIMessageEvent\x01\0\x01\x10MIDIMessageEvent\x01\0\x01\x04data\x01\x04data\0\0\x02\nMIDIOutput\x1C__widl_instanceof_MIDIOutput\0\0\0\0\x19__widl_f_clear_MIDIOutput\0\0\x01\nMIDIOutput\x01\0\0\x01\x05clear\0\0\x02\rMIDIOutputMap\x1F__widl_instanceof_MIDIOutputMap\0\0\0\x02\x08MIDIPort\x1A__widl_instanceof_MIDIPort\0\0\0\0\x17__widl_f_close_MIDIPort\0\0\x01\x08MIDIPort\x01\0\0\x01\x05close\0\0\0\x16__widl_f_open_MIDIPort\0\0\x01\x08MIDIPort\x01\0\0\x01\x04open\0\0\0\x14__widl_f_id_MIDIPort\0\0\x01\x08MIDIPort\x01\0\x01\x02id\x01\x02id\0\0\0\x1E__widl_f_manufacturer_MIDIPort\0\0\x01\x08MIDIPort\x01\0\x01\x0Cmanufacturer\x01\x0Cmanufacturer\0\0\0\x16__widl_f_name_MIDIPort\0\0\x01\x08MIDIPort\x01\0\x01\x04name\x01\x04name\0\0\0\x19__widl_f_version_MIDIPort\0\0\x01\x08MIDIPort\x01\0\x01\x07version\x01\x07version\0\0\0\x16__widl_f_type_MIDIPort\0\0\x01\x08MIDIPort\x01\0\x01\x04type\x01\x04type\0\0\0\x17__widl_f_state_MIDIPort\0\0\x01\x08MIDIPort\x01\0\x01\x05state\x01\x05state\0\0\0\x1C__widl_f_connection_MIDIPort\0\0\x01\x08MIDIPort\x01\0\x01\nconnection\x01\nconnection\0\0\0\x1F__widl_f_onstatechange_MIDIPort\0\0\x01\x08MIDIPort\x01\0\x01\ronstatechange\x01\ronstatechange\0\0\0#__widl_f_set_onstatechange_MIDIPort\0\0\x01\x08MIDIPort\x01\0\x02\ronstatechange\x01\ronstatechange\0\0\x02\x11MediaCapabilities#__widl_instanceof_MediaCapabilities\0\0\0\0(__widl_f_decoding_info_MediaCapabilities\0\0\x01\x11MediaCapabilities\x01\0\0\x01\x0CdecodingInfo\0\0\0(__widl_f_encoding_info_MediaCapabilities\0\0\x01\x11MediaCapabilities\x01\0\0\x01\x0CencodingInfo\0\0\x02\x15MediaCapabilitiesInfo'__widl_instanceof_MediaCapabilitiesInfo\0\0\0\0(__widl_f_supported_MediaCapabilitiesInfo\0\0\x01\x15MediaCapabilitiesInfo\x01\0\x01\tsupported\x01\tsupported\0\0\0%__widl_f_smooth_MediaCapabilitiesInfo\0\0\x01\x15MediaCapabilitiesInfo\x01\0\x01\x06smooth\x01\x06smooth\0\0\0.__widl_f_power_efficient_MediaCapabilitiesInfo\0\0\x01\x15MediaCapabilitiesInfo\x01\0\x01\x0EpowerEfficient\x01\x0EpowerEfficient\0\0\x02\x0FMediaDeviceInfo!__widl_instanceof_MediaDeviceInfo\0\0\0\0 __widl_f_to_json_MediaDeviceInfo\0\0\x01\x0FMediaDeviceInfo\x01\0\0\x01\x06toJSON\0\0\0\"__widl_f_device_id_MediaDeviceInfo\0\0\x01\x0FMediaDeviceInfo\x01\0\x01\x08deviceId\x01\x08deviceId\0\0\0\x1D__widl_f_kind_MediaDeviceInfo\0\0\x01\x0FMediaDeviceInfo\x01\0\x01\x04kind\x01\x04kind\0\0\0\x1E__widl_f_label_MediaDeviceInfo\0\0\x01\x0FMediaDeviceInfo\x01\0\x01\x05label\x01\x05label\0\0\0!__widl_f_group_id_MediaDeviceInfo\0\0\x01\x0FMediaDeviceInfo\x01\0\x01\x07groupId\x01\x07groupId\0\0\x02\x0CMediaDevices\x1E__widl_instanceof_MediaDevices\0\0\0\0'__widl_f_enumerate_devices_MediaDevices\x01\0\x01\x0CMediaDevices\x01\0\0\x01\x10enumerateDevices\0\0\0/__widl_f_get_supported_constraints_MediaDevices\0\0\x01\x0CMediaDevices\x01\0\0\x01\x17getSupportedConstraints\0\0\0$__widl_f_get_user_media_MediaDevices\x01\0\x01\x0CMediaDevices\x01\0\0\x01\x0CgetUserMedia\0\0\05__widl_f_get_user_media_with_constraints_MediaDevices\x01\0\x01\x0CMediaDevices\x01\0\0\x01\x0CgetUserMedia\0\0\0$__widl_f_ondevicechange_MediaDevices\0\0\x01\x0CMediaDevices\x01\0\x01\x0Eondevicechange\x01\x0Eondevicechange\0\0\0(__widl_f_set_ondevicechange_MediaDevices\0\0\x01\x0CMediaDevices\x01\0\x02\x0Eondevicechange\x01\x0Eondevicechange\0\0\x02\x1BMediaElementAudioSourceNode-__widl_instanceof_MediaElementAudioSourceNode\0\0\0\0(__widl_f_new_MediaElementAudioSourceNode\x01\0\x01\x1BMediaElementAudioSourceNode\0\x01\x03new\0\0\x02\x13MediaEncryptedEvent%__widl_instanceof_MediaEncryptedEvent\0\0\0\0 __widl_f_new_MediaEncryptedEvent\x01\0\x01\x13MediaEncryptedEvent\0\x01\x03new\0\0\05__widl_f_new_with_event_init_dict_MediaEncryptedEvent\x01\0\x01\x13MediaEncryptedEvent\0\x01\x03new\0\0\0+__widl_f_init_data_type_MediaEncryptedEvent\0\0\x01\x13MediaEncryptedEvent\x01\0\x01\x0CinitDataType\x01\x0CinitDataType\0\0\0&__widl_f_init_data_MediaEncryptedEvent\x01\0\x01\x13MediaEncryptedEvent\x01\0\x01\x08initData\x01\x08initData\0\0\x02\nMediaError\x1C__widl_instanceof_MediaError\0\0\0\0\x18__widl_f_code_MediaError\0\0\x01\nMediaError\x01\0\x01\x04code\x01\x04code\0\0\0\x1B__widl_f_message_MediaError\0\0\x01\nMediaError\x01\0\x01\x07message\x01\x07message\0\0\x02\rMediaKeyError\x1F__widl_instanceof_MediaKeyError\0\0\0\0\"__widl_f_system_code_MediaKeyError\0\0\x01\rMediaKeyError\x01\0\x01\nsystemCode\x01\nsystemCode\0\0\x02\x14MediaKeyMessageEvent&__widl_instanceof_MediaKeyMessageEvent\0\0\0\0!__widl_f_new_MediaKeyMessageEvent\x01\0\x01\x14MediaKeyMessageEvent\0\x01\x03new\0\0\0*__widl_f_message_type_MediaKeyMessageEvent\0\0\x01\x14MediaKeyMessageEvent\x01\0\x01\x0BmessageType\x01\x0BmessageType\0\0\0%__widl_f_message_MediaKeyMessageEvent\x01\0\x01\x14MediaKeyMessageEvent\x01\0\x01\x07message\x01\x07message\0\0\x02\x0FMediaKeySession!__widl_instanceof_MediaKeySession\0\0\0\0\x1E__widl_f_close_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\0\x01\x05close\0\0\0<__widl_f_generate_request_with_buffer_source_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\0\x01\x0FgenerateRequest\0\0\07__widl_f_generate_request_with_u8_array_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\0\x01\x0FgenerateRequest\0\0\0\x1D__widl_f_load_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\0\x01\x04load\0\0\0\x1F__widl_f_remove_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\0\x01\x06remove\0\0\02__widl_f_update_with_buffer_source_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\0\x01\x06update\0\0\0-__widl_f_update_with_u8_array_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\0\x01\x06update\0\0\0\x1E__widl_f_error_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\x01\x05error\x01\x05error\0\0\0#__widl_f_session_id_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\x01\tsessionId\x01\tsessionId\0\0\0#__widl_f_expiration_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\x01\nexpiration\x01\nexpiration\0\0\0\x1F__widl_f_closed_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\x01\x06closed\x01\x06closed\0\0\0%__widl_f_key_statuses_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\x01\x0BkeyStatuses\x01\x0BkeyStatuses\0\0\0,__widl_f_onkeystatuseschange_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\x01\x13onkeystatuseschange\x01\x13onkeystatuseschange\0\0\00__widl_f_set_onkeystatuseschange_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\x02\x13onkeystatuseschange\x01\x13onkeystatuseschange\0\0\0\"__widl_f_onmessage_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\x01\tonmessage\x01\tonmessage\0\0\0&__widl_f_set_onmessage_MediaKeySession\0\0\x01\x0FMediaKeySession\x01\0\x02\tonmessage\x01\tonmessage\0\0\x02\x11MediaKeyStatusMap#__widl_instanceof_MediaKeyStatusMap\0\0\0\01__widl_f_get_with_buffer_source_MediaKeyStatusMap\x01\0\x01\x11MediaKeyStatusMap\x01\0\0\x01\x03get\0\0\0,__widl_f_get_with_u8_array_MediaKeyStatusMap\x01\0\x01\x11MediaKeyStatusMap\x01\0\0\x01\x03get\0\0\01__widl_f_has_with_buffer_source_MediaKeyStatusMap\0\0\x01\x11MediaKeyStatusMap\x01\0\0\x01\x03has\0\0\0,__widl_f_has_with_u8_array_MediaKeyStatusMap\0\0\x01\x11MediaKeyStatusMap\x01\0\0\x01\x03has\0\0\0\x1F__widl_f_size_MediaKeyStatusMap\0\0\x01\x11MediaKeyStatusMap\x01\0\x01\x04size\x01\x04size\0\0\x02\x14MediaKeySystemAccess&__widl_instanceof_MediaKeySystemAccess\0\0\0\0/__widl_f_create_media_keys_MediaKeySystemAccess\0\0\x01\x14MediaKeySystemAccess\x01\0\0\x01\x0FcreateMediaKeys\0\0\0/__widl_f_get_configuration_MediaKeySystemAccess\0\0\x01\x14MediaKeySystemAccess\x01\0\0\x01\x10getConfiguration\0\0\0(__widl_f_key_system_MediaKeySystemAccess\0\0\x01\x14MediaKeySystemAccess\x01\0\x01\tkeySystem\x01\tkeySystem\0\0\x02\tMediaKeys\x1B__widl_instanceof_MediaKeys\0\0\0\0!__widl_f_create_session_MediaKeys\x01\0\x01\tMediaKeys\x01\0\0\x01\rcreateSession\0\0\03__widl_f_create_session_with_session_type_MediaKeys\x01\0\x01\tMediaKeys\x01\0\0\x01\rcreateSession\0\0\0(__widl_f_get_status_for_policy_MediaKeys\0\0\x01\tMediaKeys\x01\0\0\x01\x12getStatusForPolicy\0\0\04__widl_f_get_status_for_policy_with_policy_MediaKeys\0\0\x01\tMediaKeys\x01\0\0\x01\x12getStatusForPolicy\0\0\0<__widl_f_set_server_certificate_with_buffer_source_MediaKeys\0\0\x01\tMediaKeys\x01\0\0\x01\x14setServerCertificate\0\0\07__widl_f_set_server_certificate_with_u8_array_MediaKeys\0\0\x01\tMediaKeys\x01\0\0\x01\x14setServerCertificate\0\0\0\x1D__widl_f_key_system_MediaKeys\0\0\x01\tMediaKeys\x01\0\x01\tkeySystem\x01\tkeySystem\0\0\x02\tMediaList\x1B__widl_instanceof_MediaList\0\0\0\0 __widl_f_append_medium_MediaList\x01\0\x01\tMediaList\x01\0\0\x01\x0CappendMedium\0\0\0 __widl_f_delete_medium_MediaList\x01\0\x01\tMediaList\x01\0\0\x01\x0CdeleteMedium\0\0\0\x17__widl_f_item_MediaList\0\0\x01\tMediaList\x01\0\0\x01\x04item\0\0\0\x16__widl_f_get_MediaList\0\0\x01\tMediaList\x01\0\x03\x01\x03get\0\0\0\x1D__widl_f_media_text_MediaList\0\0\x01\tMediaList\x01\0\x01\tmediaText\x01\tmediaText\0\0\0!__widl_f_set_media_text_MediaList\0\0\x01\tMediaList\x01\0\x02\tmediaText\x01\tmediaText\0\0\0\x19__widl_f_length_MediaList\0\0\x01\tMediaList\x01\0\x01\x06length\x01\x06length\0\0\x02\x0EMediaQueryList __widl_instanceof_MediaQueryList\0\0\0\06__widl_f_add_listener_with_opt_callback_MediaQueryList\x01\0\x01\x0EMediaQueryList\x01\0\0\x01\x0BaddListener\0\0\0<__widl_f_add_listener_with_opt_event_listener_MediaQueryList\x01\0\x01\x0EMediaQueryList\x01\0\0\x01\x0BaddListener\0\0\09__widl_f_remove_listener_with_opt_callback_MediaQueryList\x01\0\x01\x0EMediaQueryList\x01\0\0\x01\x0EremoveListener\0\0\0?__widl_f_remove_listener_with_opt_event_listener_MediaQueryList\x01\0\x01\x0EMediaQueryList\x01\0\0\x01\x0EremoveListener\0\0\0\x1D__widl_f_media_MediaQueryList\0\0\x01\x0EMediaQueryList\x01\0\x01\x05media\x01\x05media\0\0\0\x1F__widl_f_matches_MediaQueryList\0\0\x01\x0EMediaQueryList\x01\0\x01\x07matches\x01\x07matches\0\0\0 __widl_f_onchange_MediaQueryList\0\0\x01\x0EMediaQueryList\x01\0\x01\x08onchange\x01\x08onchange\0\0\0$__widl_f_set_onchange_MediaQueryList\0\0\x01\x0EMediaQueryList\x01\0\x02\x08onchange\x01\x08onchange\0\0\x02\x13MediaQueryListEvent%__widl_instanceof_MediaQueryListEvent\0\0\0\0 __widl_f_new_MediaQueryListEvent\x01\0\x01\x13MediaQueryListEvent\0\x01\x03new\0\0\05__widl_f_new_with_event_init_dict_MediaQueryListEvent\x01\0\x01\x13MediaQueryListEvent\0\x01\x03new\0\0\0\"__widl_f_media_MediaQueryListEvent\0\0\x01\x13MediaQueryListEvent\x01\0\x01\x05media\x01\x05media\0\0\0$__widl_f_matches_MediaQueryListEvent\0\0\x01\x13MediaQueryListEvent\x01\0\x01\x07matches\x01\x07matches\0\0\x02\rMediaRecorder\x1F__widl_instanceof_MediaRecorder\0\0\0\0,__widl_f_new_with_media_stream_MediaRecorder\x01\0\x01\rMediaRecorder\0\x01\x03new\0\0\0G__widl_f_new_with_media_stream_and_media_recorder_options_MediaRecorder\x01\0\x01\rMediaRecorder\0\x01\x03new\0\0\0*__widl_f_new_with_audio_node_MediaRecorder\x01\0\x01\rMediaRecorder\0\x01\x03new\0\0\02__widl_f_new_with_audio_node_and_u32_MediaRecorder\x01\0\x01\rMediaRecorder\0\x01\x03new\0\0\0>__widl_f_new_with_audio_node_and_u32_and_options_MediaRecorder\x01\0\x01\rMediaRecorder\0\x01\x03new\0\0\0(__widl_f_is_type_supported_MediaRecorder\0\0\x01\rMediaRecorder\x01\x01\0\x01\x0FisTypeSupported\0\0\0\x1C__widl_f_pause_MediaRecorder\x01\0\x01\rMediaRecorder\x01\0\0\x01\x05pause\0\0\0#__widl_f_request_data_MediaRecorder\x01\0\x01\rMediaRecorder\x01\0\0\x01\x0BrequestData\0\0\0\x1D__widl_f_resume_MediaRecorder\x01\0\x01\rMediaRecorder\x01\0\0\x01\x06resume\0\0\0\x1C__widl_f_start_MediaRecorder\x01\0\x01\rMediaRecorder\x01\0\0\x01\x05start\0\0\0,__widl_f_start_with_time_slice_MediaRecorder\x01\0\x01\rMediaRecorder\x01\0\0\x01\x05start\0\0\0\x1B__widl_f_stop_MediaRecorder\x01\0\x01\rMediaRecorder\x01\0\0\x01\x04stop\0\0\0\x1D__widl_f_stream_MediaRecorder\0\0\x01\rMediaRecorder\x01\0\x01\x06stream\x01\x06stream\0\0\0\x1C__widl_f_state_MediaRecorder\0\0\x01\rMediaRecorder\x01\0\x01\x05state\x01\x05state\0\0\0 __widl_f_mime_type_MediaRecorder\0\0\x01\rMediaRecorder\x01\0\x01\x08mimeType\x01\x08mimeType\0\0\0&__widl_f_ondataavailable_MediaRecorder\0\0\x01\rMediaRecorder\x01\0\x01\x0Fondataavailable\x01\x0Fondataavailable\0\0\0*__widl_f_set_ondataavailable_MediaRecorder\0\0\x01\rMediaRecorder\x01\0\x02\x0Fondataavailable\x01\x0Fondataavailable\0\0\0\x1E__widl_f_onerror_MediaRecorder\0\0\x01\rMediaRecorder\x01\0\x01\x07onerror\x01\x07onerror\0\0\0\"__widl_f_set_onerror_MediaRecorder\0\0\x01\rMediaRecorder\x01\0\x02\x07onerror\x01\x07onerror\0\0\0\x1E__widl_f_onstart_MediaRecorder\0\0\x01\rMediaRecorder\x01\0\x01\x07onstart\x01\x07onstart\0\0\0\"__widl_f_set_onstart_MediaRecorder\0\0\x01\rMediaRecorder\x01\0\x02\x07onstart\x01\x07onstart\0\0\0\x1D__widl_f_onstop_MediaRecorder\0\0\x01\rMediaRecorder\x01\0\x01\x06onstop\x01\x06onstop\0\0\0!__widl_f_set_onstop_MediaRecorder\0\0\x01\rMediaRecorder\x01\0\x02\x06onstop\x01\x06onstop\0\0\0 __widl_f_onwarning_MediaRecorder\0\0\x01\rMediaRecorder\x01\0\x01\tonwarning\x01\tonwarning\0\0\0$__widl_f_set_onwarning_MediaRecorder\0\0\x01\rMediaRecorder\x01\0\x02\tonwarning\x01\tonwarning\0\0\x02\x17MediaRecorderErrorEvent)__widl_instanceof_MediaRecorderErrorEvent\0\0\0\0$__widl_f_new_MediaRecorderErrorEvent\x01\0\x01\x17MediaRecorderErrorEvent\0\x01\x03new\0\0\0&__widl_f_error_MediaRecorderErrorEvent\0\0\x01\x17MediaRecorderErrorEvent\x01\0\x01\x05error\x01\x05error\0\0\x02\x0BMediaSource\x1D__widl_instanceof_MediaSource\0\0\0\0\x18__widl_f_new_MediaSource\x01\0\x01\x0BMediaSource\0\x01\x03new\0\0\0&__widl_f_add_source_buffer_MediaSource\x01\0\x01\x0BMediaSource\x01\0\0\x01\x0FaddSourceBuffer\0\0\0.__widl_f_clear_live_seekable_range_MediaSource\x01\0\x01\x0BMediaSource\x01\0\0\x01\x16clearLiveSeekableRange\0\0\0\"__widl_f_end_of_stream_MediaSource\x01\0\x01\x0BMediaSource\x01\0\0\x01\x0BendOfStream\0\0\0-__widl_f_end_of_stream_with_error_MediaSource\x01\0\x01\x0BMediaSource\x01\0\0\x01\x0BendOfStream\0\0\0&__widl_f_is_type_supported_MediaSource\0\0\x01\x0BMediaSource\x01\x01\0\x01\x0FisTypeSupported\0\0\0)__widl_f_remove_source_buffer_MediaSource\x01\0\x01\x0BMediaSource\x01\0\0\x01\x12removeSourceBuffer\0\0\0,__widl_f_set_live_seekable_range_MediaSource\x01\0\x01\x0BMediaSource\x01\0\0\x01\x14setLiveSeekableRange\0\0\0#__widl_f_source_buffers_MediaSource\0\0\x01\x0BMediaSource\x01\0\x01\rsourceBuffers\x01\rsourceBuffers\0\0\0*__widl_f_active_source_buffers_MediaSource\0\0\x01\x0BMediaSource\x01\0\x01\x13activeSourceBuffers\x01\x13activeSourceBuffers\0\0\0 __widl_f_ready_state_MediaSource\0\0\x01\x0BMediaSource\x01\0\x01\nreadyState\x01\nreadyState\0\0\0\x1D__widl_f_duration_MediaSource\0\0\x01\x0BMediaSource\x01\0\x01\x08duration\x01\x08duration\0\0\0!__widl_f_set_duration_MediaSource\0\0\x01\x0BMediaSource\x01\0\x02\x08duration\x01\x08duration\0\0\0!__widl_f_onsourceopen_MediaSource\0\0\x01\x0BMediaSource\x01\0\x01\x0Consourceopen\x01\x0Consourceopen\0\0\0%__widl_f_set_onsourceopen_MediaSource\0\0\x01\x0BMediaSource\x01\0\x02\x0Consourceopen\x01\x0Consourceopen\0\0\0\"__widl_f_onsourceended_MediaSource\0\0\x01\x0BMediaSource\x01\0\x01\ronsourceended\x01\ronsourceended\0\0\0&__widl_f_set_onsourceended_MediaSource\0\0\x01\x0BMediaSource\x01\0\x02\ronsourceended\x01\ronsourceended\0\0\0#__widl_f_onsourceclosed_MediaSource\0\0\x01\x0BMediaSource\x01\0\x01\x0Eonsourceclosed\x01\x0Eonsourceclosed\0\0\0'__widl_f_set_onsourceclosed_MediaSource\0\0\x01\x0BMediaSource\x01\0\x02\x0Eonsourceclosed\x01\x0Eonsourceclosed\0\0\x02\x0BMediaStream\x1D__widl_instanceof_MediaStream\0\0\0\0\x18__widl_f_new_MediaStream\x01\0\x01\x0BMediaStream\0\x01\x03new\0\0\0$__widl_f_new_with_stream_MediaStream\x01\0\x01\x0BMediaStream\0\x01\x03new\0\0\0\x1E__widl_f_add_track_MediaStream\0\0\x01\x0BMediaStream\x01\0\0\x01\x08addTrack\0\0\0\x1A__widl_f_clone_MediaStream\0\0\x01\x0BMediaStream\x01\0\0\x01\x05clone\0\0\0$__widl_f_get_track_by_id_MediaStream\0\0\x01\x0BMediaStream\x01\0\0\x01\x0CgetTrackById\0\0\0!__widl_f_remove_track_MediaStream\0\0\x01\x0BMediaStream\x01\0\0\x01\x0BremoveTrack\0\0\0\x17__widl_f_id_MediaStream\0\0\x01\x0BMediaStream\x01\0\x01\x02id\x01\x02id\0\0\0\x1B__widl_f_active_MediaStream\0\0\x01\x0BMediaStream\x01\0\x01\x06active\x01\x06active\0\0\0\x1F__widl_f_onaddtrack_MediaStream\0\0\x01\x0BMediaStream\x01\0\x01\nonaddtrack\x01\nonaddtrack\0\0\0#__widl_f_set_onaddtrack_MediaStream\0\0\x01\x0BMediaStream\x01\0\x02\nonaddtrack\x01\nonaddtrack\0\0\0\"__widl_f_onremovetrack_MediaStream\0\0\x01\x0BMediaStream\x01\0\x01\ronremovetrack\x01\ronremovetrack\0\0\0&__widl_f_set_onremovetrack_MediaStream\0\0\x01\x0BMediaStream\x01\0\x02\ronremovetrack\x01\ronremovetrack\0\0\0!__widl_f_current_time_MediaStream\0\0\x01\x0BMediaStream\x01\0\x01\x0BcurrentTime\x01\x0BcurrentTime\0\0\x02\x1FMediaStreamAudioDestinationNode1__widl_instanceof_MediaStreamAudioDestinationNode\0\0\0\0,__widl_f_new_MediaStreamAudioDestinationNode\x01\0\x01\x1FMediaStreamAudioDestinationNode\0\x01\x03new\0\0\09__widl_f_new_with_options_MediaStreamAudioDestinationNode\x01\0\x01\x1FMediaStreamAudioDestinationNode\0\x01\x03new\0\0\0/__widl_f_stream_MediaStreamAudioDestinationNode\0\0\x01\x1FMediaStreamAudioDestinationNode\x01\0\x01\x06stream\x01\x06stream\0\0\x02\x1AMediaStreamAudioSourceNode,__widl_instanceof_MediaStreamAudioSourceNode\0\0\0\0'__widl_f_new_MediaStreamAudioSourceNode\x01\0\x01\x1AMediaStreamAudioSourceNode\0\x01\x03new\0\0\x02\x10MediaStreamEvent\"__widl_instanceof_MediaStreamEvent\0\0\0\0\x1D__widl_f_new_MediaStreamEvent\x01\0\x01\x10MediaStreamEvent\0\x01\x03new\0\0\02__widl_f_new_with_event_init_dict_MediaStreamEvent\x01\0\x01\x10MediaStreamEvent\0\x01\x03new\0\0\0 __widl_f_stream_MediaStreamEvent\0\0\x01\x10MediaStreamEvent\x01\0\x01\x06stream\x01\x06stream\0\0\x02\x10MediaStreamTrack\"__widl_instanceof_MediaStreamTrack\0\0\0\0+__widl_f_apply_constraints_MediaStreamTrack\x01\0\x01\x10MediaStreamTrack\x01\0\0\x01\x10applyConstraints\0\0\0<__widl_f_apply_constraints_with_constraints_MediaStreamTrack\x01\0\x01\x10MediaStreamTrack\x01\0\0\x01\x10applyConstraints\0\0\0\x1F__widl_f_clone_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\0\x01\x05clone\0\0\0)__widl_f_get_constraints_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\0\x01\x0EgetConstraints\0\0\0&__widl_f_get_settings_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\0\x01\x0BgetSettings\0\0\0\x1E__widl_f_stop_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\0\x01\x04stop\0\0\0\x1E__widl_f_kind_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\x01\x04kind\x01\x04kind\0\0\0\x1C__widl_f_id_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\x01\x02id\x01\x02id\0\0\0\x1F__widl_f_label_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\x01\x05label\x01\x05label\0\0\0!__widl_f_enabled_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\x01\x07enabled\x01\x07enabled\0\0\0%__widl_f_set_enabled_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\x02\x07enabled\x01\x07enabled\0\0\0\x1F__widl_f_muted_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\x01\x05muted\x01\x05muted\0\0\0 __widl_f_onmute_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\x01\x06onmute\x01\x06onmute\0\0\0$__widl_f_set_onmute_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\x02\x06onmute\x01\x06onmute\0\0\0\"__widl_f_onunmute_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\x01\x08onunmute\x01\x08onunmute\0\0\0&__widl_f_set_onunmute_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\x02\x08onunmute\x01\x08onunmute\0\0\0%__widl_f_ready_state_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\x01\nreadyState\x01\nreadyState\0\0\0!__widl_f_onended_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\x01\x07onended\x01\x07onended\0\0\0%__widl_f_set_onended_MediaStreamTrack\0\0\x01\x10MediaStreamTrack\x01\0\x02\x07onended\x01\x07onended\0\0\x02\x15MediaStreamTrackEvent'__widl_instanceof_MediaStreamTrackEvent\0\0\0\0\"__widl_f_new_MediaStreamTrackEvent\x01\0\x01\x15MediaStreamTrackEvent\0\x01\x03new\0\0\0$__widl_f_track_MediaStreamTrackEvent\0\0\x01\x15MediaStreamTrackEvent\x01\0\x01\x05track\x01\x05track\0\0\x02\x0EMessageChannel __widl_instanceof_MessageChannel\0\0\0\0\x1B__widl_f_new_MessageChannel\x01\0\x01\x0EMessageChannel\0\x01\x03new\0\0\0\x1D__widl_f_port1_MessageChannel\0\0\x01\x0EMessageChannel\x01\0\x01\x05port1\x01\x05port1\0\0\0\x1D__widl_f_port2_MessageChannel\0\0\x01\x0EMessageChannel\x01\0\x01\x05port2\x01\x05port2\0\0\x02\x0CMessageEvent\x1E__widl_instanceof_MessageEvent\0\0\0\0\x19__widl_f_new_MessageEvent\x01\0\x01\x0CMessageEvent\0\x01\x03new\0\0\0.__widl_f_new_with_event_init_dict_MessageEvent\x01\0\x01\x0CMessageEvent\0\x01\x03new\0\0\0(__widl_f_init_message_event_MessageEvent\0\0\x01\x0CMessageEvent\x01\0\0\x01\x10initMessageEvent\0\0\05__widl_f_init_message_event_with_bubbles_MessageEvent\0\0\x01\x0CMessageEvent\x01\0\0\x01\x10initMessageEvent\0\0\0D__widl_f_init_message_event_with_bubbles_and_cancelable_MessageEvent\0\0\x01\x0CMessageEvent\x01\0\0\x01\x10initMessageEvent\0\0\0M__widl_f_init_message_event_with_bubbles_and_cancelable_and_data_MessageEvent\0\0\x01\x0CMessageEvent\x01\0\0\x01\x10initMessageEvent\0\0\0X__widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_MessageEvent\0\0\x01\x0CMessageEvent\x01\0\0\x01\x10initMessageEvent\0\0\0j__widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_MessageEvent\0\0\x01\x0CMessageEvent\x01\0\0\x01\x10initMessageEvent\0\0\0y__widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_window_MessageEvent\0\0\x01\x0CMessageEvent\x01\0\0\x01\x10initMessageEvent\0\0\0\x7F__widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_message_port_MessageEvent\0\0\x01\x0CMessageEvent\x01\0\0\x01\x10initMessageEvent\0\0\0\x81\x01__widl_f_init_message_event_with_bubbles_and_cancelable_and_data_and_origin_and_last_event_id_and_opt_service_worker_MessageEvent\0\0\x01\x0CMessageEvent\x01\0\0\x01\x10initMessageEvent\0\0\0\x1A__widl_f_data_MessageEvent\0\0\x01\x0CMessageEvent\x01\0\x01\x04data\x01\x04data\0\0\0\x1C__widl_f_origin_MessageEvent\0\0\x01\x0CMessageEvent\x01\0\x01\x06origin\x01\x06origin\0\0\0#__widl_f_last_event_id_MessageEvent\0\0\x01\x0CMessageEvent\x01\0\x01\x0BlastEventId\x01\x0BlastEventId\0\0\0\x1C__widl_f_source_MessageEvent\0\0\x01\x0CMessageEvent\x01\0\x01\x06source\x01\x06source\0\0\x02\x0BMessagePort\x1D__widl_instanceof_MessagePort\0\0\0\0\x1A__widl_f_close_MessagePort\0\0\x01\x0BMessagePort\x01\0\0\x01\x05close\0\0\0!__widl_f_post_message_MessagePort\x01\0\x01\x0BMessagePort\x01\0\0\x01\x0BpostMessage\0\0\0\x1A__widl_f_start_MessagePort\0\0\x01\x0BMessagePort\x01\0\0\x01\x05start\0\0\0\x1E__widl_f_onmessage_MessagePort\0\0\x01\x0BMessagePort\x01\0\x01\tonmessage\x01\tonmessage\0\0\0\"__widl_f_set_onmessage_MessagePort\0\0\x01\x0BMessagePort\x01\0\x02\tonmessage\x01\tonmessage\0\0\0#__widl_f_onmessageerror_MessagePort\0\0\x01\x0BMessagePort\x01\0\x01\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\0'__widl_f_set_onmessageerror_MessagePort\0\0\x01\x0BMessagePort\x01\0\x02\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\x02\x08MimeType\x1A__widl_instanceof_MimeType\0\0\0\0\x1D__widl_f_description_MimeType\0\0\x01\x08MimeType\x01\0\x01\x0Bdescription\x01\x0Bdescription\0\0\0 __widl_f_enabled_plugin_MimeType\0\0\x01\x08MimeType\x01\0\x01\renabledPlugin\x01\renabledPlugin\0\0\0\x1A__widl_f_suffixes_MimeType\0\0\x01\x08MimeType\x01\0\x01\x08suffixes\x01\x08suffixes\0\0\0\x16__widl_f_type_MimeType\0\0\x01\x08MimeType\x01\0\x01\x04type\x01\x04type\0\0\x02\rMimeTypeArray\x1F__widl_instanceof_MimeTypeArray\0\0\0\0\x1B__widl_f_item_MimeTypeArray\0\0\x01\rMimeTypeArray\x01\0\0\x01\x04item\0\0\0!__widl_f_named_item_MimeTypeArray\0\0\x01\rMimeTypeArray\x01\0\0\x01\tnamedItem\0\0\0%__widl_f_get_with_index_MimeTypeArray\0\0\x01\rMimeTypeArray\x01\0\x03\x01\x03get\0\0\0$__widl_f_get_with_name_MimeTypeArray\0\0\x01\rMimeTypeArray\x01\0\x03\x01\x03get\0\0\0\x1D__widl_f_length_MimeTypeArray\0\0\x01\rMimeTypeArray\x01\0\x01\x06length\x01\x06length\0\0\x02\nMouseEvent\x1C__widl_instanceof_MouseEvent\0\0\0\0\x17__widl_f_new_MouseEvent\x01\0\x01\nMouseEvent\0\x01\x03new\0\0\02__widl_f_new_with_mouse_event_init_dict_MouseEvent\x01\0\x01\nMouseEvent\0\x01\x03new\0\0\0&__widl_f_get_modifier_state_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x10getModifierState\0\0\0$__widl_f_init_mouse_event_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\08__widl_f_init_mouse_event_with_can_bubble_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0K__widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0X__widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0g__widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0x__widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0\x89\x01__widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0\x9A\x01__widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0\xAB\x01__widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0\xBC\x01__widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0\xCC\x01__widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0\xDE\x01__widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0\xEF\x01__widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0\xFE\x01__widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0\x95\x02__widl_f_init_mouse_event_with_can_bubble_arg_and_cancelable_arg_and_view_arg_and_detail_arg_and_screen_x_arg_and_screen_y_arg_and_client_x_arg_and_client_y_arg_and_ctrl_key_arg_and_alt_key_arg_and_shift_key_arg_and_meta_key_arg_and_button_arg_and_related_target_arg_MouseEvent\0\0\x01\nMouseEvent\x01\0\0\x01\x0EinitMouseEvent\0\0\0\x1C__widl_f_screen_x_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x07screenX\x01\x07screenX\0\0\0\x1C__widl_f_screen_y_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x07screenY\x01\x07screenY\0\0\0\x1C__widl_f_client_x_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x07clientX\x01\x07clientX\0\0\0\x1C__widl_f_client_y_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x07clientY\x01\x07clientY\0\0\0\x15__widl_f_x_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x01x\x01\x01x\0\0\0\x15__widl_f_y_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x01y\x01\x01y\0\0\0\x1C__widl_f_offset_x_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x07offsetX\x01\x07offsetX\0\0\0\x1C__widl_f_offset_y_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x07offsetY\x01\x07offsetY\0\0\0\x1C__widl_f_ctrl_key_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x07ctrlKey\x01\x07ctrlKey\0\0\0\x1D__widl_f_shift_key_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x08shiftKey\x01\x08shiftKey\0\0\0\x1B__widl_f_alt_key_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x06altKey\x01\x06altKey\0\0\0\x1C__widl_f_meta_key_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x07metaKey\x01\x07metaKey\0\0\0\x1A__widl_f_button_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x06button\x01\x06button\0\0\0\x1B__widl_f_buttons_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x07buttons\x01\x07buttons\0\0\0\"__widl_f_related_target_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\rrelatedTarget\x01\rrelatedTarget\0\0\0\x1A__widl_f_region_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\x06region\x01\x06region\0\0\0\x1E__widl_f_movement_x_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\tmovementX\x01\tmovementX\0\0\0\x1E__widl_f_movement_y_MouseEvent\0\0\x01\nMouseEvent\x01\0\x01\tmovementY\x01\tmovementY\0\0\x02\x10MouseScrollEvent\"__widl_instanceof_MouseScrollEvent\0\0\0\01__widl_f_init_mouse_scroll_event_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0A__widl_f_init_mouse_scroll_event_with_can_bubble_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0P__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0Y__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0d__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0q__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0~__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0\x8B\x01__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0\x98\x01__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0\xA5\x01__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0\xB1\x01__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0\xBF\x01__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0\xCC\x01__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0\xD7\x01__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0\xEA\x01__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0\xF3\x01__widl_f_init_mouse_scroll_event_with_can_bubble_and_cancelable_and_view_and_detail_and_screen_x_and_screen_y_and_client_x_and_client_y_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_button_and_related_target_and_axis_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\0\x01\x14initMouseScrollEvent\0\0\0\x1E__widl_f_axis_MouseScrollEvent\0\0\x01\x10MouseScrollEvent\x01\0\x01\x04axis\x01\x04axis\0\0\x02\rMutationEvent\x1F__widl_instanceof_MutationEvent\0\0\0\0*__widl_f_init_mutation_event_MutationEvent\x01\0\x01\rMutationEvent\x01\0\0\x01\x11initMutationEvent\0\0\0:__widl_f_init_mutation_event_with_can_bubble_MutationEvent\x01\0\x01\rMutationEvent\x01\0\0\x01\x11initMutationEvent\0\0\0I__widl_f_init_mutation_event_with_can_bubble_and_cancelable_MutationEvent\x01\0\x01\rMutationEvent\x01\0\0\x01\x11initMutationEvent\0\0\0Z__widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_MutationEvent\x01\0\x01\rMutationEvent\x01\0\0\x01\x11initMutationEvent\0\0\0i__widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_MutationEvent\x01\0\x01\rMutationEvent\x01\0\0\x01\x11initMutationEvent\0\0\0w__widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_MutationEvent\x01\0\x01\rMutationEvent\x01\0\0\x01\x11initMutationEvent\0\0\0\x85\x01__widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name_MutationEvent\x01\0\x01\rMutationEvent\x01\0\0\x01\x11initMutationEvent\0\0\0\x95\x01__widl_f_init_mutation_event_with_can_bubble_and_cancelable_and_related_node_and_prev_value_and_new_value_and_attr_name_and_attr_change_MutationEvent\x01\0\x01\rMutationEvent\x01\0\0\x01\x11initMutationEvent\0\0\0#__widl_f_related_node_MutationEvent\0\0\x01\rMutationEvent\x01\0\x01\x0BrelatedNode\x01\x0BrelatedNode\0\0\0!__widl_f_prev_value_MutationEvent\0\0\x01\rMutationEvent\x01\0\x01\tprevValue\x01\tprevValue\0\0\0 __widl_f_new_value_MutationEvent\0\0\x01\rMutationEvent\x01\0\x01\x08newValue\x01\x08newValue\0\0\0 __widl_f_attr_name_MutationEvent\0\0\x01\rMutationEvent\x01\0\x01\x08attrName\x01\x08attrName\0\0\0\"__widl_f_attr_change_MutationEvent\0\0\x01\rMutationEvent\x01\0\x01\nattrChange\x01\nattrChange\0\0\x02\x10MutationObserver\"__widl_instanceof_MutationObserver\0\0\0\0\x1D__widl_f_new_MutationObserver\x01\0\x01\x10MutationObserver\0\x01\x03new\0\0\0$__widl_f_disconnect_MutationObserver\0\0\x01\x10MutationObserver\x01\0\0\x01\ndisconnect\0\0\0!__widl_f_observe_MutationObserver\x01\0\x01\x10MutationObserver\x01\0\0\x01\x07observe\0\0\0.__widl_f_observe_with_options_MutationObserver\x01\0\x01\x10MutationObserver\x01\0\0\x01\x07observe\0\0\x02\x0EMutationRecord __widl_instanceof_MutationRecord\0\0\0\0\x1C__widl_f_type_MutationRecord\0\0\x01\x0EMutationRecord\x01\0\x01\x04type\x01\x04type\0\0\0\x1E__widl_f_target_MutationRecord\0\0\x01\x0EMutationRecord\x01\0\x01\x06target\x01\x06target\0\0\0#__widl_f_added_nodes_MutationRecord\0\0\x01\x0EMutationRecord\x01\0\x01\naddedNodes\x01\naddedNodes\0\0\0%__widl_f_removed_nodes_MutationRecord\0\0\x01\x0EMutationRecord\x01\0\x01\x0CremovedNodes\x01\x0CremovedNodes\0\0\0(__widl_f_previous_sibling_MutationRecord\0\0\x01\x0EMutationRecord\x01\0\x01\x0FpreviousSibling\x01\x0FpreviousSibling\0\0\0$__widl_f_next_sibling_MutationRecord\0\0\x01\x0EMutationRecord\x01\0\x01\x0BnextSibling\x01\x0BnextSibling\0\0\0&__widl_f_attribute_name_MutationRecord\0\0\x01\x0EMutationRecord\x01\0\x01\rattributeName\x01\rattributeName\0\0\0+__widl_f_attribute_namespace_MutationRecord\0\0\x01\x0EMutationRecord\x01\0\x01\x12attributeNamespace\x01\x12attributeNamespace\0\0\0!__widl_f_old_value_MutationRecord\0\0\x01\x0EMutationRecord\x01\0\x01\x08oldValue\x01\x08oldValue\0\0\x02\x0CNamedNodeMap\x1E__widl_instanceof_NamedNodeMap\0\0\0\0$__widl_f_get_named_item_NamedNodeMap\0\0\x01\x0CNamedNodeMap\x01\0\0\x01\x0CgetNamedItem\0\0\0'__widl_f_get_named_item_ns_NamedNodeMap\0\0\x01\x0CNamedNodeMap\x01\0\0\x01\x0EgetNamedItemNS\0\0\0\x1A__widl_f_item_NamedNodeMap\0\0\x01\x0CNamedNodeMap\x01\0\0\x01\x04item\0\0\0'__widl_f_remove_named_item_NamedNodeMap\x01\0\x01\x0CNamedNodeMap\x01\0\0\x01\x0FremoveNamedItem\0\0\0*__widl_f_remove_named_item_ns_NamedNodeMap\x01\0\x01\x0CNamedNodeMap\x01\0\0\x01\x11removeNamedItemNS\0\0\0$__widl_f_set_named_item_NamedNodeMap\x01\0\x01\x0CNamedNodeMap\x01\0\0\x01\x0CsetNamedItem\0\0\0'__widl_f_set_named_item_ns_NamedNodeMap\x01\0\x01\x0CNamedNodeMap\x01\0\0\x01\x0EsetNamedItemNS\0\0\0#__widl_f_get_with_name_NamedNodeMap\0\0\x01\x0CNamedNodeMap\x01\0\x03\x01\x03get\0\0\0$__widl_f_get_with_index_NamedNodeMap\0\0\x01\x0CNamedNodeMap\x01\0\x03\x01\x03get\0\0\0\x1C__widl_f_length_NamedNodeMap\0\0\x01\x0CNamedNodeMap\x01\0\x01\x06length\x01\x06length\0\0\x02\tNavigator\x1B__widl_instanceof_Navigator\0\0\0\0\"__widl_f_get_vr_displays_Navigator\x01\0\x01\tNavigator\x01\0\0\x01\rgetVRDisplays\0\0\0/__widl_f_request_gamepad_service_test_Navigator\0\0\x01\tNavigator\x01\0\0\x01\x19requestGamepadServiceTest\0\0\0&__widl_f_request_midi_access_Navigator\x01\0\x01\tNavigator\x01\0\0\x01\x11requestMIDIAccess\0\0\03__widl_f_request_midi_access_with_options_Navigator\x01\0\x01\tNavigator\x01\0\0\x01\x11requestMIDIAccess\0\0\0*__widl_f_request_vr_service_test_Navigator\0\0\x01\tNavigator\x01\0\0\x01\x14requestVRServiceTest\0\0\0\x1E__widl_f_send_beacon_Navigator\x01\0\x01\tNavigator\x01\0\0\x01\nsendBeacon\0\0\0,__widl_f_send_beacon_with_opt_blob_Navigator\x01\0\x01\tNavigator\x01\0\0\x01\nsendBeacon\0\0\05__widl_f_send_beacon_with_opt_buffer_source_Navigator\x01\0\x01\tNavigator\x01\0\0\x01\nsendBeacon\0\0\00__widl_f_send_beacon_with_opt_u8_array_Navigator\x01\0\x01\tNavigator\x01\0\0\x01\nsendBeacon\0\0\01__widl_f_send_beacon_with_opt_form_data_Navigator\x01\0\x01\tNavigator\x01\0\0\x01\nsendBeacon\0\0\09__widl_f_send_beacon_with_opt_url_search_params_Navigator\x01\0\x01\tNavigator\x01\0\0\x01\nsendBeacon\0\0\0+__widl_f_send_beacon_with_opt_str_Navigator\x01\0\x01\tNavigator\x01\0\0\x01\nsendBeacon\0\0\0(__widl_f_vibrate_with_duration_Navigator\0\0\x01\tNavigator\x01\0\0\x01\x07vibrate\0\0\0\x1E__widl_f_permissions_Navigator\x01\0\x01\tNavigator\x01\0\x01\x0Bpermissions\x01\x0Bpermissions\0\0\0\x1D__widl_f_mime_types_Navigator\x01\0\x01\tNavigator\x01\0\x01\tmimeTypes\x01\tmimeTypes\0\0\0\x1A__widl_f_plugins_Navigator\x01\0\x01\tNavigator\x01\0\x01\x07plugins\x01\x07plugins\0\0\0\x1F__widl_f_do_not_track_Navigator\0\0\x01\tNavigator\x01\0\x01\ndoNotTrack\x01\ndoNotTrack\0\0\0#__widl_f_max_touch_points_Navigator\0\0\x01\tNavigator\x01\0\x01\x0EmaxTouchPoints\x01\x0EmaxTouchPoints\0\0\0%__widl_f_media_capabilities_Navigator\0\0\x01\tNavigator\x01\0\x01\x11mediaCapabilities\x01\x11mediaCapabilities\0\0\0\x1D__widl_f_connection_Navigator\x01\0\x01\tNavigator\x01\0\x01\nconnection\x01\nconnection\0\0\0 __widl_f_media_devices_Navigator\x01\0\x01\tNavigator\x01\0\x01\x0CmediaDevices\x01\x0CmediaDevices\0\0\0!__widl_f_service_worker_Navigator\0\0\x01\tNavigator\x01\0\x01\rserviceWorker\x01\rserviceWorker\0\0\0\x1F__widl_f_presentation_Navigator\x01\0\x01\tNavigator\x01\0\x01\x0Cpresentation\x01\x0Cpresentation\0\0\0\x1E__widl_f_credentials_Navigator\0\0\x01\tNavigator\x01\0\x01\x0Bcredentials\x01\x0Bcredentials\0\0\0'__widl_f_hardware_concurrency_Navigator\0\0\x01\tNavigator\x01\0\x01\x13hardwareConcurrency\x01\x13hardwareConcurrency\0\0\0+__widl_f_register_content_handler_Navigator\x01\0\x01\tNavigator\x01\0\0\x01\x16registerContentHandler\0\0\0,__widl_f_register_protocol_handler_Navigator\x01\0\x01\tNavigator\x01\0\0\x01\x17registerProtocolHandler\0\0\0 __widl_f_taint_enabled_Navigator\0\0\x01\tNavigator\x01\0\0\x01\x0CtaintEnabled\0\0\0 __widl_f_app_code_name_Navigator\x01\0\x01\tNavigator\x01\0\x01\x0BappCodeName\x01\x0BappCodeName\0\0\0\x1B__widl_f_app_name_Navigator\0\0\x01\tNavigator\x01\0\x01\x07appName\x01\x07appName\0\0\0\x1E__widl_f_app_version_Navigator\x01\0\x01\tNavigator\x01\0\x01\nappVersion\x01\nappVersion\0\0\0\x1B__widl_f_platform_Navigator\x01\0\x01\tNavigator\x01\0\x01\x08platform\x01\x08platform\0\0\0\x1D__widl_f_user_agent_Navigator\x01\0\x01\tNavigator\x01\0\x01\tuserAgent\x01\tuserAgent\0\0\0\x1A__widl_f_product_Navigator\0\0\x01\tNavigator\x01\0\x01\x07product\x01\x07product\0\0\0\x1B__widl_f_language_Navigator\0\0\x01\tNavigator\x01\0\x01\x08language\x01\x08language\0\0\0\x1A__widl_f_on_line_Navigator\0\0\x01\tNavigator\x01\0\x01\x06onLine\x01\x06onLine\0\0\0\x1A__widl_f_storage_Navigator\0\0\x01\tNavigator\x01\0\x01\x07storage\x01\x07storage\0\0\x02\x12NetworkInformation$__widl_instanceof_NetworkInformation\0\0\0\0 __widl_f_type_NetworkInformation\0\0\x01\x12NetworkInformation\x01\0\x01\x04type\x01\x04type\0\0\0(__widl_f_ontypechange_NetworkInformation\0\0\x01\x12NetworkInformation\x01\0\x01\x0Contypechange\x01\x0Contypechange\0\0\0,__widl_f_set_ontypechange_NetworkInformation\0\0\x01\x12NetworkInformation\x01\0\x02\x0Contypechange\x01\x0Contypechange\0\0\x02\x04Node\x16__widl_instanceof_Node\0\0\0\0\x1A__widl_f_append_child_Node\x01\0\x01\x04Node\x01\0\0\x01\x0BappendChild\0\0\0\x18__widl_f_clone_node_Node\x01\0\x01\x04Node\x01\0\0\x01\tcloneNode\0\0\0\"__widl_f_clone_node_with_deep_Node\x01\0\x01\x04Node\x01\0\0\x01\tcloneNode\0\0\0'__widl_f_compare_document_position_Node\0\0\x01\x04Node\x01\0\0\x01\x17compareDocumentPosition\0\0\0\x16__widl_f_contains_Node\0\0\x01\x04Node\x01\0\0\x01\x08contains\0\0\0\x1B__widl_f_get_root_node_Node\0\0\x01\x04Node\x01\0\0\x01\x0BgetRootNode\0\0\0(__widl_f_get_root_node_with_options_Node\0\0\x01\x04Node\x01\0\0\x01\x0BgetRootNode\0\0\0\x1D__widl_f_has_child_nodes_Node\0\0\x01\x04Node\x01\0\0\x01\rhasChildNodes\0\0\0\x1B__widl_f_insert_before_Node\x01\0\x01\x04Node\x01\0\0\x01\x0CinsertBefore\0\0\0\"__widl_f_is_default_namespace_Node\0\0\x01\x04Node\x01\0\0\x01\x12isDefaultNamespace\0\0\0\x1B__widl_f_is_equal_node_Node\0\0\x01\x04Node\x01\0\0\x01\x0BisEqualNode\0\0\0\x1A__widl_f_is_same_node_Node\0\0\x01\x04Node\x01\0\0\x01\nisSameNode\0\0\0\"__widl_f_lookup_namespace_uri_Node\0\0\x01\x04Node\x01\0\0\x01\x12lookupNamespaceURI\0\0\0\x1B__widl_f_lookup_prefix_Node\0\0\x01\x04Node\x01\0\0\x01\x0ClookupPrefix\0\0\0\x17__widl_f_normalize_Node\0\0\x01\x04Node\x01\0\0\x01\tnormalize\0\0\0\x1A__widl_f_remove_child_Node\x01\0\x01\x04Node\x01\0\0\x01\x0BremoveChild\0\0\0\x1B__widl_f_replace_child_Node\x01\0\x01\x04Node\x01\0\0\x01\x0CreplaceChild\0\0\0\x17__widl_f_node_type_Node\0\0\x01\x04Node\x01\0\x01\x08nodeType\x01\x08nodeType\0\0\0\x17__widl_f_node_name_Node\0\0\x01\x04Node\x01\0\x01\x08nodeName\x01\x08nodeName\0\0\0\x16__widl_f_base_uri_Node\x01\0\x01\x04Node\x01\0\x01\x07baseURI\x01\x07baseURI\0\0\0\x1A__widl_f_is_connected_Node\0\0\x01\x04Node\x01\0\x01\x0BisConnected\x01\x0BisConnected\0\0\0\x1C__widl_f_owner_document_Node\0\0\x01\x04Node\x01\0\x01\rownerDocument\x01\rownerDocument\0\0\0\x19__widl_f_parent_node_Node\0\0\x01\x04Node\x01\0\x01\nparentNode\x01\nparentNode\0\0\0\x1C__widl_f_parent_element_Node\0\0\x01\x04Node\x01\0\x01\rparentElement\x01\rparentElement\0\0\0\x19__widl_f_child_nodes_Node\0\0\x01\x04Node\x01\0\x01\nchildNodes\x01\nchildNodes\0\0\0\x19__widl_f_first_child_Node\0\0\x01\x04Node\x01\0\x01\nfirstChild\x01\nfirstChild\0\0\0\x18__widl_f_last_child_Node\0\0\x01\x04Node\x01\0\x01\tlastChild\x01\tlastChild\0\0\0\x1E__widl_f_previous_sibling_Node\0\0\x01\x04Node\x01\0\x01\x0FpreviousSibling\x01\x0FpreviousSibling\0\0\0\x1A__widl_f_next_sibling_Node\0\0\x01\x04Node\x01\0\x01\x0BnextSibling\x01\x0BnextSibling\0\0\0\x18__widl_f_node_value_Node\0\0\x01\x04Node\x01\0\x01\tnodeValue\x01\tnodeValue\0\0\0\x1C__widl_f_set_node_value_Node\0\0\x01\x04Node\x01\0\x02\tnodeValue\x01\tnodeValue\0\0\0\x1A__widl_f_text_content_Node\0\0\x01\x04Node\x01\0\x01\x0BtextContent\x01\x0BtextContent\0\0\0\x1E__widl_f_set_text_content_Node\0\0\x01\x04Node\x01\0\x02\x0BtextContent\x01\x0BtextContent\0\0\x02\x0CNodeIterator\x1E__widl_instanceof_NodeIterator\0\0\0\0\x1C__widl_f_detach_NodeIterator\0\0\x01\x0CNodeIterator\x01\0\0\x01\x06detach\0\0\0\x1F__widl_f_next_node_NodeIterator\x01\0\x01\x0CNodeIterator\x01\0\0\x01\x08nextNode\0\0\0#__widl_f_previous_node_NodeIterator\x01\0\x01\x0CNodeIterator\x01\0\0\x01\x0CpreviousNode\0\0\0\x1A__widl_f_root_NodeIterator\0\0\x01\x0CNodeIterator\x01\0\x01\x04root\x01\x04root\0\0\0$__widl_f_reference_node_NodeIterator\0\0\x01\x0CNodeIterator\x01\0\x01\rreferenceNode\x01\rreferenceNode\0\0\03__widl_f_pointer_before_reference_node_NodeIterator\0\0\x01\x0CNodeIterator\x01\0\x01\x1ApointerBeforeReferenceNode\x01\x1ApointerBeforeReferenceNode\0\0\0\"__widl_f_what_to_show_NodeIterator\0\0\x01\x0CNodeIterator\x01\0\x01\nwhatToShow\x01\nwhatToShow\0\0\0\x1C__widl_f_filter_NodeIterator\0\0\x01\x0CNodeIterator\x01\0\x01\x06filter\x01\x06filter\0\0\x02\x08NodeList\x1A__widl_instanceof_NodeList\0\0\0\0\x16__widl_f_item_NodeList\0\0\x01\x08NodeList\x01\0\0\x01\x04item\0\0\0\x15__widl_f_get_NodeList\0\0\x01\x08NodeList\x01\0\x03\x01\x03get\0\0\0\x18__widl_f_length_NodeList\0\0\x01\x08NodeList\x01\0\x01\x06length\x01\x06length\0\0\x02\x0CNotification\x1E__widl_instanceof_Notification\0\0\0\0\x19__widl_f_new_Notification\x01\0\x01\x0CNotification\0\x01\x03new\0\0\0&__widl_f_new_with_options_Notification\x01\0\x01\x0CNotification\0\x01\x03new\0\0\0\x1B__widl_f_close_Notification\0\0\x01\x0CNotification\x01\0\0\x01\x05close\0\0\0\x19__widl_f_get_Notification\x01\0\x01\x0CNotification\x01\x01\0\x01\x03get\0\0\0%__widl_f_get_with_filter_Notification\x01\0\x01\x0CNotification\x01\x01\0\x01\x03get\0\0\0(__widl_f_request_permission_Notification\x01\0\x01\x0CNotification\x01\x01\0\x01\x11requestPermission\0\0\0A__widl_f_request_permission_with_permission_callback_Notification\x01\0\x01\x0CNotification\x01\x01\0\x01\x11requestPermission\0\0\0 __widl_f_permission_Notification\0\0\x01\x0CNotification\x01\x01\x01\npermission\x01\npermission\0\0\0\x1D__widl_f_onclick_Notification\0\0\x01\x0CNotification\x01\0\x01\x07onclick\x01\x07onclick\0\0\0!__widl_f_set_onclick_Notification\0\0\x01\x0CNotification\x01\0\x02\x07onclick\x01\x07onclick\0\0\0\x1C__widl_f_onshow_Notification\0\0\x01\x0CNotification\x01\0\x01\x06onshow\x01\x06onshow\0\0\0 __widl_f_set_onshow_Notification\0\0\x01\x0CNotification\x01\0\x02\x06onshow\x01\x06onshow\0\0\0\x1D__widl_f_onerror_Notification\0\0\x01\x0CNotification\x01\0\x01\x07onerror\x01\x07onerror\0\0\0!__widl_f_set_onerror_Notification\0\0\x01\x0CNotification\x01\0\x02\x07onerror\x01\x07onerror\0\0\0\x1D__widl_f_onclose_Notification\0\0\x01\x0CNotification\x01\0\x01\x07onclose\x01\x07onclose\0\0\0!__widl_f_set_onclose_Notification\0\0\x01\x0CNotification\x01\0\x02\x07onclose\x01\x07onclose\0\0\0\x1B__widl_f_title_Notification\0\0\x01\x0CNotification\x01\0\x01\x05title\x01\x05title\0\0\0\x19__widl_f_dir_Notification\0\0\x01\x0CNotification\x01\0\x01\x03dir\x01\x03dir\0\0\0\x1A__widl_f_lang_Notification\0\0\x01\x0CNotification\x01\0\x01\x04lang\x01\x04lang\0\0\0\x1A__widl_f_body_Notification\0\0\x01\x0CNotification\x01\0\x01\x04body\x01\x04body\0\0\0\x19__widl_f_tag_Notification\0\0\x01\x0CNotification\x01\0\x01\x03tag\x01\x03tag\0\0\0\x1A__widl_f_icon_Notification\0\0\x01\x0CNotification\x01\0\x01\x04icon\x01\x04icon\0\0\0)__widl_f_require_interaction_Notification\0\0\x01\x0CNotification\x01\0\x01\x12requireInteraction\x01\x12requireInteraction\0\0\0\x1A__widl_f_data_Notification\0\0\x01\x0CNotification\x01\0\x01\x04data\x01\x04data\0\0\x02\x11NotificationEvent#__widl_instanceof_NotificationEvent\0\0\0\0\x1E__widl_f_new_NotificationEvent\x01\0\x01\x11NotificationEvent\0\x01\x03new\0\0\0'__widl_f_notification_NotificationEvent\0\0\x01\x11NotificationEvent\x01\0\x01\x0Cnotification\x01\x0Cnotification\0\0\x02\x1BOfflineAudioCompletionEvent-__widl_instanceof_OfflineAudioCompletionEvent\0\0\0\0(__widl_f_new_OfflineAudioCompletionEvent\x01\0\x01\x1BOfflineAudioCompletionEvent\0\x01\x03new\0\0\04__widl_f_rendered_buffer_OfflineAudioCompletionEvent\0\0\x01\x1BOfflineAudioCompletionEvent\x01\0\x01\x0ErenderedBuffer\x01\x0ErenderedBuffer\0\0\x02\x13OfflineAudioContext%__widl_instanceof_OfflineAudioContext\0\0\0\05__widl_f_new_with_context_options_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\0\x01\x03new\0\0\0S__widl_f_new_with_number_of_channels_and_length_and_sample_rate_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\0\x01\x03new\0\0\0,__widl_f_start_rendering_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x0EstartRendering\0\0\0#__widl_f_length_OfflineAudioContext\0\0\x01\x13OfflineAudioContext\x01\0\x01\x06length\x01\x06length\0\0\0'__widl_f_oncomplete_OfflineAudioContext\0\0\x01\x13OfflineAudioContext\x01\0\x01\noncomplete\x01\noncomplete\0\0\0+__widl_f_set_oncomplete_OfflineAudioContext\0\0\x01\x13OfflineAudioContext\x01\0\x02\noncomplete\x01\noncomplete\0\0\0,__widl_f_create_analyser_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x0EcreateAnalyser\0\0\01__widl_f_create_biquad_filter_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x12createBiquadFilter\0\0\0*__widl_f_create_buffer_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x0CcreateBuffer\0\0\01__widl_f_create_buffer_source_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x12createBufferSource\0\0\02__widl_f_create_channel_merger_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x13createChannelMerger\0\0\0H__widl_f_create_channel_merger_with_number_of_inputs_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x13createChannelMerger\0\0\04__widl_f_create_channel_splitter_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x15createChannelSplitter\0\0\0K__widl_f_create_channel_splitter_with_number_of_outputs_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x15createChannelSplitter\0\0\03__widl_f_create_constant_source_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x14createConstantSource\0\0\0-__widl_f_create_convolver_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x0FcreateConvolver\0\0\0)__widl_f_create_delay_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x0BcreateDelay\0\0\0=__widl_f_create_delay_with_max_delay_time_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x0BcreateDelay\0\0\07__widl_f_create_dynamics_compressor_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x18createDynamicsCompressor\0\0\0(__widl_f_create_gain_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\ncreateGain\0\0\0.__widl_f_create_oscillator_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x10createOscillator\0\0\0*__widl_f_create_panner_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x0CcreatePanner\0\0\01__widl_f_create_periodic_wave_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x12createPeriodicWave\0\0\0B__widl_f_create_periodic_wave_with_constraints_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x12createPeriodicWave\0\0\04__widl_f_create_script_processor_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x15createScriptProcessor\0\0\0E__widl_f_create_script_processor_with_buffer_size_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x15createScriptProcessor\0\0\0b__widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x15createScriptProcessor\0\0\0\x80\x01__widl_f_create_script_processor_with_buffer_size_and_number_of_input_channels_and_number_of_output_channels_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x15createScriptProcessor\0\0\01__widl_f_create_stereo_panner_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x12createStereoPanner\0\0\0/__widl_f_create_wave_shaper_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x10createWaveShaper\0\0\0.__widl_f_decode_audio_data_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x0FdecodeAudioData\0\0\0D__widl_f_decode_audio_data_with_success_callback_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x0FdecodeAudioData\0\0\0W__widl_f_decode_audio_data_with_success_callback_and_error_callback_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x0FdecodeAudioData\0\0\0#__widl_f_resume_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\0\x01\x06resume\0\0\0(__widl_f_destination_OfflineAudioContext\0\0\x01\x13OfflineAudioContext\x01\0\x01\x0Bdestination\x01\x0Bdestination\0\0\0(__widl_f_sample_rate_OfflineAudioContext\0\0\x01\x13OfflineAudioContext\x01\0\x01\nsampleRate\x01\nsampleRate\0\0\0)__widl_f_current_time_OfflineAudioContext\0\0\x01\x13OfflineAudioContext\x01\0\x01\x0BcurrentTime\x01\x0BcurrentTime\0\0\0%__widl_f_listener_OfflineAudioContext\0\0\x01\x13OfflineAudioContext\x01\0\x01\x08listener\x01\x08listener\0\0\0\"__widl_f_state_OfflineAudioContext\0\0\x01\x13OfflineAudioContext\x01\0\x01\x05state\x01\x05state\0\0\0*__widl_f_audio_worklet_OfflineAudioContext\x01\0\x01\x13OfflineAudioContext\x01\0\x01\x0CaudioWorklet\x01\x0CaudioWorklet\0\0\0*__widl_f_onstatechange_OfflineAudioContext\0\0\x01\x13OfflineAudioContext\x01\0\x01\ronstatechange\x01\ronstatechange\0\0\0.__widl_f_set_onstatechange_OfflineAudioContext\0\0\x01\x13OfflineAudioContext\x01\0\x02\ronstatechange\x01\ronstatechange\0\0\x02\x13OfflineResourceList%__widl_instanceof_OfflineResourceList\0\0\0\0'__widl_f_swap_cache_OfflineResourceList\x01\0\x01\x13OfflineResourceList\x01\0\0\x01\tswapCache\0\0\0#__widl_f_update_OfflineResourceList\x01\0\x01\x13OfflineResourceList\x01\0\0\x01\x06update\0\0\0#__widl_f_status_OfflineResourceList\x01\0\x01\x13OfflineResourceList\x01\0\x01\x06status\x01\x06status\0\0\0'__widl_f_onchecking_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x01\nonchecking\x01\nonchecking\0\0\0+__widl_f_set_onchecking_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x02\nonchecking\x01\nonchecking\0\0\0$__widl_f_onerror_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x01\x07onerror\x01\x07onerror\0\0\0(__widl_f_set_onerror_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x02\x07onerror\x01\x07onerror\0\0\0'__widl_f_onnoupdate_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x01\nonnoupdate\x01\nonnoupdate\0\0\0+__widl_f_set_onnoupdate_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x02\nonnoupdate\x01\nonnoupdate\0\0\0*__widl_f_ondownloading_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x01\rondownloading\x01\rondownloading\0\0\0.__widl_f_set_ondownloading_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x02\rondownloading\x01\rondownloading\0\0\0'__widl_f_onprogress_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x01\nonprogress\x01\nonprogress\0\0\0+__widl_f_set_onprogress_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x02\nonprogress\x01\nonprogress\0\0\0*__widl_f_onupdateready_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x01\ronupdateready\x01\ronupdateready\0\0\0.__widl_f_set_onupdateready_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x02\ronupdateready\x01\ronupdateready\0\0\0%__widl_f_oncached_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x01\x08oncached\x01\x08oncached\0\0\0)__widl_f_set_oncached_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x02\x08oncached\x01\x08oncached\0\0\0'__widl_f_onobsolete_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x01\nonobsolete\x01\nonobsolete\0\0\0+__widl_f_set_onobsolete_OfflineResourceList\0\0\x01\x13OfflineResourceList\x01\0\x02\nonobsolete\x01\nonobsolete\0\0\x02\x0FOffscreenCanvas!__widl_instanceof_OffscreenCanvas\0\0\0\0\x1C__widl_f_new_OffscreenCanvas\x01\0\x01\x0FOffscreenCanvas\0\x01\x03new\0\0\0$__widl_f_get_context_OffscreenCanvas\x01\0\x01\x0FOffscreenCanvas\x01\0\0\x01\ngetContext\0\0\09__widl_f_get_context_with_context_options_OffscreenCanvas\x01\0\x01\x0FOffscreenCanvas\x01\0\0\x01\ngetContext\0\0\0 __widl_f_to_blob_OffscreenCanvas\x01\0\x01\x0FOffscreenCanvas\x01\0\0\x01\x06toBlob\0\0\0*__widl_f_to_blob_with_type_OffscreenCanvas\x01\0\x01\x0FOffscreenCanvas\x01\0\0\x01\x06toBlob\0\0\0>__widl_f_to_blob_with_type_and_encoder_options_OffscreenCanvas\x01\0\x01\x0FOffscreenCanvas\x01\0\0\x01\x06toBlob\0\0\01__widl_f_transfer_to_image_bitmap_OffscreenCanvas\x01\0\x01\x0FOffscreenCanvas\x01\0\0\x01\x15transferToImageBitmap\0\0\0\x1E__widl_f_width_OffscreenCanvas\0\0\x01\x0FOffscreenCanvas\x01\0\x01\x05width\x01\x05width\0\0\0\"__widl_f_set_width_OffscreenCanvas\0\0\x01\x0FOffscreenCanvas\x01\0\x02\x05width\x01\x05width\0\0\0\x1F__widl_f_height_OffscreenCanvas\0\0\x01\x0FOffscreenCanvas\x01\0\x01\x06height\x01\x06height\0\0\0#__widl_f_set_height_OffscreenCanvas\0\0\x01\x0FOffscreenCanvas\x01\0\x02\x06height\x01\x06height\0\0\x02\x0EOscillatorNode __widl_instanceof_OscillatorNode\0\0\0\0\x1B__widl_f_new_OscillatorNode\x01\0\x01\x0EOscillatorNode\0\x01\x03new\0\0\0(__widl_f_new_with_options_OscillatorNode\x01\0\x01\x0EOscillatorNode\0\x01\x03new\0\0\0)__widl_f_set_periodic_wave_OscillatorNode\0\0\x01\x0EOscillatorNode\x01\0\0\x01\x0FsetPeriodicWave\0\0\0\x1C__widl_f_type_OscillatorNode\0\0\x01\x0EOscillatorNode\x01\0\x01\x04type\x01\x04type\0\0\0 __widl_f_set_type_OscillatorNode\0\0\x01\x0EOscillatorNode\x01\0\x02\x04type\x01\x04type\0\0\0!__widl_f_frequency_OscillatorNode\0\0\x01\x0EOscillatorNode\x01\0\x01\tfrequency\x01\tfrequency\0\0\0\x1E__widl_f_detune_OscillatorNode\0\0\x01\x0EOscillatorNode\x01\0\x01\x06detune\x01\x06detune\0\0\0\x1D__widl_f_start_OscillatorNode\x01\0\x01\x0EOscillatorNode\x01\0\0\x01\x05start\0\0\0'__widl_f_start_with_when_OscillatorNode\x01\0\x01\x0EOscillatorNode\x01\0\0\x01\x05start\0\0\0\x1C__widl_f_stop_OscillatorNode\x01\0\x01\x0EOscillatorNode\x01\0\0\x01\x04stop\0\0\0&__widl_f_stop_with_when_OscillatorNode\x01\0\x01\x0EOscillatorNode\x01\0\0\x01\x04stop\0\0\0\x1F__widl_f_onended_OscillatorNode\0\0\x01\x0EOscillatorNode\x01\0\x01\x07onended\x01\x07onended\0\0\0#__widl_f_set_onended_OscillatorNode\0\0\x01\x0EOscillatorNode\x01\0\x02\x07onended\x01\x07onended\0\0\x02\x13PageTransitionEvent%__widl_instanceof_PageTransitionEvent\0\0\0\0 __widl_f_new_PageTransitionEvent\x01\0\x01\x13PageTransitionEvent\0\x01\x03new\0\0\05__widl_f_new_with_event_init_dict_PageTransitionEvent\x01\0\x01\x13PageTransitionEvent\0\x01\x03new\0\0\0&__widl_f_persisted_PageTransitionEvent\0\0\x01\x13PageTransitionEvent\x01\0\x01\tpersisted\x01\tpersisted\0\0\x02\x0CPaintRequest\x1E__widl_instanceof_PaintRequest\0\0\0\0!__widl_f_client_rect_PaintRequest\0\0\x01\x0CPaintRequest\x01\0\x01\nclientRect\x01\nclientRect\0\0\0\x1C__widl_f_reason_PaintRequest\0\0\x01\x0CPaintRequest\x01\0\x01\x06reason\x01\x06reason\0\0\x02\x10PaintRequestList\"__widl_instanceof_PaintRequestList\0\0\0\0\x1E__widl_f_item_PaintRequestList\0\0\x01\x10PaintRequestList\x01\0\0\x01\x04item\0\0\0\x1D__widl_f_get_PaintRequestList\0\0\x01\x10PaintRequestList\x01\0\x03\x01\x03get\0\0\0 __widl_f_length_PaintRequestList\0\0\x01\x10PaintRequestList\x01\0\x01\x06length\x01\x06length\0\0\x02\x17PaintWorkletGlobalScope)__widl_instanceof_PaintWorkletGlobalScope\0\0\0\0/__widl_f_register_paint_PaintWorkletGlobalScope\0\0\x01\x17PaintWorkletGlobalScope\x01\0\0\x01\rregisterPaint\0\0\x02\nPannerNode\x1C__widl_instanceof_PannerNode\0\0\0\0\x17__widl_f_new_PannerNode\x01\0\x01\nPannerNode\0\x01\x03new\0\0\0$__widl_f_new_with_options_PannerNode\x01\0\x01\nPannerNode\0\x01\x03new\0\0\0#__widl_f_set_orientation_PannerNode\0\0\x01\nPannerNode\x01\0\0\x01\x0EsetOrientation\0\0\0 __widl_f_set_position_PannerNode\0\0\x01\nPannerNode\x01\0\0\x01\x0BsetPosition\0\0\0 __widl_f_set_velocity_PannerNode\0\0\x01\nPannerNode\x01\0\0\x01\x0BsetVelocity\0\0\0!__widl_f_panning_model_PannerNode\0\0\x01\nPannerNode\x01\0\x01\x0CpanningModel\x01\x0CpanningModel\0\0\0%__widl_f_set_panning_model_PannerNode\0\0\x01\nPannerNode\x01\0\x02\x0CpanningModel\x01\x0CpanningModel\0\0\0\x1E__widl_f_position_x_PannerNode\0\0\x01\nPannerNode\x01\0\x01\tpositionX\x01\tpositionX\0\0\0\x1E__widl_f_position_y_PannerNode\0\0\x01\nPannerNode\x01\0\x01\tpositionY\x01\tpositionY\0\0\0\x1E__widl_f_position_z_PannerNode\0\0\x01\nPannerNode\x01\0\x01\tpositionZ\x01\tpositionZ\0\0\0!__widl_f_orientation_x_PannerNode\0\0\x01\nPannerNode\x01\0\x01\x0CorientationX\x01\x0CorientationX\0\0\0!__widl_f_orientation_y_PannerNode\0\0\x01\nPannerNode\x01\0\x01\x0CorientationY\x01\x0CorientationY\0\0\0!__widl_f_orientation_z_PannerNode\0\0\x01\nPannerNode\x01\0\x01\x0CorientationZ\x01\x0CorientationZ\0\0\0\"__widl_f_distance_model_PannerNode\0\0\x01\nPannerNode\x01\0\x01\rdistanceModel\x01\rdistanceModel\0\0\0&__widl_f_set_distance_model_PannerNode\0\0\x01\nPannerNode\x01\0\x02\rdistanceModel\x01\rdistanceModel\0\0\0 __widl_f_ref_distance_PannerNode\0\0\x01\nPannerNode\x01\0\x01\x0BrefDistance\x01\x0BrefDistance\0\0\0$__widl_f_set_ref_distance_PannerNode\0\0\x01\nPannerNode\x01\0\x02\x0BrefDistance\x01\x0BrefDistance\0\0\0 __widl_f_max_distance_PannerNode\0\0\x01\nPannerNode\x01\0\x01\x0BmaxDistance\x01\x0BmaxDistance\0\0\0$__widl_f_set_max_distance_PannerNode\0\0\x01\nPannerNode\x01\0\x02\x0BmaxDistance\x01\x0BmaxDistance\0\0\0\"__widl_f_rolloff_factor_PannerNode\0\0\x01\nPannerNode\x01\0\x01\rrolloffFactor\x01\rrolloffFactor\0\0\0&__widl_f_set_rolloff_factor_PannerNode\0\0\x01\nPannerNode\x01\0\x02\rrolloffFactor\x01\rrolloffFactor\0\0\0$__widl_f_cone_inner_angle_PannerNode\0\0\x01\nPannerNode\x01\0\x01\x0EconeInnerAngle\x01\x0EconeInnerAngle\0\0\0(__widl_f_set_cone_inner_angle_PannerNode\0\0\x01\nPannerNode\x01\0\x02\x0EconeInnerAngle\x01\x0EconeInnerAngle\0\0\0$__widl_f_cone_outer_angle_PannerNode\0\0\x01\nPannerNode\x01\0\x01\x0EconeOuterAngle\x01\x0EconeOuterAngle\0\0\0(__widl_f_set_cone_outer_angle_PannerNode\0\0\x01\nPannerNode\x01\0\x02\x0EconeOuterAngle\x01\x0EconeOuterAngle\0\0\0#__widl_f_cone_outer_gain_PannerNode\0\0\x01\nPannerNode\x01\0\x01\rconeOuterGain\x01\rconeOuterGain\0\0\0'__widl_f_set_cone_outer_gain_PannerNode\0\0\x01\nPannerNode\x01\0\x02\rconeOuterGain\x01\rconeOuterGain\0\0\x02\x06Path2D\x18__widl_instanceof_Path2D\0\0\0\0\x13__widl_f_new_Path2D\x01\0\x01\x06Path2D\0\x01\x03new\0\0\0\x1E__widl_f_new_with_other_Path2D\x01\0\x01\x06Path2D\0\x01\x03new\0\0\0$__widl_f_new_with_path_string_Path2D\x01\0\x01\x06Path2D\0\x01\x03new\0\0\0\x18__widl_f_add_path_Path2D\0\0\x01\x06Path2D\x01\0\0\x01\x07addPath\0\0\0,__widl_f_add_path_with_transformation_Path2D\0\0\x01\x06Path2D\x01\0\0\x01\x07addPath\0\0\0\x13__widl_f_arc_Path2D\x01\0\x01\x06Path2D\x01\0\0\x01\x03arc\0\0\0&__widl_f_arc_with_anticlockwise_Path2D\x01\0\x01\x06Path2D\x01\0\0\x01\x03arc\0\0\0\x16__widl_f_arc_to_Path2D\x01\0\x01\x06Path2D\x01\0\0\x01\x05arcTo\0\0\0\x1F__widl_f_bezier_curve_to_Path2D\0\0\x01\x06Path2D\x01\0\0\x01\rbezierCurveTo\0\0\0\x1A__widl_f_close_path_Path2D\0\0\x01\x06Path2D\x01\0\0\x01\tclosePath\0\0\0\x17__widl_f_ellipse_Path2D\x01\0\x01\x06Path2D\x01\0\0\x01\x07ellipse\0\0\0*__widl_f_ellipse_with_anticlockwise_Path2D\x01\0\x01\x06Path2D\x01\0\0\x01\x07ellipse\0\0\0\x17__widl_f_line_to_Path2D\0\0\x01\x06Path2D\x01\0\0\x01\x06lineTo\0\0\0\x17__widl_f_move_to_Path2D\0\0\x01\x06Path2D\x01\0\0\x01\x06moveTo\0\0\0\"__widl_f_quadratic_curve_to_Path2D\0\0\x01\x06Path2D\x01\0\0\x01\x10quadraticCurveTo\0\0\0\x14__widl_f_rect_Path2D\0\0\x01\x06Path2D\x01\0\0\x01\x04rect\0\0\x02\x0EPaymentAddress __widl_instanceof_PaymentAddress\0\0\0\0\x1F__widl_f_to_json_PaymentAddress\0\0\x01\x0EPaymentAddress\x01\0\0\x01\x06toJSON\0\0\0\x1F__widl_f_country_PaymentAddress\0\0\x01\x0EPaymentAddress\x01\0\x01\x07country\x01\x07country\0\0\0\x1E__widl_f_region_PaymentAddress\0\0\x01\x0EPaymentAddress\x01\0\x01\x06region\x01\x06region\0\0\0\x1C__widl_f_city_PaymentAddress\0\0\x01\x0EPaymentAddress\x01\0\x01\x04city\x01\x04city\0\0\0*__widl_f_dependent_locality_PaymentAddress\0\0\x01\x0EPaymentAddress\x01\0\x01\x11dependentLocality\x01\x11dependentLocality\0\0\0#__widl_f_postal_code_PaymentAddress\0\0\x01\x0EPaymentAddress\x01\0\x01\npostalCode\x01\npostalCode\0\0\0$__widl_f_sorting_code_PaymentAddress\0\0\x01\x0EPaymentAddress\x01\0\x01\x0BsortingCode\x01\x0BsortingCode\0\0\0%__widl_f_language_code_PaymentAddress\0\0\x01\x0EPaymentAddress\x01\0\x01\x0ClanguageCode\x01\x0ClanguageCode\0\0\0$__widl_f_organization_PaymentAddress\0\0\x01\x0EPaymentAddress\x01\0\x01\x0Corganization\x01\x0Corganization\0\0\0!__widl_f_recipient_PaymentAddress\0\0\x01\x0EPaymentAddress\x01\0\x01\trecipient\x01\trecipient\0\0\0\x1D__widl_f_phone_PaymentAddress\0\0\x01\x0EPaymentAddress\x01\0\x01\x05phone\x01\x05phone\0\0\x02\x18PaymentMethodChangeEvent*__widl_instanceof_PaymentMethodChangeEvent\0\0\0\0%__widl_f_new_PaymentMethodChangeEvent\x01\0\x01\x18PaymentMethodChangeEvent\0\x01\x03new\0\0\0:__widl_f_new_with_event_init_dict_PaymentMethodChangeEvent\x01\0\x01\x18PaymentMethodChangeEvent\0\x01\x03new\0\0\0-__widl_f_method_name_PaymentMethodChangeEvent\0\0\x01\x18PaymentMethodChangeEvent\x01\0\x01\nmethodName\x01\nmethodName\0\0\00__widl_f_method_details_PaymentMethodChangeEvent\0\0\x01\x18PaymentMethodChangeEvent\x01\0\x01\rmethodDetails\x01\rmethodDetails\0\0\x02\x19PaymentRequestUpdateEvent+__widl_instanceof_PaymentRequestUpdateEvent\0\0\0\0&__widl_f_new_PaymentRequestUpdateEvent\x01\0\x01\x19PaymentRequestUpdateEvent\0\x01\x03new\0\0\0;__widl_f_new_with_event_init_dict_PaymentRequestUpdateEvent\x01\0\x01\x19PaymentRequestUpdateEvent\0\x01\x03new\0\0\0.__widl_f_update_with_PaymentRequestUpdateEvent\x01\0\x01\x19PaymentRequestUpdateEvent\x01\0\0\x01\nupdateWith\0\0\x02\x0FPaymentResponse!__widl_instanceof_PaymentResponse\0\0\0\0!__widl_f_complete_PaymentResponse\0\0\x01\x0FPaymentResponse\x01\0\0\x01\x08complete\0\0\0-__widl_f_complete_with_result_PaymentResponse\0\0\x01\x0FPaymentResponse\x01\0\0\x01\x08complete\0\0\0 __widl_f_to_json_PaymentResponse\0\0\x01\x0FPaymentResponse\x01\0\0\x01\x06toJSON\0\0\0#__widl_f_request_id_PaymentResponse\0\0\x01\x0FPaymentResponse\x01\0\x01\trequestId\x01\trequestId\0\0\0$__widl_f_method_name_PaymentResponse\0\0\x01\x0FPaymentResponse\x01\0\x01\nmethodName\x01\nmethodName\0\0\0 __widl_f_details_PaymentResponse\0\0\x01\x0FPaymentResponse\x01\0\x01\x07details\x01\x07details\0\0\0)__widl_f_shipping_address_PaymentResponse\0\0\x01\x0FPaymentResponse\x01\0\x01\x0FshippingAddress\x01\x0FshippingAddress\0\0\0(__widl_f_shipping_option_PaymentResponse\0\0\x01\x0FPaymentResponse\x01\0\x01\x0EshippingOption\x01\x0EshippingOption\0\0\0#__widl_f_payer_name_PaymentResponse\0\0\x01\x0FPaymentResponse\x01\0\x01\tpayerName\x01\tpayerName\0\0\0$__widl_f_payer_email_PaymentResponse\0\0\x01\x0FPaymentResponse\x01\0\x01\npayerEmail\x01\npayerEmail\0\0\0$__widl_f_payer_phone_PaymentResponse\0\0\x01\x0FPaymentResponse\x01\0\x01\npayerPhone\x01\npayerPhone\0\0\x02\x0BPerformance\x1D__widl_instanceof_Performance\0\0\0\0 __widl_f_clear_marks_Performance\0\0\x01\x0BPerformance\x01\0\0\x01\nclearMarks\0\0\0/__widl_f_clear_marks_with_mark_name_Performance\0\0\x01\x0BPerformance\x01\0\0\x01\nclearMarks\0\0\0#__widl_f_clear_measures_Performance\0\0\x01\x0BPerformance\x01\0\0\x01\rclearMeasures\0\0\05__widl_f_clear_measures_with_measure_name_Performance\0\0\x01\x0BPerformance\x01\0\0\x01\rclearMeasures\0\0\0+__widl_f_clear_resource_timings_Performance\0\0\x01\x0BPerformance\x01\0\0\x01\x14clearResourceTimings\0\0\0\x19__widl_f_mark_Performance\x01\0\x01\x0BPerformance\x01\0\0\x01\x04mark\0\0\0\x1C__widl_f_measure_Performance\x01\0\x01\x0BPerformance\x01\0\0\x01\x07measure\0\0\0,__widl_f_measure_with_start_mark_Performance\x01\0\x01\x0BPerformance\x01\0\0\x01\x07measure\0\0\09__widl_f_measure_with_start_mark_and_end_mark_Performance\x01\0\x01\x0BPerformance\x01\0\0\x01\x07measure\0\0\0\x18__widl_f_now_Performance\0\0\x01\x0BPerformance\x01\0\0\x01\x03now\0\0\04__widl_f_set_resource_timing_buffer_size_Performance\0\0\x01\x0BPerformance\x01\0\0\x01\x1BsetResourceTimingBufferSize\0\0\0\x1C__widl_f_to_json_Performance\0\0\x01\x0BPerformance\x01\0\0\x01\x06toJSON\0\0\0 __widl_f_time_origin_Performance\0\0\x01\x0BPerformance\x01\0\x01\ntimeOrigin\x01\ntimeOrigin\0\0\0\x1B__widl_f_timing_Performance\0\0\x01\x0BPerformance\x01\0\x01\x06timing\x01\x06timing\0\0\0\x1F__widl_f_navigation_Performance\0\0\x01\x0BPerformance\x01\0\x01\nnavigation\x01\nnavigation\0\0\0/__widl_f_onresourcetimingbufferfull_Performance\0\0\x01\x0BPerformance\x01\0\x01\x1Aonresourcetimingbufferfull\x01\x1Aonresourcetimingbufferfull\0\0\03__widl_f_set_onresourcetimingbufferfull_Performance\0\0\x01\x0BPerformance\x01\0\x02\x1Aonresourcetimingbufferfull\x01\x1Aonresourcetimingbufferfull\0\0\x02\x10PerformanceEntry\"__widl_instanceof_PerformanceEntry\0\0\0\0!__widl_f_to_json_PerformanceEntry\0\0\x01\x10PerformanceEntry\x01\0\0\x01\x06toJSON\0\0\0\x1E__widl_f_name_PerformanceEntry\0\0\x01\x10PerformanceEntry\x01\0\x01\x04name\x01\x04name\0\0\0$__widl_f_entry_type_PerformanceEntry\0\0\x01\x10PerformanceEntry\x01\0\x01\tentryType\x01\tentryType\0\0\0$__widl_f_start_time_PerformanceEntry\0\0\x01\x10PerformanceEntry\x01\0\x01\tstartTime\x01\tstartTime\0\0\0\"__widl_f_duration_PerformanceEntry\0\0\x01\x10PerformanceEntry\x01\0\x01\x08duration\x01\x08duration\0\0\x02\x0FPerformanceMark!__widl_instanceof_PerformanceMark\0\0\0\x02\x12PerformanceMeasure$__widl_instanceof_PerformanceMeasure\0\0\0\x02\x15PerformanceNavigation'__widl_instanceof_PerformanceNavigation\0\0\0\0&__widl_f_to_json_PerformanceNavigation\0\0\x01\x15PerformanceNavigation\x01\0\0\x01\x06toJSON\0\0\0#__widl_f_type_PerformanceNavigation\0\0\x01\x15PerformanceNavigation\x01\0\x01\x04type\x01\x04type\0\0\0-__widl_f_redirect_count_PerformanceNavigation\0\0\x01\x15PerformanceNavigation\x01\0\x01\rredirectCount\x01\rredirectCount\0\0\x02\x1BPerformanceNavigationTiming-__widl_instanceof_PerformanceNavigationTiming\0\0\0\0,__widl_f_to_json_PerformanceNavigationTiming\0\0\x01\x1BPerformanceNavigationTiming\x01\0\0\x01\x06toJSON\0\0\07__widl_f_unload_event_start_PerformanceNavigationTiming\0\0\x01\x1BPerformanceNavigationTiming\x01\0\x01\x10unloadEventStart\x01\x10unloadEventStart\0\0\05__widl_f_unload_event_end_PerformanceNavigationTiming\0\0\x01\x1BPerformanceNavigationTiming\x01\0\x01\x0EunloadEventEnd\x01\x0EunloadEventEnd\0\0\04__widl_f_dom_interactive_PerformanceNavigationTiming\0\0\x01\x1BPerformanceNavigationTiming\x01\0\x01\x0EdomInteractive\x01\x0EdomInteractive\0\0\0C__widl_f_dom_content_loaded_event_start_PerformanceNavigationTiming\0\0\x01\x1BPerformanceNavigationTiming\x01\0\x01\x1AdomContentLoadedEventStart\x01\x1AdomContentLoadedEventStart\0\0\0A__widl_f_dom_content_loaded_event_end_PerformanceNavigationTiming\0\0\x01\x1BPerformanceNavigationTiming\x01\0\x01\x18domContentLoadedEventEnd\x01\x18domContentLoadedEventEnd\0\0\01__widl_f_dom_complete_PerformanceNavigationTiming\0\0\x01\x1BPerformanceNavigationTiming\x01\0\x01\x0BdomComplete\x01\x0BdomComplete\0\0\05__widl_f_load_event_start_PerformanceNavigationTiming\0\0\x01\x1BPerformanceNavigationTiming\x01\0\x01\x0EloadEventStart\x01\x0EloadEventStart\0\0\03__widl_f_load_event_end_PerformanceNavigationTiming\0\0\x01\x1BPerformanceNavigationTiming\x01\0\x01\x0CloadEventEnd\x01\x0CloadEventEnd\0\0\0)__widl_f_type_PerformanceNavigationTiming\0\0\x01\x1BPerformanceNavigationTiming\x01\0\x01\x04type\x01\x04type\0\0\03__widl_f_redirect_count_PerformanceNavigationTiming\0\0\x01\x1BPerformanceNavigationTiming\x01\0\x01\rredirectCount\x01\rredirectCount\0\0\x02\x13PerformanceObserver%__widl_instanceof_PerformanceObserver\0\0\0\0 __widl_f_new_PerformanceObserver\x01\0\x01\x13PerformanceObserver\0\x01\x03new\0\0\0'__widl_f_disconnect_PerformanceObserver\0\0\x01\x13PerformanceObserver\x01\0\0\x01\ndisconnect\0\0\x02\x1CPerformanceObserverEntryList.__widl_instanceof_PerformanceObserverEntryList\0\0\0\x02\x19PerformanceResourceTiming+__widl_instanceof_PerformanceResourceTiming\0\0\0\0*__widl_f_to_json_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\0\x01\x06toJSON\0\0\01__widl_f_initiator_type_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\rinitiatorType\x01\rinitiatorType\0\0\04__widl_f_next_hop_protocol_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\x0FnextHopProtocol\x01\x0FnextHopProtocol\0\0\0/__widl_f_worker_start_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\x0BworkerStart\x01\x0BworkerStart\0\0\01__widl_f_redirect_start_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\rredirectStart\x01\rredirectStart\0\0\0/__widl_f_redirect_end_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\x0BredirectEnd\x01\x0BredirectEnd\0\0\0.__widl_f_fetch_start_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\nfetchStart\x01\nfetchStart\0\0\06__widl_f_domain_lookup_start_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\x11domainLookupStart\x01\x11domainLookupStart\0\0\04__widl_f_domain_lookup_end_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\x0FdomainLookupEnd\x01\x0FdomainLookupEnd\0\0\00__widl_f_connect_start_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\x0CconnectStart\x01\x0CconnectStart\0\0\0.__widl_f_connect_end_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\nconnectEnd\x01\nconnectEnd\0\0\0:__widl_f_secure_connection_start_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\x15secureConnectionStart\x01\x15secureConnectionStart\0\0\00__widl_f_request_start_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\x0CrequestStart\x01\x0CrequestStart\0\0\01__widl_f_response_start_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\rresponseStart\x01\rresponseStart\0\0\0/__widl_f_response_end_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\x0BresponseEnd\x01\x0BresponseEnd\0\0\00__widl_f_transfer_size_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\x0CtransferSize\x01\x0CtransferSize\0\0\04__widl_f_encoded_body_size_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\x0FencodedBodySize\x01\x0FencodedBodySize\0\0\04__widl_f_decoded_body_size_PerformanceResourceTiming\0\0\x01\x19PerformanceResourceTiming\x01\0\x01\x0FdecodedBodySize\x01\x0FdecodedBodySize\0\0\x02\x17PerformanceServerTiming)__widl_instanceof_PerformanceServerTiming\0\0\0\0(__widl_f_to_json_PerformanceServerTiming\0\0\x01\x17PerformanceServerTiming\x01\0\0\x01\x06toJSON\0\0\0%__widl_f_name_PerformanceServerTiming\0\0\x01\x17PerformanceServerTiming\x01\0\x01\x04name\x01\x04name\0\0\0)__widl_f_duration_PerformanceServerTiming\0\0\x01\x17PerformanceServerTiming\x01\0\x01\x08duration\x01\x08duration\0\0\0,__widl_f_description_PerformanceServerTiming\0\0\x01\x17PerformanceServerTiming\x01\0\x01\x0Bdescription\x01\x0Bdescription\0\0\x02\x11PerformanceTiming#__widl_instanceof_PerformanceTiming\0\0\0\0\"__widl_f_to_json_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\0\x01\x06toJSON\0\0\0+__widl_f_navigation_start_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x0FnavigationStart\x01\x0FnavigationStart\0\0\0-__widl_f_unload_event_start_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x10unloadEventStart\x01\x10unloadEventStart\0\0\0+__widl_f_unload_event_end_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x0EunloadEventEnd\x01\x0EunloadEventEnd\0\0\0)__widl_f_redirect_start_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\rredirectStart\x01\rredirectStart\0\0\0'__widl_f_redirect_end_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x0BredirectEnd\x01\x0BredirectEnd\0\0\0&__widl_f_fetch_start_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\nfetchStart\x01\nfetchStart\0\0\0.__widl_f_domain_lookup_start_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x11domainLookupStart\x01\x11domainLookupStart\0\0\0,__widl_f_domain_lookup_end_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x0FdomainLookupEnd\x01\x0FdomainLookupEnd\0\0\0(__widl_f_connect_start_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x0CconnectStart\x01\x0CconnectStart\0\0\0&__widl_f_connect_end_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\nconnectEnd\x01\nconnectEnd\0\0\02__widl_f_secure_connection_start_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x15secureConnectionStart\x01\x15secureConnectionStart\0\0\0(__widl_f_request_start_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x0CrequestStart\x01\x0CrequestStart\0\0\0)__widl_f_response_start_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\rresponseStart\x01\rresponseStart\0\0\0'__widl_f_response_end_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x0BresponseEnd\x01\x0BresponseEnd\0\0\0&__widl_f_dom_loading_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\ndomLoading\x01\ndomLoading\0\0\0*__widl_f_dom_interactive_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x0EdomInteractive\x01\x0EdomInteractive\0\0\09__widl_f_dom_content_loaded_event_start_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x1AdomContentLoadedEventStart\x01\x1AdomContentLoadedEventStart\0\0\07__widl_f_dom_content_loaded_event_end_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x18domContentLoadedEventEnd\x01\x18domContentLoadedEventEnd\0\0\0'__widl_f_dom_complete_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x0BdomComplete\x01\x0BdomComplete\0\0\0+__widl_f_load_event_start_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x0EloadEventStart\x01\x0EloadEventStart\0\0\0)__widl_f_load_event_end_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x0CloadEventEnd\x01\x0CloadEventEnd\0\0\02__widl_f_time_to_non_blank_paint_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x13timeToNonBlankPaint\x01\x13timeToNonBlankPaint\0\0\06__widl_f_time_to_dom_content_flushed_PerformanceTiming\0\0\x01\x11PerformanceTiming\x01\0\x01\x17timeToDOMContentFlushed\x01\x17timeToDOMContentFlushed\0\0\x02\x0CPeriodicWave\x1E__widl_instanceof_PeriodicWave\0\0\0\0\x19__widl_f_new_PeriodicWave\x01\0\x01\x0CPeriodicWave\0\x01\x03new\0\0\0&__widl_f_new_with_options_PeriodicWave\x01\0\x01\x0CPeriodicWave\0\x01\x03new\0\0\x02\x10PermissionStatus\"__widl_instanceof_PermissionStatus\0\0\0\0\x1F__widl_f_state_PermissionStatus\0\0\x01\x10PermissionStatus\x01\0\x01\x05state\x01\x05state\0\0\0\"__widl_f_onchange_PermissionStatus\0\0\x01\x10PermissionStatus\x01\0\x01\x08onchange\x01\x08onchange\0\0\0&__widl_f_set_onchange_PermissionStatus\0\0\x01\x10PermissionStatus\x01\0\x02\x08onchange\x01\x08onchange\0\0\x02\x0BPermissions\x1D__widl_instanceof_Permissions\0\0\0\0\x1A__widl_f_query_Permissions\x01\0\x01\x0BPermissions\x01\0\0\x01\x05query\0\0\0\x1B__widl_f_revoke_Permissions\x01\0\x01\x0BPermissions\x01\0\0\x01\x06revoke\0\0\x02\x06Plugin\x18__widl_instanceof_Plugin\0\0\0\0\x14__widl_f_item_Plugin\0\0\x01\x06Plugin\x01\0\0\x01\x04item\0\0\0\x1A__widl_f_named_item_Plugin\0\0\x01\x06Plugin\x01\0\0\x01\tnamedItem\0\0\0\x1E__widl_f_get_with_index_Plugin\0\0\x01\x06Plugin\x01\0\x03\x01\x03get\0\0\0\x1D__widl_f_get_with_name_Plugin\0\0\x01\x06Plugin\x01\0\x03\x01\x03get\0\0\0\x1B__widl_f_description_Plugin\0\0\x01\x06Plugin\x01\0\x01\x0Bdescription\x01\x0Bdescription\0\0\0\x18__widl_f_filename_Plugin\0\0\x01\x06Plugin\x01\0\x01\x08filename\x01\x08filename\0\0\0\x17__widl_f_version_Plugin\0\0\x01\x06Plugin\x01\0\x01\x07version\x01\x07version\0\0\0\x14__widl_f_name_Plugin\0\0\x01\x06Plugin\x01\0\x01\x04name\x01\x04name\0\0\0\x16__widl_f_length_Plugin\0\0\x01\x06Plugin\x01\0\x01\x06length\x01\x06length\0\0\x02\x0BPluginArray\x1D__widl_instanceof_PluginArray\0\0\0\0\x19__widl_f_item_PluginArray\0\0\x01\x0BPluginArray\x01\0\0\x01\x04item\0\0\0\x1F__widl_f_named_item_PluginArray\0\0\x01\x0BPluginArray\x01\0\0\x01\tnamedItem\0\0\0\x1C__widl_f_refresh_PluginArray\0\0\x01\x0BPluginArray\x01\0\0\x01\x07refresh\0\0\02__widl_f_refresh_with_reload_documents_PluginArray\0\0\x01\x0BPluginArray\x01\0\0\x01\x07refresh\0\0\0#__widl_f_get_with_index_PluginArray\0\0\x01\x0BPluginArray\x01\0\x03\x01\x03get\0\0\0\"__widl_f_get_with_name_PluginArray\0\0\x01\x0BPluginArray\x01\0\x03\x01\x03get\0\0\0\x1B__widl_f_length_PluginArray\0\0\x01\x0BPluginArray\x01\0\x01\x06length\x01\x06length\0\0\x02\x0CPointerEvent\x1E__widl_instanceof_PointerEvent\0\0\0\0\x19__widl_f_new_PointerEvent\x01\0\x01\x0CPointerEvent\0\x01\x03new\0\0\0.__widl_f_new_with_event_init_dict_PointerEvent\x01\0\x01\x0CPointerEvent\0\x01\x03new\0\0\0 __widl_f_pointer_id_PointerEvent\0\0\x01\x0CPointerEvent\x01\0\x01\tpointerId\x01\tpointerId\0\0\0\x1B__widl_f_width_PointerEvent\0\0\x01\x0CPointerEvent\x01\0\x01\x05width\x01\x05width\0\0\0\x1C__widl_f_height_PointerEvent\0\0\x01\x0CPointerEvent\x01\0\x01\x06height\x01\x06height\0\0\0\x1E__widl_f_pressure_PointerEvent\0\0\x01\x0CPointerEvent\x01\0\x01\x08pressure\x01\x08pressure\0\0\0)__widl_f_tangential_pressure_PointerEvent\0\0\x01\x0CPointerEvent\x01\0\x01\x12tangentialPressure\x01\x12tangentialPressure\0\0\0\x1C__widl_f_tilt_x_PointerEvent\0\0\x01\x0CPointerEvent\x01\0\x01\x05tiltX\x01\x05tiltX\0\0\0\x1C__widl_f_tilt_y_PointerEvent\0\0\x01\x0CPointerEvent\x01\0\x01\x05tiltY\x01\x05tiltY\0\0\0\x1B__widl_f_twist_PointerEvent\0\0\x01\x0CPointerEvent\x01\0\x01\x05twist\x01\x05twist\0\0\0\"__widl_f_pointer_type_PointerEvent\0\0\x01\x0CPointerEvent\x01\0\x01\x0BpointerType\x01\x0BpointerType\0\0\0 __widl_f_is_primary_PointerEvent\0\0\x01\x0CPointerEvent\x01\0\x01\tisPrimary\x01\tisPrimary\0\0\x02\rPopStateEvent\x1F__widl_instanceof_PopStateEvent\0\0\0\0\x1A__widl_f_new_PopStateEvent\x01\0\x01\rPopStateEvent\0\x01\x03new\0\0\0/__widl_f_new_with_event_init_dict_PopStateEvent\x01\0\x01\rPopStateEvent\0\x01\x03new\0\0\0\x1C__widl_f_state_PopStateEvent\0\0\x01\rPopStateEvent\x01\0\x01\x05state\x01\x05state\0\0\x02\x11PopupBlockedEvent#__widl_instanceof_PopupBlockedEvent\0\0\0\0\x1E__widl_f_new_PopupBlockedEvent\x01\0\x01\x11PopupBlockedEvent\0\x01\x03new\0\0\03__widl_f_new_with_event_init_dict_PopupBlockedEvent\x01\0\x01\x11PopupBlockedEvent\0\x01\x03new\0\0\0,__widl_f_requesting_window_PopupBlockedEvent\0\0\x01\x11PopupBlockedEvent\x01\0\x01\x10requestingWindow\x01\x10requestingWindow\0\0\0,__widl_f_popup_window_name_PopupBlockedEvent\0\0\x01\x11PopupBlockedEvent\x01\0\x01\x0FpopupWindowName\x01\x0FpopupWindowName\0\0\00__widl_f_popup_window_features_PopupBlockedEvent\0\0\x01\x11PopupBlockedEvent\x01\0\x01\x13popupWindowFeatures\x01\x13popupWindowFeatures\0\0\x02\x0CPresentation\x1E__widl_instanceof_Presentation\0\0\0\0%__widl_f_default_request_Presentation\0\0\x01\x0CPresentation\x01\0\x01\x0EdefaultRequest\x01\x0EdefaultRequest\0\0\0)__widl_f_set_default_request_Presentation\0\0\x01\x0CPresentation\x01\0\x02\x0EdefaultRequest\x01\x0EdefaultRequest\0\0\0\x1E__widl_f_receiver_Presentation\0\0\x01\x0CPresentation\x01\0\x01\x08receiver\x01\x08receiver\0\0\x02\x18PresentationAvailability*__widl_instanceof_PresentationAvailability\0\0\0\0'__widl_f_value_PresentationAvailability\0\0\x01\x18PresentationAvailability\x01\0\x01\x05value\x01\x05value\0\0\0*__widl_f_onchange_PresentationAvailability\0\0\x01\x18PresentationAvailability\x01\0\x01\x08onchange\x01\x08onchange\0\0\0.__widl_f_set_onchange_PresentationAvailability\0\0\x01\x18PresentationAvailability\x01\0\x02\x08onchange\x01\x08onchange\0\0\x02\x16PresentationConnection(__widl_instanceof_PresentationConnection\0\0\0\0%__widl_f_close_PresentationConnection\x01\0\x01\x16PresentationConnection\x01\0\0\x01\x05close\0\0\0-__widl_f_send_with_str_PresentationConnection\x01\0\x01\x16PresentationConnection\x01\0\0\x01\x04send\0\0\0.__widl_f_send_with_blob_PresentationConnection\x01\0\x01\x16PresentationConnection\x01\0\0\x01\x04send\0\0\06__widl_f_send_with_array_buffer_PresentationConnection\x01\0\x01\x16PresentationConnection\x01\0\0\x01\x04send\0\0\0;__widl_f_send_with_array_buffer_view_PresentationConnection\x01\0\x01\x16PresentationConnection\x01\0\0\x01\x04send\0\0\02__widl_f_send_with_u8_array_PresentationConnection\x01\0\x01\x16PresentationConnection\x01\0\0\x01\x04send\0\0\0)__widl_f_terminate_PresentationConnection\x01\0\x01\x16PresentationConnection\x01\0\0\x01\tterminate\0\0\0\"__widl_f_id_PresentationConnection\0\0\x01\x16PresentationConnection\x01\0\x01\x02id\x01\x02id\0\0\0#__widl_f_url_PresentationConnection\0\0\x01\x16PresentationConnection\x01\0\x01\x03url\x01\x03url\0\0\0%__widl_f_state_PresentationConnection\0\0\x01\x16PresentationConnection\x01\0\x01\x05state\x01\x05state\0\0\0)__widl_f_onconnect_PresentationConnection\0\0\x01\x16PresentationConnection\x01\0\x01\tonconnect\x01\tonconnect\0\0\0-__widl_f_set_onconnect_PresentationConnection\0\0\x01\x16PresentationConnection\x01\0\x02\tonconnect\x01\tonconnect\0\0\0'__widl_f_onclose_PresentationConnection\0\0\x01\x16PresentationConnection\x01\0\x01\x07onclose\x01\x07onclose\0\0\0+__widl_f_set_onclose_PresentationConnection\0\0\x01\x16PresentationConnection\x01\0\x02\x07onclose\x01\x07onclose\0\0\0+__widl_f_onterminate_PresentationConnection\0\0\x01\x16PresentationConnection\x01\0\x01\x0Bonterminate\x01\x0Bonterminate\0\0\0/__widl_f_set_onterminate_PresentationConnection\0\0\x01\x16PresentationConnection\x01\0\x02\x0Bonterminate\x01\x0Bonterminate\0\0\0+__widl_f_binary_type_PresentationConnection\0\0\x01\x16PresentationConnection\x01\0\x01\nbinaryType\x01\nbinaryType\0\0\0/__widl_f_set_binary_type_PresentationConnection\0\0\x01\x16PresentationConnection\x01\0\x02\nbinaryType\x01\nbinaryType\0\0\0)__widl_f_onmessage_PresentationConnection\0\0\x01\x16PresentationConnection\x01\0\x01\tonmessage\x01\tonmessage\0\0\0-__widl_f_set_onmessage_PresentationConnection\0\0\x01\x16PresentationConnection\x01\0\x02\tonmessage\x01\tonmessage\0\0\x02$PresentationConnectionAvailableEvent6__widl_instanceof_PresentationConnectionAvailableEvent\0\0\0\01__widl_f_new_PresentationConnectionAvailableEvent\x01\0\x01$PresentationConnectionAvailableEvent\0\x01\x03new\0\0\08__widl_f_connection_PresentationConnectionAvailableEvent\0\0\x01$PresentationConnectionAvailableEvent\x01\0\x01\nconnection\x01\nconnection\0\0\x02 PresentationConnectionCloseEvent2__widl_instanceof_PresentationConnectionCloseEvent\0\0\0\0-__widl_f_new_PresentationConnectionCloseEvent\x01\0\x01 PresentationConnectionCloseEvent\0\x01\x03new\0\0\00__widl_f_reason_PresentationConnectionCloseEvent\0\0\x01 PresentationConnectionCloseEvent\x01\0\x01\x06reason\x01\x06reason\0\0\01__widl_f_message_PresentationConnectionCloseEvent\0\0\x01 PresentationConnectionCloseEvent\x01\0\x01\x07message\x01\x07message\0\0\x02\x1APresentationConnectionList,__widl_instanceof_PresentationConnectionList\0\0\0\09__widl_f_onconnectionavailable_PresentationConnectionList\0\0\x01\x1APresentationConnectionList\x01\0\x01\x15onconnectionavailable\x01\x15onconnectionavailable\0\0\0=__widl_f_set_onconnectionavailable_PresentationConnectionList\0\0\x01\x1APresentationConnectionList\x01\0\x02\x15onconnectionavailable\x01\x15onconnectionavailable\0\0\x02\x14PresentationReceiver&__widl_instanceof_PresentationReceiver\0\0\0\0-__widl_f_connection_list_PresentationReceiver\x01\0\x01\x14PresentationReceiver\x01\0\x01\x0EconnectionList\x01\x0EconnectionList\0\0\x02\x13PresentationRequest%__widl_instanceof_PresentationRequest\0\0\0\0)__widl_f_new_with_url_PresentationRequest\x01\0\x01\x13PresentationRequest\0\x01\x03new\0\0\0-__widl_f_get_availability_PresentationRequest\x01\0\x01\x13PresentationRequest\x01\0\0\x01\x0FgetAvailability\0\0\0&__widl_f_reconnect_PresentationRequest\x01\0\x01\x13PresentationRequest\x01\0\0\x01\treconnect\0\0\0\"__widl_f_start_PresentationRequest\x01\0\x01\x13PresentationRequest\x01\0\0\x01\x05start\0\0\02__widl_f_onconnectionavailable_PresentationRequest\0\0\x01\x13PresentationRequest\x01\0\x01\x15onconnectionavailable\x01\x15onconnectionavailable\0\0\06__widl_f_set_onconnectionavailable_PresentationRequest\0\0\x01\x13PresentationRequest\x01\0\x02\x15onconnectionavailable\x01\x15onconnectionavailable\0\0\x02\x15ProcessingInstruction'__widl_instanceof_ProcessingInstruction\0\0\0\0%__widl_f_target_ProcessingInstruction\0\0\x01\x15ProcessingInstruction\x01\0\x01\x06target\x01\x06target\0\0\0$__widl_f_sheet_ProcessingInstruction\0\0\x01\x15ProcessingInstruction\x01\0\x01\x05sheet\x01\x05sheet\0\0\x02\rProgressEvent\x1F__widl_instanceof_ProgressEvent\0\0\0\0\x1A__widl_f_new_ProgressEvent\x01\0\x01\rProgressEvent\0\x01\x03new\0\0\0/__widl_f_new_with_event_init_dict_ProgressEvent\x01\0\x01\rProgressEvent\0\x01\x03new\0\0\0(__widl_f_length_computable_ProgressEvent\0\0\x01\rProgressEvent\x01\0\x01\x10lengthComputable\x01\x10lengthComputable\0\0\0\x1D__widl_f_loaded_ProgressEvent\0\0\x01\rProgressEvent\x01\0\x01\x06loaded\x01\x06loaded\0\0\0\x1C__widl_f_total_ProgressEvent\0\0\x01\rProgressEvent\x01\0\x01\x05total\x01\x05total\0\0\x02\x15PromiseRejectionEvent'__widl_instanceof_PromiseRejectionEvent\0\0\0\0\"__widl_f_new_PromiseRejectionEvent\x01\0\x01\x15PromiseRejectionEvent\0\x01\x03new\0\0\0&__widl_f_promise_PromiseRejectionEvent\0\0\x01\x15PromiseRejectionEvent\x01\0\x01\x07promise\x01\x07promise\0\0\0%__widl_f_reason_PromiseRejectionEvent\0\0\x01\x15PromiseRejectionEvent\x01\0\x01\x06reason\x01\x06reason\0\0\x02\x13PublicKeyCredential%__widl_instanceof_PublicKeyCredential\0\0\0\09__widl_f_get_client_extension_results_PublicKeyCredential\0\0\x01\x13PublicKeyCredential\x01\0\0\x01\x19getClientExtensionResults\0\0\0O__widl_f_is_user_verifying_platform_authenticator_available_PublicKeyCredential\0\0\x01\x13PublicKeyCredential\x01\x01\0\x01-isUserVerifyingPlatformAuthenticatorAvailable\0\0\0#__widl_f_raw_id_PublicKeyCredential\0\0\x01\x13PublicKeyCredential\x01\0\x01\x05rawId\x01\x05rawId\0\0\0%__widl_f_response_PublicKeyCredential\0\0\x01\x13PublicKeyCredential\x01\0\x01\x08response\x01\x08response\0\0\x02\tPushEvent\x1B__widl_instanceof_PushEvent\0\0\0\0\x16__widl_f_new_PushEvent\x01\0\x01\tPushEvent\0\x01\x03new\0\0\0+__widl_f_new_with_event_init_dict_PushEvent\x01\0\x01\tPushEvent\0\x01\x03new\0\0\0\x17__widl_f_data_PushEvent\0\0\x01\tPushEvent\x01\0\x01\x04data\x01\x04data\0\0\x02\x0BPushManager\x1D__widl_instanceof_PushManager\0\0\0\0%__widl_f_get_subscription_PushManager\x01\0\x01\x0BPushManager\x01\0\0\x01\x0FgetSubscription\0\0\0%__widl_f_permission_state_PushManager\x01\0\x01\x0BPushManager\x01\0\0\x01\x0FpermissionState\0\0\02__widl_f_permission_state_with_options_PushManager\x01\0\x01\x0BPushManager\x01\0\0\x01\x0FpermissionState\0\0\0\x1E__widl_f_subscribe_PushManager\x01\0\x01\x0BPushManager\x01\0\0\x01\tsubscribe\0\0\0+__widl_f_subscribe_with_options_PushManager\x01\0\x01\x0BPushManager\x01\0\0\x01\tsubscribe\0\0\x02\x0FPushMessageData!__widl_instanceof_PushMessageData\0\0\0\0%__widl_f_array_buffer_PushMessageData\x01\0\x01\x0FPushMessageData\x01\0\0\x01\x0BarrayBuffer\0\0\0\x1D__widl_f_blob_PushMessageData\x01\0\x01\x0FPushMessageData\x01\0\0\x01\x04blob\0\0\0\x1D__widl_f_json_PushMessageData\x01\0\x01\x0FPushMessageData\x01\0\0\x01\x04json\0\0\0\x1D__widl_f_text_PushMessageData\0\0\x01\x0FPushMessageData\x01\0\0\x01\x04text\0\0\x02\x10PushSubscription\"__widl_instanceof_PushSubscription\0\0\0\0!__widl_f_get_key_PushSubscription\x01\0\x01\x10PushSubscription\x01\0\0\x01\x06getKey\0\0\0!__widl_f_to_json_PushSubscription\x01\0\x01\x10PushSubscription\x01\0\0\x01\x06toJSON\0\0\0%__widl_f_unsubscribe_PushSubscription\x01\0\x01\x10PushSubscription\x01\0\0\x01\x0Bunsubscribe\0\0\0\"__widl_f_endpoint_PushSubscription\0\0\x01\x10PushSubscription\x01\0\x01\x08endpoint\x01\x08endpoint\0\0\0!__widl_f_options_PushSubscription\0\0\x01\x10PushSubscription\x01\0\x01\x07options\x01\x07options\0\0\x02\x17PushSubscriptionOptions)__widl_instanceof_PushSubscriptionOptions\0\0\0\07__widl_f_application_server_key_PushSubscriptionOptions\x01\0\x01\x17PushSubscriptionOptions\x01\0\x01\x14applicationServerKey\x01\x14applicationServerKey\0\0\x02\x0ERTCCertificate __widl_instanceof_RTCCertificate\0\0\0\0\x1F__widl_f_expires_RTCCertificate\0\0\x01\x0ERTCCertificate\x01\0\x01\x07expires\x01\x07expires\0\0\x02\rRTCDTMFSender\x1F__widl_instanceof_RTCDTMFSender\0\0\0\0\"__widl_f_insert_dtmf_RTCDTMFSender\0\0\x01\rRTCDTMFSender\x01\0\0\x01\ninsertDTMF\0\0\00__widl_f_insert_dtmf_with_duration_RTCDTMFSender\0\0\x01\rRTCDTMFSender\x01\0\0\x01\ninsertDTMF\0\0\0C__widl_f_insert_dtmf_with_duration_and_inter_tone_gap_RTCDTMFSender\0\0\x01\rRTCDTMFSender\x01\0\0\x01\ninsertDTMF\0\0\0#__widl_f_ontonechange_RTCDTMFSender\0\0\x01\rRTCDTMFSender\x01\0\x01\x0Contonechange\x01\x0Contonechange\0\0\0'__widl_f_set_ontonechange_RTCDTMFSender\0\0\x01\rRTCDTMFSender\x01\0\x02\x0Contonechange\x01\x0Contonechange\0\0\0\"__widl_f_tone_buffer_RTCDTMFSender\0\0\x01\rRTCDTMFSender\x01\0\x01\ntoneBuffer\x01\ntoneBuffer\0\0\x02\x16RTCDTMFToneChangeEvent(__widl_instanceof_RTCDTMFToneChangeEvent\0\0\0\0#__widl_f_new_RTCDTMFToneChangeEvent\x01\0\x01\x16RTCDTMFToneChangeEvent\0\x01\x03new\0\0\08__widl_f_new_with_event_init_dict_RTCDTMFToneChangeEvent\x01\0\x01\x16RTCDTMFToneChangeEvent\0\x01\x03new\0\0\0$__widl_f_tone_RTCDTMFToneChangeEvent\0\0\x01\x16RTCDTMFToneChangeEvent\x01\0\x01\x04tone\x01\x04tone\0\0\x02\x0ERTCDataChannel __widl_instanceof_RTCDataChannel\0\0\0\0\x1D__widl_f_close_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\0\x01\x05close\0\0\0%__widl_f_send_with_str_RTCDataChannel\x01\0\x01\x0ERTCDataChannel\x01\0\0\x01\x04send\0\0\0&__widl_f_send_with_blob_RTCDataChannel\x01\0\x01\x0ERTCDataChannel\x01\0\0\x01\x04send\0\0\0.__widl_f_send_with_array_buffer_RTCDataChannel\x01\0\x01\x0ERTCDataChannel\x01\0\0\x01\x04send\0\0\03__widl_f_send_with_array_buffer_view_RTCDataChannel\x01\0\x01\x0ERTCDataChannel\x01\0\0\x01\x04send\0\0\0*__widl_f_send_with_u8_array_RTCDataChannel\x01\0\x01\x0ERTCDataChannel\x01\0\0\x01\x04send\0\0\0\x1D__widl_f_label_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x01\x05label\x01\x05label\0\0\0 __widl_f_reliable_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x01\x08reliable\x01\x08reliable\0\0\0,__widl_f_max_packet_life_time_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x01\x11maxPacketLifeTime\x01\x11maxPacketLifeTime\0\0\0'__widl_f_max_retransmits_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x01\x0EmaxRetransmits\x01\x0EmaxRetransmits\0\0\0#__widl_f_ready_state_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x01\nreadyState\x01\nreadyState\0\0\0'__widl_f_buffered_amount_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x01\x0EbufferedAmount\x01\x0EbufferedAmount\0\0\05__widl_f_buffered_amount_low_threshold_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x01\x1AbufferedAmountLowThreshold\x01\x1AbufferedAmountLowThreshold\0\0\09__widl_f_set_buffered_amount_low_threshold_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x02\x1AbufferedAmountLowThreshold\x01\x1AbufferedAmountLowThreshold\0\0\0\x1E__widl_f_onopen_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x01\x06onopen\x01\x06onopen\0\0\0\"__widl_f_set_onopen_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x02\x06onopen\x01\x06onopen\0\0\0\x1F__widl_f_onerror_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x01\x07onerror\x01\x07onerror\0\0\0#__widl_f_set_onerror_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x02\x07onerror\x01\x07onerror\0\0\0\x1F__widl_f_onclose_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x01\x07onclose\x01\x07onclose\0\0\0#__widl_f_set_onclose_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x02\x07onclose\x01\x07onclose\0\0\0!__widl_f_onmessage_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x01\tonmessage\x01\tonmessage\0\0\0%__widl_f_set_onmessage_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x02\tonmessage\x01\tonmessage\0\0\0+__widl_f_onbufferedamountlow_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x01\x13onbufferedamountlow\x01\x13onbufferedamountlow\0\0\0/__widl_f_set_onbufferedamountlow_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x02\x13onbufferedamountlow\x01\x13onbufferedamountlow\0\0\0#__widl_f_binary_type_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x01\nbinaryType\x01\nbinaryType\0\0\0'__widl_f_set_binary_type_RTCDataChannel\0\0\x01\x0ERTCDataChannel\x01\0\x02\nbinaryType\x01\nbinaryType\0\0\x02\x13RTCDataChannelEvent%__widl_instanceof_RTCDataChannelEvent\0\0\0\0 __widl_f_new_RTCDataChannelEvent\x01\0\x01\x13RTCDataChannelEvent\0\x01\x03new\0\0\0$__widl_f_channel_RTCDataChannelEvent\0\0\x01\x13RTCDataChannelEvent\x01\0\x01\x07channel\x01\x07channel\0\0\x02\x0FRTCIceCandidate!__widl_instanceof_RTCIceCandidate\0\0\0\0\x1C__widl_f_new_RTCIceCandidate\x01\0\x01\x0FRTCIceCandidate\0\x01\x03new\0\0\0 __widl_f_to_json_RTCIceCandidate\0\0\x01\x0FRTCIceCandidate\x01\0\0\x01\x06toJSON\0\0\0\"__widl_f_candidate_RTCIceCandidate\0\0\x01\x0FRTCIceCandidate\x01\0\x01\tcandidate\x01\tcandidate\0\0\0&__widl_f_set_candidate_RTCIceCandidate\0\0\x01\x0FRTCIceCandidate\x01\0\x02\tcandidate\x01\tcandidate\0\0\0 __widl_f_sdp_mid_RTCIceCandidate\0\0\x01\x0FRTCIceCandidate\x01\0\x01\x06sdpMid\x01\x06sdpMid\0\0\0$__widl_f_set_sdp_mid_RTCIceCandidate\0\0\x01\x0FRTCIceCandidate\x01\0\x02\x06sdpMid\x01\x06sdpMid\0\0\0)__widl_f_sdp_m_line_index_RTCIceCandidate\0\0\x01\x0FRTCIceCandidate\x01\0\x01\rsdpMLineIndex\x01\rsdpMLineIndex\0\0\0-__widl_f_set_sdp_m_line_index_RTCIceCandidate\0\0\x01\x0FRTCIceCandidate\x01\0\x02\rsdpMLineIndex\x01\rsdpMLineIndex\0\0\x02\x11RTCPeerConnection#__widl_instanceof_RTCPeerConnection\0\0\0\0\x1E__widl_f_new_RTCPeerConnection\x01\0\x01\x11RTCPeerConnection\0\x01\x03new\0\0\01__widl_f_new_with_configuration_RTCPeerConnection\x01\0\x01\x11RTCPeerConnection\0\x01\x03new\0\0\0A__widl_f_new_with_configuration_and_constraints_RTCPeerConnection\x01\0\x01\x11RTCPeerConnection\0\x01\x03new\0\0\0L__widl_f_add_ice_candidate_with_opt_rtc_ice_candidate_init_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x0FaddIceCandidate\0\0\0G__widl_f_add_ice_candidate_with_opt_rtc_ice_candidate_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x0FaddIceCandidate\0\0\0m__widl_f_add_ice_candidate_with_rtc_ice_candidate_and_success_callback_and_failure_callback_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x0FaddIceCandidate\0\0\0%__widl_f_add_stream_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\taddStream\0\0\0$__widl_f_add_track_RTCPeerConnection\0\x01\x01\x11RTCPeerConnection\x01\0\0\x01\x08addTrack\0\0\0&__widl_f_add_track_0_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x08addTrack\0\0\0&__widl_f_add_track_1_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x08addTrack\0\0\0&__widl_f_add_track_2_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x08addTrack\0\0\0&__widl_f_add_track_3_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x08addTrack\0\0\0&__widl_f_add_track_4_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x08addTrack\0\0\0&__widl_f_add_track_5_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x08addTrack\0\0\0&__widl_f_add_track_6_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x08addTrack\0\0\0&__widl_f_add_track_7_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x08addTrack\0\0\0 __widl_f_close_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x05close\0\0\0(__widl_f_create_answer_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x0CcreateAnswer\0\0\0@__widl_f_create_answer_with_rtc_answer_options_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x0CcreateAnswer\0\0\0S__widl_f_create_answer_with_success_callback_and_failure_callback_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x0CcreateAnswer\0\0\0.__widl_f_create_data_channel_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x11createDataChannel\0\0\0E__widl_f_create_data_channel_with_data_channel_dict_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x11createDataChannel\0\0\0'__widl_f_create_offer_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x0BcreateOffer\0\0\0>__widl_f_create_offer_with_rtc_offer_options_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x0BcreateOffer\0\0\0J__widl_f_create_offer_with_callback_and_failure_callback_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x0BcreateOffer\0\0\0V__widl_f_create_offer_with_callback_and_failure_callback_and_options_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x0BcreateOffer\0\0\0;__widl_f_generate_certificate_with_object_RTCPeerConnection\x01\0\x01\x11RTCPeerConnection\x01\x01\0\x01\x13generateCertificate\0\0\08__widl_f_generate_certificate_with_str_RTCPeerConnection\x01\0\x01\x11RTCPeerConnection\x01\x01\0\x01\x13generateCertificate\0\0\0,__widl_f_get_configuration_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x10getConfiguration\0\0\01__widl_f_get_identity_assertion_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x14getIdentityAssertion\0\0\0$__widl_f_get_stats_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x08getStats\0\0\02__widl_f_get_stats_with_selector_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x08getStats\0\0\0\\__widl_f_get_stats_with_selector_and_success_callback_and_failure_callback_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x08getStats\0\0\0'__widl_f_remove_track_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x0BremoveTrack\0\0\00__widl_f_set_identity_provider_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x13setIdentityProvider\0\0\0=__widl_f_set_identity_provider_with_options_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x13setIdentityProvider\0\0\00__widl_f_set_local_description_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x13setLocalDescription\0\0\0[__widl_f_set_local_description_with_success_callback_and_failure_callback_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x13setLocalDescription\0\0\01__widl_f_set_remote_description_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x14setRemoteDescription\0\0\0\\__widl_f_set_remote_description_with_success_callback_and_failure_callback_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\0\x01\x14setRemoteDescription\0\0\0,__widl_f_local_description_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x10localDescription\x01\x10localDescription\0\0\04__widl_f_current_local_description_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x17currentLocalDescription\x01\x17currentLocalDescription\0\0\04__widl_f_pending_local_description_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x17pendingLocalDescription\x01\x17pendingLocalDescription\0\0\0-__widl_f_remote_description_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x11remoteDescription\x01\x11remoteDescription\0\0\05__widl_f_current_remote_description_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x18currentRemoteDescription\x01\x18currentRemoteDescription\0\0\05__widl_f_pending_remote_description_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x18pendingRemoteDescription\x01\x18pendingRemoteDescription\0\0\0*__widl_f_signaling_state_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x0EsignalingState\x01\x0EsignalingState\0\0\05__widl_f_can_trickle_ice_candidates_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x17canTrickleIceCandidates\x01\x17canTrickleIceCandidates\0\0\0.__widl_f_ice_gathering_state_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x11iceGatheringState\x01\x11iceGatheringState\0\0\0/__widl_f_ice_connection_state_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x12iceConnectionState\x01\x12iceConnectionState\0\0\0(__widl_f_peer_identity_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x0CpeerIdentity\x01\x0CpeerIdentity\0\0\0(__widl_f_idp_login_url_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x0BidpLoginUrl\x01\x0BidpLoginUrl\0\0\0.__widl_f_onnegotiationneeded_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x13onnegotiationneeded\x01\x13onnegotiationneeded\0\0\02__widl_f_set_onnegotiationneeded_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x02\x13onnegotiationneeded\x01\x13onnegotiationneeded\0\0\0)__widl_f_onicecandidate_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x0Eonicecandidate\x01\x0Eonicecandidate\0\0\0-__widl_f_set_onicecandidate_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x02\x0Eonicecandidate\x01\x0Eonicecandidate\0\0\01__widl_f_onsignalingstatechange_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x16onsignalingstatechange\x01\x16onsignalingstatechange\0\0\05__widl_f_set_onsignalingstatechange_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x02\x16onsignalingstatechange\x01\x16onsignalingstatechange\0\0\0&__widl_f_onaddstream_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x0Bonaddstream\x01\x0Bonaddstream\0\0\0*__widl_f_set_onaddstream_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x02\x0Bonaddstream\x01\x0Bonaddstream\0\0\0%__widl_f_onaddtrack_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\nonaddtrack\x01\nonaddtrack\0\0\0)__widl_f_set_onaddtrack_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x02\nonaddtrack\x01\nonaddtrack\0\0\0\"__widl_f_ontrack_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x07ontrack\x01\x07ontrack\0\0\0&__widl_f_set_ontrack_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x02\x07ontrack\x01\x07ontrack\0\0\0)__widl_f_onremovestream_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x0Eonremovestream\x01\x0Eonremovestream\0\0\0-__widl_f_set_onremovestream_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x02\x0Eonremovestream\x01\x0Eonremovestream\0\0\05__widl_f_oniceconnectionstatechange_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x1Aoniceconnectionstatechange\x01\x1Aoniceconnectionstatechange\0\0\09__widl_f_set_oniceconnectionstatechange_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x02\x1Aoniceconnectionstatechange\x01\x1Aoniceconnectionstatechange\0\0\04__widl_f_onicegatheringstatechange_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\x19onicegatheringstatechange\x01\x19onicegatheringstatechange\0\0\08__widl_f_set_onicegatheringstatechange_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x02\x19onicegatheringstatechange\x01\x19onicegatheringstatechange\0\0\0(__widl_f_ondatachannel_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x01\rondatachannel\x01\rondatachannel\0\0\0,__widl_f_set_ondatachannel_RTCPeerConnection\0\0\x01\x11RTCPeerConnection\x01\0\x02\rondatachannel\x01\rondatachannel\0\0\x02\x19RTCPeerConnectionIceEvent+__widl_instanceof_RTCPeerConnectionIceEvent\0\0\0\0&__widl_f_new_RTCPeerConnectionIceEvent\x01\0\x01\x19RTCPeerConnectionIceEvent\0\x01\x03new\0\0\0;__widl_f_new_with_event_init_dict_RTCPeerConnectionIceEvent\x01\0\x01\x19RTCPeerConnectionIceEvent\0\x01\x03new\0\0\0,__widl_f_candidate_RTCPeerConnectionIceEvent\0\0\x01\x19RTCPeerConnectionIceEvent\x01\0\x01\tcandidate\x01\tcandidate\0\0\x02\x0ERTCRtpReceiver __widl_instanceof_RTCRtpReceiver\0\0\0\0!__widl_f_get_stats_RTCRtpReceiver\0\0\x01\x0ERTCRtpReceiver\x01\0\0\x01\x08getStats\0\0\0\x1D__widl_f_track_RTCRtpReceiver\0\0\x01\x0ERTCRtpReceiver\x01\0\x01\x05track\x01\x05track\0\0\x02\x0CRTCRtpSender\x1E__widl_instanceof_RTCRtpSender\0\0\0\0$__widl_f_get_parameters_RTCRtpSender\0\0\x01\x0CRTCRtpSender\x01\0\0\x01\rgetParameters\0\0\0\x1F__widl_f_get_stats_RTCRtpSender\0\0\x01\x0CRTCRtpSender\x01\0\0\x01\x08getStats\0\0\0#__widl_f_replace_track_RTCRtpSender\0\0\x01\x0CRTCRtpSender\x01\0\0\x01\x0CreplaceTrack\0\0\0$__widl_f_set_parameters_RTCRtpSender\0\0\x01\x0CRTCRtpSender\x01\0\0\x01\rsetParameters\0\0\04__widl_f_set_parameters_with_parameters_RTCRtpSender\0\0\x01\x0CRTCRtpSender\x01\0\0\x01\rsetParameters\0\0\0\x1B__widl_f_track_RTCRtpSender\0\0\x01\x0CRTCRtpSender\x01\0\x01\x05track\x01\x05track\0\0\0\x1A__widl_f_dtmf_RTCRtpSender\0\0\x01\x0CRTCRtpSender\x01\0\x01\x04dtmf\x01\x04dtmf\0\0\x02\x15RTCSessionDescription'__widl_instanceof_RTCSessionDescription\0\0\0\0\"__widl_f_new_RTCSessionDescription\x01\0\x01\x15RTCSessionDescription\0\x01\x03new\0\0\0=__widl_f_new_with_description_init_dict_RTCSessionDescription\x01\0\x01\x15RTCSessionDescription\0\x01\x03new\0\0\0&__widl_f_to_json_RTCSessionDescription\0\0\x01\x15RTCSessionDescription\x01\0\0\x01\x06toJSON\0\0\0#__widl_f_type_RTCSessionDescription\0\0\x01\x15RTCSessionDescription\x01\0\x01\x04type\x01\x04type\0\0\0'__widl_f_set_type_RTCSessionDescription\0\0\x01\x15RTCSessionDescription\x01\0\x02\x04type\x01\x04type\0\0\0\"__widl_f_sdp_RTCSessionDescription\0\0\x01\x15RTCSessionDescription\x01\0\x01\x03sdp\x01\x03sdp\0\0\0&__widl_f_set_sdp_RTCSessionDescription\0\0\x01\x15RTCSessionDescription\x01\0\x02\x03sdp\x01\x03sdp\0\0\x02\x0ERTCStatsReport __widl_instanceof_RTCStatsReport\0\0\0\x02\rRTCTrackEvent\x1F__widl_instanceof_RTCTrackEvent\0\0\0\0\x1F__widl_f_receiver_RTCTrackEvent\0\0\x01\rRTCTrackEvent\x01\0\x01\x08receiver\x01\x08receiver\0\0\0\x1C__widl_f_track_RTCTrackEvent\0\0\x01\rRTCTrackEvent\x01\0\x01\x05track\x01\x05track\0\0\x02\rRadioNodeList\x1F__widl_instanceof_RadioNodeList\0\0\0\0\x1C__widl_f_value_RadioNodeList\0\0\x01\rRadioNodeList\x01\0\x01\x05value\x01\x05value\0\0\0 __widl_f_set_value_RadioNodeList\0\0\x01\rRadioNodeList\x01\0\x02\x05value\x01\x05value\0\0\x02\x05Range\x17__widl_instanceof_Range\0\0\0\0\x12__widl_f_new_Range\x01\0\x01\x05Range\0\x01\x03new\0\0\0\x1D__widl_f_clone_contents_Range\x01\0\x01\x05Range\x01\0\0\x01\rcloneContents\0\0\0\x1A__widl_f_clone_range_Range\0\0\x01\x05Range\x01\0\0\x01\ncloneRange\0\0\0\x17__widl_f_collapse_Range\0\0\x01\x05Range\x01\0\0\x01\x08collapse\0\0\0%__widl_f_collapse_with_to_start_Range\0\0\x01\x05Range\x01\0\0\x01\x08collapse\0\0\0&__widl_f_compare_boundary_points_Range\x01\0\x01\x05Range\x01\0\0\x01\x15compareBoundaryPoints\0\0\0\x1C__widl_f_compare_point_Range\x01\0\x01\x05Range\x01\0\0\x01\x0CcomparePoint\0\0\0)__widl_f_create_contextual_fragment_Range\x01\0\x01\x05Range\x01\0\0\x01\x18createContextualFragment\0\0\0\x1E__widl_f_delete_contents_Range\x01\0\x01\x05Range\x01\0\0\x01\x0EdeleteContents\0\0\0\x15__widl_f_detach_Range\0\0\x01\x05Range\x01\0\0\x01\x06detach\0\0\0\x1F__widl_f_extract_contents_Range\x01\0\x01\x05Range\x01\0\0\x01\x0FextractContents\0\0\0'__widl_f_get_bounding_client_rect_Range\0\0\x01\x05Range\x01\0\0\x01\x15getBoundingClientRect\0\0\0\x1F__widl_f_get_client_rects_Range\0\0\x01\x05Range\x01\0\0\x01\x0EgetClientRects\0\0\0\x1A__widl_f_insert_node_Range\x01\0\x01\x05Range\x01\0\0\x01\ninsertNode\0\0\0\x1E__widl_f_intersects_node_Range\x01\0\x01\x05Range\x01\0\0\x01\x0EintersectsNode\0\0\0 __widl_f_is_point_in_range_Range\x01\0\x01\x05Range\x01\0\0\x01\x0EisPointInRange\0\0\0\x1A__widl_f_select_node_Range\x01\0\x01\x05Range\x01\0\0\x01\nselectNode\0\0\0#__widl_f_select_node_contents_Range\x01\0\x01\x05Range\x01\0\0\x01\x12selectNodeContents\0\0\0\x16__widl_f_set_end_Range\x01\0\x01\x05Range\x01\0\0\x01\x06setEnd\0\0\0\x1C__widl_f_set_end_after_Range\x01\0\x01\x05Range\x01\0\0\x01\x0BsetEndAfter\0\0\0\x1D__widl_f_set_end_before_Range\x01\0\x01\x05Range\x01\0\0\x01\x0CsetEndBefore\0\0\0\x18__widl_f_set_start_Range\x01\0\x01\x05Range\x01\0\0\x01\x08setStart\0\0\0\x1E__widl_f_set_start_after_Range\x01\0\x01\x05Range\x01\0\0\x01\rsetStartAfter\0\0\0\x1F__widl_f_set_start_before_Range\x01\0\x01\x05Range\x01\0\0\x01\x0EsetStartBefore\0\0\0 __widl_f_surround_contents_Range\x01\0\x01\x05Range\x01\0\0\x01\x10surroundContents\0\0\0\x1E__widl_f_start_container_Range\x01\0\x01\x05Range\x01\0\x01\x0EstartContainer\x01\x0EstartContainer\0\0\0\x1B__widl_f_start_offset_Range\x01\0\x01\x05Range\x01\0\x01\x0BstartOffset\x01\x0BstartOffset\0\0\0\x1C__widl_f_end_container_Range\x01\0\x01\x05Range\x01\0\x01\x0CendContainer\x01\x0CendContainer\0\0\0\x19__widl_f_end_offset_Range\x01\0\x01\x05Range\x01\0\x01\tendOffset\x01\tendOffset\0\0\0\x18__widl_f_collapsed_Range\0\0\x01\x05Range\x01\0\x01\tcollapsed\x01\tcollapsed\0\0\0(__widl_f_common_ancestor_container_Range\x01\0\x01\x05Range\x01\0\x01\x17commonAncestorContainer\x01\x17commonAncestorContainer\0\0\x02\x07Request\x19__widl_instanceof_Request\0\0\0\0!__widl_f_new_with_request_Request\x01\0\x01\x07Request\0\x01\x03new\0\0\0\x1D__widl_f_new_with_str_Request\x01\0\x01\x07Request\0\x01\x03new\0\0\0*__widl_f_new_with_request_and_init_Request\x01\0\x01\x07Request\0\x01\x03new\0\0\0&__widl_f_new_with_str_and_init_Request\x01\0\x01\x07Request\0\x01\x03new\0\0\0\x16__widl_f_clone_Request\x01\0\x01\x07Request\x01\0\0\x01\x05clone\0\0\0\x17__widl_f_method_Request\0\0\x01\x07Request\x01\0\x01\x06method\x01\x06method\0\0\0\x14__widl_f_url_Request\0\0\x01\x07Request\x01\0\x01\x03url\x01\x03url\0\0\0\x18__widl_f_headers_Request\0\0\x01\x07Request\x01\0\x01\x07headers\x01\x07headers\0\0\0\x1C__widl_f_destination_Request\0\0\x01\x07Request\x01\0\x01\x0Bdestination\x01\x0Bdestination\0\0\0\x19__widl_f_referrer_Request\0\0\x01\x07Request\x01\0\x01\x08referrer\x01\x08referrer\0\0\0 __widl_f_referrer_policy_Request\0\0\x01\x07Request\x01\0\x01\x0EreferrerPolicy\x01\x0EreferrerPolicy\0\0\0\x15__widl_f_mode_Request\0\0\x01\x07Request\x01\0\x01\x04mode\x01\x04mode\0\0\0\x1C__widl_f_credentials_Request\0\0\x01\x07Request\x01\0\x01\x0Bcredentials\x01\x0Bcredentials\0\0\0\x16__widl_f_cache_Request\0\0\x01\x07Request\x01\0\x01\x05cache\x01\x05cache\0\0\0\x19__widl_f_redirect_Request\0\0\x01\x07Request\x01\0\x01\x08redirect\x01\x08redirect\0\0\0\x1A__widl_f_integrity_Request\0\0\x01\x07Request\x01\0\x01\tintegrity\x01\tintegrity\0\0\0\x17__widl_f_signal_Request\0\0\x01\x07Request\x01\0\x01\x06signal\x01\x06signal\0\0\0\x1D__widl_f_array_buffer_Request\x01\0\x01\x07Request\x01\0\0\x01\x0BarrayBuffer\0\0\0\x15__widl_f_blob_Request\x01\0\x01\x07Request\x01\0\0\x01\x04blob\0\0\0\x1A__widl_f_form_data_Request\x01\0\x01\x07Request\x01\0\0\x01\x08formData\0\0\0\x15__widl_f_json_Request\x01\0\x01\x07Request\x01\0\0\x01\x04json\0\0\0\x15__widl_f_text_Request\x01\0\x01\x07Request\x01\0\0\x01\x04text\0\0\0\x1A__widl_f_body_used_Request\0\0\x01\x07Request\x01\0\x01\x08bodyUsed\x01\x08bodyUsed\0\0\x02\x08Response\x1A__widl_instanceof_Response\0\0\0\0\x15__widl_f_new_Response\x01\0\x01\x08Response\0\x01\x03new\0\0\0#__widl_f_new_with_opt_blob_Response\x01\0\x01\x08Response\0\x01\x03new\0\0\0,__widl_f_new_with_opt_buffer_source_Response\x01\0\x01\x08Response\0\x01\x03new\0\0\0'__widl_f_new_with_opt_u8_array_Response\x01\0\x01\x08Response\0\x01\x03new\0\0\0(__widl_f_new_with_opt_form_data_Response\x01\0\x01\x08Response\0\x01\x03new\0\0\00__widl_f_new_with_opt_url_search_params_Response\x01\0\x01\x08Response\0\x01\x03new\0\0\0\"__widl_f_new_with_opt_str_Response\x01\0\x01\x08Response\0\x01\x03new\0\0\0,__widl_f_new_with_opt_blob_and_init_Response\x01\0\x01\x08Response\0\x01\x03new\0\0\05__widl_f_new_with_opt_buffer_source_and_init_Response\x01\0\x01\x08Response\0\x01\x03new\0\0\00__widl_f_new_with_opt_u8_array_and_init_Response\x01\0\x01\x08Response\0\x01\x03new\0\0\01__widl_f_new_with_opt_form_data_and_init_Response\x01\0\x01\x08Response\0\x01\x03new\0\0\09__widl_f_new_with_opt_url_search_params_and_init_Response\x01\0\x01\x08Response\0\x01\x03new\0\0\0+__widl_f_new_with_opt_str_and_init_Response\x01\0\x01\x08Response\0\x01\x03new\0\0\0\x17__widl_f_clone_Response\x01\0\x01\x08Response\x01\0\0\x01\x05clone\0\0\0\x17__widl_f_error_Response\0\0\x01\x08Response\x01\x01\0\x01\x05error\0\0\0\x1A__widl_f_redirect_Response\x01\0\x01\x08Response\x01\x01\0\x01\x08redirect\0\0\0&__widl_f_redirect_with_status_Response\x01\0\x01\x08Response\x01\x01\0\x01\x08redirect\0\0\0\x16__widl_f_type_Response\0\0\x01\x08Response\x01\0\x01\x04type\x01\x04type\0\0\0\x15__widl_f_url_Response\0\0\x01\x08Response\x01\0\x01\x03url\x01\x03url\0\0\0\x1C__widl_f_redirected_Response\0\0\x01\x08Response\x01\0\x01\nredirected\x01\nredirected\0\0\0\x18__widl_f_status_Response\0\0\x01\x08Response\x01\0\x01\x06status\x01\x06status\0\0\0\x14__widl_f_ok_Response\0\0\x01\x08Response\x01\0\x01\x02ok\x01\x02ok\0\0\0\x1D__widl_f_status_text_Response\0\0\x01\x08Response\x01\0\x01\nstatusText\x01\nstatusText\0\0\0\x19__widl_f_headers_Response\0\0\x01\x08Response\x01\0\x01\x07headers\x01\x07headers\0\0\0\x1E__widl_f_array_buffer_Response\x01\0\x01\x08Response\x01\0\0\x01\x0BarrayBuffer\0\0\0\x16__widl_f_blob_Response\x01\0\x01\x08Response\x01\0\0\x01\x04blob\0\0\0\x1B__widl_f_form_data_Response\x01\0\x01\x08Response\x01\0\0\x01\x08formData\0\0\0\x16__widl_f_json_Response\x01\0\x01\x08Response\x01\0\0\x01\x04json\0\0\0\x16__widl_f_text_Response\x01\0\x01\x08Response\x01\0\0\x01\x04text\0\0\0\x1B__widl_f_body_used_Response\0\0\x01\x08Response\x01\0\x01\x08bodyUsed\x01\x08bodyUsed\0\0\x02\x0BSVGAElement\x1D__widl_instanceof_SVGAElement\0\0\0\0\x1B__widl_f_target_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x01\x06target\x01\x06target\0\0\0\x1D__widl_f_download_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x01\x08download\x01\x08download\0\0\0!__widl_f_set_download_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x02\x08download\x01\x08download\0\0\0\x19__widl_f_ping_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x01\x04ping\x01\x04ping\0\0\0\x1D__widl_f_set_ping_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x02\x04ping\x01\x04ping\0\0\0\x18__widl_f_rel_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x01\x03rel\x01\x03rel\0\0\0\x1C__widl_f_set_rel_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x02\x03rel\x01\x03rel\0\0\0$__widl_f_referrer_policy_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x01\x0EreferrerPolicy\x01\x0EreferrerPolicy\0\0\0(__widl_f_set_referrer_policy_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x02\x0EreferrerPolicy\x01\x0EreferrerPolicy\0\0\0\x1D__widl_f_rel_list_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x01\x07relList\x01\x07relList\0\0\0\x1D__widl_f_hreflang_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x01\x08hreflang\x01\x08hreflang\0\0\0!__widl_f_set_hreflang_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x02\x08hreflang\x01\x08hreflang\0\0\0\x19__widl_f_type_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x01\x04type\x01\x04type\0\0\0\x1D__widl_f_set_type_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x02\x04type\x01\x04type\0\0\0\x19__widl_f_text_SVGAElement\x01\0\x01\x0BSVGAElement\x01\0\x01\x04text\x01\x04text\0\0\0\x1D__widl_f_set_text_SVGAElement\x01\0\x01\x0BSVGAElement\x01\0\x02\x04text\x01\x04text\0\0\0\x19__widl_f_href_SVGAElement\0\0\x01\x0BSVGAElement\x01\0\x01\x04href\x01\x04href\0\0\x02\x08SVGAngle\x1A__widl_instanceof_SVGAngle\0\0\0\0,__widl_f_convert_to_specified_units_SVGAngle\x01\0\x01\x08SVGAngle\x01\0\0\x01\x17convertToSpecifiedUnits\0\0\0+__widl_f_new_value_specified_units_SVGAngle\x01\0\x01\x08SVGAngle\x01\0\0\x01\x16newValueSpecifiedUnits\0\0\0\x1B__widl_f_unit_type_SVGAngle\0\0\x01\x08SVGAngle\x01\0\x01\x08unitType\x01\x08unitType\0\0\0\x17__widl_f_value_SVGAngle\0\0\x01\x08SVGAngle\x01\0\x01\x05value\x01\x05value\0\0\0\x1B__widl_f_set_value_SVGAngle\0\0\x01\x08SVGAngle\x01\0\x02\x05value\x01\x05value\0\0\0*__widl_f_value_in_specified_units_SVGAngle\0\0\x01\x08SVGAngle\x01\0\x01\x15valueInSpecifiedUnits\x01\x15valueInSpecifiedUnits\0\0\0.__widl_f_set_value_in_specified_units_SVGAngle\0\0\x01\x08SVGAngle\x01\0\x02\x15valueInSpecifiedUnits\x01\x15valueInSpecifiedUnits\0\0\0!__widl_f_value_as_string_SVGAngle\0\0\x01\x08SVGAngle\x01\0\x01\rvalueAsString\x01\rvalueAsString\0\0\0%__widl_f_set_value_as_string_SVGAngle\0\0\x01\x08SVGAngle\x01\0\x02\rvalueAsString\x01\rvalueAsString\0\0\x02\x11SVGAnimateElement#__widl_instanceof_SVGAnimateElement\0\0\0\x02\x17SVGAnimateMotionElement)__widl_instanceof_SVGAnimateMotionElement\0\0\0\x02\x1ASVGAnimateTransformElement,__widl_instanceof_SVGAnimateTransformElement\0\0\0\x02\x10SVGAnimatedAngle\"__widl_instanceof_SVGAnimatedAngle\0\0\0\0\"__widl_f_base_val_SVGAnimatedAngle\0\0\x01\x10SVGAnimatedAngle\x01\0\x01\x07baseVal\x01\x07baseVal\0\0\0\"__widl_f_anim_val_SVGAnimatedAngle\0\0\x01\x10SVGAnimatedAngle\x01\0\x01\x07animVal\x01\x07animVal\0\0\x02\x12SVGAnimatedBoolean$__widl_instanceof_SVGAnimatedBoolean\0\0\0\0$__widl_f_base_val_SVGAnimatedBoolean\0\0\x01\x12SVGAnimatedBoolean\x01\0\x01\x07baseVal\x01\x07baseVal\0\0\0(__widl_f_set_base_val_SVGAnimatedBoolean\0\0\x01\x12SVGAnimatedBoolean\x01\0\x02\x07baseVal\x01\x07baseVal\0\0\0$__widl_f_anim_val_SVGAnimatedBoolean\0\0\x01\x12SVGAnimatedBoolean\x01\0\x01\x07animVal\x01\x07animVal\0\0\x02\x16SVGAnimatedEnumeration(__widl_instanceof_SVGAnimatedEnumeration\0\0\0\0(__widl_f_base_val_SVGAnimatedEnumeration\0\0\x01\x16SVGAnimatedEnumeration\x01\0\x01\x07baseVal\x01\x07baseVal\0\0\0,__widl_f_set_base_val_SVGAnimatedEnumeration\0\0\x01\x16SVGAnimatedEnumeration\x01\0\x02\x07baseVal\x01\x07baseVal\0\0\0(__widl_f_anim_val_SVGAnimatedEnumeration\0\0\x01\x16SVGAnimatedEnumeration\x01\0\x01\x07animVal\x01\x07animVal\0\0\x02\x12SVGAnimatedInteger$__widl_instanceof_SVGAnimatedInteger\0\0\0\0$__widl_f_base_val_SVGAnimatedInteger\0\0\x01\x12SVGAnimatedInteger\x01\0\x01\x07baseVal\x01\x07baseVal\0\0\0(__widl_f_set_base_val_SVGAnimatedInteger\0\0\x01\x12SVGAnimatedInteger\x01\0\x02\x07baseVal\x01\x07baseVal\0\0\0$__widl_f_anim_val_SVGAnimatedInteger\0\0\x01\x12SVGAnimatedInteger\x01\0\x01\x07animVal\x01\x07animVal\0\0\x02\x11SVGAnimatedLength#__widl_instanceof_SVGAnimatedLength\0\0\0\0#__widl_f_base_val_SVGAnimatedLength\0\0\x01\x11SVGAnimatedLength\x01\0\x01\x07baseVal\x01\x07baseVal\0\0\0#__widl_f_anim_val_SVGAnimatedLength\0\0\x01\x11SVGAnimatedLength\x01\0\x01\x07animVal\x01\x07animVal\0\0\x02\x15SVGAnimatedLengthList'__widl_instanceof_SVGAnimatedLengthList\0\0\0\0'__widl_f_base_val_SVGAnimatedLengthList\0\0\x01\x15SVGAnimatedLengthList\x01\0\x01\x07baseVal\x01\x07baseVal\0\0\0'__widl_f_anim_val_SVGAnimatedLengthList\0\0\x01\x15SVGAnimatedLengthList\x01\0\x01\x07animVal\x01\x07animVal\0\0\x02\x11SVGAnimatedNumber#__widl_instanceof_SVGAnimatedNumber\0\0\0\0#__widl_f_base_val_SVGAnimatedNumber\0\0\x01\x11SVGAnimatedNumber\x01\0\x01\x07baseVal\x01\x07baseVal\0\0\0'__widl_f_set_base_val_SVGAnimatedNumber\0\0\x01\x11SVGAnimatedNumber\x01\0\x02\x07baseVal\x01\x07baseVal\0\0\0#__widl_f_anim_val_SVGAnimatedNumber\0\0\x01\x11SVGAnimatedNumber\x01\0\x01\x07animVal\x01\x07animVal\0\0\x02\x15SVGAnimatedNumberList'__widl_instanceof_SVGAnimatedNumberList\0\0\0\0'__widl_f_base_val_SVGAnimatedNumberList\0\0\x01\x15SVGAnimatedNumberList\x01\0\x01\x07baseVal\x01\x07baseVal\0\0\0'__widl_f_anim_val_SVGAnimatedNumberList\0\0\x01\x15SVGAnimatedNumberList\x01\0\x01\x07animVal\x01\x07animVal\0\0\x02\x1ESVGAnimatedPreserveAspectRatio0__widl_instanceof_SVGAnimatedPreserveAspectRatio\0\0\0\00__widl_f_base_val_SVGAnimatedPreserveAspectRatio\0\0\x01\x1ESVGAnimatedPreserveAspectRatio\x01\0\x01\x07baseVal\x01\x07baseVal\0\0\00__widl_f_anim_val_SVGAnimatedPreserveAspectRatio\0\0\x01\x1ESVGAnimatedPreserveAspectRatio\x01\0\x01\x07animVal\x01\x07animVal\0\0\x02\x0FSVGAnimatedRect!__widl_instanceof_SVGAnimatedRect\0\0\0\0!__widl_f_base_val_SVGAnimatedRect\0\0\x01\x0FSVGAnimatedRect\x01\0\x01\x07baseVal\x01\x07baseVal\0\0\0!__widl_f_anim_val_SVGAnimatedRect\0\0\x01\x0FSVGAnimatedRect\x01\0\x01\x07animVal\x01\x07animVal\0\0\x02\x11SVGAnimatedString#__widl_instanceof_SVGAnimatedString\0\0\0\0#__widl_f_base_val_SVGAnimatedString\0\0\x01\x11SVGAnimatedString\x01\0\x01\x07baseVal\x01\x07baseVal\0\0\0'__widl_f_set_base_val_SVGAnimatedString\0\0\x01\x11SVGAnimatedString\x01\0\x02\x07baseVal\x01\x07baseVal\0\0\0#__widl_f_anim_val_SVGAnimatedString\0\0\x01\x11SVGAnimatedString\x01\0\x01\x07animVal\x01\x07animVal\0\0\x02\x18SVGAnimatedTransformList*__widl_instanceof_SVGAnimatedTransformList\0\0\0\0*__widl_f_base_val_SVGAnimatedTransformList\0\0\x01\x18SVGAnimatedTransformList\x01\0\x01\x07baseVal\x01\x07baseVal\0\0\0*__widl_f_anim_val_SVGAnimatedTransformList\0\0\x01\x18SVGAnimatedTransformList\x01\0\x01\x07animVal\x01\x07animVal\0\0\x02\x13SVGAnimationElement%__widl_instanceof_SVGAnimationElement\0\0\0\0*__widl_f_begin_element_SVGAnimationElement\x01\0\x01\x13SVGAnimationElement\x01\0\0\x01\x0CbeginElement\0\0\0-__widl_f_begin_element_at_SVGAnimationElement\x01\0\x01\x13SVGAnimationElement\x01\0\0\x01\x0EbeginElementAt\0\0\0(__widl_f_end_element_SVGAnimationElement\x01\0\x01\x13SVGAnimationElement\x01\0\0\x01\nendElement\0\0\0+__widl_f_end_element_at_SVGAnimationElement\x01\0\x01\x13SVGAnimationElement\x01\0\0\x01\x0CendElementAt\0\0\0-__widl_f_get_current_time_SVGAnimationElement\0\0\x01\x13SVGAnimationElement\x01\0\0\x01\x0EgetCurrentTime\0\0\00__widl_f_get_simple_duration_SVGAnimationElement\x01\0\x01\x13SVGAnimationElement\x01\0\0\x01\x11getSimpleDuration\0\0\0+__widl_f_get_start_time_SVGAnimationElement\x01\0\x01\x13SVGAnimationElement\x01\0\0\x01\x0CgetStartTime\0\0\0+__widl_f_target_element_SVGAnimationElement\0\0\x01\x13SVGAnimationElement\x01\0\x01\rtargetElement\x01\rtargetElement\0\0\0*__widl_f_has_extension_SVGAnimationElement\0\0\x01\x13SVGAnimationElement\x01\0\0\x01\x0ChasExtension\0\0\0.__widl_f_required_features_SVGAnimationElement\0\0\x01\x13SVGAnimationElement\x01\0\x01\x10requiredFeatures\x01\x10requiredFeatures\0\0\00__widl_f_required_extensions_SVGAnimationElement\0\0\x01\x13SVGAnimationElement\x01\0\x01\x12requiredExtensions\x01\x12requiredExtensions\0\0\0,__widl_f_system_language_SVGAnimationElement\0\0\x01\x13SVGAnimationElement\x01\0\x01\x0EsystemLanguage\x01\x0EsystemLanguage\0\0\x02\x10SVGCircleElement\"__widl_instanceof_SVGCircleElement\0\0\0\0\x1C__widl_f_cx_SVGCircleElement\0\0\x01\x10SVGCircleElement\x01\0\x01\x02cx\x01\x02cx\0\0\0\x1C__widl_f_cy_SVGCircleElement\0\0\x01\x10SVGCircleElement\x01\0\x01\x02cy\x01\x02cy\0\0\0\x1B__widl_f_r_SVGCircleElement\0\0\x01\x10SVGCircleElement\x01\0\x01\x01r\x01\x01r\0\0\x02\x12SVGClipPathElement$__widl_instanceof_SVGClipPathElement\0\0\0\0+__widl_f_clip_path_units_SVGClipPathElement\0\0\x01\x12SVGClipPathElement\x01\0\x01\rclipPathUnits\x01\rclipPathUnits\0\0\0%__widl_f_transform_SVGClipPathElement\0\0\x01\x12SVGClipPathElement\x01\0\x01\ttransform\x01\ttransform\0\0\x02#SVGComponentTransferFunctionElement5__widl_instanceof_SVGComponentTransferFunctionElement\0\0\0\01__widl_f_type_SVGComponentTransferFunctionElement\0\0\x01#SVGComponentTransferFunctionElement\x01\0\x01\x04type\x01\x04type\0\0\09__widl_f_table_values_SVGComponentTransferFunctionElement\0\0\x01#SVGComponentTransferFunctionElement\x01\0\x01\x0BtableValues\x01\x0BtableValues\0\0\02__widl_f_slope_SVGComponentTransferFunctionElement\0\0\x01#SVGComponentTransferFunctionElement\x01\0\x01\x05slope\x01\x05slope\0\0\06__widl_f_intercept_SVGComponentTransferFunctionElement\0\0\x01#SVGComponentTransferFunctionElement\x01\0\x01\tintercept\x01\tintercept\0\0\06__widl_f_amplitude_SVGComponentTransferFunctionElement\0\0\x01#SVGComponentTransferFunctionElement\x01\0\x01\tamplitude\x01\tamplitude\0\0\05__widl_f_exponent_SVGComponentTransferFunctionElement\0\0\x01#SVGComponentTransferFunctionElement\x01\0\x01\x08exponent\x01\x08exponent\0\0\03__widl_f_offset_SVGComponentTransferFunctionElement\0\0\x01#SVGComponentTransferFunctionElement\x01\0\x01\x06offset\x01\x06offset\0\0\x02\x0ESVGDefsElement __widl_instanceof_SVGDefsElement\0\0\0\x02\x0ESVGDescElement __widl_instanceof_SVGDescElement\0\0\0\x02\nSVGElement\x1C__widl_instanceof_SVGElement\0\0\0\0\x18__widl_f_blur_SVGElement\x01\0\x01\nSVGElement\x01\0\0\x01\x04blur\0\0\0\x19__widl_f_focus_SVGElement\x01\0\x01\nSVGElement\x01\0\0\x01\x05focus\0\0\0\x16__widl_f_id_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x02id\x01\x02id\0\0\0\x1A__widl_f_set_id_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x02id\x01\x02id\0\0\0\x1E__widl_f_class_name_SVGElement\0\0\x01\nSVGElement\x01\0\x01\tclassName\x01\tclassName\0\0\0\x1B__widl_f_dataset_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x07dataset\x01\x07dataset\0\0\0\x19__widl_f_style_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x05style\x01\x05style\0\0\0%__widl_f_owner_svg_element_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0FownerSVGElement\x01\x0FownerSVGElement\0\0\0$__widl_f_viewport_element_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0FviewportElement\x01\x0FviewportElement\0\0\0\x1D__widl_f_tab_index_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x08tabIndex\x01\x08tabIndex\0\0\0!__widl_f_set_tab_index_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x08tabIndex\x01\x08tabIndex\0\0\0\x1A__widl_f_oncopy_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x06oncopy\x01\x06oncopy\0\0\0\x1E__widl_f_set_oncopy_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x06oncopy\x01\x06oncopy\0\0\0\x19__widl_f_oncut_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x05oncut\x01\x05oncut\0\0\0\x1D__widl_f_set_oncut_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x05oncut\x01\x05oncut\0\0\0\x1B__widl_f_onpaste_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x07onpaste\x01\x07onpaste\0\0\0\x1F__widl_f_set_onpaste_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x07onpaste\x01\x07onpaste\0\0\0\x1B__widl_f_onabort_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x07onabort\x01\x07onabort\0\0\0\x1F__widl_f_set_onabort_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x07onabort\x01\x07onabort\0\0\0\x1A__widl_f_onblur_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x06onblur\x01\x06onblur\0\0\0\x1E__widl_f_set_onblur_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x06onblur\x01\x06onblur\0\0\0\x1B__widl_f_onfocus_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x07onfocus\x01\x07onfocus\0\0\0\x1F__widl_f_set_onfocus_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x07onfocus\x01\x07onfocus\0\0\0\x1E__widl_f_onauxclick_SVGElement\0\0\x01\nSVGElement\x01\0\x01\nonauxclick\x01\nonauxclick\0\0\0\"__widl_f_set_onauxclick_SVGElement\0\0\x01\nSVGElement\x01\0\x02\nonauxclick\x01\nonauxclick\0\0\0\x1D__widl_f_oncanplay_SVGElement\0\0\x01\nSVGElement\x01\0\x01\toncanplay\x01\toncanplay\0\0\0!__widl_f_set_oncanplay_SVGElement\0\0\x01\nSVGElement\x01\0\x02\toncanplay\x01\toncanplay\0\0\0$__widl_f_oncanplaythrough_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x10oncanplaythrough\x01\x10oncanplaythrough\0\0\0(__widl_f_set_oncanplaythrough_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x10oncanplaythrough\x01\x10oncanplaythrough\0\0\0\x1C__widl_f_onchange_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x08onchange\x01\x08onchange\0\0\0 __widl_f_set_onchange_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x08onchange\x01\x08onchange\0\0\0\x1B__widl_f_onclick_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x07onclick\x01\x07onclick\0\0\0\x1F__widl_f_set_onclick_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x07onclick\x01\x07onclick\0\0\0\x1B__widl_f_onclose_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x07onclose\x01\x07onclose\0\0\0\x1F__widl_f_set_onclose_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x07onclose\x01\x07onclose\0\0\0!__widl_f_oncontextmenu_SVGElement\0\0\x01\nSVGElement\x01\0\x01\roncontextmenu\x01\roncontextmenu\0\0\0%__widl_f_set_oncontextmenu_SVGElement\0\0\x01\nSVGElement\x01\0\x02\roncontextmenu\x01\roncontextmenu\0\0\0\x1E__widl_f_ondblclick_SVGElement\0\0\x01\nSVGElement\x01\0\x01\nondblclick\x01\nondblclick\0\0\0\"__widl_f_set_ondblclick_SVGElement\0\0\x01\nSVGElement\x01\0\x02\nondblclick\x01\nondblclick\0\0\0\x1A__widl_f_ondrag_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x06ondrag\x01\x06ondrag\0\0\0\x1E__widl_f_set_ondrag_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x06ondrag\x01\x06ondrag\0\0\0\x1D__widl_f_ondragend_SVGElement\0\0\x01\nSVGElement\x01\0\x01\tondragend\x01\tondragend\0\0\0!__widl_f_set_ondragend_SVGElement\0\0\x01\nSVGElement\x01\0\x02\tondragend\x01\tondragend\0\0\0\x1F__widl_f_ondragenter_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Bondragenter\x01\x0Bondragenter\0\0\0#__widl_f_set_ondragenter_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Bondragenter\x01\x0Bondragenter\0\0\0\x1E__widl_f_ondragexit_SVGElement\0\0\x01\nSVGElement\x01\0\x01\nondragexit\x01\nondragexit\0\0\0\"__widl_f_set_ondragexit_SVGElement\0\0\x01\nSVGElement\x01\0\x02\nondragexit\x01\nondragexit\0\0\0\x1F__widl_f_ondragleave_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Bondragleave\x01\x0Bondragleave\0\0\0#__widl_f_set_ondragleave_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Bondragleave\x01\x0Bondragleave\0\0\0\x1E__widl_f_ondragover_SVGElement\0\0\x01\nSVGElement\x01\0\x01\nondragover\x01\nondragover\0\0\0\"__widl_f_set_ondragover_SVGElement\0\0\x01\nSVGElement\x01\0\x02\nondragover\x01\nondragover\0\0\0\x1F__widl_f_ondragstart_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Bondragstart\x01\x0Bondragstart\0\0\0#__widl_f_set_ondragstart_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Bondragstart\x01\x0Bondragstart\0\0\0\x1A__widl_f_ondrop_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x06ondrop\x01\x06ondrop\0\0\0\x1E__widl_f_set_ondrop_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x06ondrop\x01\x06ondrop\0\0\0$__widl_f_ondurationchange_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x10ondurationchange\x01\x10ondurationchange\0\0\0(__widl_f_set_ondurationchange_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x10ondurationchange\x01\x10ondurationchange\0\0\0\x1D__widl_f_onemptied_SVGElement\0\0\x01\nSVGElement\x01\0\x01\tonemptied\x01\tonemptied\0\0\0!__widl_f_set_onemptied_SVGElement\0\0\x01\nSVGElement\x01\0\x02\tonemptied\x01\tonemptied\0\0\0\x1B__widl_f_onended_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x07onended\x01\x07onended\0\0\0\x1F__widl_f_set_onended_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x07onended\x01\x07onended\0\0\0\x1B__widl_f_oninput_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x07oninput\x01\x07oninput\0\0\0\x1F__widl_f_set_oninput_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x07oninput\x01\x07oninput\0\0\0\x1D__widl_f_oninvalid_SVGElement\0\0\x01\nSVGElement\x01\0\x01\toninvalid\x01\toninvalid\0\0\0!__widl_f_set_oninvalid_SVGElement\0\0\x01\nSVGElement\x01\0\x02\toninvalid\x01\toninvalid\0\0\0\x1D__widl_f_onkeydown_SVGElement\0\0\x01\nSVGElement\x01\0\x01\tonkeydown\x01\tonkeydown\0\0\0!__widl_f_set_onkeydown_SVGElement\0\0\x01\nSVGElement\x01\0\x02\tonkeydown\x01\tonkeydown\0\0\0\x1E__widl_f_onkeypress_SVGElement\0\0\x01\nSVGElement\x01\0\x01\nonkeypress\x01\nonkeypress\0\0\0\"__widl_f_set_onkeypress_SVGElement\0\0\x01\nSVGElement\x01\0\x02\nonkeypress\x01\nonkeypress\0\0\0\x1B__widl_f_onkeyup_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x07onkeyup\x01\x07onkeyup\0\0\0\x1F__widl_f_set_onkeyup_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x07onkeyup\x01\x07onkeyup\0\0\0\x1A__widl_f_onload_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x06onload\x01\x06onload\0\0\0\x1E__widl_f_set_onload_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x06onload\x01\x06onload\0\0\0 __widl_f_onloadeddata_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Conloadeddata\x01\x0Conloadeddata\0\0\0$__widl_f_set_onloadeddata_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Conloadeddata\x01\x0Conloadeddata\0\0\0$__widl_f_onloadedmetadata_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x10onloadedmetadata\x01\x10onloadedmetadata\0\0\0(__widl_f_set_onloadedmetadata_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x10onloadedmetadata\x01\x10onloadedmetadata\0\0\0\x1D__widl_f_onloadend_SVGElement\0\0\x01\nSVGElement\x01\0\x01\tonloadend\x01\tonloadend\0\0\0!__widl_f_set_onloadend_SVGElement\0\0\x01\nSVGElement\x01\0\x02\tonloadend\x01\tonloadend\0\0\0\x1F__widl_f_onloadstart_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Bonloadstart\x01\x0Bonloadstart\0\0\0#__widl_f_set_onloadstart_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Bonloadstart\x01\x0Bonloadstart\0\0\0\x1F__widl_f_onmousedown_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Bonmousedown\x01\x0Bonmousedown\0\0\0#__widl_f_set_onmousedown_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Bonmousedown\x01\x0Bonmousedown\0\0\0 __widl_f_onmouseenter_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Conmouseenter\x01\x0Conmouseenter\0\0\0$__widl_f_set_onmouseenter_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Conmouseenter\x01\x0Conmouseenter\0\0\0 __widl_f_onmouseleave_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Conmouseleave\x01\x0Conmouseleave\0\0\0$__widl_f_set_onmouseleave_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Conmouseleave\x01\x0Conmouseleave\0\0\0\x1F__widl_f_onmousemove_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Bonmousemove\x01\x0Bonmousemove\0\0\0#__widl_f_set_onmousemove_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Bonmousemove\x01\x0Bonmousemove\0\0\0\x1E__widl_f_onmouseout_SVGElement\0\0\x01\nSVGElement\x01\0\x01\nonmouseout\x01\nonmouseout\0\0\0\"__widl_f_set_onmouseout_SVGElement\0\0\x01\nSVGElement\x01\0\x02\nonmouseout\x01\nonmouseout\0\0\0\x1F__widl_f_onmouseover_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Bonmouseover\x01\x0Bonmouseover\0\0\0#__widl_f_set_onmouseover_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Bonmouseover\x01\x0Bonmouseover\0\0\0\x1D__widl_f_onmouseup_SVGElement\0\0\x01\nSVGElement\x01\0\x01\tonmouseup\x01\tonmouseup\0\0\0!__widl_f_set_onmouseup_SVGElement\0\0\x01\nSVGElement\x01\0\x02\tonmouseup\x01\tonmouseup\0\0\0\x1B__widl_f_onwheel_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x07onwheel\x01\x07onwheel\0\0\0\x1F__widl_f_set_onwheel_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x07onwheel\x01\x07onwheel\0\0\0\x1B__widl_f_onpause_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x07onpause\x01\x07onpause\0\0\0\x1F__widl_f_set_onpause_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x07onpause\x01\x07onpause\0\0\0\x1A__widl_f_onplay_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x06onplay\x01\x06onplay\0\0\0\x1E__widl_f_set_onplay_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x06onplay\x01\x06onplay\0\0\0\x1D__widl_f_onplaying_SVGElement\0\0\x01\nSVGElement\x01\0\x01\tonplaying\x01\tonplaying\0\0\0!__widl_f_set_onplaying_SVGElement\0\0\x01\nSVGElement\x01\0\x02\tonplaying\x01\tonplaying\0\0\0\x1E__widl_f_onprogress_SVGElement\0\0\x01\nSVGElement\x01\0\x01\nonprogress\x01\nonprogress\0\0\0\"__widl_f_set_onprogress_SVGElement\0\0\x01\nSVGElement\x01\0\x02\nonprogress\x01\nonprogress\0\0\0 __widl_f_onratechange_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Conratechange\x01\x0Conratechange\0\0\0$__widl_f_set_onratechange_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Conratechange\x01\x0Conratechange\0\0\0\x1B__widl_f_onreset_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x07onreset\x01\x07onreset\0\0\0\x1F__widl_f_set_onreset_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x07onreset\x01\x07onreset\0\0\0\x1C__widl_f_onresize_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x08onresize\x01\x08onresize\0\0\0 __widl_f_set_onresize_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x08onresize\x01\x08onresize\0\0\0\x1C__widl_f_onscroll_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x08onscroll\x01\x08onscroll\0\0\0 __widl_f_set_onscroll_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x08onscroll\x01\x08onscroll\0\0\0\x1C__widl_f_onseeked_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x08onseeked\x01\x08onseeked\0\0\0 __widl_f_set_onseeked_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x08onseeked\x01\x08onseeked\0\0\0\x1D__widl_f_onseeking_SVGElement\0\0\x01\nSVGElement\x01\0\x01\tonseeking\x01\tonseeking\0\0\0!__widl_f_set_onseeking_SVGElement\0\0\x01\nSVGElement\x01\0\x02\tonseeking\x01\tonseeking\0\0\0\x1C__widl_f_onselect_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x08onselect\x01\x08onselect\0\0\0 __widl_f_set_onselect_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x08onselect\x01\x08onselect\0\0\0\x1A__widl_f_onshow_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x06onshow\x01\x06onshow\0\0\0\x1E__widl_f_set_onshow_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x06onshow\x01\x06onshow\0\0\0\x1D__widl_f_onstalled_SVGElement\0\0\x01\nSVGElement\x01\0\x01\tonstalled\x01\tonstalled\0\0\0!__widl_f_set_onstalled_SVGElement\0\0\x01\nSVGElement\x01\0\x02\tonstalled\x01\tonstalled\0\0\0\x1C__widl_f_onsubmit_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x08onsubmit\x01\x08onsubmit\0\0\0 __widl_f_set_onsubmit_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x08onsubmit\x01\x08onsubmit\0\0\0\x1D__widl_f_onsuspend_SVGElement\0\0\x01\nSVGElement\x01\0\x01\tonsuspend\x01\tonsuspend\0\0\0!__widl_f_set_onsuspend_SVGElement\0\0\x01\nSVGElement\x01\0\x02\tonsuspend\x01\tonsuspend\0\0\0 __widl_f_ontimeupdate_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Contimeupdate\x01\x0Contimeupdate\0\0\0$__widl_f_set_ontimeupdate_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Contimeupdate\x01\x0Contimeupdate\0\0\0\"__widl_f_onvolumechange_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Eonvolumechange\x01\x0Eonvolumechange\0\0\0&__widl_f_set_onvolumechange_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Eonvolumechange\x01\x0Eonvolumechange\0\0\0\x1D__widl_f_onwaiting_SVGElement\0\0\x01\nSVGElement\x01\0\x01\tonwaiting\x01\tonwaiting\0\0\0!__widl_f_set_onwaiting_SVGElement\0\0\x01\nSVGElement\x01\0\x02\tonwaiting\x01\tonwaiting\0\0\0!__widl_f_onselectstart_SVGElement\0\0\x01\nSVGElement\x01\0\x01\ronselectstart\x01\ronselectstart\0\0\0%__widl_f_set_onselectstart_SVGElement\0\0\x01\nSVGElement\x01\0\x02\ronselectstart\x01\ronselectstart\0\0\0\x1C__widl_f_ontoggle_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x08ontoggle\x01\x08ontoggle\0\0\0 __widl_f_set_ontoggle_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x08ontoggle\x01\x08ontoggle\0\0\0#__widl_f_onpointercancel_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Fonpointercancel\x01\x0Fonpointercancel\0\0\0'__widl_f_set_onpointercancel_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Fonpointercancel\x01\x0Fonpointercancel\0\0\0!__widl_f_onpointerdown_SVGElement\0\0\x01\nSVGElement\x01\0\x01\ronpointerdown\x01\ronpointerdown\0\0\0%__widl_f_set_onpointerdown_SVGElement\0\0\x01\nSVGElement\x01\0\x02\ronpointerdown\x01\ronpointerdown\0\0\0\x1F__widl_f_onpointerup_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Bonpointerup\x01\x0Bonpointerup\0\0\0#__widl_f_set_onpointerup_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Bonpointerup\x01\x0Bonpointerup\0\0\0!__widl_f_onpointermove_SVGElement\0\0\x01\nSVGElement\x01\0\x01\ronpointermove\x01\ronpointermove\0\0\0%__widl_f_set_onpointermove_SVGElement\0\0\x01\nSVGElement\x01\0\x02\ronpointermove\x01\ronpointermove\0\0\0 __widl_f_onpointerout_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Conpointerout\x01\x0Conpointerout\0\0\0$__widl_f_set_onpointerout_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Conpointerout\x01\x0Conpointerout\0\0\0!__widl_f_onpointerover_SVGElement\0\0\x01\nSVGElement\x01\0\x01\ronpointerover\x01\ronpointerover\0\0\0%__widl_f_set_onpointerover_SVGElement\0\0\x01\nSVGElement\x01\0\x02\ronpointerover\x01\ronpointerover\0\0\0\"__widl_f_onpointerenter_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Eonpointerenter\x01\x0Eonpointerenter\0\0\0&__widl_f_set_onpointerenter_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Eonpointerenter\x01\x0Eonpointerenter\0\0\0\"__widl_f_onpointerleave_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Eonpointerleave\x01\x0Eonpointerleave\0\0\0&__widl_f_set_onpointerleave_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Eonpointerleave\x01\x0Eonpointerleave\0\0\0'__widl_f_ongotpointercapture_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x13ongotpointercapture\x01\x13ongotpointercapture\0\0\0+__widl_f_set_ongotpointercapture_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x13ongotpointercapture\x01\x13ongotpointercapture\0\0\0(__widl_f_onlostpointercapture_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x14onlostpointercapture\x01\x14onlostpointercapture\0\0\0,__widl_f_set_onlostpointercapture_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x14onlostpointercapture\x01\x14onlostpointercapture\0\0\0%__widl_f_onanimationcancel_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x11onanimationcancel\x01\x11onanimationcancel\0\0\0)__widl_f_set_onanimationcancel_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x11onanimationcancel\x01\x11onanimationcancel\0\0\0\"__widl_f_onanimationend_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Eonanimationend\x01\x0Eonanimationend\0\0\0&__widl_f_set_onanimationend_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Eonanimationend\x01\x0Eonanimationend\0\0\0(__widl_f_onanimationiteration_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x14onanimationiteration\x01\x14onanimationiteration\0\0\0,__widl_f_set_onanimationiteration_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x14onanimationiteration\x01\x14onanimationiteration\0\0\0$__widl_f_onanimationstart_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x10onanimationstart\x01\x10onanimationstart\0\0\0(__widl_f_set_onanimationstart_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x10onanimationstart\x01\x10onanimationstart\0\0\0&__widl_f_ontransitioncancel_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x12ontransitioncancel\x01\x12ontransitioncancel\0\0\0*__widl_f_set_ontransitioncancel_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x12ontransitioncancel\x01\x12ontransitioncancel\0\0\0#__widl_f_ontransitionend_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Fontransitionend\x01\x0Fontransitionend\0\0\0'__widl_f_set_ontransitionend_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Fontransitionend\x01\x0Fontransitionend\0\0\0#__widl_f_ontransitionrun_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Fontransitionrun\x01\x0Fontransitionrun\0\0\0'__widl_f_set_ontransitionrun_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Fontransitionrun\x01\x0Fontransitionrun\0\0\0%__widl_f_ontransitionstart_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x11ontransitionstart\x01\x11ontransitionstart\0\0\0)__widl_f_set_ontransitionstart_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x11ontransitionstart\x01\x11ontransitionstart\0\0\0(__widl_f_onwebkitanimationend_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x14onwebkitanimationend\x01\x14onwebkitanimationend\0\0\0,__widl_f_set_onwebkitanimationend_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x14onwebkitanimationend\x01\x14onwebkitanimationend\0\0\0.__widl_f_onwebkitanimationiteration_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x1Aonwebkitanimationiteration\x01\x1Aonwebkitanimationiteration\0\0\02__widl_f_set_onwebkitanimationiteration_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x1Aonwebkitanimationiteration\x01\x1Aonwebkitanimationiteration\0\0\0*__widl_f_onwebkitanimationstart_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x16onwebkitanimationstart\x01\x16onwebkitanimationstart\0\0\0.__widl_f_set_onwebkitanimationstart_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x16onwebkitanimationstart\x01\x16onwebkitanimationstart\0\0\0)__widl_f_onwebkittransitionend_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x15onwebkittransitionend\x01\x15onwebkittransitionend\0\0\0-__widl_f_set_onwebkittransitionend_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x15onwebkittransitionend\x01\x15onwebkittransitionend\0\0\0\x1B__widl_f_onerror_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x07onerror\x01\x07onerror\0\0\0\x1F__widl_f_set_onerror_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x07onerror\x01\x07onerror\0\0\0 __widl_f_ontouchstart_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Contouchstart\x01\x0Contouchstart\0\0\0$__widl_f_set_ontouchstart_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Contouchstart\x01\x0Contouchstart\0\0\0\x1E__widl_f_ontouchend_SVGElement\0\0\x01\nSVGElement\x01\0\x01\nontouchend\x01\nontouchend\0\0\0\"__widl_f_set_ontouchend_SVGElement\0\0\x01\nSVGElement\x01\0\x02\nontouchend\x01\nontouchend\0\0\0\x1F__widl_f_ontouchmove_SVGElement\0\0\x01\nSVGElement\x01\0\x01\x0Bontouchmove\x01\x0Bontouchmove\0\0\0#__widl_f_set_ontouchmove_SVGElement\0\0\x01\nSVGElement\x01\0\x02\x0Bontouchmove\x01\x0Bontouchmove\0\0\0!__widl_f_ontouchcancel_SVGElement\0\0\x01\nSVGElement\x01\0\x01\rontouchcancel\x01\rontouchcancel\0\0\0%__widl_f_set_ontouchcancel_SVGElement\0\0\x01\nSVGElement\x01\0\x02\rontouchcancel\x01\rontouchcancel\0\0\x02\x11SVGEllipseElement#__widl_instanceof_SVGEllipseElement\0\0\0\0\x1D__widl_f_cx_SVGEllipseElement\0\0\x01\x11SVGEllipseElement\x01\0\x01\x02cx\x01\x02cx\0\0\0\x1D__widl_f_cy_SVGEllipseElement\0\0\x01\x11SVGEllipseElement\x01\0\x01\x02cy\x01\x02cy\0\0\0\x1D__widl_f_rx_SVGEllipseElement\0\0\x01\x11SVGEllipseElement\x01\0\x01\x02rx\x01\x02rx\0\0\0\x1D__widl_f_ry_SVGEllipseElement\0\0\x01\x11SVGEllipseElement\x01\0\x01\x02ry\x01\x02ry\0\0\x02\x11SVGFEBlendElement#__widl_instanceof_SVGFEBlendElement\0\0\0\0\x1E__widl_f_in1_SVGFEBlendElement\0\0\x01\x11SVGFEBlendElement\x01\0\x01\x03in1\x01\x03in1\0\0\0\x1E__widl_f_in2_SVGFEBlendElement\0\0\x01\x11SVGFEBlendElement\x01\0\x01\x03in2\x01\x03in2\0\0\0\x1F__widl_f_mode_SVGFEBlendElement\0\0\x01\x11SVGFEBlendElement\x01\0\x01\x04mode\x01\x04mode\0\0\0\x1C__widl_f_x_SVGFEBlendElement\0\0\x01\x11SVGFEBlendElement\x01\0\x01\x01x\x01\x01x\0\0\0\x1C__widl_f_y_SVGFEBlendElement\0\0\x01\x11SVGFEBlendElement\x01\0\x01\x01y\x01\x01y\0\0\0 __widl_f_width_SVGFEBlendElement\0\0\x01\x11SVGFEBlendElement\x01\0\x01\x05width\x01\x05width\0\0\0!__widl_f_height_SVGFEBlendElement\0\0\x01\x11SVGFEBlendElement\x01\0\x01\x06height\x01\x06height\0\0\0!__widl_f_result_SVGFEBlendElement\0\0\x01\x11SVGFEBlendElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x17SVGFEColorMatrixElement)__widl_instanceof_SVGFEColorMatrixElement\0\0\0\0$__widl_f_in1_SVGFEColorMatrixElement\0\0\x01\x17SVGFEColorMatrixElement\x01\0\x01\x03in1\x01\x03in1\0\0\0%__widl_f_type_SVGFEColorMatrixElement\0\0\x01\x17SVGFEColorMatrixElement\x01\0\x01\x04type\x01\x04type\0\0\0'__widl_f_values_SVGFEColorMatrixElement\0\0\x01\x17SVGFEColorMatrixElement\x01\0\x01\x06values\x01\x06values\0\0\0\"__widl_f_x_SVGFEColorMatrixElement\0\0\x01\x17SVGFEColorMatrixElement\x01\0\x01\x01x\x01\x01x\0\0\0\"__widl_f_y_SVGFEColorMatrixElement\0\0\x01\x17SVGFEColorMatrixElement\x01\0\x01\x01y\x01\x01y\0\0\0&__widl_f_width_SVGFEColorMatrixElement\0\0\x01\x17SVGFEColorMatrixElement\x01\0\x01\x05width\x01\x05width\0\0\0'__widl_f_height_SVGFEColorMatrixElement\0\0\x01\x17SVGFEColorMatrixElement\x01\0\x01\x06height\x01\x06height\0\0\0'__widl_f_result_SVGFEColorMatrixElement\0\0\x01\x17SVGFEColorMatrixElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x1DSVGFEComponentTransferElement/__widl_instanceof_SVGFEComponentTransferElement\0\0\0\0*__widl_f_in1_SVGFEComponentTransferElement\0\0\x01\x1DSVGFEComponentTransferElement\x01\0\x01\x03in1\x01\x03in1\0\0\0(__widl_f_x_SVGFEComponentTransferElement\0\0\x01\x1DSVGFEComponentTransferElement\x01\0\x01\x01x\x01\x01x\0\0\0(__widl_f_y_SVGFEComponentTransferElement\0\0\x01\x1DSVGFEComponentTransferElement\x01\0\x01\x01y\x01\x01y\0\0\0,__widl_f_width_SVGFEComponentTransferElement\0\0\x01\x1DSVGFEComponentTransferElement\x01\0\x01\x05width\x01\x05width\0\0\0-__widl_f_height_SVGFEComponentTransferElement\0\0\x01\x1DSVGFEComponentTransferElement\x01\0\x01\x06height\x01\x06height\0\0\0-__widl_f_result_SVGFEComponentTransferElement\0\0\x01\x1DSVGFEComponentTransferElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x15SVGFECompositeElement'__widl_instanceof_SVGFECompositeElement\0\0\0\0\"__widl_f_in1_SVGFECompositeElement\0\0\x01\x15SVGFECompositeElement\x01\0\x01\x03in1\x01\x03in1\0\0\0\"__widl_f_in2_SVGFECompositeElement\0\0\x01\x15SVGFECompositeElement\x01\0\x01\x03in2\x01\x03in2\0\0\0'__widl_f_operator_SVGFECompositeElement\0\0\x01\x15SVGFECompositeElement\x01\0\x01\x08operator\x01\x08operator\0\0\0!__widl_f_k1_SVGFECompositeElement\0\0\x01\x15SVGFECompositeElement\x01\0\x01\x02k1\x01\x02k1\0\0\0!__widl_f_k2_SVGFECompositeElement\0\0\x01\x15SVGFECompositeElement\x01\0\x01\x02k2\x01\x02k2\0\0\0!__widl_f_k3_SVGFECompositeElement\0\0\x01\x15SVGFECompositeElement\x01\0\x01\x02k3\x01\x02k3\0\0\0!__widl_f_k4_SVGFECompositeElement\0\0\x01\x15SVGFECompositeElement\x01\0\x01\x02k4\x01\x02k4\0\0\0 __widl_f_x_SVGFECompositeElement\0\0\x01\x15SVGFECompositeElement\x01\0\x01\x01x\x01\x01x\0\0\0 __widl_f_y_SVGFECompositeElement\0\0\x01\x15SVGFECompositeElement\x01\0\x01\x01y\x01\x01y\0\0\0$__widl_f_width_SVGFECompositeElement\0\0\x01\x15SVGFECompositeElement\x01\0\x01\x05width\x01\x05width\0\0\0%__widl_f_height_SVGFECompositeElement\0\0\x01\x15SVGFECompositeElement\x01\0\x01\x06height\x01\x06height\0\0\0%__widl_f_result_SVGFECompositeElement\0\0\x01\x15SVGFECompositeElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x1ASVGFEConvolveMatrixElement,__widl_instanceof_SVGFEConvolveMatrixElement\0\0\0\0'__widl_f_in1_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x03in1\x01\x03in1\0\0\0+__widl_f_order_x_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x06orderX\x01\x06orderX\0\0\0+__widl_f_order_y_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x06orderY\x01\x06orderY\0\0\01__widl_f_kernel_matrix_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x0CkernelMatrix\x01\x0CkernelMatrix\0\0\0+__widl_f_divisor_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x07divisor\x01\x07divisor\0\0\0(__widl_f_bias_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x04bias\x01\x04bias\0\0\0,__widl_f_target_x_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x07targetX\x01\x07targetX\0\0\0,__widl_f_target_y_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x07targetY\x01\x07targetY\0\0\0-__widl_f_edge_mode_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x08edgeMode\x01\x08edgeMode\0\0\08__widl_f_kernel_unit_length_x_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x11kernelUnitLengthX\x01\x11kernelUnitLengthX\0\0\08__widl_f_kernel_unit_length_y_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x11kernelUnitLengthY\x01\x11kernelUnitLengthY\0\0\02__widl_f_preserve_alpha_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\rpreserveAlpha\x01\rpreserveAlpha\0\0\0%__widl_f_x_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x01x\x01\x01x\0\0\0%__widl_f_y_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x01y\x01\x01y\0\0\0)__widl_f_width_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x05width\x01\x05width\0\0\0*__widl_f_height_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x06height\x01\x06height\0\0\0*__widl_f_result_SVGFEConvolveMatrixElement\0\0\x01\x1ASVGFEConvolveMatrixElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x1BSVGFEDiffuseLightingElement-__widl_instanceof_SVGFEDiffuseLightingElement\0\0\0\0(__widl_f_in1_SVGFEDiffuseLightingElement\0\0\x01\x1BSVGFEDiffuseLightingElement\x01\0\x01\x03in1\x01\x03in1\0\0\02__widl_f_surface_scale_SVGFEDiffuseLightingElement\0\0\x01\x1BSVGFEDiffuseLightingElement\x01\0\x01\x0CsurfaceScale\x01\x0CsurfaceScale\0\0\05__widl_f_diffuse_constant_SVGFEDiffuseLightingElement\0\0\x01\x1BSVGFEDiffuseLightingElement\x01\0\x01\x0FdiffuseConstant\x01\x0FdiffuseConstant\0\0\09__widl_f_kernel_unit_length_x_SVGFEDiffuseLightingElement\0\0\x01\x1BSVGFEDiffuseLightingElement\x01\0\x01\x11kernelUnitLengthX\x01\x11kernelUnitLengthX\0\0\09__widl_f_kernel_unit_length_y_SVGFEDiffuseLightingElement\0\0\x01\x1BSVGFEDiffuseLightingElement\x01\0\x01\x11kernelUnitLengthY\x01\x11kernelUnitLengthY\0\0\0&__widl_f_x_SVGFEDiffuseLightingElement\0\0\x01\x1BSVGFEDiffuseLightingElement\x01\0\x01\x01x\x01\x01x\0\0\0&__widl_f_y_SVGFEDiffuseLightingElement\0\0\x01\x1BSVGFEDiffuseLightingElement\x01\0\x01\x01y\x01\x01y\0\0\0*__widl_f_width_SVGFEDiffuseLightingElement\0\0\x01\x1BSVGFEDiffuseLightingElement\x01\0\x01\x05width\x01\x05width\0\0\0+__widl_f_height_SVGFEDiffuseLightingElement\0\0\x01\x1BSVGFEDiffuseLightingElement\x01\0\x01\x06height\x01\x06height\0\0\0+__widl_f_result_SVGFEDiffuseLightingElement\0\0\x01\x1BSVGFEDiffuseLightingElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x1BSVGFEDisplacementMapElement-__widl_instanceof_SVGFEDisplacementMapElement\0\0\0\0(__widl_f_in1_SVGFEDisplacementMapElement\0\0\x01\x1BSVGFEDisplacementMapElement\x01\0\x01\x03in1\x01\x03in1\0\0\0(__widl_f_in2_SVGFEDisplacementMapElement\0\0\x01\x1BSVGFEDisplacementMapElement\x01\0\x01\x03in2\x01\x03in2\0\0\0*__widl_f_scale_SVGFEDisplacementMapElement\0\0\x01\x1BSVGFEDisplacementMapElement\x01\0\x01\x05scale\x01\x05scale\0\0\07__widl_f_x_channel_selector_SVGFEDisplacementMapElement\0\0\x01\x1BSVGFEDisplacementMapElement\x01\0\x01\x10xChannelSelector\x01\x10xChannelSelector\0\0\07__widl_f_y_channel_selector_SVGFEDisplacementMapElement\0\0\x01\x1BSVGFEDisplacementMapElement\x01\0\x01\x10yChannelSelector\x01\x10yChannelSelector\0\0\0&__widl_f_x_SVGFEDisplacementMapElement\0\0\x01\x1BSVGFEDisplacementMapElement\x01\0\x01\x01x\x01\x01x\0\0\0&__widl_f_y_SVGFEDisplacementMapElement\0\0\x01\x1BSVGFEDisplacementMapElement\x01\0\x01\x01y\x01\x01y\0\0\0*__widl_f_width_SVGFEDisplacementMapElement\0\0\x01\x1BSVGFEDisplacementMapElement\x01\0\x01\x05width\x01\x05width\0\0\0+__widl_f_height_SVGFEDisplacementMapElement\0\0\x01\x1BSVGFEDisplacementMapElement\x01\0\x01\x06height\x01\x06height\0\0\0+__widl_f_result_SVGFEDisplacementMapElement\0\0\x01\x1BSVGFEDisplacementMapElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x18SVGFEDistantLightElement*__widl_instanceof_SVGFEDistantLightElement\0\0\0\0)__widl_f_azimuth_SVGFEDistantLightElement\0\0\x01\x18SVGFEDistantLightElement\x01\0\x01\x07azimuth\x01\x07azimuth\0\0\0+__widl_f_elevation_SVGFEDistantLightElement\0\0\x01\x18SVGFEDistantLightElement\x01\0\x01\televation\x01\televation\0\0\x02\x16SVGFEDropShadowElement(__widl_instanceof_SVGFEDropShadowElement\0\0\0\01__widl_f_set_std_deviation_SVGFEDropShadowElement\0\0\x01\x16SVGFEDropShadowElement\x01\0\0\x01\x0FsetStdDeviation\0\0\0#__widl_f_in1_SVGFEDropShadowElement\0\0\x01\x16SVGFEDropShadowElement\x01\0\x01\x03in1\x01\x03in1\0\0\0\"__widl_f_dx_SVGFEDropShadowElement\0\0\x01\x16SVGFEDropShadowElement\x01\0\x01\x02dx\x01\x02dx\0\0\0\"__widl_f_dy_SVGFEDropShadowElement\0\0\x01\x16SVGFEDropShadowElement\x01\0\x01\x02dy\x01\x02dy\0\0\0/__widl_f_std_deviation_x_SVGFEDropShadowElement\0\0\x01\x16SVGFEDropShadowElement\x01\0\x01\rstdDeviationX\x01\rstdDeviationX\0\0\0/__widl_f_std_deviation_y_SVGFEDropShadowElement\0\0\x01\x16SVGFEDropShadowElement\x01\0\x01\rstdDeviationY\x01\rstdDeviationY\0\0\0!__widl_f_x_SVGFEDropShadowElement\0\0\x01\x16SVGFEDropShadowElement\x01\0\x01\x01x\x01\x01x\0\0\0!__widl_f_y_SVGFEDropShadowElement\0\0\x01\x16SVGFEDropShadowElement\x01\0\x01\x01y\x01\x01y\0\0\0%__widl_f_width_SVGFEDropShadowElement\0\0\x01\x16SVGFEDropShadowElement\x01\0\x01\x05width\x01\x05width\0\0\0&__widl_f_height_SVGFEDropShadowElement\0\0\x01\x16SVGFEDropShadowElement\x01\0\x01\x06height\x01\x06height\0\0\0&__widl_f_result_SVGFEDropShadowElement\0\0\x01\x16SVGFEDropShadowElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x11SVGFEFloodElement#__widl_instanceof_SVGFEFloodElement\0\0\0\0\x1C__widl_f_x_SVGFEFloodElement\0\0\x01\x11SVGFEFloodElement\x01\0\x01\x01x\x01\x01x\0\0\0\x1C__widl_f_y_SVGFEFloodElement\0\0\x01\x11SVGFEFloodElement\x01\0\x01\x01y\x01\x01y\0\0\0 __widl_f_width_SVGFEFloodElement\0\0\x01\x11SVGFEFloodElement\x01\0\x01\x05width\x01\x05width\0\0\0!__widl_f_height_SVGFEFloodElement\0\0\x01\x11SVGFEFloodElement\x01\0\x01\x06height\x01\x06height\0\0\0!__widl_f_result_SVGFEFloodElement\0\0\x01\x11SVGFEFloodElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x11SVGFEFuncAElement#__widl_instanceof_SVGFEFuncAElement\0\0\0\x02\x11SVGFEFuncBElement#__widl_instanceof_SVGFEFuncBElement\0\0\0\x02\x11SVGFEFuncGElement#__widl_instanceof_SVGFEFuncGElement\0\0\0\x02\x11SVGFEFuncRElement#__widl_instanceof_SVGFEFuncRElement\0\0\0\x02\x18SVGFEGaussianBlurElement*__widl_instanceof_SVGFEGaussianBlurElement\0\0\0\03__widl_f_set_std_deviation_SVGFEGaussianBlurElement\0\0\x01\x18SVGFEGaussianBlurElement\x01\0\0\x01\x0FsetStdDeviation\0\0\0%__widl_f_in1_SVGFEGaussianBlurElement\0\0\x01\x18SVGFEGaussianBlurElement\x01\0\x01\x03in1\x01\x03in1\0\0\01__widl_f_std_deviation_x_SVGFEGaussianBlurElement\0\0\x01\x18SVGFEGaussianBlurElement\x01\0\x01\rstdDeviationX\x01\rstdDeviationX\0\0\01__widl_f_std_deviation_y_SVGFEGaussianBlurElement\0\0\x01\x18SVGFEGaussianBlurElement\x01\0\x01\rstdDeviationY\x01\rstdDeviationY\0\0\0#__widl_f_x_SVGFEGaussianBlurElement\0\0\x01\x18SVGFEGaussianBlurElement\x01\0\x01\x01x\x01\x01x\0\0\0#__widl_f_y_SVGFEGaussianBlurElement\0\0\x01\x18SVGFEGaussianBlurElement\x01\0\x01\x01y\x01\x01y\0\0\0'__widl_f_width_SVGFEGaussianBlurElement\0\0\x01\x18SVGFEGaussianBlurElement\x01\0\x01\x05width\x01\x05width\0\0\0(__widl_f_height_SVGFEGaussianBlurElement\0\0\x01\x18SVGFEGaussianBlurElement\x01\0\x01\x06height\x01\x06height\0\0\0(__widl_f_result_SVGFEGaussianBlurElement\0\0\x01\x18SVGFEGaussianBlurElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x11SVGFEImageElement#__widl_instanceof_SVGFEImageElement\0\0\0\00__widl_f_preserve_aspect_ratio_SVGFEImageElement\0\0\x01\x11SVGFEImageElement\x01\0\x01\x13preserveAspectRatio\x01\x13preserveAspectRatio\0\0\0\x1C__widl_f_x_SVGFEImageElement\0\0\x01\x11SVGFEImageElement\x01\0\x01\x01x\x01\x01x\0\0\0\x1C__widl_f_y_SVGFEImageElement\0\0\x01\x11SVGFEImageElement\x01\0\x01\x01y\x01\x01y\0\0\0 __widl_f_width_SVGFEImageElement\0\0\x01\x11SVGFEImageElement\x01\0\x01\x05width\x01\x05width\0\0\0!__widl_f_height_SVGFEImageElement\0\0\x01\x11SVGFEImageElement\x01\0\x01\x06height\x01\x06height\0\0\0!__widl_f_result_SVGFEImageElement\0\0\x01\x11SVGFEImageElement\x01\0\x01\x06result\x01\x06result\0\0\0\x1F__widl_f_href_SVGFEImageElement\0\0\x01\x11SVGFEImageElement\x01\0\x01\x04href\x01\x04href\0\0\x02\x11SVGFEMergeElement#__widl_instanceof_SVGFEMergeElement\0\0\0\0\x1C__widl_f_x_SVGFEMergeElement\0\0\x01\x11SVGFEMergeElement\x01\0\x01\x01x\x01\x01x\0\0\0\x1C__widl_f_y_SVGFEMergeElement\0\0\x01\x11SVGFEMergeElement\x01\0\x01\x01y\x01\x01y\0\0\0 __widl_f_width_SVGFEMergeElement\0\0\x01\x11SVGFEMergeElement\x01\0\x01\x05width\x01\x05width\0\0\0!__widl_f_height_SVGFEMergeElement\0\0\x01\x11SVGFEMergeElement\x01\0\x01\x06height\x01\x06height\0\0\0!__widl_f_result_SVGFEMergeElement\0\0\x01\x11SVGFEMergeElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x15SVGFEMergeNodeElement'__widl_instanceof_SVGFEMergeNodeElement\0\0\0\0\"__widl_f_in1_SVGFEMergeNodeElement\0\0\x01\x15SVGFEMergeNodeElement\x01\0\x01\x03in1\x01\x03in1\0\0\x02\x16SVGFEMorphologyElement(__widl_instanceof_SVGFEMorphologyElement\0\0\0\0#__widl_f_in1_SVGFEMorphologyElement\0\0\x01\x16SVGFEMorphologyElement\x01\0\x01\x03in1\x01\x03in1\0\0\0(__widl_f_operator_SVGFEMorphologyElement\0\0\x01\x16SVGFEMorphologyElement\x01\0\x01\x08operator\x01\x08operator\0\0\0(__widl_f_radius_x_SVGFEMorphologyElement\0\0\x01\x16SVGFEMorphologyElement\x01\0\x01\x07radiusX\x01\x07radiusX\0\0\0(__widl_f_radius_y_SVGFEMorphologyElement\0\0\x01\x16SVGFEMorphologyElement\x01\0\x01\x07radiusY\x01\x07radiusY\0\0\0!__widl_f_x_SVGFEMorphologyElement\0\0\x01\x16SVGFEMorphologyElement\x01\0\x01\x01x\x01\x01x\0\0\0!__widl_f_y_SVGFEMorphologyElement\0\0\x01\x16SVGFEMorphologyElement\x01\0\x01\x01y\x01\x01y\0\0\0%__widl_f_width_SVGFEMorphologyElement\0\0\x01\x16SVGFEMorphologyElement\x01\0\x01\x05width\x01\x05width\0\0\0&__widl_f_height_SVGFEMorphologyElement\0\0\x01\x16SVGFEMorphologyElement\x01\0\x01\x06height\x01\x06height\0\0\0&__widl_f_result_SVGFEMorphologyElement\0\0\x01\x16SVGFEMorphologyElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x12SVGFEOffsetElement$__widl_instanceof_SVGFEOffsetElement\0\0\0\0\x1F__widl_f_in1_SVGFEOffsetElement\0\0\x01\x12SVGFEOffsetElement\x01\0\x01\x03in1\x01\x03in1\0\0\0\x1E__widl_f_dx_SVGFEOffsetElement\0\0\x01\x12SVGFEOffsetElement\x01\0\x01\x02dx\x01\x02dx\0\0\0\x1E__widl_f_dy_SVGFEOffsetElement\0\0\x01\x12SVGFEOffsetElement\x01\0\x01\x02dy\x01\x02dy\0\0\0\x1D__widl_f_x_SVGFEOffsetElement\0\0\x01\x12SVGFEOffsetElement\x01\0\x01\x01x\x01\x01x\0\0\0\x1D__widl_f_y_SVGFEOffsetElement\0\0\x01\x12SVGFEOffsetElement\x01\0\x01\x01y\x01\x01y\0\0\0!__widl_f_width_SVGFEOffsetElement\0\0\x01\x12SVGFEOffsetElement\x01\0\x01\x05width\x01\x05width\0\0\0\"__widl_f_height_SVGFEOffsetElement\0\0\x01\x12SVGFEOffsetElement\x01\0\x01\x06height\x01\x06height\0\0\0\"__widl_f_result_SVGFEOffsetElement\0\0\x01\x12SVGFEOffsetElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x16SVGFEPointLightElement(__widl_instanceof_SVGFEPointLightElement\0\0\0\0!__widl_f_x_SVGFEPointLightElement\0\0\x01\x16SVGFEPointLightElement\x01\0\x01\x01x\x01\x01x\0\0\0!__widl_f_y_SVGFEPointLightElement\0\0\x01\x16SVGFEPointLightElement\x01\0\x01\x01y\x01\x01y\0\0\0!__widl_f_z_SVGFEPointLightElement\0\0\x01\x16SVGFEPointLightElement\x01\0\x01\x01z\x01\x01z\0\0\x02\x1CSVGFESpecularLightingElement.__widl_instanceof_SVGFESpecularLightingElement\0\0\0\0)__widl_f_in1_SVGFESpecularLightingElement\0\0\x01\x1CSVGFESpecularLightingElement\x01\0\x01\x03in1\x01\x03in1\0\0\03__widl_f_surface_scale_SVGFESpecularLightingElement\0\0\x01\x1CSVGFESpecularLightingElement\x01\0\x01\x0CsurfaceScale\x01\x0CsurfaceScale\0\0\07__widl_f_specular_constant_SVGFESpecularLightingElement\0\0\x01\x1CSVGFESpecularLightingElement\x01\0\x01\x10specularConstant\x01\x10specularConstant\0\0\07__widl_f_specular_exponent_SVGFESpecularLightingElement\0\0\x01\x1CSVGFESpecularLightingElement\x01\0\x01\x10specularExponent\x01\x10specularExponent\0\0\0:__widl_f_kernel_unit_length_x_SVGFESpecularLightingElement\0\0\x01\x1CSVGFESpecularLightingElement\x01\0\x01\x11kernelUnitLengthX\x01\x11kernelUnitLengthX\0\0\0:__widl_f_kernel_unit_length_y_SVGFESpecularLightingElement\0\0\x01\x1CSVGFESpecularLightingElement\x01\0\x01\x11kernelUnitLengthY\x01\x11kernelUnitLengthY\0\0\0'__widl_f_x_SVGFESpecularLightingElement\0\0\x01\x1CSVGFESpecularLightingElement\x01\0\x01\x01x\x01\x01x\0\0\0'__widl_f_y_SVGFESpecularLightingElement\0\0\x01\x1CSVGFESpecularLightingElement\x01\0\x01\x01y\x01\x01y\0\0\0+__widl_f_width_SVGFESpecularLightingElement\0\0\x01\x1CSVGFESpecularLightingElement\x01\0\x01\x05width\x01\x05width\0\0\0,__widl_f_height_SVGFESpecularLightingElement\0\0\x01\x1CSVGFESpecularLightingElement\x01\0\x01\x06height\x01\x06height\0\0\0,__widl_f_result_SVGFESpecularLightingElement\0\0\x01\x1CSVGFESpecularLightingElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x15SVGFESpotLightElement'__widl_instanceof_SVGFESpotLightElement\0\0\0\0 __widl_f_x_SVGFESpotLightElement\0\0\x01\x15SVGFESpotLightElement\x01\0\x01\x01x\x01\x01x\0\0\0 __widl_f_y_SVGFESpotLightElement\0\0\x01\x15SVGFESpotLightElement\x01\0\x01\x01y\x01\x01y\0\0\0 __widl_f_z_SVGFESpotLightElement\0\0\x01\x15SVGFESpotLightElement\x01\0\x01\x01z\x01\x01z\0\0\0*__widl_f_points_at_x_SVGFESpotLightElement\0\0\x01\x15SVGFESpotLightElement\x01\0\x01\tpointsAtX\x01\tpointsAtX\0\0\0*__widl_f_points_at_y_SVGFESpotLightElement\0\0\x01\x15SVGFESpotLightElement\x01\0\x01\tpointsAtY\x01\tpointsAtY\0\0\0*__widl_f_points_at_z_SVGFESpotLightElement\0\0\x01\x15SVGFESpotLightElement\x01\0\x01\tpointsAtZ\x01\tpointsAtZ\0\0\00__widl_f_specular_exponent_SVGFESpotLightElement\0\0\x01\x15SVGFESpotLightElement\x01\0\x01\x10specularExponent\x01\x10specularExponent\0\0\02__widl_f_limiting_cone_angle_SVGFESpotLightElement\0\0\x01\x15SVGFESpotLightElement\x01\0\x01\x11limitingConeAngle\x01\x11limitingConeAngle\0\0\x02\x10SVGFETileElement\"__widl_instanceof_SVGFETileElement\0\0\0\0\x1D__widl_f_in1_SVGFETileElement\0\0\x01\x10SVGFETileElement\x01\0\x01\x03in1\x01\x03in1\0\0\0\x1B__widl_f_x_SVGFETileElement\0\0\x01\x10SVGFETileElement\x01\0\x01\x01x\x01\x01x\0\0\0\x1B__widl_f_y_SVGFETileElement\0\0\x01\x10SVGFETileElement\x01\0\x01\x01y\x01\x01y\0\0\0\x1F__widl_f_width_SVGFETileElement\0\0\x01\x10SVGFETileElement\x01\0\x01\x05width\x01\x05width\0\0\0 __widl_f_height_SVGFETileElement\0\0\x01\x10SVGFETileElement\x01\0\x01\x06height\x01\x06height\0\0\0 __widl_f_result_SVGFETileElement\0\0\x01\x10SVGFETileElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x16SVGFETurbulenceElement(__widl_instanceof_SVGFETurbulenceElement\0\0\0\00__widl_f_base_frequency_x_SVGFETurbulenceElement\0\0\x01\x16SVGFETurbulenceElement\x01\0\x01\x0EbaseFrequencyX\x01\x0EbaseFrequencyX\0\0\00__widl_f_base_frequency_y_SVGFETurbulenceElement\0\0\x01\x16SVGFETurbulenceElement\x01\0\x01\x0EbaseFrequencyY\x01\x0EbaseFrequencyY\0\0\0+__widl_f_num_octaves_SVGFETurbulenceElement\0\0\x01\x16SVGFETurbulenceElement\x01\0\x01\nnumOctaves\x01\nnumOctaves\0\0\0$__widl_f_seed_SVGFETurbulenceElement\0\0\x01\x16SVGFETurbulenceElement\x01\0\x01\x04seed\x01\x04seed\0\0\0,__widl_f_stitch_tiles_SVGFETurbulenceElement\0\0\x01\x16SVGFETurbulenceElement\x01\0\x01\x0BstitchTiles\x01\x0BstitchTiles\0\0\0$__widl_f_type_SVGFETurbulenceElement\0\0\x01\x16SVGFETurbulenceElement\x01\0\x01\x04type\x01\x04type\0\0\0!__widl_f_x_SVGFETurbulenceElement\0\0\x01\x16SVGFETurbulenceElement\x01\0\x01\x01x\x01\x01x\0\0\0!__widl_f_y_SVGFETurbulenceElement\0\0\x01\x16SVGFETurbulenceElement\x01\0\x01\x01y\x01\x01y\0\0\0%__widl_f_width_SVGFETurbulenceElement\0\0\x01\x16SVGFETurbulenceElement\x01\0\x01\x05width\x01\x05width\0\0\0&__widl_f_height_SVGFETurbulenceElement\0\0\x01\x16SVGFETurbulenceElement\x01\0\x01\x06height\x01\x06height\0\0\0&__widl_f_result_SVGFETurbulenceElement\0\0\x01\x16SVGFETurbulenceElement\x01\0\x01\x06result\x01\x06result\0\0\x02\x10SVGFilterElement\"__widl_instanceof_SVGFilterElement\0\0\0\0&__widl_f_filter_units_SVGFilterElement\0\0\x01\x10SVGFilterElement\x01\0\x01\x0BfilterUnits\x01\x0BfilterUnits\0\0\0)__widl_f_primitive_units_SVGFilterElement\0\0\x01\x10SVGFilterElement\x01\0\x01\x0EprimitiveUnits\x01\x0EprimitiveUnits\0\0\0\x1B__widl_f_x_SVGFilterElement\0\0\x01\x10SVGFilterElement\x01\0\x01\x01x\x01\x01x\0\0\0\x1B__widl_f_y_SVGFilterElement\0\0\x01\x10SVGFilterElement\x01\0\x01\x01y\x01\x01y\0\0\0\x1F__widl_f_width_SVGFilterElement\0\0\x01\x10SVGFilterElement\x01\0\x01\x05width\x01\x05width\0\0\0 __widl_f_height_SVGFilterElement\0\0\x01\x10SVGFilterElement\x01\0\x01\x06height\x01\x06height\0\0\0\x1E__widl_f_href_SVGFilterElement\0\0\x01\x10SVGFilterElement\x01\0\x01\x04href\x01\x04href\0\0\x02\x17SVGForeignObjectElement)__widl_instanceof_SVGForeignObjectElement\0\0\0\0\"__widl_f_x_SVGForeignObjectElement\0\0\x01\x17SVGForeignObjectElement\x01\0\x01\x01x\x01\x01x\0\0\0\"__widl_f_y_SVGForeignObjectElement\0\0\x01\x17SVGForeignObjectElement\x01\0\x01\x01y\x01\x01y\0\0\0&__widl_f_width_SVGForeignObjectElement\0\0\x01\x17SVGForeignObjectElement\x01\0\x01\x05width\x01\x05width\0\0\0'__widl_f_height_SVGForeignObjectElement\0\0\x01\x17SVGForeignObjectElement\x01\0\x01\x06height\x01\x06height\0\0\x02\x0BSVGGElement\x1D__widl_instanceof_SVGGElement\0\0\0\x02\x12SVGGeometryElement$__widl_instanceof_SVGGeometryElement\0\0\0\0/__widl_f_get_point_at_length_SVGGeometryElement\x01\0\x01\x12SVGGeometryElement\x01\0\0\x01\x10getPointAtLength\0\0\0,__widl_f_get_total_length_SVGGeometryElement\0\0\x01\x12SVGGeometryElement\x01\0\0\x01\x0EgetTotalLength\0\0\0'__widl_f_path_length_SVGGeometryElement\0\0\x01\x12SVGGeometryElement\x01\0\x01\npathLength\x01\npathLength\0\0\x02\x12SVGGradientElement$__widl_instanceof_SVGGradientElement\0\0\0\0*__widl_f_gradient_units_SVGGradientElement\0\0\x01\x12SVGGradientElement\x01\0\x01\rgradientUnits\x01\rgradientUnits\0\0\0.__widl_f_gradient_transform_SVGGradientElement\0\0\x01\x12SVGGradientElement\x01\0\x01\x11gradientTransform\x01\x11gradientTransform\0\0\0)__widl_f_spread_method_SVGGradientElement\0\0\x01\x12SVGGradientElement\x01\0\x01\x0CspreadMethod\x01\x0CspreadMethod\0\0\0 __widl_f_href_SVGGradientElement\0\0\x01\x12SVGGradientElement\x01\0\x01\x04href\x01\x04href\0\0\x02\x12SVGGraphicsElement$__widl_instanceof_SVGGraphicsElement\0\0\0\0%__widl_f_get_b_box_SVGGraphicsElement\x01\0\x01\x12SVGGraphicsElement\x01\0\0\x01\x07getBBox\0\0\04__widl_f_get_b_box_with_a_options_SVGGraphicsElement\x01\0\x01\x12SVGGraphicsElement\x01\0\0\x01\x07getBBox\0\0\0#__widl_f_get_ctm_SVGGraphicsElement\0\0\x01\x12SVGGraphicsElement\x01\0\0\x01\x06getCTM\0\0\0*__widl_f_get_screen_ctm_SVGGraphicsElement\0\0\x01\x12SVGGraphicsElement\x01\0\0\x01\x0CgetScreenCTM\0\0\04__widl_f_get_transform_to_element_SVGGraphicsElement\x01\0\x01\x12SVGGraphicsElement\x01\0\0\x01\x15getTransformToElement\0\0\0%__widl_f_transform_SVGGraphicsElement\0\0\x01\x12SVGGraphicsElement\x01\0\x01\ttransform\x01\ttransform\0\0\04__widl_f_nearest_viewport_element_SVGGraphicsElement\0\0\x01\x12SVGGraphicsElement\x01\0\x01\x16nearestViewportElement\x01\x16nearestViewportElement\0\0\05__widl_f_farthest_viewport_element_SVGGraphicsElement\0\0\x01\x12SVGGraphicsElement\x01\0\x01\x17farthestViewportElement\x01\x17farthestViewportElement\0\0\0)__widl_f_has_extension_SVGGraphicsElement\0\0\x01\x12SVGGraphicsElement\x01\0\0\x01\x0ChasExtension\0\0\0-__widl_f_required_features_SVGGraphicsElement\0\0\x01\x12SVGGraphicsElement\x01\0\x01\x10requiredFeatures\x01\x10requiredFeatures\0\0\0/__widl_f_required_extensions_SVGGraphicsElement\0\0\x01\x12SVGGraphicsElement\x01\0\x01\x12requiredExtensions\x01\x12requiredExtensions\0\0\0+__widl_f_system_language_SVGGraphicsElement\0\0\x01\x12SVGGraphicsElement\x01\0\x01\x0EsystemLanguage\x01\x0EsystemLanguage\0\0\x02\x0FSVGImageElement!__widl_instanceof_SVGImageElement\0\0\0\0\x1A__widl_f_x_SVGImageElement\0\0\x01\x0FSVGImageElement\x01\0\x01\x01x\x01\x01x\0\0\0\x1A__widl_f_y_SVGImageElement\0\0\x01\x0FSVGImageElement\x01\0\x01\x01y\x01\x01y\0\0\0\x1E__widl_f_width_SVGImageElement\0\0\x01\x0FSVGImageElement\x01\0\x01\x05width\x01\x05width\0\0\0\x1F__widl_f_height_SVGImageElement\0\0\x01\x0FSVGImageElement\x01\0\x01\x06height\x01\x06height\0\0\0.__widl_f_preserve_aspect_ratio_SVGImageElement\0\0\x01\x0FSVGImageElement\x01\0\x01\x13preserveAspectRatio\x01\x13preserveAspectRatio\0\0\0\x1D__widl_f_href_SVGImageElement\0\0\x01\x0FSVGImageElement\x01\0\x01\x04href\x01\x04href\0\0\x02\tSVGLength\x1B__widl_instanceof_SVGLength\0\0\0\0-__widl_f_convert_to_specified_units_SVGLength\x01\0\x01\tSVGLength\x01\0\0\x01\x17convertToSpecifiedUnits\0\0\0,__widl_f_new_value_specified_units_SVGLength\x01\0\x01\tSVGLength\x01\0\0\x01\x16newValueSpecifiedUnits\0\0\0\x1C__widl_f_unit_type_SVGLength\0\0\x01\tSVGLength\x01\0\x01\x08unitType\x01\x08unitType\0\0\0\x18__widl_f_value_SVGLength\x01\0\x01\tSVGLength\x01\0\x01\x05value\x01\x05value\0\0\0\x1C__widl_f_set_value_SVGLength\x01\0\x01\tSVGLength\x01\0\x02\x05value\x01\x05value\0\0\0+__widl_f_value_in_specified_units_SVGLength\0\0\x01\tSVGLength\x01\0\x01\x15valueInSpecifiedUnits\x01\x15valueInSpecifiedUnits\0\0\0/__widl_f_set_value_in_specified_units_SVGLength\0\0\x01\tSVGLength\x01\0\x02\x15valueInSpecifiedUnits\x01\x15valueInSpecifiedUnits\0\0\0\"__widl_f_value_as_string_SVGLength\0\0\x01\tSVGLength\x01\0\x01\rvalueAsString\x01\rvalueAsString\0\0\0&__widl_f_set_value_as_string_SVGLength\0\0\x01\tSVGLength\x01\0\x02\rvalueAsString\x01\rvalueAsString\0\0\x02\rSVGLengthList\x1F__widl_instanceof_SVGLengthList\0\0\0\0\"__widl_f_append_item_SVGLengthList\x01\0\x01\rSVGLengthList\x01\0\0\x01\nappendItem\0\0\0\x1C__widl_f_clear_SVGLengthList\x01\0\x01\rSVGLengthList\x01\0\0\x01\x05clear\0\0\0\x1F__widl_f_get_item_SVGLengthList\x01\0\x01\rSVGLengthList\x01\0\0\x01\x07getItem\0\0\0!__widl_f_initialize_SVGLengthList\x01\0\x01\rSVGLengthList\x01\0\0\x01\ninitialize\0\0\0)__widl_f_insert_item_before_SVGLengthList\x01\0\x01\rSVGLengthList\x01\0\0\x01\x10insertItemBefore\0\0\0\"__widl_f_remove_item_SVGLengthList\x01\0\x01\rSVGLengthList\x01\0\0\x01\nremoveItem\0\0\0#__widl_f_replace_item_SVGLengthList\x01\0\x01\rSVGLengthList\x01\0\0\x01\x0BreplaceItem\0\0\0\x1A__widl_f_get_SVGLengthList\x01\0\x01\rSVGLengthList\x01\0\x03\x01\x03get\0\0\0&__widl_f_number_of_items_SVGLengthList\0\0\x01\rSVGLengthList\x01\0\x01\rnumberOfItems\x01\rnumberOfItems\0\0\x02\x0ESVGLineElement __widl_instanceof_SVGLineElement\0\0\0\0\x1A__widl_f_x1_SVGLineElement\0\0\x01\x0ESVGLineElement\x01\0\x01\x02x1\x01\x02x1\0\0\0\x1A__widl_f_y1_SVGLineElement\0\0\x01\x0ESVGLineElement\x01\0\x01\x02y1\x01\x02y1\0\0\0\x1A__widl_f_x2_SVGLineElement\0\0\x01\x0ESVGLineElement\x01\0\x01\x02x2\x01\x02x2\0\0\0\x1A__widl_f_y2_SVGLineElement\0\0\x01\x0ESVGLineElement\x01\0\x01\x02y2\x01\x02y2\0\0\x02\x18SVGLinearGradientElement*__widl_instanceof_SVGLinearGradientElement\0\0\0\0$__widl_f_x1_SVGLinearGradientElement\0\0\x01\x18SVGLinearGradientElement\x01\0\x01\x02x1\x01\x02x1\0\0\0$__widl_f_y1_SVGLinearGradientElement\0\0\x01\x18SVGLinearGradientElement\x01\0\x01\x02y1\x01\x02y1\0\0\0$__widl_f_x2_SVGLinearGradientElement\0\0\x01\x18SVGLinearGradientElement\x01\0\x01\x02x2\x01\x02x2\0\0\0$__widl_f_y2_SVGLinearGradientElement\0\0\x01\x18SVGLinearGradientElement\x01\0\x01\x02y2\x01\x02y2\0\0\x02\x0FSVGMPathElement!__widl_instanceof_SVGMPathElement\0\0\0\0\x1D__widl_f_href_SVGMPathElement\0\0\x01\x0FSVGMPathElement\x01\0\x01\x04href\x01\x04href\0\0\x02\x10SVGMarkerElement\"__widl_instanceof_SVGMarkerElement\0\0\0\0-__widl_f_set_orient_to_angle_SVGMarkerElement\x01\0\x01\x10SVGMarkerElement\x01\0\0\x01\x10setOrientToAngle\0\0\0,__widl_f_set_orient_to_auto_SVGMarkerElement\0\0\x01\x10SVGMarkerElement\x01\0\0\x01\x0FsetOrientToAuto\0\0\0\x1F__widl_f_ref_x_SVGMarkerElement\0\0\x01\x10SVGMarkerElement\x01\0\x01\x04refX\x01\x04refX\0\0\0\x1F__widl_f_ref_y_SVGMarkerElement\0\0\x01\x10SVGMarkerElement\x01\0\x01\x04refY\x01\x04refY\0\0\0&__widl_f_marker_units_SVGMarkerElement\0\0\x01\x10SVGMarkerElement\x01\0\x01\x0BmarkerUnits\x01\x0BmarkerUnits\0\0\0&__widl_f_marker_width_SVGMarkerElement\0\0\x01\x10SVGMarkerElement\x01\0\x01\x0BmarkerWidth\x01\x0BmarkerWidth\0\0\0'__widl_f_marker_height_SVGMarkerElement\0\0\x01\x10SVGMarkerElement\x01\0\x01\x0CmarkerHeight\x01\x0CmarkerHeight\0\0\0%__widl_f_orient_type_SVGMarkerElement\0\0\x01\x10SVGMarkerElement\x01\0\x01\norientType\x01\norientType\0\0\0&__widl_f_orient_angle_SVGMarkerElement\0\0\x01\x10SVGMarkerElement\x01\0\x01\x0BorientAngle\x01\x0BorientAngle\0\0\0\"__widl_f_view_box_SVGMarkerElement\0\0\x01\x10SVGMarkerElement\x01\0\x01\x07viewBox\x01\x07viewBox\0\0\0/__widl_f_preserve_aspect_ratio_SVGMarkerElement\0\0\x01\x10SVGMarkerElement\x01\0\x01\x13preserveAspectRatio\x01\x13preserveAspectRatio\0\0\x02\x0ESVGMaskElement __widl_instanceof_SVGMaskElement\0\0\0\0\"__widl_f_mask_units_SVGMaskElement\0\0\x01\x0ESVGMaskElement\x01\0\x01\tmaskUnits\x01\tmaskUnits\0\0\0*__widl_f_mask_content_units_SVGMaskElement\0\0\x01\x0ESVGMaskElement\x01\0\x01\x10maskContentUnits\x01\x10maskContentUnits\0\0\0\x19__widl_f_x_SVGMaskElement\0\0\x01\x0ESVGMaskElement\x01\0\x01\x01x\x01\x01x\0\0\0\x19__widl_f_y_SVGMaskElement\0\0\x01\x0ESVGMaskElement\x01\0\x01\x01y\x01\x01y\0\0\0\x1D__widl_f_width_SVGMaskElement\0\0\x01\x0ESVGMaskElement\x01\0\x01\x05width\x01\x05width\0\0\0\x1E__widl_f_height_SVGMaskElement\0\0\x01\x0ESVGMaskElement\x01\0\x01\x06height\x01\x06height\0\0\x02\tSVGMatrix\x1B__widl_instanceof_SVGMatrix\0\0\0\0\x19__widl_f_flip_x_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\0\x01\x05flipX\0\0\0\x19__widl_f_flip_y_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\0\x01\x05flipY\0\0\0\x1A__widl_f_inverse_SVGMatrix\x01\0\x01\tSVGMatrix\x01\0\0\x01\x07inverse\0\0\0\x1B__widl_f_multiply_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\0\x01\x08multiply\0\0\0\x19__widl_f_rotate_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\0\x01\x06rotate\0\0\0%__widl_f_rotate_from_vector_SVGMatrix\x01\0\x01\tSVGMatrix\x01\0\0\x01\x10rotateFromVector\0\0\0\x18__widl_f_scale_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\0\x01\x05scale\0\0\0$__widl_f_scale_non_uniform_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\0\x01\x0FscaleNonUniform\0\0\0\x19__widl_f_skew_x_SVGMatrix\x01\0\x01\tSVGMatrix\x01\0\0\x01\x05skewX\0\0\0\x19__widl_f_skew_y_SVGMatrix\x01\0\x01\tSVGMatrix\x01\0\0\x01\x05skewY\0\0\0\x1C__widl_f_translate_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\0\x01\ttranslate\0\0\0\x14__widl_f_a_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\x01\x01a\x01\x01a\0\0\0\x18__widl_f_set_a_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\x02\x01a\x01\x01a\0\0\0\x14__widl_f_b_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\x01\x01b\x01\x01b\0\0\0\x18__widl_f_set_b_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\x02\x01b\x01\x01b\0\0\0\x14__widl_f_c_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\x01\x01c\x01\x01c\0\0\0\x18__widl_f_set_c_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\x02\x01c\x01\x01c\0\0\0\x14__widl_f_d_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\x01\x01d\x01\x01d\0\0\0\x18__widl_f_set_d_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\x02\x01d\x01\x01d\0\0\0\x14__widl_f_e_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\x01\x01e\x01\x01e\0\0\0\x18__widl_f_set_e_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\x02\x01e\x01\x01e\0\0\0\x14__widl_f_f_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\x01\x01f\x01\x01f\0\0\0\x18__widl_f_set_f_SVGMatrix\0\0\x01\tSVGMatrix\x01\0\x02\x01f\x01\x01f\0\0\x02\x12SVGMetadataElement$__widl_instanceof_SVGMetadataElement\0\0\0\x02\tSVGNumber\x1B__widl_instanceof_SVGNumber\0\0\0\0\x18__widl_f_value_SVGNumber\0\0\x01\tSVGNumber\x01\0\x01\x05value\x01\x05value\0\0\0\x1C__widl_f_set_value_SVGNumber\0\0\x01\tSVGNumber\x01\0\x02\x05value\x01\x05value\0\0\x02\rSVGNumberList\x1F__widl_instanceof_SVGNumberList\0\0\0\0\"__widl_f_append_item_SVGNumberList\x01\0\x01\rSVGNumberList\x01\0\0\x01\nappendItem\0\0\0\x1C__widl_f_clear_SVGNumberList\x01\0\x01\rSVGNumberList\x01\0\0\x01\x05clear\0\0\0\x1F__widl_f_get_item_SVGNumberList\x01\0\x01\rSVGNumberList\x01\0\0\x01\x07getItem\0\0\0!__widl_f_initialize_SVGNumberList\x01\0\x01\rSVGNumberList\x01\0\0\x01\ninitialize\0\0\0)__widl_f_insert_item_before_SVGNumberList\x01\0\x01\rSVGNumberList\x01\0\0\x01\x10insertItemBefore\0\0\0\"__widl_f_remove_item_SVGNumberList\x01\0\x01\rSVGNumberList\x01\0\0\x01\nremoveItem\0\0\0#__widl_f_replace_item_SVGNumberList\x01\0\x01\rSVGNumberList\x01\0\0\x01\x0BreplaceItem\0\0\0\x1A__widl_f_get_SVGNumberList\x01\0\x01\rSVGNumberList\x01\0\x03\x01\x03get\0\0\0&__widl_f_number_of_items_SVGNumberList\0\0\x01\rSVGNumberList\x01\0\x01\rnumberOfItems\x01\rnumberOfItems\0\0\x02\x0ESVGPathElement __widl_instanceof_SVGPathElement\0\0\0\0.__widl_f_get_path_seg_at_length_SVGPathElement\0\0\x01\x0ESVGPathElement\x01\0\0\x01\x12getPathSegAtLength\0\0\0%__widl_f_path_seg_list_SVGPathElement\0\0\x01\x0ESVGPathElement\x01\0\x01\x0BpathSegList\x01\x0BpathSegList\0\0\0.__widl_f_animated_path_seg_list_SVGPathElement\0\0\x01\x0ESVGPathElement\x01\0\x01\x13animatedPathSegList\x01\x13animatedPathSegList\0\0\x02\x0ESVGPathSegList __widl_instanceof_SVGPathSegList\0\0\0\0'__widl_f_number_of_items_SVGPathSegList\0\0\x01\x0ESVGPathSegList\x01\0\x01\rnumberOfItems\x01\rnumberOfItems\0\0\x02\x11SVGPatternElement#__widl_instanceof_SVGPatternElement\0\0\0\0(__widl_f_pattern_units_SVGPatternElement\0\0\x01\x11SVGPatternElement\x01\0\x01\x0CpatternUnits\x01\x0CpatternUnits\0\0\00__widl_f_pattern_content_units_SVGPatternElement\0\0\x01\x11SVGPatternElement\x01\0\x01\x13patternContentUnits\x01\x13patternContentUnits\0\0\0,__widl_f_pattern_transform_SVGPatternElement\0\0\x01\x11SVGPatternElement\x01\0\x01\x10patternTransform\x01\x10patternTransform\0\0\0\x1C__widl_f_x_SVGPatternElement\0\0\x01\x11SVGPatternElement\x01\0\x01\x01x\x01\x01x\0\0\0\x1C__widl_f_y_SVGPatternElement\0\0\x01\x11SVGPatternElement\x01\0\x01\x01y\x01\x01y\0\0\0 __widl_f_width_SVGPatternElement\0\0\x01\x11SVGPatternElement\x01\0\x01\x05width\x01\x05width\0\0\0!__widl_f_height_SVGPatternElement\0\0\x01\x11SVGPatternElement\x01\0\x01\x06height\x01\x06height\0\0\0#__widl_f_view_box_SVGPatternElement\0\0\x01\x11SVGPatternElement\x01\0\x01\x07viewBox\x01\x07viewBox\0\0\00__widl_f_preserve_aspect_ratio_SVGPatternElement\0\0\x01\x11SVGPatternElement\x01\0\x01\x13preserveAspectRatio\x01\x13preserveAspectRatio\0\0\0\x1F__widl_f_href_SVGPatternElement\0\0\x01\x11SVGPatternElement\x01\0\x01\x04href\x01\x04href\0\0\x02\x08SVGPoint\x1A__widl_instanceof_SVGPoint\0\0\0\0\"__widl_f_matrix_transform_SVGPoint\0\0\x01\x08SVGPoint\x01\0\0\x01\x0FmatrixTransform\0\0\0\x13__widl_f_x_SVGPoint\0\0\x01\x08SVGPoint\x01\0\x01\x01x\x01\x01x\0\0\0\x17__widl_f_set_x_SVGPoint\0\0\x01\x08SVGPoint\x01\0\x02\x01x\x01\x01x\0\0\0\x13__widl_f_y_SVGPoint\0\0\x01\x08SVGPoint\x01\0\x01\x01y\x01\x01y\0\0\0\x17__widl_f_set_y_SVGPoint\0\0\x01\x08SVGPoint\x01\0\x02\x01y\x01\x01y\0\0\x02\x0CSVGPointList\x1E__widl_instanceof_SVGPointList\0\0\0\0!__widl_f_append_item_SVGPointList\x01\0\x01\x0CSVGPointList\x01\0\0\x01\nappendItem\0\0\0\x1B__widl_f_clear_SVGPointList\x01\0\x01\x0CSVGPointList\x01\0\0\x01\x05clear\0\0\0\x1E__widl_f_get_item_SVGPointList\x01\0\x01\x0CSVGPointList\x01\0\0\x01\x07getItem\0\0\0 __widl_f_initialize_SVGPointList\x01\0\x01\x0CSVGPointList\x01\0\0\x01\ninitialize\0\0\0(__widl_f_insert_item_before_SVGPointList\x01\0\x01\x0CSVGPointList\x01\0\0\x01\x10insertItemBefore\0\0\0!__widl_f_remove_item_SVGPointList\x01\0\x01\x0CSVGPointList\x01\0\0\x01\nremoveItem\0\0\0\"__widl_f_replace_item_SVGPointList\x01\0\x01\x0CSVGPointList\x01\0\0\x01\x0BreplaceItem\0\0\0\x19__widl_f_get_SVGPointList\x01\0\x01\x0CSVGPointList\x01\0\x03\x01\x03get\0\0\0%__widl_f_number_of_items_SVGPointList\0\0\x01\x0CSVGPointList\x01\0\x01\rnumberOfItems\x01\rnumberOfItems\0\0\x02\x11SVGPolygonElement#__widl_instanceof_SVGPolygonElement\0\0\0\0!__widl_f_points_SVGPolygonElement\0\0\x01\x11SVGPolygonElement\x01\0\x01\x06points\x01\x06points\0\0\0*__widl_f_animated_points_SVGPolygonElement\0\0\x01\x11SVGPolygonElement\x01\0\x01\x0EanimatedPoints\x01\x0EanimatedPoints\0\0\x02\x12SVGPolylineElement$__widl_instanceof_SVGPolylineElement\0\0\0\0\"__widl_f_points_SVGPolylineElement\0\0\x01\x12SVGPolylineElement\x01\0\x01\x06points\x01\x06points\0\0\0+__widl_f_animated_points_SVGPolylineElement\0\0\x01\x12SVGPolylineElement\x01\0\x01\x0EanimatedPoints\x01\x0EanimatedPoints\0\0\x02\x16SVGPreserveAspectRatio(__widl_instanceof_SVGPreserveAspectRatio\0\0\0\0%__widl_f_align_SVGPreserveAspectRatio\0\0\x01\x16SVGPreserveAspectRatio\x01\0\x01\x05align\x01\x05align\0\0\0)__widl_f_set_align_SVGPreserveAspectRatio\0\0\x01\x16SVGPreserveAspectRatio\x01\0\x02\x05align\x01\x05align\0\0\0-__widl_f_meet_or_slice_SVGPreserveAspectRatio\0\0\x01\x16SVGPreserveAspectRatio\x01\0\x01\x0BmeetOrSlice\x01\x0BmeetOrSlice\0\0\01__widl_f_set_meet_or_slice_SVGPreserveAspectRatio\0\0\x01\x16SVGPreserveAspectRatio\x01\0\x02\x0BmeetOrSlice\x01\x0BmeetOrSlice\0\0\x02\x18SVGRadialGradientElement*__widl_instanceof_SVGRadialGradientElement\0\0\0\0$__widl_f_cx_SVGRadialGradientElement\0\0\x01\x18SVGRadialGradientElement\x01\0\x01\x02cx\x01\x02cx\0\0\0$__widl_f_cy_SVGRadialGradientElement\0\0\x01\x18SVGRadialGradientElement\x01\0\x01\x02cy\x01\x02cy\0\0\0#__widl_f_r_SVGRadialGradientElement\0\0\x01\x18SVGRadialGradientElement\x01\0\x01\x01r\x01\x01r\0\0\0$__widl_f_fx_SVGRadialGradientElement\0\0\x01\x18SVGRadialGradientElement\x01\0\x01\x02fx\x01\x02fx\0\0\0$__widl_f_fy_SVGRadialGradientElement\0\0\x01\x18SVGRadialGradientElement\x01\0\x01\x02fy\x01\x02fy\0\0\0$__widl_f_fr_SVGRadialGradientElement\0\0\x01\x18SVGRadialGradientElement\x01\0\x01\x02fr\x01\x02fr\0\0\x02\x07SVGRect\x19__widl_instanceof_SVGRect\0\0\0\0\x12__widl_f_x_SVGRect\0\0\x01\x07SVGRect\x01\0\x01\x01x\x01\x01x\0\0\0\x16__widl_f_set_x_SVGRect\0\0\x01\x07SVGRect\x01\0\x02\x01x\x01\x01x\0\0\0\x12__widl_f_y_SVGRect\0\0\x01\x07SVGRect\x01\0\x01\x01y\x01\x01y\0\0\0\x16__widl_f_set_y_SVGRect\0\0\x01\x07SVGRect\x01\0\x02\x01y\x01\x01y\0\0\0\x16__widl_f_width_SVGRect\0\0\x01\x07SVGRect\x01\0\x01\x05width\x01\x05width\0\0\0\x1A__widl_f_set_width_SVGRect\0\0\x01\x07SVGRect\x01\0\x02\x05width\x01\x05width\0\0\0\x17__widl_f_height_SVGRect\0\0\x01\x07SVGRect\x01\0\x01\x06height\x01\x06height\0\0\0\x1B__widl_f_set_height_SVGRect\0\0\x01\x07SVGRect\x01\0\x02\x06height\x01\x06height\0\0\x02\x0ESVGRectElement __widl_instanceof_SVGRectElement\0\0\0\0\x19__widl_f_x_SVGRectElement\0\0\x01\x0ESVGRectElement\x01\0\x01\x01x\x01\x01x\0\0\0\x19__widl_f_y_SVGRectElement\0\0\x01\x0ESVGRectElement\x01\0\x01\x01y\x01\x01y\0\0\0\x1D__widl_f_width_SVGRectElement\0\0\x01\x0ESVGRectElement\x01\0\x01\x05width\x01\x05width\0\0\0\x1E__widl_f_height_SVGRectElement\0\0\x01\x0ESVGRectElement\x01\0\x01\x06height\x01\x06height\0\0\0\x1A__widl_f_rx_SVGRectElement\0\0\x01\x0ESVGRectElement\x01\0\x01\x02rx\x01\x02rx\0\0\0\x1A__widl_f_ry_SVGRectElement\0\0\x01\x0ESVGRectElement\x01\0\x01\x02ry\x01\x02ry\0\0\x02\rSVGSVGElement\x1F__widl_instanceof_SVGSVGElement\0\0\0\0(__widl_f_animations_paused_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x10animationsPaused\0\0\0'__widl_f_create_svg_angle_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x0EcreateSVGAngle\0\0\0(__widl_f_create_svg_length_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x0FcreateSVGLength\0\0\0(__widl_f_create_svg_matrix_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x0FcreateSVGMatrix\0\0\0(__widl_f_create_svg_number_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x0FcreateSVGNumber\0\0\0'__widl_f_create_svg_point_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x0EcreateSVGPoint\0\0\0&__widl_f_create_svg_rect_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\rcreateSVGRect\0\0\0+__widl_f_create_svg_transform_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x12createSVGTransform\0\0\07__widl_f_create_svg_transform_from_matrix_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x1CcreateSVGTransformFromMatrix\0\0\0#__widl_f_deselect_all_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x0BdeselectAll\0\0\0#__widl_f_force_redraw_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x0BforceRedraw\0\0\0'__widl_f_get_current_time_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x0EgetCurrentTime\0\0\0(__widl_f_get_element_by_id_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x0EgetElementById\0\0\0'__widl_f_pause_animations_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x0FpauseAnimations\0\0\0'__widl_f_set_current_time_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x0EsetCurrentTime\0\0\0%__widl_f_suspend_redraw_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\rsuspendRedraw\0\0\0)__widl_f_unpause_animations_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x11unpauseAnimations\0\0\0'__widl_f_unsuspend_redraw_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x0FunsuspendRedraw\0\0\0+__widl_f_unsuspend_redraw_all_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\0\x01\x12unsuspendRedrawAll\0\0\0\x18__widl_f_x_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\x01\x01x\x01\x01x\0\0\0\x18__widl_f_y_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\x01\x01y\x01\x01y\0\0\0\x1C__widl_f_width_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\x01\x05width\x01\x05width\0\0\0\x1D__widl_f_height_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\x01\x06height\x01\x06height\0\0\0'__widl_f_use_current_view_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\x01\x0EuseCurrentView\x01\x0EuseCurrentView\0\0\0$__widl_f_current_scale_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\x01\x0CcurrentScale\x01\x0CcurrentScale\0\0\0(__widl_f_set_current_scale_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\x02\x0CcurrentScale\x01\x0CcurrentScale\0\0\0(__widl_f_current_translate_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\x01\x10currentTranslate\x01\x10currentTranslate\0\0\0\x1F__widl_f_view_box_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\x01\x07viewBox\x01\x07viewBox\0\0\0,__widl_f_preserve_aspect_ratio_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\x01\x13preserveAspectRatio\x01\x13preserveAspectRatio\0\0\0#__widl_f_zoom_and_pan_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\x01\nzoomAndPan\x01\nzoomAndPan\0\0\0'__widl_f_set_zoom_and_pan_SVGSVGElement\0\0\x01\rSVGSVGElement\x01\0\x02\nzoomAndPan\x01\nzoomAndPan\0\0\x02\x10SVGScriptElement\"__widl_instanceof_SVGScriptElement\0\0\0\0\x1E__widl_f_type_SVGScriptElement\0\0\x01\x10SVGScriptElement\x01\0\x01\x04type\x01\x04type\0\0\0\"__widl_f_set_type_SVGScriptElement\0\0\x01\x10SVGScriptElement\x01\0\x02\x04type\x01\x04type\0\0\0&__widl_f_cross_origin_SVGScriptElement\0\0\x01\x10SVGScriptElement\x01\0\x01\x0BcrossOrigin\x01\x0BcrossOrigin\0\0\0*__widl_f_set_cross_origin_SVGScriptElement\0\0\x01\x10SVGScriptElement\x01\0\x02\x0BcrossOrigin\x01\x0BcrossOrigin\0\0\0\x1E__widl_f_href_SVGScriptElement\0\0\x01\x10SVGScriptElement\x01\0\x01\x04href\x01\x04href\0\0\x02\rSVGSetElement\x1F__widl_instanceof_SVGSetElement\0\0\0\x02\x0ESVGStopElement __widl_instanceof_SVGStopElement\0\0\0\0\x1E__widl_f_offset_SVGStopElement\0\0\x01\x0ESVGStopElement\x01\0\x01\x06offset\x01\x06offset\0\0\x02\rSVGStringList\x1F__widl_instanceof_SVGStringList\0\0\0\0\"__widl_f_append_item_SVGStringList\x01\0\x01\rSVGStringList\x01\0\0\x01\nappendItem\0\0\0\x1C__widl_f_clear_SVGStringList\0\0\x01\rSVGStringList\x01\0\0\x01\x05clear\0\0\0\x1F__widl_f_get_item_SVGStringList\x01\0\x01\rSVGStringList\x01\0\0\x01\x07getItem\0\0\0!__widl_f_initialize_SVGStringList\x01\0\x01\rSVGStringList\x01\0\0\x01\ninitialize\0\0\0)__widl_f_insert_item_before_SVGStringList\x01\0\x01\rSVGStringList\x01\0\0\x01\x10insertItemBefore\0\0\0\"__widl_f_remove_item_SVGStringList\x01\0\x01\rSVGStringList\x01\0\0\x01\nremoveItem\0\0\0#__widl_f_replace_item_SVGStringList\x01\0\x01\rSVGStringList\x01\0\0\x01\x0BreplaceItem\0\0\0\x1A__widl_f_get_SVGStringList\0\0\x01\rSVGStringList\x01\0\x03\x01\x03get\0\0\0\x1D__widl_f_length_SVGStringList\0\0\x01\rSVGStringList\x01\0\x01\x06length\x01\x06length\0\0\0&__widl_f_number_of_items_SVGStringList\0\0\x01\rSVGStringList\x01\0\x01\rnumberOfItems\x01\rnumberOfItems\0\0\x02\x0FSVGStyleElement!__widl_instanceof_SVGStyleElement\0\0\0\0!__widl_f_xmlspace_SVGStyleElement\0\0\x01\x0FSVGStyleElement\x01\0\x01\x08xmlspace\x01\x08xmlspace\0\0\0%__widl_f_set_xmlspace_SVGStyleElement\0\0\x01\x0FSVGStyleElement\x01\0\x02\x08xmlspace\x01\x08xmlspace\0\0\0\x1D__widl_f_type_SVGStyleElement\0\0\x01\x0FSVGStyleElement\x01\0\x01\x04type\x01\x04type\0\0\0!__widl_f_set_type_SVGStyleElement\0\0\x01\x0FSVGStyleElement\x01\0\x02\x04type\x01\x04type\0\0\0\x1E__widl_f_media_SVGStyleElement\0\0\x01\x0FSVGStyleElement\x01\0\x01\x05media\x01\x05media\0\0\0\"__widl_f_set_media_SVGStyleElement\0\0\x01\x0FSVGStyleElement\x01\0\x02\x05media\x01\x05media\0\0\0\x1E__widl_f_title_SVGStyleElement\0\0\x01\x0FSVGStyleElement\x01\0\x01\x05title\x01\x05title\0\0\0\"__widl_f_set_title_SVGStyleElement\0\0\x01\x0FSVGStyleElement\x01\0\x02\x05title\x01\x05title\0\0\0\x1E__widl_f_sheet_SVGStyleElement\0\0\x01\x0FSVGStyleElement\x01\0\x01\x05sheet\x01\x05sheet\0\0\x02\x10SVGSwitchElement\"__widl_instanceof_SVGSwitchElement\0\0\0\x02\x10SVGSymbolElement\"__widl_instanceof_SVGSymbolElement\0\0\0\0\"__widl_f_view_box_SVGSymbolElement\0\0\x01\x10SVGSymbolElement\x01\0\x01\x07viewBox\x01\x07viewBox\0\0\0/__widl_f_preserve_aspect_ratio_SVGSymbolElement\0\0\x01\x10SVGSymbolElement\x01\0\x01\x13preserveAspectRatio\x01\x13preserveAspectRatio\0\0\0'__widl_f_has_extension_SVGSymbolElement\0\0\x01\x10SVGSymbolElement\x01\0\0\x01\x0ChasExtension\0\0\0+__widl_f_required_features_SVGSymbolElement\0\0\x01\x10SVGSymbolElement\x01\0\x01\x10requiredFeatures\x01\x10requiredFeatures\0\0\0-__widl_f_required_extensions_SVGSymbolElement\0\0\x01\x10SVGSymbolElement\x01\0\x01\x12requiredExtensions\x01\x12requiredExtensions\0\0\0)__widl_f_system_language_SVGSymbolElement\0\0\x01\x10SVGSymbolElement\x01\0\x01\x0EsystemLanguage\x01\x0EsystemLanguage\0\0\x02\x0FSVGTSpanElement!__widl_instanceof_SVGTSpanElement\0\0\0\x02\x15SVGTextContentElement'__widl_instanceof_SVGTextContentElement\0\0\0\07__widl_f_get_char_num_at_position_SVGTextContentElement\0\0\x01\x15SVGTextContentElement\x01\0\0\x01\x14getCharNumAtPosition\0\0\07__widl_f_get_computed_text_length_SVGTextContentElement\0\0\x01\x15SVGTextContentElement\x01\0\0\x01\x15getComputedTextLength\0\0\07__widl_f_get_end_position_of_char_SVGTextContentElement\x01\0\x01\x15SVGTextContentElement\x01\0\0\x01\x14getEndPositionOfChar\0\0\01__widl_f_get_extent_of_char_SVGTextContentElement\x01\0\x01\x15SVGTextContentElement\x01\0\0\x01\x0FgetExtentOfChar\0\0\02__widl_f_get_number_of_chars_SVGTextContentElement\0\0\x01\x15SVGTextContentElement\x01\0\0\x01\x10getNumberOfChars\0\0\03__widl_f_get_rotation_of_char_SVGTextContentElement\x01\0\x01\x15SVGTextContentElement\x01\0\0\x01\x11getRotationOfChar\0\0\09__widl_f_get_start_position_of_char_SVGTextContentElement\x01\0\x01\x15SVGTextContentElement\x01\0\0\x01\x16getStartPositionOfChar\0\0\04__widl_f_get_sub_string_length_SVGTextContentElement\x01\0\x01\x15SVGTextContentElement\x01\0\0\x01\x12getSubStringLength\0\0\00__widl_f_select_sub_string_SVGTextContentElement\x01\0\x01\x15SVGTextContentElement\x01\0\0\x01\x0FselectSubString\0\0\0*__widl_f_text_length_SVGTextContentElement\0\0\x01\x15SVGTextContentElement\x01\0\x01\ntextLength\x01\ntextLength\0\0\0,__widl_f_length_adjust_SVGTextContentElement\0\0\x01\x15SVGTextContentElement\x01\0\x01\x0ClengthAdjust\x01\x0ClengthAdjust\0\0\x02\x0ESVGTextElement __widl_instanceof_SVGTextElement\0\0\0\x02\x12SVGTextPathElement$__widl_instanceof_SVGTextPathElement\0\0\0\0(__widl_f_start_offset_SVGTextPathElement\0\0\x01\x12SVGTextPathElement\x01\0\x01\x0BstartOffset\x01\x0BstartOffset\0\0\0\"__widl_f_method_SVGTextPathElement\0\0\x01\x12SVGTextPathElement\x01\0\x01\x06method\x01\x06method\0\0\0#__widl_f_spacing_SVGTextPathElement\0\0\x01\x12SVGTextPathElement\x01\0\x01\x07spacing\x01\x07spacing\0\0\0 __widl_f_href_SVGTextPathElement\0\0\x01\x12SVGTextPathElement\x01\0\x01\x04href\x01\x04href\0\0\x02\x19SVGTextPositioningElement+__widl_instanceof_SVGTextPositioningElement\0\0\0\0$__widl_f_x_SVGTextPositioningElement\0\0\x01\x19SVGTextPositioningElement\x01\0\x01\x01x\x01\x01x\0\0\0$__widl_f_y_SVGTextPositioningElement\0\0\x01\x19SVGTextPositioningElement\x01\0\x01\x01y\x01\x01y\0\0\0%__widl_f_dx_SVGTextPositioningElement\0\0\x01\x19SVGTextPositioningElement\x01\0\x01\x02dx\x01\x02dx\0\0\0%__widl_f_dy_SVGTextPositioningElement\0\0\x01\x19SVGTextPositioningElement\x01\0\x01\x02dy\x01\x02dy\0\0\0)__widl_f_rotate_SVGTextPositioningElement\0\0\x01\x19SVGTextPositioningElement\x01\0\x01\x06rotate\x01\x06rotate\0\0\x02\x0FSVGTitleElement!__widl_instanceof_SVGTitleElement\0\0\0\x02\x0CSVGTransform\x1E__widl_instanceof_SVGTransform\0\0\0\0 __widl_f_set_matrix_SVGTransform\x01\0\x01\x0CSVGTransform\x01\0\0\x01\tsetMatrix\0\0\0 __widl_f_set_rotate_SVGTransform\x01\0\x01\x0CSVGTransform\x01\0\0\x01\tsetRotate\0\0\0\x1F__widl_f_set_scale_SVGTransform\x01\0\x01\x0CSVGTransform\x01\0\0\x01\x08setScale\0\0\0 __widl_f_set_skew_x_SVGTransform\x01\0\x01\x0CSVGTransform\x01\0\0\x01\x08setSkewX\0\0\0 __widl_f_set_skew_y_SVGTransform\x01\0\x01\x0CSVGTransform\x01\0\0\x01\x08setSkewY\0\0\0#__widl_f_set_translate_SVGTransform\x01\0\x01\x0CSVGTransform\x01\0\0\x01\x0CsetTranslate\0\0\0\x1A__widl_f_type_SVGTransform\0\0\x01\x0CSVGTransform\x01\0\x01\x04type\x01\x04type\0\0\0\x1C__widl_f_matrix_SVGTransform\0\0\x01\x0CSVGTransform\x01\0\x01\x06matrix\x01\x06matrix\0\0\0\x1B__widl_f_angle_SVGTransform\0\0\x01\x0CSVGTransform\x01\0\x01\x05angle\x01\x05angle\0\0\x02\x10SVGTransformList\"__widl_instanceof_SVGTransformList\0\0\0\0%__widl_f_append_item_SVGTransformList\x01\0\x01\x10SVGTransformList\x01\0\0\x01\nappendItem\0\0\0\x1F__widl_f_clear_SVGTransformList\x01\0\x01\x10SVGTransformList\x01\0\0\x01\x05clear\0\0\0%__widl_f_consolidate_SVGTransformList\x01\0\x01\x10SVGTransformList\x01\0\0\x01\x0Bconsolidate\0\0\0:__widl_f_create_svg_transform_from_matrix_SVGTransformList\0\0\x01\x10SVGTransformList\x01\0\0\x01\x1CcreateSVGTransformFromMatrix\0\0\0\"__widl_f_get_item_SVGTransformList\x01\0\x01\x10SVGTransformList\x01\0\0\x01\x07getItem\0\0\0$__widl_f_initialize_SVGTransformList\x01\0\x01\x10SVGTransformList\x01\0\0\x01\ninitialize\0\0\0,__widl_f_insert_item_before_SVGTransformList\x01\0\x01\x10SVGTransformList\x01\0\0\x01\x10insertItemBefore\0\0\0%__widl_f_remove_item_SVGTransformList\x01\0\x01\x10SVGTransformList\x01\0\0\x01\nremoveItem\0\0\0&__widl_f_replace_item_SVGTransformList\x01\0\x01\x10SVGTransformList\x01\0\0\x01\x0BreplaceItem\0\0\0\x1D__widl_f_get_SVGTransformList\x01\0\x01\x10SVGTransformList\x01\0\x03\x01\x03get\0\0\0)__widl_f_number_of_items_SVGTransformList\0\0\x01\x10SVGTransformList\x01\0\x01\rnumberOfItems\x01\rnumberOfItems\0\0\x02\x0CSVGUnitTypes\x1E__widl_instanceof_SVGUnitTypes\0\0\0\x02\rSVGUseElement\x1F__widl_instanceof_SVGUseElement\0\0\0\0\x18__widl_f_x_SVGUseElement\0\0\x01\rSVGUseElement\x01\0\x01\x01x\x01\x01x\0\0\0\x18__widl_f_y_SVGUseElement\0\0\x01\rSVGUseElement\x01\0\x01\x01y\x01\x01y\0\0\0\x1C__widl_f_width_SVGUseElement\0\0\x01\rSVGUseElement\x01\0\x01\x05width\x01\x05width\0\0\0\x1D__widl_f_height_SVGUseElement\0\0\x01\rSVGUseElement\x01\0\x01\x06height\x01\x06height\0\0\0\x1B__widl_f_href_SVGUseElement\0\0\x01\rSVGUseElement\x01\0\x01\x04href\x01\x04href\0\0\x02\x0ESVGViewElement __widl_instanceof_SVGViewElement\0\0\0\0 __widl_f_view_box_SVGViewElement\0\0\x01\x0ESVGViewElement\x01\0\x01\x07viewBox\x01\x07viewBox\0\0\0-__widl_f_preserve_aspect_ratio_SVGViewElement\0\0\x01\x0ESVGViewElement\x01\0\x01\x13preserveAspectRatio\x01\x13preserveAspectRatio\0\0\0$__widl_f_zoom_and_pan_SVGViewElement\0\0\x01\x0ESVGViewElement\x01\0\x01\nzoomAndPan\x01\nzoomAndPan\0\0\0(__widl_f_set_zoom_and_pan_SVGViewElement\0\0\x01\x0ESVGViewElement\x01\0\x02\nzoomAndPan\x01\nzoomAndPan\0\0\x02\rSVGZoomAndPan\x1F__widl_instanceof_SVGZoomAndPan\0\0\0\0#__widl_f_zoom_and_pan_SVGZoomAndPan\0\0\x01\rSVGZoomAndPan\x01\0\x01\nzoomAndPan\x01\nzoomAndPan\0\0\0'__widl_f_set_zoom_and_pan_SVGZoomAndPan\0\0\x01\rSVGZoomAndPan\x01\0\x02\nzoomAndPan\x01\nzoomAndPan\0\0\x02\x06Screen\x18__widl_instanceof_Screen\0\0\0\0\x1B__widl_f_avail_width_Screen\x01\0\x01\x06Screen\x01\0\x01\navailWidth\x01\navailWidth\0\0\0\x1C__widl_f_avail_height_Screen\x01\0\x01\x06Screen\x01\0\x01\x0BavailHeight\x01\x0BavailHeight\0\0\0\x15__widl_f_width_Screen\x01\0\x01\x06Screen\x01\0\x01\x05width\x01\x05width\0\0\0\x16__widl_f_height_Screen\x01\0\x01\x06Screen\x01\0\x01\x06height\x01\x06height\0\0\0\x1B__widl_f_color_depth_Screen\x01\0\x01\x06Screen\x01\0\x01\ncolorDepth\x01\ncolorDepth\0\0\0\x1B__widl_f_pixel_depth_Screen\x01\0\x01\x06Screen\x01\0\x01\npixelDepth\x01\npixelDepth\0\0\0\x13__widl_f_top_Screen\x01\0\x01\x06Screen\x01\0\x01\x03top\x01\x03top\0\0\0\x14__widl_f_left_Screen\x01\0\x01\x06Screen\x01\0\x01\x04left\x01\x04left\0\0\0\x19__widl_f_avail_top_Screen\x01\0\x01\x06Screen\x01\0\x01\x08availTop\x01\x08availTop\0\0\0\x1A__widl_f_avail_left_Screen\x01\0\x01\x06Screen\x01\0\x01\tavailLeft\x01\tavailLeft\0\0\0\x1B__widl_f_orientation_Screen\0\0\x01\x06Screen\x01\0\x01\x0Borientation\x01\x0Borientation\0\0\0\x1B__widl_f_color_gamut_Screen\0\0\x01\x06Screen\x01\0\x01\ncolorGamut\x01\ncolorGamut\0\0\0\x19__widl_f_luminance_Screen\0\0\x01\x06Screen\x01\0\x01\tluminance\x01\tluminance\0\0\0\x18__widl_f_onchange_Screen\0\0\x01\x06Screen\x01\0\x01\x08onchange\x01\x08onchange\0\0\0\x1C__widl_f_set_onchange_Screen\0\0\x01\x06Screen\x01\0\x02\x08onchange\x01\x08onchange\0\0\x02\x0FScreenLuminance!__widl_instanceof_ScreenLuminance\0\0\0\0\x1C__widl_f_min_ScreenLuminance\0\0\x01\x0FScreenLuminance\x01\0\x01\x03min\x01\x03min\0\0\0\x1C__widl_f_max_ScreenLuminance\0\0\x01\x0FScreenLuminance\x01\0\x01\x03max\x01\x03max\0\0\0$__widl_f_max_average_ScreenLuminance\0\0\x01\x0FScreenLuminance\x01\0\x01\nmaxAverage\x01\nmaxAverage\0\0\x02\x11ScreenOrientation#__widl_instanceof_ScreenOrientation\0\0\0\0\x1F__widl_f_lock_ScreenOrientation\x01\0\x01\x11ScreenOrientation\x01\0\0\x01\x04lock\0\0\0!__widl_f_unlock_ScreenOrientation\x01\0\x01\x11ScreenOrientation\x01\0\0\x01\x06unlock\0\0\0\x1F__widl_f_type_ScreenOrientation\x01\0\x01\x11ScreenOrientation\x01\0\x01\x04type\x01\x04type\0\0\0 __widl_f_angle_ScreenOrientation\x01\0\x01\x11ScreenOrientation\x01\0\x01\x05angle\x01\x05angle\0\0\0#__widl_f_onchange_ScreenOrientation\0\0\x01\x11ScreenOrientation\x01\0\x01\x08onchange\x01\x08onchange\0\0\0'__widl_f_set_onchange_ScreenOrientation\0\0\x01\x11ScreenOrientation\x01\0\x02\x08onchange\x01\x08onchange\0\0\x02\x13ScriptProcessorNode%__widl_instanceof_ScriptProcessorNode\0\0\0\0+__widl_f_onaudioprocess_ScriptProcessorNode\0\0\x01\x13ScriptProcessorNode\x01\0\x01\x0Eonaudioprocess\x01\x0Eonaudioprocess\0\0\0/__widl_f_set_onaudioprocess_ScriptProcessorNode\0\0\x01\x13ScriptProcessorNode\x01\0\x02\x0Eonaudioprocess\x01\x0Eonaudioprocess\0\0\0(__widl_f_buffer_size_ScriptProcessorNode\0\0\x01\x13ScriptProcessorNode\x01\0\x01\nbufferSize\x01\nbufferSize\0\0\x02\x0FScrollAreaEvent!__widl_instanceof_ScrollAreaEvent\0\0\0\0/__widl_f_init_scroll_area_event_ScrollAreaEvent\0\0\x01\x0FScrollAreaEvent\x01\0\0\x01\x13initScrollAreaEvent\0\0\0?__widl_f_init_scroll_area_event_with_can_bubble_ScrollAreaEvent\0\0\x01\x0FScrollAreaEvent\x01\0\0\x01\x13initScrollAreaEvent\0\0\0N__widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_ScrollAreaEvent\0\0\x01\x0FScrollAreaEvent\x01\0\0\x01\x13initScrollAreaEvent\0\0\0W__widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_ScrollAreaEvent\0\0\x01\x0FScrollAreaEvent\x01\0\0\x01\x13initScrollAreaEvent\0\0\0b__widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_ScrollAreaEvent\0\0\x01\x0FScrollAreaEvent\x01\0\0\x01\x13initScrollAreaEvent\0\0\0h__widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_ScrollAreaEvent\0\0\x01\x0FScrollAreaEvent\x01\0\0\x01\x13initScrollAreaEvent\0\0\0n__widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_ScrollAreaEvent\0\0\x01\x0FScrollAreaEvent\x01\0\0\x01\x13initScrollAreaEvent\0\0\0x__widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_ScrollAreaEvent\0\0\x01\x0FScrollAreaEvent\x01\0\0\x01\x13initScrollAreaEvent\0\0\0\x83\x01__widl_f_init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_and_height_ScrollAreaEvent\0\0\x01\x0FScrollAreaEvent\x01\0\0\x01\x13initScrollAreaEvent\0\0\0\x1A__widl_f_x_ScrollAreaEvent\0\0\x01\x0FScrollAreaEvent\x01\0\x01\x01x\x01\x01x\0\0\0\x1A__widl_f_y_ScrollAreaEvent\0\0\x01\x0FScrollAreaEvent\x01\0\x01\x01y\x01\x01y\0\0\0\x1E__widl_f_width_ScrollAreaEvent\0\0\x01\x0FScrollAreaEvent\x01\0\x01\x05width\x01\x05width\0\0\0\x1F__widl_f_height_ScrollAreaEvent\0\0\x01\x0FScrollAreaEvent\x01\0\x01\x06height\x01\x06height\0\0\x02\x1CSecurityPolicyViolationEvent.__widl_instanceof_SecurityPolicyViolationEvent\0\0\0\0)__widl_f_new_SecurityPolicyViolationEvent\x01\0\x01\x1CSecurityPolicyViolationEvent\0\x01\x03new\0\0\0>__widl_f_new_with_event_init_dict_SecurityPolicyViolationEvent\x01\0\x01\x1CSecurityPolicyViolationEvent\0\x01\x03new\0\0\02__widl_f_document_uri_SecurityPolicyViolationEvent\0\0\x01\x1CSecurityPolicyViolationEvent\x01\0\x01\x0BdocumentURI\x01\x0BdocumentURI\0\0\0.__widl_f_referrer_SecurityPolicyViolationEvent\0\0\x01\x1CSecurityPolicyViolationEvent\x01\0\x01\x08referrer\x01\x08referrer\0\0\01__widl_f_blocked_uri_SecurityPolicyViolationEvent\0\0\x01\x1CSecurityPolicyViolationEvent\x01\0\x01\nblockedURI\x01\nblockedURI\0\0\08__widl_f_violated_directive_SecurityPolicyViolationEvent\0\0\x01\x1CSecurityPolicyViolationEvent\x01\0\x01\x11violatedDirective\x01\x11violatedDirective\0\0\09__widl_f_effective_directive_SecurityPolicyViolationEvent\0\0\x01\x1CSecurityPolicyViolationEvent\x01\0\x01\x12effectiveDirective\x01\x12effectiveDirective\0\0\05__widl_f_original_policy_SecurityPolicyViolationEvent\0\0\x01\x1CSecurityPolicyViolationEvent\x01\0\x01\x0EoriginalPolicy\x01\x0EoriginalPolicy\0\0\01__widl_f_source_file_SecurityPolicyViolationEvent\0\0\x01\x1CSecurityPolicyViolationEvent\x01\0\x01\nsourceFile\x01\nsourceFile\0\0\0,__widl_f_sample_SecurityPolicyViolationEvent\0\0\x01\x1CSecurityPolicyViolationEvent\x01\0\x01\x06sample\x01\x06sample\0\0\01__widl_f_disposition_SecurityPolicyViolationEvent\0\0\x01\x1CSecurityPolicyViolationEvent\x01\0\x01\x0Bdisposition\x01\x0Bdisposition\0\0\01__widl_f_status_code_SecurityPolicyViolationEvent\0\0\x01\x1CSecurityPolicyViolationEvent\x01\0\x01\nstatusCode\x01\nstatusCode\0\0\01__widl_f_line_number_SecurityPolicyViolationEvent\0\0\x01\x1CSecurityPolicyViolationEvent\x01\0\x01\nlineNumber\x01\nlineNumber\0\0\03__widl_f_column_number_SecurityPolicyViolationEvent\0\0\x01\x1CSecurityPolicyViolationEvent\x01\0\x01\x0CcolumnNumber\x01\x0CcolumnNumber\0\0\x02\tSelection\x1B__widl_instanceof_Selection\0\0\0\0\x1C__widl_f_add_range_Selection\x01\0\x01\tSelection\x01\0\0\x01\x08addRange\0\0\0\x1B__widl_f_collapse_Selection\x01\0\x01\tSelection\x01\0\0\x01\x08collapse\0\0\0'__widl_f_collapse_with_offset_Selection\x01\0\x01\tSelection\x01\0\0\x01\x08collapse\0\0\0\"__widl_f_collapse_to_end_Selection\x01\0\x01\tSelection\x01\0\0\x01\rcollapseToEnd\0\0\0$__widl_f_collapse_to_start_Selection\x01\0\x01\tSelection\x01\0\0\x01\x0FcollapseToStart\0\0\0 __widl_f_contains_node_Selection\x01\0\x01\tSelection\x01\0\0\x01\x0CcontainsNode\0\0\0?__widl_f_contains_node_with_allow_partial_containment_Selection\x01\0\x01\tSelection\x01\0\0\x01\x0CcontainsNode\0\0\0'__widl_f_delete_from_document_Selection\x01\0\x01\tSelection\x01\0\0\x01\x12deleteFromDocument\0\0\0\x18__widl_f_empty_Selection\x01\0\x01\tSelection\x01\0\0\x01\x05empty\0\0\0\x19__widl_f_extend_Selection\x01\0\x01\tSelection\x01\0\0\x01\x06extend\0\0\0%__widl_f_extend_with_offset_Selection\x01\0\x01\tSelection\x01\0\0\x01\x06extend\0\0\0\x1F__widl_f_get_range_at_Selection\x01\0\x01\tSelection\x01\0\0\x01\ngetRangeAt\0\0\0\x19__widl_f_modify_Selection\x01\0\x01\tSelection\x01\0\0\x01\x06modify\0\0\0$__widl_f_remove_all_ranges_Selection\x01\0\x01\tSelection\x01\0\0\x01\x0FremoveAllRanges\0\0\0\x1F__widl_f_remove_range_Selection\x01\0\x01\tSelection\x01\0\0\x01\x0BremoveRange\0\0\0&__widl_f_select_all_children_Selection\x01\0\x01\tSelection\x01\0\0\x01\x11selectAllChildren\0\0\0&__widl_f_set_base_and_extent_Selection\x01\0\x01\tSelection\x01\0\0\x01\x10setBaseAndExtent\0\0\0\x1F__widl_f_set_position_Selection\x01\0\x01\tSelection\x01\0\0\x01\x0BsetPosition\0\0\0+__widl_f_set_position_with_offset_Selection\x01\0\x01\tSelection\x01\0\0\x01\x0BsetPosition\0\0\0\x1E__widl_f_anchor_node_Selection\0\0\x01\tSelection\x01\0\x01\nanchorNode\x01\nanchorNode\0\0\0 __widl_f_anchor_offset_Selection\0\0\x01\tSelection\x01\0\x01\x0CanchorOffset\x01\x0CanchorOffset\0\0\0\x1D__widl_f_focus_node_Selection\0\0\x01\tSelection\x01\0\x01\tfocusNode\x01\tfocusNode\0\0\0\x1F__widl_f_focus_offset_Selection\0\0\x01\tSelection\x01\0\x01\x0BfocusOffset\x01\x0BfocusOffset\0\0\0\x1F__widl_f_is_collapsed_Selection\0\0\x01\tSelection\x01\0\x01\x0BisCollapsed\x01\x0BisCollapsed\0\0\0\x1E__widl_f_range_count_Selection\0\0\x01\tSelection\x01\0\x01\nrangeCount\x01\nrangeCount\0\0\0\x17__widl_f_type_Selection\0\0\x01\tSelection\x01\0\x01\x04type\x01\x04type\0\0\0#__widl_f_caret_bidi_level_Selection\x01\0\x01\tSelection\x01\0\x01\x0EcaretBidiLevel\x01\x0EcaretBidiLevel\0\0\0'__widl_f_set_caret_bidi_level_Selection\x01\0\x01\tSelection\x01\0\x02\x0EcaretBidiLevel\x01\x0EcaretBidiLevel\0\0\x02\rServiceWorker\x1F__widl_instanceof_ServiceWorker\0\0\0\0#__widl_f_post_message_ServiceWorker\x01\0\x01\rServiceWorker\x01\0\0\x01\x0BpostMessage\0\0\0!__widl_f_script_url_ServiceWorker\0\0\x01\rServiceWorker\x01\0\x01\tscriptURL\x01\tscriptURL\0\0\0\x1C__widl_f_state_ServiceWorker\0\0\x01\rServiceWorker\x01\0\x01\x05state\x01\x05state\0\0\0$__widl_f_onstatechange_ServiceWorker\0\0\x01\rServiceWorker\x01\0\x01\ronstatechange\x01\ronstatechange\0\0\0(__widl_f_set_onstatechange_ServiceWorker\0\0\x01\rServiceWorker\x01\0\x02\ronstatechange\x01\ronstatechange\0\0\0\x1E__widl_f_onerror_ServiceWorker\0\0\x01\rServiceWorker\x01\0\x01\x07onerror\x01\x07onerror\0\0\0\"__widl_f_set_onerror_ServiceWorker\0\0\x01\rServiceWorker\x01\0\x02\x07onerror\x01\x07onerror\0\0\x02\x16ServiceWorkerContainer(__widl_instanceof_ServiceWorkerContainer\0\0\0\00__widl_f_get_registration_ServiceWorkerContainer\0\0\x01\x16ServiceWorkerContainer\x01\0\0\x01\x0FgetRegistration\0\0\0B__widl_f_get_registration_with_document_url_ServiceWorkerContainer\0\0\x01\x16ServiceWorkerContainer\x01\0\0\x01\x0FgetRegistration\0\0\01__widl_f_get_registrations_ServiceWorkerContainer\0\0\x01\x16ServiceWorkerContainer\x01\0\0\x01\x10getRegistrations\0\0\01__widl_f_get_scope_for_url_ServiceWorkerContainer\x01\0\x01\x16ServiceWorkerContainer\x01\0\0\x01\x0EgetScopeForUrl\0\0\0(__widl_f_register_ServiceWorkerContainer\0\0\x01\x16ServiceWorkerContainer\x01\0\0\x01\x08register\0\0\05__widl_f_register_with_options_ServiceWorkerContainer\0\0\x01\x16ServiceWorkerContainer\x01\0\0\x01\x08register\0\0\0*__widl_f_controller_ServiceWorkerContainer\0\0\x01\x16ServiceWorkerContainer\x01\0\x01\ncontroller\x01\ncontroller\0\0\0%__widl_f_ready_ServiceWorkerContainer\x01\0\x01\x16ServiceWorkerContainer\x01\0\x01\x05ready\x01\x05ready\0\0\02__widl_f_oncontrollerchange_ServiceWorkerContainer\0\0\x01\x16ServiceWorkerContainer\x01\0\x01\x12oncontrollerchange\x01\x12oncontrollerchange\0\0\06__widl_f_set_oncontrollerchange_ServiceWorkerContainer\0\0\x01\x16ServiceWorkerContainer\x01\0\x02\x12oncontrollerchange\x01\x12oncontrollerchange\0\0\0'__widl_f_onerror_ServiceWorkerContainer\0\0\x01\x16ServiceWorkerContainer\x01\0\x01\x07onerror\x01\x07onerror\0\0\0+__widl_f_set_onerror_ServiceWorkerContainer\0\0\x01\x16ServiceWorkerContainer\x01\0\x02\x07onerror\x01\x07onerror\0\0\0)__widl_f_onmessage_ServiceWorkerContainer\0\0\x01\x16ServiceWorkerContainer\x01\0\x01\tonmessage\x01\tonmessage\0\0\0-__widl_f_set_onmessage_ServiceWorkerContainer\0\0\x01\x16ServiceWorkerContainer\x01\0\x02\tonmessage\x01\tonmessage\0\0\x02\x18ServiceWorkerGlobalScope*__widl_instanceof_ServiceWorkerGlobalScope\0\0\0\0.__widl_f_skip_waiting_ServiceWorkerGlobalScope\x01\0\x01\x18ServiceWorkerGlobalScope\x01\0\0\x01\x0BskipWaiting\0\0\0)__widl_f_clients_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x01\x07clients\x01\x07clients\0\0\0.__widl_f_registration_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x01\x0Cregistration\x01\x0Cregistration\0\0\0+__widl_f_oninstall_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x01\toninstall\x01\toninstall\0\0\0/__widl_f_set_oninstall_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x02\toninstall\x01\toninstall\0\0\0,__widl_f_onactivate_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x01\nonactivate\x01\nonactivate\0\0\00__widl_f_set_onactivate_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x02\nonactivate\x01\nonactivate\0\0\0)__widl_f_onfetch_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x01\x07onfetch\x01\x07onfetch\0\0\0-__widl_f_set_onfetch_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x02\x07onfetch\x01\x07onfetch\0\0\0+__widl_f_onmessage_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x01\tonmessage\x01\tonmessage\0\0\0/__widl_f_set_onmessage_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x02\tonmessage\x01\tonmessage\0\0\0(__widl_f_onpush_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x01\x06onpush\x01\x06onpush\0\0\0,__widl_f_set_onpush_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x02\x06onpush\x01\x06onpush\0\0\0:__widl_f_onpushsubscriptionchange_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x01\x18onpushsubscriptionchange\x01\x18onpushsubscriptionchange\0\0\0>__widl_f_set_onpushsubscriptionchange_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x02\x18onpushsubscriptionchange\x01\x18onpushsubscriptionchange\0\0\05__widl_f_onnotificationclick_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x01\x13onnotificationclick\x01\x13onnotificationclick\0\0\09__widl_f_set_onnotificationclick_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x02\x13onnotificationclick\x01\x13onnotificationclick\0\0\05__widl_f_onnotificationclose_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x01\x13onnotificationclose\x01\x13onnotificationclose\0\0\09__widl_f_set_onnotificationclose_ServiceWorkerGlobalScope\0\0\x01\x18ServiceWorkerGlobalScope\x01\0\x02\x13onnotificationclose\x01\x13onnotificationclose\0\0\x02\x19ServiceWorkerRegistration+__widl_instanceof_ServiceWorkerRegistration\0\0\0\04__widl_f_get_notifications_ServiceWorkerRegistration\x01\0\x01\x19ServiceWorkerRegistration\x01\0\0\x01\x10getNotifications\0\0\0@__widl_f_get_notifications_with_filter_ServiceWorkerRegistration\x01\0\x01\x19ServiceWorkerRegistration\x01\0\0\x01\x10getNotifications\0\0\04__widl_f_show_notification_ServiceWorkerRegistration\x01\0\x01\x19ServiceWorkerRegistration\x01\0\0\x01\x10showNotification\0\0\0A__widl_f_show_notification_with_options_ServiceWorkerRegistration\x01\0\x01\x19ServiceWorkerRegistration\x01\0\0\x01\x10showNotification\0\0\0-__widl_f_unregister_ServiceWorkerRegistration\x01\0\x01\x19ServiceWorkerRegistration\x01\0\0\x01\nunregister\0\0\0)__widl_f_update_ServiceWorkerRegistration\x01\0\x01\x19ServiceWorkerRegistration\x01\0\0\x01\x06update\0\0\0-__widl_f_installing_ServiceWorkerRegistration\0\0\x01\x19ServiceWorkerRegistration\x01\0\x01\ninstalling\x01\ninstalling\0\0\0*__widl_f_waiting_ServiceWorkerRegistration\0\0\x01\x19ServiceWorkerRegistration\x01\0\x01\x07waiting\x01\x07waiting\0\0\0)__widl_f_active_ServiceWorkerRegistration\0\0\x01\x19ServiceWorkerRegistration\x01\0\x01\x06active\x01\x06active\0\0\0(__widl_f_scope_ServiceWorkerRegistration\0\0\x01\x19ServiceWorkerRegistration\x01\0\x01\x05scope\x01\x05scope\0\0\03__widl_f_update_via_cache_ServiceWorkerRegistration\x01\0\x01\x19ServiceWorkerRegistration\x01\0\x01\x0EupdateViaCache\x01\x0EupdateViaCache\0\0\00__widl_f_onupdatefound_ServiceWorkerRegistration\0\0\x01\x19ServiceWorkerRegistration\x01\0\x01\ronupdatefound\x01\ronupdatefound\0\0\04__widl_f_set_onupdatefound_ServiceWorkerRegistration\0\0\x01\x19ServiceWorkerRegistration\x01\0\x02\ronupdatefound\x01\ronupdatefound\0\0\0/__widl_f_push_manager_ServiceWorkerRegistration\x01\0\x01\x19ServiceWorkerRegistration\x01\0\x01\x0BpushManager\x01\x0BpushManager\0\0\x02\nShadowRoot\x1C__widl_instanceof_ShadowRoot\0\0\0\0%__widl_f_get_element_by_id_ShadowRoot\0\0\x01\nShadowRoot\x01\0\0\x01\x0EgetElementById\0\0\0.__widl_f_get_elements_by_class_name_ShadowRoot\0\0\x01\nShadowRoot\x01\0\0\x01\x16getElementsByClassName\0\0\0,__widl_f_get_elements_by_tag_name_ShadowRoot\0\0\x01\nShadowRoot\x01\0\0\x01\x14getElementsByTagName\0\0\0/__widl_f_get_elements_by_tag_name_ns_ShadowRoot\0\0\x01\nShadowRoot\x01\0\0\x01\x16getElementsByTagNameNS\0\0\0\x18__widl_f_mode_ShadowRoot\0\0\x01\nShadowRoot\x01\0\x01\x04mode\x01\x04mode\0\0\0\x18__widl_f_host_ShadowRoot\0\0\x01\nShadowRoot\x01\0\x01\x04host\x01\x04host\0\0\0\x1E__widl_f_inner_html_ShadowRoot\0\0\x01\nShadowRoot\x01\0\x01\tinnerHTML\x01\tinnerHTML\0\0\0\"__widl_f_set_inner_html_ShadowRoot\0\0\x01\nShadowRoot\x01\0\x02\tinnerHTML\x01\tinnerHTML\0\0\0&__widl_f_element_from_point_ShadowRoot\0\0\x01\nShadowRoot\x01\0\0\x01\x10elementFromPoint\0\0\0\"__widl_f_active_element_ShadowRoot\0\0\x01\nShadowRoot\x01\0\x01\ractiveElement\x01\ractiveElement\0\0\0 __widl_f_style_sheets_ShadowRoot\0\0\x01\nShadowRoot\x01\0\x01\x0BstyleSheets\x01\x0BstyleSheets\0\0\0(__widl_f_pointer_lock_element_ShadowRoot\0\0\x01\nShadowRoot\x01\0\x01\x12pointerLockElement\x01\x12pointerLockElement\0\0\0&__widl_f_fullscreen_element_ShadowRoot\0\0\x01\nShadowRoot\x01\0\x01\x11fullscreenElement\x01\x11fullscreenElement\0\0\x02\x0CSharedWorker\x1E__widl_instanceof_SharedWorker\0\0\0\0\x19__widl_f_new_SharedWorker\x01\0\x01\x0CSharedWorker\0\x01\x03new\0\0\0\"__widl_f_new_with_str_SharedWorker\x01\0\x01\x0CSharedWorker\0\x01\x03new\0\0\0-__widl_f_new_with_worker_options_SharedWorker\x01\0\x01\x0CSharedWorker\0\x01\x03new\0\0\0\x1A__widl_f_port_SharedWorker\0\0\x01\x0CSharedWorker\x01\0\x01\x04port\x01\x04port\0\0\0\x1D__widl_f_onerror_SharedWorker\0\0\x01\x0CSharedWorker\x01\0\x01\x07onerror\x01\x07onerror\0\0\0!__widl_f_set_onerror_SharedWorker\0\0\x01\x0CSharedWorker\x01\0\x02\x07onerror\x01\x07onerror\0\0\x02\x17SharedWorkerGlobalScope)__widl_instanceof_SharedWorkerGlobalScope\0\0\0\0&__widl_f_close_SharedWorkerGlobalScope\0\0\x01\x17SharedWorkerGlobalScope\x01\0\0\x01\x05close\0\0\0%__widl_f_name_SharedWorkerGlobalScope\0\0\x01\x17SharedWorkerGlobalScope\x01\0\x01\x04name\x01\x04name\0\0\0*__widl_f_onconnect_SharedWorkerGlobalScope\0\0\x01\x17SharedWorkerGlobalScope\x01\0\x01\tonconnect\x01\tonconnect\0\0\0.__widl_f_set_onconnect_SharedWorkerGlobalScope\0\0\x01\x17SharedWorkerGlobalScope\x01\0\x02\tonconnect\x01\tonconnect\0\0\x02\x0CSourceBuffer\x1E__widl_instanceof_SourceBuffer\0\0\0\0\x1B__widl_f_abort_SourceBuffer\x01\0\x01\x0CSourceBuffer\x01\0\0\x01\x05abort\0\0\05__widl_f_append_buffer_with_array_buffer_SourceBuffer\x01\0\x01\x0CSourceBuffer\x01\0\0\x01\x0CappendBuffer\0\0\0:__widl_f_append_buffer_with_array_buffer_view_SourceBuffer\x01\0\x01\x0CSourceBuffer\x01\0\0\x01\x0CappendBuffer\0\0\01__widl_f_append_buffer_with_u8_array_SourceBuffer\x01\0\x01\x0CSourceBuffer\x01\0\0\x01\x0CappendBuffer\0\0\0;__widl_f_append_buffer_async_with_array_buffer_SourceBuffer\x01\0\x01\x0CSourceBuffer\x01\0\0\x01\x11appendBufferAsync\0\0\0@__widl_f_append_buffer_async_with_array_buffer_view_SourceBuffer\x01\0\x01\x0CSourceBuffer\x01\0\0\x01\x11appendBufferAsync\0\0\07__widl_f_append_buffer_async_with_u8_array_SourceBuffer\x01\0\x01\x0CSourceBuffer\x01\0\0\x01\x11appendBufferAsync\0\0\0!__widl_f_change_type_SourceBuffer\x01\0\x01\x0CSourceBuffer\x01\0\0\x01\nchangeType\0\0\0\x1C__widl_f_remove_SourceBuffer\x01\0\x01\x0CSourceBuffer\x01\0\0\x01\x06remove\0\0\0\"__widl_f_remove_async_SourceBuffer\x01\0\x01\x0CSourceBuffer\x01\0\0\x01\x0BremoveAsync\0\0\0\x1A__widl_f_mode_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x01\x04mode\x01\x04mode\0\0\0\x1E__widl_f_set_mode_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x02\x04mode\x01\x04mode\0\0\0\x1E__widl_f_updating_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x01\x08updating\x01\x08updating\0\0\0\x1E__widl_f_buffered_SourceBuffer\x01\0\x01\x0CSourceBuffer\x01\0\x01\x08buffered\x01\x08buffered\0\0\0&__widl_f_timestamp_offset_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x01\x0FtimestampOffset\x01\x0FtimestampOffset\0\0\0*__widl_f_set_timestamp_offset_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x02\x0FtimestampOffset\x01\x0FtimestampOffset\0\0\0)__widl_f_append_window_start_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x01\x11appendWindowStart\x01\x11appendWindowStart\0\0\0-__widl_f_set_append_window_start_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x02\x11appendWindowStart\x01\x11appendWindowStart\0\0\0'__widl_f_append_window_end_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x01\x0FappendWindowEnd\x01\x0FappendWindowEnd\0\0\0+__widl_f_set_append_window_end_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x02\x0FappendWindowEnd\x01\x0FappendWindowEnd\0\0\0#__widl_f_onupdatestart_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x01\ronupdatestart\x01\ronupdatestart\0\0\0'__widl_f_set_onupdatestart_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x02\ronupdatestart\x01\ronupdatestart\0\0\0\x1E__widl_f_onupdate_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x01\x08onupdate\x01\x08onupdate\0\0\0\"__widl_f_set_onupdate_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x02\x08onupdate\x01\x08onupdate\0\0\0!__widl_f_onupdateend_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x01\x0Bonupdateend\x01\x0Bonupdateend\0\0\0%__widl_f_set_onupdateend_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x02\x0Bonupdateend\x01\x0Bonupdateend\0\0\0\x1D__widl_f_onerror_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x01\x07onerror\x01\x07onerror\0\0\0!__widl_f_set_onerror_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x02\x07onerror\x01\x07onerror\0\0\0\x1D__widl_f_onabort_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x01\x07onabort\x01\x07onabort\0\0\0!__widl_f_set_onabort_SourceBuffer\0\0\x01\x0CSourceBuffer\x01\0\x02\x07onabort\x01\x07onabort\0\0\x02\x10SourceBufferList\"__widl_instanceof_SourceBufferList\0\0\0\0\x1D__widl_f_get_SourceBufferList\0\0\x01\x10SourceBufferList\x01\0\x03\x01\x03get\0\0\0 __widl_f_length_SourceBufferList\0\0\x01\x10SourceBufferList\x01\0\x01\x06length\x01\x06length\0\0\0+__widl_f_onaddsourcebuffer_SourceBufferList\0\0\x01\x10SourceBufferList\x01\0\x01\x11onaddsourcebuffer\x01\x11onaddsourcebuffer\0\0\0/__widl_f_set_onaddsourcebuffer_SourceBufferList\0\0\x01\x10SourceBufferList\x01\0\x02\x11onaddsourcebuffer\x01\x11onaddsourcebuffer\0\0\0.__widl_f_onremovesourcebuffer_SourceBufferList\0\0\x01\x10SourceBufferList\x01\0\x01\x14onremovesourcebuffer\x01\x14onremovesourcebuffer\0\0\02__widl_f_set_onremovesourcebuffer_SourceBufferList\0\0\x01\x10SourceBufferList\x01\0\x02\x14onremovesourcebuffer\x01\x14onremovesourcebuffer\0\0\x02\rSpeechGrammar\x1F__widl_instanceof_SpeechGrammar\0\0\0\0\x1A__widl_f_new_SpeechGrammar\x01\0\x01\rSpeechGrammar\0\x01\x03new\0\0\0\x1A__widl_f_src_SpeechGrammar\x01\0\x01\rSpeechGrammar\x01\0\x01\x03src\x01\x03src\0\0\0\x1E__widl_f_set_src_SpeechGrammar\x01\0\x01\rSpeechGrammar\x01\0\x02\x03src\x01\x03src\0\0\0\x1D__widl_f_weight_SpeechGrammar\x01\0\x01\rSpeechGrammar\x01\0\x01\x06weight\x01\x06weight\0\0\0!__widl_f_set_weight_SpeechGrammar\x01\0\x01\rSpeechGrammar\x01\0\x02\x06weight\x01\x06weight\0\0\x02\x11SpeechGrammarList#__widl_instanceof_SpeechGrammarList\0\0\0\0\x1E__widl_f_new_SpeechGrammarList\x01\0\x01\x11SpeechGrammarList\0\x01\x03new\0\0\0*__widl_f_add_from_string_SpeechGrammarList\x01\0\x01\x11SpeechGrammarList\x01\0\0\x01\raddFromString\0\0\06__widl_f_add_from_string_with_weight_SpeechGrammarList\x01\0\x01\x11SpeechGrammarList\x01\0\0\x01\raddFromString\0\0\0'__widl_f_add_from_uri_SpeechGrammarList\x01\0\x01\x11SpeechGrammarList\x01\0\0\x01\naddFromURI\0\0\03__widl_f_add_from_uri_with_weight_SpeechGrammarList\x01\0\x01\x11SpeechGrammarList\x01\0\0\x01\naddFromURI\0\0\0\x1F__widl_f_item_SpeechGrammarList\x01\0\x01\x11SpeechGrammarList\x01\0\0\x01\x04item\0\0\0\x1E__widl_f_get_SpeechGrammarList\x01\0\x01\x11SpeechGrammarList\x01\0\x03\x01\x03get\0\0\0!__widl_f_length_SpeechGrammarList\0\0\x01\x11SpeechGrammarList\x01\0\x01\x06length\x01\x06length\0\0\x02\x11SpeechRecognition#__widl_instanceof_SpeechRecognition\0\0\0\0\x1E__widl_f_new_SpeechRecognition\x01\0\x01\x11SpeechRecognition\0\x01\x03new\0\0\0 __widl_f_abort_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\0\x01\x05abort\0\0\0 __widl_f_start_SpeechRecognition\x01\0\x01\x11SpeechRecognition\x01\0\0\x01\x05start\0\0\0,__widl_f_start_with_stream_SpeechRecognition\x01\0\x01\x11SpeechRecognition\x01\0\0\x01\x05start\0\0\0\x1F__widl_f_stop_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\0\x01\x04stop\0\0\0#__widl_f_grammars_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\x08grammars\x01\x08grammars\0\0\0'__widl_f_set_grammars_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\x08grammars\x01\x08grammars\0\0\0\x1F__widl_f_lang_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\x04lang\x01\x04lang\0\0\0#__widl_f_set_lang_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\x04lang\x01\x04lang\0\0\0%__widl_f_continuous_SpeechRecognition\x01\0\x01\x11SpeechRecognition\x01\0\x01\ncontinuous\x01\ncontinuous\0\0\0)__widl_f_set_continuous_SpeechRecognition\x01\0\x01\x11SpeechRecognition\x01\0\x02\ncontinuous\x01\ncontinuous\0\0\0*__widl_f_interim_results_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\x0EinterimResults\x01\x0EinterimResults\0\0\0.__widl_f_set_interim_results_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\x0EinterimResults\x01\x0EinterimResults\0\0\0+__widl_f_max_alternatives_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\x0FmaxAlternatives\x01\x0FmaxAlternatives\0\0\0/__widl_f_set_max_alternatives_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\x0FmaxAlternatives\x01\x0FmaxAlternatives\0\0\0&__widl_f_service_uri_SpeechRecognition\x01\0\x01\x11SpeechRecognition\x01\0\x01\nserviceURI\x01\nserviceURI\0\0\0*__widl_f_set_service_uri_SpeechRecognition\x01\0\x01\x11SpeechRecognition\x01\0\x02\nserviceURI\x01\nserviceURI\0\0\0'__widl_f_onaudiostart_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\x0Conaudiostart\x01\x0Conaudiostart\0\0\0+__widl_f_set_onaudiostart_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\x0Conaudiostart\x01\x0Conaudiostart\0\0\0'__widl_f_onsoundstart_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\x0Consoundstart\x01\x0Consoundstart\0\0\0+__widl_f_set_onsoundstart_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\x0Consoundstart\x01\x0Consoundstart\0\0\0(__widl_f_onspeechstart_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\ronspeechstart\x01\ronspeechstart\0\0\0,__widl_f_set_onspeechstart_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\ronspeechstart\x01\ronspeechstart\0\0\0&__widl_f_onspeechend_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\x0Bonspeechend\x01\x0Bonspeechend\0\0\0*__widl_f_set_onspeechend_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\x0Bonspeechend\x01\x0Bonspeechend\0\0\0%__widl_f_onsoundend_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\nonsoundend\x01\nonsoundend\0\0\0)__widl_f_set_onsoundend_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\nonsoundend\x01\nonsoundend\0\0\0%__widl_f_onaudioend_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\nonaudioend\x01\nonaudioend\0\0\0)__widl_f_set_onaudioend_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\nonaudioend\x01\nonaudioend\0\0\0#__widl_f_onresult_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\x08onresult\x01\x08onresult\0\0\0'__widl_f_set_onresult_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\x08onresult\x01\x08onresult\0\0\0$__widl_f_onnomatch_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\tonnomatch\x01\tonnomatch\0\0\0(__widl_f_set_onnomatch_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\tonnomatch\x01\tonnomatch\0\0\0\"__widl_f_onerror_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\x07onerror\x01\x07onerror\0\0\0&__widl_f_set_onerror_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\x07onerror\x01\x07onerror\0\0\0\"__widl_f_onstart_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\x07onstart\x01\x07onstart\0\0\0&__widl_f_set_onstart_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\x07onstart\x01\x07onstart\0\0\0 __widl_f_onend_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x01\x05onend\x01\x05onend\0\0\0$__widl_f_set_onend_SpeechRecognition\0\0\x01\x11SpeechRecognition\x01\0\x02\x05onend\x01\x05onend\0\0\x02\x1CSpeechRecognitionAlternative.__widl_instanceof_SpeechRecognitionAlternative\0\0\0\00__widl_f_transcript_SpeechRecognitionAlternative\0\0\x01\x1CSpeechRecognitionAlternative\x01\0\x01\ntranscript\x01\ntranscript\0\0\00__widl_f_confidence_SpeechRecognitionAlternative\0\0\x01\x1CSpeechRecognitionAlternative\x01\0\x01\nconfidence\x01\nconfidence\0\0\x02\x16SpeechRecognitionError(__widl_instanceof_SpeechRecognitionError\0\0\0\0#__widl_f_new_SpeechRecognitionError\x01\0\x01\x16SpeechRecognitionError\0\x01\x03new\0\0\08__widl_f_new_with_event_init_dict_SpeechRecognitionError\x01\0\x01\x16SpeechRecognitionError\0\x01\x03new\0\0\0%__widl_f_error_SpeechRecognitionError\0\0\x01\x16SpeechRecognitionError\x01\0\x01\x05error\x01\x05error\0\0\0'__widl_f_message_SpeechRecognitionError\0\0\x01\x16SpeechRecognitionError\x01\0\x01\x07message\x01\x07message\0\0\x02\x16SpeechRecognitionEvent(__widl_instanceof_SpeechRecognitionEvent\0\0\0\0#__widl_f_new_SpeechRecognitionEvent\x01\0\x01\x16SpeechRecognitionEvent\0\x01\x03new\0\0\08__widl_f_new_with_event_init_dict_SpeechRecognitionEvent\x01\0\x01\x16SpeechRecognitionEvent\0\x01\x03new\0\0\0,__widl_f_result_index_SpeechRecognitionEvent\0\0\x01\x16SpeechRecognitionEvent\x01\0\x01\x0BresultIndex\x01\x0BresultIndex\0\0\0'__widl_f_results_SpeechRecognitionEvent\0\0\x01\x16SpeechRecognitionEvent\x01\0\x01\x07results\x01\x07results\0\0\0.__widl_f_interpretation_SpeechRecognitionEvent\0\0\x01\x16SpeechRecognitionEvent\x01\0\x01\x0Einterpretation\x01\x0Einterpretation\0\0\0$__widl_f_emma_SpeechRecognitionEvent\0\0\x01\x16SpeechRecognitionEvent\x01\0\x01\x04emma\x01\x04emma\0\0\x02\x17SpeechRecognitionResult)__widl_instanceof_SpeechRecognitionResult\0\0\0\0%__widl_f_item_SpeechRecognitionResult\0\0\x01\x17SpeechRecognitionResult\x01\0\0\x01\x04item\0\0\0$__widl_f_get_SpeechRecognitionResult\0\0\x01\x17SpeechRecognitionResult\x01\0\x03\x01\x03get\0\0\0'__widl_f_length_SpeechRecognitionResult\0\0\x01\x17SpeechRecognitionResult\x01\0\x01\x06length\x01\x06length\0\0\0)__widl_f_is_final_SpeechRecognitionResult\0\0\x01\x17SpeechRecognitionResult\x01\0\x01\x07isFinal\x01\x07isFinal\0\0\x02\x1BSpeechRecognitionResultList-__widl_instanceof_SpeechRecognitionResultList\0\0\0\0)__widl_f_item_SpeechRecognitionResultList\0\0\x01\x1BSpeechRecognitionResultList\x01\0\0\x01\x04item\0\0\0(__widl_f_get_SpeechRecognitionResultList\0\0\x01\x1BSpeechRecognitionResultList\x01\0\x03\x01\x03get\0\0\0+__widl_f_length_SpeechRecognitionResultList\0\0\x01\x1BSpeechRecognitionResultList\x01\0\x01\x06length\x01\x06length\0\0\x02\x0FSpeechSynthesis!__widl_instanceof_SpeechSynthesis\0\0\0\0\x1F__widl_f_cancel_SpeechSynthesis\0\0\x01\x0FSpeechSynthesis\x01\0\0\x01\x06cancel\0\0\0\x1E__widl_f_pause_SpeechSynthesis\0\0\x01\x0FSpeechSynthesis\x01\0\0\x01\x05pause\0\0\0\x1F__widl_f_resume_SpeechSynthesis\0\0\x01\x0FSpeechSynthesis\x01\0\0\x01\x06resume\0\0\0\x1E__widl_f_speak_SpeechSynthesis\0\0\x01\x0FSpeechSynthesis\x01\0\0\x01\x05speak\0\0\0 __widl_f_pending_SpeechSynthesis\0\0\x01\x0FSpeechSynthesis\x01\0\x01\x07pending\x01\x07pending\0\0\0!__widl_f_speaking_SpeechSynthesis\0\0\x01\x0FSpeechSynthesis\x01\0\x01\x08speaking\x01\x08speaking\0\0\0\x1F__widl_f_paused_SpeechSynthesis\0\0\x01\x0FSpeechSynthesis\x01\0\x01\x06paused\x01\x06paused\0\0\0(__widl_f_onvoiceschanged_SpeechSynthesis\0\0\x01\x0FSpeechSynthesis\x01\0\x01\x0Fonvoiceschanged\x01\x0Fonvoiceschanged\0\0\0,__widl_f_set_onvoiceschanged_SpeechSynthesis\0\0\x01\x0FSpeechSynthesis\x01\0\x02\x0Fonvoiceschanged\x01\x0Fonvoiceschanged\0\0\x02\x19SpeechSynthesisErrorEvent+__widl_instanceof_SpeechSynthesisErrorEvent\0\0\0\0&__widl_f_new_SpeechSynthesisErrorEvent\x01\0\x01\x19SpeechSynthesisErrorEvent\0\x01\x03new\0\0\0(__widl_f_error_SpeechSynthesisErrorEvent\0\0\x01\x19SpeechSynthesisErrorEvent\x01\0\x01\x05error\x01\x05error\0\0\x02\x14SpeechSynthesisEvent&__widl_instanceof_SpeechSynthesisEvent\0\0\0\0!__widl_f_new_SpeechSynthesisEvent\x01\0\x01\x14SpeechSynthesisEvent\0\x01\x03new\0\0\0'__widl_f_utterance_SpeechSynthesisEvent\0\0\x01\x14SpeechSynthesisEvent\x01\0\x01\tutterance\x01\tutterance\0\0\0(__widl_f_char_index_SpeechSynthesisEvent\0\0\x01\x14SpeechSynthesisEvent\x01\0\x01\tcharIndex\x01\tcharIndex\0\0\0)__widl_f_char_length_SpeechSynthesisEvent\0\0\x01\x14SpeechSynthesisEvent\x01\0\x01\ncharLength\x01\ncharLength\0\0\0*__widl_f_elapsed_time_SpeechSynthesisEvent\0\0\x01\x14SpeechSynthesisEvent\x01\0\x01\x0BelapsedTime\x01\x0BelapsedTime\0\0\0\"__widl_f_name_SpeechSynthesisEvent\0\0\x01\x14SpeechSynthesisEvent\x01\0\x01\x04name\x01\x04name\0\0\x02\x18SpeechSynthesisUtterance*__widl_instanceof_SpeechSynthesisUtterance\0\0\0\0%__widl_f_new_SpeechSynthesisUtterance\x01\0\x01\x18SpeechSynthesisUtterance\0\x01\x03new\0\0\0/__widl_f_new_with_text_SpeechSynthesisUtterance\x01\0\x01\x18SpeechSynthesisUtterance\0\x01\x03new\0\0\0&__widl_f_text_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x01\x04text\x01\x04text\0\0\0*__widl_f_set_text_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x02\x04text\x01\x04text\0\0\0&__widl_f_lang_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x01\x04lang\x01\x04lang\0\0\0*__widl_f_set_lang_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x02\x04lang\x01\x04lang\0\0\0'__widl_f_voice_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x01\x05voice\x01\x05voice\0\0\0+__widl_f_set_voice_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x02\x05voice\x01\x05voice\0\0\0(__widl_f_volume_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x01\x06volume\x01\x06volume\0\0\0,__widl_f_set_volume_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x02\x06volume\x01\x06volume\0\0\0&__widl_f_rate_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x01\x04rate\x01\x04rate\0\0\0*__widl_f_set_rate_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x02\x04rate\x01\x04rate\0\0\0'__widl_f_pitch_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x01\x05pitch\x01\x05pitch\0\0\0+__widl_f_set_pitch_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x02\x05pitch\x01\x05pitch\0\0\0)__widl_f_onstart_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x01\x07onstart\x01\x07onstart\0\0\0-__widl_f_set_onstart_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x02\x07onstart\x01\x07onstart\0\0\0'__widl_f_onend_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x01\x05onend\x01\x05onend\0\0\0+__widl_f_set_onend_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x02\x05onend\x01\x05onend\0\0\0)__widl_f_onerror_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x01\x07onerror\x01\x07onerror\0\0\0-__widl_f_set_onerror_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x02\x07onerror\x01\x07onerror\0\0\0)__widl_f_onpause_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x01\x07onpause\x01\x07onpause\0\0\0-__widl_f_set_onpause_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x02\x07onpause\x01\x07onpause\0\0\0*__widl_f_onresume_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x01\x08onresume\x01\x08onresume\0\0\0.__widl_f_set_onresume_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x02\x08onresume\x01\x08onresume\0\0\0(__widl_f_onmark_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x01\x06onmark\x01\x06onmark\0\0\0,__widl_f_set_onmark_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x02\x06onmark\x01\x06onmark\0\0\0,__widl_f_onboundary_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x01\nonboundary\x01\nonboundary\0\0\00__widl_f_set_onboundary_SpeechSynthesisUtterance\0\0\x01\x18SpeechSynthesisUtterance\x01\0\x02\nonboundary\x01\nonboundary\0\0\x02\x14SpeechSynthesisVoice&__widl_instanceof_SpeechSynthesisVoice\0\0\0\0'__widl_f_voice_uri_SpeechSynthesisVoice\0\0\x01\x14SpeechSynthesisVoice\x01\0\x01\x08voiceURI\x01\x08voiceURI\0\0\0\"__widl_f_name_SpeechSynthesisVoice\0\0\x01\x14SpeechSynthesisVoice\x01\0\x01\x04name\x01\x04name\0\0\0\"__widl_f_lang_SpeechSynthesisVoice\0\0\x01\x14SpeechSynthesisVoice\x01\0\x01\x04lang\x01\x04lang\0\0\0+__widl_f_local_service_SpeechSynthesisVoice\0\0\x01\x14SpeechSynthesisVoice\x01\0\x01\x0ClocalService\x01\x0ClocalService\0\0\0%__widl_f_default_SpeechSynthesisVoice\0\0\x01\x14SpeechSynthesisVoice\x01\0\x01\x07default\x01\x07default\0\0\x02\x10StereoPannerNode\"__widl_instanceof_StereoPannerNode\0\0\0\0\x1D__widl_f_new_StereoPannerNode\x01\0\x01\x10StereoPannerNode\0\x01\x03new\0\0\0*__widl_f_new_with_options_StereoPannerNode\x01\0\x01\x10StereoPannerNode\0\x01\x03new\0\0\0\x1D__widl_f_pan_StereoPannerNode\0\0\x01\x10StereoPannerNode\x01\0\x01\x03pan\x01\x03pan\0\0\x02\x07Storage\x19__widl_instanceof_Storage\0\0\0\0\x16__widl_f_clear_Storage\x01\0\x01\x07Storage\x01\0\0\x01\x05clear\0\0\0\x19__widl_f_get_item_Storage\x01\0\x01\x07Storage\x01\0\0\x01\x07getItem\0\0\0\x14__widl_f_key_Storage\x01\0\x01\x07Storage\x01\0\0\x01\x03key\0\0\0\x1C__widl_f_remove_item_Storage\x01\0\x01\x07Storage\x01\0\0\x01\nremoveItem\0\0\0\x19__widl_f_set_item_Storage\x01\0\x01\x07Storage\x01\0\0\x01\x07setItem\0\0\0\x14__widl_f_get_Storage\x01\0\x01\x07Storage\x01\0\x03\x01\x03get\0\0\0\x14__widl_f_set_Storage\x01\0\x01\x07Storage\x01\0\x04\x01\x03set\0\0\0\x17__widl_f_delete_Storage\x01\0\x01\x07Storage\x01\0\x05\x01\x06delete\0\0\0\x17__widl_f_length_Storage\x01\0\x01\x07Storage\x01\0\x01\x06length\x01\x06length\0\0\x02\x0CStorageEvent\x1E__widl_instanceof_StorageEvent\0\0\0\0\x19__widl_f_new_StorageEvent\x01\0\x01\x0CStorageEvent\0\x01\x03new\0\0\0.__widl_f_new_with_event_init_dict_StorageEvent\x01\0\x01\x0CStorageEvent\0\x01\x03new\0\0\0(__widl_f_init_storage_event_StorageEvent\0\0\x01\x0CStorageEvent\x01\0\0\x01\x10initStorageEvent\0\0\08__widl_f_init_storage_event_with_can_bubble_StorageEvent\0\0\x01\x0CStorageEvent\x01\0\0\x01\x10initStorageEvent\0\0\0G__widl_f_init_storage_event_with_can_bubble_and_cancelable_StorageEvent\0\0\x01\x0CStorageEvent\x01\0\0\x01\x10initStorageEvent\0\0\0O__widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_StorageEvent\0\0\x01\x0CStorageEvent\x01\0\0\x01\x10initStorageEvent\0\0\0]__widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_StorageEvent\0\0\x01\x0CStorageEvent\x01\0\0\x01\x10initStorageEvent\0\0\0k__widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_StorageEvent\0\0\x01\x0CStorageEvent\x01\0\0\x01\x10initStorageEvent\0\0\0s__widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url_StorageEvent\0\0\x01\x0CStorageEvent\x01\0\0\x01\x10initStorageEvent\0\0\0\x84\x01__widl_f_init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url_and_storage_area_StorageEvent\0\0\x01\x0CStorageEvent\x01\0\0\x01\x10initStorageEvent\0\0\0\x19__widl_f_key_StorageEvent\0\0\x01\x0CStorageEvent\x01\0\x01\x03key\x01\x03key\0\0\0\x1F__widl_f_old_value_StorageEvent\0\0\x01\x0CStorageEvent\x01\0\x01\x08oldValue\x01\x08oldValue\0\0\0\x1F__widl_f_new_value_StorageEvent\0\0\x01\x0CStorageEvent\x01\0\x01\x08newValue\x01\x08newValue\0\0\0\x19__widl_f_url_StorageEvent\0\0\x01\x0CStorageEvent\x01\0\x01\x03url\x01\x03url\0\0\0\"__widl_f_storage_area_StorageEvent\0\0\x01\x0CStorageEvent\x01\0\x01\x0BstorageArea\x01\x0BstorageArea\0\0\x02\x0EStorageManager __widl_instanceof_StorageManager\0\0\0\0 __widl_f_estimate_StorageManager\x01\0\x01\x0EStorageManager\x01\0\0\x01\x08estimate\0\0\0\x1F__widl_f_persist_StorageManager\x01\0\x01\x0EStorageManager\x01\0\0\x01\x07persist\0\0\0!__widl_f_persisted_StorageManager\x01\0\x01\x0EStorageManager\x01\0\0\x01\tpersisted\0\0\x02\nStyleSheet\x1C__widl_instanceof_StyleSheet\0\0\0\0\x18__widl_f_type_StyleSheet\0\0\x01\nStyleSheet\x01\0\x01\x04type\x01\x04type\0\0\0\x18__widl_f_href_StyleSheet\x01\0\x01\nStyleSheet\x01\0\x01\x04href\x01\x04href\0\0\0\x1E__widl_f_owner_node_StyleSheet\0\0\x01\nStyleSheet\x01\0\x01\townerNode\x01\townerNode\0\0\0&__widl_f_parent_style_sheet_StyleSheet\0\0\x01\nStyleSheet\x01\0\x01\x10parentStyleSheet\x01\x10parentStyleSheet\0\0\0\x19__widl_f_title_StyleSheet\0\0\x01\nStyleSheet\x01\0\x01\x05title\x01\x05title\0\0\0\x19__widl_f_media_StyleSheet\0\0\x01\nStyleSheet\x01\0\x01\x05media\x01\x05media\0\0\0\x1C__widl_f_disabled_StyleSheet\0\0\x01\nStyleSheet\x01\0\x01\x08disabled\x01\x08disabled\0\0\0 __widl_f_set_disabled_StyleSheet\0\0\x01\nStyleSheet\x01\0\x02\x08disabled\x01\x08disabled\0\0\x02\x0EStyleSheetList __widl_instanceof_StyleSheetList\0\0\0\0\x1C__widl_f_item_StyleSheetList\0\0\x01\x0EStyleSheetList\x01\0\0\x01\x04item\0\0\0\x1B__widl_f_get_StyleSheetList\0\0\x01\x0EStyleSheetList\x01\0\x03\x01\x03get\0\0\0\x1E__widl_f_length_StyleSheetList\0\0\x01\x0EStyleSheetList\x01\0\x01\x06length\x01\x06length\0\0\x02\x0CSubtleCrypto\x1E__widl_instanceof_SubtleCrypto\0\0\0\0;__widl_f_decrypt_with_object_and_buffer_source_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x07decrypt\0\0\08__widl_f_decrypt_with_str_and_buffer_source_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x07decrypt\0\0\06__widl_f_decrypt_with_object_and_u8_array_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x07decrypt\0\0\03__widl_f_decrypt_with_str_and_u8_array_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x07decrypt\0\0\0-__widl_f_derive_bits_with_object_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\nderiveBits\0\0\0*__widl_f_derive_bits_with_str_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\nderiveBits\0\0\0:__widl_f_digest_with_object_and_buffer_source_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x06digest\0\0\07__widl_f_digest_with_str_and_buffer_source_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x06digest\0\0\05__widl_f_digest_with_object_and_u8_array_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x06digest\0\0\02__widl_f_digest_with_str_and_u8_array_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x06digest\0\0\0;__widl_f_encrypt_with_object_and_buffer_source_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x07encrypt\0\0\08__widl_f_encrypt_with_str_and_buffer_source_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x07encrypt\0\0\06__widl_f_encrypt_with_object_and_u8_array_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x07encrypt\0\0\03__widl_f_encrypt_with_str_and_u8_array_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x07encrypt\0\0\0 __widl_f_export_key_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\texportKey\0\0\08__widl_f_sign_with_object_and_buffer_source_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x04sign\0\0\05__widl_f_sign_with_str_and_buffer_source_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x04sign\0\0\03__widl_f_sign_with_object_and_u8_array_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x04sign\0\0\00__widl_f_sign_with_str_and_u8_array_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x04sign\0\0\0L__widl_f_verify_with_object_and_buffer_source_and_buffer_source_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x06verify\0\0\0I__widl_f_verify_with_str_and_buffer_source_and_buffer_source_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x06verify\0\0\0G__widl_f_verify_with_object_and_u8_array_and_buffer_source_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x06verify\0\0\0D__widl_f_verify_with_str_and_u8_array_and_buffer_source_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x06verify\0\0\0G__widl_f_verify_with_object_and_buffer_source_and_u8_array_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x06verify\0\0\0D__widl_f_verify_with_str_and_buffer_source_and_u8_array_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x06verify\0\0\0B__widl_f_verify_with_object_and_u8_array_and_u8_array_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x06verify\0\0\0?__widl_f_verify_with_str_and_u8_array_and_u8_array_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x06verify\0\0\0*__widl_f_wrap_key_with_object_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x07wrapKey\0\0\0'__widl_f_wrap_key_with_str_SubtleCrypto\x01\0\x01\x0CSubtleCrypto\x01\0\0\x01\x07wrapKey\0\0\x02\x0FTCPServerSocket!__widl_instanceof_TCPServerSocket\0\0\0\0\x1C__widl_f_new_TCPServerSocket\x01\0\x01\x0FTCPServerSocket\0\x01\x03new\0\0\0)__widl_f_new_with_options_TCPServerSocket\x01\0\x01\x0FTCPServerSocket\0\x01\x03new\0\0\05__widl_f_new_with_options_and_backlog_TCPServerSocket\x01\0\x01\x0FTCPServerSocket\0\x01\x03new\0\0\0\x1E__widl_f_close_TCPServerSocket\0\0\x01\x0FTCPServerSocket\x01\0\0\x01\x05close\0\0\0#__widl_f_local_port_TCPServerSocket\0\0\x01\x0FTCPServerSocket\x01\0\x01\tlocalPort\x01\tlocalPort\0\0\0\"__widl_f_onconnect_TCPServerSocket\0\0\x01\x0FTCPServerSocket\x01\0\x01\tonconnect\x01\tonconnect\0\0\0&__widl_f_set_onconnect_TCPServerSocket\0\0\x01\x0FTCPServerSocket\x01\0\x02\tonconnect\x01\tonconnect\0\0\0 __widl_f_onerror_TCPServerSocket\0\0\x01\x0FTCPServerSocket\x01\0\x01\x07onerror\x01\x07onerror\0\0\0$__widl_f_set_onerror_TCPServerSocket\0\0\x01\x0FTCPServerSocket\x01\0\x02\x07onerror\x01\x07onerror\0\0\x02\x14TCPServerSocketEvent&__widl_instanceof_TCPServerSocketEvent\0\0\0\0!__widl_f_new_TCPServerSocketEvent\x01\0\x01\x14TCPServerSocketEvent\0\x01\x03new\0\0\06__widl_f_new_with_event_init_dict_TCPServerSocketEvent\x01\0\x01\x14TCPServerSocketEvent\0\x01\x03new\0\0\0$__widl_f_socket_TCPServerSocketEvent\0\0\x01\x14TCPServerSocketEvent\x01\0\x01\x06socket\x01\x06socket\0\0\x02\tTCPSocket\x1B__widl_instanceof_TCPSocket\0\0\0\0\x16__widl_f_new_TCPSocket\x01\0\x01\tTCPSocket\0\x01\x03new\0\0\0#__widl_f_new_with_options_TCPSocket\x01\0\x01\tTCPSocket\0\x01\x03new\0\0\0\x18__widl_f_close_TCPSocket\0\0\x01\tTCPSocket\x01\0\0\x01\x05close\0\0\0\x19__widl_f_resume_TCPSocket\x01\0\x01\tTCPSocket\x01\0\0\x01\x06resume\0\0\0 __widl_f_send_with_str_TCPSocket\x01\0\x01\tTCPSocket\x01\0\0\x01\x04send\0\0\0)__widl_f_send_with_array_buffer_TCPSocket\x01\0\x01\tTCPSocket\x01\0\0\x01\x04send\0\0\09__widl_f_send_with_array_buffer_and_byte_offset_TCPSocket\x01\0\x01\tTCPSocket\x01\0\0\x01\x04send\0\0\0I__widl_f_send_with_array_buffer_and_byte_offset_and_byte_length_TCPSocket\x01\0\x01\tTCPSocket\x01\0\0\x01\x04send\0\0\0\x1A__widl_f_suspend_TCPSocket\0\0\x01\tTCPSocket\x01\0\0\x01\x07suspend\0\0\0$__widl_f_upgrade_to_secure_TCPSocket\x01\0\x01\tTCPSocket\x01\0\0\x01\x0FupgradeToSecure\0\0\0\x17__widl_f_host_TCPSocket\0\0\x01\tTCPSocket\x01\0\x01\x04host\x01\x04host\0\0\0\x17__widl_f_port_TCPSocket\0\0\x01\tTCPSocket\x01\0\x01\x04port\x01\x04port\0\0\0\x16__widl_f_ssl_TCPSocket\0\0\x01\tTCPSocket\x01\0\x01\x03ssl\x01\x03ssl\0\0\0\"__widl_f_buffered_amount_TCPSocket\0\0\x01\tTCPSocket\x01\0\x01\x0EbufferedAmount\x01\x0EbufferedAmount\0\0\0\x1E__widl_f_ready_state_TCPSocket\0\0\x01\tTCPSocket\x01\0\x01\nreadyState\x01\nreadyState\0\0\0\x1E__widl_f_binary_type_TCPSocket\0\0\x01\tTCPSocket\x01\0\x01\nbinaryType\x01\nbinaryType\0\0\0\x19__widl_f_onopen_TCPSocket\0\0\x01\tTCPSocket\x01\0\x01\x06onopen\x01\x06onopen\0\0\0\x1D__widl_f_set_onopen_TCPSocket\0\0\x01\tTCPSocket\x01\0\x02\x06onopen\x01\x06onopen\0\0\0\x1A__widl_f_ondrain_TCPSocket\0\0\x01\tTCPSocket\x01\0\x01\x07ondrain\x01\x07ondrain\0\0\0\x1E__widl_f_set_ondrain_TCPSocket\0\0\x01\tTCPSocket\x01\0\x02\x07ondrain\x01\x07ondrain\0\0\0\x19__widl_f_ondata_TCPSocket\0\0\x01\tTCPSocket\x01\0\x01\x06ondata\x01\x06ondata\0\0\0\x1D__widl_f_set_ondata_TCPSocket\0\0\x01\tTCPSocket\x01\0\x02\x06ondata\x01\x06ondata\0\0\0\x1A__widl_f_onerror_TCPSocket\0\0\x01\tTCPSocket\x01\0\x01\x07onerror\x01\x07onerror\0\0\0\x1E__widl_f_set_onerror_TCPSocket\0\0\x01\tTCPSocket\x01\0\x02\x07onerror\x01\x07onerror\0\0\0\x1A__widl_f_onclose_TCPSocket\0\0\x01\tTCPSocket\x01\0\x01\x07onclose\x01\x07onclose\0\0\0\x1E__widl_f_set_onclose_TCPSocket\0\0\x01\tTCPSocket\x01\0\x02\x07onclose\x01\x07onclose\0\0\x02\x13TCPSocketErrorEvent%__widl_instanceof_TCPSocketErrorEvent\0\0\0\0 __widl_f_new_TCPSocketErrorEvent\x01\0\x01\x13TCPSocketErrorEvent\0\x01\x03new\0\0\05__widl_f_new_with_event_init_dict_TCPSocketErrorEvent\x01\0\x01\x13TCPSocketErrorEvent\0\x01\x03new\0\0\0!__widl_f_name_TCPSocketErrorEvent\0\0\x01\x13TCPSocketErrorEvent\x01\0\x01\x04name\x01\x04name\0\0\0$__widl_f_message_TCPSocketErrorEvent\0\0\x01\x13TCPSocketErrorEvent\x01\0\x01\x07message\x01\x07message\0\0\x02\x0ETCPSocketEvent __widl_instanceof_TCPSocketEvent\0\0\0\0\x1B__widl_f_new_TCPSocketEvent\x01\0\x01\x0ETCPSocketEvent\0\x01\x03new\0\0\00__widl_f_new_with_event_init_dict_TCPSocketEvent\x01\0\x01\x0ETCPSocketEvent\0\x01\x03new\0\0\0\x1C__widl_f_data_TCPSocketEvent\0\0\x01\x0ETCPSocketEvent\x01\0\x01\x04data\x01\x04data\0\0\x02\x04Text\x16__widl_instanceof_Text\0\0\0\0\x11__widl_f_new_Text\x01\0\x01\x04Text\0\x01\x03new\0\0\0\x1B__widl_f_new_with_data_Text\x01\0\x01\x04Text\0\x01\x03new\0\0\0\x18__widl_f_split_text_Text\x01\0\x01\x04Text\x01\0\0\x01\tsplitText\0\0\0\x18__widl_f_whole_text_Text\x01\0\x01\x04Text\x01\0\x01\twholeText\x01\twholeText\0\0\0\x1B__widl_f_assigned_slot_Text\0\0\x01\x04Text\x01\0\x01\x0CassignedSlot\x01\x0CassignedSlot\0\0\0/__widl_f_convert_point_from_node_with_text_Text\x01\0\x01\x04Text\x01\0\0\x01\x14convertPointFromNode\0\0\02__widl_f_convert_point_from_node_with_element_Text\x01\0\x01\x04Text\x01\0\0\x01\x14convertPointFromNode\0\0\03__widl_f_convert_point_from_node_with_document_Text\x01\0\x01\x04Text\x01\0\0\x01\x14convertPointFromNode\0\0\0;__widl_f_convert_point_from_node_with_text_and_options_Text\x01\0\x01\x04Text\x01\0\0\x01\x14convertPointFromNode\0\0\0>__widl_f_convert_point_from_node_with_element_and_options_Text\x01\0\x01\x04Text\x01\0\0\x01\x14convertPointFromNode\0\0\0?__widl_f_convert_point_from_node_with_document_and_options_Text\x01\0\x01\x04Text\x01\0\0\x01\x14convertPointFromNode\0\0\0.__widl_f_convert_quad_from_node_with_text_Text\x01\0\x01\x04Text\x01\0\0\x01\x13convertQuadFromNode\0\0\01__widl_f_convert_quad_from_node_with_element_Text\x01\0\x01\x04Text\x01\0\0\x01\x13convertQuadFromNode\0\0\02__widl_f_convert_quad_from_node_with_document_Text\x01\0\x01\x04Text\x01\0\0\x01\x13convertQuadFromNode\0\0\0:__widl_f_convert_quad_from_node_with_text_and_options_Text\x01\0\x01\x04Text\x01\0\0\x01\x13convertQuadFromNode\0\0\0=__widl_f_convert_quad_from_node_with_element_and_options_Text\x01\0\x01\x04Text\x01\0\0\x01\x13convertQuadFromNode\0\0\0>__widl_f_convert_quad_from_node_with_document_and_options_Text\x01\0\x01\x04Text\x01\0\0\x01\x13convertQuadFromNode\0\0\0.__widl_f_convert_rect_from_node_with_text_Text\x01\0\x01\x04Text\x01\0\0\x01\x13convertRectFromNode\0\0\01__widl_f_convert_rect_from_node_with_element_Text\x01\0\x01\x04Text\x01\0\0\x01\x13convertRectFromNode\0\0\02__widl_f_convert_rect_from_node_with_document_Text\x01\0\x01\x04Text\x01\0\0\x01\x13convertRectFromNode\0\0\0:__widl_f_convert_rect_from_node_with_text_and_options_Text\x01\0\x01\x04Text\x01\0\0\x01\x13convertRectFromNode\0\0\0=__widl_f_convert_rect_from_node_with_element_and_options_Text\x01\0\x01\x04Text\x01\0\0\x01\x13convertRectFromNode\0\0\0>__widl_f_convert_rect_from_node_with_document_and_options_Text\x01\0\x01\x04Text\x01\0\0\x01\x13convertRectFromNode\0\0\x02\x0BTextDecoder\x1D__widl_instanceof_TextDecoder\0\0\0\0\x18__widl_f_new_TextDecoder\x01\0\x01\x0BTextDecoder\0\x01\x03new\0\0\0#__widl_f_new_with_label_TextDecoder\x01\0\x01\x0BTextDecoder\0\x01\x03new\0\0\0/__widl_f_new_with_label_and_options_TextDecoder\x01\0\x01\x0BTextDecoder\0\x01\x03new\0\0\0\x1B__widl_f_decode_TextDecoder\x01\0\x01\x0BTextDecoder\x01\0\0\x01\x06decode\0\0\0.__widl_f_decode_with_buffer_source_TextDecoder\x01\0\x01\x0BTextDecoder\x01\0\0\x01\x06decode\0\0\0)__widl_f_decode_with_u8_array_TextDecoder\x01\0\x01\x0BTextDecoder\x01\0\0\x01\x06decode\0\0\0:__widl_f_decode_with_buffer_source_and_options_TextDecoder\x01\0\x01\x0BTextDecoder\x01\0\0\x01\x06decode\0\0\05__widl_f_decode_with_u8_array_and_options_TextDecoder\x01\0\x01\x0BTextDecoder\x01\0\0\x01\x06decode\0\0\0\x1D__widl_f_encoding_TextDecoder\0\0\x01\x0BTextDecoder\x01\0\x01\x08encoding\x01\x08encoding\0\0\0\x1A__widl_f_fatal_TextDecoder\0\0\x01\x0BTextDecoder\x01\0\x01\x05fatal\x01\x05fatal\0\0\x02\x0BTextEncoder\x1D__widl_instanceof_TextEncoder\0\0\0\0\x18__widl_f_new_TextEncoder\x01\0\x01\x0BTextEncoder\0\x01\x03new\0\0\0\x1B__widl_f_encode_TextEncoder\0\0\x01\x0BTextEncoder\x01\0\0\x01\x06encode\0\0\0&__widl_f_encode_with_input_TextEncoder\0\0\x01\x0BTextEncoder\x01\0\0\x01\x06encode\0\0\0\x1D__widl_f_encoding_TextEncoder\0\0\x01\x0BTextEncoder\x01\0\x01\x08encoding\x01\x08encoding\0\0\x02\x0BTextMetrics\x1D__widl_instanceof_TextMetrics\0\0\0\0\x1A__widl_f_width_TextMetrics\0\0\x01\x0BTextMetrics\x01\0\x01\x05width\x01\x05width\0\0\x02\tTextTrack\x1B__widl_instanceof_TextTrack\0\0\0\0\x1A__widl_f_add_cue_TextTrack\0\0\x01\tTextTrack\x01\0\0\x01\x06addCue\0\0\0\x1D__widl_f_remove_cue_TextTrack\x01\0\x01\tTextTrack\x01\0\0\x01\tremoveCue\0\0\0\x17__widl_f_kind_TextTrack\0\0\x01\tTextTrack\x01\0\x01\x04kind\x01\x04kind\0\0\0\x18__widl_f_label_TextTrack\0\0\x01\tTextTrack\x01\0\x01\x05label\x01\x05label\0\0\0\x1B__widl_f_language_TextTrack\0\0\x01\tTextTrack\x01\0\x01\x08language\x01\x08language\0\0\0\x15__widl_f_id_TextTrack\0\0\x01\tTextTrack\x01\0\x01\x02id\x01\x02id\0\0\07__widl_f_in_band_metadata_track_dispatch_type_TextTrack\0\0\x01\tTextTrack\x01\0\x01\x1FinBandMetadataTrackDispatchType\x01\x1FinBandMetadataTrackDispatchType\0\0\0\x17__widl_f_mode_TextTrack\0\0\x01\tTextTrack\x01\0\x01\x04mode\x01\x04mode\0\0\0\x1B__widl_f_set_mode_TextTrack\0\0\x01\tTextTrack\x01\0\x02\x04mode\x01\x04mode\0\0\0\x17__widl_f_cues_TextTrack\0\0\x01\tTextTrack\x01\0\x01\x04cues\x01\x04cues\0\0\0\x1E__widl_f_active_cues_TextTrack\0\0\x01\tTextTrack\x01\0\x01\nactiveCues\x01\nactiveCues\0\0\0\x1E__widl_f_oncuechange_TextTrack\0\0\x01\tTextTrack\x01\0\x01\x0Boncuechange\x01\x0Boncuechange\0\0\0\"__widl_f_set_oncuechange_TextTrack\0\0\x01\tTextTrack\x01\0\x02\x0Boncuechange\x01\x0Boncuechange\0\0\x02\x0CTextTrackCue\x1E__widl_instanceof_TextTrackCue\0\0\0\0\x1B__widl_f_track_TextTrackCue\0\0\x01\x0CTextTrackCue\x01\0\x01\x05track\x01\x05track\0\0\0\x18__widl_f_id_TextTrackCue\0\0\x01\x0CTextTrackCue\x01\0\x01\x02id\x01\x02id\0\0\0\x1C__widl_f_set_id_TextTrackCue\0\0\x01\x0CTextTrackCue\x01\0\x02\x02id\x01\x02id\0\0\0 __widl_f_start_time_TextTrackCue\0\0\x01\x0CTextTrackCue\x01\0\x01\tstartTime\x01\tstartTime\0\0\0$__widl_f_set_start_time_TextTrackCue\0\0\x01\x0CTextTrackCue\x01\0\x02\tstartTime\x01\tstartTime\0\0\0\x1E__widl_f_end_time_TextTrackCue\0\0\x01\x0CTextTrackCue\x01\0\x01\x07endTime\x01\x07endTime\0\0\0\"__widl_f_set_end_time_TextTrackCue\0\0\x01\x0CTextTrackCue\x01\0\x02\x07endTime\x01\x07endTime\0\0\0#__widl_f_pause_on_exit_TextTrackCue\0\0\x01\x0CTextTrackCue\x01\0\x01\x0BpauseOnExit\x01\x0BpauseOnExit\0\0\0'__widl_f_set_pause_on_exit_TextTrackCue\0\0\x01\x0CTextTrackCue\x01\0\x02\x0BpauseOnExit\x01\x0BpauseOnExit\0\0\0\x1D__widl_f_onenter_TextTrackCue\0\0\x01\x0CTextTrackCue\x01\0\x01\x07onenter\x01\x07onenter\0\0\0!__widl_f_set_onenter_TextTrackCue\0\0\x01\x0CTextTrackCue\x01\0\x02\x07onenter\x01\x07onenter\0\0\0\x1C__widl_f_onexit_TextTrackCue\0\0\x01\x0CTextTrackCue\x01\0\x01\x06onexit\x01\x06onexit\0\0\0 __widl_f_set_onexit_TextTrackCue\0\0\x01\x0CTextTrackCue\x01\0\x02\x06onexit\x01\x06onexit\0\0\x02\x10TextTrackCueList\"__widl_instanceof_TextTrackCueList\0\0\0\0'__widl_f_get_cue_by_id_TextTrackCueList\0\0\x01\x10TextTrackCueList\x01\0\0\x01\ngetCueById\0\0\0\x1D__widl_f_get_TextTrackCueList\0\0\x01\x10TextTrackCueList\x01\0\x03\x01\x03get\0\0\0 __widl_f_length_TextTrackCueList\0\0\x01\x10TextTrackCueList\x01\0\x01\x06length\x01\x06length\0\0\x02\rTextTrackList\x1F__widl_instanceof_TextTrackList\0\0\0\0&__widl_f_get_track_by_id_TextTrackList\0\0\x01\rTextTrackList\x01\0\0\x01\x0CgetTrackById\0\0\0\x1A__widl_f_get_TextTrackList\0\0\x01\rTextTrackList\x01\0\x03\x01\x03get\0\0\0\x1D__widl_f_length_TextTrackList\0\0\x01\rTextTrackList\x01\0\x01\x06length\x01\x06length\0\0\0\x1F__widl_f_onchange_TextTrackList\0\0\x01\rTextTrackList\x01\0\x01\x08onchange\x01\x08onchange\0\0\0#__widl_f_set_onchange_TextTrackList\0\0\x01\rTextTrackList\x01\0\x02\x08onchange\x01\x08onchange\0\0\0!__widl_f_onaddtrack_TextTrackList\0\0\x01\rTextTrackList\x01\0\x01\nonaddtrack\x01\nonaddtrack\0\0\0%__widl_f_set_onaddtrack_TextTrackList\0\0\x01\rTextTrackList\x01\0\x02\nonaddtrack\x01\nonaddtrack\0\0\0$__widl_f_onremovetrack_TextTrackList\0\0\x01\rTextTrackList\x01\0\x01\ronremovetrack\x01\ronremovetrack\0\0\0(__widl_f_set_onremovetrack_TextTrackList\0\0\x01\rTextTrackList\x01\0\x02\ronremovetrack\x01\ronremovetrack\0\0\x02\tTimeEvent\x1B__widl_instanceof_TimeEvent\0\0\0\0\"__widl_f_init_time_event_TimeEvent\0\0\x01\tTimeEvent\x01\0\0\x01\rinitTimeEvent\0\0\0.__widl_f_init_time_event_with_a_view_TimeEvent\0\0\x01\tTimeEvent\x01\0\0\x01\rinitTimeEvent\0\0\0;__widl_f_init_time_event_with_a_view_and_a_detail_TimeEvent\0\0\x01\tTimeEvent\x01\0\0\x01\rinitTimeEvent\0\0\0\x19__widl_f_detail_TimeEvent\0\0\x01\tTimeEvent\x01\0\x01\x06detail\x01\x06detail\0\0\0\x17__widl_f_view_TimeEvent\0\0\x01\tTimeEvent\x01\0\x01\x04view\x01\x04view\0\0\x02\nTimeRanges\x1C__widl_instanceof_TimeRanges\0\0\0\0\x17__widl_f_end_TimeRanges\x01\0\x01\nTimeRanges\x01\0\0\x01\x03end\0\0\0\x19__widl_f_start_TimeRanges\x01\0\x01\nTimeRanges\x01\0\0\x01\x05start\0\0\0\x1A__widl_f_length_TimeRanges\0\0\x01\nTimeRanges\x01\0\x01\x06length\x01\x06length\0\0\x02\x05Touch\x17__widl_instanceof_Touch\0\0\0\0\x12__widl_f_new_Touch\x01\0\x01\x05Touch\0\x01\x03new\0\0\0\x19__widl_f_identifier_Touch\0\0\x01\x05Touch\x01\0\x01\nidentifier\x01\nidentifier\0\0\0\x15__widl_f_target_Touch\0\0\x01\x05Touch\x01\0\x01\x06target\x01\x06target\0\0\0\x17__widl_f_screen_x_Touch\0\0\x01\x05Touch\x01\0\x01\x07screenX\x01\x07screenX\0\0\0\x17__widl_f_screen_y_Touch\0\0\x01\x05Touch\x01\0\x01\x07screenY\x01\x07screenY\0\0\0\x17__widl_f_client_x_Touch\0\0\x01\x05Touch\x01\0\x01\x07clientX\x01\x07clientX\0\0\0\x17__widl_f_client_y_Touch\0\0\x01\x05Touch\x01\0\x01\x07clientY\x01\x07clientY\0\0\0\x15__widl_f_page_x_Touch\0\0\x01\x05Touch\x01\0\x01\x05pageX\x01\x05pageX\0\0\0\x15__widl_f_page_y_Touch\0\0\x01\x05Touch\x01\0\x01\x05pageY\x01\x05pageY\0\0\0\x17__widl_f_radius_x_Touch\0\0\x01\x05Touch\x01\0\x01\x07radiusX\x01\x07radiusX\0\0\0\x17__widl_f_radius_y_Touch\0\0\x01\x05Touch\x01\0\x01\x07radiusY\x01\x07radiusY\0\0\0\x1D__widl_f_rotation_angle_Touch\0\0\x01\x05Touch\x01\0\x01\rrotationAngle\x01\rrotationAngle\0\0\0\x14__widl_f_force_Touch\0\0\x01\x05Touch\x01\0\x01\x05force\x01\x05force\0\0\x02\nTouchEvent\x1C__widl_instanceof_TouchEvent\0\0\0\0\x17__widl_f_new_TouchEvent\x01\0\x01\nTouchEvent\0\x01\x03new\0\0\0,__widl_f_new_with_event_init_dict_TouchEvent\x01\0\x01\nTouchEvent\0\x01\x03new\0\0\0$__widl_f_init_touch_event_TouchEvent\0\0\x01\nTouchEvent\x01\0\0\x01\x0EinitTouchEvent\0\0\04__widl_f_init_touch_event_with_can_bubble_TouchEvent\0\0\x01\nTouchEvent\x01\0\0\x01\x0EinitTouchEvent\0\0\0C__widl_f_init_touch_event_with_can_bubble_and_cancelable_TouchEvent\0\0\x01\nTouchEvent\x01\0\0\x01\x0EinitTouchEvent\0\0\0L__widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_TouchEvent\0\0\x01\nTouchEvent\x01\0\0\x01\x0EinitTouchEvent\0\0\0W__widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_TouchEvent\0\0\x01\nTouchEvent\x01\0\0\x01\x0EinitTouchEvent\0\0\0d__widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_TouchEvent\0\0\x01\nTouchEvent\x01\0\0\x01\x0EinitTouchEvent\0\0\0p__widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_TouchEvent\0\0\x01\nTouchEvent\x01\0\0\x01\x0EinitTouchEvent\0\0\0~__widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_TouchEvent\0\0\x01\nTouchEvent\x01\0\0\x01\x0EinitTouchEvent\0\0\0\x8B\x01__widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_TouchEvent\0\0\x01\nTouchEvent\x01\0\0\x01\x0EinitTouchEvent\0\0\0\x97\x01__widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_TouchEvent\0\0\x01\nTouchEvent\x01\0\0\x01\x0EinitTouchEvent\0\0\0\xAA\x01__widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches_TouchEvent\0\0\x01\nTouchEvent\x01\0\0\x01\x0EinitTouchEvent\0\0\0\xBE\x01__widl_f_init_touch_event_with_can_bubble_and_cancelable_and_view_and_detail_and_ctrl_key_and_alt_key_and_shift_key_and_meta_key_and_touches_and_target_touches_and_changed_touches_TouchEvent\0\0\x01\nTouchEvent\x01\0\0\x01\x0EinitTouchEvent\0\0\0\x1B__widl_f_touches_TouchEvent\0\0\x01\nTouchEvent\x01\0\x01\x07touches\x01\x07touches\0\0\0\"__widl_f_target_touches_TouchEvent\0\0\x01\nTouchEvent\x01\0\x01\rtargetTouches\x01\rtargetTouches\0\0\0#__widl_f_changed_touches_TouchEvent\0\0\x01\nTouchEvent\x01\0\x01\x0EchangedTouches\x01\x0EchangedTouches\0\0\0\x1B__widl_f_alt_key_TouchEvent\0\0\x01\nTouchEvent\x01\0\x01\x06altKey\x01\x06altKey\0\0\0\x1C__widl_f_meta_key_TouchEvent\0\0\x01\nTouchEvent\x01\0\x01\x07metaKey\x01\x07metaKey\0\0\0\x1C__widl_f_ctrl_key_TouchEvent\0\0\x01\nTouchEvent\x01\0\x01\x07ctrlKey\x01\x07ctrlKey\0\0\0\x1D__widl_f_shift_key_TouchEvent\0\0\x01\nTouchEvent\x01\0\x01\x08shiftKey\x01\x08shiftKey\0\0\x02\tTouchList\x1B__widl_instanceof_TouchList\0\0\0\0\x17__widl_f_item_TouchList\0\0\x01\tTouchList\x01\0\0\x01\x04item\0\0\0\x16__widl_f_get_TouchList\0\0\x01\tTouchList\x01\0\x03\x01\x03get\0\0\0\x19__widl_f_length_TouchList\0\0\x01\tTouchList\x01\0\x01\x06length\x01\x06length\0\0\x02\nTrackEvent\x1C__widl_instanceof_TrackEvent\0\0\0\0\x17__widl_f_new_TrackEvent\x01\0\x01\nTrackEvent\0\x01\x03new\0\0\0,__widl_f_new_with_event_init_dict_TrackEvent\x01\0\x01\nTrackEvent\0\x01\x03new\0\0\0\x19__widl_f_track_TrackEvent\0\0\x01\nTrackEvent\x01\0\x01\x05track\x01\x05track\0\0\x02\x0FTransitionEvent!__widl_instanceof_TransitionEvent\0\0\0\0\x1C__widl_f_new_TransitionEvent\x01\0\x01\x0FTransitionEvent\0\x01\x03new\0\0\01__widl_f_new_with_event_init_dict_TransitionEvent\x01\0\x01\x0FTransitionEvent\0\x01\x03new\0\0\0&__widl_f_property_name_TransitionEvent\0\0\x01\x0FTransitionEvent\x01\0\x01\x0CpropertyName\x01\x0CpropertyName\0\0\0%__widl_f_elapsed_time_TransitionEvent\0\0\x01\x0FTransitionEvent\x01\0\x01\x0BelapsedTime\x01\x0BelapsedTime\0\0\0'__widl_f_pseudo_element_TransitionEvent\0\0\x01\x0FTransitionEvent\x01\0\x01\rpseudoElement\x01\rpseudoElement\0\0\x02\nTreeWalker\x1C__widl_instanceof_TreeWalker\0\0\0\0\x1F__widl_f_first_child_TreeWalker\x01\0\x01\nTreeWalker\x01\0\0\x01\nfirstChild\0\0\0\x1E__widl_f_last_child_TreeWalker\x01\0\x01\nTreeWalker\x01\0\0\x01\tlastChild\0\0\0\x1D__widl_f_next_node_TreeWalker\x01\0\x01\nTreeWalker\x01\0\0\x01\x08nextNode\0\0\0 __widl_f_next_sibling_TreeWalker\x01\0\x01\nTreeWalker\x01\0\0\x01\x0BnextSibling\0\0\0\x1F__widl_f_parent_node_TreeWalker\x01\0\x01\nTreeWalker\x01\0\0\x01\nparentNode\0\0\0!__widl_f_previous_node_TreeWalker\x01\0\x01\nTreeWalker\x01\0\0\x01\x0CpreviousNode\0\0\0$__widl_f_previous_sibling_TreeWalker\x01\0\x01\nTreeWalker\x01\0\0\x01\x0FpreviousSibling\0\0\0\x18__widl_f_root_TreeWalker\0\0\x01\nTreeWalker\x01\0\x01\x04root\x01\x04root\0\0\0 __widl_f_what_to_show_TreeWalker\0\0\x01\nTreeWalker\x01\0\x01\nwhatToShow\x01\nwhatToShow\0\0\0\x1A__widl_f_filter_TreeWalker\0\0\x01\nTreeWalker\x01\0\x01\x06filter\x01\x06filter\0\0\0 __widl_f_current_node_TreeWalker\0\0\x01\nTreeWalker\x01\0\x01\x0BcurrentNode\x01\x0BcurrentNode\0\0\0$__widl_f_set_current_node_TreeWalker\0\0\x01\nTreeWalker\x01\0\x02\x0BcurrentNode\x01\x0BcurrentNode\0\0\x02\x03U2F\x15__widl_instanceof_U2F\0\0\0\x02\x07UIEvent\x19__widl_instanceof_UIEvent\0\0\0\0\x14__widl_f_new_UIEvent\x01\0\x01\x07UIEvent\0\x01\x03new\0\0\0)__widl_f_new_with_event_init_dict_UIEvent\x01\0\x01\x07UIEvent\0\x01\x03new\0\0\0\x1E__widl_f_init_ui_event_UIEvent\0\0\x01\x07UIEvent\x01\0\0\x01\x0BinitUIEvent\0\0\00__widl_f_init_ui_event_with_a_can_bubble_UIEvent\0\0\x01\x07UIEvent\x01\0\0\x01\x0BinitUIEvent\0\0\0A__widl_f_init_ui_event_with_a_can_bubble_and_a_cancelable_UIEvent\0\0\x01\x07UIEvent\x01\0\0\x01\x0BinitUIEvent\0\0\0L__widl_f_init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view_UIEvent\0\0\x01\x07UIEvent\x01\0\0\x01\x0BinitUIEvent\0\0\0Y__widl_f_init_ui_event_with_a_can_bubble_and_a_cancelable_and_a_view_and_a_detail_UIEvent\0\0\x01\x07UIEvent\x01\0\0\x01\x0BinitUIEvent\0\0\0\x15__widl_f_view_UIEvent\0\0\x01\x07UIEvent\x01\0\x01\x04view\x01\x04view\0\0\0\x17__widl_f_detail_UIEvent\0\0\x01\x07UIEvent\x01\0\x01\x06detail\x01\x06detail\0\0\0\x18__widl_f_layer_x_UIEvent\0\0\x01\x07UIEvent\x01\0\x01\x06layerX\x01\x06layerX\0\0\0\x18__widl_f_layer_y_UIEvent\0\0\x01\x07UIEvent\x01\0\x01\x06layerY\x01\x06layerY\0\0\0\x17__widl_f_page_x_UIEvent\0\0\x01\x07UIEvent\x01\0\x01\x05pageX\x01\x05pageX\0\0\0\x17__widl_f_page_y_UIEvent\0\0\x01\x07UIEvent\x01\0\x01\x05pageY\x01\x05pageY\0\0\0\x16__widl_f_which_UIEvent\0\0\x01\x07UIEvent\x01\0\x01\x05which\x01\x05which\0\0\0\x1D__widl_f_range_parent_UIEvent\0\0\x01\x07UIEvent\x01\0\x01\x0BrangeParent\x01\x0BrangeParent\0\0\0\x1D__widl_f_range_offset_UIEvent\0\0\x01\x07UIEvent\x01\0\x01\x0BrangeOffset\x01\x0BrangeOffset\0\0\x02\x03URL\x15__widl_instanceof_URL\0\0\0\0\x10__widl_f_new_URL\x01\0\x01\x03URL\0\x01\x03new\0\0\0\x1A__widl_f_new_with_base_URL\x01\0\x01\x03URL\0\x01\x03new\0\0\0(__widl_f_create_object_url_with_blob_URL\x01\0\x01\x03URL\x01\x01\0\x01\x0FcreateObjectURL\0\0\0*__widl_f_create_object_url_with_source_URL\x01\0\x01\x03URL\x01\x01\0\x01\x0FcreateObjectURL\0\0\0\x1E__widl_f_revoke_object_url_URL\x01\0\x01\x03URL\x01\x01\0\x01\x0FrevokeObjectURL\0\0\0\x14__widl_f_to_json_URL\0\0\x01\x03URL\x01\0\0\x01\x06toJSON\0\0\0\x11__widl_f_href_URL\0\0\x01\x03URL\x01\0\x01\x04href\x01\x04href\0\0\0\x15__widl_f_set_href_URL\0\0\x01\x03URL\x01\0\x02\x04href\x01\x04href\0\0\0\x13__widl_f_origin_URL\0\0\x01\x03URL\x01\0\x01\x06origin\x01\x06origin\0\0\0\x15__widl_f_protocol_URL\0\0\x01\x03URL\x01\0\x01\x08protocol\x01\x08protocol\0\0\0\x19__widl_f_set_protocol_URL\0\0\x01\x03URL\x01\0\x02\x08protocol\x01\x08protocol\0\0\0\x15__widl_f_username_URL\0\0\x01\x03URL\x01\0\x01\x08username\x01\x08username\0\0\0\x19__widl_f_set_username_URL\0\0\x01\x03URL\x01\0\x02\x08username\x01\x08username\0\0\0\x15__widl_f_password_URL\0\0\x01\x03URL\x01\0\x01\x08password\x01\x08password\0\0\0\x19__widl_f_set_password_URL\0\0\x01\x03URL\x01\0\x02\x08password\x01\x08password\0\0\0\x11__widl_f_host_URL\0\0\x01\x03URL\x01\0\x01\x04host\x01\x04host\0\0\0\x15__widl_f_set_host_URL\0\0\x01\x03URL\x01\0\x02\x04host\x01\x04host\0\0\0\x15__widl_f_hostname_URL\0\0\x01\x03URL\x01\0\x01\x08hostname\x01\x08hostname\0\0\0\x19__widl_f_set_hostname_URL\0\0\x01\x03URL\x01\0\x02\x08hostname\x01\x08hostname\0\0\0\x11__widl_f_port_URL\0\0\x01\x03URL\x01\0\x01\x04port\x01\x04port\0\0\0\x15__widl_f_set_port_URL\0\0\x01\x03URL\x01\0\x02\x04port\x01\x04port\0\0\0\x15__widl_f_pathname_URL\0\0\x01\x03URL\x01\0\x01\x08pathname\x01\x08pathname\0\0\0\x19__widl_f_set_pathname_URL\0\0\x01\x03URL\x01\0\x02\x08pathname\x01\x08pathname\0\0\0\x13__widl_f_search_URL\0\0\x01\x03URL\x01\0\x01\x06search\x01\x06search\0\0\0\x17__widl_f_set_search_URL\0\0\x01\x03URL\x01\0\x02\x06search\x01\x06search\0\0\0\x1A__widl_f_search_params_URL\0\0\x01\x03URL\x01\0\x01\x0CsearchParams\x01\x0CsearchParams\0\0\0\x11__widl_f_hash_URL\0\0\x01\x03URL\x01\0\x01\x04hash\x01\x04hash\0\0\0\x15__widl_f_set_hash_URL\0\0\x01\x03URL\x01\0\x02\x04hash\x01\x04hash\0\0\x02\x0FURLSearchParams!__widl_instanceof_URLSearchParams\0\0\0\0\x1C__widl_f_new_URLSearchParams\x01\0\x01\x0FURLSearchParams\0\x01\x03new\0\0\0%__widl_f_new_with_str_URLSearchParams\x01\0\x01\x0FURLSearchParams\0\x01\x03new\0\0\0\x1F__widl_f_append_URLSearchParams\0\0\x01\x0FURLSearchParams\x01\0\0\x01\x06append\0\0\0\x1F__widl_f_delete_URLSearchParams\0\0\x01\x0FURLSearchParams\x01\0\0\x01\x06delete\0\0\0\x1C__widl_f_get_URLSearchParams\0\0\x01\x0FURLSearchParams\x01\0\0\x01\x03get\0\0\0\x1C__widl_f_has_URLSearchParams\0\0\x01\x0FURLSearchParams\x01\0\0\x01\x03has\0\0\0\x1C__widl_f_set_URLSearchParams\0\0\x01\x0FURLSearchParams\x01\0\0\x01\x03set\0\0\0\x1D__widl_f_sort_URLSearchParams\x01\0\x01\x0FURLSearchParams\x01\0\0\x01\x04sort\0\0\x02\x12UserProximityEvent$__widl_instanceof_UserProximityEvent\0\0\0\0\x1F__widl_f_new_UserProximityEvent\x01\0\x01\x12UserProximityEvent\0\x01\x03new\0\0\04__widl_f_new_with_event_init_dict_UserProximityEvent\x01\0\x01\x12UserProximityEvent\0\x01\x03new\0\0\0 __widl_f_near_UserProximityEvent\0\0\x01\x12UserProximityEvent\x01\0\x01\x04near\x01\x04near\0\0\x02\tVRDisplay\x1B__widl_instanceof_VRDisplay\0\0\0\0)__widl_f_cancel_animation_frame_VRDisplay\x01\0\x01\tVRDisplay\x01\0\0\x01\x14cancelAnimationFrame\0\0\0\x1F__widl_f_exit_present_VRDisplay\x01\0\x01\tVRDisplay\x01\0\0\x01\x0BexitPresent\0\0\0%__widl_f_get_eye_parameters_VRDisplay\0\0\x01\tVRDisplay\x01\0\0\x01\x10getEyeParameters\0\0\0!__widl_f_get_frame_data_VRDisplay\0\0\x01\tVRDisplay\x01\0\0\x01\x0CgetFrameData\0\0\0\x1B__widl_f_get_pose_VRDisplay\0\0\x01\tVRDisplay\x01\0\0\x01\x07getPose\0\0\0*__widl_f_get_submit_frame_result_VRDisplay\0\0\x01\tVRDisplay\x01\0\0\x01\x14getSubmitFrameResult\0\0\0*__widl_f_request_animation_frame_VRDisplay\x01\0\x01\tVRDisplay\x01\0\0\x01\x15requestAnimationFrame\0\0\0\x1D__widl_f_reset_pose_VRDisplay\0\0\x01\tVRDisplay\x01\0\0\x01\tresetPose\0\0\0\x1F__widl_f_submit_frame_VRDisplay\0\0\x01\tVRDisplay\x01\0\0\x01\x0BsubmitFrame\0\0\0\x1F__widl_f_is_connected_VRDisplay\0\0\x01\tVRDisplay\x01\0\x01\x0BisConnected\x01\x0BisConnected\0\0\0 __widl_f_is_presenting_VRDisplay\0\0\x01\tVRDisplay\x01\0\x01\x0CisPresenting\x01\x0CisPresenting\0\0\0\x1F__widl_f_capabilities_VRDisplay\0\0\x01\tVRDisplay\x01\0\x01\x0Ccapabilities\x01\x0Ccapabilities\0\0\0#__widl_f_stage_parameters_VRDisplay\0\0\x01\tVRDisplay\x01\0\x01\x0FstageParameters\x01\x0FstageParameters\0\0\0\x1D__widl_f_display_id_VRDisplay\0\0\x01\tVRDisplay\x01\0\x01\tdisplayId\x01\tdisplayId\0\0\0\x1F__widl_f_display_name_VRDisplay\0\0\x01\tVRDisplay\x01\0\x01\x0BdisplayName\x01\x0BdisplayName\0\0\0\x1D__widl_f_depth_near_VRDisplay\0\0\x01\tVRDisplay\x01\0\x01\tdepthNear\x01\tdepthNear\0\0\0!__widl_f_set_depth_near_VRDisplay\0\0\x01\tVRDisplay\x01\0\x02\tdepthNear\x01\tdepthNear\0\0\0\x1C__widl_f_depth_far_VRDisplay\0\0\x01\tVRDisplay\x01\0\x01\x08depthFar\x01\x08depthFar\0\0\0 __widl_f_set_depth_far_VRDisplay\0\0\x01\tVRDisplay\x01\0\x02\x08depthFar\x01\x08depthFar\0\0\x02\x15VRDisplayCapabilities'__widl_instanceof_VRDisplayCapabilities\0\0\0\0+__widl_f_has_position_VRDisplayCapabilities\0\0\x01\x15VRDisplayCapabilities\x01\0\x01\x0BhasPosition\x01\x0BhasPosition\0\0\0.__widl_f_has_orientation_VRDisplayCapabilities\0\0\x01\x15VRDisplayCapabilities\x01\0\x01\x0EhasOrientation\x01\x0EhasOrientation\0\0\03__widl_f_has_external_display_VRDisplayCapabilities\0\0\x01\x15VRDisplayCapabilities\x01\0\x01\x12hasExternalDisplay\x01\x12hasExternalDisplay\0\0\0*__widl_f_can_present_VRDisplayCapabilities\0\0\x01\x15VRDisplayCapabilities\x01\0\x01\ncanPresent\x01\ncanPresent\0\0\0)__widl_f_max_layers_VRDisplayCapabilities\0\0\x01\x15VRDisplayCapabilities\x01\0\x01\tmaxLayers\x01\tmaxLayers\0\0\x02\x0FVREyeParameters!__widl_instanceof_VREyeParameters\0\0\0\0\x1F__widl_f_offset_VREyeParameters\x01\0\x01\x0FVREyeParameters\x01\0\x01\x06offset\x01\x06offset\0\0\0&__widl_f_field_of_view_VREyeParameters\0\0\x01\x0FVREyeParameters\x01\0\x01\x0BfieldOfView\x01\x0BfieldOfView\0\0\0%__widl_f_render_width_VREyeParameters\0\0\x01\x0FVREyeParameters\x01\0\x01\x0BrenderWidth\x01\x0BrenderWidth\0\0\0&__widl_f_render_height_VREyeParameters\0\0\x01\x0FVREyeParameters\x01\0\x01\x0CrenderHeight\x01\x0CrenderHeight\0\0\x02\rVRFieldOfView\x1F__widl_instanceof_VRFieldOfView\0\0\0\0!__widl_f_up_degrees_VRFieldOfView\0\0\x01\rVRFieldOfView\x01\0\x01\tupDegrees\x01\tupDegrees\0\0\0$__widl_f_right_degrees_VRFieldOfView\0\0\x01\rVRFieldOfView\x01\0\x01\x0CrightDegrees\x01\x0CrightDegrees\0\0\0#__widl_f_down_degrees_VRFieldOfView\0\0\x01\rVRFieldOfView\x01\0\x01\x0BdownDegrees\x01\x0BdownDegrees\0\0\0#__widl_f_left_degrees_VRFieldOfView\0\0\x01\rVRFieldOfView\x01\0\x01\x0BleftDegrees\x01\x0BleftDegrees\0\0\x02\x0BVRFrameData\x1D__widl_instanceof_VRFrameData\0\0\0\0\x18__widl_f_new_VRFrameData\x01\0\x01\x0BVRFrameData\0\x01\x03new\0\0\0\x1E__widl_f_timestamp_VRFrameData\0\0\x01\x0BVRFrameData\x01\0\x01\ttimestamp\x01\ttimestamp\0\0\0+__widl_f_left_projection_matrix_VRFrameData\x01\0\x01\x0BVRFrameData\x01\0\x01\x14leftProjectionMatrix\x01\x14leftProjectionMatrix\0\0\0%__widl_f_left_view_matrix_VRFrameData\x01\0\x01\x0BVRFrameData\x01\0\x01\x0EleftViewMatrix\x01\x0EleftViewMatrix\0\0\0,__widl_f_right_projection_matrix_VRFrameData\x01\0\x01\x0BVRFrameData\x01\0\x01\x15rightProjectionMatrix\x01\x15rightProjectionMatrix\0\0\0&__widl_f_right_view_matrix_VRFrameData\x01\0\x01\x0BVRFrameData\x01\0\x01\x0FrightViewMatrix\x01\x0FrightViewMatrix\0\0\0\x19__widl_f_pose_VRFrameData\0\0\x01\x0BVRFrameData\x01\0\x01\x04pose\x01\x04pose\0\0\x02\x10VRMockController\"__widl_instanceof_VRMockController\0\0\0\0-__widl_f_new_axis_move_event_VRMockController\0\0\x01\x10VRMockController\x01\0\0\x01\x10newAxisMoveEvent\0\0\0*__widl_f_new_button_event_VRMockController\0\0\x01\x10VRMockController\x01\0\0\x01\x0EnewButtonEvent\0\0\0'__widl_f_new_pose_move_VRMockController\0\0\x01\x10VRMockController\x01\0\0\x01\x0BnewPoseMove\0\0\x02\rVRMockDisplay\x1F__widl_instanceof_VRMockDisplay\0\0\0\0(__widl_f_set_eye_parameter_VRMockDisplay\0\0\x01\rVRMockDisplay\x01\0\0\x01\x0FsetEyeParameter\0\0\0)__widl_f_set_eye_resolution_VRMockDisplay\0\0\x01\rVRMockDisplay\x01\0\0\x01\x10setEyeResolution\0\0\0&__widl_f_set_mount_state_VRMockDisplay\0\0\x01\rVRMockDisplay\x01\0\0\x01\rsetMountState\0\0\0\x1F__widl_f_set_pose_VRMockDisplay\0\0\x01\rVRMockDisplay\x01\0\0\x01\x07setPose\0\0\0\x1D__widl_f_update_VRMockDisplay\0\0\x01\rVRMockDisplay\x01\0\0\x01\x06update\0\0\x02\x06VRPose\x18__widl_instanceof_VRPose\0\0\0\0\x18__widl_f_position_VRPose\x01\0\x01\x06VRPose\x01\0\x01\x08position\x01\x08position\0\0\0\x1F__widl_f_linear_velocity_VRPose\x01\0\x01\x06VRPose\x01\0\x01\x0ElinearVelocity\x01\x0ElinearVelocity\0\0\0#__widl_f_linear_acceleration_VRPose\x01\0\x01\x06VRPose\x01\0\x01\x12linearAcceleration\x01\x12linearAcceleration\0\0\0\x1B__widl_f_orientation_VRPose\x01\0\x01\x06VRPose\x01\0\x01\x0Borientation\x01\x0Borientation\0\0\0 __widl_f_angular_velocity_VRPose\x01\0\x01\x06VRPose\x01\0\x01\x0FangularVelocity\x01\x0FangularVelocity\0\0\0$__widl_f_angular_acceleration_VRPose\x01\0\x01\x06VRPose\x01\0\x01\x13angularAcceleration\x01\x13angularAcceleration\0\0\x02\rVRServiceTest\x1F__widl_instanceof_VRServiceTest\0\0\0\0+__widl_f_attach_vr_controller_VRServiceTest\x01\0\x01\rVRServiceTest\x01\0\0\x01\x12attachVRController\0\0\0(__widl_f_attach_vr_display_VRServiceTest\x01\0\x01\rVRServiceTest\x01\0\0\x01\x0FattachVRDisplay\0\0\x02\x11VRStageParameters#__widl_instanceof_VRStageParameters\0\0\0\08__widl_f_sitting_to_standing_transform_VRStageParameters\x01\0\x01\x11VRStageParameters\x01\0\x01\x1AsittingToStandingTransform\x01\x1AsittingToStandingTransform\0\0\0!__widl_f_size_x_VRStageParameters\0\0\x01\x11VRStageParameters\x01\0\x01\x05sizeX\x01\x05sizeX\0\0\0!__widl_f_size_z_VRStageParameters\0\0\x01\x11VRStageParameters\x01\0\x01\x05sizeZ\x01\x05sizeZ\0\0\x02\x13VRSubmitFrameResult%__widl_instanceof_VRSubmitFrameResult\0\0\0\0 __widl_f_new_VRSubmitFrameResult\x01\0\x01\x13VRSubmitFrameResult\0\x01\x03new\0\0\0&__widl_f_frame_num_VRSubmitFrameResult\0\0\x01\x13VRSubmitFrameResult\x01\0\x01\x08frameNum\x01\x08frameNum\0\0\0)__widl_f_base64_image_VRSubmitFrameResult\0\0\x01\x13VRSubmitFrameResult\x01\0\x01\x0Bbase64Image\x01\x0Bbase64Image\0\0\x02\x06VTTCue\x18__widl_instanceof_VTTCue\0\0\0\0\x13__widl_f_new_VTTCue\x01\0\x01\x06VTTCue\0\x01\x03new\0\0\0\x1F__widl_f_get_cue_as_html_VTTCue\0\0\x01\x06VTTCue\x01\0\0\x01\x0CgetCueAsHTML\0\0\0\x16__widl_f_region_VTTCue\0\0\x01\x06VTTCue\x01\0\x01\x06region\x01\x06region\0\0\0\x1A__widl_f_set_region_VTTCue\0\0\x01\x06VTTCue\x01\0\x02\x06region\x01\x06region\0\0\0\x18__widl_f_vertical_VTTCue\0\0\x01\x06VTTCue\x01\0\x01\x08vertical\x01\x08vertical\0\0\0\x1C__widl_f_set_vertical_VTTCue\0\0\x01\x06VTTCue\x01\0\x02\x08vertical\x01\x08vertical\0\0\0\x1D__widl_f_snap_to_lines_VTTCue\0\0\x01\x06VTTCue\x01\0\x01\x0BsnapToLines\x01\x0BsnapToLines\0\0\0!__widl_f_set_snap_to_lines_VTTCue\0\0\x01\x06VTTCue\x01\0\x02\x0BsnapToLines\x01\x0BsnapToLines\0\0\0\x14__widl_f_line_VTTCue\0\0\x01\x06VTTCue\x01\0\x01\x04line\x01\x04line\0\0\0\x18__widl_f_set_line_VTTCue\0\0\x01\x06VTTCue\x01\0\x02\x04line\x01\x04line\0\0\0\x1A__widl_f_line_align_VTTCue\0\0\x01\x06VTTCue\x01\0\x01\tlineAlign\x01\tlineAlign\0\0\0\x1E__widl_f_set_line_align_VTTCue\0\0\x01\x06VTTCue\x01\0\x02\tlineAlign\x01\tlineAlign\0\0\0\x18__widl_f_position_VTTCue\0\0\x01\x06VTTCue\x01\0\x01\x08position\x01\x08position\0\0\0\x1C__widl_f_set_position_VTTCue\0\0\x01\x06VTTCue\x01\0\x02\x08position\x01\x08position\0\0\0\x1E__widl_f_position_align_VTTCue\0\0\x01\x06VTTCue\x01\0\x01\rpositionAlign\x01\rpositionAlign\0\0\0\"__widl_f_set_position_align_VTTCue\0\0\x01\x06VTTCue\x01\0\x02\rpositionAlign\x01\rpositionAlign\0\0\0\x14__widl_f_size_VTTCue\0\0\x01\x06VTTCue\x01\0\x01\x04size\x01\x04size\0\0\0\x18__widl_f_set_size_VTTCue\0\0\x01\x06VTTCue\x01\0\x02\x04size\x01\x04size\0\0\0\x15__widl_f_align_VTTCue\0\0\x01\x06VTTCue\x01\0\x01\x05align\x01\x05align\0\0\0\x19__widl_f_set_align_VTTCue\0\0\x01\x06VTTCue\x01\0\x02\x05align\x01\x05align\0\0\0\x14__widl_f_text_VTTCue\0\0\x01\x06VTTCue\x01\0\x01\x04text\x01\x04text\0\0\0\x18__widl_f_set_text_VTTCue\0\0\x01\x06VTTCue\x01\0\x02\x04text\x01\x04text\0\0\x02\tVTTRegion\x1B__widl_instanceof_VTTRegion\0\0\0\0\x16__widl_f_new_VTTRegion\x01\0\x01\tVTTRegion\0\x01\x03new\0\0\0\x15__widl_f_id_VTTRegion\0\0\x01\tVTTRegion\x01\0\x01\x02id\x01\x02id\0\0\0\x19__widl_f_set_id_VTTRegion\0\0\x01\tVTTRegion\x01\0\x02\x02id\x01\x02id\0\0\0\x18__widl_f_width_VTTRegion\0\0\x01\tVTTRegion\x01\0\x01\x05width\x01\x05width\0\0\0\x1C__widl_f_set_width_VTTRegion\0\0\x01\tVTTRegion\x01\0\x02\x05width\x01\x05width\0\0\0\x18__widl_f_lines_VTTRegion\0\0\x01\tVTTRegion\x01\0\x01\x05lines\x01\x05lines\0\0\0\x1C__widl_f_set_lines_VTTRegion\0\0\x01\tVTTRegion\x01\0\x02\x05lines\x01\x05lines\0\0\0\"__widl_f_region_anchor_x_VTTRegion\0\0\x01\tVTTRegion\x01\0\x01\rregionAnchorX\x01\rregionAnchorX\0\0\0&__widl_f_set_region_anchor_x_VTTRegion\0\0\x01\tVTTRegion\x01\0\x02\rregionAnchorX\x01\rregionAnchorX\0\0\0\"__widl_f_region_anchor_y_VTTRegion\0\0\x01\tVTTRegion\x01\0\x01\rregionAnchorY\x01\rregionAnchorY\0\0\0&__widl_f_set_region_anchor_y_VTTRegion\0\0\x01\tVTTRegion\x01\0\x02\rregionAnchorY\x01\rregionAnchorY\0\0\0$__widl_f_viewport_anchor_x_VTTRegion\0\0\x01\tVTTRegion\x01\0\x01\x0FviewportAnchorX\x01\x0FviewportAnchorX\0\0\0(__widl_f_set_viewport_anchor_x_VTTRegion\0\0\x01\tVTTRegion\x01\0\x02\x0FviewportAnchorX\x01\x0FviewportAnchorX\0\0\0$__widl_f_viewport_anchor_y_VTTRegion\0\0\x01\tVTTRegion\x01\0\x01\x0FviewportAnchorY\x01\x0FviewportAnchorY\0\0\0(__widl_f_set_viewport_anchor_y_VTTRegion\0\0\x01\tVTTRegion\x01\0\x02\x0FviewportAnchorY\x01\x0FviewportAnchorY\0\0\0\x19__widl_f_scroll_VTTRegion\0\0\x01\tVTTRegion\x01\0\x01\x06scroll\x01\x06scroll\0\0\0\x1D__widl_f_set_scroll_VTTRegion\0\0\x01\tVTTRegion\x01\0\x02\x06scroll\x01\x06scroll\0\0\x02\rValidityState\x1F__widl_instanceof_ValidityState\0\0\0\0$__widl_f_value_missing_ValidityState\0\0\x01\rValidityState\x01\0\x01\x0CvalueMissing\x01\x0CvalueMissing\0\0\0$__widl_f_type_mismatch_ValidityState\0\0\x01\rValidityState\x01\0\x01\x0CtypeMismatch\x01\x0CtypeMismatch\0\0\0'__widl_f_pattern_mismatch_ValidityState\0\0\x01\rValidityState\x01\0\x01\x0FpatternMismatch\x01\x0FpatternMismatch\0\0\0\x1F__widl_f_too_long_ValidityState\0\0\x01\rValidityState\x01\0\x01\x07tooLong\x01\x07tooLong\0\0\0 __widl_f_too_short_ValidityState\0\0\x01\rValidityState\x01\0\x01\x08tooShort\x01\x08tooShort\0\0\0&__widl_f_range_underflow_ValidityState\0\0\x01\rValidityState\x01\0\x01\x0ErangeUnderflow\x01\x0ErangeUnderflow\0\0\0%__widl_f_range_overflow_ValidityState\0\0\x01\rValidityState\x01\0\x01\rrangeOverflow\x01\rrangeOverflow\0\0\0$__widl_f_step_mismatch_ValidityState\0\0\x01\rValidityState\x01\0\x01\x0CstepMismatch\x01\x0CstepMismatch\0\0\0 __widl_f_bad_input_ValidityState\0\0\x01\rValidityState\x01\0\x01\x08badInput\x01\x08badInput\0\0\0#__widl_f_custom_error_ValidityState\0\0\x01\rValidityState\x01\0\x01\x0BcustomError\x01\x0BcustomError\0\0\0\x1C__widl_f_valid_ValidityState\0\0\x01\rValidityState\x01\0\x01\x05valid\x01\x05valid\0\0\x02\x14VideoPlaybackQuality&__widl_instanceof_VideoPlaybackQuality\0\0\0\0+__widl_f_creation_time_VideoPlaybackQuality\0\0\x01\x14VideoPlaybackQuality\x01\0\x01\x0CcreationTime\x01\x0CcreationTime\0\0\00__widl_f_total_video_frames_VideoPlaybackQuality\0\0\x01\x14VideoPlaybackQuality\x01\0\x01\x10totalVideoFrames\x01\x10totalVideoFrames\0\0\02__widl_f_dropped_video_frames_VideoPlaybackQuality\0\0\x01\x14VideoPlaybackQuality\x01\0\x01\x12droppedVideoFrames\x01\x12droppedVideoFrames\0\0\04__widl_f_corrupted_video_frames_VideoPlaybackQuality\0\0\x01\x14VideoPlaybackQuality\x01\0\x01\x14corruptedVideoFrames\x01\x14corruptedVideoFrames\0\0\x02\x10VideoStreamTrack\"__widl_instanceof_VideoStreamTrack\0\0\0\x02\nVideoTrack\x1C__widl_instanceof_VideoTrack\0\0\0\0\x16__widl_f_id_VideoTrack\0\0\x01\nVideoTrack\x01\0\x01\x02id\x01\x02id\0\0\0\x18__widl_f_kind_VideoTrack\0\0\x01\nVideoTrack\x01\0\x01\x04kind\x01\x04kind\0\0\0\x19__widl_f_label_VideoTrack\0\0\x01\nVideoTrack\x01\0\x01\x05label\x01\x05label\0\0\0\x1C__widl_f_language_VideoTrack\0\0\x01\nVideoTrack\x01\0\x01\x08language\x01\x08language\0\0\0\x1C__widl_f_selected_VideoTrack\0\0\x01\nVideoTrack\x01\0\x01\x08selected\x01\x08selected\0\0\0 __widl_f_set_selected_VideoTrack\0\0\x01\nVideoTrack\x01\0\x02\x08selected\x01\x08selected\0\0\x02\x0EVideoTrackList __widl_instanceof_VideoTrackList\0\0\0\0'__widl_f_get_track_by_id_VideoTrackList\0\0\x01\x0EVideoTrackList\x01\0\0\x01\x0CgetTrackById\0\0\0\x1B__widl_f_get_VideoTrackList\0\0\x01\x0EVideoTrackList\x01\0\x03\x01\x03get\0\0\0\x1E__widl_f_length_VideoTrackList\0\0\x01\x0EVideoTrackList\x01\0\x01\x06length\x01\x06length\0\0\0&__widl_f_selected_index_VideoTrackList\0\0\x01\x0EVideoTrackList\x01\0\x01\rselectedIndex\x01\rselectedIndex\0\0\0 __widl_f_onchange_VideoTrackList\0\0\x01\x0EVideoTrackList\x01\0\x01\x08onchange\x01\x08onchange\0\0\0$__widl_f_set_onchange_VideoTrackList\0\0\x01\x0EVideoTrackList\x01\0\x02\x08onchange\x01\x08onchange\0\0\0\"__widl_f_onaddtrack_VideoTrackList\0\0\x01\x0EVideoTrackList\x01\0\x01\nonaddtrack\x01\nonaddtrack\0\0\0&__widl_f_set_onaddtrack_VideoTrackList\0\0\x01\x0EVideoTrackList\x01\0\x02\nonaddtrack\x01\nonaddtrack\0\0\0%__widl_f_onremovetrack_VideoTrackList\0\0\x01\x0EVideoTrackList\x01\0\x01\ronremovetrack\x01\ronremovetrack\0\0\0)__widl_f_set_onremovetrack_VideoTrackList\0\0\x01\x0EVideoTrackList\x01\0\x02\ronremovetrack\x01\ronremovetrack\0\0\x02\x0EWaveShaperNode __widl_instanceof_WaveShaperNode\0\0\0\0\x1B__widl_f_new_WaveShaperNode\x01\0\x01\x0EWaveShaperNode\0\x01\x03new\0\0\0(__widl_f_new_with_options_WaveShaperNode\x01\0\x01\x0EWaveShaperNode\0\x01\x03new\0\0\0\x1D__widl_f_curve_WaveShaperNode\0\0\x01\x0EWaveShaperNode\x01\0\x01\x05curve\x01\x05curve\0\0\0!__widl_f_set_curve_WaveShaperNode\0\0\x01\x0EWaveShaperNode\x01\0\x02\x05curve\x01\x05curve\0\0\0\"__widl_f_oversample_WaveShaperNode\0\0\x01\x0EWaveShaperNode\x01\0\x01\noversample\x01\noversample\0\0\0&__widl_f_set_oversample_WaveShaperNode\0\0\x01\x0EWaveShaperNode\x01\0\x02\noversample\x01\noversample\0\0\x02\x16WebGL2RenderingContext(__widl_instanceof_WebGL2RenderingContext\0\0\0\0+__widl_f_begin_query_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nbeginQuery\0\0\08__widl_f_begin_transform_feedback_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x16beginTransformFeedback\0\0\00__widl_f_bind_buffer_base_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0EbindBufferBase\0\0\0B__widl_f_bind_buffer_range_with_i32_and_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FbindBufferRange\0\0\0B__widl_f_bind_buffer_range_with_f64_and_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FbindBufferRange\0\0\0B__widl_f_bind_buffer_range_with_i32_and_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FbindBufferRange\0\0\0B__widl_f_bind_buffer_range_with_f64_and_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FbindBufferRange\0\0\0,__widl_f_bind_sampler_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0BbindSampler\0\0\07__widl_f_bind_transform_feedback_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x15bindTransformFeedback\0\0\01__widl_f_bind_vertex_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FbindVertexArray\0\0\00__widl_f_blit_framebuffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FblitFramebuffer\0\0\04__widl_f_buffer_data_with_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nbufferData\0\0\04__widl_f_buffer_data_with_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nbufferData\0\0\0A__widl_f_buffer_data_with_opt_array_buffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nbufferData\0\0\0B__widl_f_buffer_data_with_array_buffer_view_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nbufferData\0\0\09__widl_f_buffer_data_with_u8_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nbufferData\0\0\0Q__widl_f_buffer_data_with_array_buffer_view_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nbufferData\0\0\0H__widl_f_buffer_data_with_u8_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nbufferData\0\0\0\\__widl_f_buffer_data_with_array_buffer_view_and_src_offset_and_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nbufferData\0\0\0S__widl_f_buffer_data_with_u8_array_and_src_offset_and_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nbufferData\0\0\0I__widl_f_buffer_sub_data_with_i32_and_array_buffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0I__widl_f_buffer_sub_data_with_f64_and_array_buffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0N__widl_f_buffer_sub_data_with_i32_and_array_buffer_view_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0N__widl_f_buffer_sub_data_with_f64_and_array_buffer_view_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0E__widl_f_buffer_sub_data_with_i32_and_u8_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0E__widl_f_buffer_sub_data_with_f64_and_u8_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0]__widl_f_buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0]__widl_f_buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0T__widl_f_buffer_sub_data_with_i32_and_u8_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0T__widl_f_buffer_sub_data_with_f64_and_u8_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0h__widl_f_buffer_sub_data_with_i32_and_array_buffer_view_and_src_offset_and_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0h__widl_f_buffer_sub_data_with_f64_and_array_buffer_view_and_src_offset_and_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0___widl_f_buffer_sub_data_with_i32_and_u8_array_and_src_offset_and_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0___widl_f_buffer_sub_data_with_f64_and_u8_array_and_src_offset_and_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rbufferSubData\0\0\0.__widl_f_clear_bufferfi_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rclearBufferfi\0\0\0=__widl_f_clear_bufferfv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rclearBufferfv\0\0\0L__widl_f_clear_bufferfv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rclearBufferfv\0\0\0=__widl_f_clear_bufferiv_with_i32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rclearBufferiv\0\0\0L__widl_f_clear_bufferiv_with_i32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rclearBufferiv\0\0\0>__widl_f_clear_bufferuiv_with_u32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0EclearBufferuiv\0\0\0M__widl_f_clear_bufferuiv_with_u32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0EclearBufferuiv\0\0\09__widl_f_client_wait_sync_with_u32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0EclientWaitSync\0\0\09__widl_f_client_wait_sync_with_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0EclientWaitSync\0\0\0H__widl_f_compressed_tex_image_2d_with_i32_and_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage2D\0\0\0H__widl_f_compressed_tex_image_2d_with_i32_and_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage2D\0\0\0N__widl_f_compressed_tex_image_2d_with_array_buffer_view_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage2D\0\0\0E__widl_f_compressed_tex_image_2d_with_u8_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage2D\0\0\0V__widl_f_compressed_tex_image_2d_with_array_buffer_view_and_u32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage2D\0\0\0M__widl_f_compressed_tex_image_2d_with_u8_array_and_u32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage2D\0\0\0n__widl_f_compressed_tex_image_2d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage2D\0\0\0e__widl_f_compressed_tex_image_2d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage2D\0\0\0H__widl_f_compressed_tex_image_3d_with_i32_and_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage3D\0\0\0H__widl_f_compressed_tex_image_3d_with_i32_and_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage3D\0\0\0N__widl_f_compressed_tex_image_3d_with_array_buffer_view_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage3D\0\0\0E__widl_f_compressed_tex_image_3d_with_u8_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage3D\0\0\0V__widl_f_compressed_tex_image_3d_with_array_buffer_view_and_u32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage3D\0\0\0M__widl_f_compressed_tex_image_3d_with_u8_array_and_u32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage3D\0\0\0n__widl_f_compressed_tex_image_3d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage3D\0\0\0e__widl_f_compressed_tex_image_3d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14compressedTexImage3D\0\0\0L__widl_f_compressed_tex_sub_image_2d_with_i32_and_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage2D\0\0\0L__widl_f_compressed_tex_sub_image_2d_with_i32_and_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage2D\0\0\0R__widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage2D\0\0\0I__widl_f_compressed_tex_sub_image_2d_with_u8_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage2D\0\0\0Z__widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage2D\0\0\0Q__widl_f_compressed_tex_sub_image_2d_with_u8_array_and_u32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage2D\0\0\0r__widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage2D\0\0\0i__widl_f_compressed_tex_sub_image_2d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage2D\0\0\0L__widl_f_compressed_tex_sub_image_3d_with_i32_and_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage3D\0\0\0L__widl_f_compressed_tex_sub_image_3d_with_i32_and_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage3D\0\0\0R__widl_f_compressed_tex_sub_image_3d_with_array_buffer_view_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage3D\0\0\0I__widl_f_compressed_tex_sub_image_3d_with_u8_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage3D\0\0\0Z__widl_f_compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage3D\0\0\0Q__widl_f_compressed_tex_sub_image_3d_with_u8_array_and_u32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage3D\0\0\0r__widl_f_compressed_tex_sub_image_3d_with_array_buffer_view_and_u32_and_src_length_override_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage3D\0\0\0i__widl_f_compressed_tex_sub_image_3d_with_u8_array_and_u32_and_src_length_override_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17compressedTexSubImage3D\0\0\0M__widl_f_copy_buffer_sub_data_with_i32_and_i32_and_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11copyBufferSubData\0\0\0M__widl_f_copy_buffer_sub_data_with_f64_and_i32_and_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11copyBufferSubData\0\0\0M__widl_f_copy_buffer_sub_data_with_i32_and_f64_and_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11copyBufferSubData\0\0\0M__widl_f_copy_buffer_sub_data_with_f64_and_f64_and_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11copyBufferSubData\0\0\0M__widl_f_copy_buffer_sub_data_with_i32_and_i32_and_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11copyBufferSubData\0\0\0M__widl_f_copy_buffer_sub_data_with_f64_and_i32_and_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11copyBufferSubData\0\0\0M__widl_f_copy_buffer_sub_data_with_i32_and_f64_and_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11copyBufferSubData\0\0\0M__widl_f_copy_buffer_sub_data_with_f64_and_f64_and_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11copyBufferSubData\0\0\05__widl_f_copy_tex_sub_image_3d_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11copyTexSubImage3D\0\0\0,__widl_f_create_query_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0BcreateQuery\0\0\0.__widl_f_create_sampler_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rcreateSampler\0\0\09__widl_f_create_transform_feedback_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17createTransformFeedback\0\0\03__widl_f_create_vertex_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11createVertexArray\0\0\0,__widl_f_delete_query_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0BdeleteQuery\0\0\0.__widl_f_delete_sampler_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rdeleteSampler\0\0\0+__widl_f_delete_sync_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ndeleteSync\0\0\09__widl_f_delete_transform_feedback_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17deleteTransformFeedback\0\0\03__widl_f_delete_vertex_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11deleteVertexArray\0\0\05__widl_f_draw_arrays_instanced_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x13drawArraysInstanced\0\0\0@__widl_f_draw_elements_instanced_with_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x15drawElementsInstanced\0\0\0@__widl_f_draw_elements_instanced_with_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x15drawElementsInstanced\0\0\0<__widl_f_draw_range_elements_with_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11drawRangeElements\0\0\0<__widl_f_draw_range_elements_with_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11drawRangeElements\0\0\0)__widl_f_end_query_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x08endQuery\0\0\06__widl_f_end_transform_feedback_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14endTransformFeedback\0\0\0*__widl_f_fence_sync_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tfenceSync\0\0\09__widl_f_framebuffer_texture_layer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17framebufferTextureLayer\0\0\0=__widl_f_get_active_uniform_block_name_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x19getActiveUniformBlockName\0\0\0B__widl_f_get_active_uniform_block_parameter_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x1EgetActiveUniformBlockParameter\0\0\0R__widl_f_get_buffer_sub_data_with_i32_and_array_buffer_view_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getBufferSubData\0\0\0R__widl_f_get_buffer_sub_data_with_f64_and_array_buffer_view_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getBufferSubData\0\0\0I__widl_f_get_buffer_sub_data_with_i32_and_u8_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getBufferSubData\0\0\0I__widl_f_get_buffer_sub_data_with_f64_and_u8_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getBufferSubData\0\0\0a__widl_f_get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getBufferSubData\0\0\0a__widl_f_get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getBufferSubData\0\0\0X__widl_f_get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getBufferSubData\0\0\0X__widl_f_get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getBufferSubData\0\0\0l__widl_f_get_buffer_sub_data_with_i32_and_array_buffer_view_and_dst_offset_and_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getBufferSubData\0\0\0l__widl_f_get_buffer_sub_data_with_f64_and_array_buffer_view_and_dst_offset_and_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getBufferSubData\0\0\0c__widl_f_get_buffer_sub_data_with_i32_and_u8_array_and_dst_offset_and_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getBufferSubData\0\0\0c__widl_f_get_buffer_sub_data_with_f64_and_u8_array_and_dst_offset_and_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getBufferSubData\0\0\06__widl_f_get_frag_data_location_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x13getFragDataLocation\0\0\05__widl_f_get_indexed_parameter_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x13getIndexedParameter\0\0\0<__widl_f_get_internalformat_parameter_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x1AgetInternalformatParameter\0\0\0)__widl_f_get_query_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x08getQuery\0\0\03__widl_f_get_query_parameter_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11getQueryParameter\0\0\05__widl_f_get_sampler_parameter_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x13getSamplerParameter\0\0\02__widl_f_get_sync_parameter_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getSyncParameter\0\0\0>__widl_f_get_transform_feedback_varying_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x1BgetTransformFeedbackVarying\0\0\07__widl_f_get_uniform_block_index_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14getUniformBlockIndex\0\0\0(__widl_f_is_query_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x07isQuery\0\0\0*__widl_f_is_sampler_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tisSampler\0\0\0'__widl_f_is_sync_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x06isSync\0\0\05__widl_f_is_transform_feedback_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x13isTransformFeedback\0\0\0/__widl_f_is_vertex_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\risVertexArray\0\0\08__widl_f_pause_transform_feedback_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x16pauseTransformFeedback\0\0\0+__widl_f_read_buffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nreadBuffer\0\0\0F__widl_f_read_pixels_with_opt_array_buffer_view_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nreadPixels\0\0\0=__widl_f_read_pixels_with_opt_u8_array_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nreadPixels\0\0\04__widl_f_read_pixels_with_i32_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nreadPixels\0\0\04__widl_f_read_pixels_with_f64_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nreadPixels\0\0\0Q__widl_f_read_pixels_with_array_buffer_view_and_dst_offset_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nreadPixels\0\0\0H__widl_f_read_pixels_with_u8_array_and_dst_offset_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nreadPixels\0\0\0@__widl_f_renderbuffer_storage_multisample_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x1ErenderbufferStorageMultisample\0\0\09__widl_f_resume_transform_feedback_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17resumeTransformFeedback\0\0\02__widl_f_sampler_parameterf_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11samplerParameterf\0\0\02__widl_f_sampler_parameteri_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11samplerParameteri\0\0\0s__widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0j__widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0U__widl_f_tex_image_2d_with_u32_and_u32_and_html_canvas_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0T__widl_f_tex_image_2d_with_u32_and_u32_and_html_image_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0T__widl_f_tex_image_2d_with_u32_and_u32_and_html_video_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0N__widl_f_tex_image_2d_with_u32_and_u32_and_image_bitmap_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0L__widl_f_tex_image_2d_with_u32_and_u32_and_image_data_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0a__widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_i32_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0a__widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_f64_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0q__widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_canvas_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0p__widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_image_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0p__widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_html_video_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0j__widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_bitmap_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0h__widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_image_data_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0~__widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_array_buffer_view_and_src_offset_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\0u__widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_u8_array_and_src_offset_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage2D\0\0\05__widl_f_tex_image_3d_with_i32_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage3D\0\0\05__widl_f_tex_image_3d_with_f64_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage3D\0\0\0E__widl_f_tex_image_3d_with_html_canvas_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage3D\0\0\0D__widl_f_tex_image_3d_with_html_image_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage3D\0\0\0D__widl_f_tex_image_3d_with_html_video_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage3D\0\0\0>__widl_f_tex_image_3d_with_image_bitmap_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage3D\0\0\0<__widl_f_tex_image_3d_with_image_data_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage3D\0\0\0G__widl_f_tex_image_3d_with_opt_array_buffer_view_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage3D\0\0\0>__widl_f_tex_image_3d_with_opt_u8_array_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage3D\0\0\0R__widl_f_tex_image_3d_with_array_buffer_view_and_src_offset_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage3D\0\0\0I__widl_f_tex_image_3d_with_u8_array_and_src_offset_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ntexImage3D\0\0\0.__widl_f_tex_storage_2d_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CtexStorage2D\0\0\0.__widl_f_tex_storage_3d_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CtexStorage3D\0\0\0l__widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0c__widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0Y__widl_f_tex_sub_image_2d_with_u32_and_u32_and_html_canvas_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0X__widl_f_tex_sub_image_2d_with_u32_and_u32_and_html_image_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0X__widl_f_tex_sub_image_2d_with_u32_and_u32_and_html_video_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0R__widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_bitmap_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0P__widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_data_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0Z__widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_i32_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0Z__widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_f64_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0j__widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_canvas_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0i__widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_image_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0i__widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_html_video_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0c__widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_bitmap_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0a__widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_image_data_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0w__widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_array_buffer_view_and_src_offset_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0n__widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_u8_array_and_src_offset_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\09__widl_f_tex_sub_image_3d_with_i32_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage3D\0\0\09__widl_f_tex_sub_image_3d_with_f64_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage3D\0\0\0I__widl_f_tex_sub_image_3d_with_html_canvas_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage3D\0\0\0H__widl_f_tex_sub_image_3d_with_html_image_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage3D\0\0\0H__widl_f_tex_sub_image_3d_with_html_video_element_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage3D\0\0\0B__widl_f_tex_sub_image_3d_with_image_bitmap_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage3D\0\0\0@__widl_f_tex_sub_image_3d_with_image_data_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage3D\0\0\0K__widl_f_tex_sub_image_3d_with_opt_array_buffer_view_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage3D\0\0\0B__widl_f_tex_sub_image_3d_with_opt_u8_array_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage3D\0\0\0Z__widl_f_tex_sub_image_3d_with_opt_array_buffer_view_and_src_offset_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage3D\0\0\0Q__widl_f_tex_sub_image_3d_with_opt_u8_array_and_src_offset_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexSubImage3D\0\0\09__widl_f_uniform1fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform1fv\0\0\0H__widl_f_uniform1fv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform1fv\0\0\0W__widl_f_uniform1fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform1fv\0\0\09__widl_f_uniform1iv_with_i32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform1iv\0\0\0H__widl_f_uniform1iv_with_i32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform1iv\0\0\0W__widl_f_uniform1iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform1iv\0\0\0*__widl_f_uniform1ui_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform1ui\0\0\0:__widl_f_uniform1uiv_with_u32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0Buniform1uiv\0\0\0I__widl_f_uniform1uiv_with_u32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0Buniform1uiv\0\0\0X__widl_f_uniform1uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0Buniform1uiv\0\0\09__widl_f_uniform2fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform2fv\0\0\0H__widl_f_uniform2fv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform2fv\0\0\0W__widl_f_uniform2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform2fv\0\0\09__widl_f_uniform2iv_with_i32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform2iv\0\0\0H__widl_f_uniform2iv_with_i32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform2iv\0\0\0W__widl_f_uniform2iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform2iv\0\0\0*__widl_f_uniform2ui_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform2ui\0\0\0:__widl_f_uniform2uiv_with_u32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0Buniform2uiv\0\0\0I__widl_f_uniform2uiv_with_u32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0Buniform2uiv\0\0\0X__widl_f_uniform2uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0Buniform2uiv\0\0\09__widl_f_uniform3fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform3fv\0\0\0H__widl_f_uniform3fv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform3fv\0\0\0W__widl_f_uniform3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform3fv\0\0\09__widl_f_uniform3iv_with_i32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform3iv\0\0\0H__widl_f_uniform3iv_with_i32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform3iv\0\0\0W__widl_f_uniform3iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform3iv\0\0\0*__widl_f_uniform3ui_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform3ui\0\0\0:__widl_f_uniform3uiv_with_u32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0Buniform3uiv\0\0\0I__widl_f_uniform3uiv_with_u32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0Buniform3uiv\0\0\0X__widl_f_uniform3uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0Buniform3uiv\0\0\09__widl_f_uniform4fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform4fv\0\0\0H__widl_f_uniform4fv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform4fv\0\0\0W__widl_f_uniform4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform4fv\0\0\09__widl_f_uniform4iv_with_i32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform4iv\0\0\0H__widl_f_uniform4iv_with_i32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform4iv\0\0\0W__widl_f_uniform4iv_with_i32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform4iv\0\0\0*__widl_f_uniform4ui_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuniform4ui\0\0\0:__widl_f_uniform4uiv_with_u32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0Buniform4uiv\0\0\0I__widl_f_uniform4uiv_with_u32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0Buniform4uiv\0\0\0X__widl_f_uniform4uiv_with_u32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0Buniform4uiv\0\0\05__widl_f_uniform_block_binding_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x13uniformBlockBinding\0\0\0@__widl_f_uniform_matrix2fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10uniformMatrix2fv\0\0\0O__widl_f_uniform_matrix2fv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10uniformMatrix2fv\0\0\0^__widl_f_uniform_matrix2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10uniformMatrix2fv\0\0\0B__widl_f_uniform_matrix2x3fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix2x3fv\0\0\0Q__widl_f_uniform_matrix2x3fv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix2x3fv\0\0\0`__widl_f_uniform_matrix2x3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix2x3fv\0\0\0B__widl_f_uniform_matrix2x4fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix2x4fv\0\0\0Q__widl_f_uniform_matrix2x4fv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix2x4fv\0\0\0`__widl_f_uniform_matrix2x4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix2x4fv\0\0\0@__widl_f_uniform_matrix3fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10uniformMatrix3fv\0\0\0O__widl_f_uniform_matrix3fv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10uniformMatrix3fv\0\0\0^__widl_f_uniform_matrix3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10uniformMatrix3fv\0\0\0B__widl_f_uniform_matrix3x2fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix3x2fv\0\0\0Q__widl_f_uniform_matrix3x2fv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix3x2fv\0\0\0`__widl_f_uniform_matrix3x2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix3x2fv\0\0\0B__widl_f_uniform_matrix3x4fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix3x4fv\0\0\0Q__widl_f_uniform_matrix3x4fv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix3x4fv\0\0\0`__widl_f_uniform_matrix3x4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix3x4fv\0\0\0@__widl_f_uniform_matrix4fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10uniformMatrix4fv\0\0\0O__widl_f_uniform_matrix4fv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10uniformMatrix4fv\0\0\0^__widl_f_uniform_matrix4fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10uniformMatrix4fv\0\0\0B__widl_f_uniform_matrix4x2fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix4x2fv\0\0\0Q__widl_f_uniform_matrix4x2fv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix4x2fv\0\0\0`__widl_f_uniform_matrix4x2fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix4x2fv\0\0\0B__widl_f_uniform_matrix4x3fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix4x3fv\0\0\0Q__widl_f_uniform_matrix4x3fv_with_f32_array_and_src_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix4x3fv\0\0\0`__widl_f_uniform_matrix4x3fv_with_f32_array_and_src_offset_and_src_length_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12uniformMatrix4x3fv\0\0\05__widl_f_vertex_attrib_divisor_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x13vertexAttribDivisor\0\0\01__widl_f_vertex_attrib_i4i_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FvertexAttribI4i\0\0\0A__widl_f_vertex_attrib_i4iv_with_i32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10vertexAttribI4iv\0\0\02__widl_f_vertex_attrib_i4ui_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10vertexAttribI4ui\0\0\0B__widl_f_vertex_attrib_i4uiv_with_u32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11vertexAttribI4uiv\0\0\0@__widl_f_vertex_attrib_i_pointer_with_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14vertexAttribIPointer\0\0\0@__widl_f_vertex_attrib_i_pointer_with_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14vertexAttribIPointer\0\0\02__widl_f_wait_sync_with_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x08waitSync\0\0\02__widl_f_wait_sync_with_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x08waitSync\0\0\0.__widl_f_active_texture_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ractiveTexture\0\0\0-__widl_f_attach_shader_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CattachShader\0\0\04__widl_f_bind_attrib_location_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12bindAttribLocation\0\0\0+__widl_f_bind_buffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nbindBuffer\0\0\00__widl_f_bind_framebuffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FbindFramebuffer\0\0\01__widl_f_bind_renderbuffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10bindRenderbuffer\0\0\0,__widl_f_bind_texture_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0BbindTexture\0\0\0+__widl_f_blend_color_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nblendColor\0\0\0.__widl_f_blend_equation_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rblendEquation\0\0\07__widl_f_blend_equation_separate_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x15blendEquationSeparate\0\0\0*__widl_f_blend_func_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tblendFunc\0\0\03__widl_f_blend_func_separate_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11blendFuncSeparate\0\0\08__widl_f_check_framebuffer_status_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x16checkFramebufferStatus\0\0\0%__widl_f_clear_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x05clear\0\0\0+__widl_f_clear_color_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nclearColor\0\0\0+__widl_f_clear_depth_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nclearDepth\0\0\0-__widl_f_clear_stencil_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CclearStencil\0\0\0*__widl_f_color_mask_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tcolorMask\0\0\0.__widl_f_compile_shader_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rcompileShader\0\0\01__widl_f_copy_tex_image_2d_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0EcopyTexImage2D\0\0\05__widl_f_copy_tex_sub_image_2d_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11copyTexSubImage2D\0\0\0-__widl_f_create_buffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CcreateBuffer\0\0\02__widl_f_create_framebuffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11createFramebuffer\0\0\0.__widl_f_create_program_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rcreateProgram\0\0\03__widl_f_create_renderbuffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12createRenderbuffer\0\0\0-__widl_f_create_shader_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CcreateShader\0\0\0.__widl_f_create_texture_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rcreateTexture\0\0\0)__widl_f_cull_face_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x08cullFace\0\0\0-__widl_f_delete_buffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CdeleteBuffer\0\0\02__widl_f_delete_framebuffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11deleteFramebuffer\0\0\0.__widl_f_delete_program_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rdeleteProgram\0\0\03__widl_f_delete_renderbuffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12deleteRenderbuffer\0\0\0-__widl_f_delete_shader_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CdeleteShader\0\0\0.__widl_f_delete_texture_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rdeleteTexture\0\0\0*__widl_f_depth_func_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tdepthFunc\0\0\0*__widl_f_depth_mask_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tdepthMask\0\0\0+__widl_f_depth_range_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ndepthRange\0\0\0-__widl_f_detach_shader_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CdetachShader\0\0\0'__widl_f_disable_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x07disable\0\0\0;__widl_f_disable_vertex_attrib_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x18disableVertexAttribArray\0\0\0+__widl_f_draw_arrays_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ndrawArrays\0\0\06__widl_f_draw_elements_with_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CdrawElements\0\0\06__widl_f_draw_elements_with_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CdrawElements\0\0\0&__widl_f_enable_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x06enable\0\0\0:__widl_f_enable_vertex_attrib_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17enableVertexAttribArray\0\0\0&__widl_f_finish_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x06finish\0\0\0%__widl_f_flush_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x05flush\0\0\08__widl_f_framebuffer_renderbuffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x17framebufferRenderbuffer\0\0\06__widl_f_framebuffer_texture_2d_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14framebufferTexture2D\0\0\0*__widl_f_front_face_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tfrontFace\0\0\0/__widl_f_generate_mipmap_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0EgenerateMipmap\0\0\01__widl_f_get_active_attrib_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FgetActiveAttrib\0\0\02__widl_f_get_active_uniform_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getActiveUniform\0\0\03__widl_f_get_attrib_location_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11getAttribLocation\0\0\04__widl_f_get_buffer_parameter_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12getBufferParameter\0\0\06__widl_f_get_context_attributes_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x14getContextAttributes\0\0\0)__widl_f_get_error_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x08getError\0\0\0-__widl_f_get_extension_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CgetExtension\0\0\0D__widl_f_get_framebuffer_attachment_parameter_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01!getFramebufferAttachmentParameter\0\0\0-__widl_f_get_parameter_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CgetParameter\0\0\04__widl_f_get_program_info_log_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11getProgramInfoLog\0\0\05__widl_f_get_program_parameter_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x13getProgramParameter\0\0\0:__widl_f_get_renderbuffer_parameter_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x18getRenderbufferParameter\0\0\03__widl_f_get_shader_info_log_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x10getShaderInfoLog\0\0\04__widl_f_get_shader_parameter_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12getShaderParameter\0\0\0;__widl_f_get_shader_precision_format_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x18getShaderPrecisionFormat\0\0\01__widl_f_get_shader_source_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FgetShaderSource\0\0\01__widl_f_get_tex_parameter_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FgetTexParameter\0\0\0+__widl_f_get_uniform_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\ngetUniform\0\0\04__widl_f_get_uniform_location_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x12getUniformLocation\0\0\01__widl_f_get_vertex_attrib_WebGL2RenderingContext\x01\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FgetVertexAttrib\0\0\08__widl_f_get_vertex_attrib_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x15getVertexAttribOffset\0\0\0$__widl_f_hint_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x04hint\0\0\0)__widl_f_is_buffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x08isBuffer\0\0\0/__widl_f_is_context_lost_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\risContextLost\0\0\0*__widl_f_is_enabled_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tisEnabled\0\0\0.__widl_f_is_framebuffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\risFramebuffer\0\0\0*__widl_f_is_program_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tisProgram\0\0\0/__widl_f_is_renderbuffer_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0EisRenderbuffer\0\0\0)__widl_f_is_shader_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x08isShader\0\0\0*__widl_f_is_texture_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tisTexture\0\0\0*__widl_f_line_width_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tlineWidth\0\0\0,__widl_f_link_program_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0BlinkProgram\0\0\0,__widl_f_pixel_storei_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0BpixelStorei\0\0\0.__widl_f_polygon_offset_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rpolygonOffset\0\0\04__widl_f_renderbuffer_storage_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x13renderbufferStorage\0\0\0/__widl_f_sample_coverage_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0EsampleCoverage\0\0\0'__widl_f_scissor_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x07scissor\0\0\0-__widl_f_shader_source_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0CshaderSource\0\0\0,__widl_f_stencil_func_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0BstencilFunc\0\0\05__widl_f_stencil_func_separate_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x13stencilFuncSeparate\0\0\0,__widl_f_stencil_mask_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0BstencilMask\0\0\05__widl_f_stencil_mask_separate_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x13stencilMaskSeparate\0\0\0*__widl_f_stencil_op_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tstencilOp\0\0\03__widl_f_stencil_op_separate_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x11stencilOpSeparate\0\0\0.__widl_f_tex_parameterf_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexParameterf\0\0\0.__widl_f_tex_parameteri_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\rtexParameteri\0\0\0)__widl_f_uniform1f_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tuniform1f\0\0\0)__widl_f_uniform1i_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tuniform1i\0\0\0)__widl_f_uniform2f_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tuniform2f\0\0\0)__widl_f_uniform2i_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tuniform2i\0\0\0)__widl_f_uniform3f_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tuniform3f\0\0\0)__widl_f_uniform3i_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tuniform3i\0\0\0)__widl_f_uniform4f_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tuniform4f\0\0\0)__widl_f_uniform4i_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\tuniform4i\0\0\0+__widl_f_use_program_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\nuseProgram\0\0\00__widl_f_validate_program_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FvalidateProgram\0\0\0/__widl_f_vertex_attrib1f_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0EvertexAttrib1f\0\0\0?__widl_f_vertex_attrib1fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FvertexAttrib1fv\0\0\0/__widl_f_vertex_attrib2f_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0EvertexAttrib2f\0\0\0?__widl_f_vertex_attrib2fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FvertexAttrib2fv\0\0\0/__widl_f_vertex_attrib3f_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0EvertexAttrib3f\0\0\0?__widl_f_vertex_attrib3fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FvertexAttrib3fv\0\0\0/__widl_f_vertex_attrib4f_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0EvertexAttrib4f\0\0\0?__widl_f_vertex_attrib4fv_with_f32_array_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x0FvertexAttrib4fv\0\0\0>__widl_f_vertex_attrib_pointer_with_i32_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x13vertexAttribPointer\0\0\0>__widl_f_vertex_attrib_pointer_with_f64_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x13vertexAttribPointer\0\0\0(__widl_f_viewport_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\0\x01\x08viewport\0\0\0&__widl_f_canvas_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\x01\x06canvas\x01\x06canvas\0\0\04__widl_f_drawing_buffer_width_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\x01\x12drawingBufferWidth\x01\x12drawingBufferWidth\0\0\05__widl_f_drawing_buffer_height_WebGL2RenderingContext\0\0\x01\x16WebGL2RenderingContext\x01\0\x01\x13drawingBufferHeight\x01\x13drawingBufferHeight\0\0\x02\x0FWebGLActiveInfo!__widl_instanceof_WebGLActiveInfo\0\0\0\0\x1D__widl_f_size_WebGLActiveInfo\0\0\x01\x0FWebGLActiveInfo\x01\0\x01\x04size\x01\x04size\0\0\0\x1D__widl_f_type_WebGLActiveInfo\0\0\x01\x0FWebGLActiveInfo\x01\0\x01\x04type\x01\x04type\0\0\0\x1D__widl_f_name_WebGLActiveInfo\0\0\x01\x0FWebGLActiveInfo\x01\0\x01\x04name\x01\x04name\0\0\x02\x0BWebGLBuffer\x1D__widl_instanceof_WebGLBuffer\0\0\0\x02\x11WebGLContextEvent#__widl_instanceof_WebGLContextEvent\0\0\0\0\x1E__widl_f_new_WebGLContextEvent\x01\0\x01\x11WebGLContextEvent\0\x01\x03new\0\0\0.__widl_f_new_with_event_init_WebGLContextEvent\x01\0\x01\x11WebGLContextEvent\0\x01\x03new\0\0\0)__widl_f_status_message_WebGLContextEvent\0\0\x01\x11WebGLContextEvent\x01\0\x01\rstatusMessage\x01\rstatusMessage\0\0\x02\x10WebGLFramebuffer\"__widl_instanceof_WebGLFramebuffer\0\0\0\x02\x0CWebGLProgram\x1E__widl_instanceof_WebGLProgram\0\0\0\x02\nWebGLQuery\x1C__widl_instanceof_WebGLQuery\0\0\0\x02\x11WebGLRenderbuffer#__widl_instanceof_WebGLRenderbuffer\0\0\0\x02\x15WebGLRenderingContext'__widl_instanceof_WebGLRenderingContext\0\0\0\03__widl_f_buffer_data_with_i32_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nbufferData\0\0\03__widl_f_buffer_data_with_f64_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nbufferData\0\0\0@__widl_f_buffer_data_with_opt_array_buffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nbufferData\0\0\0A__widl_f_buffer_data_with_array_buffer_view_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nbufferData\0\0\08__widl_f_buffer_data_with_u8_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nbufferData\0\0\0H__widl_f_buffer_sub_data_with_i32_and_array_buffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rbufferSubData\0\0\0H__widl_f_buffer_sub_data_with_f64_and_array_buffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rbufferSubData\0\0\0M__widl_f_buffer_sub_data_with_i32_and_array_buffer_view_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rbufferSubData\0\0\0M__widl_f_buffer_sub_data_with_f64_and_array_buffer_view_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rbufferSubData\0\0\0D__widl_f_buffer_sub_data_with_i32_and_u8_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rbufferSubData\0\0\0D__widl_f_buffer_sub_data_with_f64_and_u8_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rbufferSubData\0\0\0%__widl_f_commit_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x06commit\0\0\0M__widl_f_compressed_tex_image_2d_with_array_buffer_view_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x14compressedTexImage2D\0\0\0D__widl_f_compressed_tex_image_2d_with_u8_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x14compressedTexImage2D\0\0\0Q__widl_f_compressed_tex_sub_image_2d_with_array_buffer_view_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x17compressedTexSubImage2D\0\0\0H__widl_f_compressed_tex_sub_image_2d_with_u8_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x17compressedTexSubImage2D\0\0\0E__widl_f_read_pixels_with_opt_array_buffer_view_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nreadPixels\0\0\0<__widl_f_read_pixels_with_opt_u8_array_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nreadPixels\0\0\0r__widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_array_buffer_view_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\ntexImage2D\0\0\0i__widl_f_tex_image_2d_with_i32_and_i32_and_i32_and_format_and_type_and_opt_u8_array_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\ntexImage2D\0\0\0M__widl_f_tex_image_2d_with_u32_and_u32_and_image_bitmap_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\ntexImage2D\0\0\0K__widl_f_tex_image_2d_with_u32_and_u32_and_image_data_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\ntexImage2D\0\0\0F__widl_f_tex_image_2d_with_u32_and_u32_and_image_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\ntexImage2D\0\0\0G__widl_f_tex_image_2d_with_u32_and_u32_and_canvas_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\ntexImage2D\0\0\0F__widl_f_tex_image_2d_with_u32_and_u32_and_video_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\ntexImage2D\0\0\0k__widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_array_buffer_view_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0b__widl_f_tex_sub_image_2d_with_i32_and_i32_and_u32_and_type_and_opt_u8_array_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0Q__widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_bitmap_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0O__widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_data_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0J__widl_f_tex_sub_image_2d_with_u32_and_u32_and_image_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0K__widl_f_tex_sub_image_2d_with_u32_and_u32_and_canvas_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\0J__widl_f_tex_sub_image_2d_with_u32_and_u32_and_video_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rtexSubImage2D\0\0\08__widl_f_uniform1fv_with_f32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nuniform1fv\0\0\08__widl_f_uniform1iv_with_i32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nuniform1iv\0\0\08__widl_f_uniform2fv_with_f32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nuniform2fv\0\0\08__widl_f_uniform2iv_with_i32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nuniform2iv\0\0\08__widl_f_uniform3fv_with_f32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nuniform3fv\0\0\08__widl_f_uniform3iv_with_i32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nuniform3iv\0\0\08__widl_f_uniform4fv_with_f32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nuniform4fv\0\0\08__widl_f_uniform4iv_with_i32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nuniform4iv\0\0\0?__widl_f_uniform_matrix2fv_with_f32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x10uniformMatrix2fv\0\0\0?__widl_f_uniform_matrix3fv_with_f32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x10uniformMatrix3fv\0\0\0?__widl_f_uniform_matrix4fv_with_f32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x10uniformMatrix4fv\0\0\0-__widl_f_active_texture_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\ractiveTexture\0\0\0,__widl_f_attach_shader_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0CattachShader\0\0\03__widl_f_bind_attrib_location_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x12bindAttribLocation\0\0\0*__widl_f_bind_buffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nbindBuffer\0\0\0/__widl_f_bind_framebuffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0FbindFramebuffer\0\0\00__widl_f_bind_renderbuffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x10bindRenderbuffer\0\0\0+__widl_f_bind_texture_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0BbindTexture\0\0\0*__widl_f_blend_color_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nblendColor\0\0\0-__widl_f_blend_equation_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rblendEquation\0\0\06__widl_f_blend_equation_separate_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x15blendEquationSeparate\0\0\0)__widl_f_blend_func_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tblendFunc\0\0\02__widl_f_blend_func_separate_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x11blendFuncSeparate\0\0\07__widl_f_check_framebuffer_status_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x16checkFramebufferStatus\0\0\0$__widl_f_clear_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x05clear\0\0\0*__widl_f_clear_color_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nclearColor\0\0\0*__widl_f_clear_depth_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nclearDepth\0\0\0,__widl_f_clear_stencil_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0CclearStencil\0\0\0)__widl_f_color_mask_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tcolorMask\0\0\0-__widl_f_compile_shader_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rcompileShader\0\0\00__widl_f_copy_tex_image_2d_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0EcopyTexImage2D\0\0\04__widl_f_copy_tex_sub_image_2d_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x11copyTexSubImage2D\0\0\0,__widl_f_create_buffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0CcreateBuffer\0\0\01__widl_f_create_framebuffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x11createFramebuffer\0\0\0-__widl_f_create_program_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rcreateProgram\0\0\02__widl_f_create_renderbuffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x12createRenderbuffer\0\0\0,__widl_f_create_shader_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0CcreateShader\0\0\0-__widl_f_create_texture_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rcreateTexture\0\0\0(__widl_f_cull_face_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x08cullFace\0\0\0,__widl_f_delete_buffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0CdeleteBuffer\0\0\01__widl_f_delete_framebuffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x11deleteFramebuffer\0\0\0-__widl_f_delete_program_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rdeleteProgram\0\0\02__widl_f_delete_renderbuffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x12deleteRenderbuffer\0\0\0,__widl_f_delete_shader_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0CdeleteShader\0\0\0-__widl_f_delete_texture_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rdeleteTexture\0\0\0)__widl_f_depth_func_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tdepthFunc\0\0\0)__widl_f_depth_mask_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tdepthMask\0\0\0*__widl_f_depth_range_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\ndepthRange\0\0\0,__widl_f_detach_shader_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0CdetachShader\0\0\0&__widl_f_disable_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x07disable\0\0\0:__widl_f_disable_vertex_attrib_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x18disableVertexAttribArray\0\0\0*__widl_f_draw_arrays_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\ndrawArrays\0\0\05__widl_f_draw_elements_with_i32_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0CdrawElements\0\0\05__widl_f_draw_elements_with_f64_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0CdrawElements\0\0\0%__widl_f_enable_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x06enable\0\0\09__widl_f_enable_vertex_attrib_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x17enableVertexAttribArray\0\0\0%__widl_f_finish_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x06finish\0\0\0$__widl_f_flush_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x05flush\0\0\07__widl_f_framebuffer_renderbuffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x17framebufferRenderbuffer\0\0\05__widl_f_framebuffer_texture_2d_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x14framebufferTexture2D\0\0\0)__widl_f_front_face_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tfrontFace\0\0\0.__widl_f_generate_mipmap_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0EgenerateMipmap\0\0\00__widl_f_get_active_attrib_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0FgetActiveAttrib\0\0\01__widl_f_get_active_uniform_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x10getActiveUniform\0\0\02__widl_f_get_attrib_location_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x11getAttribLocation\0\0\03__widl_f_get_buffer_parameter_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x12getBufferParameter\0\0\05__widl_f_get_context_attributes_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x14getContextAttributes\0\0\0(__widl_f_get_error_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x08getError\0\0\0,__widl_f_get_extension_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0CgetExtension\0\0\0C__widl_f_get_framebuffer_attachment_parameter_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01!getFramebufferAttachmentParameter\0\0\0,__widl_f_get_parameter_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0CgetParameter\0\0\03__widl_f_get_program_info_log_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x11getProgramInfoLog\0\0\04__widl_f_get_program_parameter_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x13getProgramParameter\0\0\09__widl_f_get_renderbuffer_parameter_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x18getRenderbufferParameter\0\0\02__widl_f_get_shader_info_log_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x10getShaderInfoLog\0\0\03__widl_f_get_shader_parameter_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x12getShaderParameter\0\0\0:__widl_f_get_shader_precision_format_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x18getShaderPrecisionFormat\0\0\00__widl_f_get_shader_source_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0FgetShaderSource\0\0\00__widl_f_get_tex_parameter_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0FgetTexParameter\0\0\0*__widl_f_get_uniform_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\ngetUniform\0\0\03__widl_f_get_uniform_location_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x12getUniformLocation\0\0\00__widl_f_get_vertex_attrib_WebGLRenderingContext\x01\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0FgetVertexAttrib\0\0\07__widl_f_get_vertex_attrib_offset_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x15getVertexAttribOffset\0\0\0#__widl_f_hint_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x04hint\0\0\0(__widl_f_is_buffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x08isBuffer\0\0\0.__widl_f_is_context_lost_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\risContextLost\0\0\0)__widl_f_is_enabled_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tisEnabled\0\0\0-__widl_f_is_framebuffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\risFramebuffer\0\0\0)__widl_f_is_program_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tisProgram\0\0\0.__widl_f_is_renderbuffer_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0EisRenderbuffer\0\0\0(__widl_f_is_shader_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x08isShader\0\0\0)__widl_f_is_texture_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tisTexture\0\0\0)__widl_f_line_width_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tlineWidth\0\0\0+__widl_f_link_program_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0BlinkProgram\0\0\0+__widl_f_pixel_storei_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0BpixelStorei\0\0\0-__widl_f_polygon_offset_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rpolygonOffset\0\0\03__widl_f_renderbuffer_storage_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x13renderbufferStorage\0\0\0.__widl_f_sample_coverage_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0EsampleCoverage\0\0\0&__widl_f_scissor_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x07scissor\0\0\0,__widl_f_shader_source_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0CshaderSource\0\0\0+__widl_f_stencil_func_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0BstencilFunc\0\0\04__widl_f_stencil_func_separate_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x13stencilFuncSeparate\0\0\0+__widl_f_stencil_mask_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0BstencilMask\0\0\04__widl_f_stencil_mask_separate_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x13stencilMaskSeparate\0\0\0)__widl_f_stencil_op_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tstencilOp\0\0\02__widl_f_stencil_op_separate_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x11stencilOpSeparate\0\0\0-__widl_f_tex_parameterf_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rtexParameterf\0\0\0-__widl_f_tex_parameteri_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\rtexParameteri\0\0\0(__widl_f_uniform1f_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tuniform1f\0\0\0(__widl_f_uniform1i_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tuniform1i\0\0\0(__widl_f_uniform2f_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tuniform2f\0\0\0(__widl_f_uniform2i_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tuniform2i\0\0\0(__widl_f_uniform3f_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tuniform3f\0\0\0(__widl_f_uniform3i_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tuniform3i\0\0\0(__widl_f_uniform4f_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tuniform4f\0\0\0(__widl_f_uniform4i_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\tuniform4i\0\0\0*__widl_f_use_program_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\nuseProgram\0\0\0/__widl_f_validate_program_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0FvalidateProgram\0\0\0.__widl_f_vertex_attrib1f_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0EvertexAttrib1f\0\0\0>__widl_f_vertex_attrib1fv_with_f32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0FvertexAttrib1fv\0\0\0.__widl_f_vertex_attrib2f_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0EvertexAttrib2f\0\0\0>__widl_f_vertex_attrib2fv_with_f32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0FvertexAttrib2fv\0\0\0.__widl_f_vertex_attrib3f_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0EvertexAttrib3f\0\0\0>__widl_f_vertex_attrib3fv_with_f32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0FvertexAttrib3fv\0\0\0.__widl_f_vertex_attrib4f_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0EvertexAttrib4f\0\0\0>__widl_f_vertex_attrib4fv_with_f32_array_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x0FvertexAttrib4fv\0\0\0=__widl_f_vertex_attrib_pointer_with_i32_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x13vertexAttribPointer\0\0\0=__widl_f_vertex_attrib_pointer_with_f64_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x13vertexAttribPointer\0\0\0'__widl_f_viewport_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\0\x01\x08viewport\0\0\0%__widl_f_canvas_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\x01\x06canvas\x01\x06canvas\0\0\03__widl_f_drawing_buffer_width_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\x01\x12drawingBufferWidth\x01\x12drawingBufferWidth\0\0\04__widl_f_drawing_buffer_height_WebGLRenderingContext\0\0\x01\x15WebGLRenderingContext\x01\0\x01\x13drawingBufferHeight\x01\x13drawingBufferHeight\0\0\x02\x0CWebGLSampler\x1E__widl_instanceof_WebGLSampler\0\0\0\x02\x0BWebGLShader\x1D__widl_instanceof_WebGLShader\0\0\0\x02\x1AWebGLShaderPrecisionFormat,__widl_instanceof_WebGLShaderPrecisionFormat\0\0\0\0-__widl_f_range_min_WebGLShaderPrecisionFormat\0\0\x01\x1AWebGLShaderPrecisionFormat\x01\0\x01\x08rangeMin\x01\x08rangeMin\0\0\0-__widl_f_range_max_WebGLShaderPrecisionFormat\0\0\x01\x1AWebGLShaderPrecisionFormat\x01\0\x01\x08rangeMax\x01\x08rangeMax\0\0\0-__widl_f_precision_WebGLShaderPrecisionFormat\0\0\x01\x1AWebGLShaderPrecisionFormat\x01\0\x01\tprecision\x01\tprecision\0\0\x02\tWebGLSync\x1B__widl_instanceof_WebGLSync\0\0\0\x02\x0CWebGLTexture\x1E__widl_instanceof_WebGLTexture\0\0\0\x02\x16WebGLTransformFeedback(__widl_instanceof_WebGLTransformFeedback\0\0\0\x02\x14WebGLUniformLocation&__widl_instanceof_WebGLUniformLocation\0\0\0\x02\x16WebGLVertexArrayObject(__widl_instanceof_WebGLVertexArrayObject\0\0\0\x02\x06WebGPU\x18__widl_instanceof_WebGPU\0\0\0\0\x1B__widl_f_get_adapter_WebGPU\0\0\x01\x06WebGPU\x01\0\0\x01\ngetAdapter\0\0\0%__widl_f_get_adapter_with_desc_WebGPU\0\0\x01\x06WebGPU\x01\0\0\x01\ngetAdapter\0\0\x02\rWebGPUAdapter\x1F__widl_instanceof_WebGPUAdapter\0\0\0\0$__widl_f_create_device_WebGPUAdapter\0\0\x01\rWebGPUAdapter\x01\0\0\x01\x0CcreateDevice\0\0\04__widl_f_create_device_with_descriptor_WebGPUAdapter\0\0\x01\rWebGPUAdapter\x01\0\0\x01\x0CcreateDevice\0\0\0!__widl_f_extensions_WebGPUAdapter\0\0\x01\rWebGPUAdapter\x01\0\0\x01\nextensions\0\0\0\x1B__widl_f_name_WebGPUAdapter\0\0\x01\rWebGPUAdapter\x01\0\x01\x04name\x01\x04name\0\0\x02\x15WebGPUAttachmentState'__widl_instanceof_WebGPUAttachmentState\0\0\0\x02\x0FWebGPUBindGroup!__widl_instanceof_WebGPUBindGroup\0\0\0\x02\x15WebGPUBindGroupLayout'__widl_instanceof_WebGPUBindGroupLayout\0\0\0\x02\x11WebGPUBindingType#__widl_instanceof_WebGPUBindingType\0\0\0\x02\x11WebGPUBlendFactor#__widl_instanceof_WebGPUBlendFactor\0\0\0\x02\x14WebGPUBlendOperation&__widl_instanceof_WebGPUBlendOperation\0\0\0\x02\x10WebGPUBlendState\"__widl_instanceof_WebGPUBlendState\0\0\0\x02\x0CWebGPUBuffer\x1E__widl_instanceof_WebGPUBuffer\0\0\0\0\x1B__widl_f_unmap_WebGPUBuffer\0\0\x01\x0CWebGPUBuffer\x01\0\0\x01\x05unmap\0\0\0\x1D__widl_f_mapping_WebGPUBuffer\0\0\x01\x0CWebGPUBuffer\x01\0\x01\x07mapping\x01\x07mapping\0\0\x02\x11WebGPUBufferUsage#__widl_instanceof_WebGPUBufferUsage\0\0\0\x02\x14WebGPUColorWriteBits&__widl_instanceof_WebGPUColorWriteBits\0\0\0\x02\x13WebGPUCommandBuffer%__widl_instanceof_WebGPUCommandBuffer\0\0\0\x02\x14WebGPUCommandEncoder&__widl_instanceof_WebGPUCommandEncoder\0\0\0\00__widl_f_begin_compute_pass_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x10beginComputePass\0\0\0/__widl_f_begin_render_pass_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x0FbeginRenderPass\0\0\0?__widl_f_begin_render_pass_with_descriptor_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x0FbeginRenderPass\0\0\0\"__widl_f_blit_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x04blit\0\0\03__widl_f_copy_buffer_to_buffer_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x12copyBufferToBuffer\0\0\04__widl_f_copy_buffer_to_texture_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x13copyBufferToTexture\0\0\04__widl_f_copy_texture_to_buffer_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x13copyTextureToBuffer\0\0\05__widl_f_copy_texture_to_texture_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x14copyTextureToTexture\0\0\0&__widl_f_dispatch_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x08dispatch\0\0\0\"__widl_f_draw_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x04draw\0\0\0*__widl_f_draw_indexed_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x0BdrawIndexed\0\0\0.__widl_f_end_compute_pass_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x0EendComputePass\0\0\0-__widl_f_end_render_pass_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\rendRenderPass\0\0\0-__widl_f_finish_encoding_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x0EfinishEncoding\0\0\0,__widl_f_set_bind_group_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x0CsetBindGroup\0\0\0-__widl_f_set_blend_color_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\rsetBlendColor\0\0\0.__widl_f_set_index_buffer_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x0EsetIndexBuffer\0\0\0H__widl_f_set_pipeline_with_web_gpu_compute_pipeline_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x0BsetPipeline\0\0\0G__widl_f_set_pipeline_with_web_gpu_render_pipeline_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x0BsetPipeline\0\0\00__widl_f_set_push_constants_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x10setPushConstants\0\0\0/__widl_f_transition_buffer_WebGPUCommandEncoder\0\0\x01\x14WebGPUCommandEncoder\x01\0\0\x01\x10transitionBuffer\0\0\x02\x15WebGPUCompareFunction'__widl_instanceof_WebGPUCompareFunction\0\0\0\x02\x15WebGPUComputePipeline'__widl_instanceof_WebGPUComputePipeline\0\0\0\x02\x17WebGPUDepthStencilState)__widl_instanceof_WebGPUDepthStencilState\0\0\0\x02\x0CWebGPUDevice\x1E__widl_instanceof_WebGPUDevice\0\0\0\0-__widl_f_create_attachment_state_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x15createAttachmentState\0\0\0=__widl_f_create_attachment_state_with_descriptor_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x15createAttachmentState\0\0\0'__widl_f_create_bind_group_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x0FcreateBindGroup\0\0\07__widl_f_create_bind_group_with_descriptor_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x0FcreateBindGroup\0\0\0.__widl_f_create_bind_group_layout_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x15createBindGroupLayout\0\0\0>__widl_f_create_bind_group_layout_with_descriptor_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x15createBindGroupLayout\0\0\0(__widl_f_create_blend_state_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x10createBlendState\0\0\08__widl_f_create_blend_state_with_descriptor_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x10createBlendState\0\0\0#__widl_f_create_buffer_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x0CcreateBuffer\0\0\03__widl_f_create_buffer_with_descriptor_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x0CcreateBuffer\0\0\0,__widl_f_create_command_encoder_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x14createCommandEncoder\0\0\0<__widl_f_create_command_encoder_with_descriptor_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x14createCommandEncoder\0\0\0-__widl_f_create_compute_pipeline_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x15createComputePipeline\0\0\00__widl_f_create_depth_stencil_state_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x17createDepthStencilState\0\0\0@__widl_f_create_depth_stencil_state_with_descriptor_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x17createDepthStencilState\0\0\0(__widl_f_create_input_state_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x10createInputState\0\0\08__widl_f_create_input_state_with_descriptor_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x10createInputState\0\0\0,__widl_f_create_pipeline_layout_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x14createPipelineLayout\0\0\0<__widl_f_create_pipeline_layout_with_descriptor_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x14createPipelineLayout\0\0\0,__widl_f_create_render_pipeline_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x14createRenderPipeline\0\0\0$__widl_f_create_sampler_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\rcreateSampler\0\0\04__widl_f_create_sampler_with_descriptor_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\rcreateSampler\0\0\0*__widl_f_create_shader_module_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x12createShaderModule\0\0\0$__widl_f_create_texture_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\rcreateTexture\0\0\04__widl_f_create_texture_with_descriptor_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\rcreateTexture\0\0\0 __widl_f_extensions_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\nextensions\0\0\0;__widl_f_get_object_status_with_web_gpu_buffer_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x0FgetObjectStatus\0\0\0<__widl_f_get_object_status_with_web_gpu_texture_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x0FgetObjectStatus\0\0\0\x1F__widl_f_get_queue_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x08getQueue\0\0\0\x1C__widl_f_limits_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\0\x01\x06limits\0\0\0\x1D__widl_f_adapter_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\x01\x07adapter\x01\x07adapter\0\0\0\x1C__widl_f_on_log_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\x01\x05onLog\x01\x05onLog\0\0\0 __widl_f_set_on_log_WebGPUDevice\0\0\x01\x0CWebGPUDevice\x01\0\x02\x05onLog\x01\x05onLog\0\0\x02\x0BWebGPUFence\x1D__widl_instanceof_WebGPUFence\0\0\0\0\x19__widl_f_wait_WebGPUFence\0\0\x01\x0BWebGPUFence\x01\0\0\x01\x04wait\0\0\0\x1C__widl_f_promise_WebGPUFence\0\0\x01\x0BWebGPUFence\x01\0\x01\x07promise\x01\x07promise\0\0\x02\x10WebGPUFilterMode\"__widl_instanceof_WebGPUFilterMode\0\0\0\x02\x11WebGPUIndexFormat#__widl_instanceof_WebGPUIndexFormat\0\0\0\x02\x10WebGPUInputState\"__widl_instanceof_WebGPUInputState\0\0\0\x02\x13WebGPUInputStepMode%__widl_instanceof_WebGPUInputStepMode\0\0\0\x02\x0CWebGPULoadOp\x1E__widl_instanceof_WebGPULoadOp\0\0\0\x02\x0EWebGPULogEntry __widl_instanceof_WebGPULogEntry\0\0\0\0\x1C__widl_f_type_WebGPULogEntry\0\0\x01\x0EWebGPULogEntry\x01\0\x01\x04type\x01\x04type\0\0\0\x1B__widl_f_obj_WebGPULogEntry\0\0\x01\x0EWebGPULogEntry\x01\0\x01\x03obj\x01\x03obj\0\0\0\x1E__widl_f_reason_WebGPULogEntry\0\0\x01\x0EWebGPULogEntry\x01\0\x01\x06reason\x01\x06reason\0\0\x02\x14WebGPUPipelineLayout&__widl_instanceof_WebGPUPipelineLayout\0\0\0\x02\x17WebGPUPrimitiveTopology)__widl_instanceof_WebGPUPrimitiveTopology\0\0\0\x02\x0BWebGPUQueue\x1D__widl_instanceof_WebGPUQueue\0\0\0\0!__widl_f_insert_fence_WebGPUQueue\0\0\x01\x0BWebGPUQueue\x01\0\0\x01\x0BinsertFence\0\0\x02\x14WebGPURenderPipeline&__widl_instanceof_WebGPURenderPipeline\0\0\0\x02\rWebGPUSampler\x1F__widl_instanceof_WebGPUSampler\0\0\0\x02\x12WebGPUShaderModule$__widl_instanceof_WebGPUShaderModule\0\0\0\x02\x11WebGPUShaderStage#__widl_instanceof_WebGPUShaderStage\0\0\0\x02\x14WebGPUShaderStageBit&__widl_instanceof_WebGPUShaderStageBit\0\0\0\x02\x16WebGPUStencilOperation(__widl_instanceof_WebGPUStencilOperation\0\0\0\x02\rWebGPUStoreOp\x1F__widl_instanceof_WebGPUStoreOp\0\0\0\x02\x0FWebGPUSwapChain!__widl_instanceof_WebGPUSwapChain\0\0\0\0\"__widl_f_configure_WebGPUSwapChain\0\0\x01\x0FWebGPUSwapChain\x01\0\0\x01\tconfigure\0\0\02__widl_f_configure_with_descriptor_WebGPUSwapChain\0\0\x01\x0FWebGPUSwapChain\x01\0\0\x01\tconfigure\0\0\0)__widl_f_get_next_texture_WebGPUSwapChain\0\0\x01\x0FWebGPUSwapChain\x01\0\0\x01\x0EgetNextTexture\0\0\0 __widl_f_present_WebGPUSwapChain\0\0\x01\x0FWebGPUSwapChain\x01\0\0\x01\x07present\0\0\x02\rWebGPUTexture\x1F__widl_instanceof_WebGPUTexture\0\0\0\0*__widl_f_create_texture_view_WebGPUTexture\0\0\x01\rWebGPUTexture\x01\0\0\x01\x11createTextureView\0\0\04__widl_f_create_texture_view_with_desc_WebGPUTexture\0\0\x01\rWebGPUTexture\x01\0\0\x01\x11createTextureView\0\0\x02\x16WebGPUTextureDimension(__widl_instanceof_WebGPUTextureDimension\0\0\0\x02\x13WebGPUTextureFormat%__widl_instanceof_WebGPUTextureFormat\0\0\0\x02\x12WebGPUTextureUsage$__widl_instanceof_WebGPUTextureUsage\0\0\0\x02\x11WebGPUTextureView#__widl_instanceof_WebGPUTextureView\0\0\0\x02\x12WebGPUVertexFormat$__widl_instanceof_WebGPUVertexFormat\0\0\0\x02\x0FWebKitCSSMatrix!__widl_instanceof_WebKitCSSMatrix\0\0\0\0\x1C__widl_f_new_WebKitCSSMatrix\x01\0\x01\x0FWebKitCSSMatrix\0\x01\x03new\0\0\00__widl_f_new_with_transform_list_WebKitCSSMatrix\x01\0\x01\x0FWebKitCSSMatrix\0\x01\x03new\0\0\0'__widl_f_new_with_other_WebKitCSSMatrix\x01\0\x01\x0FWebKitCSSMatrix\0\x01\x03new\0\0\0 __widl_f_inverse_WebKitCSSMatrix\x01\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x07inverse\0\0\0!__widl_f_multiply_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x08multiply\0\0\0\x1F__widl_f_rotate_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x06rotate\0\0\0*__widl_f_rotate_with_rot_x_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x06rotate\0\0\04__widl_f_rotate_with_rot_x_and_rot_y_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x06rotate\0\0\0>__widl_f_rotate_with_rot_x_and_rot_y_and_rot_z_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x06rotate\0\0\0*__widl_f_rotate_axis_angle_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x0FrotateAxisAngle\0\0\01__widl_f_rotate_axis_angle_with_x_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x0FrotateAxisAngle\0\0\07__widl_f_rotate_axis_angle_with_x_and_y_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x0FrotateAxisAngle\0\0\0=__widl_f_rotate_axis_angle_with_x_and_y_and_z_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x0FrotateAxisAngle\0\0\0G__widl_f_rotate_axis_angle_with_x_and_y_and_z_and_angle_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x0FrotateAxisAngle\0\0\0\x1E__widl_f_scale_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x05scale\0\0\0+__widl_f_scale_with_scale_x_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x05scale\0\0\07__widl_f_scale_with_scale_x_and_scale_y_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x05scale\0\0\0C__widl_f_scale_with_scale_x_and_scale_y_and_scale_z_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x05scale\0\0\0)__widl_f_set_matrix_value_WebKitCSSMatrix\x01\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x0EsetMatrixValue\0\0\0\x1F__widl_f_skew_x_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x05skewX\0\0\0'__widl_f_skew_x_with_sx_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x05skewX\0\0\0\x1F__widl_f_skew_y_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x05skewY\0\0\0'__widl_f_skew_y_with_sy_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\x05skewY\0\0\0\"__widl_f_translate_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\ttranslate\0\0\0*__widl_f_translate_with_tx_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\ttranslate\0\0\01__widl_f_translate_with_tx_and_ty_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\ttranslate\0\0\08__widl_f_translate_with_tx_and_ty_and_tz_WebKitCSSMatrix\0\0\x01\x0FWebKitCSSMatrix\x01\0\0\x01\ttranslate\0\0\x02\tWebSocket\x1B__widl_instanceof_WebSocket\0\0\0\0\x16__widl_f_new_WebSocket\x01\0\x01\tWebSocket\0\x01\x03new\0\0\0\x1F__widl_f_new_with_str_WebSocket\x01\0\x01\tWebSocket\0\x01\x03new\0\0\0\x18__widl_f_close_WebSocket\x01\0\x01\tWebSocket\x01\0\0\x01\x05close\0\0\0\"__widl_f_close_with_code_WebSocket\x01\0\x01\tWebSocket\x01\0\0\x01\x05close\0\0\0-__widl_f_close_with_code_and_reason_WebSocket\x01\0\x01\tWebSocket\x01\0\0\x01\x05close\0\0\0 __widl_f_send_with_str_WebSocket\x01\0\x01\tWebSocket\x01\0\0\x01\x04send\0\0\0!__widl_f_send_with_blob_WebSocket\x01\0\x01\tWebSocket\x01\0\0\x01\x04send\0\0\0)__widl_f_send_with_array_buffer_WebSocket\x01\0\x01\tWebSocket\x01\0\0\x01\x04send\0\0\0.__widl_f_send_with_array_buffer_view_WebSocket\x01\0\x01\tWebSocket\x01\0\0\x01\x04send\0\0\0%__widl_f_send_with_u8_array_WebSocket\x01\0\x01\tWebSocket\x01\0\0\x01\x04send\0\0\0\x16__widl_f_url_WebSocket\0\0\x01\tWebSocket\x01\0\x01\x03url\x01\x03url\0\0\0\x1E__widl_f_ready_state_WebSocket\0\0\x01\tWebSocket\x01\0\x01\nreadyState\x01\nreadyState\0\0\0\"__widl_f_buffered_amount_WebSocket\0\0\x01\tWebSocket\x01\0\x01\x0EbufferedAmount\x01\x0EbufferedAmount\0\0\0\x19__widl_f_onopen_WebSocket\0\0\x01\tWebSocket\x01\0\x01\x06onopen\x01\x06onopen\0\0\0\x1D__widl_f_set_onopen_WebSocket\0\0\x01\tWebSocket\x01\0\x02\x06onopen\x01\x06onopen\0\0\0\x1A__widl_f_onerror_WebSocket\0\0\x01\tWebSocket\x01\0\x01\x07onerror\x01\x07onerror\0\0\0\x1E__widl_f_set_onerror_WebSocket\0\0\x01\tWebSocket\x01\0\x02\x07onerror\x01\x07onerror\0\0\0\x1A__widl_f_onclose_WebSocket\0\0\x01\tWebSocket\x01\0\x01\x07onclose\x01\x07onclose\0\0\0\x1E__widl_f_set_onclose_WebSocket\0\0\x01\tWebSocket\x01\0\x02\x07onclose\x01\x07onclose\0\0\0\x1D__widl_f_extensions_WebSocket\0\0\x01\tWebSocket\x01\0\x01\nextensions\x01\nextensions\0\0\0\x1B__widl_f_protocol_WebSocket\0\0\x01\tWebSocket\x01\0\x01\x08protocol\x01\x08protocol\0\0\0\x1C__widl_f_onmessage_WebSocket\0\0\x01\tWebSocket\x01\0\x01\tonmessage\x01\tonmessage\0\0\0 __widl_f_set_onmessage_WebSocket\0\0\x01\tWebSocket\x01\0\x02\tonmessage\x01\tonmessage\0\0\0\x1E__widl_f_binary_type_WebSocket\0\0\x01\tWebSocket\x01\0\x01\nbinaryType\x01\nbinaryType\0\0\0\"__widl_f_set_binary_type_WebSocket\0\0\x01\tWebSocket\x01\0\x02\nbinaryType\x01\nbinaryType\0\0\x02\nWheelEvent\x1C__widl_instanceof_WheelEvent\0\0\0\0\x17__widl_f_new_WheelEvent\x01\0\x01\nWheelEvent\0\x01\x03new\0\0\0,__widl_f_new_with_event_init_dict_WheelEvent\x01\0\x01\nWheelEvent\0\x01\x03new\0\0\0\x1B__widl_f_delta_x_WheelEvent\0\0\x01\nWheelEvent\x01\0\x01\x06deltaX\x01\x06deltaX\0\0\0\x1B__widl_f_delta_y_WheelEvent\0\0\x01\nWheelEvent\x01\0\x01\x06deltaY\x01\x06deltaY\0\0\0\x1B__widl_f_delta_z_WheelEvent\0\0\x01\nWheelEvent\x01\0\x01\x06deltaZ\x01\x06deltaZ\0\0\0\x1E__widl_f_delta_mode_WheelEvent\0\0\x01\nWheelEvent\x01\0\x01\tdeltaMode\x01\tdeltaMode\0\0\x02\x06Window\x18__widl_instanceof_Window\0\0\0\0\x15__widl_f_alert_Window\x01\0\x01\x06Window\x01\0\0\x01\x05alert\0\0\0\"__widl_f_alert_with_message_Window\x01\0\x01\x06Window\x01\0\0\x01\x05alert\0\0\0\x14__widl_f_blur_Window\x01\0\x01\x06Window\x01\0\0\x01\x04blur\0\0\0&__widl_f_cancel_animation_frame_Window\x01\0\x01\x06Window\x01\0\0\x01\x14cancelAnimationFrame\0\0\0$__widl_f_cancel_idle_callback_Window\0\0\x01\x06Window\x01\0\0\x01\x12cancelIdleCallback\0\0\0\x1E__widl_f_capture_events_Window\0\0\x01\x06Window\x01\0\0\x01\rcaptureEvents\0\0\0\x15__widl_f_close_Window\x01\0\x01\x06Window\x01\0\0\x01\x05close\0\0\0\x17__widl_f_confirm_Window\x01\0\x01\x06Window\x01\0\0\x01\x07confirm\0\0\0$__widl_f_confirm_with_message_Window\x01\0\x01\x06Window\x01\0\0\x01\x07confirm\0\0\0\x15__widl_f_focus_Window\x01\0\x01\x06Window\x01\0\0\x01\x05focus\0\0\0\"__widl_f_get_computed_style_Window\x01\0\x01\x06Window\x01\0\0\x01\x10getComputedStyle\0\0\02__widl_f_get_computed_style_with_pseudo_elt_Window\x01\0\x01\x06Window\x01\0\0\x01\x10getComputedStyle\0\0\0\x1D__widl_f_get_selection_Window\x01\0\x01\x06Window\x01\0\0\x01\x0CgetSelection\0\0\0\x1B__widl_f_match_media_Window\x01\0\x01\x06Window\x01\0\0\x01\nmatchMedia\0\0\0\x17__widl_f_move_by_Window\x01\0\x01\x06Window\x01\0\0\x01\x06moveBy\0\0\0\x17__widl_f_move_to_Window\x01\0\x01\x06Window\x01\0\0\x01\x06moveTo\0\0\0\x14__widl_f_open_Window\x01\0\x01\x06Window\x01\0\0\x01\x04open\0\0\0\x1D__widl_f_open_with_url_Window\x01\0\x01\x06Window\x01\0\0\x01\x04open\0\0\0(__widl_f_open_with_url_and_target_Window\x01\0\x01\x06Window\x01\0\0\x01\x04open\0\0\05__widl_f_open_with_url_and_target_and_features_Window\x01\0\x01\x06Window\x01\0\0\x01\x04open\0\0\0\x1C__widl_f_post_message_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BpostMessage\0\0\0\x15__widl_f_print_Window\x01\0\x01\x06Window\x01\0\0\x01\x05print\0\0\0\x16__widl_f_prompt_Window\x01\0\x01\x06Window\x01\0\0\x01\x06prompt\0\0\0#__widl_f_prompt_with_message_Window\x01\0\x01\x06Window\x01\0\0\x01\x06prompt\0\0\0/__widl_f_prompt_with_message_and_default_Window\x01\0\x01\x06Window\x01\0\0\x01\x06prompt\0\0\0\x1E__widl_f_release_events_Window\0\0\x01\x06Window\x01\0\0\x01\rreleaseEvents\0\0\0'__widl_f_request_animation_frame_Window\x01\0\x01\x06Window\x01\0\0\x01\x15requestAnimationFrame\0\0\0%__widl_f_request_idle_callback_Window\x01\0\x01\x06Window\x01\0\0\x01\x13requestIdleCallback\0\0\02__widl_f_request_idle_callback_with_options_Window\x01\0\x01\x06Window\x01\0\0\x01\x13requestIdleCallback\0\0\0\x19__widl_f_resize_by_Window\x01\0\x01\x06Window\x01\0\0\x01\x08resizeBy\0\0\0\x19__widl_f_resize_to_Window\x01\0\x01\x06Window\x01\0\0\x01\x08resizeTo\0\0\0#__widl_f_scroll_with_x_and_y_Window\0\0\x01\x06Window\x01\0\0\x01\x06scroll\0\0\0\x16__widl_f_scroll_Window\0\0\x01\x06Window\x01\0\0\x01\x06scroll\0\0\0-__widl_f_scroll_with_scroll_to_options_Window\0\0\x01\x06Window\x01\0\0\x01\x06scroll\0\0\0&__widl_f_scroll_by_with_x_and_y_Window\0\0\x01\x06Window\x01\0\0\x01\x08scrollBy\0\0\0\x19__widl_f_scroll_by_Window\0\0\x01\x06Window\x01\0\0\x01\x08scrollBy\0\0\00__widl_f_scroll_by_with_scroll_to_options_Window\0\0\x01\x06Window\x01\0\0\x01\x08scrollBy\0\0\0&__widl_f_scroll_to_with_x_and_y_Window\0\0\x01\x06Window\x01\0\0\x01\x08scrollTo\0\0\0\x19__widl_f_scroll_to_Window\0\0\x01\x06Window\x01\0\0\x01\x08scrollTo\0\0\00__widl_f_scroll_to_with_scroll_to_options_Window\0\0\x01\x06Window\x01\0\0\x01\x08scrollTo\0\0\0\x14__widl_f_stop_Window\x01\0\x01\x06Window\x01\0\0\x01\x04stop\0\0\0\x13__widl_f_get_Window\0\0\x01\x06Window\x01\0\x03\x01\x03get\0\0\0\x16__widl_f_window_Window\0\0\x01\x06Window\x01\0\x01\x06window\x01\x06window\0\0\0\x14__widl_f_self_Window\0\0\x01\x06Window\x01\0\x01\x04self\x01\x04self\0\0\0\x18__widl_f_document_Window\0\0\x01\x06Window\x01\0\x01\x08document\x01\x08document\0\0\0\x14__widl_f_name_Window\x01\0\x01\x06Window\x01\0\x01\x04name\x01\x04name\0\0\0\x18__widl_f_set_name_Window\x01\0\x01\x06Window\x01\0\x02\x04name\x01\x04name\0\0\0\x18__widl_f_location_Window\0\0\x01\x06Window\x01\0\x01\x08location\x01\x08location\0\0\0\x17__widl_f_history_Window\x01\0\x01\x06Window\x01\0\x01\x07history\x01\x07history\0\0\0\x1F__widl_f_custom_elements_Window\0\0\x01\x06Window\x01\0\x01\x0EcustomElements\x01\x0EcustomElements\0\0\0\x1B__widl_f_locationbar_Window\x01\0\x01\x06Window\x01\0\x01\x0Blocationbar\x01\x0Blocationbar\0\0\0\x17__widl_f_menubar_Window\x01\0\x01\x06Window\x01\0\x01\x07menubar\x01\x07menubar\0\0\0\x1B__widl_f_personalbar_Window\x01\0\x01\x06Window\x01\0\x01\x0Bpersonalbar\x01\x0Bpersonalbar\0\0\0\x1A__widl_f_scrollbars_Window\x01\0\x01\x06Window\x01\0\x01\nscrollbars\x01\nscrollbars\0\0\0\x19__widl_f_statusbar_Window\x01\0\x01\x06Window\x01\0\x01\tstatusbar\x01\tstatusbar\0\0\0\x17__widl_f_toolbar_Window\x01\0\x01\x06Window\x01\0\x01\x07toolbar\x01\x07toolbar\0\0\0\x16__widl_f_status_Window\x01\0\x01\x06Window\x01\0\x01\x06status\x01\x06status\0\0\0\x1A__widl_f_set_status_Window\x01\0\x01\x06Window\x01\0\x02\x06status\x01\x06status\0\0\0\x16__widl_f_closed_Window\x01\0\x01\x06Window\x01\0\x01\x06closed\x01\x06closed\0\0\0\x15__widl_f_event_Window\0\0\x01\x06Window\x01\0\x01\x05event\x01\x05event\0\0\0\x16__widl_f_frames_Window\x01\0\x01\x06Window\x01\0\x01\x06frames\x01\x06frames\0\0\0\x16__widl_f_length_Window\0\0\x01\x06Window\x01\0\x01\x06length\x01\x06length\0\0\0\x13__widl_f_top_Window\x01\0\x01\x06Window\x01\0\x01\x03top\x01\x03top\0\0\0\x16__widl_f_opener_Window\x01\0\x01\x06Window\x01\0\x01\x06opener\x01\x06opener\0\0\0\x1A__widl_f_set_opener_Window\x01\0\x01\x06Window\x01\0\x02\x06opener\x01\x06opener\0\0\0\x16__widl_f_parent_Window\x01\0\x01\x06Window\x01\0\x01\x06parent\x01\x06parent\0\0\0\x1D__widl_f_frame_element_Window\x01\0\x01\x06Window\x01\0\x01\x0CframeElement\x01\x0CframeElement\0\0\0\x19__widl_f_navigator_Window\0\0\x01\x06Window\x01\0\x01\tnavigator\x01\tnavigator\0\0\0\x1E__widl_f_onappinstalled_Window\0\0\x01\x06Window\x01\0\x01\x0Eonappinstalled\x01\x0Eonappinstalled\0\0\0\"__widl_f_set_onappinstalled_Window\0\0\x01\x06Window\x01\0\x02\x0Eonappinstalled\x01\x0Eonappinstalled\0\0\0\x16__widl_f_screen_Window\x01\0\x01\x06Window\x01\0\x01\x06screen\x01\x06screen\0\0\0\x1B__widl_f_inner_width_Window\x01\0\x01\x06Window\x01\0\x01\ninnerWidth\x01\ninnerWidth\0\0\0\x1F__widl_f_set_inner_width_Window\x01\0\x01\x06Window\x01\0\x02\ninnerWidth\x01\ninnerWidth\0\0\0\x1C__widl_f_inner_height_Window\x01\0\x01\x06Window\x01\0\x01\x0BinnerHeight\x01\x0BinnerHeight\0\0\0 __widl_f_set_inner_height_Window\x01\0\x01\x06Window\x01\0\x02\x0BinnerHeight\x01\x0BinnerHeight\0\0\0\x18__widl_f_scroll_x_Window\x01\0\x01\x06Window\x01\0\x01\x07scrollX\x01\x07scrollX\0\0\0\x1D__widl_f_page_x_offset_Window\x01\0\x01\x06Window\x01\0\x01\x0BpageXOffset\x01\x0BpageXOffset\0\0\0\x18__widl_f_scroll_y_Window\x01\0\x01\x06Window\x01\0\x01\x07scrollY\x01\x07scrollY\0\0\0\x1D__widl_f_page_y_offset_Window\x01\0\x01\x06Window\x01\0\x01\x0BpageYOffset\x01\x0BpageYOffset\0\0\0\x18__widl_f_screen_x_Window\x01\0\x01\x06Window\x01\0\x01\x07screenX\x01\x07screenX\0\0\0\x1C__widl_f_set_screen_x_Window\x01\0\x01\x06Window\x01\0\x02\x07screenX\x01\x07screenX\0\0\0\x18__widl_f_screen_y_Window\x01\0\x01\x06Window\x01\0\x01\x07screenY\x01\x07screenY\0\0\0\x1C__widl_f_set_screen_y_Window\x01\0\x01\x06Window\x01\0\x02\x07screenY\x01\x07screenY\0\0\0\x1B__widl_f_outer_width_Window\x01\0\x01\x06Window\x01\0\x01\nouterWidth\x01\nouterWidth\0\0\0\x1F__widl_f_set_outer_width_Window\x01\0\x01\x06Window\x01\0\x02\nouterWidth\x01\nouterWidth\0\0\0\x1C__widl_f_outer_height_Window\x01\0\x01\x06Window\x01\0\x01\x0BouterHeight\x01\x0BouterHeight\0\0\0 __widl_f_set_outer_height_Window\x01\0\x01\x06Window\x01\0\x02\x0BouterHeight\x01\x0BouterHeight\0\0\0\"__widl_f_device_pixel_ratio_Window\0\0\x01\x06Window\x01\0\x01\x10devicePixelRatio\x01\x10devicePixelRatio\0\0\0\x1B__widl_f_performance_Window\0\0\x01\x06Window\x01\0\x01\x0Bperformance\x01\x0Bperformance\0\0\0\x1B__widl_f_orientation_Window\0\0\x01\x06Window\x01\0\x01\x0Borientation\x01\x0Borientation\0\0\0#__widl_f_onorientationchange_Window\0\0\x01\x06Window\x01\0\x01\x13onorientationchange\x01\x13onorientationchange\0\0\0'__widl_f_set_onorientationchange_Window\0\0\x01\x06Window\x01\0\x02\x13onorientationchange\x01\x13onorientationchange\0\0\0\"__widl_f_onvrdisplayconnect_Window\0\0\x01\x06Window\x01\0\x01\x12onvrdisplayconnect\x01\x12onvrdisplayconnect\0\0\0&__widl_f_set_onvrdisplayconnect_Window\0\0\x01\x06Window\x01\0\x02\x12onvrdisplayconnect\x01\x12onvrdisplayconnect\0\0\0%__widl_f_onvrdisplaydisconnect_Window\0\0\x01\x06Window\x01\0\x01\x15onvrdisplaydisconnect\x01\x15onvrdisplaydisconnect\0\0\0)__widl_f_set_onvrdisplaydisconnect_Window\0\0\x01\x06Window\x01\0\x02\x15onvrdisplaydisconnect\x01\x15onvrdisplaydisconnect\0\0\0#__widl_f_onvrdisplayactivate_Window\0\0\x01\x06Window\x01\0\x01\x13onvrdisplayactivate\x01\x13onvrdisplayactivate\0\0\0'__widl_f_set_onvrdisplayactivate_Window\0\0\x01\x06Window\x01\0\x02\x13onvrdisplayactivate\x01\x13onvrdisplayactivate\0\0\0%__widl_f_onvrdisplaydeactivate_Window\0\0\x01\x06Window\x01\0\x01\x15onvrdisplaydeactivate\x01\x15onvrdisplaydeactivate\0\0\0)__widl_f_set_onvrdisplaydeactivate_Window\0\0\x01\x06Window\x01\0\x02\x15onvrdisplaydeactivate\x01\x15onvrdisplaydeactivate\0\0\0(__widl_f_onvrdisplaypresentchange_Window\0\0\x01\x06Window\x01\0\x01\x18onvrdisplaypresentchange\x01\x18onvrdisplaypresentchange\0\0\0,__widl_f_set_onvrdisplaypresentchange_Window\0\0\x01\x06Window\x01\0\x02\x18onvrdisplaypresentchange\x01\x18onvrdisplaypresentchange\0\0\0\x1D__widl_f_paint_worklet_Window\x01\0\x01\x06Window\x01\0\x01\x0CpaintWorklet\x01\x0CpaintWorklet\0\0\0\x16__widl_f_crypto_Window\x01\0\x01\x06Window\x01\0\x01\x06crypto\x01\x06crypto\0\0\0\x17__widl_f_onabort_Window\0\0\x01\x06Window\x01\0\x01\x07onabort\x01\x07onabort\0\0\0\x1B__widl_f_set_onabort_Window\0\0\x01\x06Window\x01\0\x02\x07onabort\x01\x07onabort\0\0\0\x16__widl_f_onblur_Window\0\0\x01\x06Window\x01\0\x01\x06onblur\x01\x06onblur\0\0\0\x1A__widl_f_set_onblur_Window\0\0\x01\x06Window\x01\0\x02\x06onblur\x01\x06onblur\0\0\0\x17__widl_f_onfocus_Window\0\0\x01\x06Window\x01\0\x01\x07onfocus\x01\x07onfocus\0\0\0\x1B__widl_f_set_onfocus_Window\0\0\x01\x06Window\x01\0\x02\x07onfocus\x01\x07onfocus\0\0\0\x1A__widl_f_onauxclick_Window\0\0\x01\x06Window\x01\0\x01\nonauxclick\x01\nonauxclick\0\0\0\x1E__widl_f_set_onauxclick_Window\0\0\x01\x06Window\x01\0\x02\nonauxclick\x01\nonauxclick\0\0\0\x19__widl_f_oncanplay_Window\0\0\x01\x06Window\x01\0\x01\toncanplay\x01\toncanplay\0\0\0\x1D__widl_f_set_oncanplay_Window\0\0\x01\x06Window\x01\0\x02\toncanplay\x01\toncanplay\0\0\0 __widl_f_oncanplaythrough_Window\0\0\x01\x06Window\x01\0\x01\x10oncanplaythrough\x01\x10oncanplaythrough\0\0\0$__widl_f_set_oncanplaythrough_Window\0\0\x01\x06Window\x01\0\x02\x10oncanplaythrough\x01\x10oncanplaythrough\0\0\0\x18__widl_f_onchange_Window\0\0\x01\x06Window\x01\0\x01\x08onchange\x01\x08onchange\0\0\0\x1C__widl_f_set_onchange_Window\0\0\x01\x06Window\x01\0\x02\x08onchange\x01\x08onchange\0\0\0\x17__widl_f_onclick_Window\0\0\x01\x06Window\x01\0\x01\x07onclick\x01\x07onclick\0\0\0\x1B__widl_f_set_onclick_Window\0\0\x01\x06Window\x01\0\x02\x07onclick\x01\x07onclick\0\0\0\x17__widl_f_onclose_Window\0\0\x01\x06Window\x01\0\x01\x07onclose\x01\x07onclose\0\0\0\x1B__widl_f_set_onclose_Window\0\0\x01\x06Window\x01\0\x02\x07onclose\x01\x07onclose\0\0\0\x1D__widl_f_oncontextmenu_Window\0\0\x01\x06Window\x01\0\x01\roncontextmenu\x01\roncontextmenu\0\0\0!__widl_f_set_oncontextmenu_Window\0\0\x01\x06Window\x01\0\x02\roncontextmenu\x01\roncontextmenu\0\0\0\x1A__widl_f_ondblclick_Window\0\0\x01\x06Window\x01\0\x01\nondblclick\x01\nondblclick\0\0\0\x1E__widl_f_set_ondblclick_Window\0\0\x01\x06Window\x01\0\x02\nondblclick\x01\nondblclick\0\0\0\x16__widl_f_ondrag_Window\0\0\x01\x06Window\x01\0\x01\x06ondrag\x01\x06ondrag\0\0\0\x1A__widl_f_set_ondrag_Window\0\0\x01\x06Window\x01\0\x02\x06ondrag\x01\x06ondrag\0\0\0\x19__widl_f_ondragend_Window\0\0\x01\x06Window\x01\0\x01\tondragend\x01\tondragend\0\0\0\x1D__widl_f_set_ondragend_Window\0\0\x01\x06Window\x01\0\x02\tondragend\x01\tondragend\0\0\0\x1B__widl_f_ondragenter_Window\0\0\x01\x06Window\x01\0\x01\x0Bondragenter\x01\x0Bondragenter\0\0\0\x1F__widl_f_set_ondragenter_Window\0\0\x01\x06Window\x01\0\x02\x0Bondragenter\x01\x0Bondragenter\0\0\0\x1A__widl_f_ondragexit_Window\0\0\x01\x06Window\x01\0\x01\nondragexit\x01\nondragexit\0\0\0\x1E__widl_f_set_ondragexit_Window\0\0\x01\x06Window\x01\0\x02\nondragexit\x01\nondragexit\0\0\0\x1B__widl_f_ondragleave_Window\0\0\x01\x06Window\x01\0\x01\x0Bondragleave\x01\x0Bondragleave\0\0\0\x1F__widl_f_set_ondragleave_Window\0\0\x01\x06Window\x01\0\x02\x0Bondragleave\x01\x0Bondragleave\0\0\0\x1A__widl_f_ondragover_Window\0\0\x01\x06Window\x01\0\x01\nondragover\x01\nondragover\0\0\0\x1E__widl_f_set_ondragover_Window\0\0\x01\x06Window\x01\0\x02\nondragover\x01\nondragover\0\0\0\x1B__widl_f_ondragstart_Window\0\0\x01\x06Window\x01\0\x01\x0Bondragstart\x01\x0Bondragstart\0\0\0\x1F__widl_f_set_ondragstart_Window\0\0\x01\x06Window\x01\0\x02\x0Bondragstart\x01\x0Bondragstart\0\0\0\x16__widl_f_ondrop_Window\0\0\x01\x06Window\x01\0\x01\x06ondrop\x01\x06ondrop\0\0\0\x1A__widl_f_set_ondrop_Window\0\0\x01\x06Window\x01\0\x02\x06ondrop\x01\x06ondrop\0\0\0 __widl_f_ondurationchange_Window\0\0\x01\x06Window\x01\0\x01\x10ondurationchange\x01\x10ondurationchange\0\0\0$__widl_f_set_ondurationchange_Window\0\0\x01\x06Window\x01\0\x02\x10ondurationchange\x01\x10ondurationchange\0\0\0\x19__widl_f_onemptied_Window\0\0\x01\x06Window\x01\0\x01\tonemptied\x01\tonemptied\0\0\0\x1D__widl_f_set_onemptied_Window\0\0\x01\x06Window\x01\0\x02\tonemptied\x01\tonemptied\0\0\0\x17__widl_f_onended_Window\0\0\x01\x06Window\x01\0\x01\x07onended\x01\x07onended\0\0\0\x1B__widl_f_set_onended_Window\0\0\x01\x06Window\x01\0\x02\x07onended\x01\x07onended\0\0\0\x17__widl_f_oninput_Window\0\0\x01\x06Window\x01\0\x01\x07oninput\x01\x07oninput\0\0\0\x1B__widl_f_set_oninput_Window\0\0\x01\x06Window\x01\0\x02\x07oninput\x01\x07oninput\0\0\0\x19__widl_f_oninvalid_Window\0\0\x01\x06Window\x01\0\x01\toninvalid\x01\toninvalid\0\0\0\x1D__widl_f_set_oninvalid_Window\0\0\x01\x06Window\x01\0\x02\toninvalid\x01\toninvalid\0\0\0\x19__widl_f_onkeydown_Window\0\0\x01\x06Window\x01\0\x01\tonkeydown\x01\tonkeydown\0\0\0\x1D__widl_f_set_onkeydown_Window\0\0\x01\x06Window\x01\0\x02\tonkeydown\x01\tonkeydown\0\0\0\x1A__widl_f_onkeypress_Window\0\0\x01\x06Window\x01\0\x01\nonkeypress\x01\nonkeypress\0\0\0\x1E__widl_f_set_onkeypress_Window\0\0\x01\x06Window\x01\0\x02\nonkeypress\x01\nonkeypress\0\0\0\x17__widl_f_onkeyup_Window\0\0\x01\x06Window\x01\0\x01\x07onkeyup\x01\x07onkeyup\0\0\0\x1B__widl_f_set_onkeyup_Window\0\0\x01\x06Window\x01\0\x02\x07onkeyup\x01\x07onkeyup\0\0\0\x16__widl_f_onload_Window\0\0\x01\x06Window\x01\0\x01\x06onload\x01\x06onload\0\0\0\x1A__widl_f_set_onload_Window\0\0\x01\x06Window\x01\0\x02\x06onload\x01\x06onload\0\0\0\x1C__widl_f_onloadeddata_Window\0\0\x01\x06Window\x01\0\x01\x0Conloadeddata\x01\x0Conloadeddata\0\0\0 __widl_f_set_onloadeddata_Window\0\0\x01\x06Window\x01\0\x02\x0Conloadeddata\x01\x0Conloadeddata\0\0\0 __widl_f_onloadedmetadata_Window\0\0\x01\x06Window\x01\0\x01\x10onloadedmetadata\x01\x10onloadedmetadata\0\0\0$__widl_f_set_onloadedmetadata_Window\0\0\x01\x06Window\x01\0\x02\x10onloadedmetadata\x01\x10onloadedmetadata\0\0\0\x19__widl_f_onloadend_Window\0\0\x01\x06Window\x01\0\x01\tonloadend\x01\tonloadend\0\0\0\x1D__widl_f_set_onloadend_Window\0\0\x01\x06Window\x01\0\x02\tonloadend\x01\tonloadend\0\0\0\x1B__widl_f_onloadstart_Window\0\0\x01\x06Window\x01\0\x01\x0Bonloadstart\x01\x0Bonloadstart\0\0\0\x1F__widl_f_set_onloadstart_Window\0\0\x01\x06Window\x01\0\x02\x0Bonloadstart\x01\x0Bonloadstart\0\0\0\x1B__widl_f_onmousedown_Window\0\0\x01\x06Window\x01\0\x01\x0Bonmousedown\x01\x0Bonmousedown\0\0\0\x1F__widl_f_set_onmousedown_Window\0\0\x01\x06Window\x01\0\x02\x0Bonmousedown\x01\x0Bonmousedown\0\0\0\x1C__widl_f_onmouseenter_Window\0\0\x01\x06Window\x01\0\x01\x0Conmouseenter\x01\x0Conmouseenter\0\0\0 __widl_f_set_onmouseenter_Window\0\0\x01\x06Window\x01\0\x02\x0Conmouseenter\x01\x0Conmouseenter\0\0\0\x1C__widl_f_onmouseleave_Window\0\0\x01\x06Window\x01\0\x01\x0Conmouseleave\x01\x0Conmouseleave\0\0\0 __widl_f_set_onmouseleave_Window\0\0\x01\x06Window\x01\0\x02\x0Conmouseleave\x01\x0Conmouseleave\0\0\0\x1B__widl_f_onmousemove_Window\0\0\x01\x06Window\x01\0\x01\x0Bonmousemove\x01\x0Bonmousemove\0\0\0\x1F__widl_f_set_onmousemove_Window\0\0\x01\x06Window\x01\0\x02\x0Bonmousemove\x01\x0Bonmousemove\0\0\0\x1A__widl_f_onmouseout_Window\0\0\x01\x06Window\x01\0\x01\nonmouseout\x01\nonmouseout\0\0\0\x1E__widl_f_set_onmouseout_Window\0\0\x01\x06Window\x01\0\x02\nonmouseout\x01\nonmouseout\0\0\0\x1B__widl_f_onmouseover_Window\0\0\x01\x06Window\x01\0\x01\x0Bonmouseover\x01\x0Bonmouseover\0\0\0\x1F__widl_f_set_onmouseover_Window\0\0\x01\x06Window\x01\0\x02\x0Bonmouseover\x01\x0Bonmouseover\0\0\0\x19__widl_f_onmouseup_Window\0\0\x01\x06Window\x01\0\x01\tonmouseup\x01\tonmouseup\0\0\0\x1D__widl_f_set_onmouseup_Window\0\0\x01\x06Window\x01\0\x02\tonmouseup\x01\tonmouseup\0\0\0\x17__widl_f_onwheel_Window\0\0\x01\x06Window\x01\0\x01\x07onwheel\x01\x07onwheel\0\0\0\x1B__widl_f_set_onwheel_Window\0\0\x01\x06Window\x01\0\x02\x07onwheel\x01\x07onwheel\0\0\0\x17__widl_f_onpause_Window\0\0\x01\x06Window\x01\0\x01\x07onpause\x01\x07onpause\0\0\0\x1B__widl_f_set_onpause_Window\0\0\x01\x06Window\x01\0\x02\x07onpause\x01\x07onpause\0\0\0\x16__widl_f_onplay_Window\0\0\x01\x06Window\x01\0\x01\x06onplay\x01\x06onplay\0\0\0\x1A__widl_f_set_onplay_Window\0\0\x01\x06Window\x01\0\x02\x06onplay\x01\x06onplay\0\0\0\x19__widl_f_onplaying_Window\0\0\x01\x06Window\x01\0\x01\tonplaying\x01\tonplaying\0\0\0\x1D__widl_f_set_onplaying_Window\0\0\x01\x06Window\x01\0\x02\tonplaying\x01\tonplaying\0\0\0\x1A__widl_f_onprogress_Window\0\0\x01\x06Window\x01\0\x01\nonprogress\x01\nonprogress\0\0\0\x1E__widl_f_set_onprogress_Window\0\0\x01\x06Window\x01\0\x02\nonprogress\x01\nonprogress\0\0\0\x1C__widl_f_onratechange_Window\0\0\x01\x06Window\x01\0\x01\x0Conratechange\x01\x0Conratechange\0\0\0 __widl_f_set_onratechange_Window\0\0\x01\x06Window\x01\0\x02\x0Conratechange\x01\x0Conratechange\0\0\0\x17__widl_f_onreset_Window\0\0\x01\x06Window\x01\0\x01\x07onreset\x01\x07onreset\0\0\0\x1B__widl_f_set_onreset_Window\0\0\x01\x06Window\x01\0\x02\x07onreset\x01\x07onreset\0\0\0\x18__widl_f_onresize_Window\0\0\x01\x06Window\x01\0\x01\x08onresize\x01\x08onresize\0\0\0\x1C__widl_f_set_onresize_Window\0\0\x01\x06Window\x01\0\x02\x08onresize\x01\x08onresize\0\0\0\x18__widl_f_onscroll_Window\0\0\x01\x06Window\x01\0\x01\x08onscroll\x01\x08onscroll\0\0\0\x1C__widl_f_set_onscroll_Window\0\0\x01\x06Window\x01\0\x02\x08onscroll\x01\x08onscroll\0\0\0\x18__widl_f_onseeked_Window\0\0\x01\x06Window\x01\0\x01\x08onseeked\x01\x08onseeked\0\0\0\x1C__widl_f_set_onseeked_Window\0\0\x01\x06Window\x01\0\x02\x08onseeked\x01\x08onseeked\0\0\0\x19__widl_f_onseeking_Window\0\0\x01\x06Window\x01\0\x01\tonseeking\x01\tonseeking\0\0\0\x1D__widl_f_set_onseeking_Window\0\0\x01\x06Window\x01\0\x02\tonseeking\x01\tonseeking\0\0\0\x18__widl_f_onselect_Window\0\0\x01\x06Window\x01\0\x01\x08onselect\x01\x08onselect\0\0\0\x1C__widl_f_set_onselect_Window\0\0\x01\x06Window\x01\0\x02\x08onselect\x01\x08onselect\0\0\0\x16__widl_f_onshow_Window\0\0\x01\x06Window\x01\0\x01\x06onshow\x01\x06onshow\0\0\0\x1A__widl_f_set_onshow_Window\0\0\x01\x06Window\x01\0\x02\x06onshow\x01\x06onshow\0\0\0\x19__widl_f_onstalled_Window\0\0\x01\x06Window\x01\0\x01\tonstalled\x01\tonstalled\0\0\0\x1D__widl_f_set_onstalled_Window\0\0\x01\x06Window\x01\0\x02\tonstalled\x01\tonstalled\0\0\0\x18__widl_f_onsubmit_Window\0\0\x01\x06Window\x01\0\x01\x08onsubmit\x01\x08onsubmit\0\0\0\x1C__widl_f_set_onsubmit_Window\0\0\x01\x06Window\x01\0\x02\x08onsubmit\x01\x08onsubmit\0\0\0\x19__widl_f_onsuspend_Window\0\0\x01\x06Window\x01\0\x01\tonsuspend\x01\tonsuspend\0\0\0\x1D__widl_f_set_onsuspend_Window\0\0\x01\x06Window\x01\0\x02\tonsuspend\x01\tonsuspend\0\0\0\x1C__widl_f_ontimeupdate_Window\0\0\x01\x06Window\x01\0\x01\x0Contimeupdate\x01\x0Contimeupdate\0\0\0 __widl_f_set_ontimeupdate_Window\0\0\x01\x06Window\x01\0\x02\x0Contimeupdate\x01\x0Contimeupdate\0\0\0\x1E__widl_f_onvolumechange_Window\0\0\x01\x06Window\x01\0\x01\x0Eonvolumechange\x01\x0Eonvolumechange\0\0\0\"__widl_f_set_onvolumechange_Window\0\0\x01\x06Window\x01\0\x02\x0Eonvolumechange\x01\x0Eonvolumechange\0\0\0\x19__widl_f_onwaiting_Window\0\0\x01\x06Window\x01\0\x01\tonwaiting\x01\tonwaiting\0\0\0\x1D__widl_f_set_onwaiting_Window\0\0\x01\x06Window\x01\0\x02\tonwaiting\x01\tonwaiting\0\0\0\x1D__widl_f_onselectstart_Window\0\0\x01\x06Window\x01\0\x01\ronselectstart\x01\ronselectstart\0\0\0!__widl_f_set_onselectstart_Window\0\0\x01\x06Window\x01\0\x02\ronselectstart\x01\ronselectstart\0\0\0\x18__widl_f_ontoggle_Window\0\0\x01\x06Window\x01\0\x01\x08ontoggle\x01\x08ontoggle\0\0\0\x1C__widl_f_set_ontoggle_Window\0\0\x01\x06Window\x01\0\x02\x08ontoggle\x01\x08ontoggle\0\0\0\x1F__widl_f_onpointercancel_Window\0\0\x01\x06Window\x01\0\x01\x0Fonpointercancel\x01\x0Fonpointercancel\0\0\0#__widl_f_set_onpointercancel_Window\0\0\x01\x06Window\x01\0\x02\x0Fonpointercancel\x01\x0Fonpointercancel\0\0\0\x1D__widl_f_onpointerdown_Window\0\0\x01\x06Window\x01\0\x01\ronpointerdown\x01\ronpointerdown\0\0\0!__widl_f_set_onpointerdown_Window\0\0\x01\x06Window\x01\0\x02\ronpointerdown\x01\ronpointerdown\0\0\0\x1B__widl_f_onpointerup_Window\0\0\x01\x06Window\x01\0\x01\x0Bonpointerup\x01\x0Bonpointerup\0\0\0\x1F__widl_f_set_onpointerup_Window\0\0\x01\x06Window\x01\0\x02\x0Bonpointerup\x01\x0Bonpointerup\0\0\0\x1D__widl_f_onpointermove_Window\0\0\x01\x06Window\x01\0\x01\ronpointermove\x01\ronpointermove\0\0\0!__widl_f_set_onpointermove_Window\0\0\x01\x06Window\x01\0\x02\ronpointermove\x01\ronpointermove\0\0\0\x1C__widl_f_onpointerout_Window\0\0\x01\x06Window\x01\0\x01\x0Conpointerout\x01\x0Conpointerout\0\0\0 __widl_f_set_onpointerout_Window\0\0\x01\x06Window\x01\0\x02\x0Conpointerout\x01\x0Conpointerout\0\0\0\x1D__widl_f_onpointerover_Window\0\0\x01\x06Window\x01\0\x01\ronpointerover\x01\ronpointerover\0\0\0!__widl_f_set_onpointerover_Window\0\0\x01\x06Window\x01\0\x02\ronpointerover\x01\ronpointerover\0\0\0\x1E__widl_f_onpointerenter_Window\0\0\x01\x06Window\x01\0\x01\x0Eonpointerenter\x01\x0Eonpointerenter\0\0\0\"__widl_f_set_onpointerenter_Window\0\0\x01\x06Window\x01\0\x02\x0Eonpointerenter\x01\x0Eonpointerenter\0\0\0\x1E__widl_f_onpointerleave_Window\0\0\x01\x06Window\x01\0\x01\x0Eonpointerleave\x01\x0Eonpointerleave\0\0\0\"__widl_f_set_onpointerleave_Window\0\0\x01\x06Window\x01\0\x02\x0Eonpointerleave\x01\x0Eonpointerleave\0\0\0#__widl_f_ongotpointercapture_Window\0\0\x01\x06Window\x01\0\x01\x13ongotpointercapture\x01\x13ongotpointercapture\0\0\0'__widl_f_set_ongotpointercapture_Window\0\0\x01\x06Window\x01\0\x02\x13ongotpointercapture\x01\x13ongotpointercapture\0\0\0$__widl_f_onlostpointercapture_Window\0\0\x01\x06Window\x01\0\x01\x14onlostpointercapture\x01\x14onlostpointercapture\0\0\0(__widl_f_set_onlostpointercapture_Window\0\0\x01\x06Window\x01\0\x02\x14onlostpointercapture\x01\x14onlostpointercapture\0\0\0!__widl_f_onanimationcancel_Window\0\0\x01\x06Window\x01\0\x01\x11onanimationcancel\x01\x11onanimationcancel\0\0\0%__widl_f_set_onanimationcancel_Window\0\0\x01\x06Window\x01\0\x02\x11onanimationcancel\x01\x11onanimationcancel\0\0\0\x1E__widl_f_onanimationend_Window\0\0\x01\x06Window\x01\0\x01\x0Eonanimationend\x01\x0Eonanimationend\0\0\0\"__widl_f_set_onanimationend_Window\0\0\x01\x06Window\x01\0\x02\x0Eonanimationend\x01\x0Eonanimationend\0\0\0$__widl_f_onanimationiteration_Window\0\0\x01\x06Window\x01\0\x01\x14onanimationiteration\x01\x14onanimationiteration\0\0\0(__widl_f_set_onanimationiteration_Window\0\0\x01\x06Window\x01\0\x02\x14onanimationiteration\x01\x14onanimationiteration\0\0\0 __widl_f_onanimationstart_Window\0\0\x01\x06Window\x01\0\x01\x10onanimationstart\x01\x10onanimationstart\0\0\0$__widl_f_set_onanimationstart_Window\0\0\x01\x06Window\x01\0\x02\x10onanimationstart\x01\x10onanimationstart\0\0\0\"__widl_f_ontransitioncancel_Window\0\0\x01\x06Window\x01\0\x01\x12ontransitioncancel\x01\x12ontransitioncancel\0\0\0&__widl_f_set_ontransitioncancel_Window\0\0\x01\x06Window\x01\0\x02\x12ontransitioncancel\x01\x12ontransitioncancel\0\0\0\x1F__widl_f_ontransitionend_Window\0\0\x01\x06Window\x01\0\x01\x0Fontransitionend\x01\x0Fontransitionend\0\0\0#__widl_f_set_ontransitionend_Window\0\0\x01\x06Window\x01\0\x02\x0Fontransitionend\x01\x0Fontransitionend\0\0\0\x1F__widl_f_ontransitionrun_Window\0\0\x01\x06Window\x01\0\x01\x0Fontransitionrun\x01\x0Fontransitionrun\0\0\0#__widl_f_set_ontransitionrun_Window\0\0\x01\x06Window\x01\0\x02\x0Fontransitionrun\x01\x0Fontransitionrun\0\0\0!__widl_f_ontransitionstart_Window\0\0\x01\x06Window\x01\0\x01\x11ontransitionstart\x01\x11ontransitionstart\0\0\0%__widl_f_set_ontransitionstart_Window\0\0\x01\x06Window\x01\0\x02\x11ontransitionstart\x01\x11ontransitionstart\0\0\0$__widl_f_onwebkitanimationend_Window\0\0\x01\x06Window\x01\0\x01\x14onwebkitanimationend\x01\x14onwebkitanimationend\0\0\0(__widl_f_set_onwebkitanimationend_Window\0\0\x01\x06Window\x01\0\x02\x14onwebkitanimationend\x01\x14onwebkitanimationend\0\0\0*__widl_f_onwebkitanimationiteration_Window\0\0\x01\x06Window\x01\0\x01\x1Aonwebkitanimationiteration\x01\x1Aonwebkitanimationiteration\0\0\0.__widl_f_set_onwebkitanimationiteration_Window\0\0\x01\x06Window\x01\0\x02\x1Aonwebkitanimationiteration\x01\x1Aonwebkitanimationiteration\0\0\0&__widl_f_onwebkitanimationstart_Window\0\0\x01\x06Window\x01\0\x01\x16onwebkitanimationstart\x01\x16onwebkitanimationstart\0\0\0*__widl_f_set_onwebkitanimationstart_Window\0\0\x01\x06Window\x01\0\x02\x16onwebkitanimationstart\x01\x16onwebkitanimationstart\0\0\0%__widl_f_onwebkittransitionend_Window\0\0\x01\x06Window\x01\0\x01\x15onwebkittransitionend\x01\x15onwebkittransitionend\0\0\0)__widl_f_set_onwebkittransitionend_Window\0\0\x01\x06Window\x01\0\x02\x15onwebkittransitionend\x01\x15onwebkittransitionend\0\0\0\x13__widl_f_u2f_Window\x01\0\x01\x06Window\x01\0\x01\x03u2f\x01\x03u2f\0\0\0\x17__widl_f_onerror_Window\0\0\x01\x06Window\x01\0\x01\x07onerror\x01\x07onerror\0\0\0\x1B__widl_f_set_onerror_Window\0\0\x01\x06Window\x01\0\x02\x07onerror\x01\x07onerror\0\0\0 __widl_f_speech_synthesis_Window\x01\0\x01\x06Window\x01\0\x01\x0FspeechSynthesis\x01\x0FspeechSynthesis\0\0\0\x1C__widl_f_ontouchstart_Window\0\0\x01\x06Window\x01\0\x01\x0Contouchstart\x01\x0Contouchstart\0\0\0 __widl_f_set_ontouchstart_Window\0\0\x01\x06Window\x01\0\x02\x0Contouchstart\x01\x0Contouchstart\0\0\0\x1A__widl_f_ontouchend_Window\0\0\x01\x06Window\x01\0\x01\nontouchend\x01\nontouchend\0\0\0\x1E__widl_f_set_ontouchend_Window\0\0\x01\x06Window\x01\0\x02\nontouchend\x01\nontouchend\0\0\0\x1B__widl_f_ontouchmove_Window\0\0\x01\x06Window\x01\0\x01\x0Bontouchmove\x01\x0Bontouchmove\0\0\0\x1F__widl_f_set_ontouchmove_Window\0\0\x01\x06Window\x01\0\x02\x0Bontouchmove\x01\x0Bontouchmove\0\0\0\x1D__widl_f_ontouchcancel_Window\0\0\x01\x06Window\x01\0\x01\rontouchcancel\x01\rontouchcancel\0\0\0!__widl_f_set_ontouchcancel_Window\0\0\x01\x06Window\x01\0\x02\rontouchcancel\x01\rontouchcancel\0\0\0\x16__widl_f_webgpu_Window\0\0\x01\x06Window\x01\0\x01\x06webgpu\x01\x06webgpu\0\0\0\x1C__widl_f_onafterprint_Window\0\0\x01\x06Window\x01\0\x01\x0Conafterprint\x01\x0Conafterprint\0\0\0 __widl_f_set_onafterprint_Window\0\0\x01\x06Window\x01\0\x02\x0Conafterprint\x01\x0Conafterprint\0\0\0\x1D__widl_f_onbeforeprint_Window\0\0\x01\x06Window\x01\0\x01\ronbeforeprint\x01\ronbeforeprint\0\0\0!__widl_f_set_onbeforeprint_Window\0\0\x01\x06Window\x01\0\x02\ronbeforeprint\x01\ronbeforeprint\0\0\0\x1E__widl_f_onbeforeunload_Window\0\0\x01\x06Window\x01\0\x01\x0Eonbeforeunload\x01\x0Eonbeforeunload\0\0\0\"__widl_f_set_onbeforeunload_Window\0\0\x01\x06Window\x01\0\x02\x0Eonbeforeunload\x01\x0Eonbeforeunload\0\0\0\x1C__widl_f_onhashchange_Window\0\0\x01\x06Window\x01\0\x01\x0Conhashchange\x01\x0Conhashchange\0\0\0 __widl_f_set_onhashchange_Window\0\0\x01\x06Window\x01\0\x02\x0Conhashchange\x01\x0Conhashchange\0\0\0 __widl_f_onlanguagechange_Window\0\0\x01\x06Window\x01\0\x01\x10onlanguagechange\x01\x10onlanguagechange\0\0\0$__widl_f_set_onlanguagechange_Window\0\0\x01\x06Window\x01\0\x02\x10onlanguagechange\x01\x10onlanguagechange\0\0\0\x19__widl_f_onmessage_Window\0\0\x01\x06Window\x01\0\x01\tonmessage\x01\tonmessage\0\0\0\x1D__widl_f_set_onmessage_Window\0\0\x01\x06Window\x01\0\x02\tonmessage\x01\tonmessage\0\0\0\x1E__widl_f_onmessageerror_Window\0\0\x01\x06Window\x01\0\x01\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\0\"__widl_f_set_onmessageerror_Window\0\0\x01\x06Window\x01\0\x02\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\0\x19__widl_f_onoffline_Window\0\0\x01\x06Window\x01\0\x01\tonoffline\x01\tonoffline\0\0\0\x1D__widl_f_set_onoffline_Window\0\0\x01\x06Window\x01\0\x02\tonoffline\x01\tonoffline\0\0\0\x18__widl_f_ononline_Window\0\0\x01\x06Window\x01\0\x01\x08ononline\x01\x08ononline\0\0\0\x1C__widl_f_set_ononline_Window\0\0\x01\x06Window\x01\0\x02\x08ononline\x01\x08ononline\0\0\0\x1A__widl_f_onpagehide_Window\0\0\x01\x06Window\x01\0\x01\nonpagehide\x01\nonpagehide\0\0\0\x1E__widl_f_set_onpagehide_Window\0\0\x01\x06Window\x01\0\x02\nonpagehide\x01\nonpagehide\0\0\0\x1A__widl_f_onpageshow_Window\0\0\x01\x06Window\x01\0\x01\nonpageshow\x01\nonpageshow\0\0\0\x1E__widl_f_set_onpageshow_Window\0\0\x01\x06Window\x01\0\x02\nonpageshow\x01\nonpageshow\0\0\0\x1A__widl_f_onpopstate_Window\0\0\x01\x06Window\x01\0\x01\nonpopstate\x01\nonpopstate\0\0\0\x1E__widl_f_set_onpopstate_Window\0\0\x01\x06Window\x01\0\x02\nonpopstate\x01\nonpopstate\0\0\0\x19__widl_f_onstorage_Window\0\0\x01\x06Window\x01\0\x01\tonstorage\x01\tonstorage\0\0\0\x1D__widl_f_set_onstorage_Window\0\0\x01\x06Window\x01\0\x02\tonstorage\x01\tonstorage\0\0\0\x18__widl_f_onunload_Window\0\0\x01\x06Window\x01\0\x01\x08onunload\x01\x08onunload\0\0\0\x1C__widl_f_set_onunload_Window\0\0\x01\x06Window\x01\0\x02\x08onunload\x01\x08onunload\0\0\0\x1D__widl_f_local_storage_Window\x01\0\x01\x06Window\x01\0\x01\x0ClocalStorage\x01\x0ClocalStorage\0\0\0\x14__widl_f_atob_Window\x01\0\x01\x06Window\x01\0\0\x01\x04atob\0\0\0\x14__widl_f_btoa_Window\x01\0\x01\x06Window\x01\0\0\x01\x04btoa\0\0\0\x1E__widl_f_clear_interval_Window\0\0\x01\x06Window\x01\0\0\x01\rclearInterval\0\0\0*__widl_f_clear_interval_with_handle_Window\0\0\x01\x06Window\x01\0\0\x01\rclearInterval\0\0\0\x1D__widl_f_clear_timeout_Window\0\0\x01\x06Window\x01\0\0\x01\x0CclearTimeout\0\0\0)__widl_f_clear_timeout_with_handle_Window\0\0\x01\x06Window\x01\0\0\x01\x0CclearTimeout\0\0\0;__widl_f_create_image_bitmap_with_html_image_element_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0;__widl_f_create_image_bitmap_with_html_video_element_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0<__widl_f_create_image_bitmap_with_html_canvas_element_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0-__widl_f_create_image_bitmap_with_blob_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\03__widl_f_create_image_bitmap_with_image_data_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0D__widl_f_create_image_bitmap_with_canvas_rendering_context_2d_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\05__widl_f_create_image_bitmap_with_image_bitmap_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\06__widl_f_create_image_bitmap_with_buffer_source_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\01__widl_f_create_image_bitmap_with_u8_array_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0___widl_f_create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0___widl_f_create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0`__widl_f_create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0Q__widl_f_create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0W__widl_f_create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0h__widl_f_create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0Y__widl_f_create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0Z__widl_f_create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0U__widl_f_create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh_Window\x01\0\x01\x06Window\x01\0\0\x01\x11createImageBitmap\0\0\0\"__widl_f_fetch_with_request_Window\0\0\x01\x06Window\x01\0\0\x01\x05fetch\0\0\0\x1E__widl_f_fetch_with_str_Window\0\0\x01\x06Window\x01\0\0\x01\x05fetch\0\0\0+__widl_f_fetch_with_request_and_init_Window\0\0\x01\x06Window\x01\0\0\x01\x05fetch\0\0\0'__widl_f_fetch_with_str_and_init_Window\0\0\x01\x06Window\x01\0\0\x01\x05fetch\0\0\0*__widl_f_set_interval_with_callback_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0D__widl_f_set_interval_with_callback_and_timeout_and_arguments_Window\x01\x01\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0F__widl_f_set_interval_with_callback_and_timeout_and_arguments_0_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0F__widl_f_set_interval_with_callback_and_timeout_and_arguments_1_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0F__widl_f_set_interval_with_callback_and_timeout_and_arguments_2_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0F__widl_f_set_interval_with_callback_and_timeout_and_arguments_3_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0F__widl_f_set_interval_with_callback_and_timeout_and_arguments_4_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0F__widl_f_set_interval_with_callback_and_timeout_and_arguments_5_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0F__widl_f_set_interval_with_callback_and_timeout_and_arguments_6_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0F__widl_f_set_interval_with_callback_and_timeout_and_arguments_7_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0%__widl_f_set_interval_with_str_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0<__widl_f_set_interval_with_str_and_timeout_and_unused_Window\x01\x01\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0>__widl_f_set_interval_with_str_and_timeout_and_unused_0_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0>__widl_f_set_interval_with_str_and_timeout_and_unused_1_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0>__widl_f_set_interval_with_str_and_timeout_and_unused_2_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0>__widl_f_set_interval_with_str_and_timeout_and_unused_3_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0>__widl_f_set_interval_with_str_and_timeout_and_unused_4_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0>__widl_f_set_interval_with_str_and_timeout_and_unused_5_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0>__widl_f_set_interval_with_str_and_timeout_and_unused_6_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0>__widl_f_set_interval_with_str_and_timeout_and_unused_7_Window\x01\0\x01\x06Window\x01\0\0\x01\x0BsetInterval\0\0\0)__widl_f_set_timeout_with_callback_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0C__widl_f_set_timeout_with_callback_and_timeout_and_arguments_Window\x01\x01\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0E__widl_f_set_timeout_with_callback_and_timeout_and_arguments_0_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0E__widl_f_set_timeout_with_callback_and_timeout_and_arguments_1_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0E__widl_f_set_timeout_with_callback_and_timeout_and_arguments_2_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0E__widl_f_set_timeout_with_callback_and_timeout_and_arguments_3_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0E__widl_f_set_timeout_with_callback_and_timeout_and_arguments_4_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0E__widl_f_set_timeout_with_callback_and_timeout_and_arguments_5_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0E__widl_f_set_timeout_with_callback_and_timeout_and_arguments_6_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0E__widl_f_set_timeout_with_callback_and_timeout_and_arguments_7_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0$__widl_f_set_timeout_with_str_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0;__widl_f_set_timeout_with_str_and_timeout_and_unused_Window\x01\x01\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0=__widl_f_set_timeout_with_str_and_timeout_and_unused_0_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0=__widl_f_set_timeout_with_str_and_timeout_and_unused_1_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0=__widl_f_set_timeout_with_str_and_timeout_and_unused_2_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0=__widl_f_set_timeout_with_str_and_timeout_and_unused_3_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0=__widl_f_set_timeout_with_str_and_timeout_and_unused_4_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0=__widl_f_set_timeout_with_str_and_timeout_and_unused_5_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0=__widl_f_set_timeout_with_str_and_timeout_and_unused_6_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0=__widl_f_set_timeout_with_str_and_timeout_and_unused_7_Window\x01\0\x01\x06Window\x01\0\0\x01\nsetTimeout\0\0\0\x16__widl_f_origin_Window\0\0\x01\x06Window\x01\0\x01\x06origin\x01\x06origin\0\0\0!__widl_f_is_secure_context_Window\0\0\x01\x06Window\x01\0\x01\x0FisSecureContext\x01\x0FisSecureContext\0\0\0\x1A__widl_f_indexed_db_Window\x01\0\x01\x06Window\x01\0\x01\tindexedDB\x01\tindexedDB\0\0\0\x16__widl_f_caches_Window\x01\0\x01\x06Window\x01\0\x01\x06caches\x01\x06caches\0\0\0\x1F__widl_f_session_storage_Window\x01\0\x01\x06Window\x01\0\x01\x0EsessionStorage\x01\x0EsessionStorage\0\0\x02\x0CWindowClient\x1E__widl_instanceof_WindowClient\0\0\0\0\x1B__widl_f_focus_WindowClient\x01\0\x01\x0CWindowClient\x01\0\0\x01\x05focus\0\0\0\x1E__widl_f_navigate_WindowClient\x01\0\x01\x0CWindowClient\x01\0\0\x01\x08navigate\0\0\0&__widl_f_visibility_state_WindowClient\0\0\x01\x0CWindowClient\x01\0\x01\x0FvisibilityState\x01\x0FvisibilityState\0\0\0\x1D__widl_f_focused_WindowClient\0\0\x01\x0CWindowClient\x01\0\x01\x07focused\x01\x07focused\0\0\x02\x06Worker\x18__widl_instanceof_Worker\0\0\0\0\x13__widl_f_new_Worker\x01\0\x01\x06Worker\0\x01\x03new\0\0\0 __widl_f_new_with_options_Worker\x01\0\x01\x06Worker\0\x01\x03new\0\0\0\x1C__widl_f_post_message_Worker\x01\0\x01\x06Worker\x01\0\0\x01\x0BpostMessage\0\0\0\x19__widl_f_terminate_Worker\0\0\x01\x06Worker\x01\0\0\x01\tterminate\0\0\0\x19__widl_f_onmessage_Worker\0\0\x01\x06Worker\x01\0\x01\tonmessage\x01\tonmessage\0\0\0\x1D__widl_f_set_onmessage_Worker\0\0\x01\x06Worker\x01\0\x02\tonmessage\x01\tonmessage\0\0\0\x1E__widl_f_onmessageerror_Worker\0\0\x01\x06Worker\x01\0\x01\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\0\"__widl_f_set_onmessageerror_Worker\0\0\x01\x06Worker\x01\0\x02\x0Eonmessageerror\x01\x0Eonmessageerror\0\0\0\x17__widl_f_onerror_Worker\0\0\x01\x06Worker\x01\0\x01\x07onerror\x01\x07onerror\0\0\0\x1B__widl_f_set_onerror_Worker\0\0\x01\x06Worker\x01\0\x02\x07onerror\x01\x07onerror\0\0\x02\x19WorkerDebuggerGlobalScope+__widl_instanceof_WorkerDebuggerGlobalScope\0\0\0\01__widl_f_create_sandbox_WorkerDebuggerGlobalScope\x01\0\x01\x19WorkerDebuggerGlobalScope\x01\0\0\x01\rcreateSandbox\0\0\0'__widl_f_dump_WorkerDebuggerGlobalScope\0\0\x01\x19WorkerDebuggerGlobalScope\x01\0\0\x01\x04dump\0\0\03__widl_f_dump_with_string_WorkerDebuggerGlobalScope\0\0\x01\x19WorkerDebuggerGlobalScope\x01\0\0\x01\x04dump\0\0\03__widl_f_enter_event_loop_WorkerDebuggerGlobalScope\0\0\x01\x19WorkerDebuggerGlobalScope\x01\0\0\x01\x0EenterEventLoop\0\0\03__widl_f_leave_event_loop_WorkerDebuggerGlobalScope\0\0\x01\x19WorkerDebuggerGlobalScope\x01\0\0\x01\x0EleaveEventLoop\0\0\02__widl_f_load_sub_script_WorkerDebuggerGlobalScope\x01\0\x01\x19WorkerDebuggerGlobalScope\x01\0\0\x01\rloadSubScript\0\0\0?__widl_f_load_sub_script_with_sandbox_WorkerDebuggerGlobalScope\x01\0\x01\x19WorkerDebuggerGlobalScope\x01\0\0\x01\rloadSubScript\0\0\0/__widl_f_post_message_WorkerDebuggerGlobalScope\0\0\x01\x19WorkerDebuggerGlobalScope\x01\0\0\x01\x0BpostMessage\0\0\0/__widl_f_report_error_WorkerDebuggerGlobalScope\0\0\x01\x19WorkerDebuggerGlobalScope\x01\0\0\x01\x0BreportError\0\0\0<__widl_f_set_console_event_handler_WorkerDebuggerGlobalScope\x01\0\x01\x19WorkerDebuggerGlobalScope\x01\0\0\x01\x16setConsoleEventHandler\0\0\00__widl_f_set_immediate_WorkerDebuggerGlobalScope\x01\0\x01\x19WorkerDebuggerGlobalScope\x01\0\0\x01\x0CsetImmediate\0\0\0)__widl_f_global_WorkerDebuggerGlobalScope\x01\0\x01\x19WorkerDebuggerGlobalScope\x01\0\x01\x06global\x01\x06global\0\0\0,__widl_f_onmessage_WorkerDebuggerGlobalScope\0\0\x01\x19WorkerDebuggerGlobalScope\x01\0\x01\tonmessage\x01\tonmessage\0\0\00__widl_f_set_onmessage_WorkerDebuggerGlobalScope\0\0\x01\x19WorkerDebuggerGlobalScope\x01\0\x02\tonmessage\x01\tonmessage\0\0\x02\x11WorkerGlobalScope#__widl_instanceof_WorkerGlobalScope\0\0\0\0)__widl_f_import_scripts_WorkerGlobalScope\x01\x01\x01\x11WorkerGlobalScope\x01\0\0\x01\rimportScripts\0\0\0+__widl_f_import_scripts_0_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\rimportScripts\0\0\0+__widl_f_import_scripts_1_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\rimportScripts\0\0\0+__widl_f_import_scripts_2_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\rimportScripts\0\0\0+__widl_f_import_scripts_3_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\rimportScripts\0\0\0+__widl_f_import_scripts_4_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\rimportScripts\0\0\0+__widl_f_import_scripts_5_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\rimportScripts\0\0\0+__widl_f_import_scripts_6_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\rimportScripts\0\0\0+__widl_f_import_scripts_7_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\rimportScripts\0\0\0\x1F__widl_f_self_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\x01\x04self\x01\x04self\0\0\0#__widl_f_location_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\x01\x08location\x01\x08location\0\0\0$__widl_f_navigator_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\x01\tnavigator\x01\tnavigator\0\0\0\"__widl_f_onerror_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\x01\x07onerror\x01\x07onerror\0\0\0&__widl_f_set_onerror_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\x02\x07onerror\x01\x07onerror\0\0\0$__widl_f_onoffline_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\x01\tonoffline\x01\tonoffline\0\0\0(__widl_f_set_onoffline_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\x02\tonoffline\x01\tonoffline\0\0\0#__widl_f_ononline_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\x01\x08ononline\x01\x08ononline\0\0\0'__widl_f_set_ononline_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\x02\x08ononline\x01\x08ononline\0\0\0!__widl_f_crypto_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\x01\x06crypto\x01\x06crypto\0\0\0\x1F__widl_f_atob_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x04atob\0\0\0\x1F__widl_f_btoa_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x04btoa\0\0\0)__widl_f_clear_interval_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\0\x01\rclearInterval\0\0\05__widl_f_clear_interval_with_handle_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\0\x01\rclearInterval\0\0\0(__widl_f_clear_timeout_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0CclearTimeout\0\0\04__widl_f_clear_timeout_with_handle_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0CclearTimeout\0\0\0F__widl_f_create_image_bitmap_with_html_image_element_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0F__widl_f_create_image_bitmap_with_html_video_element_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0G__widl_f_create_image_bitmap_with_html_canvas_element_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\08__widl_f_create_image_bitmap_with_blob_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0>__widl_f_create_image_bitmap_with_image_data_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0O__widl_f_create_image_bitmap_with_canvas_rendering_context_2d_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0@__widl_f_create_image_bitmap_with_image_bitmap_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0A__widl_f_create_image_bitmap_with_buffer_source_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0<__widl_f_create_image_bitmap_with_u8_array_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0j__widl_f_create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0j__widl_f_create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0k__widl_f_create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0\\__widl_f_create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0b__widl_f_create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0s__widl_f_create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0d__widl_f_create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0e__widl_f_create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0`__widl_f_create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x11createImageBitmap\0\0\0-__widl_f_fetch_with_request_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x05fetch\0\0\0)__widl_f_fetch_with_str_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x05fetch\0\0\06__widl_f_fetch_with_request_and_init_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x05fetch\0\0\02__widl_f_fetch_with_str_and_init_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x05fetch\0\0\05__widl_f_set_interval_with_callback_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0O__widl_f_set_interval_with_callback_and_timeout_and_arguments_WorkerGlobalScope\x01\x01\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0Q__widl_f_set_interval_with_callback_and_timeout_and_arguments_0_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0Q__widl_f_set_interval_with_callback_and_timeout_and_arguments_1_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0Q__widl_f_set_interval_with_callback_and_timeout_and_arguments_2_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0Q__widl_f_set_interval_with_callback_and_timeout_and_arguments_3_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0Q__widl_f_set_interval_with_callback_and_timeout_and_arguments_4_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0Q__widl_f_set_interval_with_callback_and_timeout_and_arguments_5_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0Q__widl_f_set_interval_with_callback_and_timeout_and_arguments_6_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0Q__widl_f_set_interval_with_callback_and_timeout_and_arguments_7_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\00__widl_f_set_interval_with_str_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0G__widl_f_set_interval_with_str_and_timeout_and_unused_WorkerGlobalScope\x01\x01\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0I__widl_f_set_interval_with_str_and_timeout_and_unused_0_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0I__widl_f_set_interval_with_str_and_timeout_and_unused_1_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0I__widl_f_set_interval_with_str_and_timeout_and_unused_2_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0I__widl_f_set_interval_with_str_and_timeout_and_unused_3_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0I__widl_f_set_interval_with_str_and_timeout_and_unused_4_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0I__widl_f_set_interval_with_str_and_timeout_and_unused_5_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0I__widl_f_set_interval_with_str_and_timeout_and_unused_6_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\0I__widl_f_set_interval_with_str_and_timeout_and_unused_7_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\x0BsetInterval\0\0\04__widl_f_set_timeout_with_callback_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0N__widl_f_set_timeout_with_callback_and_timeout_and_arguments_WorkerGlobalScope\x01\x01\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0P__widl_f_set_timeout_with_callback_and_timeout_and_arguments_0_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0P__widl_f_set_timeout_with_callback_and_timeout_and_arguments_1_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0P__widl_f_set_timeout_with_callback_and_timeout_and_arguments_2_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0P__widl_f_set_timeout_with_callback_and_timeout_and_arguments_3_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0P__widl_f_set_timeout_with_callback_and_timeout_and_arguments_4_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0P__widl_f_set_timeout_with_callback_and_timeout_and_arguments_5_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0P__widl_f_set_timeout_with_callback_and_timeout_and_arguments_6_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0P__widl_f_set_timeout_with_callback_and_timeout_and_arguments_7_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0/__widl_f_set_timeout_with_str_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0F__widl_f_set_timeout_with_str_and_timeout_and_unused_WorkerGlobalScope\x01\x01\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0H__widl_f_set_timeout_with_str_and_timeout_and_unused_0_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0H__widl_f_set_timeout_with_str_and_timeout_and_unused_1_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0H__widl_f_set_timeout_with_str_and_timeout_and_unused_2_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0H__widl_f_set_timeout_with_str_and_timeout_and_unused_3_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0H__widl_f_set_timeout_with_str_and_timeout_and_unused_4_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0H__widl_f_set_timeout_with_str_and_timeout_and_unused_5_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0H__widl_f_set_timeout_with_str_and_timeout_and_unused_6_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0H__widl_f_set_timeout_with_str_and_timeout_and_unused_7_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\0\x01\nsetTimeout\0\0\0!__widl_f_origin_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\x01\x06origin\x01\x06origin\0\0\0,__widl_f_is_secure_context_WorkerGlobalScope\0\0\x01\x11WorkerGlobalScope\x01\0\x01\x0FisSecureContext\x01\x0FisSecureContext\0\0\0%__widl_f_indexed_db_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\x01\tindexedDB\x01\tindexedDB\0\0\0!__widl_f_caches_WorkerGlobalScope\x01\0\x01\x11WorkerGlobalScope\x01\0\x01\x06caches\x01\x06caches\0\0\x02\x0EWorkerLocation __widl_instanceof_WorkerLocation\0\0\0\0\x1C__widl_f_href_WorkerLocation\0\0\x01\x0EWorkerLocation\x01\0\x01\x04href\x01\x04href\0\0\0\x1E__widl_f_origin_WorkerLocation\0\0\x01\x0EWorkerLocation\x01\0\x01\x06origin\x01\x06origin\0\0\0 __widl_f_protocol_WorkerLocation\0\0\x01\x0EWorkerLocation\x01\0\x01\x08protocol\x01\x08protocol\0\0\0\x1C__widl_f_host_WorkerLocation\0\0\x01\x0EWorkerLocation\x01\0\x01\x04host\x01\x04host\0\0\0 __widl_f_hostname_WorkerLocation\0\0\x01\x0EWorkerLocation\x01\0\x01\x08hostname\x01\x08hostname\0\0\0\x1C__widl_f_port_WorkerLocation\0\0\x01\x0EWorkerLocation\x01\0\x01\x04port\x01\x04port\0\0\0 __widl_f_pathname_WorkerLocation\0\0\x01\x0EWorkerLocation\x01\0\x01\x08pathname\x01\x08pathname\0\0\0\x1E__widl_f_search_WorkerLocation\0\0\x01\x0EWorkerLocation\x01\0\x01\x06search\x01\x06search\0\0\0\x1C__widl_f_hash_WorkerLocation\0\0\x01\x0EWorkerLocation\x01\0\x01\x04hash\x01\x04hash\0\0\x02\x0FWorkerNavigator!__widl_instanceof_WorkerNavigator\0\0\0\0#__widl_f_connection_WorkerNavigator\x01\0\x01\x0FWorkerNavigator\x01\0\x01\nconnection\x01\nconnection\0\0\0+__widl_f_media_capabilities_WorkerNavigator\0\0\x01\x0FWorkerNavigator\x01\0\x01\x11mediaCapabilities\x01\x11mediaCapabilities\0\0\0-__widl_f_hardware_concurrency_WorkerNavigator\0\0\x01\x0FWorkerNavigator\x01\0\x01\x13hardwareConcurrency\x01\x13hardwareConcurrency\0\0\0&__widl_f_taint_enabled_WorkerNavigator\0\0\x01\x0FWorkerNavigator\x01\0\0\x01\x0CtaintEnabled\0\0\0&__widl_f_app_code_name_WorkerNavigator\x01\0\x01\x0FWorkerNavigator\x01\0\x01\x0BappCodeName\x01\x0BappCodeName\0\0\0!__widl_f_app_name_WorkerNavigator\0\0\x01\x0FWorkerNavigator\x01\0\x01\x07appName\x01\x07appName\0\0\0$__widl_f_app_version_WorkerNavigator\x01\0\x01\x0FWorkerNavigator\x01\0\x01\nappVersion\x01\nappVersion\0\0\0!__widl_f_platform_WorkerNavigator\x01\0\x01\x0FWorkerNavigator\x01\0\x01\x08platform\x01\x08platform\0\0\0#__widl_f_user_agent_WorkerNavigator\x01\0\x01\x0FWorkerNavigator\x01\0\x01\tuserAgent\x01\tuserAgent\0\0\0 __widl_f_product_WorkerNavigator\0\0\x01\x0FWorkerNavigator\x01\0\x01\x07product\x01\x07product\0\0\0!__widl_f_language_WorkerNavigator\0\0\x01\x0FWorkerNavigator\x01\0\x01\x08language\x01\x08language\0\0\0 __widl_f_on_line_WorkerNavigator\0\0\x01\x0FWorkerNavigator\x01\0\x01\x06onLine\x01\x06onLine\0\0\0 __widl_f_storage_WorkerNavigator\0\0\x01\x0FWorkerNavigator\x01\0\x01\x07storage\x01\x07storage\0\0\x02\x07Worklet\x19__widl_instanceof_Worklet\0\0\0\0\x17__widl_f_import_Worklet\x01\0\x01\x07Worklet\x01\0\0\x01\x06import\0\0\x02\x12WorkletGlobalScope$__widl_instanceof_WorkletGlobalScope\0\0\0\x02\x0BXMLDocument\x1D__widl_instanceof_XMLDocument\0\0\0\0\x19__widl_f_load_XMLDocument\x01\0\x01\x0BXMLDocument\x01\0\0\x01\x04load\0\0\0\x1A__widl_f_async_XMLDocument\0\0\x01\x0BXMLDocument\x01\0\x01\x05async\x01\x05async\0\0\0\x1E__widl_f_set_async_XMLDocument\0\0\x01\x0BXMLDocument\x01\0\x02\x05async\x01\x05async\0\0\x02\x0EXMLHttpRequest __widl_instanceof_XMLHttpRequest\0\0\0\0\x1B__widl_f_new_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\0\x01\x03new\0\0\0(__widl_f_new_with_ignored_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\0\x01\x03new\0\0\0\x1D__widl_f_abort_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x05abort\0\0\00__widl_f_get_all_response_headers_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x15getAllResponseHeaders\0\0\0+__widl_f_get_response_header_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x11getResponseHeader\0\0\0\x1C__widl_f_open_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x04open\0\0\0'__widl_f_open_with_async_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x04open\0\0\00__widl_f_open_with_async_and_user_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x04open\0\0\0=__widl_f_open_with_async_and_user_and_password_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x04open\0\0\0*__widl_f_override_mime_type_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x10overrideMimeType\0\0\0\x1C__widl_f_send_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x04send\0\0\0.__widl_f_send_with_opt_document_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x04send\0\0\0*__widl_f_send_with_opt_blob_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x04send\0\0\03__widl_f_send_with_opt_buffer_source_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x04send\0\0\0.__widl_f_send_with_opt_u8_array_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x04send\0\0\0/__widl_f_send_with_opt_form_data_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x04send\0\0\07__widl_f_send_with_opt_url_search_params_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x04send\0\0\0)__widl_f_send_with_opt_str_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x04send\0\0\0*__widl_f_set_request_header_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\0\x01\x10setRequestHeader\0\0\0*__widl_f_onreadystatechange_XMLHttpRequest\0\0\x01\x0EXMLHttpRequest\x01\0\x01\x12onreadystatechange\x01\x12onreadystatechange\0\0\0.__widl_f_set_onreadystatechange_XMLHttpRequest\0\0\x01\x0EXMLHttpRequest\x01\0\x02\x12onreadystatechange\x01\x12onreadystatechange\0\0\0#__widl_f_ready_state_XMLHttpRequest\0\0\x01\x0EXMLHttpRequest\x01\0\x01\nreadyState\x01\nreadyState\0\0\0\x1F__widl_f_timeout_XMLHttpRequest\0\0\x01\x0EXMLHttpRequest\x01\0\x01\x07timeout\x01\x07timeout\0\0\0#__widl_f_set_timeout_XMLHttpRequest\0\0\x01\x0EXMLHttpRequest\x01\0\x02\x07timeout\x01\x07timeout\0\0\0(__widl_f_with_credentials_XMLHttpRequest\0\0\x01\x0EXMLHttpRequest\x01\0\x01\x0FwithCredentials\x01\x0FwithCredentials\0\0\0,__widl_f_set_with_credentials_XMLHttpRequest\0\0\x01\x0EXMLHttpRequest\x01\0\x02\x0FwithCredentials\x01\x0FwithCredentials\0\0\0\x1E__widl_f_upload_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\x01\x06upload\x01\x06upload\0\0\0$__widl_f_response_url_XMLHttpRequest\0\0\x01\x0EXMLHttpRequest\x01\0\x01\x0BresponseURL\x01\x0BresponseURL\0\0\0\x1E__widl_f_status_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\x01\x06status\x01\x06status\0\0\0#__widl_f_status_text_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\x01\nstatusText\x01\nstatusText\0\0\0%__widl_f_response_type_XMLHttpRequest\0\0\x01\x0EXMLHttpRequest\x01\0\x01\x0CresponseType\x01\x0CresponseType\0\0\0)__widl_f_set_response_type_XMLHttpRequest\0\0\x01\x0EXMLHttpRequest\x01\0\x02\x0CresponseType\x01\x0CresponseType\0\0\0 __widl_f_response_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\x01\x08response\x01\x08response\0\0\0%__widl_f_response_text_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\x01\x0CresponseText\x01\x0CresponseText\0\0\0$__widl_f_response_xml_XMLHttpRequest\x01\0\x01\x0EXMLHttpRequest\x01\0\x01\x0BresponseXML\x01\x0BresponseXML\0\0\x02\x19XMLHttpRequestEventTarget+__widl_instanceof_XMLHttpRequestEventTarget\0\0\0\0.__widl_f_onloadstart_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x01\x0Bonloadstart\x01\x0Bonloadstart\0\0\02__widl_f_set_onloadstart_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x02\x0Bonloadstart\x01\x0Bonloadstart\0\0\0-__widl_f_onprogress_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x01\nonprogress\x01\nonprogress\0\0\01__widl_f_set_onprogress_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x02\nonprogress\x01\nonprogress\0\0\0*__widl_f_onabort_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x01\x07onabort\x01\x07onabort\0\0\0.__widl_f_set_onabort_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x02\x07onabort\x01\x07onabort\0\0\0*__widl_f_onerror_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x01\x07onerror\x01\x07onerror\0\0\0.__widl_f_set_onerror_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x02\x07onerror\x01\x07onerror\0\0\0)__widl_f_onload_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x01\x06onload\x01\x06onload\0\0\0-__widl_f_set_onload_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x02\x06onload\x01\x06onload\0\0\0,__widl_f_ontimeout_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x01\tontimeout\x01\tontimeout\0\0\00__widl_f_set_ontimeout_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x02\tontimeout\x01\tontimeout\0\0\0,__widl_f_onloadend_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x01\tonloadend\x01\tonloadend\0\0\00__widl_f_set_onloadend_XMLHttpRequestEventTarget\0\0\x01\x19XMLHttpRequestEventTarget\x01\0\x02\tonloadend\x01\tonloadend\0\0\x02\x14XMLHttpRequestUpload&__widl_instanceof_XMLHttpRequestUpload\0\0\0\x02\rXMLSerializer\x1F__widl_instanceof_XMLSerializer\0\0\0\0\x1A__widl_f_new_XMLSerializer\x01\0\x01\rXMLSerializer\0\x01\x03new\0\0\0*__widl_f_serialize_to_string_XMLSerializer\x01\0\x01\rXMLSerializer\x01\0\0\x01\x11serializeToString\0\0\x02\x0FXPathExpression!__widl_instanceof_XPathExpression\0\0\0\0!__widl_f_evaluate_XPathExpression\x01\0\x01\x0FXPathExpression\x01\0\0\x01\x08evaluate\0\0\0+__widl_f_evaluate_with_type_XPathExpression\x01\0\x01\x0FXPathExpression\x01\0\0\x01\x08evaluate\0\0\06__widl_f_evaluate_with_type_and_result_XPathExpression\x01\0\x01\x0FXPathExpression\x01\0\0\x01\x08evaluate\0\0\x02\x0BXPathResult\x1D__widl_instanceof_XPathResult\0\0\0\0!__widl_f_iterate_next_XPathResult\x01\0\x01\x0BXPathResult\x01\0\0\x01\x0BiterateNext\0\0\0\"__widl_f_snapshot_item_XPathResult\x01\0\x01\x0BXPathResult\x01\0\0\x01\x0CsnapshotItem\0\0\0 __widl_f_result_type_XPathResult\0\0\x01\x0BXPathResult\x01\0\x01\nresultType\x01\nresultType\0\0\0!__widl_f_number_value_XPathResult\x01\0\x01\x0BXPathResult\x01\0\x01\x0BnumberValue\x01\x0BnumberValue\0\0\0!__widl_f_string_value_XPathResult\x01\0\x01\x0BXPathResult\x01\0\x01\x0BstringValue\x01\x0BstringValue\0\0\0\"__widl_f_boolean_value_XPathResult\x01\0\x01\x0BXPathResult\x01\0\x01\x0CbooleanValue\x01\x0CbooleanValue\0\0\0&__widl_f_single_node_value_XPathResult\x01\0\x01\x0BXPathResult\x01\0\x01\x0FsingleNodeValue\x01\x0FsingleNodeValue\0\0\0+__widl_f_invalid_iterator_state_XPathResult\0\0\x01\x0BXPathResult\x01\0\x01\x14invalidIteratorState\x01\x14invalidIteratorState\0\0\0$__widl_f_snapshot_length_XPathResult\x01\0\x01\x0BXPathResult\x01\0\x01\x0EsnapshotLength\x01\x0EsnapshotLength\0\0\x02\rXSLTProcessor\x1F__widl_instanceof_XSLTProcessor\0\0\0\0\x1A__widl_f_new_XSLTProcessor\x01\0\x01\rXSLTProcessor\0\x01\x03new\0\0\0'__widl_f_clear_parameters_XSLTProcessor\0\0\x01\rXSLTProcessor\x01\0\0\x01\x0FclearParameters\0\0\0(__widl_f_import_stylesheet_XSLTProcessor\x01\0\x01\rXSLTProcessor\x01\0\0\x01\x10importStylesheet\0\0\0'__widl_f_remove_parameter_XSLTProcessor\x01\0\x01\rXSLTProcessor\x01\0\0\x01\x0FremoveParameter\0\0\0\x1C__widl_f_reset_XSLTProcessor\0\0\x01\rXSLTProcessor\x01\0\0\x01\x05reset\0\0\0$__widl_f_set_parameter_XSLTProcessor\x01\0\x01\rXSLTProcessor\x01\0\0\x01\x0CsetParameter\0\0\0,__widl_f_transform_to_document_XSLTProcessor\x01\0\x01\rXSLTProcessor\x01\0\0\x01\x13transformToDocument\0\0\0,__widl_f_transform_to_fragment_XSLTProcessor\x01\0\x01\rXSLTProcessor\x01\0\0\x01\x13transformToFragment\0\0" ; pub mod css { # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_escape_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < String as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `CSS.escape()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape)\n\n*This API requires the following crate features to be activated: `css`*" ] pub fn escape ( ident : & str ) -> String { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_escape_ ( ident : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let ident = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( ident , & mut __stack ) ; __widl_f_escape_ ( ident ) } ; < String as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `CSS.escape()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape)\n\n*This API requires the following crate features to be activated: `css`*" ] pub fn escape ( ident : & str ) -> String { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_supports_with_value_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `CSS.supports()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports)\n\n*This API requires the following crate features to be activated: `css`*" ] pub fn supports_with_value ( property : & str , value : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_supports_with_value_ ( property : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , value : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let property = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( property , & mut __stack ) ; let value = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( value , & mut __stack ) ; __widl_f_supports_with_value_ ( property , value , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `CSS.supports()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports)\n\n*This API requires the following crate features to be activated: `css`*" ] pub fn supports_with_value ( property : & str , value : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_supports_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < bool as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `CSS.supports()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports)\n\n*This API requires the following crate features to be activated: `css`*" ] pub fn supports ( condition_text : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_supports_ ( condition_text : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , exn_data_ptr : * mut u32 ) -> < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: Abi ; } unsafe { let mut exn_data = [ 0 ; 2 ] ; let exn_data_ptr = exn_data . as_mut_ptr ( ) ; let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let condition_text = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( condition_text , & mut __stack ) ; __widl_f_supports_ ( condition_text , exn_data_ptr ) } ; if exn_data [ 0 ] == 1 { return Err ( < :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( exn_data [ 1 ] , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ) ) } Ok ( < bool as :: wasm_bindgen :: convert :: FromWasmAbi > :: from_abi ( _ret , & mut :: wasm_bindgen :: convert :: GlobalStack :: new ( ) , ) ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `CSS.supports()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports)\n\n*This API requires the following crate features to be activated: `css`*" ] pub fn supports ( condition_text : & str ) -> Result < bool , :: wasm_bindgen :: JsValue > { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ allow ( non_upper_case_globals ) ] # [ cfg ( target_arch = "wasm32" ) ] # [ link_section = "__wasm_bindgen_unstable" ] # [ doc ( hidden ) ] pub static __WASM_BINDGEN_GENERATED_60bde1442014d69c : [ u8 ; 183usize ] = * b".\0\0\0{\"schema_version\":\"0.2.31\",\"version\":\"0.2.31\"}\x81\0\0\0\0\0\x03\0\x01\x03CSS\0\x10__widl_f_escape_\0\0\0\x01\x06escape\0\x01\x03CSS\0\x1D__widl_f_supports_with_value_\x01\0\0\x01\x08supports\0\x01\x03CSS\0\x12__widl_f_supports_\x01\0\0\x01\x08supports\0\0" ; } pub mod console { # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_assert_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_assert_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_assert_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_assert_with_condition_and_data_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data ( condition : bool , data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_assert_with_condition_and_data_ ( condition : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let condition = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( condition , & mut __stack ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_assert_with_condition_and_data_ ( condition , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data ( condition : bool , data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_assert_with_condition_and_data_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < bool as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_0 ( condition : bool ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_assert_with_condition_and_data_0_ ( condition : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let condition = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( condition , & mut __stack ) ; __widl_f_assert_with_condition_and_data_0_ ( condition ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_0 ( condition : bool ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_assert_with_condition_and_data_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_1 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_assert_with_condition_and_data_1_ ( condition : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let condition = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( condition , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_assert_with_condition_and_data_1_ ( condition , data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_1 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_assert_with_condition_and_data_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_2 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_assert_with_condition_and_data_2_ ( condition : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let condition = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( condition , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_assert_with_condition_and_data_2_ ( condition , data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_2 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_assert_with_condition_and_data_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_3 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_assert_with_condition_and_data_3_ ( condition : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let condition = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( condition , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_assert_with_condition_and_data_3_ ( condition , data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_3 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_assert_with_condition_and_data_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_4 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_assert_with_condition_and_data_4_ ( condition : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let condition = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( condition , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_assert_with_condition_and_data_4_ ( condition , data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_4 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_assert_with_condition_and_data_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_5 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_assert_with_condition_and_data_5_ ( condition : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let condition = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( condition , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_assert_with_condition_and_data_5_ ( condition , data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_5 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_assert_with_condition_and_data_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_6 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_assert_with_condition_and_data_6_ ( condition : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let condition = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( condition , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_assert_with_condition_and_data_6_ ( condition , data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_6 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_assert_with_condition_and_data_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < bool as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_7 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_assert_with_condition_and_data_7_ ( condition : < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let condition = < bool as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( condition , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_assert_with_condition_and_data_7_ ( condition , data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.assert()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn assert_with_condition_and_data_7 ( condition : bool , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_clear_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.clear()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/clear)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn clear ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_clear_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_clear_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.clear()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/clear)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn clear ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_count_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.count()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/count)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn count ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_count_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_count_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.count()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/count)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn count ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_count_with_label_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.count()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/count)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn count_with_label ( label : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_count_with_label_ ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_count_with_label_ ( label ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.count()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/count)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn count_with_label ( label : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_count_reset_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.countReset()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/countReset)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn count_reset ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_count_reset_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_count_reset_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.countReset()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/countReset)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn count_reset ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_count_reset_with_label_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.countReset()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/countReset)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn count_reset_with_label ( label : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_count_reset_with_label_ ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_count_reset_with_label_ ( label ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.countReset()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/countReset)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn count_reset_with_label ( label : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_debug_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_debug_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_debug_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_debug_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_debug_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_debug_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_debug_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_debug_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_debug_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_debug_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_debug_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_debug_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_debug_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_debug_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_debug_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_debug_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_debug_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_debug_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_debug_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_debug_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_debug_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_debug_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_debug_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_debug_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_debug_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_debug_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_debug_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.debug()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/debug)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn debug_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dir_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dir_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_dir_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dir_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dir_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_dir_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dir_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dir_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_dir_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dir_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dir_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_dir_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dir_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dir_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_dir_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dir_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dir_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_dir_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dir_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dir_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_dir_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dir_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dir_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_dir_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dir_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dir_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_dir_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dir()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dir)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dir_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dirxml_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dirxml_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_dirxml_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dirxml_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dirxml_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_dirxml_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dirxml_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dirxml_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_dirxml_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dirxml_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dirxml_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_dirxml_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dirxml_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dirxml_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_dirxml_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dirxml_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dirxml_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_dirxml_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dirxml_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dirxml_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_dirxml_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dirxml_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dirxml_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_dirxml_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_dirxml_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_dirxml_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_dirxml_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.dirxml()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn dirxml_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_error_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_error_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_error_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_error_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_error_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_error_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_error_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_error_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_error_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_error_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_error_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.error()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/error)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn error_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exception_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exception_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_exception_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exception_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exception_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_exception_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exception_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exception_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_exception_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exception_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exception_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_exception_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exception_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exception_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_exception_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exception_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exception_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_exception_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exception_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exception_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_exception_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exception_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exception_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_exception_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_exception_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_exception_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_exception_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.exception()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/exception)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn exception_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_group_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_group_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_group_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_group_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_group_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_group_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_group_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_group_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_group_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.group()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/group)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_collapsed_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_collapsed_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_group_collapsed_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_collapsed_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_collapsed_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_group_collapsed_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_collapsed_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_collapsed_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_group_collapsed_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_collapsed_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_collapsed_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_group_collapsed_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_collapsed_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_collapsed_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_group_collapsed_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_collapsed_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_collapsed_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_group_collapsed_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_collapsed_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_collapsed_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_group_collapsed_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_collapsed_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_collapsed_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_group_collapsed_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_collapsed_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_collapsed_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_group_collapsed_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.groupCollapsed()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupCollapsed)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_collapsed_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_group_end_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.groupEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_end ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_group_end_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_group_end_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.groupEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/groupEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn group_end ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_info_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_info_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_info_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_info_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_info_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_info_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_info_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_info_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_info_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_info_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_info_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_info_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_info_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_info_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_info_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_info_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_info_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_info_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_info_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_info_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_info_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_info_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_info_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_info_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_info_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_info_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_info_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.info()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/info)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn info_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_log_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_log_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_log_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_log_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_log_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_log_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_log_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_log_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_log_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_log_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_log_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_log_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_log_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_log_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_log_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_log_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_log_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_log_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_log_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_log_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_log_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_log_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_log_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_log_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_log_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_log_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_log_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.log()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/log)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn log_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_profile_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_profile_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_profile_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_profile_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_profile_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_profile_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_profile_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_profile_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_profile_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profile()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profile)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_end_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_end_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_profile_end_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_end_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_end_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_profile_end_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_end_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_end_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_profile_end_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_end_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_end_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_profile_end_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_end_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_end_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_profile_end_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_end_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_end_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_profile_end_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_end_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_end_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_profile_end_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_end_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_end_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_profile_end_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_profile_end_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_profile_end_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_profile_end_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.profileEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/profileEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn profile_end_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_table_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_table_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_table_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_table_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_table_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_table_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_table_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_table_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_table_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_table_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_table_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_table_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_table_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_table_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_table_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_table_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_table_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_table_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_table_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_table_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_table_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_table_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_table_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_table_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_table_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_table_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_table_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.table()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/table)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn table_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.time()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/time)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_time_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.time()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/time)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_with_label_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.time()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/time)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_with_label ( label : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_with_label_ ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_time_with_label_ ( label ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.time()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/time)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_with_label ( label : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_end_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_end ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_end_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_time_end_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_end ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_end_with_label_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_end_with_label ( label : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_end_with_label_ ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_time_end_with_label_ ( label ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeEnd()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeEnd)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_end_with_label ( label : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_log_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_log_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_time_log_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_log_with_label_and_data_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data ( label : & str , data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_log_with_label_and_data_ ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_time_log_with_label_and_data_ ( label , data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data ( label : & str , data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_log_with_label_and_data_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_0 ( label : & str ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_log_with_label_and_data_0_ ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; __widl_f_time_log_with_label_and_data_0_ ( label ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_0 ( label : & str ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_log_with_label_and_data_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_1 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_log_with_label_and_data_1_ ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_time_log_with_label_and_data_1_ ( label , data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_1 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_log_with_label_and_data_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_2 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_log_with_label_and_data_2_ ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_time_log_with_label_and_data_2_ ( label , data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_2 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_log_with_label_and_data_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_3 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_log_with_label_and_data_3_ ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_time_log_with_label_and_data_3_ ( label , data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_3 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_log_with_label_and_data_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_4 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_log_with_label_and_data_4_ ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_time_log_with_label_and_data_4_ ( label , data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_4 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_log_with_label_and_data_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_5 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_log_with_label_and_data_5_ ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_time_log_with_label_and_data_5_ ( label , data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_5 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_log_with_label_and_data_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_6 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_log_with_label_and_data_6_ ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_time_log_with_label_and_data_6_ ( label , data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_6 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_log_with_label_and_data_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 8u32 ) ; < & str as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_7 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_log_with_label_and_data_7_ ( label : < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let label = < & str as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( label , & mut __stack ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_time_log_with_label_and_data_7_ ( label , data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeLog()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeLog)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_log_with_label_and_data_7 ( label : & str , data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_stamp_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeStamp()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeStamp)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_stamp ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_stamp_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_time_stamp_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeStamp()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeStamp)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_stamp ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_time_stamp_with_data_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.timeStamp()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeStamp)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_stamp_with_data ( data : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_time_stamp_with_data_ ( data : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_time_stamp_with_data_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.timeStamp()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/timeStamp)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn time_stamp_with_data ( data : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_trace_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_trace_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_trace_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_trace_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_trace_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_trace_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_trace_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_trace_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_trace_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_trace_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_trace_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_trace_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_trace_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_trace_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_trace_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_trace_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_trace_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_trace_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_trace_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_trace_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_trace_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_trace_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_trace_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_trace_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_trace_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_trace_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_trace_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.trace()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/trace)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn trace_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_warn_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: js_sys :: Array as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn ( data : & :: js_sys :: Array ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_warn_ ( data : < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data = < & :: js_sys :: Array as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data , & mut __stack ) ; __widl_f_warn_ ( data ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn ( data : & :: js_sys :: Array ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_warn_0_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 0u32 ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_0 ( ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_warn_0_ ( ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; __widl_f_warn_0_ ( ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_0 ( ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_warn_1_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 1u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_warn_1_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; __widl_f_warn_1_ ( data_1 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_1 ( data_1 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_warn_2_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 2u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_warn_2_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; __widl_f_warn_2_ ( data_1 , data_2 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_2 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_warn_3_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 3u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_warn_3_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; __widl_f_warn_3_ ( data_1 , data_2 , data_3 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_3 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_warn_4_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 4u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_warn_4_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; __widl_f_warn_4_ ( data_1 , data_2 , data_3 , data_4 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_4 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_warn_5_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 5u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_warn_5_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; __widl_f_warn_5_ ( data_1 , data_2 , data_3 , data_4 , data_5 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_5 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_warn_6_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 6u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_warn_6_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; __widl_f_warn_6_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_6 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ no_mangle ] # [ allow ( non_snake_case ) ] # [ doc ( hidden ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] pub extern "C" fn __wbindgen_describe___widl_f_warn_7_ ( ) { use wasm_bindgen :: describe :: * ; :: wasm_bindgen :: __rt :: link_mem_intrinsics ( ) ; inform ( FUNCTION ) ; inform ( 0 ) ; inform ( 7u32 ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < & :: wasm_bindgen :: JsValue as WasmDescribe > :: describe ( ) ; < ( ) as WasmDescribe > :: describe ( ) ; } # [ allow ( bad_style ) ] # [ cfg ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { # [ link ( wasm_import_module = "__wbindgen_placeholder__" ) ] extern "C" { fn __widl_f_warn_7_ ( data_1 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_2 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_3 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_4 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_5 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_6 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi , data_7 : < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: Abi ) -> ( ) ; } unsafe { let _ret = { let mut __stack = :: wasm_bindgen :: convert :: GlobalStack :: new ( ) ; let data_1 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_1 , & mut __stack ) ; let data_2 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_2 , & mut __stack ) ; let data_3 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_3 , & mut __stack ) ; let data_4 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_4 , & mut __stack ) ; let data_5 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_5 , & mut __stack ) ; let data_6 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_6 , & mut __stack ) ; let data_7 = < & :: wasm_bindgen :: JsValue as :: wasm_bindgen :: convert :: IntoWasmAbi > :: into_abi ( data_7 , & mut __stack ) ; __widl_f_warn_7_ ( data_1 , data_2 , data_3 , data_4 , data_5 , data_6 , data_7 ) } ; ( ) } } # [ allow ( bad_style , unused_variables ) ] # [ cfg ( not ( all ( target_arch = "wasm32" , not ( target_os = "emscripten" ) ) ) ) ] # [ doc = "The `console.warn()` function\n\n[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/console/warn)\n\n*This API requires the following crate features to be activated: `console`*" ] pub fn warn_7 ( data_1 : & :: wasm_bindgen :: JsValue , data_2 : & :: wasm_bindgen :: JsValue , data_3 : & :: wasm_bindgen :: JsValue , data_4 : & :: wasm_bindgen :: JsValue , data_5 : & :: wasm_bindgen :: JsValue , data_6 : & :: wasm_bindgen :: JsValue , data_7 : & :: wasm_bindgen :: JsValue ) { panic ! ( "cannot call wasm-bindgen imported functions on \
                        non-wasm targets" ) ; } # [ allow ( non_upper_case_globals ) ] # [ cfg ( target_arch = "wasm32" ) ] # [ link_section = "__wasm_bindgen_unstable" ] # [ doc ( hidden ) ] pub static __WASM_BINDGEN_GENERATED_f43c1b0f9e7aa092 : [ u8 ; 7023usize ] = * b".\0\0\0{\"schema_version\":\"0.2.31\",\"version\":\"0.2.31\"}9\x1B\0\0\0\0\x9E\x01\0\x01\x07console\0\x10__widl_f_assert_\0\0\0\x01\x06assert\0\x01\x07console\0(__widl_f_assert_with_condition_and_data_\0\x01\0\x01\x06assert\0\x01\x07console\0*__widl_f_assert_with_condition_and_data_0_\0\0\0\x01\x06assert\0\x01\x07console\0*__widl_f_assert_with_condition_and_data_1_\0\0\0\x01\x06assert\0\x01\x07console\0*__widl_f_assert_with_condition_and_data_2_\0\0\0\x01\x06assert\0\x01\x07console\0*__widl_f_assert_with_condition_and_data_3_\0\0\0\x01\x06assert\0\x01\x07console\0*__widl_f_assert_with_condition_and_data_4_\0\0\0\x01\x06assert\0\x01\x07console\0*__widl_f_assert_with_condition_and_data_5_\0\0\0\x01\x06assert\0\x01\x07console\0*__widl_f_assert_with_condition_and_data_6_\0\0\0\x01\x06assert\0\x01\x07console\0*__widl_f_assert_with_condition_and_data_7_\0\0\0\x01\x06assert\0\x01\x07console\0\x0F__widl_f_clear_\0\0\0\x01\x05clear\0\x01\x07console\0\x0F__widl_f_count_\0\0\0\x01\x05count\0\x01\x07console\0\x1A__widl_f_count_with_label_\0\0\0\x01\x05count\0\x01\x07console\0\x15__widl_f_count_reset_\0\0\0\x01\ncountReset\0\x01\x07console\0 __widl_f_count_reset_with_label_\0\0\0\x01\ncountReset\0\x01\x07console\0\x0F__widl_f_debug_\0\x01\0\x01\x05debug\0\x01\x07console\0\x11__widl_f_debug_0_\0\0\0\x01\x05debug\0\x01\x07console\0\x11__widl_f_debug_1_\0\0\0\x01\x05debug\0\x01\x07console\0\x11__widl_f_debug_2_\0\0\0\x01\x05debug\0\x01\x07console\0\x11__widl_f_debug_3_\0\0\0\x01\x05debug\0\x01\x07console\0\x11__widl_f_debug_4_\0\0\0\x01\x05debug\0\x01\x07console\0\x11__widl_f_debug_5_\0\0\0\x01\x05debug\0\x01\x07console\0\x11__widl_f_debug_6_\0\0\0\x01\x05debug\0\x01\x07console\0\x11__widl_f_debug_7_\0\0\0\x01\x05debug\0\x01\x07console\0\r__widl_f_dir_\0\x01\0\x01\x03dir\0\x01\x07console\0\x0F__widl_f_dir_0_\0\0\0\x01\x03dir\0\x01\x07console\0\x0F__widl_f_dir_1_\0\0\0\x01\x03dir\0\x01\x07console\0\x0F__widl_f_dir_2_\0\0\0\x01\x03dir\0\x01\x07console\0\x0F__widl_f_dir_3_\0\0\0\x01\x03dir\0\x01\x07console\0\x0F__widl_f_dir_4_\0\0\0\x01\x03dir\0\x01\x07console\0\x0F__widl_f_dir_5_\0\0\0\x01\x03dir\0\x01\x07console\0\x0F__widl_f_dir_6_\0\0\0\x01\x03dir\0\x01\x07console\0\x0F__widl_f_dir_7_\0\0\0\x01\x03dir\0\x01\x07console\0\x10__widl_f_dirxml_\0\x01\0\x01\x06dirxml\0\x01\x07console\0\x12__widl_f_dirxml_0_\0\0\0\x01\x06dirxml\0\x01\x07console\0\x12__widl_f_dirxml_1_\0\0\0\x01\x06dirxml\0\x01\x07console\0\x12__widl_f_dirxml_2_\0\0\0\x01\x06dirxml\0\x01\x07console\0\x12__widl_f_dirxml_3_\0\0\0\x01\x06dirxml\0\x01\x07console\0\x12__widl_f_dirxml_4_\0\0\0\x01\x06dirxml\0\x01\x07console\0\x12__widl_f_dirxml_5_\0\0\0\x01\x06dirxml\0\x01\x07console\0\x12__widl_f_dirxml_6_\0\0\0\x01\x06dirxml\0\x01\x07console\0\x12__widl_f_dirxml_7_\0\0\0\x01\x06dirxml\0\x01\x07console\0\x0F__widl_f_error_\0\x01\0\x01\x05error\0\x01\x07console\0\x11__widl_f_error_0_\0\0\0\x01\x05error\0\x01\x07console\0\x11__widl_f_error_1_\0\0\0\x01\x05error\0\x01\x07console\0\x11__widl_f_error_2_\0\0\0\x01\x05error\0\x01\x07console\0\x11__widl_f_error_3_\0\0\0\x01\x05error\0\x01\x07console\0\x11__widl_f_error_4_\0\0\0\x01\x05error\0\x01\x07console\0\x11__widl_f_error_5_\0\0\0\x01\x05error\0\x01\x07console\0\x11__widl_f_error_6_\0\0\0\x01\x05error\0\x01\x07console\0\x11__widl_f_error_7_\0\0\0\x01\x05error\0\x01\x07console\0\x13__widl_f_exception_\0\x01\0\x01\texception\0\x01\x07console\0\x15__widl_f_exception_0_\0\0\0\x01\texception\0\x01\x07console\0\x15__widl_f_exception_1_\0\0\0\x01\texception\0\x01\x07console\0\x15__widl_f_exception_2_\0\0\0\x01\texception\0\x01\x07console\0\x15__widl_f_exception_3_\0\0\0\x01\texception\0\x01\x07console\0\x15__widl_f_exception_4_\0\0\0\x01\texception\0\x01\x07console\0\x15__widl_f_exception_5_\0\0\0\x01\texception\0\x01\x07console\0\x15__widl_f_exception_6_\0\0\0\x01\texception\0\x01\x07console\0\x15__widl_f_exception_7_\0\0\0\x01\texception\0\x01\x07console\0\x0F__widl_f_group_\0\x01\0\x01\x05group\0\x01\x07console\0\x11__widl_f_group_0_\0\0\0\x01\x05group\0\x01\x07console\0\x11__widl_f_group_1_\0\0\0\x01\x05group\0\x01\x07console\0\x11__widl_f_group_2_\0\0\0\x01\x05group\0\x01\x07console\0\x11__widl_f_group_3_\0\0\0\x01\x05group\0\x01\x07console\0\x11__widl_f_group_4_\0\0\0\x01\x05group\0\x01\x07console\0\x11__widl_f_group_5_\0\0\0\x01\x05group\0\x01\x07console\0\x11__widl_f_group_6_\0\0\0\x01\x05group\0\x01\x07console\0\x11__widl_f_group_7_\0\0\0\x01\x05group\0\x01\x07console\0\x19__widl_f_group_collapsed_\0\x01\0\x01\x0EgroupCollapsed\0\x01\x07console\0\x1B__widl_f_group_collapsed_0_\0\0\0\x01\x0EgroupCollapsed\0\x01\x07console\0\x1B__widl_f_group_collapsed_1_\0\0\0\x01\x0EgroupCollapsed\0\x01\x07console\0\x1B__widl_f_group_collapsed_2_\0\0\0\x01\x0EgroupCollapsed\0\x01\x07console\0\x1B__widl_f_group_collapsed_3_\0\0\0\x01\x0EgroupCollapsed\0\x01\x07console\0\x1B__widl_f_group_collapsed_4_\0\0\0\x01\x0EgroupCollapsed\0\x01\x07console\0\x1B__widl_f_group_collapsed_5_\0\0\0\x01\x0EgroupCollapsed\0\x01\x07console\0\x1B__widl_f_group_collapsed_6_\0\0\0\x01\x0EgroupCollapsed\0\x01\x07console\0\x1B__widl_f_group_collapsed_7_\0\0\0\x01\x0EgroupCollapsed\0\x01\x07console\0\x13__widl_f_group_end_\0\0\0\x01\x08groupEnd\0\x01\x07console\0\x0E__widl_f_info_\0\x01\0\x01\x04info\0\x01\x07console\0\x10__widl_f_info_0_\0\0\0\x01\x04info\0\x01\x07console\0\x10__widl_f_info_1_\0\0\0\x01\x04info\0\x01\x07console\0\x10__widl_f_info_2_\0\0\0\x01\x04info\0\x01\x07console\0\x10__widl_f_info_3_\0\0\0\x01\x04info\0\x01\x07console\0\x10__widl_f_info_4_\0\0\0\x01\x04info\0\x01\x07console\0\x10__widl_f_info_5_\0\0\0\x01\x04info\0\x01\x07console\0\x10__widl_f_info_6_\0\0\0\x01\x04info\0\x01\x07console\0\x10__widl_f_info_7_\0\0\0\x01\x04info\0\x01\x07console\0\r__widl_f_log_\0\x01\0\x01\x03log\0\x01\x07console\0\x0F__widl_f_log_0_\0\0\0\x01\x03log\0\x01\x07console\0\x0F__widl_f_log_1_\0\0\0\x01\x03log\0\x01\x07console\0\x0F__widl_f_log_2_\0\0\0\x01\x03log\0\x01\x07console\0\x0F__widl_f_log_3_\0\0\0\x01\x03log\0\x01\x07console\0\x0F__widl_f_log_4_\0\0\0\x01\x03log\0\x01\x07console\0\x0F__widl_f_log_5_\0\0\0\x01\x03log\0\x01\x07console\0\x0F__widl_f_log_6_\0\0\0\x01\x03log\0\x01\x07console\0\x0F__widl_f_log_7_\0\0\0\x01\x03log\0\x01\x07console\0\x11__widl_f_profile_\0\x01\0\x01\x07profile\0\x01\x07console\0\x13__widl_f_profile_0_\0\0\0\x01\x07profile\0\x01\x07console\0\x13__widl_f_profile_1_\0\0\0\x01\x07profile\0\x01\x07console\0\x13__widl_f_profile_2_\0\0\0\x01\x07profile\0\x01\x07console\0\x13__widl_f_profile_3_\0\0\0\x01\x07profile\0\x01\x07console\0\x13__widl_f_profile_4_\0\0\0\x01\x07profile\0\x01\x07console\0\x13__widl_f_profile_5_\0\0\0\x01\x07profile\0\x01\x07console\0\x13__widl_f_profile_6_\0\0\0\x01\x07profile\0\x01\x07console\0\x13__widl_f_profile_7_\0\0\0\x01\x07profile\0\x01\x07console\0\x15__widl_f_profile_end_\0\x01\0\x01\nprofileEnd\0\x01\x07console\0\x17__widl_f_profile_end_0_\0\0\0\x01\nprofileEnd\0\x01\x07console\0\x17__widl_f_profile_end_1_\0\0\0\x01\nprofileEnd\0\x01\x07console\0\x17__widl_f_profile_end_2_\0\0\0\x01\nprofileEnd\0\x01\x07console\0\x17__widl_f_profile_end_3_\0\0\0\x01\nprofileEnd\0\x01\x07console\0\x17__widl_f_profile_end_4_\0\0\0\x01\nprofileEnd\0\x01\x07console\0\x17__widl_f_profile_end_5_\0\0\0\x01\nprofileEnd\0\x01\x07console\0\x17__widl_f_profile_end_6_\0\0\0\x01\nprofileEnd\0\x01\x07console\0\x17__widl_f_profile_end_7_\0\0\0\x01\nprofileEnd\0\x01\x07console\0\x0F__widl_f_table_\0\x01\0\x01\x05table\0\x01\x07console\0\x11__widl_f_table_0_\0\0\0\x01\x05table\0\x01\x07console\0\x11__widl_f_table_1_\0\0\0\x01\x05table\0\x01\x07console\0\x11__widl_f_table_2_\0\0\0\x01\x05table\0\x01\x07console\0\x11__widl_f_table_3_\0\0\0\x01\x05table\0\x01\x07console\0\x11__widl_f_table_4_\0\0\0\x01\x05table\0\x01\x07console\0\x11__widl_f_table_5_\0\0\0\x01\x05table\0\x01\x07console\0\x11__widl_f_table_6_\0\0\0\x01\x05table\0\x01\x07console\0\x11__widl_f_table_7_\0\0\0\x01\x05table\0\x01\x07console\0\x0E__widl_f_time_\0\0\0\x01\x04time\0\x01\x07console\0\x19__widl_f_time_with_label_\0\0\0\x01\x04time\0\x01\x07console\0\x12__widl_f_time_end_\0\0\0\x01\x07timeEnd\0\x01\x07console\0\x1D__widl_f_time_end_with_label_\0\0\0\x01\x07timeEnd\0\x01\x07console\0\x12__widl_f_time_log_\0\0\0\x01\x07timeLog\0\x01\x07console\0&__widl_f_time_log_with_label_and_data_\0\x01\0\x01\x07timeLog\0\x01\x07console\0(__widl_f_time_log_with_label_and_data_0_\0\0\0\x01\x07timeLog\0\x01\x07console\0(__widl_f_time_log_with_label_and_data_1_\0\0\0\x01\x07timeLog\0\x01\x07console\0(__widl_f_time_log_with_label_and_data_2_\0\0\0\x01\x07timeLog\0\x01\x07console\0(__widl_f_time_log_with_label_and_data_3_\0\0\0\x01\x07timeLog\0\x01\x07console\0(__widl_f_time_log_with_label_and_data_4_\0\0\0\x01\x07timeLog\0\x01\x07console\0(__widl_f_time_log_with_label_and_data_5_\0\0\0\x01\x07timeLog\0\x01\x07console\0(__widl_f_time_log_with_label_and_data_6_\0\0\0\x01\x07timeLog\0\x01\x07console\0(__widl_f_time_log_with_label_and_data_7_\0\0\0\x01\x07timeLog\0\x01\x07console\0\x14__widl_f_time_stamp_\0\0\0\x01\ttimeStamp\0\x01\x07console\0\x1E__widl_f_time_stamp_with_data_\0\0\0\x01\ttimeStamp\0\x01\x07console\0\x0F__widl_f_trace_\0\x01\0\x01\x05trace\0\x01\x07console\0\x11__widl_f_trace_0_\0\0\0\x01\x05trace\0\x01\x07console\0\x11__widl_f_trace_1_\0\0\0\x01\x05trace\0\x01\x07console\0\x11__widl_f_trace_2_\0\0\0\x01\x05trace\0\x01\x07console\0\x11__widl_f_trace_3_\0\0\0\x01\x05trace\0\x01\x07console\0\x11__widl_f_trace_4_\0\0\0\x01\x05trace\0\x01\x07console\0\x11__widl_f_trace_5_\0\0\0\x01\x05trace\0\x01\x07console\0\x11__widl_f_trace_6_\0\0\0\x01\x05trace\0\x01\x07console\0\x11__widl_f_trace_7_\0\0\0\x01\x05trace\0\x01\x07console\0\x0E__widl_f_warn_\0\x01\0\x01\x04warn\0\x01\x07console\0\x10__widl_f_warn_0_\0\0\0\x01\x04warn\0\x01\x07console\0\x10__widl_f_warn_1_\0\0\0\x01\x04warn\0\x01\x07console\0\x10__widl_f_warn_2_\0\0\0\x01\x04warn\0\x01\x07console\0\x10__widl_f_warn_3_\0\0\0\x01\x04warn\0\x01\x07console\0\x10__widl_f_warn_4_\0\0\0\x01\x04warn\0\x01\x07console\0\x10__widl_f_warn_5_\0\0\0\x01\x04warn\0\x01\x07console\0\x10__widl_f_warn_6_\0\0\0\x01\x04warn\0\x01\x07console\0\x10__widl_f_warn_7_\0\0\0\x01\x04warn\0\0" ; }